JP5776224B2 - Image processing apparatus, fluid ejection apparatus, image processing method and program thereof - Google Patents
Image processing apparatus, fluid ejection apparatus, image processing method and program thereof Download PDFInfo
- Publication number
- JP5776224B2 JP5776224B2 JP2011045497A JP2011045497A JP5776224B2 JP 5776224 B2 JP5776224 B2 JP 5776224B2 JP 2011045497 A JP2011045497 A JP 2011045497A JP 2011045497 A JP2011045497 A JP 2011045497A JP 5776224 B2 JP5776224 B2 JP 5776224B2
- Authority
- JP
- Japan
- Prior art keywords
- pixel
- data
- pixels
- conversion
- unit
- 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.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 title claims description 193
- 239000012530 fluid Substances 0.000 title claims description 40
- 238000003672 processing method Methods 0.000 title claims description 14
- 238000006243 chemical reaction Methods 0.000 claims description 203
- 238000003860 storage Methods 0.000 claims description 47
- 238000000034 method Methods 0.000 description 139
- 238000012937 correction Methods 0.000 description 97
- 230000006870 function Effects 0.000 description 18
- 238000007639 printing Methods 0.000 description 15
- 238000012935 Averaging Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 13
- 238000003708 edge detection Methods 0.000 description 13
- 239000002609 medium Substances 0.000 description 11
- 230000015572 biosynthetic process Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 239000007788 liquid Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000002904 solvent Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000009792 diffusion process Methods 0.000 description 1
- 238000010017 direct printing Methods 0.000 description 1
- 239000002612 dispersion medium Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Images
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Record Information Processing For Printing (AREA)
- Color, Gradation (AREA)
- Image Processing (AREA)
Description
本発明は、画像処理装置、流体吐出装置、画像処理方法及びそのプログラムに関する。 The present invention relates to an image processing device, a fluid ejection device, an image processing method, and a program thereof.
従来、画像処理装置としては、白ラインデータを記録部へ転送するときに、すべての連続する白ラインの伸長処理が終了した時点で転送する第1の転送処理と、すべての連続する白ラインの伸長処理を待たずに複数ラインごとに記録部へ順次転送する第2の転送処理とを画像の圧縮方式の違いのよって切替制御することにより、見かけ上の印字処理を高速化するものが提案されている(例えば、特許文献1参照)。 Conventionally, as an image processing apparatus, when transferring white line data to a recording unit, a first transfer process that is transferred when all the continuous white line expansion processes are completed, and all of the continuous white lines are transferred. It has been proposed to speed up the apparent printing process by switching the second transfer process that sequentially transfers to the recording unit for each plurality of lines without waiting for the expansion process depending on the difference in the image compression method. (For example, refer to Patent Document 1).
しかしながら、この特許文献1の装置では、白ラインが連続するときはラインスキップを1ラインごと、記録部に転送せず、有効画素が含まれるラインが見つかるか、画像の終端を見つけるまで伸長処理を続行し、連続する白ライン数が確定したら一括して白ライン数を指定してラインスキップを転送することにより、見かけ上の印字処理を高速化するものであるが、まだ十分でなく、さらなる処理高速化を図ることが求められていた。
However, in the apparatus of
本発明は、このような課題に鑑みなされたものであり、データ変換処理の高速化をより図ることができる画像処理装置、流体吐出装置、画像処理方法及びそのプログラムを提供することを主目的とする。 The present invention has been made in view of such problems, and has as its main object to provide an image processing device, a fluid ejection device, an image processing method, and a program thereof that can further increase the speed of data conversion processing. To do.
本発明は、上述の主目的を達成するために以下の手段を採った。 The present invention adopts the following means in order to achieve the main object described above.
本発明の画像処理装置は、
データを記憶する記憶手段と、
画像データに含まれる画素行の連続する有色画素と連続する白色画素との境の画素及びすべて白色画素である画素行の最前の画素に所定の無効情報を対応付けた無効情報設定済画像データを生成するデータ生成手段と、
前記無効情報設定済画像データから前記画素行ごとに前記画素を取得し、該取得した画素値を流体を媒体上へ吐出する流体吐出装置が利用する流体吐出データの画素値へ変換する一方、前記取得した画素に前記無効情報が対応付けられているときには該無効情報が対応付けられている画素に隣接した連続する白色画素の画素値の前記変換を省略するデータ取得変換手段と、
前記変換後の流体吐出データの画素値を前記記憶手段へ記憶させる記憶処理手段と、
を備えたものである。
The image processing apparatus of the present invention
Storage means for storing data;
Invalid information-set image data in which predetermined invalid information is associated with pixels at the boundary between continuous colored pixels and continuous white pixels included in the image data and the first pixel of the pixel row that is all white pixels Data generation means for generating;
While acquiring the pixel for each pixel row from the invalid information set image data, and converting the acquired pixel value into a pixel value of fluid ejection data used by a fluid ejection device that ejects fluid onto a medium, Data acquisition and conversion means for omitting the conversion of pixel values of continuous white pixels adjacent to pixels associated with the invalid information when the invalid information is associated with the acquired pixels;
Storage processing means for storing the pixel value of the fluid ejection data after conversion in the storage means;
It is equipped with.
この画像処理装置では、画像データに含まれる画素行の連続する有色画素と連続する白色画素との境の画素及びすべて白色画素である画素行の最前の画素に所定の無効情報を対応付けた無効情報設定済画像データを生成する。次に、無効情報設定済画像データから画素行ごとに画素を取得し、この取得した画素値を流体吐出データの画素値へ変換する一方、取得した画素に無効情報が対応付けられているときには、この無効情報が対応付けられている画素に隣接した連続する白色画素の画素値の変換を省略する。そして、変換後の流体吐出データの画素値を記憶手段へ記憶させる。このように、白色の画素行に加えて有色画素を含む画素行についてもデータ変換処理を省略するのである。したがって、データ変換処理の高速化をより図ることができる。ここで、「所定の無効情報」は、例えば所定のフラグ値としてもよい。また、「有色画素」とは、有彩色の画素としてもよいし、無彩色の画素としてもよいし、白色や無色、透明色を除く画素としてもよい。「白色画素」とは、白色画素のほか、無色の画素、透明色の画素を含むものとしてもよい。また、「有色画素と白色画素との境の画素」は、有色画素と白色画素との切り替わり位置を判定可能であれば特に限定されず、例えば、白色画素に隣接する有色画素としてもよいし、有色画素に隣接する白色画素としてもよい。即ち、「有色画素と白色画素との境の画素」は、該境に位置する有色画素及び該境に位置する白色画素のうち少なくとも一方としてもよい。 In this image processing apparatus, invalidity in which predetermined invalid information is associated with a pixel at a boundary between a continuous colored pixel and a continuous white pixel in a pixel row included in image data and a frontmost pixel in a pixel row that is all white pixels. Information set image data is generated. Next, a pixel is acquired for each pixel row from the invalid information set image data, and the acquired pixel value is converted into the pixel value of the fluid ejection data, while invalid information is associated with the acquired pixel, The conversion of the pixel value of the continuous white pixel adjacent to the pixel associated with the invalid information is omitted. Then, the pixel value of the converted fluid ejection data is stored in the storage means. Thus, data conversion processing is omitted for pixel rows including colored pixels in addition to white pixel rows. Therefore, the speed of the data conversion process can be further increased. Here, the “predetermined invalid information” may be a predetermined flag value, for example. Further, the “colored pixel” may be a chromatic pixel, an achromatic pixel, or a pixel excluding white, colorless, or transparent color. The “white pixel” may include a white pixel, a colorless pixel, and a transparent pixel. Further, the “pixel at the boundary between the colored pixel and the white pixel” is not particularly limited as long as the switching position between the colored pixel and the white pixel can be determined, and may be, for example, a colored pixel adjacent to the white pixel, It is good also as a white pixel adjacent to a colored pixel. That is, the “pixel at the boundary between the colored pixel and the white pixel” may be at least one of the colored pixel positioned at the boundary and the white pixel positioned at the boundary.
本発明の画像処理装置において、前記データ取得変換手段は、前記無効情報設定済画像データから前記画素行ごとに前記画素を取得する画素値取得手段と、前記画素値取得手段から出力された前記画素値を前記流体吐出データの画素値へ変換する変換手段と、を備えており、前記データ取得変換手段は、前記取得した画素値を前記変換手段へ前記画素値取得手段が出力する一方、前記取得した画素に前記無効情報が対応付けられているときには該無効情報が対応付けられている画素に隣接した連続する白色画素の画素値の前記変換手段への出力を前記画素値取得手段が省略することによって、前記白色画素の画素値の前記変換を省略するものとしてもよい。こうすれば、画素値の出力を省略することにより変換処理を省略することができるため、より一層処理の簡素化を図りつつ、データ変換処理の高速化を図ることができる。 In the image processing apparatus of the present invention, the data acquisition conversion unit includes a pixel value acquisition unit that acquires the pixel for each pixel row from the invalid information-set image data, and the pixel output from the pixel value acquisition unit. Conversion means for converting values into pixel values of the fluid ejection data, wherein the data acquisition conversion means outputs the acquired pixel values to the conversion means while the pixel value acquisition means outputs the acquisition When the invalid information is associated with the invalid pixel, the pixel value acquisition unit omits the output of the pixel value of the continuous white pixel adjacent to the pixel associated with the invalid information to the conversion unit. Thus, the conversion of the pixel value of the white pixel may be omitted. By doing so, the conversion process can be omitted by omitting the output of the pixel value, so that the data conversion process can be speeded up while further simplifying the process.
本発明の画像処理装置において、前記データ生成手段は、前記画像データに含まれる画素行の最後尾の有色画素と白色画素との境の画素に所定の無効情報を対応付けた無効情報設定済画像データを生成し、前記データ取得変換手段は、前記取得した画素に前記無効情報が対応付けられているときには該無効情報が対応付けられている画素よりあとの前記画素行の画素値の変換を省略するものとしてもよい。こうすれば、画素行の最後尾の有色画素よりあとの白色画素に対してデータ変換処理を省略し、データ変換処理の高速化をより図ることができる。 In the image processing apparatus of the present invention, the data generation means includes an invalid information set image in which predetermined invalid information is associated with a pixel at a boundary between the last colored pixel and a white pixel of a pixel row included in the image data. When the invalid information is associated with the acquired pixel, the data acquisition / conversion unit omits conversion of the pixel value of the pixel row after the pixel associated with the invalid information. It is good also as what to do. By doing so, the data conversion process can be omitted for the white pixel after the last colored pixel in the pixel row, and the data conversion process can be further speeded up.
本発明の画像処理装置において、前記記憶処理手段は、前記データ取得変換手段が変換を省略した画素の数を取得し、該取得した画素数の空白画素を前記画素行の画素として前記記憶手段へ記憶させるものとしてもよい。こうすれば、変換を省略した白色画素を比較的容易に流体吐出データへ加えることができ、データ変換処理の高速化をより図りやすい。ここで、「空白画素」には、無色の画素のほか、透明色の画素、白色の画素を含むものとしてもよい。 In the image processing apparatus according to the aspect of the invention, the storage processing unit acquires the number of pixels from which the data acquisition conversion unit has omitted conversion, and uses the acquired number of blank pixels as pixels of the pixel row to the storage unit. It may be memorized. By so doing, it is possible to add white pixels that have not been converted to the fluid ejection data relatively easily, and it is easier to speed up the data conversion process. Here, the “blank pixel” may include a transparent pixel and a white pixel in addition to a colorless pixel.
本発明の画像処理装置において、前記データ生成手段は、前記画像データに含まれる画素行の白色画素と最前の有色画素との境の画素に前記無効情報を対応付けた無効情報設定済画像データを生成し、前記データ取得変換手段は、前記無効情報設定済画像データの前記画素行の先頭画素から前記無効情報が対応付けられた画素を取得するまでは前記画素行の画素値の変換を省略するものとしてもよい。こうすれば、先頭画素から無効情報が対応付けられた画素までの白色画素に対してデータ変換処理を省略し、データ変換処理の高速化をより図ることができる。 In the image processing device according to the aspect of the invention, the data generation unit may include invalid information-set image data in which the invalid information is associated with a pixel at a boundary between a white pixel in a pixel row and a previous colored pixel included in the image data. The data acquisition conversion unit generates and omits conversion of the pixel value of the pixel row until the pixel associated with the invalid information is acquired from the first pixel of the pixel row of the invalid information-set image data. It may be a thing. In this way, data conversion processing can be omitted for white pixels from the first pixel to pixels associated with invalid information, and the data conversion processing can be further speeded up.
本発明の画像処理装置において、前記データ生成手段は、前記画像データに含まれる画素行の最前の有色画素と最後尾の有色画素との間に存在する、有色画素と白色画素との境の画素及び白色画素と有色画素との境の画素に前記無効情報を対応付けた無効情報設定済画像データを生成し、前記データ取得変換手段は、前記最前の有色画素と前記最後尾の有色画素との間に存在する、前記無効情報が対応付けられた画素を取得したあとは、次の前記無効情報が対応付けられた画素を取得するまで前記画素行の画素値の変換を省略するものとしてもよい。こうすれば、画素行の最前の有色画素と最後尾の有色画素との間に存在する白色画素に対してデータ変換処理を省略し、データ変換処理の高速化をより図ることができる。 In the image processing apparatus according to the aspect of the invention, the data generation unit may be a pixel at a boundary between the colored pixel and the white pixel that exists between the foremost colored pixel and the last colored pixel of the pixel row included in the image data. And invalid information-set image data in which the invalid information is associated with the pixel at the boundary between the white pixel and the color pixel, and the data acquisition conversion unit is configured to generate the first color pixel and the last color pixel. After obtaining the pixel associated with the invalid information existing in between, the conversion of the pixel value of the pixel row may be omitted until the next pixel associated with the invalid information is obtained. . In this way, the data conversion process can be omitted for the white pixel existing between the foremost color pixel and the last color pixel in the pixel row, and the data conversion process can be further speeded up.
最前の有色画素又は、最前の有色画素と最後尾の有色画素との間に存在する画素に無効情報を対応付ける態様の本発明の画像処理装置において、前記データ取得変換手段は、前記画素行の画素値の変換を省略した画素の数をカウントし、前記記憶処理手段は、前記カウントした画素数を取得し、前記カウントした画素数の空白画素を前記画素行の画素として前記記憶手段へ記憶させるものとしてもよい。こうすれば、変換を省略した白色画素を比較的容易に流体吐出データへ加えることができ、データ変換処理の高速化をより図りやすい。 In the image processing apparatus according to the aspect of the invention, the data acquisition conversion unit includes the pixels in the pixel row, wherein the invalid information is associated with the foremost colored pixel or the pixel existing between the foremost colored pixel and the last colored pixel. Counting the number of pixels from which value conversion has been omitted, the storage processing means acquires the counted number of pixels, and stores the blank pixels of the counted number of pixels as pixels in the pixel row in the storage means It is good. By so doing, it is possible to add white pixels that have not been converted to the fluid ejection data relatively easily, and it is easier to speed up the data conversion process.
本発明の画像処理装置において、前記データ生成手段は、第1形式の画像データから第2形式の画像データへ変換すると共に、前記境の画素に前記無効情報を対応付けて前記無効情報設定済画像データを生成するものとしてもよい。こうすれば、画像データの形式変換に伴い無効情報を画素に対応付け可能であるため、比較的容易に画素に無効情報を対応付けることができる。ここで、「第1形式の画像データ」は、例えば画像読取装置で読み取られた読取画像データや、JPEG画像データなど圧縮画像データとしてもよい。また、第2形式の画像データは、例えばRGB画像データやPDF画像データなど表示画像データとしてもよい。また、「無効情報設定済画像データ」は、例えばxRGB画像データとしてもよい。 In the image processing apparatus of the present invention, the data generation means converts the first format image data to the second format image data, and associates the invalid information with the border pixels to set the invalid information set image. Data may be generated. In this way, invalid information can be associated with a pixel in accordance with the format conversion of the image data, so that invalid information can be associated with a pixel relatively easily. Here, the “first-format image data” may be, for example, read image data read by an image reading device or compressed image data such as JPEG image data. The image data in the second format may be display image data such as RGB image data or PDF image data. The “invalid information set image data” may be, for example, xRGB image data.
本発明の画像処理装置において、前記記憶処理手段は、前記画素行の最後尾の画素値を前記記憶手段へ記憶させると共に、前記データ取得変換手段へ所定の無効終了情報を出力し、前記データ取得変換手段は、前記記憶処理手段から前記無効終了情報を取得したあと前記無効情報設定済画像データから次の前記画素行の画素を取得するものとしてもよい。こうすれば、画素値の取得と変換処理後の画素値の出力との同期を容易にとることができ、データ変換処理の高速化をより図りやすい。 In the image processing apparatus of the present invention, the storage processing unit stores the last pixel value of the pixel row in the storage unit, outputs predetermined invalid end information to the data acquisition conversion unit, and acquires the data acquisition The conversion unit may acquire the pixels of the next pixel row from the invalid information-set image data after acquiring the invalid end information from the storage processing unit. In this way, it is possible to easily synchronize the acquisition of the pixel value and the output of the pixel value after the conversion process, and it is easier to increase the speed of the data conversion process.
本発明の流体吐出装置は、上述したいずれか1つに記載の画像処理装置と、前記画像処理装置からの前記流体吐出データに基づいて流体を媒体上へ吐出する吐出部と、を備えたものである。流体吐出装置で画像データの変換や流体吐出データへの変換を行う際には、有色画素と白色画素との区別をつけずにデータ変換処理を行うことがあり、このデータ変換の高速化を図ることができる。 A fluid ejection device according to the present invention includes the image processing device according to any one of the above and a ejection unit that ejects a fluid onto a medium based on the fluid ejection data from the image processing device. It is. When image data conversion or fluid discharge data conversion is performed by the fluid discharge device, data conversion processing may be performed without distinguishing between colored pixels and white pixels, and this data conversion is speeded up. be able to.
本発明の画像処理方法は、
データを記憶する記憶手段、を備えた画像処理装置が実行する画像処理方法であって、
(a)画像データに含まれる画素行の連続する有色画素と連続する白色画素との境の画素及びすべて白色画素である画素行の最前の画素に所定の無効情報を対応付けた無効情報設定済画像データを生成するステップと、
(b)前記無効情報設定済画像データから前記画素行ごとに前記画素を取得し、該取得した画素値を流体を媒体上へ吐出する流体吐出装置が利用する流体吐出データの画素値へ変換する一方、前記取得した画素に前記無効情報が対応付けられているときには該無効情報が対応付けられている画素に隣接した連続する白色画素の画素値の前記変換を省略するステップと、
(c)前記変換後の流体吐出データの画素値を前記記憶手段へ記憶させるステップと、
を含むものである。
The image processing method of the present invention includes:
An image processing method executed by an image processing apparatus provided with storage means for storing data,
(A) Invalid information set in which predetermined invalid information is associated with a pixel at the boundary between a continuous colored pixel and a continuous white pixel in the pixel row included in the image data and the first pixel in the pixel row that is all white pixels Generating image data; and
(B) Acquiring the pixels for each pixel row from the invalid information-set image data, and converting the acquired pixel values into pixel values of fluid ejection data used by a fluid ejection device that ejects fluid onto a medium. On the other hand, when the invalid information is associated with the acquired pixel, omitting the conversion of the pixel values of consecutive white pixels adjacent to the pixel associated with the invalid information;
(C) storing the pixel value of the fluid ejection data after conversion in the storage means;
Is included.
この画像処理方法では、上述した画像処理装置と同様に、白色の画素行に加えて有色画素を含む画素行についてもデータ変換処理を省略するため、データ変換処理の高速化をより図ることができる。なお、この画像処理方法において、上述した画像処理装置の種々の態様を採用してもよいし、また、上述した画像処理装置の各機能を実現するようなステップを追加してもよい。 In this image processing method, as in the above-described image processing apparatus, data conversion processing is omitted for pixel rows including colored pixels in addition to white pixel rows, so that the speed of the data conversion processing can be further increased. . In this image processing method, various aspects of the above-described image processing apparatus may be adopted, and steps for realizing each function of the above-described image processing apparatus may be added.
本発明のプログラムは、上述した画像処理方法の各ステップを1以上のコンピューターに実現させるためのものである。このプログラムは、コンピューターが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピューターから別のコンピューターへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピューターに実行させるか又は複数のコンピューターに各ステップを分担して実行させれば、上述した画像処理方法の各ステップが実行されるため、該制御方法と同様の作用効果が得られる。 The program of the present invention is for causing one or more computers to realize each step of the above-described image processing method. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.) or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by a single computer or if each step is shared and executed by a plurality of computers, each step of the above-described image processing method is executed, so that the same effect as the control method can be obtained. It is done.
次に、本発明の実施の形態を図面を用いて説明する。図1は、本実施形態であるプリンターシステム10の構成の概略の一例を示す構成図である。図2は、画像変換部56の構成の概略の一例を示す構成図である。図3は、画像処理部60の構成の概略の一例を示す構成図である。本実施形態のプリンターシステム10は、図1に示すように、プリンター20へデータ通信可能に接続され画像データを出力するパソコン(PC)11と、媒体としての記録紙Sに流体としてのインクを吐出して印刷対象である画像データの印刷処理を行うプリンター20と、を備えている。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram illustrating an example of a schematic configuration of a printer system 10 according to the present embodiment. FIG. 2 is a configuration diagram illustrating an example of a schematic configuration of the
PC11は、ユーザーが使用する情報処理装置として構成されたパソコンである。このPC11は、装置全体の制御を司るコントローラーと、各種アプリケーションプログラムや各種データファイルを記憶する大容量メモリであるHDD15と、プリンター20などの外部機器とのデータの入出力を行う図示しないネットワークインターフェイス(I/F)とを備えている。コントローラーは、各種制御を実行するCPU12や各種制御プログラムを記憶するフラッシュROM13、データを一時記憶するRAM14などを備えている。また、PC11は、ユーザーが各種指令を入力するキーボード及びマウス等の入力装置17や、各種情報を表示するディスプレイ18などを備えている。このPC11は、ディスプレイ18に表示されたカーソル等をユーザーが入力装置17を介して入力操作するとその入力操作に応じた動作を実行する機能を有している。
The
プリンター20は、印刷処理を実行するプリンター部30と、原稿の読み取り処理を実行するスキャナー部33と、メモリーカードMCとのデータのやりとりを行うメモリーカードコントローラー36と、装置全体をコントロールするメインコントローラー50と、を備えている。プリンター部30は、プリンターASIC31と印刷機構32とを備えている。プリンターASIC31は、印刷機構32を駆動制御する機能を備えたICチップである。印刷機構32は、ベルト37によりキャリッジ軸48に沿って左右(主走査方向)に往復動するキャリッジ41と、インクに圧力をかけノズル42からインク滴を吐出する印刷ヘッド44と、各色のインクを収容しこの収容したインクを印刷ヘッド44へ供給するカートリッジ45と、駆動モーター38により駆動され記録紙Sを搬送する紙送りローラー39とを備えている。印刷ヘッド44は、キャリッジ41の下部に設けられており、圧電素子に電圧をかけることによりこの圧電素子を変形させてインクを加圧する方式により、印刷ヘッド44の下面に設けられたノズル42から各色のインクを吐出するものである。なお、インクへ圧力をかける機構は、ヒーターの熱による気泡の発生によるものとしてもよい。カートリッジ45は、本体側に装着され、シアン(C)・マゼンタ(M)・イエロー(Y)・ブラック(K)などの各色のインクを個別に収容しており、図示しないチューブを介して印刷ヘッド44へインクを供給する。
The
スキャナー部33は、スキャナーASIC34と読取機構35とを備えている。スキャナーASIC34は、読取機構35を駆動制御する機能を備えたICチップである。読取機構35は、図示しないが、いわゆるフラットベッド型であり、画像を読み取る原稿載せるガラス面と、このガラス面を介して原稿を光学的に読み取るラインイメージセンサと、ラインイメージセンサを走査させる移動部とを備えている。このラインイメージセンサは、原稿に向かって発光した後の反射光をレッド(R)、グリーン(G)、ブルー(B)の各色に分解してスキャンデータとする周知のカラーイメージセンサである。
The
メインコントローラー50は、CPU52を中心とするマイクロプロセッサとして構成されており、各種処理プログラムを記憶しデータを書き換え可能なフラッシュROM53と、一時的にデータを記憶したりデータを保存したりするメインメモリとしてのRAM54と、PC11などの外部機器とのデータの入出力を行うI/F55と、JPEGデータやスキャンデータ、RGBデータなどの入力データから付記情報を含むxRGBデータへの変換を実行する画像変換部56と、画像データを印刷データへ変換する機能を有する画像処理部60と、を備えている。このメインコントローラー50は、PC11や、メモリーカードコントローラー36を介してメモリーカードMCなどから画像データを受信すると共に、印刷処理を実行するようプリンターASIC31へ指令を送信する。
The
画像変換部56は、図1,2に示すように、入力された画像データの変換処理を実行する変換処理ユニット57や、RGBデータの画素に付記情報としてのフラグを対応付けるフラグ付加ユニット58などを備えた回路として構成されている。変換処理ユニット57は、図2に示すように、JPEGデータなどの圧縮画像データを展開し、インテントデータ領域を有する表示可能なxRGBデータ70に変換したり、YUVデータなどのスキャンデータをxRGBデータ70に変換する機能を有する回路として構成されている。フラグ付加ユニット58は、詳しくは後述するが、xRGBデータ70に設けられた各画素のインテントデータ領域へ処理省略に関するNullフラグを対応付ける機能を有している。
As shown in FIGS. 1 and 2, the
画像処理部60は、図1,3に示すように、ライン取得ユニット61や、エッジ検出ユニット62、色空間変換ユニット63、濃度補正ユニット64、平均化ユニット65、ハーフトーンユニット66、記憶処理ユニット67、印刷データ出力ユニット68などを備えた回路として構成されている。ライン取得ユニット61は、例えば、RAM54に記憶されているxRGBデータ70(画像データ)の画素ラインに含まれる画素の画素値を取得し、後段のエッジ検出ユニット62へ出力する機能を有する回路により構成されている。また、ライン取得ユニット61は、画素に対応付けられているNullフラグに基づいて、エッジ検出ユニット62への画素値の出力を省略したり、出力を省略した画素の数(画素数)をカウントする機能を有している。エッジ検出ユニット62は、取得した画素ラインの画素値を用い、エッジ領域を検出する機能を有する回路により構成されている。色空間変換ユニット63は、図3に示すように、ルックアップテーブル(LUT)71を用い、RGB色空間の画像データをCMYK色空間の印刷データへ変換する機能を有する回路により構成されている。LUT71は、RGBの画素値とCMYKの画素値とを経験的に対応付けた対応関係情報として構成されている。濃度補正ユニット64は、図示しないテーブルを用い、印刷出力先の各ライン(ノズル列)ごとに最適な画素値となるよう画素値の補正を実行する機能を有している。
As shown in FIGS. 1 and 3, the
平均化ユニット65は、複数の画素値を平均化する機能を有する回路として構成されている。ハーフトーンユニット66は、カラーデータ(C,M,Y)の画素値にハーフトーン処理を施したり、黒データ(K)の画素値にハーフトーン処理を施したりする機能を有している。このハーフトーンユニット66は、ハーフトーン処理としてディザ処理を実行するよう構成されている。ディザ処理では、予め設定されたディザマトリックス(ハーフトーンテーブル)によって与えられる閾値と各画素の階調値との大小比較によって、ドットのオン/オフに2値化する処理を実行する。ここでは、ドット形成なし、小ドット形成、中ドット形成、大ドット形成の4種類のドット形成に関する閾値が吐出量閾値テーブル72として定められている。このハーフトーン処理により、ドットなし、小ドット、中ドット及び大ドットを形成するという、ドットの有無を表す印刷データへ画像データから画質をより高めつつ変換することができる。なお、ハーフトーン処理の具体的な内容については、特開2007−82090号公報や特開2007−76306号公報などに詳しく記載されているから、ここでの詳細な説明は省略する。また、ハーフトーン処理としてディザ処理を実行するものとしたが、特にこれに限定されず、例えば、誤差拡散法やその他のハーフトーン処理を実行するものとしてもよい。
The averaging
記憶処理ユニット67は、ハーフトーン処理され2値化されたデータ(印刷データ74)を、各々の色種別(C,M,Y,K)に応じてRAM54に設けられたバッファ領域に記憶させる機能を有している。この記憶処理ユニット67は、ライン取得ユニット61で出力が省略された画素の数を取得し、取得した画素の数の空白画素をRAM54へ記憶させて印刷データ74とする機能を有している。ここで、「空白画素」は、無色の画素とするが、白色の画素、透明の画素などとしても構わない。印刷データ出力ユニット68は、RAM54にバッファされた印刷データ74のうち、印刷ヘッド44で印刷処理する1パス分のデータを回転処理や間引き処理などを行いつつ取り出し、プリンター部30のプリンターASIC31へ出力する機能を有している。
The
また、図3に示すように、色空間変換ユニット63や、濃度補正ユニット64、平均化ユニット65、ハーフトーンユニット66は、それぞれパスユニット83〜86を備えている。このパスユニットは、パスユニットが接続されているメインユニットにデータが伝達するのと同期して、データが順次伝達する構成となっている。このパスユニット83〜86では、ライン取得ユニット61で取得された画素値(図3の実線矢印参照)やNullフラグの値(図3の点線矢印参照)を伝達する機能を有する。こうすれば、パスユニットを転送されている種々のデータを、対応するメインユニットに容易に取り込み可能であり、またメインユニットでの処理を省略可能であり、回路の拡張性をより高めることができる。また、取り扱うデータの容量が増加し、メインユニット間のバス幅が不足した場合にも、パスユニットを利用することでより多くのデータを扱うことが可能になる。
As shown in FIG. 3, the color
次に、こうして構成された本実施形態のプリンター20の動作、特に、PC11やメモリーカードMCから入力された画像データ(JPEGデータ)や、スキャナー部33からのスキャンデータ(YUVデータ)を、プリンター20が直接印刷する処理について説明する。このプリンター20では、PC11にインストールされた印刷ドライバーで印刷データを生成し、この印刷データをPC11から受信して印刷処理を実行するドライバー印刷モードのほか、JPEGデータなどの画像データを直接プリンター20で印刷処理する直接印刷モードを備えている。まず、画像変換部56でのxRGBデータ70の生成処理について説明する。図4は、プリンター20のCPU52が実行する、画像生成フラグ設定処理ルーチンの一例を示すフローチャートである。このルーチンは、図示しない画像選択画面で、印刷用の画像データを選択したあと、CPU52により画像変換部56を利用して実行される。
Next, the operation of the
このルーチンを開始すると、CPU52は、入力データ80をRAM54に記憶させる(ステップS100)。CPU52は、印刷用の画像データがユーザーによって選択されたのち、図2に示すように、スキャナー部33、メモリーカードコントローラー36及びI/F55を介して得られた画像データを入力データ80としてRAM54のバッファ領域に記憶する。次に、CPU52は、変換処理ユニット57により入力データ80を変換し、xRGBデータ70を生成する処理を実行する(ステップS110)。ここでは、入力データ80がJPEGデータであるときには、変換処理ユニット57のCODECによりこのJPEGデータからxRGBデータへの変換を実行し、入力データ80がスキャンデータ(YUVデータ)であるときには、このYUVデータからxRGBデータへの変換を実行する(図2参照)。また、入力データ80がRGBデータであるときには、RGBデータからxRGBデータへの変換を実行する。図5は、画像データとしてのxRGBデータ70の一例を示す説明図である。図5に示すように、xRGBデータ70は、RGB色空間の1画素であるR,G,Bの3バイトのデータの他に1バイトのインテントデータ領域が設けられており、このインテントデータ領域に、様々な情報、例えば、この画像データに関する情報や、処理省略に関するNullフラグなどを格納している。
When this routine is started, the
続いて、CPU52は、RGBデータに対して、画像の回転や2アップ配置などのレイアウト処理を実行すると共に、画素ライン(画素行)ごとにNullフラグのフラグ値を設定し(ステップS120)、このルーチンを終了する。Nullフラグは、後述する画像処理部60でのデータ変換補正処理の省略に関する情報であり、値「0」から値「1」へ切り替わると、画像処理部60での画像処理の実行と省略との切り替えを行うよう設定されている。この省略される画像処理部60のデータ変換補正処理には、例えば、エッジ検出ユニット62によるエッジ領域の検出処理、色空間変換ユニット63による色空間変換処理、濃度補正ユニット64による画素値の補正処理、平均化ユニット65による平均化処理、ハーフトーンユニット66によるハーフトーン処理などが含まれている。フラグ付加ユニット58は、xRGBデータ70に含まれる画素ラインの連続する有色画素と連続する白色画素との境の画素、及びすべて白色画素である画素ラインの最前の画素にNullフラグ値「1」を対応付けるものとした。ここで、「有色画素」には、有彩色の画素のほか、白色及び透明色以外の無彩色の画素をも含むものとする。また、「白色画素」には、白色画素のほか、無色の画素、透明色の画素をも含むものとする。このxRGBデータの生成処理時や、レイアウト処理時には、画像データに含まれるすべての画素値を把握することから、各画素に対してNullフラグのフラグ値を設定しやすい。なお、説明の便宜により、Nullフラグが値「1」に対応付けられた画素を「フラグ付き画素」や、「Nullフラグが対応付けられている画素」などと称して以下説明する。このNullフラグの設定方法や印刷データの生成について、場合分けして説明する。
Subsequently, the
[第1実施形態]
ここでは、xRGBデータ70に含まれる画素ラインの最後尾の有色画素と白色画素との境の有色画素にNullフラグ「1」を対応付けたフラグ付き画素を設定し、このフラグ付き画素よりあとの画素値に対する画像処理部60でのデータ変換補正処理を省略する場合について説明する。図6は、xRGBデータ70の画素行76の一例の説明図であり、図7は、印刷データ生成処理ルーチンの一例を示すフローチャートであり、図8は、データ変換処理の一例を示す説明図である。ここでは、図6上段に示すように、画像生成フラグ設定処理ルーチンのステップS120で、画素ライン76の有色画素の最後尾の画素、及び白色画素ラインの先頭画素をフラグ付き画素77に設定したxRGBデータ70を生成するものとした。なお、印刷データにおいては、xRGBデータ70での白色画素は、無色画素となることから、ここでは、白色画素データをNullデータとも称するものとする。
[First Embodiment]
Here, a flagged pixel in which the Null flag “1” is associated with the colored pixel at the boundary between the last colored pixel and the white pixel of the pixel line included in the
次に、xRGBデータ70から、プリンター20の印刷処理に用いる印刷データを生成する処理について説明する。上述したように、xRGBデータ70を生成すると、画像処理部60が、図7に示す印刷データ生成処理ルーチンを実行する。この印刷データ生成処理は、ライン取得ユニット61、エッジ検出ユニット62、色空間変換ユニット63、濃度補正ユニット64、平均化ユニット65、ハーフトーンユニット66、記憶処理ユニット67及び印刷データ出力ユニット68によって実行される。図6に示す印刷データ生成処理が実行されると、ライン取得ユニット61がxRGBデータ70から画素値を画素ラインごとに順次取得し(ステップS200)、取得した画素にNullフラグが対応付けられているか否かを判定する(ステップS210)。ライン取得ユニット61は、xRGBデータ70から画素値を取得すると共に、この画素に対応付けられたNullフラグ値も取得する。画素値の取得は、例えばxRGBデータ70の左端の画素から順に右端の画素に向かって行うものとした。また、Nullフラグが対応付けられているか否かの判定は、Nullフラグが値「1」か否かにより行うものとした。Nullフラグが対応付けられていないときには、ライン取得ユニット61は、取得した画素値を後段のエッジ検出ユニット62へ出力する(図3参照)。
Next, a process for generating print data used for the print process of the
続いて、ステップS220〜S270のデータ変換補正処理を実行する(ステップS400)。このデータ変換補正処理では、まず、エッジ検出ユニット62がxRGBデータ70に含まれるエッジを検出する処理などを実行する(ステップS220)。次に、色空間変換ユニット63が、LUT71を用い、この画素値をRGB色空間からCMYK色空間へ変換する(ステップS230)。次に、変換した画素値に対して濃度補正ユニット64がインク量補正を行う(ステップS240)。ノズル列は製造誤差に起因してその内径や圧電素子の変形度が異なることがあることから、この誤差を補正する補正テーブルを予め記憶しておき、濃度補正ユニット64は、この補正テーブルを用いてインクの吐出量を補正する処理を行う。ここでは、濃度補正ユニット64では、CMYK色空間の画素値としてCMYK色空間のインク吐出量を用いて補正処理するものとした。次に、平均化ユニット65が濃度補正した画素値の平均化を実行し(ステップS250)、続いて、ハーフトーンユニット66が、ハーフトーン処理を各画素に対して行う(ステップS260)。ハーフトーンユニット66は、吐出量閾値テーブル72を用いてインク吐出量の設定を行うと共に、ハーフトーンテーブル73を用いてディザ処理を実行する。そして、記憶処理ユニット67が、ハーフトーン処理を行った2値化データを印刷データ74としてRAM54へ記憶させる(ステップS270)。
Subsequently, the data conversion correction process of steps S220 to S270 is executed (step S400). In this data conversion correction process, first, the
次に、画素ラインの最後尾の画素に至ったか、即ちラインエンドであるか否かを判定し(ステップS280)、ラインエンドでないときには、ステップS200以降の処理を実行する。即ち、ステップS210でNullフラグありの判定になるまで、画素ラインの画素を取得し、ステップS400のデータ変換補正処理を繰り返し実行する。 Next, it is determined whether or not the pixel at the end of the pixel line has been reached, that is, whether or not the line end has been reached (step S280). That is, the pixels of the pixel line are acquired until it is determined in step S210 that the Null flag is present, and the data conversion correction process in step S400 is repeatedly executed.
一方、ステップS210で、取得した画素にNullフラグが対応付けられているときには、Nullフラグが対応付けられている画素に対してステップS400のデータ変換補正処理を実行し、ラインエンドまでデータ変換補正処理を省略するNull処理を実行する(ステップS300)。このNull処理は、ライン取得ユニット61が画素値の取得及び出力を中断すると共に、記憶処理ユニット67が空白画素をRAM54へ記憶させる処理を行う。なお、記憶処理ユニット67は、ラインエンドまでの画素の数の空白画素をRAM54へ記憶させると、Null−end信号(無効終了情報)をライン取得ユニット61へ出力する。これを受けたライン取得ユニット61は、xRGBデータ70の次の画素ラインの画素値の取得を実行する。
On the other hand, when the Null flag is associated with the acquired pixel in Step S210, the data conversion correction process of Step S400 is executed for the pixel associated with the Null flag, and the data conversion correction process is performed up to the line end. Null processing is omitted (step S300). In the Null process, the
ステップS300のあと、又はステップS280でラインエンドであったときには、ライン取得ユニット61がxRGBデータ70に次の画素ラインがあるか否かを判定し(ステップS290)、次のラインがあるときには、ステップS200以降の処理を実行する。一方、次の画素ラインがないときには、そのままこのルーチンを終了する。その後、印刷データ出力ユニット68により、印刷データ74が印刷ヘッド44側に出力され、印刷機構32で記録紙Sへインクが吐出される印刷処理が実行される。このように、Nullフラグが対応付けられている画素よりあとの白色画素については、データ変換補正処理を省略するよう切り替えるのである。
After step S300 or when the line end is detected in step S280, the
ここで、印刷データ生成処理ルーチンの内容を具体例を用いて説明する。ここでは、図8の1段目に示すように、画素ラインに含まれる画素が50pixであり、11〜21pix及び31〜40pixが有色画素であり、40pixがフラグ付き画素77である場合について説明する。なお、図8には、画像処理部60のうち、ライン取得ユニット61、色空間変換ユニット63、ハーフトーンユニット66及び記憶処理ユニット67のみ示した。まず、ライン取得ユニット61は、フラグ付き画素77を取得するまで、画素の色にかかわらず、xRGBデータ70の1pixから順に取得し、後段の色空間変換ユニット63へ出力する(図8の2段目)。このとき、各ユニットは各々の画像処理を取得した画素値に対し実行し、記憶処理ユニット67は、RAM54へ印刷データ74の一部としてこの画素値を記憶させる。続いて、ライン取得ユニット61がフラグ付き画素77を取得するとラインエンド処理を実行すると共に、画素の取得及び出力を停止し、Null−end信号待ちとする(図8の3段目)。フラグ付き画素77を受けた各ユニットも、ラインエンド処理を行うと共にデータ待ち状態とする(図8の4段目)。記憶処理ユニット67がフラグ付き画素77を取得すると、Null処理を実行し(図8の5段目)、残りの画素の数の空白画素(Nullデータ)をRAM54へ記憶させる(図8の6段目)。そして、Null処理が終了すると、記憶処理ユニット67は、ライン取得ユニット61へNull−end信号を出力し、これを受けたライン取得ユニット61は次の画素ラインがあるときには、次の先頭の画素を取得する。なお、すべてが白色画素である画素ラインについては、画素ラインの先頭からNull処理を実行し、データ変換補正処理を省略するのである。このように、有色画素を含む画素ラインについてもデータ変換補正処理を省略するのである。図6の下段に示すように、フラグ付き画素77よりあとの白色画素のデータ変換補正処理を省略することができる。
Here, the contents of the print data generation processing routine will be described using a specific example. Here, as shown in the first row of FIG. 8, the case where the pixels included in the pixel line are 50 pix, 11 to 21 pix and 31 to 40 pix are colored pixels, and 40 pix is the flagged
ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のRAM54が本発明の記憶手段に相当し、画像変換部56がデータ生成手段に相当し、画像処理部60のうち、ライン取得ユニット61,エッジ検出ユニット62,色空間変換ユニット63,濃度補正ユニット64,平均化ユニット65,ハーフトーンユニット66がデータ取得変換手段に相当し、記憶処理ユニット67が記憶処理手段に相当する。また、ライン取得ユニット61が画素値取得手段に相当し、エッジ検出ユニット62、色空間変換ユニット63、濃度補正ユニット64、平均化ユニット65及びハーフトーンユニット66が変換手段に相当する。また、入力データ80が画像データ及び第1形式の画像データに相当し、xRGBデータ70が無効情報設定済画像データ及び第2形式の画像データに相当し、印刷データ74が流体吐出データに相当し、Nullフラグが無効情報に相当し、Null−end信号が無効終了情報に相当する。また、インクが流体に相当し、記録紙Sが媒体に相当し、プリンター20が流体吐出装置に相当し、プリンター部30が吐出部に相当する。なお、本実施形態では、プリンター20の動作を説明することにより本発明の画像処理方法の一例も明らかにしている。
Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The
以上詳述した第1実施形態のプリンター20によれば、画像変換部56が、画像データに含まれる画素ラインの最後尾の有色画素にNullフラグを対応付けたxRGBデータ70を生成する。次に、ライン取得ユニット61が、xRGBデータ70から画素ラインごとに画素を取得し、この取得した画素値をエッジ検出ユニット62へ出力する一方、取得した画素にNullフラグが対応付けられているときには、このフラグ付き画素77よりあとの白色画素の出力を停止する。そして、出力されたxRGBデータ70に含まれる画素値を、印刷データ74の画素値へ変換し、変換後の画素値をRAM54へ記憶させる。このように、すべて白色の画素ラインに加えて有色画素を含む画素ラインについてもデータ変換補正処理を省略するのである。したがって、画素ラインの最後尾の有色画素よりあとの白色画素に対してデータ変換補正処理を省略し、データ変換補正処理の高速化をより図ることができる。また、ライン取得ユニット61が出力を省略した画素の数を記憶処理ユニット67が取得し、この画素数の空白画素を画素ラインの画素としてRAM54へ記憶させるため、出力を省略した白色画素を比較的容易に印刷データ74へ加えることができ、データ変換補正処理の高速化をより図りやすい。
According to the
また、第1実施形態のプリンター20によれば、画像変換部56が、入力データ80のxRGBデータ70への形式変換に伴いNullフラグを画素に対応付け可能であるため、比較的容易に画素にNullフラグを対応付けることができる。特に、xRGBデータ70への変換処理では、各画素が有色画素であるか白色画素であるかを把握しながら行うことから、Nullフラグをより効率よく設定することができる。更に、Null−end信号の受信までライン取得ユニット61が待機するため、画素値の取得とデータ変換補正処理後の画素値の出力との同期を容易にとることができ、データ変換補正処理の高速化をより図りやすい。更にまた、プリンター20で入力データ80からxRGBデータ70への変換やxRGBデータ70から印刷データ74への変換を行う際には、有色画素と白色画素との区別をつけずにデータ変換補正処理を行うことが通常であるが、ここでは、できるだけ白色画素のデータ変換補正処理を省略して高速化を図ることができる。そして、画素ラインの最後尾の有色画素にのみNullフラグを対応付けることから、より一層容易な処理により、データ変換補正処理の高速化をより図ることができる。
Further, according to the
[第2実施形態]
ここでは、第1実施形態に加え、xRGBデータ70に含まれる画素ラインの白色画素と最前の有色画素との境の画素にNullフラグ「1」を対応付けたフラグ付き画素を設定し、このフラグ付き画素より前の画素値に対する画像処理部60でのデータ変換補正処理をも省略する場合について説明する。図9は、xRGBデータ70Bの画素行76の一例の説明図であり、図10は、別の印刷データ生成処理ルーチンの一例を示すフローチャートであり、図11は、別のデータ変換補正処理の一例を示す説明図である。ここでは、図9上段に示すように、画像生成フラグ設定処理ルーチンのステップS120で、画素ライン76の最前の有色画素、最後尾の有色画素、及び白色画素ラインの先頭画素をフラグ付き画素77に設定したxRGBデータ70Bを生成するものとした。なお、上述した構成と同様の構成については同じ図番号を付してその説明を省略する。
[Second Embodiment]
Here, in addition to the first embodiment, a flagged pixel in which a Null flag “1” is associated with a pixel between the white pixel of the pixel line included in the
次に、xRGBデータ70Bから、プリンター20の印刷処理に用いる印刷データを生成する処理について説明する。上述したように、xRGBデータ70Bを生成すると、画像処理部60が、図10に示す印刷データ生成処理ルーチンを実行する。この印刷データ生成処理において、上述した内容と同様の処理については同じステップ番号を付し、その説明を省略する。図10に示す印刷データ生成処理が実行されると、上述したステップS200,S210と同様に、ライン取得ユニット61がxRGBデータ70Bから画素値を画素ラインごとに順次取得し(ステップS310)、取得した画素にNullフラグが対応付けられているか否かを判定する(ステップS320)。Nullフラグが対応付けられていないときには、ライン取得ユニット61は、取得した画素が白色画素であると見なし、画素値の出力を省略すると共に、省略した画素の数(読捨数)のカウントを行い(ステップS330)、ステップS310以降の処理を繰り返し実行する。一方、ステップS320で、取得した画素にNullフラグが対応付けられているときには、現在の処理位置をカウントした読捨数に基づいて更新すると共に、Null処理を実行し(ステップS340)、ステップS400でデータ変換補正処理を実行する。即ち、フラグ付き画素77を取得するまで、画素ラインの先頭からNull処理を実行してデータ変換補正処理を省略すると共に、フラグ付き画素77を取得するとデータ変換補正処理を開始するのである。
Next, a process for generating print data used for the print process of the
ステップS400でデータ変換補正処理を実行すると、ステップS280でラインエンドであるか否かを判定し、ラインエンドでないときには、ステップS200で画素値を取得し、ステップS210で、取得した画素にNullフラグが対応付けられているか否かを判定する。取得した画素にNullフラグが対応付けられていないときには、最後尾の有色画素ではないものと見なし、ステップS400以降の処理を繰り返し実行する。即ち、取得した画素に対して、データ変換補正処理を実行する。一方、ステップS210で取得した画素にNullフラグが対応付けられているときには、最後尾の有色画素であるものと見なし、ステップS300でラインエンドまでデータ変換補正処理を省略するNull処理を実行する。ステップS300のあと、又は、ステップS280でラインエンドであったときには、ステップS290でライン取得ユニット61がxRGBデータ70に次の画素ラインがあるか否かを判定し、次のラインがあるときには、ステップS310以降の処理を実行する。一方、次の画素ラインがないときには、そのままこのルーチンを終了する。このように、有色画素を含む画素ラインにおいて、最前の有色画素の前の白色画素に対し、データ変換補正処理を省略すると共に、最後尾の有色画素のあとの白色画素に対し、データ変換補正処理を省略するのである(図9下段参照)。
When the data conversion correction process is executed in step S400, it is determined in step S280 whether or not the line end is reached. If not, the pixel value is acquired in step S200. In step S210, the Null flag is set for the acquired pixel. It is determined whether they are associated with each other. When the Null flag is not associated with the acquired pixel, it is considered that the pixel is not the last colored pixel, and the processes after step S400 are repeatedly executed. That is, a data conversion correction process is performed on the acquired pixels. On the other hand, when the Null flag is associated with the pixel acquired in step S210, it is assumed that it is the last colored pixel, and in step S300, a null process that omits the data conversion correction process is executed until the line end. After step S300 or when the line end is detected in step S280, the
ここで、第2実施形態の印刷データ生成処理ルーチンの内容を具体例を用いて説明する。ここでは、図11の1段目に示すように、画素ラインに含まれる画素が50pixであり、11〜21pix及び31〜40pixが有色画素であり、11pix及び40pixがフラグ付き画素77である場合について説明する。まず、ライン取得ユニット61は、フラグ付き画素77を取得するまで、xRGBデータ70の1pixから順に読み捨てると共に、読捨数をカウントし、後段の色空間変換ユニット63への画素値の出力を停止する(図11の2段目)。このとき、各ユニットは、それぞれデータ待ち状態とする。次に、ライン取得ユニット61がフラグ付き画素77(11pix)を取得すると、画素値を読捨数と共に出力する(図11の3段目)。これを受けた各ユニットは、処理位置(pix)を読捨数に基づいて再設定し、取得した画素値に対し各々の画像処理を実行する(図11の4段目)。次に、フラグ付き画素77を受けると、記憶処理ユニット67は、処理位置を読捨数に基づいて再設定し、Null処理を実行し読捨数の空白画素(Nullデータ)をRAM54へ記憶させる(図11の5段目)。続いて、ライン取得ユニット61は、次のフラグ付き画素77を取得するまでxRGBデータ70Bから画素値を取得し、取得した画素値を後段のユニットに出力する。これを受けた各ユニットは、取得した画素値に対し各々の画像処理を実行する(図11の6段目)。そして、ライン取得ユニット61が再度、フラグ付き画素77を取得すると、ラインエンド処理を実行すると共に、画素の取得及び出力を停止し、Null−end信号待ちとする(図11の7段目)。以降は、上述した第1実施形態と同様の処理を実行する。このように、有色画素を含む画素ラインについてもデータ変換補正処理を省略するのである。
Here, the content of the print data generation processing routine of the second embodiment will be described using a specific example. Here, as shown in the first row of FIG. 11, the pixel included in the pixel line is 50 pix, 11 to 21 pix and 31 to 40 pix are colored pixels, and 11 pix and 40 pix are the flagged
以上詳述した第2実施形態のプリンター20によれば、画像変換部56が、画像データに含まれる画素ラインの最前の有色画素にNullフラグを対応付けたxRGBデータ70Bを生成し、画像処理部60が、xRGBデータ70Bの画素ラインの先頭画素からフラグ付き画素77を取得するまでは画素ラインの画素値の出力を省略する。このため、先頭画素からフラグ付き画素77までの白色画素に対してデータ変換補正処理を省略し、データ変換補正処理の高速化を更に図ることができる。また、画素ラインの最後尾の有色画素よりあとの白色画素に対してデータ変換補正処理を省略し、データ変換補正処理の高速化をより図ることができる。更に、ライン取得ユニット61が出力を省略した画素の数をカウントし、記憶処理ユニット67がこの読捨数を取得し、この読捨数の空白画素を画素ラインの画素としてRAM54へ記憶させるため、出力を省略した白色画素を比較的容易に印刷データ74へ加えることができ、データ変換補正処理の高速化をより図りやすい。また、画像変換部56が、入力データ80のxRGBデータ70への形式変換に伴いNullフラグを画素に対応付け可能であるため、比較的容易に画素にNullフラグを対応付けることができる。特に、xRGBデータ70への変換処理では、各画素が有色画素であるか白色画素であるかを把握しながら行うことから、Nullフラグをより効率よく設定することができる。更に、Null−end信号の受信までライン取得ユニット61が待機するため、画素値の取得とデータ変換補正処理後の画素値の出力との同期を容易にとることができ、データ変換補正処理の高速化をより図りやすい。更にまた、プリンター20で入力データ80からxRGBデータ70への変換やxRGBデータ70から印刷データ74への変換を行う際には、有色画素と白色画素との区別をつけずにデータ変換補正処理を行うことが通常であるが、ここでは、できるだけ白色画素のデータ変換補正処理を省略して高速化を図ることができる。そして、画素ラインの最前の有色画素及び最後尾の有色画素にNullフラグを対応付けることから、比較的容易な処理により、データ変換補正処理の高速化をより図ることができる。
According to the
[第3実施形態]
ここでは、第1,第2実施形態に加え、画素ラインに含まれる最前の有色画素と最後尾の有色画素との間に存在する連続した白色画素に対してもデータ変換補正処理を省略する場合について説明する。図12は、xRGBデータ70Cの画素行76の一例の説明図であり、図13は、別の印刷データ生成処理ルーチンの一例を示すフローチャートであり、図14は、別のデータ変換補正処理の一例を示す説明図である。ここでは、図12上段に示すように、画像生成フラグ設定処理ルーチンのステップS120で、画素ライン76に含まれる最前の有色画素と最後尾の有色画素との間においても、有色画素と白色画素との境の画素をフラグ付き画素77に設定したxRGBデータ70Cを生成するものとした。また、最後尾の有色画素の次の白色画素をフラグ付き画素77に設定して、フラグ付き画素77を2連続とすることで、最後尾であると判定可能となるようにした。なお、上述した構成と同様の構成については同じ図番号を付してその説明を省略する。
[Third Embodiment]
Here, in addition to the first and second embodiments, when data conversion correction processing is omitted even for continuous white pixels existing between the last colored pixel and the last colored pixel included in the pixel line Will be described. 12 is an explanatory diagram of an example of the
次に、xRGBデータ70Cから、プリンター20の印刷処理に用いる印刷データを生成する処理について説明する。上述したように、xRGBデータ70Cを生成すると、画像処理部60が、図13に示す印刷データ生成処理ルーチンを実行する。この印刷データ生成処理において、上述した内容と同様の処理については同じステップ番号を付し、その説明を省略する。図13に示す印刷データ生成処理が実行されると、上述したステップS310の処理を実行し、最後尾のNullフラグが対応付けられているか否かを、2連続のフラグ付き画素77を取得したか否かに基づいて判定する(ステップS350)。取得した画素に最後尾Nullフラグが対応付けられていないときには、上述したステップS320,S330の処理を実行し、フラグ付き画素77を取得するまで、ライン取得ユニット61が画素値の出力を省略することにより、データ変換補正処理を省略する。一方、ステップS320でライン取得ユニット61がフラグ付き画素77を取得すると、ステップS340で、Null処理を実行し、ステップS400で、取得した画素にデータ変換補正処理を実行する。なお、ステップS340では、先頭画素がフラグ付き画素77であるときは、Null処理を省略するものとした。
Next, a process for generating print data used for the print process of the
次に、ステップS280でラインエンドであるか否かを判定し、ラインエンドでないときには、ステップS200で画素値を取得し、ステップS210で画素に通常のNullフラグが対応付けられているか否かを判定し、画素にNullフラグが対応付けられていないときには、ステップS400以降の処理を実行する。即ち、最前の有色画素と最後尾の有色画素との間であって、連続する白色画素ではないものと見なし、取得した画素に対してデータ変換補正処理を実行するのである。一方、ステップS210でNullフラグが対応付けられているときには、このフラグ付き画素77に対して、ステップS400のデータ変換補正処理を実行し、ステップS310以降の処理を実行する。即ち、次のフラグ付き画素77を取得するまで、ステップS310で画素値を取得し、ステップS350で最後尾Nullフラグの有無を判定し、最後尾Nullフラグが対応付けられていないときには、ステップS330でライン取得ユニット61が画素値の読み捨てと読捨数をカウントするのである。一方、ステップS320で、再度、フラグ付き画素77を取得すると、ステップS340でNull処理を実行し、取得した画素に対してデータ変換補正処理を再開するのである。
Next, in step S280, it is determined whether or not it is the line end. If it is not the line end, a pixel value is acquired in step S200, and it is determined whether or not a normal Null flag is associated with the pixel in step S210. However, when the Null flag is not associated with the pixel, the processing after step S400 is executed. In other words, the data conversion correction process is executed on the acquired pixel, assuming that it is not a continuous white pixel between the first colored pixel and the last colored pixel. On the other hand, when the Null flag is associated in step S210, the data conversion correction process of step S400 is executed for the flagged
そして、ステップS350で、取得した画素に最後尾Nullフラグが対応付けられているときには、ステップS300でラインエンドまでNull処理を実行し、ステップS290で次の画素ラインがあるか否かを判定する。次の画素ラインがあるときには、ステップS310以降の処理を実行する一方、次の画素ラインがないときには、そのままこのルーチンを終了する。このように、有色画素を含む画素ラインにおいて、最前の有色画素の前の白色画素に対しデータ変換補正処理を省略し、最後尾の有色画素のあとの白色画素に対しデータ変換補正処理を省略し、更に、最前の有色画素と最後尾の有色画素との間の白色画素に対してもデータ変換補正処理を省略するのである(図12下段参照)。 If the last Null flag is associated with the acquired pixel in Step S350, Null processing is executed up to the line end in Step S300, and it is determined whether or not there is a next pixel line in Step S290. When there is a next pixel line, the processing from step S310 is executed. On the other hand, when there is no next pixel line, this routine is ended as it is. As described above, in the pixel line including the colored pixel, the data conversion correction process is omitted for the white pixel before the previous colored pixel, and the data conversion correction process is omitted for the white pixel after the last colored pixel. Furthermore, the data conversion correction process is also omitted for the white pixel between the foremost colored pixel and the last colored pixel (see the lower part of FIG. 12).
ここで、第3実施形態の印刷データ生成処理ルーチンの内容を具体例を用いて説明する。ここでは、図14の1段目に示すように、画素ラインに含まれる画素が50pixであり、11〜21pix及び31〜40pixが有色画素であり、11pix、20pix、31pix及び40pixがフラグ付き画素77であり、連続する41pixが白色画素且つフラグ付き画素77(最後尾Nullフラグ画素)である場合について説明する。まず、ライン取得ユニット61は、フラグ付き画素77を取得するまで、xRGBデータ70の1pixから順に読み捨てると共に、読捨数をカウントし、後段の色空間変換ユニット63への画素値の出力を停止する(図14の2段目)。このとき、各ユニットは、それぞれデータ待ち状態とする。次に、ライン取得ユニット61がフラグ付き画素77(11pix)を取得すると、画素値を読捨数と共に出力し、記憶処理ユニット67がフラグ付き画素77を受けると、処理位置を読捨数に基づいて再設定し、Null処理を実行し読捨数の空白画素(Nullデータ)をRAM54へ記憶させる(図14の3段目)。ライン取得ユニット61が次のフラグ付き画素77を取得すると、最後尾の有色画素でない場合は、更に次のフラグ付き画素77を取得するまで、取得順に画素値を読み捨てると共に、読捨数をカウントし、後段の色空間変換ユニット63への画素値の出力を停止する(図14の4段目)。ライン取得ユニット61が、更に次のフラグ付き画素77を取得すると、最後尾の有色画素でない場合は、更に次のフラグ付き画素77を取得するまで、データ変換補正処理を実行するのである(図14の5段目)。このように、フラグ付き画素77を取得するたびに、ライン取得ユニット61は取得した画素値の出力を切り替え、データ変換補正処理の実行及び省略を切り替えるのである。更に、2連続のフラグ付き画素77(41pix)をライン取得ユニット61が取得すると、この画素の出力を停止し、Null処理を実行し、この画素ラインの処理を終了する。そして、最後尾の有色画素以降の変換処理や最前の白色画素の変換処理の省略については、上述した第1及び第2実施形態と同様の処理を繰り返し、実行するのである。このように、有色画素を含む画素ラインについても白色画素が続く領域に対して、データ変換補正処理を省略するのである。
Here, the content of the print data generation processing routine of the third embodiment will be described using a specific example. Here, as shown in the first row of FIG. 14, the pixels included in the pixel line are 50 pix, 11 to 21 pix and 31 to 40 pix are colored pixels, and 11 pix, 20 pix, 31 pix, and 40 pix are flagged
以上詳述した第3実施形態のプリンター20によれば、画像変換部56が、入力データ80に含まれる画素ラインの最前の有色画素と最後尾の有色画素との間に存在する、有色画素と白色画素との境の画素及び白色画素と有色画素との境の画素にNullフラグを対応付けたxRGBデータ70Cを生成し、画像処理部60が、最前の有色画素と最後尾の有色画素との間に存在する、Nullフラグが対応付けられた画素を取得したあとは、次のNullフラグが対応付けられた画素を取得するまで画素ラインの画素値の出力を省略する。このため、最前の有色画素と最後尾の有色画素との間の白色画素に対してデータ変換補正処理を省略し、データ変換補正処理の高速化を更に図ることができる。また、画素ラインの、最前の有色画素より前、及び最後尾の有色画素よりあとの白色画素に対してデータ変換補正処理を省略し、データ変換補正処理の高速化をより図ることができる。更に、ライン取得ユニット61が出力を省略した画素の数をカウントし、記憶処理ユニット67がこの読捨数を取得し、この読捨数の空白画素を画素ラインの画素としてRAM54へ記憶させるため、出力を省略した白色画素を比較的容易に印刷データ74へ加えることができ、データ変換補正処理の高速化をより図りやすい。また、画像変換部56が、入力データ80のxRGBデータ70への形式変換に伴いNullフラグを画素に対応付け可能であるため、比較的容易に画素にNullフラグを対応付けることができる。特に、xRGBデータ70への変換処理では、各画素が有色画素であるか白色画素であるかを把握しながら行うことから、Nullフラグをより効率よく設定することができる。更に、Null−end信号の受信までライン取得ユニット61が待機するため、画素値の取得とデータ変換補正処理後の画素値の出力との同期を容易にとることができ、データ変換補正処理の高速化をより図りやすい。更にまた、プリンター20で入力データ80からxRGBデータ70への変換やxRGBデータ70から印刷データ74への変換を行う際には、有色画素と白色画素との区別をつけずにデータ変換補正処理を行うことが通常であるが、ここでは、より確実に白色画素のデータ変換補正処理を省略して高速化を図ることができる。そして、画素ラインに含まれる白色画素のほぼすべてのデータ変換補正処理を確実に省略可能であり、容易な処理により、データ変換補正処理の高速化をより図ることができる。
According to the
なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。 It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.
例えば、上述した実施形態では、第1〜第3実施形態において白色画素のデータ変換補正処理を省略するプリンター20を説明したが、画素ラインに含まれる、最前の有色画素よりも前の白色画素、最後尾の有色画素よりもあとの白色画素、画素ラインの最前の有色画素と最後尾の有色画素との間に存在する白色画素について、いずれか1以上の白色画素に対してデータ変換補正処理を省略するものとすれば、特に組み合わせは限定されない。例えば、すべて白色の画素ラインに加え、最前の有色画素よりも前の白色画素に対してデータ変換補正処理を省略してもよいし、画素ラインの最前の有色画素と最後尾の有色画素との間に存在する白色画素に対してデータ変換補正処理を省略してもよい。あるいは、すべて白色の画素ラインに加え、最前の有色画素よりも前の白色画素と、最前の有色画素と最後尾の有色画素との間に存在する白色画素と、についてデータ変換補正処理を省略してもよい。こうしても、データ変換補正処理の高速化をより図ることができる。
For example, in the above-described embodiment, the
上述した実施形態において、ライン取得ユニット61がフラグ付き画素77を判定し、画素値の出力を停止することによって、色空間変換ユニット63、濃度補正ユニット64及びハーフトーンユニット66などによるデータ変換補正処理を省略するものとしたが、特にこれに限定されず、例えば、画像処理部60のいずれかのユニットでフラグ付き画素77を判定し、画像処理部60でのデータ変換補正処理を省略するものとしてもよい。こうしても、データ変換補正処理の高速化をより図ることができる。
In the embodiment described above, the
上述した実施形態では、記憶処理ユニット67が空白画素を記憶させるものとしたが、印刷データ74に白色画素に対応する画素値が加わるものとすれば、特にこれに限定されない。
In the above-described embodiment, the
上述した実施形態では、ライン取得ユニット61が画素値を読み捨てる際に、カウントするものとし、このカウントした読捨数を記憶処理ユニット67が取得してNull処理を行うものとしたが、特にこれに限定されない。また、ライン取得ユニット61がNull−end信号を待って次の画素ラインの画素の取得を再開するものとしたが、画像処理部60での入力と出力との同期をとるものとすれば、特にこれに限定されず、連続的に画素の取得を行ってもよい。
In the above-described embodiment, the
上述した実施形態では、入力データ80から、xRGBデータ70を生成する際にNullフラグを設定するものとしたが、Nullフラグを設定するものとすれば、特にこれに限定されない。また、入力データ80は、スキャンデータ(YUVデータ)、メモリーカードMCからのJPEGデータ、PC11からのRGBデータなどとしたが、このうち1以上を省略してもよいし、これ以外の画像データを追加してもよい。また、変換処理ユニット57で第1形式の画像データと第2形式の画像データとを変換するとした際に、第1形式の画像データはスキャンデータやJPEGデータとし、第2形式の画像データはRGB画像データやPDF画像データなど表示画像データとしてもよい。更に、xRGBデータから印刷データを生成するものとしたが、特にこれに限定されない。
In the above-described embodiment, the Null flag is set when generating the
上述した実施形態では、エッジ検出ユニット62、色空間変換ユニット63、濃度補正ユニット64、平均化ユニット65及びハーフトーンユニット66によりデータ変換補正処理を実行するものとしたが、特にこれに限定されず、これらのうちいずれか1以上を省略してもよいし、これら以外の1以上の処理を追加してもよい。こうしても、データ変換補正処理の高速化をより図ることができる。なお、データ変換補正処理としたが、データ変換処理としてもよい。
In the above-described embodiment, the data conversion correction processing is executed by the
上述した実施形態では、NullフラグをxRGBデータ70のインテントデータ領域に格納するものとしたが、特にこれに限定されず、Nullフラグを画像データと別に保存してもよい。また、上述した実施形態では、画素ラインにおいて、最前の有色画素、最後尾の有色画素にNullフラグを対応付けるものとしたが、最前の有色画素の前の白色画素や最後尾の有色画素の次の白色画素にNullフラグを対応付けてもよい。また、上述した実施形態では、Nullフラグとしたが、有色画素と白色画素との境が認識可能な情報であれば特にフラグに限定されない。また、Nullフラグは値「0」から値「1」へ切り替わると画像処理部60での画像処理の実行と省略との切替を行うよう設定されているものとしたが、特にこれに限定されず、例えば、画素値を出力するのがフラグ値「0」とし、画素値の出力を省略するのがフラグ値「1」としてもよい。
In the above-described embodiment, the Null flag is stored in the intent data area of the
上述した第3実施形態において、最後尾の有色画素については、フラグ付き画素77を2連続とすることで判定可能としたが、特にこれに限定されず、新たなフラグ、例えば、最後尾有色画素フラグなどを設定してもよい。また、画素ラインにおいて最前の有色画素に対応付けるフラグや、画素ラインにおいて最後尾の有色画素に対応付けるフラグ、最前の有色画素と最後尾の有色画素との間の画素に対応付けるフラグなどを、それぞれ別のフラグとしてもよい。
In the third embodiment described above, the last colored pixel can be determined by setting the flagged
上述した実施形態では、画像処理部60は、回路により構成されているものとして説明したが、上述した処理を実現可能なものとすれば、特にこれに限定されず、ソフトウエアにより実現してもよいし、画像処理方法としてもよいし、プログラムとしてもよい。
In the above-described embodiment, the
上述した実施形態では、スキャナー部33やメモリーカードコントローラー36を備えたプリンター20として説明したが、特に限定されず、スキャナー部33やメモリーカードコントローラー36を省略してもよいし、FAX装置としてもよい。また、プリンター部30は、インクジェット方式に限定されず、例えば、電子写真方式、熱転写方式、ドットインパクト方式などとしてもよい。
In the above-described embodiment, the
上述した実施形態では、流体が着色剤(インク)であるものとしたが、媒体S上に画像を形成する際に利用可能なものであれば特にこれに限定されない。媒体に形成可能な機能性材料、例えば、ジェルのような流状体、トナーなどの粉体などとしてもよい。また、インクとしては、溶媒に溶解したものであってもよいし、機能材料の粒子が分散されている液状体(分散液)であってもよい。また、インクは、溶媒や分散媒以外の液体を含有してもよい。なお、インクには、透明インクも含まれる。 In the above-described embodiment, the fluid is the colorant (ink), but is not particularly limited as long as it can be used when an image is formed on the medium S. A functional material that can be formed on a medium, for example, a fluid such as a gel or powder such as toner may be used. Further, the ink may be dissolved in a solvent, or may be a liquid (dispersed liquid) in which functional material particles are dispersed. The ink may contain a liquid other than the solvent and the dispersion medium. The ink includes transparent ink.
10 プリンターシステム、11 パソコン(PC)、12 CPU、13 フラッシュROM、14 RAM、15 HDD、17 入力装置、18 ディスプレイ、20 プリンター、30 プリンター部、31 プリンターASIC、32 印刷機構、33 スキャナー部、34 スキャナーASIC、35 読取機構、36 メモリーカードコントローラー、37 ベルト、38 駆動モーター、39 紙送りローラー、41 キャリッジ、42 ノズル、44 印刷ヘッド、45 カートリッジ、48 キャリッジ軸、50 メインコントローラー、52 CPU、53 フラッシュROM、54 RAM、55 ネットワークインターフェイス(I/F)、56 画像変換部、57 変換処理ユニット、58 フラグ付加ユニット、60 画像処理部、61 ライン取得ユニット、62 エッジ検出ユニット、63 色空間変換ユニット、64 濃度補正ユニット、65 平均化ユニット、66 ハーフトーンユニット、67 記憶処理ユニット、68 印刷データ出力ユニット、70,70B,70C xRGBデータ、71 ルックアップテーブル(LUT)、72 吐出量閾値テーブル、73 ハーフトーンテーブル、74 印刷データ、76 画素ライン、77 フラグ付き画素、80 入力データ、83〜86 パスユニット、MC メモリーカード、S 記録紙。 DESCRIPTION OF SYMBOLS 10 Printer system, 11 Personal computer (PC), 12 CPU, 13 Flash ROM, 14 RAM, 15 HDD, 17 Input device, 18 Display, 20 Printer, 30 Printer part, 31 Printer ASIC, 32 Printing mechanism, 33 Scanner part, 34 Scanner ASIC, 35 Reading mechanism, 36 Memory card controller, 37 Belt, 38 Drive motor, 39 Paper feed roller, 41 Carriage, 42 Nozzle, 44 Print head, 45 Cartridge, 48 Carriage shaft, 50 Main controller, 52 CPU, 53 Flash ROM, 54 RAM, 55 Network interface (I / F), 56 Image conversion unit, 57 Conversion processing unit, 58 Flag addition unit, 60 Image processing unit, 1 line acquisition unit, 62 edge detection unit, 63 color space conversion unit, 64 density correction unit, 65 averaging unit, 66 halftone unit, 67 storage processing unit, 68 print data output unit, 70, 70B, 70C xRGB data, 71 Look-up table (LUT), 72 Discharge amount threshold value table, 73 Halftone table, 74 Print data, 76 pixel lines, 77 Flagged pixels, 80 input data, 83-86 pass unit, MC memory card, S recording paper.
Claims (12)
xRGB画像データに含まれる画素行の連続する有色画素と連続する白色画素との境の画素及びすべて白色画素である画素行の最前の画素のxチャンネルに所定の無効情報を記録した無効情報設定済画像データを取得するデータ取得手段と、
前記無効情報設定済画像データから前記画素行ごとに前記画素を取得し、該取得した画素値を流体を媒体上へ吐出する流体吐出装置が利用する流体吐出データの画素値へ変換する一方、前記取得した画素のxチャンネルに前記無効情報が記録されているときには該無効情報が対応付けられている画素に隣接した連続する白色画素の画素値の前記変換を省略するデータ取得変換手段と、
前記変換後の流体吐出データの画素値を前記記憶手段へ記憶させる記憶処理手段と、
を備えた画像処理装置。 Storage means for storing data;
Invalid information setting in which predetermined invalid information is recorded in the x channel of the pixel at the boundary between the continuous colored pixel and the continuous white pixel of the pixel row included in the xRGB image data and the foremost pixel of the pixel row which is all white pixels Data acquisition means for acquiring completed image data;
While acquiring the pixel for each pixel row from the invalid information set image data, and converting the acquired pixel value into a pixel value of fluid ejection data used by a fluid ejection device that ejects fluid onto a medium, Data acquisition conversion means for omitting the conversion of the pixel values of the continuous white pixels adjacent to the pixel associated with the invalid information when the invalid information is recorded in the x channel of the acquired pixel;
Storage processing means for storing the pixel value of the fluid ejection data after conversion in the storage means;
An image processing apparatus.
前記データ取得変換手段は、前記取得した画素値を前記変換手段へ前記画素値取得手段が出力する一方、前記取得した画素に前記無効情報が対応付けられているときには該無効情報が対応付けられている画素に隣接した連続する白色画素の画素値の前記変換手段への出力を前記画素値取得手段が省略することによって、前記白色画素の画素値の前記変換を省略する、請求項1に記載の画像処理装置。 The data acquisition conversion unit includes a pixel value acquisition unit that acquires the pixel for each pixel row from the invalid information-set image data, and the pixel value output from the pixel value acquisition unit as a pixel of the fluid ejection data. Conversion means for converting to a value,
The data acquisition conversion unit outputs the acquired pixel value to the conversion unit, while the pixel value acquisition unit outputs the invalid pixel information when the invalid pixel information is associated with the acquired pixel. 2. The conversion of the pixel value of the white pixel is omitted by the pixel value acquisition unit omitting the output of the pixel value of a continuous white pixel adjacent to a certain pixel to the conversion unit. Image processing device.
前記データ取得変換手段は、前記取得した画素に前記無効情報が対応付けられているときには該無効情報が対応付けられている画素よりあとの前記画素行の画素値の変換を省略する、請求項1又は2に記載の画像処理装置。 It said data acquisition means acquires the disable information set image data recording the predetermined invalid information to boundary pixels of the last colored pixels and the white pixels of the pixel rows included in the image data,
The data acquisition / conversion unit omits conversion of a pixel value of the pixel row after a pixel associated with the invalid information when the invalid information is associated with the acquired pixel. Or the image processing apparatus of 2.
前記データ取得変換手段は、前記無効情報設定済画像データの前記画素行の先頭画素から前記無効情報が対応付けられた画素を取得するまでは前記画素行の画素値の変換を省略する、請求項1〜4のいずれか1項に記載の画像処理装置。 It said data acquisition means acquires the disable information set image data recorded the invalid information in the boundary pixels of a white pixel and foremost colored pixels of the pixel rows included in the image data,
The data acquisition conversion unit omits conversion of pixel values of the pixel row until a pixel associated with the invalid information is acquired from the first pixel of the pixel row of the invalid information-set image data. The image processing apparatus according to any one of 1 to 4.
前記データ取得変換手段は、前記最前の有色画素と前記最後尾の有色画素との間に存在する、前記無効情報が対応付けられた画素を取得したあとは、次の前記無効情報が対応付けられた画素を取得するまで前記画素行の画素値の変換を省略する、請求項1〜5のいずれか1項に記載の画像処理装置。 The data acquisition means includes a pixel at a boundary between a color pixel and a white pixel, and a pixel between a white pixel and a color pixel that are present between the last color pixel and the last color pixel of a pixel row included in the image data. Obtain invalid information set image data in which the invalid information is recorded in the boundary pixels,
The data acquisition and conversion means acquires the pixel associated with the invalid information that exists between the foremost colored pixel and the last colored pixel, and then associates the next invalid information with it. The image processing apparatus according to claim 1, wherein the conversion of the pixel value of the pixel row is omitted until the acquired pixel is acquired.
前記記憶処理手段は、前記カウントした画素数を取得し、前記カウントした画素数の空
白画素を前記画素行の画素として前記記憶手段へ記憶させる、請求項5又は6に記載の画像処理装置。 The data acquisition conversion means counts the number of pixels in which the conversion of the pixel value of the pixel row is omitted,
The image processing apparatus according to claim 5 or 6, wherein the storage processing unit acquires the counted number of pixels, and stores the blank pixels of the counted number of pixels in the storage unit as pixels of the pixel row.
第1形式の画像データから第2形式のxRGB画像データへ変換すると共に、前記境の画素に前記無効情報を記録して前記無効情報設定済画像データを生成するデータ生成手段、を備えた画像処理装置。 An image processing apparatus according to any one of claims 1 to 7,
Image processing comprising: data generation means for converting the image data in the first format into the xRGB image data in the second format and recording the invalid information in the border pixels to generate the invalid information-set image data apparatus.
前記データ取得変換手段は、前記記憶処理手段から前記無効終了情報を取得したあと前記無効情報設定済画像データから次の前記画素行の画素を取得する、請求項1〜8のいずれか1項に記載の画像処理装置。 The storage processing means stores the last pixel value of the pixel row in the storage means, and outputs predetermined invalid end information to the data acquisition conversion means,
9. The data acquisition / conversion unit according to claim 1, wherein the data acquisition conversion unit acquires pixels of the next pixel row from the invalid information-set image data after acquiring the invalid end information from the storage processing unit. The image processing apparatus described.
前記画像処理装置からの前記流体吐出データに基づいて流体を媒体上へ吐出する吐出部と、を備えた流体吐出装置。 The image processing apparatus according to any one of claims 1 to 9,
A fluid ejection device comprising: a fluid ejection unit that ejects fluid onto a medium based on the fluid ejection data from the image processing device.
(b)前記無効情報設定済画像データから前記画素行ごとに前記画素を取得し、該取得した画素値を流体を媒体上へ吐出する流体吐出装置が利用する流体吐出データの画素値へ変換する一方、前記取得した画素に前記無効情報が対応付けられているときには該無効情報が対応付けられている画素に隣接した連続する白色画素の画素値の前記変換を省略するステップと、
(c)前記変換後の流体吐出データの画素値を前記記憶手段へ記憶させるステップと、
を含む画像処理方法。 An image processing method executed by an image processing apparatus including a storage unit that stores data, wherein: (a) a pixel at a boundary between a continuous colored pixel and a continuous white pixel in a pixel row included in xRGB image data; Acquiring invalid information set image data in which predetermined invalid information is recorded in the x channel of the foremost pixel of a pixel row that is all white pixels;
(B) Acquiring the pixels for each pixel row from the invalid information-set image data, and converting the acquired pixel values into pixel values of fluid ejection data used by a fluid ejection device that ejects fluid onto a medium. On the other hand, when the invalid information is associated with the acquired pixel, omitting the conversion of the pixel values of consecutive white pixels adjacent to the pixel associated with the invalid information;
(C) storing the pixel value of the fluid ejection data after conversion in the storage means;
An image processing method including:
The program which makes one or more computers perform each step of the image processing method described in Claim 11.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011045497A JP5776224B2 (en) | 2011-03-02 | 2011-03-02 | Image processing apparatus, fluid ejection apparatus, image processing method and program thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011045497A JP5776224B2 (en) | 2011-03-02 | 2011-03-02 | Image processing apparatus, fluid ejection apparatus, image processing method and program thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012179858A JP2012179858A (en) | 2012-09-20 |
| JP5776224B2 true JP5776224B2 (en) | 2015-09-09 |
Family
ID=47011498
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011045497A Expired - Fee Related JP5776224B2 (en) | 2011-03-02 | 2011-03-02 | Image processing apparatus, fluid ejection apparatus, image processing method and program thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5776224B2 (en) |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06245084A (en) * | 1993-02-15 | 1994-09-02 | Ricoh Co Ltd | Image data processor |
| JPH1042156A (en) * | 1996-07-25 | 1998-02-13 | Canon Inc | Color image processing apparatus and method |
| JPH10322565A (en) * | 1997-05-20 | 1998-12-04 | Canon Inc | Image processing apparatus and method |
| JP4134441B2 (en) * | 1999-05-20 | 2008-08-20 | 松下電器産業株式会社 | Image processing device |
| JP3592139B2 (en) * | 1999-06-30 | 2004-11-24 | キヤノン株式会社 | Recording apparatus, image processing apparatus and method thereof |
| JP2004042406A (en) * | 2002-07-11 | 2004-02-12 | Canon Inc | Printer |
-
2011
- 2011-03-02 JP JP2011045497A patent/JP5776224B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2012179858A (en) | 2012-09-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5146424B2 (en) | Image processing apparatus, image processing method, program, recording medium, printing system, and image forming apparatus | |
| JP5130988B2 (en) | Printing apparatus, printing control apparatus, and printing method | |
| CN102442080A (en) | Printing device | |
| JP2008188936A (en) | Image processing apparatus, copying apparatus, image processing method and program thereof | |
| JP5644371B2 (en) | Image processing apparatus and computer program | |
| JP5262485B2 (en) | Image processing apparatus, image processing method, program, recording medium, printing system, and image forming apparatus | |
| JP5776224B2 (en) | Image processing apparatus, fluid ejection apparatus, image processing method and program thereof | |
| JP4789824B2 (en) | Multi-function printer and operation control method thereof | |
| JP6160023B2 (en) | Printing device | |
| US8559079B2 (en) | Image processing apparatus, image processing method, and program thereof | |
| JP2006255970A (en) | Inkjet printer and copying apparatus | |
| JP4419600B2 (en) | Printing apparatus, printing system, and printing program | |
| JP5703795B2 (en) | Image processing device | |
| US12589589B2 (en) | Printing apparatus and printing method | |
| US8303069B2 (en) | Image processing apparatus and image processing method | |
| JP2002318673A (en) | Image processing device to which a plurality of image display devices are connected | |
| JP7413889B2 (en) | Image processing method and image processing device | |
| JP2010068497A (en) | Image processor, image processing method, program, recording medium, printing system, and image forming apparatus | |
| JP2005117559A (en) | Image reading apparatus, printing apparatus, and image data reading method | |
| JP2009233897A (en) | Image processor, image processing method and image processing program | |
| JP2007176104A (en) | Printing device | |
| JP2004086258A (en) | Printing system, printer, computer, program and recording medium constituting the same | |
| KR100662211B1 (en) | How to control raster image processing on large printers | |
| JP5277591B2 (en) | Fluid ejecting apparatus and control method thereof | |
| JP2010074325A (en) | Image processor, image processing method, program, recording medium, print system, and image formation device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140122 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141017 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141028 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141222 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150609 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150622 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5776224 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |