JP2017034597A - Image processing system, image processing method and program - Google Patents

Image processing system, image processing method and program Download PDF

Info

Publication number
JP2017034597A
JP2017034597A JP2015155198A JP2015155198A JP2017034597A JP 2017034597 A JP2017034597 A JP 2017034597A JP 2015155198 A JP2015155198 A JP 2015155198A JP 2015155198 A JP2015155198 A JP 2015155198A JP 2017034597 A JP2017034597 A JP 2017034597A
Authority
JP
Japan
Prior art keywords
image processing
band
control information
white
white line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015155198A
Other languages
Japanese (ja)
Inventor
雅志 丹羽
Masashi Niwa
雅志 丹羽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015155198A priority Critical patent/JP2017034597A/en
Publication of JP2017034597A publication Critical patent/JP2017034597A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Input (AREA)
  • Storing Facsimile Image Data (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image processing system that performs image processing in a band unit, the system achieving high speed printing process while reducing required memory capacity and processing burden.SOLUTION: An image processing system according to the present invention comprises: RIP means that generates bit map data by subjecting an input image, described in PDL, to a rendering process in a band unit; and image processing means that generates print data by subjecting the generated bit map data to a predetermined image processing in a band unit. The RIP means further comprises control information generating means that generates control information indicating in a band unit the composition of the detected white line. Based on the control information, the image processing means reads from a memory a range from a reading start position calculated in a band unit to reading end position in bit map data from which the white line has been deleted. The image processing means then generates print data by performing the predetermined image processing.SELECTED DRAWING: Figure 6

Description

本発明は、バンド単位で処理を行う画像処理装置、画像処理方法及びプログラムに関する。   The present invention relates to an image processing apparatus, an image processing method, and a program that perform processing in band units.

従来より、ページ記述言語(以下「PDL」と記す)で記述されたPDLデータから画像を形成する技術が広く知られている。PDL対応の画像処理装置は、入力を受け付けたPDLデータを、専用のインタプリタにより解釈してディスプレイリストデータなどの中間データを生成し、生成された中間データに対してレンダリング処理を施してビットマップデータを生成する。このように生成されたビットマップデータは、フィルタ処理などの所定の画像処理が施され、ビットマップデータから印刷データが生成される。生成された印刷データは、電子写真方式やインクジェット方式等のプリンタエンジンに受け渡され、プリンタエンジンは生成された印刷データを元に印刷処理を行い、記録媒体上に画像を記録する。   Conventionally, a technique for forming an image from PDL data described in a page description language (hereinafter referred to as “PDL”) is widely known. The PDL-compatible image processing apparatus interprets the input PDL data by a dedicated interpreter to generate intermediate data such as display list data, and performs rendering processing on the generated intermediate data to generate bitmap data. Is generated. The bitmap data generated in this way is subjected to predetermined image processing such as filter processing, and print data is generated from the bitmap data. The generated print data is transferred to a printer engine such as an electrophotographic system or an inkjet system, and the printer engine performs a printing process based on the generated print data and records an image on a recording medium.

通常、ページ単位のビットマップデータを内部メモリに展開すると、ビットマップデータのデータ量が膨大となり、そのデータを保存するための必要メモリ容量が増えてしまい、画像処理装置のコストアップに繋がっていた。そのため、中間データを複数のバンド単位に分割し、バンド単位でレンダリング処理と画像処理とを連携して行うことにより、必要メモリ容量を削減する画像処理装置が知られている(特許文献1)。   Normally, when bitmap data in page units is expanded in the internal memory, the amount of bitmap data becomes enormous, and the memory capacity required to store the data increases, leading to an increase in the cost of the image processing apparatus. . For this reason, an image processing apparatus that reduces the required memory capacity by dividing intermediate data into a plurality of band units and performing rendering processing and image processing in units of bands is known (Patent Document 1).

また、主走査方向の画素列が全て白画素で構成される白ラインであるかを判定し、白ラインが含まれていた場合に、当該白ラインを削除したビットマップデータに対して画像処理を行う画像処理装置が提案されている(特許文献2)。特許文献2の画像処理装置は、削除した白ラインの情報を保持し、白ラインの情報に基づいて記録ヘッドの動作および記録媒体の搬送動作を制御する。かかる構成により、特許文献2の画像処理装置は、印刷データを記録するための必要メモリ容量を削減しつつ、効率的な画像処理を実現している。   Also, it is determined whether the pixel line in the main scanning direction is a white line composed of all white pixels. If the white line is included, image processing is performed on the bitmap data from which the white line is deleted. An image processing apparatus has been proposed (Patent Document 2). The image processing apparatus of Patent Document 2 holds information on the deleted white line, and controls the operation of the recording head and the conveyance operation of the recording medium based on the information on the white line. With this configuration, the image processing apparatus disclosed in Patent Document 2 achieves efficient image processing while reducing the memory capacity required for recording print data.

特開2006−264257号公報JP 2006-264257 A 特開2011−199326号公報JP 2011-199326 A

しかしながら従来の手法では、白ラインを削除したビットマップデータに対して、バンド単位でフィルタ処理等の隣接画素を参照する画像処理を行う場合、CPUによる画像処理パラメータの設定処理に負荷がかかってしまう。その結果、印刷の高速化が図れないという課題があった。   However, in the conventional method, when image processing that refers to adjacent pixels such as filter processing is performed in band units on bitmap data from which white lines have been deleted, a load is imposed on the setting processing of image processing parameters by the CPU. . As a result, there is a problem that the printing speed cannot be increased.

本願発明が解決しようとする課題の説明を、図14の従来技術例を参照して説明する。図14(a)は、中間データ1410と、中間データ1410に対してレンダリング処理が施されて生成されたビットマップデータ1420と、ビットマップデータ1420に対して所定の画像処理が施されて生成された印刷データ1430とが示されている。中間データ1410、ビットマップデータ1420、印刷データ1430は、それぞれ複数のバンド(1)〜(3)から構成され、上記レンダリング処理および画像処理はバンド(1)〜(3)単位で行われる。このとき、レンダリング処理が施されて生成されたビットマップデータに、主走査方向に白画素のみで構成される白ラインが含まれている場合、白ラインを削除したビットマップデータをメモリに保存したいという要請がある。これはメモリ帯域および必要メモリ容量の削減のためである。本例において、バンド(2)の中間データ1410は、1ライン目に白ラインが、2ライン目〜6ライン目に中間データ(B1)が、7ライン目に白ラインが、8〜10ライン目に中間データ(B1’)が含まれる。バンド(2)のビットマップデータ1420は、白ラインが削除されて、8ライン分のビットマップデータがメモリに保存されている。   The description of the problem to be solved by the present invention will be described with reference to the prior art example of FIG. FIG. 14A shows the intermediate data 1410, the bitmap data 1420 generated by rendering the intermediate data 1410, and the bitmap data 1420 subjected to predetermined image processing. The print data 1430 is shown. The intermediate data 1410, bitmap data 1420, and print data 1430 are each composed of a plurality of bands (1) to (3), and the rendering process and the image process are performed in units of bands (1) to (3). At this time, if the bitmap data generated by the rendering process includes a white line composed only of white pixels in the main scanning direction, the bitmap data from which the white line has been deleted is to be stored in the memory. There is a request. This is to reduce the memory bandwidth and the required memory capacity. In this example, the intermediate data 1410 of the band (2) is the white line for the first line, the intermediate data (B1) for the second to sixth lines, the white line for the seventh line, and the eighth to tenth lines. Includes intermediate data (B1 ′). In the bitmap data 1420 of the band (2), white lines are deleted, and bitmap data for 8 lines is stored in the memory.

バンド(2)のように、白ラインが削除されたビットマップデータ1420に対して画像処理を施す場合、削除された白ライン分を加味してメモリからビットマップデータ1420を読み出す必要がある。そのため、画像処理装置は、中間データ1410から各バンドにおける白ラインの構成を取得し、図14(b)に示される画像処理パラメータ1440を生成する。次いで、画像処理装置は、画像処理パラメータ1440を参照して、バンド(2)のビットマップデータ1420に対して画像処理を施す。画像処理装置は、画像処理パラメータ1440を参照することにより、バンド(2)におけるメモリからの入力開始アドレスを「100」に、入力終了アドレスを「149」と設定する。例えば、バンド(1)の先頭ラインのように、アドレスの下1桁が「0」〜「9」の値によって特定される領域が1ライン分の記憶領域を示す場合、画像処理装置は「5」ライン分のビットマップデータ1420(B1)を読み出す事ができる。同様に、画像処理装置は、バンド(2)におけるメモリからの入力開始アドレスを「150」に、入力終了アドレスを「179」と設定することにより、「3」ライン分のビットマップデータ1420(B1’)を読み出すことができる。   When image processing is performed on the bitmap data 1420 from which the white line has been deleted as in the band (2), it is necessary to read the bitmap data 1420 from the memory in consideration of the deleted white line. Therefore, the image processing apparatus acquires the configuration of the white line in each band from the intermediate data 1410, and generates the image processing parameter 1440 shown in FIG. Next, the image processing apparatus performs image processing on the bitmap data 1420 of the band (2) with reference to the image processing parameter 1440. By referring to the image processing parameter 1440, the image processing apparatus sets the input start address from the memory in the band (2) to “100” and the input end address to “149”. For example, when the area specified by the value of “0” to “9” in the last one digit of the address, such as the first line of the band (1), indicates the storage area for one line, the image processing apparatus sets “5 The bit map data 1420 (B1) for the line can be read out. Similarly, by setting the input start address from the memory in band (2) to “150” and the input end address to “179”, the image processing apparatus sets bitmap data 1420 (B1) for “3” lines. ') Can be read.

また、レーザービームプリンタ等の印刷をページ途中で停止させることのできないシステムにおいては、白ラインを削除されたビットマップデータ1420と白ライン情報から、当該白ラインにおける印刷動作をスキップするという制御を行うことが出来ない。そのため、白ラインが削除されたビットマップデータ1420に対して画像処理を施し、白ラインを復元した印刷データ1430を生成したいという要請がある。このとき、画像処理装置は、ビットマップデータ1420の削除された白ライン分を加味して印刷データ1430をメモリに書き込む必要がある。画像処理装置は、バンド(2)における印刷データ1430の出力開始アドレスを「110」に、出力終了アドレスを「159」と設定し、白ラインをスキップしたうえで「5」ライン分の印刷データ1430(B1)をメモリに書き込むことができる。画像処理装置は、バンド(2)における印刷データ1430の出力開始アドレスを「170」に、出力終了アドレスを「199」と設定し、白ラインをスキップしたうえで「3」ライン分の印刷データ1430(B1’)をメモリに書き込むことができる。   Further, in a system that cannot stop printing in the middle of a page, such as a laser beam printer, control is performed to skip the printing operation for the white line from the bitmap data 1420 from which the white line has been deleted and the white line information. I can't. Therefore, there is a request to generate image data 1430 with the white line restored by performing image processing on the bitmap data 1420 from which the white line has been deleted. At this time, the image processing apparatus needs to write the print data 1430 in the memory in consideration of the deleted white line of the bitmap data 1420. The image processing apparatus sets the output start address of print data 1430 in band (2) to “110”, the output end address to “159”, skips the white line, and then print data 1430 for “5” lines. (B1) can be written into the memory. The image processing apparatus sets the output start address of print data 1430 in band (2) to “170”, the output end address to “199”, skips the white line, and then print data 1430 for “3” lines. (B1 ′) can be written into the memory.

一般的に、これらのような画像処理パラメータの設定は、画像処理装置のCPUによる演算によって行われる。そのため、バンド単位で処理を行う画像処理装置において、CPUによる画像処理パラメータの設定に処理負荷がかかり、印刷の高速化が図れないという課題があった。   Generally, the setting of such image processing parameters is performed by calculation by the CPU of the image processing apparatus. For this reason, in an image processing apparatus that performs processing in units of bands, there is a problem that a processing load is applied to the setting of image processing parameters by the CPU, and printing speed cannot be increased.

本発明に係る画像処理装置は、PDLで記述された入力画像をバンド単位でレンダリング処理してビットマップデータを生成するRIP手段と、生成された前記ビットマップデータに対し前記バンド単位で所定の画像処理を施して印刷データを生成する画像処理手段を有し、前記RIP手段は、前記レンダリング処理の際に、前記PDLを解釈して得られた中間データに基づいて、前記入力画像に含まれる主走査方向に白画素のみで構成される白ラインを検出する白ライン検出手段と、検出された前記白ラインが削除された前記ビットマップデータをメモリに格納する格納手段と、検出された前記白ラインの構成を前記バンド単位で示す制御情報を生成する制御情報生成手段とを備え、前記画像処理手段は、前記制御情報から、前記白ラインが削除された前記ビットマップデータの読み出し開始位置および読み出し終了位置を、前記バンド単位で算出する第1の算出手段を備え、前記白ラインが削除された前記ビットマップデータのうち前記バンド単位で算出された前記読み出し開始位置から前記読み出し終了位置までの範囲を、前記メモリから読み出し、所定の画像処理を施して前記印刷データを生成することを特徴とする。   An image processing apparatus according to the present invention includes an RIP unit that generates bitmap data by rendering an input image described in PDL in units of bands, and a predetermined image in units of bands with respect to the generated bitmap data. Image processing means for generating print data by performing processing, wherein the RIP means is based on intermediate data obtained by interpreting the PDL during the rendering process, and White line detection means for detecting a white line composed only of white pixels in the scanning direction, storage means for storing the bitmap data from which the detected white line has been deleted, in memory, and the detected white line Control information generating means for generating control information indicating the configuration of each band unit, and the image processing means, from the control information, the white line A first calculation unit configured to calculate a read start position and a read end position of the deleted bitmap data in the band unit, and is calculated in the band unit in the bitmap data in which the white line is deleted; A range from the read start position to the read end position is read from the memory and subjected to predetermined image processing to generate the print data.

本発明によれば、バンド単位で画像処理を行う画像処理装置において、効率的な画像処理を行い、印刷の高速化を実現する画像処理装置、画像処理方法およびプログラムを提供することができる。   According to the present invention, it is possible to provide an image processing apparatus, an image processing method, and a program that perform efficient image processing and realize high-speed printing in an image processing apparatus that performs image processing in band units.

実施形態における画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image processing apparatus in embodiment. 実施形態における画像処理装置の全体構成を示すブロック図である。1 is a block diagram illustrating an overall configuration of an image processing apparatus according to an embodiment. 実施形態におけるバンド単位のビットマップデータの一例を示す模式図である。It is a schematic diagram which shows an example of the bitmap data of the band unit in embodiment. 実施形態における白ラインを検出する処理内容を示すフローチャートである。It is a flowchart which shows the processing content which detects the white line in embodiment. 実施形態における白ライン情報の遷移を時系列順に示した図である。It is the figure which showed the transition of the white line information in embodiment in order of time series. 実施形態における各種データのメモリ格納イメージを示した模式図である。It is the schematic diagram which showed the memory storage image of the various data in embodiment. 実施形態における制御情報を生成する処理内容を示すフローチャートである。It is a flowchart which shows the processing content which produces | generates the control information in embodiment. 実施形態においてレンダリング処理と描画処理とを連携して行う態様を説明するシーケンス図である。It is a sequence diagram explaining the aspect which cooperates a rendering process and a drawing process in embodiment. 実施形態2における各種データのメモリ格納イメージを示した模式図である。FIG. 6 is a schematic diagram showing a memory storage image of various data in the second embodiment. 実施形態2においてレンダリング処理と描画処理とを連携して行う態様を説明するシーケンス図である。FIG. 10 is a sequence diagram illustrating an aspect in which rendering processing and drawing processing are performed in cooperation in the second embodiment. 実施形態3における各種データのメモリ格納イメージを示した模式図である。FIG. 10 is a schematic diagram illustrating a memory storage image of various data according to the third embodiment. 実施形態3においてレンダリング処理と描画処理とを連携して行う態様を説明するシーケンス図である。FIG. 10 is a sequence diagram illustrating an aspect in which rendering processing and drawing processing are performed in cooperation in the third embodiment. 実施形態4における画像処理装置の全体構成を示すブロック図である。FIG. 10 is a block diagram illustrating an overall configuration of an image processing apparatus according to a fourth embodiment. 従来技術例を示した図である。It is the figure which showed the prior art example.

以下、本発明を実施するための形態について図面を参照して説明する。ただし、この実施形態に記載されている構成要素はあくまで例示であり、本発明の範囲をそれらに限定する趣旨のものではない。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. However, the constituent elements described in this embodiment are merely examples, and are not intended to limit the scope of the present invention.

[実施形態1]
図1は、本実施形態における画像処理装置100の構成を示すブロック図である。本実施形態における画像処理装置100は、CPU101、DRAM102、画像入力部103、画像形成部104、画像処理部105、印刷処理部106が、バス107を介して相互に接続されている。
[Embodiment 1]
FIG. 1 is a block diagram illustrating a configuration of an image processing apparatus 100 according to the present embodiment. In the image processing apparatus 100 according to this embodiment, a CPU 101, a DRAM 102, an image input unit 103, an image forming unit 104, an image processing unit 105, and a print processing unit 106 are connected to each other via a bus 107.

図2は本実施形態における画像処理装置100の全体構成例を示すブロック図であり、画像処理装置100は画像形成部104、画像処理部105、メモリ210、212、インクジェットヘッド213で構成されている。なお、画像形成部104および画像処理部105は図1で既に示したものと同じであるため、同一番号を付している。画像形成部104は、PDLインタプリタ201、中間データ生成部202、メモリ204、RIP部207を含み、RIP部207はレンダリングバッファ205と制御情報生成部206とを有する。ここで、レンダリングバッファ205はRIP部207によって制御されるメモリ領域を想定している。メモリ204はDRAM102に含まれてもよい。また、メモリ210、212はDRAM102上にそれぞれ異なるメモリ領域として確保されている。以下、同図の構成における処理内容の概要を説明する。   FIG. 2 is a block diagram illustrating an example of the overall configuration of the image processing apparatus 100 according to the present embodiment. The image processing apparatus 100 includes an image forming unit 104, an image processing unit 105, memories 210 and 212, and an inkjet head 213. . The image forming unit 104 and the image processing unit 105 are the same as those already shown in FIG. The image forming unit 104 includes a PDL interpreter 201, an intermediate data generation unit 202, a memory 204, and a RIP unit 207. The RIP unit 207 includes a rendering buffer 205 and a control information generation unit 206. Here, the rendering buffer 205 is assumed to be a memory area controlled by the RIP unit 207. The memory 204 may be included in the DRAM 102. The memories 210 and 212 are secured as different memory areas on the DRAM 102. The outline of the processing contents in the configuration shown in FIG.

本実施形態における画像処理装置100は、ホストから画像入力部103を介して受信したPDLデータ200をPDLインタプリタ201が解釈して、画像形成命令を生成する。中間データ生成部202は、PDLインタプリタ201で生成した画像形成命令から、ディスプレイリストデータなどの中間データを生成し、生成した中間データを入力画像としてメモリ204に保存する。このとき、PDLデータ200によって描画命令がなされていない白画素のみで構成されるタイル(以下「白タイル領域」と記す)を特定する情報は、白タイル情報として中間データ203に埋め込まれる。「タイル」については図3を参照して後述する。   In the image processing apparatus 100 according to the present embodiment, the PDL interpreter 201 interprets the PDL data 200 received from the host via the image input unit 103, and generates an image formation command. The intermediate data generation unit 202 generates intermediate data such as display list data from the image formation command generated by the PDL interpreter 201 and stores the generated intermediate data in the memory 204 as an input image. At this time, information for specifying a tile (hereinafter, referred to as “white tile region”) composed only of white pixels for which no rendering command has been issued by the PDL data 200 is embedded in the intermediate data 203 as white tile information. The “tile” will be described later with reference to FIG.

RIP部207は、メモリ204に保存された中間データ203に対して、タイル単位でレンダリング処理を行う。レンダリング処理によってビットマップデータが生成され、RIP部207は、生成した1バンド分のビットマップデータをレンダリングバッファ205に保存する。「バンド」についても同様に図3を参照して後述する。このとき、白タイル領域に対してはレンダリング処理が省略され、画像処理の高速化が図られる。制御情報生成部206は、中間データ203に埋め込まれた白タイル情報と、レンダリング処理後のビットマップデータにおける画素値とから、白画素で構成される白ライン検出を実行する。本実施形態において、後述のバンドにおける主走査方向の画素列をラインとし、全て白画素で構成されるラインを白ラインと記す。「ライン」についても図3を参照して後述する。1バンド分のレンダリング処理終了後に、当該バンドにおける白ラインの構成(バンドにおける白ラインの位置や白ラインの高さ)を特定する白ライン情報が、制御情報209として画像処理部105に送信される。また、画像形成部104は、1バンド分のレンダリング処理終了後に、レンダリングバッファ205に保存されたビットマップデータのうち、白ラインを削除したビットマップデータ208をメモリ210に保存する。本実施形態では、白画素以外の描画対象の画素が含まれるラインを描画ラインと記す。制御情報生成部206は、白ライン検出のみならず、描画対象の画素が含まれる描画ライン検出も行い得ると言える。   The RIP unit 207 performs rendering processing on the intermediate data 203 stored in the memory 204 in tile units. Bitmap data is generated by the rendering process, and the RIP unit 207 stores the generated bitmap data for one band in the rendering buffer 205. The “band” will be described later with reference to FIG. At this time, the rendering process is omitted for the white tile area, and the image processing speed is increased. The control information generation unit 206 performs white line detection composed of white pixels from the white tile information embedded in the intermediate data 203 and the pixel values in the bitmap data after the rendering process. In this embodiment, a pixel row in the main scanning direction in a band to be described later is referred to as a line, and a line composed of all white pixels is referred to as a white line. The “line” will also be described later with reference to FIG. After the rendering process for one band is completed, white line information for specifying the configuration of the white line in the band (the position of the white line in the band and the height of the white line) is transmitted to the image processing unit 105 as control information 209. . In addition, the image forming unit 104 stores, in the memory 210, bitmap data 208 from which white lines are deleted from the bitmap data stored in the rendering buffer 205 after the rendering processing for one band is completed. In the present embodiment, a line including pixels to be drawn other than white pixels is referred to as a drawing line. It can be said that the control information generation unit 206 can perform not only white line detection but also drawing line detection including a pixel to be drawn.

画像処理部105は、メモリ210からビットマップデータ208を読み出し、色分解処理やフィルタ処理などの所定の画像処理を施して印刷データ211を生成する。生成された印刷データ211は、メモリ212に書き込まれる。このとき、メモリ204からのビットマップデータ208の読み出しアドレスと、メモリ212への印刷データ211の書き込みアドレスとは、受信した制御情報209に基づいて決定される。   The image processing unit 105 reads the bitmap data 208 from the memory 210 and performs predetermined image processing such as color separation processing and filter processing to generate print data 211. The generated print data 211 is written in the memory 212. At this time, the read address of the bitmap data 208 from the memory 204 and the write address of the print data 211 to the memory 212 are determined based on the received control information 209.

インクジェットヘッド213は、メモリ212に保存された印刷データ211を読み出し、記録媒体への印刷処理を実行する。インクジェットヘッド213は、白ラインにおけるインクジェットヘッド操作を省略し、記録媒体のみが搬送される。このため、画像処理装置100全体として印刷処理の高速化を図ることができる。以下、上述の各処理の詳細を、図3〜7を参照して詳細に説明する。   The inkjet head 213 reads the print data 211 stored in the memory 212 and executes a printing process on the recording medium. The inkjet head 213 omits the inkjet head operation in the white line, and only the recording medium is conveyed. For this reason, it is possible to speed up the printing process for the entire image processing apparatus 100. Hereinafter, details of each of the above-described processes will be described in detail with reference to FIGS.

<白ラインの検出方法>
図3は、本実施形態におけるバンド単位のビットマップデータを示す模式図である。本実施形態において、バンドとは、レンダリング処理および画像処理で共通に用いられる処理単位である。PDLデータから生成された中間データをもとに、RIP部207は、バンド単位にレンダリング処理を施して、バンド単位のビットマップデータを生成する。さらに、本実施形態では、1バンドは複数の処理単位であるタイルによってさらに構成され、各バンドに対してタイル単位でレンダリング処理が施される。
<White line detection method>
FIG. 3 is a schematic diagram showing bitmap data in band units in the present embodiment. In the present embodiment, a band is a processing unit commonly used in rendering processing and image processing. Based on the intermediate data generated from the PDL data, the RIP unit 207 performs rendering processing in band units, and generates bitmap data in band units. Furthermore, in the present embodiment, one band is further configured by tiles that are a plurality of processing units, and rendering processing is performed for each band in units of tiles.

図3に示されるバンド単位のビットマップデータは、バンド単位でレンダリング処理が施された後のビットマップデータの一例である。本実施形態では、1バンドに4タイルが配置される構成となっている。さらに、図3に示される1バンドの水平方向に区画される画素列をラインと記す。本実施形態では1バンドに5ラインが配置される構成となっている。前述の通り、このようなラインのうち、白画素のみで構成されるラインについては、特に「白ライン」と記し、描画画素が含まれて構成されるラインについては、「描画ライン」と記す。ビットマップデータのバンド構成は図3のものに限られず、例えば1バンドに5タイル、6ライン以上のバンド構成や、1バンドに3タイル、4ライン以下のバンド構成などであってもよい。   The bitmap data in band units shown in FIG. 3 is an example of bitmap data after rendering processing in band units. In this embodiment, 4 tiles are arranged in one band. Further, a pixel column partitioned in the horizontal direction of one band shown in FIG. 3 is referred to as a line. In this embodiment, 5 lines are arranged in one band. As described above, among such lines, a line including only white pixels is particularly referred to as a “white line”, and a line including drawing pixels is referred to as a “drawing line”. The band configuration of the bitmap data is not limited to that shown in FIG. 3. For example, a band configuration of 5 tiles per band and 6 lines or more, or a band configuration of 3 tiles per band and 4 lines or less may be used.

次に、図4を参照して、本実施形態における白ラインを検出する処理内容について説明する。図4は本実施形態において白ラインを検出する処理内容を示すフローチャートである。本フローチャートによる処理は、主に制御情報生成部206によって実行される。また、図5は、白ライン情報の遷移を時系列で示したものであり、本実施形態では、バンドにおける最上位のラインが白ラインとして検出される例が示されている。   Next, with reference to FIG. 4, processing contents for detecting a white line in the present embodiment will be described. FIG. 4 is a flowchart showing the processing contents for detecting a white line in the present embodiment. The processing according to this flowchart is mainly executed by the control information generation unit 206. FIG. 5 shows the transition of white line information in time series. In the present embodiment, an example in which the highest line in the band is detected as a white line is shown.

S401において、RIP部207は、白ライン情報を初期化する(t1)。本実施形態において、白ライン情報とはバンドにおける白ラインの構成を示す情報であり、白ライン情報が「1」のときに対応するラインが白ラインと特定され、白ライン情報が「0」のときに対応するラインが描画ラインと特定される。さらに、RIP部207は、白ライン情報から白ラインのライン数を特定することもできる。本初期化によって白ライン情報は「1」に設定される。   In step S401, the RIP unit 207 initializes white line information (t1). In the present embodiment, the white line information is information indicating the configuration of the white line in the band. When the white line information is “1”, the corresponding line is specified as the white line, and the white line information is “0”. Sometimes the corresponding line is identified as the drawing line. Furthermore, the RIP unit 207 can also specify the number of white lines from the white line information. By this initialization, the white line information is set to “1”.

S402において、RIP部207は、中間データ生成部202によって生成された中間データ203からタイル情報を取り出す。S403において、取り出したタイル情報が白タイルを特定する白タイル情報であるかを判定する。白タイル情報の場合(S403:YES)、S404〜S407の処理をスキップする。白タイル情報ではない場合(S403:NO)、すなわち取り出したタイル情報が描画タイルであることを特定した場合、S404に移行し、RIP部207はタイルに対してレンダリング処理(S404)を施す。タイルレンダリング処理(S404)において、RIP部207は、ライン毎にレンダリング処理を施す(t2〜t3)。   In step S <b> 402, the RIP unit 207 extracts tile information from the intermediate data 203 generated by the intermediate data generation unit 202. In step S403, it is determined whether the extracted tile information is white tile information for specifying a white tile. In the case of white tile information (S403: YES), the processing of S404 to S407 is skipped. When the tile information is not white tile information (S403: NO), that is, when it is determined that the extracted tile information is a drawing tile, the process proceeds to S404, and the RIP unit 207 performs rendering processing (S404) on the tile. In the tile rendering process (S404), the RIP unit 207 performs the rendering process for each line (t2 to t3).

レンダリング処理の結果、RIP部207はレンダリング処理を施したタイル内の画素値をライン毎に取得する。S405において、RIP部207は、取得した画素値から白画素であるか否かの判定を行う。当該ラインが全て白画素であった場合(S405:YES)、S406の処理をスキップしてS407に移行する。当該ライン内に白画素以外の画素が含まれていた場合(S405:NO)、S406において当該ラインに対応する白ライン情報を「0」に更新する(t2〜t3)。   As a result of the rendering process, the RIP unit 207 acquires pixel values in the tile subjected to the rendering process for each line. In step S405, the RIP unit 207 determines whether the pixel is a white pixel from the acquired pixel value. If all the lines are white pixels (S405: YES), the process of S406 is skipped and the process proceeds to S407. If a pixel other than a white pixel is included in the line (S405: NO), white line information corresponding to the line is updated to “0” in S406 (t2 to t3).

S407において、RIP部207は、タイル内の全ラインに対するレンダリング処理および白ライン情報の更新処理が完了したかを判定し、完了していない場合(S407:NO)、再びS404に移行する。タイル内の全ラインに対するレンダリング処理および白ライン情報の更新処理が完了している場合(S407:YES)、S408に移行し、バンド内の全タイルに対するレンダリング処理が完了しているかを判定する。バンド内の全タイルに対するレンダリング処理が完了していない場合(S408:NO)、再びS402に移行する。バンド内の全タイルに対するレンダリング処理が完了している場合(S408:YES,t4)、S401〜S408の処理で更新された白ライン情報に基づいて、制御情報209が生成される(S409)。制御情報209の生成方法の詳細は後述する。   In step S407, the RIP unit 207 determines whether the rendering process and the white line information update process for all lines in the tile have been completed. If the process has not been completed (NO in step S407), the process proceeds to step S404 again. When the rendering process for all the lines in the tile and the white line information update process have been completed (S407: YES), the process proceeds to S408 to determine whether the rendering process for all the tiles in the band has been completed. If rendering processing for all tiles in the band has not been completed (S408: NO), the process proceeds to S402 again. When rendering processing for all tiles in the band has been completed (S408: YES, t4), control information 209 is generated based on the white line information updated in the processing of S401 to S408 (S409). Details of the method for generating the control information 209 will be described later.

<制御情報の生成方法>
図6は、本実施形態の画像処理装置100において、各種データのメモリ格納イメージを示した模式図である。図6の(a)は、バンド(1)〜(3)を有する中間データ203のメモリ格納イメージを模式的に示している。本実施形態では、バンド(1)〜(3)の3つのバンドによって、1ページ分の中間データが構成される。さらに、中間データ203は、バンド(2)に複数の白ラインを含んで構成される。一般的に、中間データは画素単位で構成されないため、厳密に言えば、中間データに「白画素のみの画素列である白ライン」は存在し得ない。以下の実施形態では、説明の便宜上、中間データにおける「白ライン」は、「レンダリング処理後に白画素のみの画素列で構成される領域」を示すものとして説明を行う。
<Control information generation method>
FIG. 6 is a schematic diagram showing a memory storage image of various data in the image processing apparatus 100 of the present embodiment. FIG. 6A schematically shows a memory storage image of the intermediate data 203 having the bands (1) to (3). In the present embodiment, intermediate data for one page is constituted by three bands (1) to (3). Further, the intermediate data 203 includes a plurality of white lines in the band (2). In general, since the intermediate data is not configured in units of pixels, strictly speaking, there cannot be a “white line that is a pixel row of only white pixels” in the intermediate data. In the following embodiments, for the sake of convenience of explanation, the “white line” in the intermediate data will be described as indicating “an area composed of a pixel row of only white pixels after rendering processing”.

図6(b)は、中間データ203に対してレンダリング処理を施した後のビットマップデータ208であり、メモリ210に格納されたイメージを示している。ビットマップデータ208は、レンダリング処理時に白ラインが削除されてメモリに格納される。   FIG. 6B shows bitmap data 208 after rendering processing is performed on the intermediate data 203, and shows an image stored in the memory 210. The bitmap data 208 is stored in the memory after the white line is deleted during the rendering process.

図6(c)は、ビットマップデータ208に対して画像処理を施した後の印刷データ211であり、メモリ212に格納されたイメージを示している。特許文献2の画像処理装置は、白ラインが削除されたビットマップデータに対して画像処理が施され、生成された印刷データも白ラインが削除されてメモリに保存される。この点、レーザービームプリンタなどは、印刷処理をせずに記録媒体の搬送動作を行うことはできない。そのため、白ラインを含む印刷データの方が、プリンタエンジンの種類によらず汎用性が高いので、白ラインが削除されたビットマップデータから、白ラインを含む印刷データを復元したいという要請がある。ビットマップデータ208は、中間データ203に含まれていた白ラインが復元されてメモリに格納される。画像処理部105によって、白ラインが復元されてメモリ212に書き込まれる処理の詳細については後述する。   FIG. 6C shows print data 211 after image processing is performed on the bitmap data 208, and shows an image stored in the memory 212. The image processing apparatus of Patent Document 2 performs image processing on bitmap data from which white lines have been deleted, and the generated print data is also stored in memory with the white lines deleted. In this regard, a laser beam printer or the like cannot perform a recording medium conveyance operation without performing a printing process. For this reason, print data including a white line is more versatile regardless of the type of printer engine, and there is a demand for restoring print data including a white line from bitmap data from which the white line has been deleted. In the bitmap data 208, the white line included in the intermediate data 203 is restored and stored in the memory. Details of the processing in which the white line is restored and written to the memory 212 by the image processing unit 105 will be described later.

次に、図7〜8を参照し、制御情報生成部206がバンド(2)から制御情報209を生成し、制御情報209に基づいてレンダリング処理と画像処理とを連携して行う態様について説明する。図7は、本実施形態における制御情報を生成する処理内容を示したフローチャートである。本フローチャートによる処理は、主に制御情報生成部206によって実行される。   Next, a mode in which the control information generation unit 206 generates the control information 209 from the band (2) and performs the rendering process and the image process in cooperation based on the control information 209 will be described with reference to FIGS. . FIG. 7 is a flowchart showing the processing contents for generating control information in this embodiment. The processing according to this flowchart is mainly executed by the control information generation unit 206.

S701において、画像形成部104は、S401〜S408の処理によって生成された白ライン情報を読み取る。S702において、読み取った白ライン情報から、当該ラインが白ラインであるかまたは描画ラインであるかが判定される。本実施例では、図6(a)に示される通り、中間データのバンド(2)の上端は白ラインであるため、読み取った白ライン情報から当該ラインは白ラインと判定され(S702:Yes)、S709に移行する。   In step S701, the image forming unit 104 reads white line information generated by the processing in steps S401 to S408. In step S702, it is determined from the read white line information whether the line is a white line or a drawing line. In the present embodiment, as shown in FIG. 6A, since the upper end of the band (2) of the intermediate data is a white line, the line is determined to be a white line from the read white line information (S702: Yes). , The process proceeds to S709.

S709において、制御情報生成部206は、Ncntの値が0かを判定する。ここで、Ncntとは、画像形成部104によってカウントされる描画ライン数を示す情報であり、1バンドのレンダリング処理が開始される時点では、初期値として0が設定されている。Ncntの値が0と判定された場合(S709:Yes)、S712に移行してWcntの値がインクリメントされる。ここで、Wcntとは、画像形成部104によってカウントされる白ライン数を示す情報であり、1バンドのレンダリング処理が開始される時点では、初期値として0が設定されている。Wcntのインクリメント処理(S712)は、S702において描画ラインと判定されるまで継続される。   In step S709, the control information generation unit 206 determines whether the value of Ncnt is 0. Here, Ncnt is information indicating the number of drawing lines counted by the image forming unit 104, and 0 is set as an initial value at the time when one-band rendering processing is started. When it is determined that the value of Ncnt is 0 (S709: Yes), the process proceeds to S712, and the value of Wcnt is incremented. Here, Wcnt is information indicating the number of white lines counted by the image forming unit 104, and 0 is set as an initial value at the time when one-band rendering processing is started. The Wcnt increment process (S712) is continued until it is determined as a drawing line in S702.

一方、S702において、読み取った白ライン情報から、当該ラインが描画ラインと判定された場合(S702:No)、S703において当該ラインのビットマップデータがメモリ210に転送される。S704において、制御情報生成部206は、Wcntの値が0かを判定する。本実施例では、S712において、Wcntが白ライン数分カウントされているため、Wcntの値が0ではないと判定され(S704:No)、S705に移行する。S705において、制御情報生成部206は、ポインタ制御情報としてWcntを画像処理部105に送信し、S706において、Wcntの値を0にする。一方、Wcntの値が0と判定された場合(S704:Yes)、S707に移行してNcntの値がインクリメントされる。Ncntのインクリメント処理(S707)は、S702において白ラインと判定されるまで継続される。   On the other hand, if it is determined in S702 that the line is a drawing line from the read white line information (S702: No), the bitmap data of the line is transferred to the memory 210 in S703. In step S704, the control information generation unit 206 determines whether the value of Wcnt is 0. In this embodiment, since Wcnt is counted for the number of white lines in S712, it is determined that the value of Wcnt is not 0 (S704: No), and the process proceeds to S705. In step S705, the control information generation unit 206 transmits Wcnt as pointer control information to the image processing unit 105. In step S706, the control information generation unit 206 sets the value of Wcnt to 0. On the other hand, when it is determined that the value of Wcnt is 0 (S704: Yes), the process proceeds to S707 and the value of Ncnt is incremented. The Ncnt increment process (S707) is continued until it is determined as a white line in S702.

S708において、バンド内の全白ライン情報の読み取りが終了したかが判定され、全白ライン情報の読み取りが終了していない場合(S708:No)、画像形成部104は、再びS701の処理を繰り返す。S701に戻り、画像形成部104は再び白ライン情報を読み取る。S702において、読み取った白ライン情報から、当該ラインが再び白ラインと判定された場合(S702:Yes)、再度S709に移行する。本実施例では、S707において、Ncntが描画ライン数分カウントされているため、Ncntの値が0ではないと判定され(S709:No)、S710に移行する。S710において、制御情報生成部206は、ポインタ制御情報としてNcntを画像処理部105に送信し、S711において、Ncntの値を0にする。   In step S708, it is determined whether reading of all white line information in the band has been completed. If reading of all white line information has not been completed (S708: No), the image forming unit 104 repeats the processing in step S701 again. . Returning to S701, the image forming unit 104 reads the white line information again. In S702, when it is determined again from the read white line information that the line is a white line (S702: Yes), the process proceeds to S709 again. In this embodiment, since Ncnt is counted for the number of drawing lines in S707, it is determined that the value of Ncnt is not 0 (S709: No), and the process proceeds to S710. In step S710, the control information generation unit 206 transmits Ncnt as pointer control information to the image processing unit 105. In step S711, the control information generation unit 206 sets the value of Ncnt to 0.

S708において、バンド内の全白ライン情報の読み取りが終了している場合(S708:Yes)、S713において、制御情報生成部206は、NcntまたはWcntを画像処理部105に送信する。このときS705で未送信のままインクリメントされたWcntがポインタ制御情報として画像処理部105に送信されるか、またはS710で未送信のままインクリメントされたNcntがポインタ制御情報として画像処理部105に送信される。   If the reading of all white line information in the band has been completed in S708 (S708: Yes), the control information generation unit 206 transmits Ncnt or Wcnt to the image processing unit 105 in S713. At this time, Wcnt incremented without transmission in S705 is transmitted to the image processing unit 105 as pointer control information, or Ncnt incremented without transmission in S710 is transmitted to the image processing unit 105 as pointer control information. The

図8は、本実施形態において、レンダリング処理と画像処理とを連携して行う態様を説明するシーケンス図である。図8は、説明簡略化のために1バンドのみを対象とした処理について例示するが、複数の領域に区画したメモリ210を用いて、複数バンドを対象とした並列処理により、処理の効率化を図ることもできる。例えば、画像形成部104がバンド(2)のレンダリング処理を行っている間に、画像処理部105がバンド(1)の画像処理を行うなどの並列処理により、画像処理装置100全体の処理を短縮することができる。   FIG. 8 is a sequence diagram illustrating an aspect in which rendering processing and image processing are performed in cooperation with each other in the present embodiment. FIG. 8 illustrates processing for only one band for the sake of simplification. However, the memory 210 divided into a plurality of areas is used to increase the processing efficiency by parallel processing for a plurality of bands. You can also plan. For example, the overall processing of the image processing apparatus 100 is shortened by parallel processing such as the image processing unit 105 performing image processing of the band (1) while the image forming unit 104 performs rendering processing of the band (2). can do.

S801において、画像形成部104はバンド(2)のレンダリング処理を行い、S803において、S802の検出結果である白ライン情報から、バンド(2)の連続する白ライン数(W1)をカウントする。S803において、カウントされた連続する白ライン数(W1)は、ポインタ制御情報804として画像処理部105に送信される。また、S805において、画像形成部104は、レンダリング処理後にビットマップデータから白ラインを削除したビットマップデータ806(B1、B1’)を、メモリ210に保存する(図6(b))。   In step S801, the image forming unit 104 performs rendering processing for the band (2). In step S803, the number of continuous white lines (W1) in the band (2) is counted from the white line information that is the detection result in step S802. In step S803, the counted number of consecutive white lines (W1) is transmitted to the image processing unit 105 as pointer control information 804. In step S805, the image forming unit 104 stores bitmap data 806 (B1, B1 ') in which the white line is deleted from the bitmap data after rendering processing in the memory 210 (FIG. 6B).

S807において、画像処理部105はメモリ212への印刷データの書き込みアドレスを算出する。バンド(2)に対する画像処理(図8)の初期状態において、メモリ212の書き込みポインタは、バンド(2)の先頭ラインの先頭アドレスを示している。画像処理部105は、当該先頭アドレスにポインタ制御情報804(W1)を加算し、バンド(2)の出力開始ライン(1)の先頭アドレスを算出する(図6(c))。このとき、画像処理部105は、メモリ212の書き込みポインタが、バンド(2)の出力開始ライン(1)の先頭アドレスを示すように、ポインタを更新する。このような出力開始ラインの先頭アドレスは、バンド(2)における印刷データの書き込み開始位置であると言える。   In step S <b> 807, the image processing unit 105 calculates a print data write address to the memory 212. In the initial state of image processing (FIG. 8) for the band (2), the write pointer of the memory 212 indicates the head address of the head line of the band (2). The image processing unit 105 adds the pointer control information 804 (W1) to the head address, and calculates the head address of the output start line (1) of the band (2) (FIG. 6C). At this time, the image processing unit 105 updates the pointer so that the write pointer in the memory 212 indicates the head address of the output start line (1) of the band (2). It can be said that the head address of such an output start line is a print data writing start position in the band (2).

S808において、S802の検出結果である白ライン情報から、バンド(2)の連続する描画ライン数(N1)をカウントする。S808において、カウントされた連続する描画ライン数(N1)は、ポインタ制御情報809として画像処理部105に送信される。   In step S808, the number of consecutive drawing lines (N1) in the band (2) is counted from the white line information that is the detection result in step S802. In S808, the counted number of consecutive drawing lines (N1) is transmitted to the image processing unit 105 as pointer control information 809.

S811において、画像処理部105はメモリ210からのビットマップデータの読み出しアドレスを算出する。バンド(2)に対する画像処理(図8)の初期状態において、メモリ210の読み出しポインタは、バンド(2)の先頭ラインの先頭アドレスを示している。画像処理部105は、当該先頭アドレスにポインタ制御情報809(N1)を加算し、バンド(2)の入力終了ライン(1)の先頭アドレスを算出する(図6(b))。かかる処理により、画像処理部105は、バンド(2)の入力開始ライン(1)からバンド(2)の入力終了ライン(1)までの範囲に、画像処理の対象となるビットマップデータがメモリ210に書き込まれていることを認識することができる。このような入力開始ラインの先頭アドレスは、バンド(2)におけるビットマップデータの読み出し開始位置であると言える。また、入力終了ラインの終点アドレスは、バンド(2)におけるビットマップデータの読み出し終了位置であると言える。   In step S811, the image processing unit 105 calculates a read address of bitmap data from the memory 210. In the initial state of image processing (FIG. 8) for the band (2), the read pointer of the memory 210 indicates the head address of the head line of the band (2). The image processing unit 105 adds the pointer control information 809 (N1) to the head address, and calculates the head address of the input end line (1) of the band (2) (FIG. 6B). With this process, the image processing unit 105 stores the bitmap data to be subjected to image processing in the memory 210 in the range from the input start line (1) of the band (2) to the input end line (1) of the band (2). Can be recognized. It can be said that the start address of such an input start line is the read start position of the bitmap data in the band (2). Further, it can be said that the end point address of the input end line is the reading end position of the bitmap data in the band (2).

S813において、画像処理部105は、バンド(2)の先頭アドレスから、S811で算出した読み出しアドレスの範囲に書き込まれているビットマップデータ812(B1)を読み出す。また、ビットマップデータ812の読み出し終了後、メモリ210における読み出しポインタは、入力終了ライン(1)の次ラインの先頭アドレスを示すように更新されている。   In step S813, the image processing unit 105 reads the bitmap data 812 (B1) written in the range of the read address calculated in step S811 from the head address of the band (2). Further, after the reading of the bitmap data 812 is completed, the read pointer in the memory 210 is updated to indicate the head address of the next line of the input end line (1).

S814において、画像処理部105は、ビットマップデータ812に対して所定の画像処理を施す。本実施形態において、画像処理部105は、バンド(2)の入力開始ライン(1)から入力終了ライン(1)までの範囲のビットマップデータ(B1)を読み出す。画像処理部105は、バンド(2)の入力開始ライン(1)から入力終了ライン(1)までの範囲のビットマップデータに対して画像処理を施すことができる。   In step S <b> 814, the image processing unit 105 performs predetermined image processing on the bitmap data 812. In the present embodiment, the image processing unit 105 reads bitmap data (B1) in the range from the input start line (1) to the input end line (1) of the band (2). The image processing unit 105 can perform image processing on bitmap data in the range from the input start line (1) to the input end line (1) of the band (2).

また、画像処理部105は、ポインタ制御情報804(W1)から、入力開始ライン(1)に隣接するラインが白ラインかを判定することができる。かかる構成により、画像処理部105は、例えば入力開始ライン(1)の画素列に対して複数画素(例えば、5×5画素)のフィルタによるフィルタ処理を好適に行うことができる。すなわち、画像処理部105は、上記判断結果に応じて、バンド(2)におけるビットマップデータと、上記フィルタとが重畳しない領域に、白画素を適用して前記フィルタ処理を実行することができる。入力終了ライン(1)の画素列に対してフィルタ処理を行う場合も、ポインタ制御情報809(N1)から、バンド(2)におけるビットマップデータと、上記フィルタとが重畳しない領域に、白画素を適用して前記フィルタ処理を実行することができる。画像処理部105は、バンド(2)におけるビットマップデータと、上記フィルタとが重畳しない領域に白画素を適用することができるので、白ラインを含むビットマップデータに対して画像処理を施した場合と同様の印刷データを出力することができる。   Further, the image processing unit 105 can determine from the pointer control information 804 (W1) whether the line adjacent to the input start line (1) is a white line. With this configuration, the image processing unit 105 can suitably perform filter processing using a filter of a plurality of pixels (for example, 5 × 5 pixels), for example, on the pixel row of the input start line (1). That is, the image processing unit 105 can execute the filter process by applying white pixels to a region where the bitmap data in the band (2) and the filter are not superimposed according to the determination result. Even when the filter processing is performed on the pixel column of the input end line (1), white pixels are added to the area where the bitmap data in the band (2) and the filter are not overlapped from the pointer control information 809 (N1). The filtering process can be executed by applying. Since the image processing unit 105 can apply white pixels to a region where the bitmap data in the band (2) and the filter do not overlap, image processing is performed on bitmap data including a white line. The same print data can be output.

S815において、画像処理部105は、S807で算出した書き込みアドレスに、画像処理が施された印刷データ816を書き込む。S807の処理により、メモリ212の書き込みポインタは、バンド(2)の出力開始ライン(1)の先頭を示すように更新されている(図6(c))。本実施形態において、バンド(2)の出力開始ライン(1)からバンド(2)の出力終了ライン(1)までの範囲に、ポインタ制御情報809(N1)分のライン数の印刷データ816(B1)が書き込まれる。また、印刷データ816の書き込み終了後、メモリ212における書き込みポインタは、出力終了ライン(1)の次ラインの先頭アドレスを示すように更新されている。このような出力終了ラインの終点アドレスは、バンド(2)における印刷データの書き込み終了位置であると言える。   In step S815, the image processing unit 105 writes the print data 816 subjected to image processing to the write address calculated in step S807. By the processing of S807, the write pointer of the memory 212 is updated to indicate the head of the output start line (1) of the band (2) (FIG. 6C). In the present embodiment, print data 816 (B1) having the number of lines corresponding to the pointer control information 809 (N1) in the range from the output start line (1) of the band (2) to the output end line (1) of the band (2). ) Is written. Further, after the print data 816 has been written, the write pointer in the memory 212 is updated to indicate the head address of the next line of the output end line (1). Such an end point address of the output end line can be said to be a print data writing end position in the band (2).

なお、S814においてビットマップデータ812に対して変倍処理が適用される場合、画像処理部105はビットマップデータ812に適用する変倍量に応じて書き込みアドレスを算出する。例えば、S807において、画像処理部105は、ポインタ制御情報804(W1)に上記変倍量を適用し、バンド(2)の出力開始ライン(1)の先頭アドレスを算出する(図6(c))。かかる処理により、メモリ212への印刷データ816の書き込みは、変倍された白ライン分スキップされる。さらに、S815において、画像処理部105は、ポインタ制御情報809(N1)に上記変倍量を適用することにより、バンド(2)の出力開始ライン(1)からバンド(2)の出力終了ライン(1)までの範囲も変倍される。かかる処理により、S815において、バンド(2)の出力開始ライン(1)からバンド(2)の出力終了ライン(1)までの変倍された範囲に、印刷データ816(B1)が書き込まれる。   Note that when the scaling process is applied to the bitmap data 812 in S814, the image processing unit 105 calculates a write address according to the scaling amount applied to the bitmap data 812. For example, in S807, the image processing unit 105 applies the scaling amount to the pointer control information 804 (W1) and calculates the head address of the output start line (1) of the band (2) (FIG. 6C). ). With this processing, the writing of the print data 816 to the memory 212 is skipped for the scaled white line. Further, in S815, the image processing unit 105 applies the scaling amount to the pointer control information 809 (N1) to thereby output the output end line (1) from the output start line (1) of the band (2) ( The range up to 1) is also scaled. With this process, in S815, the print data 816 (B1) is written in the scaled range from the output start line (1) of the band (2) to the output end line (1) of the band (2).

以下、上記実施例と同様に、画像形成部104は、バンド(2)における次の白ライン数(W2)のカウント(S818)およびバンド(2)における次の描画ライン数(N2)のカウントをそれぞれ実行する。そして、画像処理部105は、ビットマップデータ825の読み出し(S826)および印刷データの書き込み(S828)をそれぞれ実行する。   Hereinafter, as in the above embodiment, the image forming unit 104 counts the next white line number (W2) in the band (2) (S818) and the next drawing line number (N2) in the band (2). Run each one. Then, the image processing unit 105 executes reading of the bitmap data 825 (S826) and writing of the print data (S828).

以上説明したように、本実施形態における画像処理装置は、バンド単位でレンダリング処理を行う際に白ライン情報を検出し、検出した検出した白ラインから制御情報を生成する。画像処理部は上記制御情報からバンドにおけるビットマップデータの読み出し位置および印刷データの書き込み位置を算出することができる。かかる構成により、本実施形態の画像処理装置は、バンドにおけるビットマップデータの読み出し位置および印刷データの書き込み位置を効率的に算出することができ、印刷の高速化を実現することができる。   As described above, the image processing apparatus according to the present embodiment detects white line information when performing rendering processing in band units, and generates control information from the detected white line. The image processing unit can calculate the reading position of the bitmap data and the writing position of the print data in the band from the control information. With this configuration, the image processing apparatus according to the present embodiment can efficiently calculate the reading position of bitmap data and the writing position of print data in a band, and can realize high-speed printing.

[実施形態2]
上述の実施形態1では、画像形成部104は、バンド(2)の連続する白ライン数(W1)と、バンド(2)の連続する描画ライン数(N1)とをカウントし、それぞれをポインタ制御情報として画像処理部105に送信していた。これに対し、本実施形態では、バンド(2)の連続する白ライン数をカウントし、カウントした白ライン数のみをポインタ制御情報として画像処理部105に送信する。これにより、図7のような複雑な制御フローを必要とすることなく、メモリ帯域および必要メモリ容量を削減しつつ、効率的な画像処理を行うことができる。以下、実施形態1と同じ部分については説明を省略し、実施形態1との差分点を説明する。
[Embodiment 2]
In the first embodiment described above, the image forming unit 104 counts the number of continuous white lines (W1) in the band (2) and the number of consecutive drawing lines (N1) in the band (2), and performs pointer control on each. Information is transmitted to the image processing unit 105 as information. In contrast, in the present embodiment, the number of continuous white lines in the band (2) is counted, and only the counted number of white lines is transmitted to the image processing unit 105 as pointer control information. Thus, efficient image processing can be performed while reducing the memory bandwidth and the required memory capacity without requiring a complicated control flow as shown in FIG. Hereinafter, description of the same parts as those in the first embodiment will be omitted, and differences from the first embodiment will be described.

図9は、本実施形態において、各種データのメモリ格納イメージを示した模式図である。図9の(a)は、バンド(1)〜(3)を有する中間データ203のメモリ格納イメージを模式的に示している。実施形態1のメモリ格納イメージ(図6)と異なり、本実施形態では、中間データに含まれる2つの白ラインは、それぞれバンド(2)の上端と下端とに存在している。   FIG. 9 is a schematic diagram showing a memory storage image of various data in the present embodiment. FIG. 9A schematically shows a memory storage image of the intermediate data 203 having the bands (1) to (3). Unlike the memory storage image of the first embodiment (FIG. 6), in this embodiment, two white lines included in the intermediate data exist at the upper end and the lower end of the band (2), respectively.

次に、図10を参照し、制御情報生成部206がバンド(2)から制御情報209を生成し、制御情報209に基づいてレンダリング処理と画像処理とを連携して行う態様について説明する。   Next, an aspect in which the control information generation unit 206 generates control information 209 from the band (2) and performs rendering processing and image processing in cooperation with each other based on the control information 209 will be described with reference to FIG.

S1001において、画像形成部104はバンド(2)のレンダリング処理を行い、S1004において、S1003の検出結果である白ライン情報から、バンド(2)の連続する白ライン数(Wu)をカウントする。また、S1001において、画像形成部104は、レンダリング処理後にビットマップデータから白ラインを削除したビットマップデータ1002(B1)を、メモリ210に保存する(図9(b))。   In S1001, the image forming unit 104 performs the rendering process of the band (2). In S1004, the number of continuous white lines (Wu) in the band (2) is counted from the white line information that is the detection result in S1003. In S1001, the image forming unit 104 stores bitmap data 1002 (B1) in which the white line is deleted from the bitmap data after rendering processing in the memory 210 (FIG. 9B).

S1004において、カウントされた連続する白ライン数(Wu)は、ポインタ制御情報1005として画像処理部105に送信される。同様に、S1006において、カウントされた連続する白ライン数(Wd)は、ポインタ制御情報1007として画像処理部105に送信される。図9(a)に示される通り、白ライン数(Wu)は、バンド(2)の上端から連続する白ライン数であり、白ライン数(Wd)は、バンド(2)の下端から連続する白ライン数に相当する。   In S1004, the counted number of consecutive white lines (Wu) is transmitted to the image processing unit 105 as pointer control information 1005. Similarly, in S1006, the counted number of consecutive white lines (Wd) is transmitted to the image processing unit 105 as pointer control information 1007. As shown in FIG. 9A, the number of white lines (Wu) is the number of white lines continuous from the upper end of the band (2), and the number of white lines (Wd) is continuous from the lower end of the band (2). Corresponds to the number of white lines.

S1008において、画像処理部105はメモリ210からのビットマップデータの読み出しアドレスを算出する。バンド(2)の画像処理(図10)の初期状態において、メモリ210の読み出しポインタは、バンド(2)の先頭ラインの先頭アドレスを示している。画像処理部105は、ポインタ制御情報1005(Wu),1007(Wd)と、バンドの高さ(T)とから、所定の演算(例えば、T−Wu−Wd)を行うことにより、メモリ210からのビットマップデータ読み出しアドレスを算出する。かかる処理により、画像処理部105は、バンド(2)の入力開始ラインからバンド(2)の入力終了ラインまでの範囲に、画像処理の対象となるビットマップデータがメモリ210に書き込まれていることを認識することができる。   In step S <b> 1008, the image processing unit 105 calculates a read address of bitmap data from the memory 210. In the initial state of band (2) image processing (FIG. 10), the read pointer of the memory 210 indicates the start address of the start line of band (2). The image processing unit 105 performs a predetermined calculation (for example, T-Wu-Wd) from the pointer control information 1005 (Wu), 1007 (Wd) and the height of the band (T), and thereby from the memory 210. The bit map data read address is calculated. With this processing, the image processing unit 105 has written bitmap data to be subjected to image processing in the memory 210 in the range from the input start line of the band (2) to the input end line of the band (2). Can be recognized.

S1010において、画像処理部105は、バンド(2)の先頭アドレスから、S1008で算出した読み出しアドレスの範囲に書き込まれているビットマップデータ1009(B1)を読み出す。また、ビットマップデータ1009の読み出し終了後、メモリ210における読み出しポインタは、入力終了ラインの次ラインの先頭アドレスを示すように更新されている。   In step S1010, the image processing unit 105 reads bitmap data 1009 (B1) written in the range of the read address calculated in step S1008 from the head address of the band (2). Further, after the completion of reading the bitmap data 1009, the read pointer in the memory 210 is updated to indicate the head address of the next line after the input end line.

S1011において、画像処理部105は、ビットマップデータ1009に対して所定の画像処理を施す。画像処理部105は、バンド(2)の入力開始ラインから入力終了ラインまでの範囲のビットマップデータ(B1)に対して画像処理を施すことができる。   In step S <b> 1011, the image processing unit 105 performs predetermined image processing on the bitmap data 1009. The image processing unit 105 can perform image processing on the bitmap data (B1) in the range from the input start line to the input end line of the band (2).

S1012において、画像処理部105はメモリ212への印刷データの書き込みアドレスを算出する。バンド(2)に対する画像処理(図10)の初期状態において、メモリ212の書き込みポインタは、バンド(2)の先頭ラインの先頭アドレスを示している。画像処理部105は、当該先頭アドレスにポインタ制御情報1005(Wu)を加算し、バンド(2)の出力開始ラインの先頭アドレスを算出する(図9(c))。このとき、画像処理部105は、メモリ212の書き込みポインタが、バンド(2)の出力開始ラインの先頭アドレスを示すように、ポインタを更新する。   In step S <b> 1012, the image processing unit 105 calculates a print data write address to the memory 212. In the initial state of image processing (FIG. 10) for the band (2), the write pointer of the memory 212 indicates the head address of the head line of the band (2). The image processing unit 105 adds the pointer control information 1005 (Wu) to the head address, and calculates the head address of the output start line of the band (2) (FIG. 9C). At this time, the image processing unit 105 updates the pointer so that the write pointer in the memory 212 indicates the head address of the output start line of the band (2).

S1013において、画像処理部105は、S1012で算出した書き込みアドレスに、画像処理が施された印刷データ1014を書き込む。S1012の処理により、メモリ212の書き込みポインタは、バンド(2)の出力開始ラインの先頭を示すように更新されている(図6(c))。本実施形態において、バンド(2)の出力開始ラインからバンド(2)の出力終了ラインまでの範囲に、S1011で画像処理が施された印刷データ1014(B1)が書き込まれる。また、印刷データ1014の書き込み終了後、メモリ212における書き込みポインタは、出力終了ラインの次ラインの先頭アドレスを示すように更新されている。   In step S <b> 1013, the image processing unit 105 writes the print data 1014 that has undergone image processing to the write address calculated in step S <b> 1012. By the processing of S1012, the write pointer in the memory 212 is updated to indicate the head of the output start line of the band (2) (FIG. 6C). In the present embodiment, the print data 1014 (B1) subjected to the image processing in S1011 is written in the range from the output start line of the band (2) to the output end line of the band (2). In addition, after the writing of the print data 1014 is completed, the writing pointer in the memory 212 is updated to indicate the head address of the next line of the output end line.

以上説明したように、本実施形態における画像処理装置は、バンド単位でレンダリング処理を行う際に白ライン情報を検出し、検出した白ラインから複雑な制御フローを必要とすることなく制御情報を生成する。画像処理部は上記制御情報からバンドにおけるビットマップデータの読み出し位置および印刷データの書き込み位置を算出することができる。かかる構成により、本実施形態の画像処理装置は、バンドにおけるビットマップデータの読み出し位置および印刷データの書き込み位置を効率的に算出することができ、印刷の高速化を実現することができる。   As described above, the image processing apparatus in the present embodiment detects white line information when performing rendering processing in band units, and generates control information from the detected white line without requiring a complicated control flow. To do. The image processing unit can calculate the reading position of the bitmap data and the writing position of the print data in the band from the control information. With this configuration, the image processing apparatus according to the present embodiment can efficiently calculate the reading position of bitmap data and the writing position of print data in a band, and can realize high-speed printing.

[実施形態3]
上述の実施形態2では、バンド(2)の連続する白ライン数をカウントし、カウントした白ライン数のみをポインタ制御情報として画像処理部105に送信していた。本実施形態の画像処理装置は、さらに簡易な方法により、レンダリング処理と画像処理とを連携して行い、印刷データにおける白ライン構成を復元することができる。以下、上述の実施形態と同じ部分については説明を省略し、差分点のみを説明する。
[Embodiment 3]
In the second embodiment described above, the number of continuous white lines in the band (2) is counted, and only the counted number of white lines is transmitted to the image processing unit 105 as pointer control information. The image processing apparatus according to the present embodiment can restore the white line configuration in the print data by performing a rendering process and an image process in cooperation by a simpler method. Hereinafter, description of the same parts as those of the above-described embodiment will be omitted, and only difference points will be described.

図11は、本実施形態において、各種データのメモリ格納イメージを示した模式図である。図11の(a)は、バンド(1)〜(3)を有する中間データ203のメモリ格納イメージを模式的に示している。本実施形態では、中間データに含まれる白ラインは、バンドの境界に跨がる領域に存在し、それぞれバンド(2)の下端と、バンド(3)の上端とに存在している。なお、図11(a)に示される通り、白ライン数(Wu1,Wd2)は、「0」の値をとる。   FIG. 11 is a schematic diagram showing a memory storage image of various data in the present embodiment. FIG. 11A schematically illustrates a memory storage image of the intermediate data 203 having the bands (1) to (3). In the present embodiment, the white lines included in the intermediate data are present in a region straddling the band boundary, and are present at the lower end of the band (2) and the upper end of the band (3), respectively. As shown in FIG. 11A, the number of white lines (Wu1, Wd2) takes a value of “0”.

次に、図12を参照し、制御情報生成部206がバンド(2)、(3)から制御情報209を生成し、制御情報209に基づいてレンダリング処理と画像処理とを連携して行う態様について説明する。   Next, referring to FIG. 12, the control information generation unit 206 generates control information 209 from the bands (2) and (3), and performs rendering processing and image processing in cooperation based on the control information 209. explain.

上述の実施形態2では、印刷データの書き込み終了後(S1013、1014)、メモリ212における書き込みポインタが、出力終了ラインの次ラインの先頭アドレスを示すように更新されていた。本実施形態では、メモリ212における書き込みポインタの更新は、バンド(3)の書き込みアドレス算出(S1226)で行われる。かかる構成により、メモリ212における書き込みポインタの更新処理の処理負荷を削減することができる。   In the second embodiment described above, after the print data writing is completed (S1013, 1014), the write pointer in the memory 212 is updated to indicate the head address of the next line of the output end line. In the present embodiment, the update of the write pointer in the memory 212 is performed by calculating the write address of the band (3) (S1226). With this configuration, the processing load of the write pointer update process in the memory 212 can be reduced.

本実施形態において、画像形成部104は、バンド(2)の下端の白ライン数(Wd1)をポインタ制御情報1207として送信した後も、バンド(2)の下端の白ライン数(Wd1)を保持する。S1218において、保持していたバンド(2)の下端の白ライン数(Wd1)と、S1217で検出されたバンド(3)の上端の白ライン数(Wu2)とを足し合わせ(Wd1+Wu2)、当該値をポインタ制御情報1219として画像処理部105に送信する。   In this embodiment, the image forming unit 104 retains the number of white lines (Wd1) at the lower end of the band (2) even after transmitting the number of white lines (Wd1) at the lower end of the band (2) as the pointer control information 1207. To do. In S1218, the number of white lines (Wd1) at the lower end of the held band (2) and the number of white lines (Wu2) at the upper end of the band (3) detected in S1217 are added (Wd1 + Wu2), and this value Is transmitted to the image processing unit 105 as pointer control information 1219.

S1226において、画像処理部105はメモリ212への印刷データの書き込みアドレスを算出する。バンド(3)に対する画像処理(図10)の初期状態において、メモリ212の書き込みポインタは、バンド(2)における出力終了ラインの次ラインの先頭アドレスを示している。画像処理部105は、当該先頭アドレスにポインタ制御情報1219(Wd1+Wu2)を加算し、バンド(3)の出力開始ラインの先頭アドレスを算出する(図11(c))。このとき、画像処理部105は、メモリ212の書き込みポインタが、バンド(3)の出力開始ラインの先頭アドレスを示すように、ポインタを更新する。次いで、S1227において、画像処理部105は、S1226で算出した書き込みアドレスに、画像処理が施された印刷データ1228を書き込む。   In step S <b> 1226, the image processing unit 105 calculates a print data write address to the memory 212. In the initial state of the image processing (FIG. 10) for the band (3), the write pointer in the memory 212 indicates the head address of the next line of the output end line in the band (2). The image processing unit 105 adds the pointer control information 1219 (Wd1 + Wu2) to the head address to calculate the head address of the output start line of the band (3) (FIG. 11 (c)). At this time, the image processing unit 105 updates the pointer so that the write pointer in the memory 212 indicates the head address of the output start line of the band (3). In step S <b> 1227, the image processing unit 105 writes the print data 1228 subjected to image processing to the write address calculated in step S <b> 1226.

以上説明したように、本実施形態における画像処理装置は、バンド単位でレンダリング処理を行う際に白ライン情報を検出し、検出した白ラインから複雑な制御フローを必要とすることなく制御情報を生成する。画像処理部は上記制御情報からバンドにおけるビットマップデータの読み出し位置および印刷データの書き込み位置を算出することができる。かかる構成により、本実施形態の画像処理装置は、バンドにおけるビットマップデータの読み出し位置および印刷データの書き込み位置を効率的に算出することができ、印刷の高速化を実現することができる。   As described above, the image processing apparatus in the present embodiment detects white line information when performing rendering processing in band units, and generates control information from the detected white line without requiring a complicated control flow. To do. The image processing unit can calculate the reading position of the bitmap data and the writing position of the print data in the band from the control information. With this configuration, the image processing apparatus according to the present embodiment can efficiently calculate the reading position of bitmap data and the writing position of print data in a band, and can realize high-speed printing.

[実施形態4]
本発明における実施形態4について以下説明する。図2に示される通り、実施形態1における画像処理装置100は、中間データ生成部202とRIP部207とは論理的または物理的に独立した構成となっており、中間データ203の受け渡しはメモリ204を介して行われている。
[Embodiment 4]
Embodiment 4 in the present invention will be described below. As illustrated in FIG. 2, the image processing apparatus 100 according to the first embodiment has a configuration in which the intermediate data generation unit 202 and the RIP unit 207 are logically or physically independent. Is done through.

これに対し、図13に示される通り、実施形態4における画像処理装置100は、画像生成部1301が制御情報生成部1300のみで構成されていてもよい。本実施形態では、制御情報生成部1300が、実施形態1における白タイル検出処理を行う中間データ生成部202と、白画素検出処理を行うRIP部207の機能を担う。そのため、例えば画像生成部1301を単一のプロセッサで実現することができる。   On the other hand, as illustrated in FIG. 13, in the image processing apparatus 100 according to the fourth embodiment, the image generation unit 1301 may be configured by only the control information generation unit 1300. In the present embodiment, the control information generation unit 1300 functions as the intermediate data generation unit 202 that performs white tile detection processing and the RIP unit 207 that performs white pixel detection processing in the first embodiment. Therefore, for example, the image generation unit 1301 can be realized by a single processor.

[実施形態5]
本発明における実施形態5について以下説明する。図2に示される通り、上述の実施形態では、メモリ212に保存された印刷データ211は、インクジェットヘッド213によって画素列毎に読み出される。読み出された画素列が白ラインを構成する画素列の場合、画像処理装置100は、インクジェットヘッド213による走査処理を省略させることにより、印刷処理の高速化を図っている。しかしながら、本発明はインクジェットヘッド213を用いた画像処理装置100のみならず、レーザービームプリンタ方式の画像処理装置にも適用することができる。
[Embodiment 5]
Embodiment 5 in the present invention will be described below. As shown in FIG. 2, in the above-described embodiment, the print data 211 stored in the memory 212 is read out for each pixel column by the inkjet head 213. When the read pixel row is a pixel row that forms a white line, the image processing apparatus 100 speeds up the printing process by omitting the scanning process by the inkjet head 213. However, the present invention can be applied not only to the image processing apparatus 100 using the inkjet head 213 but also to an image processing apparatus of a laser beam printer type.

前述の通り、上述の各実施形態では、バンド(1)〜(3)の3つのバンドによって、1ページ分のデータが構成される例について示されている。例えば、図6(a)の中間データ203は、3つのバンドに分割され、それぞれのバンド単位でレンダリング処理が施される。一方、レーザービームプリンタは、一般的に、ページ単位で印刷データがバッファリングされた後に、用紙などの記録媒体に出力する。   As described above, in each of the above-described embodiments, an example in which data for one page is configured by the three bands (1) to (3) is shown. For example, the intermediate data 203 in FIG. 6A is divided into three bands, and a rendering process is performed for each band. On the other hand, a laser beam printer generally outputs print data on a recording medium such as paper after buffering print data in units of pages.

上述の各実施形態の説明では説明を省略したが、各実施形態のシーケンス図において、CPU101は処理開始時に初期化(S800,S1000,S1200)を行う。CPU101の初期化(S800,S1000,S1200)は、次ページ分のデータがメモリ212に書き込まれる直前に行われる。例えば、図8のシーケンス図では、次ページのバンド(1)の印刷データが書き込まれる前にメモリ212の初期化が行われる(S800)。これにより、画像処理部105における白画素の書き込み処理を省略することができる。インクジェットプリンタでは、CPU101の初期化をせずに、印刷処理部106に白ライン情報により記録媒体の搬送を行ってもよい。   Although not described in the description of each embodiment described above, in the sequence diagram of each embodiment, the CPU 101 performs initialization (S800, S1000, S1200) at the start of processing. The initialization of the CPU 101 (S800, S1000, S1200) is performed immediately before data for the next page is written in the memory 212. For example, in the sequence diagram of FIG. 8, the memory 212 is initialized before the print data of the band (1) of the next page is written (S800). Thereby, the white pixel writing process in the image processing unit 105 can be omitted. In the ink jet printer, the recording medium may be conveyed by the white line information to the print processing unit 106 without initializing the CPU 101.

本実施形態において、画像処理部105がメモリ212に次ページ分の印刷データを書き込む前に、CPU101はメモリ212を初期化する(S800,S1000,S1200)。そして、実施形態1で説明した通り、画像形成部104による制御情報に基づいて、白ラインが復元された印刷データがメモリ212に書き込まれる。レーザービームプリンタは、メモリ212に書き込まれたページ単位の印刷データを読み出し、白ラインをスキップして記録媒体に出力する。かかる構成により、印刷処理をせずに記録媒体の搬送動作を行うことはできないレーザービームプリンタにおいても、白ラインの画像処理及び書き込み処理を省略することにより印刷処理の高速化を図ることができる。なお、実施形態1で説明した通り、白ラインにおけるインクジェットヘッド操作を省略し、記録媒体のみが搬送されるように制御可能な画像形成装置100であれば、CPU101による初期化(S800,S1000,S1200)は省略することができる。   In the present embodiment, the CPU 101 initializes the memory 212 before the image processing unit 105 writes the print data for the next page in the memory 212 (S800, S1000, S1200). Then, as described in the first exemplary embodiment, the print data in which the white line is restored is written in the memory 212 based on the control information from the image forming unit 104. The laser beam printer reads the print data in page units written in the memory 212, skips the white line, and outputs it to the recording medium. With this configuration, even in a laser beam printer that cannot perform a recording medium conveyance operation without performing a printing process, the printing process can be speeded up by omitting the white line image processing and writing process. As described in the first exemplary embodiment, if the image forming apparatus 100 can be controlled so that only the recording medium is conveyed while omitting the inkjet head operation in the white line, initialization by the CPU 101 (S800, S1000, S1200). ) Can be omitted.

[その他の実施形態]
上述の各実施形態では、画像形成部104が、白ラインを削除したうえでビットマップデータ208をメモリ210保存するため(図6(b))、メモリ帯域および必要メモリ容量の削減効果が得られた。しかしながら、画像形成部104が使用するメモリ容量を削減する必要がない場合は、以下に説明する構成でもよい。例えば、メモリ210が、バンド単位のビットマップデータ208を固定的に書き込み可能な容量を有するバンドメモリであった場合を例に説明する。
[Other Embodiments]
In each of the embodiments described above, since the image forming unit 104 deletes the white line and stores the bitmap data 208 in the memory 210 (FIG. 6B), an effect of reducing the memory bandwidth and the required memory capacity can be obtained. It was. However, if it is not necessary to reduce the memory capacity used by the image forming unit 104, the configuration described below may be used. For example, a case where the memory 210 is a band memory having a capacity capable of fixedly writing the bitmap data 208 in band units will be described as an example.

画像形成部104は、レンダリング処理終了後に、ビットマップデータ208に含まれる白ラインを認識した後、該白ライン数分スキップしたアドレスからビットマップデータ208を書き込む。一方、画像処理部105は、読み出しポインタと書き込みポインタとを同一のラインポインタとして管理し、ポインタ制御情報(804,809)に基づいて制御する。かかる構成により、画像処理部105は、ラインポインタからメモリ210からのビットマップデータ208の読み出しアドレスを算出することができる。同様に、ラインポインタからメモリ212への印刷データ211の書き込みアドレスを算出することができる。   After the rendering process is completed, the image forming unit 104 recognizes a white line included in the bitmap data 208 and then writes the bitmap data 208 from the address skipped by the number of white lines. On the other hand, the image processing unit 105 manages the read pointer and the write pointer as the same line pointer, and controls based on the pointer control information (804, 809). With this configuration, the image processing unit 105 can calculate the read address of the bitmap data 208 from the memory 210 from the line pointer. Similarly, the write address of the print data 211 to the memory 212 can be calculated from the line pointer.

本実施形態では、メモリ210の必要メモリ容量を削減することはできないが、メモリ帯域およびレンダリング処理および画像処理の高速化については、実施形態1と同様の効果を得ることができる。   In the present embodiment, the required memory capacity of the memory 210 cannot be reduced, but the same effect as in the first embodiment can be obtained with respect to the memory bandwidth and the speedup of the rendering process and the image process.

[その他の実施例]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Examples]
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100・・画像処理装置
105・・画像処理部
203・・ビットマップデータ
206・・制御情報生成部
207・・RIP部
210・・メモリ
211・・印刷データ
212・・メモリ
DESCRIPTION OF SYMBOLS 100 ... Image processing apparatus 105 ... Image processing part 203 ... Bitmap data 206 ... Control information generation part 207 ... RIP part 210 ... Memory 211 ... Print data 212 ... Memory

Claims (10)

PDLで記述された入力画像をバンド単位でレンダリング処理してビットマップデータを生成するRIP手段と、
生成された前記ビットマップデータに対し前記バンド単位で所定の画像処理を施して印刷データを生成する画像処理手段を有し、
前記RIP手段は、
前記レンダリング処理の際に、前記PDLを解釈して得られた中間データに基づいて、前記入力画像に含まれる主走査方向に白画素のみで構成される白ラインを検出する白ライン検出手段と、
検出された前記白ラインが削除された前記ビットマップデータをメモリに格納する格納手段と、
検出された前記白ラインの構成を前記バンド単位で示す制御情報を生成する制御情報生成手段とを備え、
前記画像処理手段は、
前記制御情報から、前記白ラインが削除された前記ビットマップデータの読み出し開始位置および読み出し終了位置を、前記バンド単位で算出する第1の算出手段を備え、
前記白ラインが削除された前記ビットマップデータのうち前記バンド単位で算出された前記読み出し開始位置から前記読み出し終了位置までの範囲を、前記メモリから読み出し、所定の画像処理を施して前記印刷データを生成すること
を特徴とする画像処理装置。
RIP means for generating bitmap data by rendering an input image described in PDL in band units;
Image processing means for generating print data by applying predetermined image processing in units of bands to the generated bitmap data;
The RIP means includes
A white line detection unit configured to detect a white line including only white pixels in the main scanning direction included in the input image based on intermediate data obtained by interpreting the PDL during the rendering process;
Storage means for storing in the memory the bitmap data from which the detected white line has been deleted;
Control information generating means for generating control information indicating the configuration of the detected white line in band units,
The image processing means includes
From the control information, comprising: a first calculation means for calculating a read start position and a read end position of the bitmap data from which the white line has been deleted in units of bands;
A range from the read start position to the read end position calculated for each band in the bitmap data from which the white line has been deleted is read from the memory, and the print data is subjected to predetermined image processing. An image processing apparatus characterized by generating.
前記制御情報は、
前記メモリのアドレスを示す読み出しポインタを制御するポインタ制御情報であること
を特徴とする請求項1に記載の画像処理装置。
The control information is
The image processing apparatus according to claim 1, wherein the image processing apparatus is pointer control information for controlling a read pointer indicating an address of the memory.
前記画像処理手段は、
前記制御情報から、生成された前記印刷データの書き込み開始位置および書き込み終了位置を、前記バンド単位で算出する第2の算出手段を備え、
生成された前記印刷データのうち前記バンド単位で算出された前記書き込み開始位置から前記書き込み終了位置までの範囲を、前記メモリに書き込むこと
を特徴とする請求項1または2に記載の画像処理装置。
The image processing means includes
A second calculating unit that calculates a writing start position and a writing end position of the generated print data from the control information in units of bands;
3. The image processing apparatus according to claim 1, wherein a range from the writing start position to the writing end position calculated for each band in the generated print data is written to the memory.
前記制御情報は、
前記メモリのアドレスを示す書き込みポインタを制御するポインタ制御情報であること
を特徴とする請求項3に記載の画像処理装置。
The control information is
The image processing apparatus according to claim 3, wherein the image processing apparatus is pointer control information for controlling a write pointer indicating an address of the memory.
前記入力画像の前記PDLを解釈して前記中間データを生成する中間データ生成手段をさらに備え、
前記中間データ生成手段は、
生成された前記中間データから、前記入力画像に含まれる白画素のみで構成される白タイルを検出する白タイル検出手段を備え、
前記RIP部は、
前記レンダリング処理の際に、生成された前記中間データから、前記入力画像に含まれる白画素を、前記バンド単位で検出する白画素検出手段を備え、
前記白ライン検出手段は、
検出された前記白タイルと、検出された前記バンド単位の白画素とに基づいて、前記白ラインを検出すること
を特徴とする請求項1から4のいずれか1項に記載の画像処理装置。
Intermediate data generating means for interpreting the PDL of the input image and generating the intermediate data;
The intermediate data generation means includes
From the generated intermediate data, comprising a white tile detection means for detecting a white tile composed only of white pixels included in the input image,
The RIP part
A white pixel detection unit configured to detect, in the band unit, white pixels included in the input image from the generated intermediate data in the rendering process;
The white line detecting means includes
5. The image processing apparatus according to claim 1, wherein the white line is detected based on the detected white tile and the detected white pixel in a band unit. 6.
複数の前記バンド単位の前記印刷データが1ページ分の前記印刷データを構成し、
次ページの前記印刷データが前記メモリに書き込まれる前に、前記メモリを初期化する初期化手段をさらに備えたこと
を特徴とする請求項1から5のいずれか1項に記載の画像処理装置。
A plurality of the band-unit print data constitutes one page of the print data,
The image processing apparatus according to claim 1, further comprising an initialization unit that initializes the memory before the print data of the next page is written to the memory.
前記所定の画像処理は、前記ビットマップデータに対するフィルタ処理であり、
前記制御情報に基づいて、前記バンドにおける入力開始ラインに隣接するラインが白ラインかを判定する判定手段と、
前記入力開始ラインに隣接するラインが白ラインと判定された場合、前記バンド単位の前記ビットマップデータと、前記フィルタ処理に用いられる複数画素からなるフィルタと、が重畳しない領域に白画素を適用するフィルタ処理を行うフィルタ処理手段とをさらに備えること
を特徴とする請求項1から6のいずれか1項に記載の画像処理装置。
The predetermined image processing is a filtering process on the bitmap data;
Based on the control information, determination means for determining whether a line adjacent to the input start line in the band is a white line;
When a line adjacent to the input start line is determined to be a white line, a white pixel is applied to a region where the bitmap data in the band unit and a filter composed of a plurality of pixels used for the filtering process are not overlapped. The image processing apparatus according to claim 1, further comprising: a filter processing unit that performs a filter process.
PDLで記述された入力画像をバンド単位でレンダリング処理してビットマップデータを生成するRIP手段と、
生成された前記ビットマップデータに対し前記バンド単位で所定の画像処理を施して印刷データを生成する画像処理手段を有し、
前記RIP手段は、
前記レンダリング処理の際に、前記PDLを解釈して得られた中間データに基づいて、前記入力画像に含まれる主走査方向に白画素のみで構成される白ラインを検出する白ライン検出手段と、
前記レンダリング処理の際に、前記PDLを解釈して得られた中間データに基づいて、前記入力画像に含まれる主走査方向に描画対象の画素が含まれる描画ラインを検出する描画ライン検出手段と、
検出された前記白ラインが削除された前記ビットマップデータをメモリに格納する格納手段と、
検出された前記描画ラインの構成を前記バンド単位で示す第1の制御情報と、検出された前記白ラインの構成を前記バンド単位で示す第2の制御情報と、を生成する制御情報生成手段とを備え、
前記画像処理手段は、
前記第1の制御情報から、前記白ラインが削除された前記ビットマップデータの読み出し開始位置および読み出し終了位置を、前記バンド単位で算出する第1の算出手段を備え、
前記第2の制御情報から、生成された前記印刷データの書き込み開始位置および書き込み終了位置を、前記バンド単位で算出する第2の算出手段を備え、
前記白ラインが削除された前記ビットマップデータのうち前記バンド単位で算出された前記読み出し開始位置から前記読み出し終了位置までの範囲を、前記メモリから読み出し、所定の画像処理を施して前記印刷データを生成し、
生成された前記印刷データのうち前記バンド単位で算出された前記書き込み開始位置から前記書き込み終了位置までの範囲を、前記メモリに書き込むこと
を特徴とする画像処理装置。
RIP means for generating bitmap data by rendering an input image described in PDL in band units;
Image processing means for generating print data by applying predetermined image processing in units of bands to the generated bitmap data;
The RIP means includes
A white line detection unit configured to detect a white line including only white pixels in the main scanning direction included in the input image based on intermediate data obtained by interpreting the PDL during the rendering process;
A drawing line detection means for detecting a drawing line including a pixel to be drawn in a main scanning direction included in the input image based on intermediate data obtained by interpreting the PDL in the rendering process;
Storage means for storing in the memory the bitmap data from which the detected white line has been deleted;
Control information generating means for generating first control information indicating the configuration of the detected drawing line in units of bands and second control information indicating the configuration of the detected white line in units of bands; With
The image processing means includes
A first calculation unit that calculates a read start position and a read end position of the bitmap data from which the white line has been deleted from the first control information in units of bands;
A second calculation unit that calculates a write start position and a write end position of the generated print data from the second control information in units of the band;
A range from the read start position to the read end position calculated for each band in the bitmap data from which the white line has been deleted is read from the memory, and the print data is subjected to predetermined image processing. Generate
The image processing apparatus, wherein a range from the write start position to the write end position calculated in units of bands among the generated print data is written to the memory.
PDLで記述された入力画像をバンド単位でレンダリング処理してビットマップデータを生成するRIPステップと、
生成された前記ビットマップデータに対し前記バンド単位で所定の画像処理を施して印刷データを生成する画像処理ステップを有し、
前記RIPステップは、
前記レンダリング処理の際に、前記PDLを解釈して得られた中間データに基づいて、前記入力画像に含まれる主走査方向に白画素のみで構成される白ラインを検出する白ライン検出ステップと、
検出された前記白ラインが削除された前記ビットマップデータをメモリに格納する格納ステップと、
検出された前記白ラインの構成を前記バンド単位で示す制御情報を生成する制御情報生成ステップとを備え、
前記画像処理ステップは、
前記制御情報から、前記白ラインが削除されたビットマップデータの読み出し開始位置および読み出し終了位置を、前記バンド単位で算出する第1の算出ステップを備え、
前記画像処理ステップによって、前記白ラインが削除された前記ビットマップデータのうち前記バンド単位で算出された前記読み出し開始位置から前記読み出し終了位置までの範囲が、前記メモリから読み出され、所定の画像処理が施されて前記印刷データが生成されること
を特徴とする画像処理方法。
A RIP step of rendering input data described in PDL in band units to generate bitmap data;
An image processing step for generating print data by performing predetermined image processing in units of the band on the generated bitmap data;
The RIP step includes
A white line detection step of detecting a white line composed of only white pixels in the main scanning direction included in the input image based on intermediate data obtained by interpreting the PDL during the rendering process;
A storage step of storing in the memory the bitmap data from which the detected white line has been deleted;
A control information generating step for generating control information indicating the configuration of the detected white line in band units,
The image processing step includes
A first calculation step of calculating, from the control information, a read start position and a read end position of the bitmap data from which the white line has been deleted, in the band unit;
In the image processing step, a range from the read start position to the read end position calculated in units of the band in the bitmap data from which the white line has been deleted is read from the memory, and a predetermined image is read. An image processing method, wherein the print data is generated by processing.
コンピュータを、請求項1乃至請求項8のいずれか1項に記載の画像処理装置として機能させるためのプログラム。   A program for causing a computer to function as the image processing apparatus according to any one of claims 1 to 8.
JP2015155198A 2015-08-05 2015-08-05 Image processing system, image processing method and program Pending JP2017034597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015155198A JP2017034597A (en) 2015-08-05 2015-08-05 Image processing system, image processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015155198A JP2017034597A (en) 2015-08-05 2015-08-05 Image processing system, image processing method and program

Publications (1)

Publication Number Publication Date
JP2017034597A true JP2017034597A (en) 2017-02-09

Family

ID=57989062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015155198A Pending JP2017034597A (en) 2015-08-05 2015-08-05 Image processing system, image processing method and program

Country Status (1)

Country Link
JP (1) JP2017034597A (en)

Similar Documents

Publication Publication Date Title
JP4393076B2 (en) Image processing method and apparatus
US8553269B2 (en) Image forming apparatus and computer-readable recording medium storing image forming program for allowing storage section to store repeating use instruction information for repeatedly using band data
JP2007083523A (en) Printer and method for controlling the same
JP6445899B2 (en) Image forming apparatus and control method thereof
JP5675445B2 (en) Information processing apparatus, information processing apparatus control method, and computer program
US7145669B2 (en) Partially pre-rasterizing image data
JP6447564B2 (en) Image forming apparatus, program, and information processing system
JP5099594B2 (en) Image processing apparatus, image processing system, and image processing program
US8928914B2 (en) Image processing apparatus, information processing method, and storage medium
JPH09234910A (en) Image processing system and method
EP2546783B1 (en) Recovery from an out-of-storage condition at a raster data spool.
JP2017034597A (en) Image processing system, image processing method and program
WO2016051703A1 (en) Image processing apparatus, image processing method, and storage medium
JP6226604B2 (en) Apparatus, method, and program for generating display list
JP5820159B2 (en) Image processing apparatus and image processing method
US20170300789A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
JP2981400B2 (en) Printing apparatus and data processing method for printing apparatus
JP4470453B2 (en) Image processing apparatus, image forming apparatus, and program
JP2006215918A (en) Image processing device and method
JP2001146049A (en) Printer system, drawing processing method using the same and recording medium having program performing drawing processing recorded thereon
JP2002036637A (en) Image processor
JP2003039747A (en) Image forming apparatus and method of controlling the same
CN113452867A (en) Data erasing method, host, image forming apparatus, image forming system, and storage medium
JP2019142104A (en) Image formation apparatus
JP6078954B2 (en) Image processing device