JP4513702B2 - Image output device - Google Patents
Image output device Download PDFInfo
- Publication number
- JP4513702B2 JP4513702B2 JP2005270118A JP2005270118A JP4513702B2 JP 4513702 B2 JP4513702 B2 JP 4513702B2 JP 2005270118 A JP2005270118 A JP 2005270118A JP 2005270118 A JP2005270118 A JP 2005270118A JP 4513702 B2 JP4513702 B2 JP 4513702B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- unit
- intermediate data
- image
- edge
- 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 claims description 194
- 238000000034 method Methods 0.000 claims description 95
- 238000006243 chemical reaction Methods 0.000 claims description 81
- 230000008569 process Effects 0.000 claims description 47
- 238000012937 correction Methods 0.000 claims description 39
- 238000012546 transfer Methods 0.000 claims description 35
- 238000012935 Averaging Methods 0.000 claims description 21
- 238000003860 storage Methods 0.000 claims description 14
- 230000015654 memory Effects 0.000 claims description 13
- 238000012790 confirmation Methods 0.000 claims description 8
- 239000000543 intermediate Substances 0.000 description 117
- 239000000976 ink Substances 0.000 description 116
- 230000015572 biosynthetic process Effects 0.000 description 82
- 239000011159 matrix material Substances 0.000 description 68
- 239000000872 buffer Substances 0.000 description 47
- 238000010586 diagram Methods 0.000 description 46
- 238000013139 quantization Methods 0.000 description 27
- 238000009499 grossing Methods 0.000 description 24
- 238000012986 modification Methods 0.000 description 14
- 230000004048 modification Effects 0.000 description 14
- 239000003086 colorant Substances 0.000 description 13
- 230000009897 systematic effect Effects 0.000 description 12
- 238000012850 discrimination method Methods 0.000 description 11
- 238000009826 distribution Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 11
- 230000009467 reduction Effects 0.000 description 11
- 230000001629 suppression Effects 0.000 description 11
- 239000011295 pitch Substances 0.000 description 9
- 238000012805 post-processing Methods 0.000 description 9
- 230000007246 mechanism Effects 0.000 description 6
- 238000009792 diffusion process Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 5
- 230000007704 transition Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000009825 accumulation Methods 0.000 description 2
- 230000008707 rearrangement Effects 0.000 description 2
- 239000011347 resin Substances 0.000 description 2
- 229920005989 resin Polymers 0.000 description 2
- 239000006096 absorbing agent Substances 0.000 description 1
- 238000010521 absorption reaction Methods 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015556 catabolic process Effects 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000000975 dye Substances 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 239000000049 pigment Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Description
本発明は、入力した画像データに所定の画像処理を施して出力する技術に関する。 The present invention relates to a technique for performing predetermined image processing on input image data and outputting the processed image data.
プリンタなどの印刷装置の印刷解像度は年々高くなっており、デジタルカメラなどで撮影した画像の解像度を上回ることも少なくない。こうした場合には、印刷しようとする画像データの1画素が、印刷上の単位であるピクセルの複数の集合に対応することになる。例えば、印刷しようとする画像の解像度が360dpi×360dpiで、印刷解像度が1440dpi×720dpiの場合には、画像データ側の1画素は、印刷装置側の4×2のピクセルの集合に対応していることになる。 The printing resolution of printing apparatuses such as printers is increasing year by year, and often exceeds the resolution of images taken with a digital camera or the like. In such a case, one pixel of image data to be printed corresponds to a plurality of sets of pixels that are units for printing. For example, when the resolution of an image to be printed is 360 dpi × 360 dpi and the print resolution is 1440 dpi × 720 dpi, one pixel on the image data side corresponds to a set of 4 × 2 pixels on the printing device side. It will be.
このように、入力解像度よりも出力解像度が高い場合には、例えば、画像データ側の1画素の階調値を、4×2のピクセル群に形成するドットの個数および配置によりコード化しようとする手法が考えられる。この場合の最も単純な手法は、4×2のピクセルの集合に対して面積階調の考え方を適用し、全てのピクセルにドットが形成されていない状態から全てのピクセルにドットが形成されている状態まで、9段階のコード値で表現する手法である(濃度パターン法ともいう)。これに対して、出願人は、組織的ディザ法の考え方を4×2ピクセルの集合に、いわば局所的に適用し、組織的ディザ法による画質を維持したまま高速な処理を実現する手法を提案している(下記特許文献1参照)。かかる手法は、極めて高速なハーフトーン処理を実現し、かつ従来の組織的ディザ法と比べても遜色ない画質を実現する画期的なものである。
In this way, when the output resolution is higher than the input resolution, for example, the gradation value of one pixel on the image data side is to be coded by the number and arrangement of dots formed in the 4 × 2 pixel group. A method can be considered. The simplest method in this case applies the concept of area gradation to a set of 4 × 2 pixels, and dots are formed on all pixels from a state where dots are not formed on all pixels. This is a technique of expressing the state with 9 levels of code values (also called density pattern method). On the other hand, the applicant proposes a method that realizes high-speed processing while maintaining the image quality by the systematic dither method by applying the concept of the systematic dither method locally to a set of 4x2 pixels, so to speak. (See
ところで、こうした画像処理は、CPUを用いてソフトウェア的に実現しても良いし、専用のハードウェアを設計して実現することも可能である。一般に、適切なハードウェアを設計すれば、ソフトウェアにより実現するよりも高速な処理を実現することができる。上記の手法は、元々誤差拡散より高速な処理が可能であるため、ハードウェアにより実現すれば、更なる高速化を図ることができる。 By the way, such image processing may be realized by software using a CPU, or may be realized by designing dedicated hardware. In general, if appropriate hardware is designed, high-speed processing can be realized as compared with software. Since the above method can originally perform processing faster than error diffusion, if it is realized by hardware, it is possible to further increase the speed.
しかしながら、ハードウェアによる設計には、種々の制約が存在する。例えば、画像データ中に特定の条件が成立した場合に本来の処理とは別の処理を行わせると行った柔軟な対応をハードウェアにより実現することは困難であった。 However, there are various restrictions on hardware design. For example, when a specific condition is established in the image data, it is difficult to realize a flexible response that is performed by performing a process different from the original process by hardware.
このような状況を踏まえて、本発明が解決しようとする課題は、所定の画素群を単位とする画像処理をハードウェアにより実現する画像出力装置において、特定の条件に応じて異なる処理を容易に行わせることにある。 In view of such a situation, the problem to be solved by the present invention is that an image output device that implements image processing in units of a predetermined pixel group by hardware can easily perform different processing according to specific conditions. There is to do.
上記課題を解決するため、本発明を画像出力装置として次のように構成した。すなわち、
入力した画像データに所定の画像処理を施して出力する画像出力装置であって、
入力した画像データを所定の画素数単位の画素群に分割し、該画素群の特徴に応じて該画素群から第1の中間データおよび第2の中間データを生成して各々出力する中間データ生成ユニットと、
前記第1の中間データを入力し、該第1の中間データに対して各々所定の画像処理を施しつつ順次転送を行う画像処理ユニットを複数直列に接続した画像処理ユニット群と、
前記第2の中間データを入力し、該第2の中間データを、前記画像処理ユニット間に前記第1の中間データが転送されるのと同期して少なくとも転送を順次行うパスユニットを複数直列に接続したパスユニット群と、
前記画像処理ユニット群によって画像処理の施された後の前記第1の中間データと、前記パスユニット群を順次転送された前記第2の中間データとを入力し、所定の条件に基づき、該入力された中間データのうちいずれか一方を選択するデータセレクタと、
前記データセレクタによって選択された中間データを記憶する記憶部と
前記記憶部に記憶された中間データを用いて、出力画像を生成する出力画像生成部と
を備えることを要旨とする。
In order to solve the above problems, the present invention is configured as an image output apparatus as follows. That is,
An image output device that performs predetermined image processing and outputs the input image data,
Intermediate data generation that divides input image data into pixel groups in units of a predetermined number of pixels, generates first intermediate data and second intermediate data from the pixel groups according to the characteristics of the pixel groups, and outputs them respectively Unit,
An image processing unit group in which a plurality of image processing units that input the first intermediate data and sequentially transfer the first intermediate data while performing predetermined image processing on each of the first intermediate data;
A plurality of pass units that input the second intermediate data and sequentially transfer at least the second intermediate data in synchronization with the transfer of the first intermediate data between the image processing units in series. Connected path units, and
The first intermediate data after image processing is performed by the image processing unit group and the second intermediate data sequentially transferred through the pass unit group are input, and the input is performed based on a predetermined condition. A data selector for selecting one of the intermediate data received,
The gist includes: a storage unit that stores intermediate data selected by the data selector; and an output image generation unit that generates an output image using the intermediate data stored in the storage unit.
本発明の画像出力装置では、入力した画像データが、所定の画素数単位の画素群に分割され、その画素群の特徴に応じて第1の中間データと第2の中間データとが生成される。第1の中間データについては、各画像処理ユニットによって様々な画像処理を施されながら転送され、第2の中間データについては、第1の中間データが画像処理ユニット群を転送されるのと同期して、各パスユニットを転送される。そして、最終的にデータセレクタによっていずれかの中間データが所定の条件に基づき選択され、こうして選択された中間データが記憶部に順次記憶されることになる。 In the image output apparatus of the present invention, the input image data is divided into pixel groups each having a predetermined number of pixels, and first intermediate data and second intermediate data are generated according to the characteristics of the pixel groups. . The first intermediate data is transferred while being subjected to various image processing by each image processing unit, and the second intermediate data is synchronized with the transfer of the first intermediate data through the image processing unit group. Each pass unit is transferred. Finally, any intermediate data is selected by the data selector based on a predetermined condition, and the intermediate data thus selected is sequentially stored in the storage unit.
このような構成の画像出力装置によれば、画素群の特徴に応じて生成された2つの中間データが画像処理ユニット群とパスユニット群とをそれぞれ同期して転送され、出力画像を生成するためのデータとして記憶部に記憶される。従って、第1の中間データと第2の中間データとで、異なる画像処理を容易に行わせることが可能になる。更に、第1の中間データと第2の中間データとは、記憶部に記憶されるまでに、同期して転送が行われるため、その転送順序が狂うことがなく、次々に中間データを画像処理ユニット群とパスユニット群とに流すことが可能となる。この結果、データの順序の整合性をとるためのハードウェアが不要となるため、ハードウェアの簡素化を図ることができ、画像処理にかかる処理時間を大幅に短縮させることができる。なお、パスユニットは、第2の中間データの転送以外にも、第2の中間データに対して所定の画像処理を施すものとすることもできる。 According to the image output apparatus having such a configuration, two intermediate data generated according to the characteristics of the pixel group are transferred in synchronization with the image processing unit group and the pass unit group, respectively, and an output image is generated. Is stored in the storage unit. Therefore, different image processing can be easily performed between the first intermediate data and the second intermediate data. Further, since the first intermediate data and the second intermediate data are transferred in synchronization before being stored in the storage unit, the transfer order is not changed, and the intermediate data is processed one after another. It is possible to flow through the unit group and the pass unit group. As a result, hardware for ensuring the consistency of the data order is not required, so that the hardware can be simplified and the processing time required for image processing can be greatly shortened. In addition to the transfer of the second intermediate data, the pass unit may perform predetermined image processing on the second intermediate data.
上記構成の画像出力装置において、
前記パスユニット群は、前記画像処理ユニットと同数の前記パスユニットを備えているものとすることができる。
In the image output apparatus having the above configuration,
The pass unit group may include the same number of pass units as the image processing units.
このような構成であれば、画像処理ユニット群における第1の中間データの転送とパスユニット群における第2の中間データの転送を、容易に同期させることが可能になる。 With such a configuration, it is possible to easily synchronize the transfer of the first intermediate data in the image processing unit group and the transfer of the second intermediate data in the pass unit group.
上記構成の画像出力装置において、
前記画像処理ユニットは、前記第1の中間データの転送先の他の画像処理ユニットに対して、データの受け取りを要求する要求信号を送信し、該他の画像処理ユニットは、該要求信号を受信すると、当該画像処理ユニットから転送された前記第1の中間データを受信し、該第1の中間データの受信が完了すると、当該画像処理ユニットに対して、データの受信が完了した旨を表す確認信号を送信することにより、前記第1の中間データの転送を行うものとすることができる。
In the image output apparatus having the above configuration,
The image processing unit transmits a request signal for requesting data reception to another image processing unit to which the first intermediate data is transferred, and the other image processing unit receives the request signal. Then, the first intermediate data transferred from the image processing unit is received, and when the reception of the first intermediate data is completed, a confirmation indicating that the data reception is completed is given to the image processing unit. The first intermediate data can be transferred by transmitting a signal.
このような構成によれば、各画像処理ユニットは、それぞれが担当する画像処理を行いつつ、効率的に第1の中間データを順次転送することができる。 According to such a configuration, each image processing unit can efficiently transfer the first intermediate data sequentially while performing the image processing that each image processing unit is responsible for.
上記構成の画像出力装置において、
前記パスユニットは、
当該パスユニットに対応して設けられた前記画像処理ユニットが前記第1の中間データの転送元となる他の画像処理ユニットに対して送信する前記確認信号を分岐して入力し、該確認信号の入力を検出した場合に、前記第2の中間データの転送元となる他のパスユニットから前記第2の中間データを入力するとともに、
当該パスユニットに対応して設けられた前記画像処理ユニットが前記第1の中間データを転送する他の画像処理ユニットから、該パスユニットに対応して設けられた前記画像処理ユニットに対して送信される前記確認信号を分岐して入力し、該確認信号の入力を検出した場合に、前記第2の中間データの転送先となる他のパスユニットに前記第2の中間データを出力することにより、前記画像処理ユニット間に前記第1の中間データが転送されるのと同期して前記第2の中間データの転送を行うものとすることができる。
In the image output apparatus having the above configuration,
The pass unit is
The image processing unit provided corresponding to the pass unit branches and inputs the confirmation signal to be transmitted to another image processing unit that is a transfer source of the first intermediate data. When the input is detected, the second intermediate data is input from another path unit that is a transfer source of the second intermediate data;
The image processing unit provided corresponding to the pass unit is transmitted from another image processing unit that transfers the first intermediate data to the image processing unit provided corresponding to the pass unit. When the confirmation signal is branched and input, and the input of the confirmation signal is detected, the second intermediate data is output to another path unit to which the second intermediate data is transferred, The second intermediate data may be transferred in synchronization with the transfer of the first intermediate data between the image processing units.
このような構成によれば、各画像処理ユニットが第1の中間データを転送するために用いる信号を利用して、各パスユニットが第2の中間データを適切に転送することができるため、簡略な構成により、第1の中間データと第2の中間データとを同期させて転送させることが可能になる。 According to such a configuration, each path unit can appropriately transfer the second intermediate data by using a signal used by each image processing unit to transfer the first intermediate data. With this configuration, the first intermediate data and the second intermediate data can be transferred in synchronization.
上記構成の画像出力装置において、前記中間データ生成ユニットは、前記第1の中間データとして、前記画素群を構成する画素の画素値を平均化し、該画素群の解像度を低減させたデータを生成するものとすることができる。 In the image output apparatus having the above-described configuration, the intermediate data generation unit generates, as the first intermediate data, data obtained by averaging pixel values of pixels constituting the pixel group and reducing the resolution of the pixel group. Can be.
このような構成であれば、入力した画像データの解像度を低減したデータを第1の中間データとして生成することができる。そのため、各画像処理ユニットにおける画像処理の処理速度を向上させることが可能になる。 With such a configuration, data with reduced resolution of the input image data can be generated as the first intermediate data. Therefore, the processing speed of image processing in each image processing unit can be improved.
上記構成の画像出力装置において、
前記中間データ生成ユニットは、
前記画素群にエッジが含まれているか否かを検出する検出手段と、
前記検出手段によってエッジが含まれていると検出された場合に、前記第2の中間データとして、該エッジの形態を表すデータを生成する生成手段とを備えるものとすることができる。
In the image output apparatus having the above configuration,
The intermediate data generation unit is
Detecting means for detecting whether or not an edge is included in the pixel group;
When the detection unit detects that an edge is included, the second intermediate data may include a generation unit that generates data representing a form of the edge.
このような構成であれば、文字等のエッジを有する特徴的な部分について、入力時の解像度を保ったまま高解像度で画像処理を行い、その他の部分については、上述した構成のように、解像度を低減させつつ画像処理を行うといった処理を行うことができる。 With such a configuration, image processing is performed at a high resolution while maintaining the resolution at the time of input with respect to a characteristic portion having an edge such as a character, and the other portions have a resolution as in the configuration described above. It is possible to perform processing such as performing image processing while reducing the above.
上記構成の画像出力装置において、
前記中間データ生成ユニットの検出手段は、前記画素群が、白色と黒色の画素によって構成されている場合に、エッジが含まれていると判断するものとすることができる。
In the image output apparatus having the above configuration,
The detection unit of the intermediate data generation unit may determine that an edge is included when the pixel group includes white and black pixels.
このような構成によれば、画素群が、白色と黒色の画素によって構成されているか否かという単純な判定処理によりエッジの有無を判断することができる。また、ビジネス文書などを表す画像データ中の文字部分の多くは、白色と黒色とによって表されているため、効率的に画像データ中から文字部分を抽出し、かかる文字部分に対して、他の部分と異なる処理を行うことが可能になる。 According to such a configuration, it is possible to determine the presence / absence of an edge by a simple determination process of whether or not a pixel group includes white and black pixels. In addition, since most of the character parts in image data representing business documents are represented by white and black, the character parts are efficiently extracted from the image data, It becomes possible to perform processing different from the part.
上記構成の画像出力装置において、
前記中間データ生成ユニットの生成手段は、前記エッジの形態を表すデータとして、前記画素群内の白色と黒色の画素の配置に応じて前記画素群を2値化したデータを生成するものとすることができる。
In the image output apparatus having the above configuration,
The generation unit of the intermediate data generation unit generates data that binarizes the pixel group according to the arrangement of white and black pixels in the pixel group as data representing the form of the edge. Can do.
このような構成によれば、第2の中間データのデータ容量を大幅に削減することができる。 According to such a configuration, the data capacity of the second intermediate data can be greatly reduced.
上記構成の画像出力装置において、
前記中間データ生成ユニットの生成手段は、前記検出手段によってエッジが含まれていないと検出された場合に、前記第2の中間データとして、所定のダミーデータを生成する手段を備えるものとすることができる。
In the image output apparatus having the above configuration,
The generation means of the intermediate data generation unit includes means for generating predetermined dummy data as the second intermediate data when the detection means detects that no edge is included. it can.
このような構成によれば、画素群がエッジを含まない通常の態様であっても、パスユニット群にダミーデータが転送されるので、画像処理ユニット群とパスユニット群との同期を適正に保つことができる。 According to such a configuration, even when the pixel group is in a normal mode that does not include an edge, dummy data is transferred to the pass unit group, so that the synchronization between the image processing unit group and the pass unit group is appropriately maintained. be able to.
上記構成の画像出力装置において、
前記中間データ生成ユニットは、前記エッジの有無に応じて、前記第1の中間データと前記第2の中間データとのうち、どちらの中間データが優位であるかを表す識別子を生成し、前記第2の中間データとともに、該識別子を前記パスユニット群に出力する手段を備えるものとすることができる。
In the image output apparatus having the above configuration,
The intermediate data generation unit generates an identifier indicating which intermediate data is superior between the first intermediate data and the second intermediate data according to the presence or absence of the edge, and A means for outputting the identifier to the path unit group together with the intermediate data of 2 may be provided.
かかる構成において、前記データセレクタは、前記第2の中間データとともに前記識別子を入力し、該識別子に応じて、前記選択を行うものとすることができる。 In such a configuration, the data selector may input the identifier together with the second intermediate data, and perform the selection according to the identifier.
このような構成によれば、第1の中間データと第2の中間データのうち、どちらの中間データを記憶部に記憶させればよいかを容易に判別することが可能になる。 According to such a configuration, it is possible to easily determine which intermediate data of the first intermediate data and the second intermediate data should be stored in the storage unit.
上記構成の画像出力装置において、
前記各パスユニットは、所定段数のFIFOメモリによって構成されているものとすることができる。
In the image output apparatus having the above configuration,
Each of the pass units may be composed of a predetermined number of FIFO memories.
このような構成によれば、1つの画像処理ユニットが、複数の第1の中間データを入力して画像処理を行う場合であっても、1つのパスユニットに、これと同数の第2の中間データを蓄積することが可能になるため、第1の中間データと第2の中間データとを適切に同期させて転送させることが可能になる。 According to such a configuration, even when one image processing unit inputs a plurality of first intermediate data and performs image processing, the same number of second intermediates are assigned to one pass unit. Since data can be stored, the first intermediate data and the second intermediate data can be transferred in appropriate synchronization.
上記構成の画像出力装置において、
前記出力画像生成部は、前記記憶部に記憶された前記第1の中間データと前記第2の中間データとに対してそれぞれ個別に異なるハーフトーン処理を施すことにより、前記出力画像を生成するものとすることができる。
In the image output apparatus having the above configuration,
The output image generation unit generates the output image by individually performing different halftone processes on the first intermediate data and the second intermediate data stored in the storage unit. It can be.
このような構成によれば、第1の中間データと第2の中間データとに対して、それぞれの特徴に応じたハーフトーン処理を行って出力画像を生成することができるため、画質の向上を図ることが可能になる。 According to such a configuration, the first intermediate data and the second intermediate data can be subjected to halftone processing according to the respective characteristics to generate an output image, so that the image quality can be improved. It becomes possible to plan.
以下、上述した本発明の作用・効果を一層明らかにするため、本発明の実施の形態を実施例に基づき次の順序で説明する。
A.印刷装置の概略構成:
B.印刷装置の内部構成:
C.画像処理ユニットの詳細な構成:
C−1.色変換回路(白黒エッジエンコード等):
C−2.ハーフトーン回路(白黒エッジデコード、ハーフトーン処理等):
C−3.ヘッド駆動用データ変換回路:
D.実施例の効果:
E.1×1モード時におけるハーフトーン回路内でのデータの流れ:
F.黒データテーブルの作成方法:
G.他の出力解像度モードの例:
H.変形例:
Hereinafter, in order to further clarify the operations and effects of the present invention described above, embodiments of the present invention will be described based on examples in the following order.
A. General configuration of printing device:
B. Internal configuration of the printing device:
C. Detailed configuration of the image processing unit:
C-1. Color conversion circuit (monochrome edge encoding, etc.):
C-2. Halftone circuit (monochrome edge decoding, halftone processing, etc.):
C-3. Head drive data conversion circuit:
D. Effects of the embodiment:
E. Data flow in the halftone circuit in 1 × 1 mode:
F. How to create a black data table:
G. Examples of other output resolution modes:
H. Variations:
A.印刷装置の概略構成:
図1は、実施例としての印刷装置100の概略構成を示す説明図である。この印刷装置100は本発明の画像出力装置に相当する。図示するように、本実施例の印刷装置100は、USBケーブル135等によってコンピュータ900と接続され、コンピュータ900から出力される画像や文書などのデータを印刷する装置である。コンピュータ900は、これらのデータの印刷にあたり、印刷装置100に対して印刷媒体Sの種類やサイズの指定、出力解像度の指定等、様々な印刷設定を行うことができる。また、印刷装置100には、操作パネル140が備えられており、同様の設定を、印刷装置100本体からも行うことができる。なお、印刷装置100とコンピュータ900とを併せて、広義の画像出力装置と呼ぶこともできる。
A. General configuration of printing device:
FIG. 1 is an explanatory diagram illustrating a schematic configuration of a
本実施例の印刷装置100は、いわゆる複合機タイプの印刷装置であり、その上部には、スキャナ110が設けられている。このスキャナ110を用いれば、コンピュータ900との接続の有無を問わず、印刷装置100単体で画像を取り込み、取り込んだ画像を印刷することができる。また、印刷装置100の前面にはメモリカードを挿入するためのメモリカードスロット120が設けられている。印刷装置100は、コンピュータ900との接続の有無を問わず、このメモリカードスロット120に挿入されたメモリカードから画像を入力して印刷を行うこともできる。
The
図の下部には、本実施例の印刷装置100の動作の概要を示した。本実施例の印刷装置100は、コンピュータ900やスキャナ110、メモリカード等から720dpi×720dpiの解像度で画像データを入力し、印刷媒体S上に720dpi×720dpiの解像度で印刷を行う。かかる印刷処理において、印刷装置100は、入力画像の中に白色と黒色の組み合わせのみで構成される部分(以下、このような部分を「白黒エッジ」と呼ぶ)が存在するか否かを判断する。その結果、白黒エッジが存在しない部分については、一旦、解像度を360dpi×360dpiに落として量子化テーブルや個数テーブル、順序値マトリクスと呼ばれる種々のテーブルを参照して第1のハーフトーン処理を行う。一方、白黒エッジが存在する部分については、事前に作成しておいた黒データテーブルと呼ばれるテーブルを参照しつつ720dpi×720dpiの解像度を保ったまま第2のハーフトーン処理を行う。そして、最終的に両部分を合成し、720dpi×720dpiの出力解像度で印刷を行う。こうすることで、白色と黒色の組み合わせによって構成される文字や記号等については、高解像度のまま明瞭な印刷を行うことができ、その他の背景部分については、データ量を削減しつつ印刷を行うことができる。以下、かかる印刷装置100の詳細な構成について説明する。
The outline of the operation of the
B.印刷装置の内部構成:
図2は、印刷装置100の内部構成を示す説明図である。図示するように、印刷装置100は、印刷媒体Sに印刷を行う機構として、インクカートリッジ212を搭載したキャリッジ210や、キャリッジ210を主走査方向に駆動するキャリッジモータ220、印刷媒体Sを副走査方向に搬送する紙送りモータ230等を備えている。
B. Internal configuration of the printing device:
FIG. 2 is an explanatory diagram illustrating an internal configuration of the
キャリッジ210は、プラテン270の軸方向と並行に設置された摺動軸280に移動自在に保持されている。キャリッジモータ220は、制御ユニット150からの指令に応じて駆動ベルト260を回転させることで、この摺動軸280に沿って、キャリッジ210を主走査方向に往復運動させることができる。
The
紙送りモータ230は、制御ユニット150からの指令に応じてプラテン270を回転させることで、プラテン270の軸方向と垂直に印刷媒体Sを搬送する。つまり、紙送りモータ230は、キャリッジ210を相対的に副走査方向に移動させることができる。
The
キャリッジ210には、シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(K)、ライトシアン(lc)、ライトマゼンタ(lm)、ダークイエロ(dy)、透明(cr)、の計8色のインクを収容したインクカートリッジ212が装着される(図中には、便宜上、4種類のインクカートリッジのみを示している)。インクカートリッジ212がキャリッジ210に装着されると、インクカートリッジ212内のインクは、図示しないインク通路を通じて、キャリッジ210の下面に設けられたインクヘッド211に供給される。なお、本実施例では、8色のインクを用いるものとするが、ライトシアンやライトマゼンタ、ダークイエロ、透明、の各色については使用しないものとしてもよい。なお、透明インクは、主に、他のインクが吐出されない白紙部分について吐出されるインクである。この透明インクによれば、色が印刷されない部分についても他のインクと同様の光沢感を与えることができる。
The
インクヘッド211には、インクの種類毎に8組のノズル列が副走査方向に配列されている。1組のノズル列には、90個のノズルが一定のピッチ(例えば、120分の1インチ=0.21mm)で配列されている。つまり、キャリッジが1回、主走査されると最大90本のラスタラインが一定のピッチ間隔を空けて同時に印刷媒体S上に形成されることになる。このピッチ間隔は、最終的に印刷媒体上に形成される隣接したラスタ間のピッチの整数倍である。ここで、ノズル列の副走査方向に配列されるノズル数をN[個](Nは正の整数)、およびノズル間のドットピッチをk[個](kはNと互いに素の関係にある整数)、ノズル密度をD[個/インチ]とした場合、主走査の度に、N/(D・k)相当の一定の距離だけ副走査方向へ印刷媒体を搬送すると、副走査方向において隣接するラスタが異なるノズルによって形成されることになる。そのため、個々のノズルの特性やピッチにばらつきが多少ある場合でも、このようなばらつきに起因するバンディングの発生を抑えることができ、高画質の印刷を行なうことができる。このような印刷方法をインタレース印刷という。
In the
インクヘッド211は、制御ユニット150による制御に応じて、吐出するインク滴の大きさを調整することができる。これにより、大ドット、中ドット、小ドットという3種類の大きさのドットを印刷媒体S上に形成することができる。
The
図3は、インクヘッド211から異なる大きさのインク滴が吐出される原理を示す説明図である。図の上部に示した電圧波形において、破線で示した波形が通常のドットを吐出する際の波形である。この電圧波形中に示した区間d2において、一旦、マイナスの電圧をピエゾ素子PEに印加すると、インク通路68の断面積を増大する方向にピエゾ素子PEが変形する。インクカートリッジ212のインク通路からのインクの供給速度には限界があるため、インク通路68の拡大に対してインクの供給量が不足する。この結果、図3下部の状態Aに示した通り、ノズルNz先端のインクの界面Meは、ノズルNz内側に凹んだ状態となる。
FIG. 3 is an explanatory diagram showing the principle by which ink droplets of different sizes are ejected from the
一方、実線で示す電圧波形を用い、区間d1に示すようにマイナス電圧をピエゾ素子PEに急激に印加すると、インクカートリッジ212からのインクの供給量はさらに不足した状態となる。従って、状態aで示す通りインク界面Meは状態Aに比べて更に内側に凹んだ状態となる。次に、ピエゾ素子PEに正の電圧が印加されると(区間d3)、インク通路68が狭められ、インクが吐出される。このとき、インク界面Meがあまり内側に凹んでいない状態(状態A)からは状態Bおよび状態Cに示すごとく大きなインク滴が吐出される。一方、インク界面Meが大きく内側に凹んだ状態(状態a)からは状態bおよび状態cに示すごとく小さなインク滴が吐出される。インクヘッド211からは、このようにして大きさの異なるインクが吐出されることになる。
On the other hand, if a negative voltage is suddenly applied to the piezo element PE as shown in the section d1 using the voltage waveform indicated by the solid line, the amount of ink supplied from the
説明を図2に戻す。印刷装置100は、上述した印刷機構を制御するための制御ユニット150を備えている。制御ユニット150には、印刷対象の画像データを入力するためのUSBインタフェース130や、スキャナ110、メモリカードスロット120が接続されている。また、制御ユニット150には、ユーザによる操作を受け付けるための操作パネル140が接続されている。
Returning to FIG. The
制御ユニット150は、USBインタフェース130やスキャナ110、メモリカードスロット120から入力した画像データに対して、所定の画像処理を施し、印刷機構を制御して印刷を行う機能を備える。制御ユニット150は、かかる機能を実現するため、CPU151やSDRAM152、ROM153、EEPROM154、画像処理ユニット155、ヘッドコントロールユニット156等を備えている。これらの各デバイスは、所定のバスを介して相互に接続されている。
The
ROM153には、印刷装置100の動作全体を制御するためのプログラムとしてファームウェアが記録されている。CPU151は、印刷装置100の電源投入時に、このファームウェアをSDRAM152の所定のワークエリアにロードして実行する。
In the
図4は、SDRAM152のメモリマップを示す説明図である。図示するように、SDRAM152には、ファームウェアFWのほか、様々なデータがCPU151によってROM153から読み出されて展開される。展開されるデータとしては、例えば、白黒エッジテーブルET、色変換テーブルLUT、量子化テーブルQT、第1ドット個数テーブルDT1、第2ドット個数テーブルDT2、順序値マトリクスOM、黒データテーブルBTなどがある。また、SDRAM152には、画像処理時に生成される様々な中間データを一時的に記憶するための様々なバッファ領域が確保されている。このバッファ領域としては、例えば、ラインバッファLB、エンコードデータバッファEB、ドット形成用データバッファDB、ヘッド駆動用データバッファHBなどがある。なお、ここに挙げたデータやバッファの働きについては、必要に応じてその都度説明する。
FIG. 4 is an explanatory diagram showing a memory map of the
説明を図2に戻す。EEPROM154には、印刷装置100の製造工程で検出された各個体に固有の特性を補正するためのデータが記録されている。かかる補正データとしては、例えば、インクヘッド211の各ノズルから吐出されるインクの量や、各ノズルから吐出されるインクの吐出方向を補正するためのデータが含まれる。これらの補正データは、後述する画像処理ユニット155によって色調を補正する際に用いられる。
Returning to FIG. In the
画像処理ユニット155は、印刷に関する画像処理機能に特化したカスタムLSIであり、内部は、大きく分けて、色変換回路300と、ハーフトーン回路400と、ヘッド駆動用データ変換回路500とによって構成されている。色変換回路300は、RGB形式のデータをCMYK形式のデータに変換する回路である。ハーフトーン回路400は、CMYK形式のデータに対してハーフトーン処理を施す回路である。ヘッド駆動用データ変換回路500は、ハーフトーン処理のなされたデータを、インクヘッド211を駆動するためのデータに変換するための回路である。
The
画像処理ユニット155は、画像処理に必要な種々の設定情報をセットするためのレジスタを備えている(図示せず)。印刷を行おうとする画像データの解像度や印刷媒体のサイズ、出力解像度のモードなど、コンピュータ900や操作パネル140によってユーザから設定された様々な設定情報は、CPU151によってこのレジスタに対して書き込まれる。画像処理ユニット155は、レジスタに書き込まれた設定情報に応じて種々の画像処理を行う。
The
ヘッドコントロールユニット156は、画像処理ユニット155によって最終的に生成されたヘッド駆動用データをSDRAM152のヘッド駆動用データバッファHBから取得し、かかるヘッド駆動用データに基づき、紙送りモータ230とキャリッジモータ220を制御しつつ、各ノズルから適切なタイミングでインク滴を吐出する。こうすることで、印刷媒体S上の適切な位置に各色のドットが形成され、カラー印刷が行われる。
The
C.画像処理ユニットの詳細な構成:
次に、画像処理ユニット155の詳細な構成について説明する。上述したように画像処理ユニット155は、色変換回路300とハーフトーン回路400とヘッド駆動用データ変換回路500とを備えているため、以下ではこれらの回路について順に説明する。
C. Detailed configuration of the image processing unit:
Next, a detailed configuration of the
C−1.色変換回路:
図5は、色変換回路300の詳細な構成を示すブロック図である。この色変換回路300は、RGB形式で表された画像データ(以下、「RGB画像データ」と呼ぶ)をCMYK形式の画像データ(以下、「CMYK画像データ」と呼ぶ)に変換する機能や、CMYK画像データに対して画質を向上させるための種々の画像処理を行う機能、入力したRGB画像データから白黒エッジ部分を抽出する機能等を有している。
C-1. Color conversion circuit:
FIG. 5 is a block diagram showing a detailed configuration of the
色変換回路300は、図示するように、ライン入力ユニット310と、白黒エッジ処理ユニット320と、色変換ユニット330と、インク量補正ユニット340と、印刷縞抑制ユニット350と、ビット減縮ユニット360と、透明インク後処理ユニット370と、ブロック内平滑化ユニット380とを備えている。以下、図の上段に位置するこれらのユニットをまとめてメインユニットと呼ぶ。
As shown in the figure, the
なお、本実施例の白黒エッジ処理ユニット320が、本願の「中間データ生成ユニット」に対応する。また、色変換回路300中の、色変換ユニット330と、インク量補正ユニット340と、印刷縞抑制ユニット350と、ビット減縮ユニット360と、透明インク後処理ユニット370と、ブロック内平滑化ユニット380と、後述するハーフトーン回路400内のエンコーダ410とが、本願の「画像処理ユニット」に対応する。
The monochrome
メインユニットは、データ線(data)、リクエスト線(req)、アクノリッジ線(ack)の3種類の信号線によって上述した順に直列に接続されている。各ユニットは、これらの信号線を用いてreq信号とack信号とをやりとりすることで、データの受け渡しを行っている。詳しくは、データを送信する側のユニットは、受信側のユニットに対してデータを送信すると、データを送信したことを知らせるreq信号を送信する。受信側は、req信号を受信すると、データが送信されてきていることがわかるので、データの読み込み処理を開始し、データを受信していることを示すack信号を返信する。そして、受信側のユニットが、読み込み処理を完了してack信号を元に戻すと、送信側はデータが確実に受信されたことが確認できる。そして、送信側のユニットは、req信号を元に戻し、次のデータの送信に移行する。 The main unit is connected in series in the order described above by three types of signal lines: a data line (data), a request line (req), and an acknowledge line (ack). Each unit exchanges data by exchanging a req signal and an ack signal using these signal lines. Specifically, when the data transmitting unit transmits data to the receiving unit, it transmits a req signal notifying that the data has been transmitted. When the receiving side receives the req signal, it knows that the data has been transmitted, so it starts the data reading process and returns an ack signal indicating that the data is being received. When the receiving unit completes the reading process and restores the ack signal, the transmitting side can confirm that the data has been reliably received. Then, the transmission-side unit returns the req signal to the original, and shifts to transmission of the next data.
色変換回路300には、色変換ユニット330からブロック内平滑化ユニット380までのメインユニットに対応するように、第1パスユニット390aから第6パスユニット390fまでの計6つのパスユニット390a〜390fが直列に設けられている。これらのパスユニット390a〜390fは、白黒エッジ処理ユニット320から出力されたデータを、後述するハーフトーン回路400に伝達すると共に、色変換ユニット330から出力される種々の情報をブロック内平滑化ユニット380まで伝達するために設けられたユニットである。
The
各パスユニット390a〜390fは、そのパスユニットに対応して設けられたメインユニットが前段のメインユニットに送信するack信号を分岐して入力すると、前段のパスユニットからデータを取り込む。そして、対応して設けられたメインユニットが後段のメインユニットから受信したack信号を分岐して入力すると、後段のパスユニットに対してデータを転送する。つまり、メインユニットにデータが伝達するのと同期して、パスユニット390a〜390fにもデータが順次伝達していくことになる。このような構成によれば、パスユニットを転送されている種々のデータを、対応するメインユニットに容易に取り込むことができ、回路の拡張性を高めることができる。また、取り扱うデータの容量が増加し、メインユニット間のバス幅が不足した場合にも、パスユニットを利用することでより多くのデータを扱うことが可能になる。
When each of the
図6は、パスユニット390a〜390fの内部構成を示す説明図である。図示するようにパスユニット390a〜390fは、8ビット16段のFIFOメモリとして構成されている。このFIFOメモリには、前段のパスユニットから転送された8ビットのデータが順次蓄積される。そして、後段のパスユニットに対して、蓄積された順序が古い順にデータが出力される。この8ビットのデータは、5ビットの白黒エッジデータと2ビットのエッジデータと1ビットのノイズデータとから構成される。
FIG. 6 is an explanatory diagram showing the internal configuration of the
(C−1−1)ライン入力ユニット:
ここで、説明を図5に戻し、メインユニットを構成する各ユニットの詳細について説明する。
ライン入力ユニット310は、USBインタフェース130やスキャナ110、メモリカードスロット120等から720dpi×720dpiの解像度を有するRGB画像データを入力し、入力したRGB画像データをラインバッファLBに蓄積する。そして、このラインバッファLBからRGB画像データを2ラインずつ読み込み、読み込んだ2ライン分のデータを白黒エッジ処理ユニット320に転送する。なお、ライン入力ユニット310は、入力したRGB画像データの解像度が360dpi×360dpiの時に、1ラインずつ画像データを転送する機能も備えている。
(C-1-1) Line input unit:
Here, the description returns to FIG. 5, and details of each unit constituting the main unit will be described.
The
(C−1−2)白黒エッジ処理ユニット:
図7は、図5に示した白黒エッジ処理ユニット320の内部構成を示す説明図である。図示するように、白黒エッジ処理ユニット320は、ライン入力ユニット310に接続された白黒エッジ判定回路321と、白黒エッジ判定回路321の出力を受けて階調値の平均化処理を行う平均化回路322と、白黒エッジ判定回路321の出力を受けて、白黒エッジ部分のエンコードを行う白黒エッジエンコード回路323と、ライン入力ユニット310と平均化回路322からの出力を受けて色変換ユニット330に出力するデータの選択を行うセレクタ回路324とを備えている。
(C-1-2) Monochrome edge processing unit:
FIG. 7 is an explanatory diagram showing the internal configuration of the monochrome
(C−1−2−1)白黒エッジ判定回路:
白黒エッジ判定回路321は、入力した画素が白黒エッジに該当するか否かを判定する回路である。具体的には、白黒エッジ判定回路321は、ライン入力ユニット310から入力した1ライン目と2ライン目の画像データから、2×2個の画素群(図中のA,B,C,D)を順次抽出し、この4つの画素が白黒エッジパターンであるか否かを判別する。白黒エッジパターンとは、4つの画素が、白(RGB=(255,255,255))と黒(RGB=(0,0,0))のみの色で構成されているパターンのうち、全画素白および全画素黒のパターンを除いたパターンのことをいう。白黒エッジ判定回路321は、抽出した4つの画素が白黒エッジパターンであれば、白黒エッジ判定フラグに「1」をセットし、白黒エッジパターンでなければ、白黒エッジ判定フラグに「0」をセットする。白黒エッジ判定回路321は、白黒エッジパターンの判別が終了すると、判定対象となった4つの画素のRGBデータを、平均化回路322と白黒エッジエンコード回路323との両者に出力する。このとき、白黒エッジエンコード回路323に対しては、上述した白黒エッジ判定フラグの値も出力する。
(C-1-2-1) Monochrome edge determination circuit:
The monochrome
(C−1−2−2)白黒エッジエンコード回路:
白黒エッジエンコード回路323は、白黒エッジパターンのデータを二値化して、5ビットのデータにエンコードする回路である。具体的には、白黒エッジ判定回路321から入力した白黒エッジ判定フラグに「1」がセットされていれば、白黒エッジ判定回路321から転送された4つの画素のRGBデータについて、白黒エッジテーブルETを参照してデータ変換を行い、5ビットの白黒エッジデータを生成する。
(C-1-2-2) Monochrome edge encoding circuit:
The monochrome
図8は、白黒エッジテーブルETの一例を示す説明図である。図示するように、白黒エッジテーブルETには、4つの画素のパターンに応じて、4ビットのエンコードデータが対応づけられて記憶されている。この白黒エッジテーブルETは、図4に示したようにSDRAM152に記憶されている。図の上部に示すように、4つの画素の左上の画素をA、右上をB、左下をC、右下をDとすると、例えば、白黒エッジエンコード回路323は、4つの画素のRGBデータが、(A,B,C,D)=(0,0,0,255)であれば、「0001」という4ビットデータに変換し、(A,B,C,D)=(0,0,255,0)であれば、「0010」という4ビットデータに変換する。なお、この白黒エッジテーブルETは、比較的、データ容量が少量であるため、白黒エッジエンコード回路323内に回路として組み込まれていてもよい。また、白黒エッジテーブルETを用いなくとも、各画素の階調値を255で除算し、その商の部分を結合してエンコードデータを動的に生成してもよい。
FIG. 8 is an explanatory diagram showing an example of the black and white edge table ET. As shown in the figure, the monochrome edge table ET stores 4-bit encoded data in association with the pattern of four pixels. This monochrome edge table ET is stored in the
説明を図7に戻す。一方、白黒エッジエンコード回路323は、白黒エッジ判定回路321から受信した白黒エッジ判定フラグに「0」がセットされていれば、白黒エッジテーブルETとは無関係に、白黒エッジ判定回路321から転送された4つの画素のRGBデータを、「0000」という4ビットデータにエンコードする。
Returning to FIG. On the other hand, if the monochrome edge determination flag received from the monochrome
白黒エッジエンコード回路323は、以上のように、4つの画素のRGBデータを4ビットのデータに変換すると、エンコードした結果の4ビットデータの最上位ビットに、白黒エッジ判定フラグの内容を付加し、最終的に5ビットの白黒エッジデータを生成する。例えば、4つの画素をエンコードした結果が「0001」であれば、最終的に得られるデータは、「10001」となる。なお、4つの画素が白黒エッジパターンでない場合には、最終的に得られるデータは、「00000」となる。この「00000」となるデータは、白黒エッジデータとは区別してダミーデータと呼ぶ場合がある。
As described above, the monochrome
白黒エッジエンコード回路323は、こうしてエンコードされた5ビットの白黒エッジデータを、第1パスユニット390aに転送する。そのため、パスユニット390a〜390fには、処理対象の4つの画素が白黒エッジパターンである場合には、白黒エッジデータが順次転送され、白黒エッジパターンでない場合には、ダミーデータが順次転送されることになる。
The monochrome
(C−1−2−3)平均化回路:
次に、図7の平均化回路322について説明する。平均化回路322は、4つの画素の階調値を平均化して解像度を低減する回路である。つまり、平均化回路322は、白黒エッジ判定回路321から入力した4つの画素のRGBデータに対して、4つの画素の階調値を平均化することで、720dpi×720dpiの画像データを360dpi×360dpi相当のデータに変換する。なお、白黒エッジ判定回路321から出力された4つの画素のRGBデータは、白黒エッジパターンに該当するか否かにかかわらず、平均化回路322にも入力されため、結果的に、白黒エッジパターンに該当する4つの画素も平均化されることになる。
(C-1-2-3) Averaging circuit:
Next, the averaging
4つの画素の階調値の平均化は、次の演算によって行うことができる。すなわち、4つの画素A,B,C,Dの階調値をそれぞれ、
A=(Ra,Ga,Ba)
B=(Rb,Gb,Bb)
C=(Rc,Gc,Bc)
D=(Rd,Gd,Bd)
とすると、変換後の1画素の階調値(R,G,B)は、
R=(Ra+Rb+Rc+Rd)/4
G=(Ga+Gb+Gc+Gd)/4
B=(Ba+Bb+Bc+Bd)/4
となる。もちろん、4で除する際には、2ビット分、値を右方向へビットシフトすることで容易に演算を行うことができる。こうして平均化されたRGBデータは、360dpi×360dpiの解像度に変換された1×1の新たな画素の階調値としてセレクタ回路324に出力される。
The averaging of the gradation values of the four pixels can be performed by the following calculation. That is, the gradation values of the four pixels A, B, C, and D are respectively set.
A = (Ra, Ga, Ba)
B = (Rb, Gb, Bb)
C = (Rc, Gc, Bc)
D = (Rd, Gd, Bd)
Then, the gradation value (R, G, B) of one pixel after conversion is
R = (Ra + Rb + Rc + Rd) / 4
G = (Ga + Gb + Gc + Gd) / 4
B = (Ba + Bb + Bc + Bd) / 4
It becomes. Of course, when dividing by 4, the calculation can be easily performed by bit-shifting the value to the right by 2 bits. The averaged RGB data is output to the
(C−1−2−4)セレクタ回路:
セレクタ回路324は、平均化回路322から出力された360dpi×360dpiのRGBデータと、ライン入力ユニット310から出力されたRGBデータとを入力する。そして、画像処理ユニット155が入力した原画像データの解像度が720dpi×720dpiの場合には、平均化回路322から入力したRGBデータを選択して、これを後段の色変換ユニット330に転送する。一方、画像処理ユニット155が入力した原画像データの解像度が360dpi×360dpiの場合には、ライン入力ユニット310から直接入力したRGBデータを選択して、これを後段の色変換ユニット330に転送する。つまり、印刷対象の画像データの入力解像度が低解像度(360dpi×360dpi)の場合には、白黒エッジ部分について高解像度(720dpi×720dpi)で処理することはできないから、白黒エッジ処理ユニット320は、ライン入力ユニット310から入力したRGBデータをスルーして出力するのである。
(C-1-2-4) Selector circuit:
The
以上で説明したように、白黒エッジ処理ユニット320は、ライン入力ユニット310から入力した画像データが、白黒エッジパターンからなるデータであれば、第1パスユニット390aに対して720dpi×720dpiの解像度を保ちつつ5ビット化した白黒エッジデータを出力し、更に、色変換ユニット330に対して、4画素の階調値を平均化した360dpi×360dpiのRGBデータを出力する。一方、ライン入力ユニット310から入力した画像データが、白黒エッジパターン以外の通常のデータであれば、第1パスユニットに対しては、5ビットのダミーデータを出力し、更に、色変換ユニット330に対して4画素の階調値を平均化した360dpi×360dpiのRGBデータを出力することになる。
As described above, the monochrome
なお、本実施例において、白黒エッジ処理ユニット320によって4画素の階調値が平均化されたRGBデータが、本願の「第1の中間データ」に相当し、白黒エッジをエンコードした白黒エッジデータが、本願の「第2の中間データ」に対応する。
In the present embodiment, the RGB data obtained by averaging the gradation values of the four pixels by the monochrome
(C−1−3)色変換ユニット:
図9は、図5に示した色変換ユニット330の内部構成を示す説明図である。色変換ユニット330は、白黒エッジ処理ユニット320から入力したRGBデータに対して色変換を施し、CMYKデータを生成するユニットである。図示するように、色変換ユニット330は、白黒エッジ処理ユニット320と接続され、RGB形式のデータをCMYK形式のデータに変換する変換回路331と、白黒エッジ処理ユニット320と接続され、2画素間のエッジを判定する標準エッジ判定回路332と、1ビットのノイズを発生するノイズ発生回路333と、変換回路331と標準エッジ判定回路332とノイズ発生回路333とに接続され、これらの回路から出力されたデータを用いて階調値の平滑化を行うスムージング回路334とを備えている。
(C-1-3) Color conversion unit:
FIG. 9 is an explanatory diagram showing an internal configuration of the
(C−1−3−1)変換回路:
変換回路331は、SDRAM152に記憶された色変換テーブルLUTを参照して、白黒エッジ処理ユニット320から入力したRGBデータをCMYKデータに変換する回路である。色変換テーブルLUTには、RGB形式で表される色と、C(シアン),M(マゼンタ),Y(イエロ),K(黒),lc(ライトシアン),lm(ライトマゼンタ),dy(ダークイエロ),cr(透明インク)の計8色の組み合わせによって表される色とが、対応づけられて記録されている。変換回路331は、白黒エッジ処理ユニット320から入力したRGBデータに対応するCMYKデータを、この色変換テーブルLUTを参照して導き出すことで、色変換を行うことができる。
(C-1-3-1) Conversion circuit:
The
(C−1−3−2)標準エッジ判定回路:
標準エッジ判定回路332は、白黒エッジ処理ユニット320から2画素分のRGBデータを入力すると、これらの画素間の水平方向への勾配(エッジ)を求め、その強度を、0から2までの度合いで表し、2ビットの標準エッジデータを生成する。かかる標準エッジデータは、白黒エッジデータとは異なる種類のデータである。
(C-1-3-2) Standard edge determination circuit:
When the standard
エッジの判定手順は、概ね次の通りである。まず、標準エッジ判定回路332は、水平方向の2つの画素のRGB階調値の差分Rdiff,Gdiff,Bdiffを、次のように計算する。なお、エッジを判定する対象画素のRGB値をR,G,Bと表し、その左側に位置する画素のRGB値をRp,Gp,Bpと表す。
The edge determination procedure is generally as follows. First, the standard
Rdiff=|R−Rp|
Gdiff=|G−Gp|
Bdiff=|BーGp|
Rdiff = | R−Rp |
Gdiff = | G-Gp |
Bdiff = | B-Gp |
次に、以下の式によって、RGB毎に重み付けを行う。なお、TR、TG、TBは、所定の閾値であり、例えば、TR=10、TG=8、TB=14とすることができる。 Next, weighting is performed for each RGB by the following formula. Note that TR, TG, and TB are predetermined threshold values, for example, TR = 10, TG = 8, and TB = 14.
Rdiff=Rdiff−(TR−TG)
Gdiff=Gdiff
Bdiff=Bdiff−(TB−TG)
Rdiff = Rdiff− (TR-TG)
Gdiff = Gdiff
Bdiff = Bdiff− (TB−TG)
そして、Rdiff、Gdiff、Bdiffのうち、最大値となる値を、最大差分DiffMaxとして次のように選択する。 Then, the maximum value among Rdiff, Gdiff, and Bdiff is selected as the maximum difference DiffMax as follows.
DiffMax=max(Rdiff,Gdiff,Bdiff) DiffMax = max (Rdiff, Gdiff, Bdiff)
最後に、最大差分DiffMaxが、閾値TGよりも小さければ、エッジなしと判定し、標準エッジデータを「0」とする。また、最大差分DiffMaxが、閾値TGよりも大きく、閾値TGに所定のオフセット値(例えば8)を加えた値よりも小さければ、弱いエッジがあると判定し、標準エッジデータを「1」とする。また、最大差分DiffMaxが、閾値TGに所定のオフセット値を加えた値よりも大きければ、強いエッジありと判定し、標準エッジデータを「2」とする。なお、白黒エッジ処理ユニット320から入力した白黒エッジ判定フラグの状態が、「1」であれば、最大差分DiffMaxの値に関係なく、その画素の標準エッジデータは、最も強いエッジを表す「2」とする。標準エッジ判定回路332は、このようにして判定された標準エッジデータをスムージング回路334と第2パスユニット390bとに対して出力する。第2パスユニット390bに出力された標準エッジデータは、後述するブロック内平滑化ユニット380までパスユニット群を通じて転送されることになる。
Finally, if the maximum difference DiffMax is smaller than the threshold TG, it is determined that there is no edge, and the standard edge data is set to “0”. If the maximum difference DiffMax is larger than the threshold TG and smaller than a value obtained by adding a predetermined offset value (for example, 8) to the threshold TG, it is determined that there is a weak edge, and the standard edge data is set to “1”. . If the maximum difference DiffMax is larger than the value obtained by adding a predetermined offset value to the threshold TG, it is determined that there is a strong edge, and the standard edge data is set to “2”. If the state of the monochrome edge determination flag input from the monochrome
(C−1−3−3)ノイズ発生回路:
ノイズ発生回路333は、「0」か「1」かの値を表す1ビットのノイズデータ(乱数)をランダムに発生する回路である。ノイズ発生回路333は、異なる2つのノイズデータを生成し、一方をスムージング回路334に出力し、他方を、第2パスユニット390bに出力する。第2パスユニット390bに出力されたノイズデータは、後述するブロック内平滑化ユニット380までパスユニット群を通じて転送されることになる。
(C-1-3-3) Noise generation circuit:
The
(C−1−3−4)スムージング回路:
スムージング回路334は、標準エッジ判定回路332から入力した標準エッジデータと、ノイズ発生回路333から入力したノイズデータとに基づき、変換回路331から出力されたCMYKデータに対して階調値の平滑化を行う。平滑化の手順は、概ね次の通りである。
(C-1-3-4) Smoothing circuit:
The smoothing
まず、スムージング回路334は、標準エッジデータの値を判定し、標準エッジデータの値が、0または1であれば、以下の演算により、水平方向の2画素についてCMYK各色の平滑化を行う。なお、下記演算式において、Cは、スムージング対象の画素の階調値を表し、Cpは、スムージング対象の画素の左側に位置する画素の階調値を表す。また、SP0およびSP1は、所定の重み付けパラメータ(例えば、SP0=4,SP1=2)を表し、Nは、ノイズデータの値(0または1)を表す。
First, the smoothing
(1)標準エッジデータが0の場合:
C=(C+Cp×(SP0−1)+N×(SP0−1))/SP0
(2)標準エッジデータが1の場合:
C=(C+Cp×(SP1−1)+N×(SP1−1))/SP1
(1) When standard edge data is 0:
C = (C + Cp × (SP0-1) + N × (SP0-1)) / SP0
(2) When the standard edge data is 1:
C = (C + Cp × (SP1-1) + N × (SP1-1)) / SP1
一方、スムージング回路334は、標準エッジデータの値が2であれば、その画素が強いエッジを有していると判断し、平滑化を行わない。こうすることにより、出力画像の明瞭度が低下することを抑制することができる。スムージング回路334は、こうして平滑化処理を行ったCMYKデータをインク量補正ユニット340に出力する。
On the other hand, if the value of the standard edge data is 2, the smoothing
(C−1−4)インク量補正ユニット:
説明を図5に戻す。インク量補正ユニット340は、色変換ユニット330から出力されたCMYKデータを入力し、かかるCMYKデータの階調値を補正することで、各ノズルから吐出されるインク量の補正を行うためのユニットである。インクの種類毎に用意されたインクヘッド211内のノズル列は、製造誤差に起因してその内径やピエゾ素子の変形度が異なることがあり、同じ階調値でインクを吐出したとしても、吐出されるインクの量がノズル列毎に異なることがある。そのため、印刷装置100の製造工程において、各ノズル列から吐出されるインクの量が予め検査され、その量の相違を解消するための補正データがEEPROM154に記録されている。
(C-1-4) Ink amount correction unit:
Returning to FIG. The ink
インク量補正ユニット340は、EEPROM154に記録された補正データを読み込み、かかる補正データに基づいて、CMYK形式の各色の階調値を補正する。例えば、シアンのノズル列から吐出されるインクの量が、他の色のノズル列から吐出されるインクの量よりも多ければ、シアンの階調値が他の色の階調値よりも低くなるようにその階調値が補正されることなる。こうすることで、各ノズル列から吐出されるインクの量を均一化することができる。
The ink
インク量補正ユニット340は、補正の精度を向上させるため、入力された8ビットのデータを内部で12ビットのデータに拡張した上で補正を行なう。つまり、通常256階調で表されるCMYKの階調値を4096階調まで拡張して補正を行う。12ビットへの拡張は、入力したCMYKデータを左に4ビット分だけビットシフトすることにより行うことができる。インク量補正ユニット340は、上述した補正を行うと、各色12ビットのCMYKデータを印刷縞抑制ユニット350に転送する。
The ink
(C−1−5)印刷縞抑制ユニット:
印刷縞抑制ユニット350は、インク量補正ユニット340から各色12ビットのCMYKデータの転送を受けると、かかるデータに対して、印刷縞を抑制するための補正を行う。インクヘッド211内のノズル列は、一定のピッチで副走査方向に配列されているが、全てのノズルから垂直にインクが吐出されるとは限らず、ノズルの製造誤差によってインクが傾いて吐出される場合がある。このような場合に印刷媒体に画像を印刷すると、この傾きによって、主走査方向に印刷縞が現れる場合がある。そのため、印刷装置100の製造工程において、各ノズルの傾きが検査され、その傾きを解消するための補正データが予めEEPROM154に記録されている。
(C-1-5) Print stripe suppression unit:
When receiving the transfer of 12-bit CMYK data of each color from the ink
印刷縞抑制ユニット350は、EEPROM154に記録された補正データを読み込み、かかる補正データに基づいてCMYK形式の各色の階調値を補正する。例えば、現在入力したCMYKデータが、印刷縞が発生するラスタラインに属するデータであれば、階調値を高めることで、インクの吐出数が多くなるように補正を行う。また、ノズルの傾きによってドットが重なってしまうラスタラインに属するCMYKデータであれば、階調値を低減することで、インクの吐出数が少なくなるように補正を行う。こうすることで、印刷縞の発生を抑制することができる。なお、この印刷縞抑制ユニット350においても、補正の精度を向上させるため、12ビットに拡張されたCMYKデータに対して補正を行う。印刷縞抑制ユニット350は、上述した補正を行うと、各色12ビットのCMYKデータをビット減縮ユニット360に転送する。
The print
なお、上述したインク量補正ユニット340および印刷縞抑制ユニット350は、それぞれEEPROM154から補正データを入力するものとしたが、補正データは、印刷装置100の電源投入時にEEPROM154からSDRAM152にロードして、SDRAM152から入力するものとしてもよい。こうすることにより、高速に補正を行うことができる。
The ink
(C−1−6)ビット減縮ユニット:
ビット減縮ユニット360は、印刷縞抑制ユニット350から12ビットのCMYKデータを受信すると、データ量を削減するため、かかるデータを減縮して8ビットのデータに戻す。具体的には、12ビットのCMYKデータに対して4ビットのノイズを加算した後に、12ビット中の下位4ビットを切り落とすことで8ビットのデータを生成する。もちろん、12ビットのデータを4ビット分、右にビットシフトしてから上位4ビットを切り落とすものとしてもよい。上述のようにノイズを加算するものとすれば、単純に下位4ビットを切り落とす場合よりも、連続して同じデータが生成されることが抑制され、画質が低下してしまうことを抑制することができる。なお、本実施例では、上述した4ビットのノイズは、ビット減縮ユニット360が内部にノイズ発生回路を備えることで生成するものとする。ただし、色変換ユニット330から転送されてきたノイズデータを第3パスユニット390cから分岐して入力してもよい。ビット減縮ユニット360は、こうして8ビットのデータにCMYKデータを変換すると、かかるデータを透明インク後処理ユニット370に転送する。
(C-1-6) Bit reduction unit:
When the
(C−1−7)透明インク後処理ユニット:
透明インク後処理ユニット370は、ビット減縮ユニット360から8ビットのCMYKデータを入力すると、かかるCMYKデータのうち、cr(透明インク)のデータについて、印刷媒体Sよりもはみ出す部分にインクが吐出されないように階調値を0とする補正を行う。画像処理ユニット155のレジスタには、印刷媒体Sのサイズ情報がCPU151によってセットされるため、かかるレジスタを参照することで、現在入力したCMYKデータのドット形成位置が印刷媒体Sの外に該当するか否かを判断することができる。
(C-1-7) Transparent ink post-processing unit:
When the transparent ink
印刷装置100は、いわゆる縁なし印刷時には、印刷媒体Sよりも大きな印刷面に対してインクを吐出し、余分なインクを印刷媒体Sの外に捨てることで印刷媒体Sの全面に亘って印刷を行うが、透明インクは、顔料(あるいは染料)を含まない分、他のインクに比べて樹脂成分が多く含まれており、印刷媒体外にインクを捨てると、廃棄されたインクを吸収するための廃インク吸収体(スポンジ等)の表面に樹脂が固着して他のインクの吸収が妨げられるおそれがある。そのため、透明インク後処理ユニット370により、印刷媒体からはみ出す印刷領域について透明インクの階調値をゼロとすれば、このような現象を抑制することが可能になる。
During so-called borderless printing, the
(C−1−8)ブロック内平滑化ユニット:
ブロック内平滑化ユニット380は、透明インク後処理ユニット370から、隣接する2画素分のCMYKデータを入力し、更に、第5パスユニット390eを介して色変換ユニット330から出力された2ビットの標準エッジデータと1ビットのノイズデータとを入力する。そして、色変換ユニット330から出力された2ビットの標準エッジデータと1ビットのノイズデータとを利用して、透明インク後処理ユニット370から入力した2画素の階調値の平滑化を行う。平滑化は、2画素間の標準エッジデータが設定値(例えば0もしくは1)以下となる場合に、2画素のCMYKデータを加算し、更に、1ビットのノイズデータの値をこれに加算して、その加算値を2で除算することで行う。つまり、新たな階調値は、2画素とも同じ値となる。画素間でエッジの強度が低い場合には、後述する2×2モード時の順序値マトリクスに基づく1ブロック内のドットの配置の結果、印刷媒体上にドットが隣接して形成されてしまう場合があり、画質が低下するおそれがある。そのため、ハーフトーン処理を行う前に予め、エッジの強度の低い画素同士の階調値を平均化して同じ値とすることで、ドットが隣接して形成されないようにしている。この結果、画質を向上させることができる。なお、本実施例では、ブロック内平滑化ユニット380は、色変換ユニット330から出力されて、パスユニット群を転送されてきた標準エッジデータとノイズデータとを利用するものとしたため、ブロック内平滑化ユニット380内でこれらのデータを生成する必要がなく、重複した処理を省略することができる。
(C-1-8) In-block smoothing unit:
The in-
以上で色変換回路300の詳細な構成について説明した。かかる色変換回路300によれば、ハーフトーン回路400に対して、360dpi×360dpi相当の解像度を有する各色8ビットのCMYKデータと、720dpi×720dpi相当の解像度を有する5ビットの白黒エッジデータとが出力されることになる。
The detailed configuration of the
C−2.ハーフトーン回路:
図10は、ハーフトーン回路400とヘッド駆動用データ変換回路500の詳細な構成を示すブロック図である。以下では、まず、ハーフトーン回路400について説明する。ハーフトーン回路400は、0から255までの階調値で色の濃淡が表現されたCMYKデータを、印刷媒体上に形成すべきドットの粗密を表すドット形成用データに変換する回路である。印刷装置100は、基本的に、印刷媒体Sに対してインクを打つか打たないかのいずれかの状態をとり得るにすぎず、インクの吐出により形成されるドットの分布によって色の濃淡を表す必要があるからである。ハーフトーン処理の一般的な手法としては、誤差拡散法や組織的ディザ法などの周知の手法が存在するが、本実施例では組織的ディザ法を発展させた独自の手法によりハーフトーン処理を行う。
C-2. Halftone circuit:
FIG. 10 is a block diagram showing a detailed configuration of the
<ハーフトーン処理の概念>
ここで、本実施例のハーフトーン処理の概念を従来の組織的ディザ法と比較して説明する。
図11は、従来の組織的ディザ法によるハーフトーン処理の概要を示す説明図である。従来の組織的ディザ法では、図の上部に示すように、所定の大きさ(ここでは128×64とする)のディザマトリクスに対して、1から255までの閾値が万遍なく分散されて配置されている。かかるディザマトリクスを用いてハーフトーン処理を行うには、図の下部に示すように、CMYK画像データを構成する各画素の階調値と、ディザマトリクス上でその画素に対応する位置に存在する閾値とを比較し、その閾値を超える階調値である場合には、その位置にドットを形成し、閾値を超えない場合には、その位置にはドットを形成しないと判定する。こうすることで、256階調のCMYKデータを、ドットの有無を表すドット形成用データに変換することができる。
<Concept of halftone processing>
Here, the concept of the halftone process of the present embodiment will be described in comparison with the conventional systematic dither method.
FIG. 11 is an explanatory diagram showing an outline of halftone processing by a conventional systematic dither method. In the conventional systematic dither method, as shown in the upper part of the figure, threshold values from 1 to 255 are uniformly distributed with respect to a dither matrix having a predetermined size (here, 128 × 64). Has been. In order to perform halftone processing using such a dither matrix, as shown in the lower part of the figure, the gradation value of each pixel constituting the CMYK image data and the threshold value present at the position corresponding to that pixel on the dither matrix If the gradation value exceeds the threshold value, a dot is formed at that position, and if the threshold value is not exceeded, it is determined that no dot is formed at that position. By doing so, it is possible to convert 256-tone CMYK data into dot formation data indicating the presence or absence of dots.
本実施例では、図11の上部に示した128画素×64画素といった大きなディザマトリクスから閾値を順次取り出して、ハーフトーン処理を行なうのではない。例えば、図中の枠線RG内に示した閾値群のように、128画素×64画素のディザマトリクスから、その左上を原点として4×2を単位とする閾値群を取り出し、その位置に応じて予め各閾値群にブロック番号と呼ぶ一意の番号を付与しておく。そして、ブロック番号毎に、4×2の閾値群を用いて、画素の階調値をドットの有無を表すデータに変換する。つまり、本実施例では、4×2の画素を単位としてハーフトーン処理を行なうのである。この点について、以下説明する。 In this embodiment, halftone processing is not performed by sequentially extracting threshold values from a large dither matrix of 128 pixels × 64 pixels shown in the upper part of FIG. For example, as in the threshold value group shown in the frame RG in the figure, a threshold value group having 4 × 2 as the origin is extracted from the 128 pixel × 64 pixel dither matrix, and the position is set according to the position. A unique number called a block number is assigned to each threshold group in advance. Then, for each block number, the gradation value of the pixel is converted into data representing the presence / absence of a dot using a 4 × 2 threshold value group. That is, in this embodiment, halftone processing is performed in units of 4 × 2 pixels. This point will be described below.
図11に示した大域的なディザマトリクスから取り出された4×2の大きさの閾値群は全て異なる閾値の組み合わせになっている。従って、4×2の画素群の階調値が全て同じであると仮定して、その画素群の階調値が0から255まで段階的に上昇していくと、4×2の閾値群に含まれる8つの閾値に応じたところで、ドットのオン・オフが変化することになる。 The threshold groups having a size of 4 × 2 extracted from the global dither matrix shown in FIG. 11 are all combinations of different threshold values. Therefore, assuming that the gradation values of the 4 × 2 pixel group are all the same, and the gradation value of the pixel group rises in steps from 0 to 255, the threshold value group of 4 × 2 is obtained. The dot on / off changes according to the eight included thresholds.
図12は、4×2の画素群についてドット数が変化する様子を示す説明図である。図12(a)に示した閾値群を例に取ると、図12(b)に示すように、階調値が1,42,58,109,170,177,212,255の8カ所で、それぞれ発生するドットの数が0から1個、1個から2個・・・7個から8個に変化する。もとより、閾値群が異なれば、発生するドットの個数が変化する階調値は異なる。このため、同じ階調値を有する画素が画像データ内に連続して続いても、異なる閾値群を順次適用していれば、図11の大きなディザマトリクスを用いるのと同じ結果が得られることになる。 FIG. 12 is an explanatory diagram showing how the number of dots changes for a 4 × 2 pixel group. Taking the threshold value group shown in FIG. 12 (a) as an example, as shown in FIG. 12 (b), the gradation values are eight places of 1,42,58,109,170,177,212,255, The number of generated dots changes from 0 to 1, 1 to 2,... 7 to 8. Of course, if the threshold value group is different, the gradation value at which the number of generated dots changes is different. For this reason, even if pixels having the same gradation value continue in succession in the image data, the same result as using the large dither matrix of FIG. 11 can be obtained if different threshold groups are sequentially applied. Become.
図12(b)に示したドットが増加する階調値の変化点は、閾値群毎に異なるので、予め閾値群毎に、階調値と発生するドット数との関係を求めて対応表にしておくことができる。かかる対応表が準備されていれば、画像データ中のある画素の階調値が与えられたとき、その画素に対して適用すべき閾値群をブロック番号を用いて特定し、そのブロック番号とその画素の階調値とを用いて対応表を参照すれば、発生すべきドットの個数を取得することができる。また、適用する閾値群が決まれば、その閾値群内の閾値の小さいところから順にドットを形成すればよいから、ドット形成の順序も必然的に定まることになる。 Since the change point of the gradation value at which dots increase as shown in FIG. 12B is different for each threshold group, the relationship between the gradation value and the number of dots to be generated is obtained in advance for each threshold group to obtain a correspondence table. I can keep it. If such a correspondence table is prepared, when a gradation value of a certain pixel in image data is given, a threshold group to be applied to the pixel is specified using a block number, and the block number and its By referring to the correspondence table using the gradation value of the pixel, the number of dots to be generated can be acquired. If the threshold group to be applied is determined, dots need only be formed in order from the smallest threshold within the threshold group, and the dot formation order is inevitably determined.
図13は、階調値と、発生するドットの個数と、その配置の関係を示す説明図である。例えば、ある画素の階調値が127だとすると、上述した対応表(後述する量子化データとドット個数テーブルに相当する)を参照することにより、その画素に適用させる閾値群のブロック番号と階調値127とから、形成すべきドットの個数(図中の例では4個)を得ることができる。他方、ドットを形成すべき順番を定義した順序値マトリクスOMもブロック番号毎に定まる。そこで、この二つを合わせることにより、図13の下欄右端に示したように、4個のドットの配置を決定することができる。なお、図中の順序値マトリクスOMは、上述したディザマトリクスを4×2のブロック毎に分割して、各ブロック毎に一意のブロック番号を付与し、そのブロック内の閾値の小さい順からドットの生成順序を表す順序値を与えることにより生成したものである。 FIG. 13 is an explanatory diagram showing the relationship between gradation values, the number of generated dots, and their arrangement. For example, if the gradation value of a certain pixel is 127, the block number and gradation value of the threshold group to be applied to that pixel by referring to the above-described correspondence table (corresponding to the quantization data and dot number table described later). 127, the number of dots to be formed (4 in the example in the figure) can be obtained. On the other hand, an order value matrix OM that defines the order in which dots are to be formed is also determined for each block number. Therefore, by combining these two, it is possible to determine the arrangement of the four dots as shown at the right end of the lower column of FIG. Note that the order value matrix OM in the figure divides the above-mentioned dither matrix into 4 × 2 blocks, assigns unique block numbers to the respective blocks, and sets the dot values in ascending order of threshold values within the block. It is generated by giving an order value representing the generation order.
以上の説明によれば、本実施例のハーフトーン処理では、画像データ中のある画素に適用する階調値の情報を、ハーフトーン処理に利用する閾値群が有するドット発生の変化点の情報と、どの順序でドットが発生するかという情報とに分けてコード化し、その後これをデコードして、ドットの発生位置を決定するという処理を行なっているということができる。 According to the above description, in the halftone processing of the present embodiment, the information on the gradation value applied to a certain pixel in the image data is the information on the change point of the dot occurrence included in the threshold group used for the halftone processing. It can be said that processing is performed in which the information is encoded separately with the information indicating in which order the dots are generated, and then decoded to determine the dot generation position.
ここまでは、印刷媒体上に形成されるドットの大きさは1種類であるものとして説明した。図11、図12、図13は、単一種類のドットのオン・オフを決める場合についての例示に過ぎない。実際の印刷装置では、大中小ドット、あるいは濃淡ドットなど、複数種類のドットを同一の画素に形成可能なので、ドットのオン・オフの決定は、もう少し複雑である。そこで、次にこの点について説明する。 Up to this point, the description has been given assuming that there is only one type of dot formed on the print medium. 11, 12, and 13 are merely examples for determining on / off of a single type of dot. In an actual printing apparatus, a plurality of types of dots, such as large, medium, small and light dots, or light and dark dots, can be formed on the same pixel, so determination of dot on / off is a little more complicated. Therefore, this point will be described next.
図14は、本実施例の印刷装置100のように大中小のドットを形成可能な場合に、上記の考え方を拡張する手法を示している。この場合、階調値に応じて形成するドットの組み合わせを予め決定するため、まず、図14(a)に示すように、画像データの階調値に対して、各階調値で、小ドット、中ドット、大ドットを形成する密度のデータに変換する。図14(a)の関係は、例えば、印刷装置毎、あるいは、印刷の品質や用紙の種類などに応じて予め設定されている。図14(a)に示したグラフによれば、ある階調値が与えられると、小ドットの密度データ、中ドットの密度データ、大ドットの密度データが得られることになる。
FIG. 14 shows a method for extending the above-described concept when large, medium, and small dots can be formed as in the
いま、図14(b)に示した4×2の画素群に対して階調値127が与えられ、図14(a)に示した関係から、小ドット密度データが32、中ドット密度データが90、大ドット密度データが2、と得られたとする。そうすると、大中小の各ドットのオン・オフは、大中小のドット密度データを、この順に、4×2の閾値群内の閾値と比較して定めることになる。
Now, the
まず、大ドット密度データ2と、各閾値とを比較すると、図14(c)に示したように、閾値「1」の画素について大ドットがオンになる。この閾値「1」以外の画素で、オンになるところはない。そこで、次に中ドットについて判定する。中ドットについて判定する場合には、中ドット密度データに大ドット密度データを加えて(90+2=92)、これと閾値群との比較を行なう。この結果、図14(d)に示したように、閾値が「58」と「42」の画素において、中ドットがオンになる。更に、小ドットについて判定するが、この場合には、小ドット密度データに中および大ドット密度データを加え(32+90+2=124)、これと閾値群との比較を行なう。この結果、図14(e)に示したように、閾値「109」の画素において、小ドットがオンとなる。
First, when the large
上述した手法によれば、大中小ドットが形成可能な場合でも、ある階調値が与えられ、適用する閾値群が決まれば、大中小ドットの形成態様(各ドットの形成数およびその配置)は、一意に決定される。そこで、図12を用いて説明したのと全く同じように、予め用意した大域的なディザマトリクスから4×2の閾値群を取り出して、これにそれぞれブロック番号を付け、対応する画素群の階調値が最小値から最大値まで(この実施例では、0から255まで)変化させた場合の大中小のドットの形成態様の移り変わりを調べて、対応表として準備しておくことができる。この関係を調べて大中小ドットの場合の対応表を示したのが、図15および図16である。 According to the above-described method, even when large, medium, and small dots can be formed, if a certain gradation value is given and the threshold value group to be applied is determined, the formation mode of the large, medium, and small dots (the number of dots formed and their arrangement) , Determined uniquely. Therefore, in exactly the same manner as described with reference to FIG. 12, a 4 × 2 threshold group is extracted from a global dither matrix prepared in advance, and a block number is assigned to each group, and the gradation of the corresponding pixel group is obtained. A transition table of large, medium, and small dots when the value is changed from the minimum value to the maximum value (from 0 to 255 in this embodiment) can be examined and prepared as a correspondence table. FIG. 15 and FIG. 16 show the correspondence table in the case of large, medium and small dots by examining this relationship.
図15は、ブロック番号N1からN5までの、5つの閾値群について、画像データの階調値が0から255まで変化する際に、大中小ドットの形成態様がどのように変化していくかを表すグラフである。横軸には、階調値を示し、縦軸には、その階調値に対応する大中小ドットの形成態様をコード化した量子化データの値を示している。図15では、理解の便を図るため、ブロック番号毎に、縦軸をずらして量子化データの遷移を描いてある。図示するように、ブロック番号毎にドットの形成態様の遷移状態が異なるのは、閾値群内の閾値の組み合わせが異なれば、つまりブロック番号が異なれば、図12を用いて説明したのと同様に、大中小のドットの形成態様が変化するからである。 FIG. 15 shows how large, medium, and small dot formation modes change when the tone value of the image data changes from 0 to 255 for the five threshold groups of block numbers N1 to N5. It is a graph to represent. The horizontal axis indicates the gradation value, and the vertical axis indicates the value of the quantized data that encodes the formation mode of large, medium, and small dots corresponding to the gradation value. In FIG. 15, for convenience of understanding, the transition of quantized data is drawn with the vertical axis shifted for each block number. As shown in the figure, the transition state of the dot formation mode is different for each block number if the combination of thresholds in the threshold group is different, that is, if the block number is different, as described with reference to FIG. This is because the formation mode of large, medium and small dots changes.
図16は、図15に示したグラフを対応表として表した説明図である。以下では、この対応表を量子化テーブルQTという。この量子化テーブルQTによれば、ハーフトーン処理を行なうとする画素の階調値が与えられた場合に、その画素に適用する閾値群をブロック番号によって特定し、この量子化テーブルQTを参照すれば、そのブロック番号と階調値とから、直ちにドットの形成態様をコード化した量子化データを取得することができる。本実施例では、こうして、画素の階調値を量子化データに変換することを、エンコードと呼ぶ。なお、図16の量子化テーブルQTで、その最大値が必ずしも同一となっていないのは、閾値の組み合わせによっては、大中小ドットの組み合わせの変化が生じる回数が異なるからである。しかし、この最大回数が32を越えることはなく、図16に示した量子化データは、少なくとも5ビットあれば表現することができる。なお、本実施例では、ドットの形成態様をコード化した値を「量子化データ」と表現したが、これは、量子化テーブルQTを用いることにより、画素の階調値が見かけ上、より少ない値で表現されるために、「量子化」という言葉を用いたためである。 FIG. 16 is an explanatory diagram showing the graph shown in FIG. 15 as a correspondence table. Hereinafter, this correspondence table is referred to as a quantization table QT. According to this quantization table QT, when a gradation value of a pixel to be subjected to halftone processing is given, a threshold group to be applied to that pixel is specified by a block number, and this quantization table QT is referred to. For example, from the block number and the gradation value, it is possible to immediately obtain quantized data that encodes the dot formation mode. In this embodiment, this conversion of the pixel gradation value into quantized data is called encoding. The reason why the maximum values are not necessarily the same in the quantization table QT in FIG. 16 is that the number of times that the combination of large, medium, and small dots occurs varies depending on the combination of threshold values. However, this maximum number does not exceed 32, and the quantized data shown in FIG. 16 can be expressed with at least 5 bits. In the present embodiment, the value obtained by encoding the dot formation mode is expressed as “quantized data”. However, this uses the quantization table QT so that the gradation value of the pixel is apparently smaller. This is because the term “quantization” is used to express the value.
次に、量子化テーブルQTを用いてエンコードされた量子化データをデコードする処理について説明する。ドットの個数データから4×2のピクセルにドットを配置するデコードの仕組みについては、単一種類のドットが形成可能な場合について、図13を用いて既に簡単に説明した。本実施例のハーフトーン処理では、実際には、大中小の3種類の大きさのインク滴を印刷媒体上に吐出して大中小ドットを形成しているが、デコード処理の仕組みは、図13を用いて説明した場合と異ならない。すなわち、まず、上述したエンコード処理の結果得られた量子化データから、第1ドット個数テーブルDT1(図22)と第2ドット個数テーブルDT2(図23)とを参照して目的の領域に形成する大中小ドットの各個数を得る。そして、ブロック番号に対応した順序値マトリクスを参照することにより、その個数に応じたドットの配置を定める。そして、この順序通りに必要な数の大中小ドットを配置すればハーフトーン処理が完了する。 Next, a process for decoding quantized data encoded using the quantization table QT will be described. The decoding mechanism for arranging dots in 4 × 2 pixels from the dot count data has already been briefly described with reference to FIG. 13 in the case where a single type of dot can be formed. In the halftone process of the present embodiment, in fact, large, medium, and small ink droplets are ejected onto the print medium to form large, medium, and small dots. The decoding process mechanism is shown in FIG. It is not different from the case explained using. That is, first, the quantized data obtained as a result of the encoding process described above is formed in a target region with reference to the first dot number table DT1 (FIG. 22) and the second dot number table DT2 (FIG. 23). Get the number of large, medium and small dots. Then, by referring to the order value matrix corresponding to the block number, the dot arrangement corresponding to the number is determined. If the necessary number of large, medium, and small dots are arranged in this order, halftone processing is completed.
以上で説明したように、本実施例のハーフトーン処理では、ある画素の階調値が与えられたとき、その画素が属しているブロック番号とその階調値とから量子化テーブルQTが参照され、その階調値が量子化データにエンコードされる。そして、この量子化データを、図22や図23のドット個数テーブルと、順序値マトリクスとを用いることでデコードすることにより、ハーフトーン処理が完了する。このように、本実施例では、量子化テーブルや個数テーブルなど、各種テーブルを参照するだけでハーフトーン処理を行うことができるので、従来の組織的ディザ法のように、階調値と閾値の大小を比較する条件分岐処理が不要となり、処理スピードを向上させることができる。また、本実施例のハーフトーン処理では、組織的ディザ法をその技術のベースとしているため、誤差拡散法に特有な疑似輪郭ノイズなどが発生することがなく、非常に高画質な印刷を行うことが可能になる。 As described above, in the halftone processing of this embodiment, when a gradation value of a certain pixel is given, the quantization table QT is referred to from the block number to which the pixel belongs and the gradation value. The gradation value is encoded into the quantized data. Then, the halftone process is completed by decoding the quantized data by using the dot number table of FIGS. 22 and 23 and the order value matrix. As described above, in this embodiment, halftone processing can be performed only by referring to various tables such as a quantization table and a number table. Therefore, as in the conventional systematic dither method, the gradation value and the threshold value are set. Conditional branch processing for comparing sizes is not necessary, and the processing speed can be improved. In addition, since the halftone processing of this embodiment is based on the systematic dither method, pseudo-contour noise peculiar to the error diffusion method does not occur and very high-quality printing is performed. Is possible.
<ハーフトーン回路の詳細>
ここで、説明を図10に戻し、ハーフトーン回路400を構成する各ユニットの詳細について説明する。図10に示すように、ハーフトーン回路400は、図5に示した色変換回路300内のブロック内平滑化ユニット380に接続されておりCMYKデータのエンコードを行うエンコーダ410と、エンコーダ410および第7パスユニット390gに接続され、これらから出力されたデータを選択するデータセレクタ420と、データセレクタ420と接続され、データセレクタ420から出力されたデータをエンコードデータバッファEBに対して蓄積するEB制御ユニット440と、エンコードデータバッファEBと接続され、エンコードデータバッファEBに蓄積されたエンコードデータのデコードを行うデコーダ430とを備えている。
<Details of halftone circuit>
Here, the description will be returned to FIG. 10 and the details of each unit constituting the
データセレクタ420の前段に接続された第7パスユニット390gは、色変換回路300中の第6パスユニット390fに直列に接続されている。第7パスユニット390gに対応するメインユニットは、エンコーダ410である。そのため、例えば、第7パスユニット390gに白黒エッジデータが到達した場合には、その白黒エッジデータのエンコード元となった4つの画素を平均化したCMYKデータがエンコーダ410に到達する。そして、エンコーダ410から出力されるデータと、第7パスユニット390gから出力されるデータとが、同時にデータセレクタ420に入力されることになる。
The
(C−2−1)エンコーダ:
エンコーダ410は、色変換回路300から入力した各色8ビットのCMYKデータを、5ビットの量子化データにエンコードするユニットである。図10に示すように、エンコーダ410は、ブロック番号判別回路411と、量子化回路412とを備えている。
(C-2-1) Encoder:
The
(C−2−1−1)ブロック番号判別回路:
ブロック番号判別回路411は、色変換回路300から入力したCMYKデータによって表される画素が、どのブロック番号に属するかを判別する回路である。ブロック番号の判別方法は、画像を印刷する際の出力解像度のモードによって異なる。かかるモードとしては、概ね以下に示す7種類のモードがある。本実施例では、色変換回路300からは、360dpi×360dpiのCMYKデータを入力し、これを720dpi×720dpiの解像度で印刷を行うため、これらのモードうち、2×2モードに基づくブロック番号の判別を行う。なお、画像処理ユニット155の所定のレジスタには、印刷開始に先立ち、CPU151によって出力解像度のモードが設定されているため、かかるレジスタを参照することにより、現在のモードを判別することができる。
(C-2-1-1) Block number discrimination circuit:
The block
モード名 入力解像度(dpi) 出力解像度(dpi)
1×1モード・・・360×360 360×360
1×2モード・・・360×360 360×720
2×1モード・・・360×360 720×360
2×2モード・・・360×360 720×720
2×4モード・・・360×360 720×1440
4×2モード・・・360×360 1440×720
4×4モード・・・360×360 1440×1440
Mode name Input resolution (dpi) Output resolution (dpi)
1x1 mode ... 360x360 360x360
1 × 2 mode: 360 × 360 360 × 720
2 × 1 mode: 360 × 360 720 × 360
2 × 2 mode: 360 × 360 720 × 720
2 × 4 mode: 360 × 360 720 × 1440
4x2 mode ... 360x360 1440x720
4x4 mode ... 360x360 1440x1440
図17は、2×2モードにおけるブロック番号の判別方法を示す説明図である。2×2モードは、エンコーダ410が入力したCMYK画像データの解像度(360dpi×360dpi)を縦横2倍の解像度(720dpi×720dpi)で出力するモードである。つまり、図の下部に示した順序値マトリクスOMにおいて、1つのブロック番号が割り当てられている4×2の単位ブロックの大きさは、2×2モードで出力しようとするCMYK画像データ内では、その2分の1である2画素×1画素の大きさに相当する。従って、図示するように、2×2モードの場合には、エンコーダ410は、CMYK画像データを構成する画素のうち、横方向に隣接する2つの画素が同一のブロック番号であると判別する。
FIG. 17 is an explanatory diagram showing a block number discrimination method in the 2 × 2 mode. The 2 × 2 mode is a mode in which the resolution (360 dpi × 360 dpi) of the CMYK image data input by the
かかる判別方法によれば、エンコーダ410は、例えば、同図に示すように、CMYK画像データの左上隅に位置する2つの画素は、ブロック番号「1」に該当すると判別し、ブロック番号「1」が設定された2つの画素の右隣りの2つの画素については、ブロック番号「2」に該当すると判別する。さらに、ブロック番号「1」が設定された2つの画素の下側に隣接する2つの画素については、例えば、ブロック番号「33」に該当すると判別する。このようにして、エンコーダ410は、他の画素についても同様に、隣接する2つの画素を1つの単位としてそれぞれブロック番号を判別する。
According to such a determination method, for example, as shown in the figure, the
図18は、ブロック番号の実際の判別例を示す説明図である。コンピュータ900やスキャナ110から入力する画像データのサイズは、順序値マトリクスOMの生成元となった128画素×64画素のディザマトリクス(図11参照)のサイズよりも大きいことが一般的である。そのため、このような場合には、図18のように、ディザマトリクスのサイズに相当する順序値マトリクスOMの集合を繰り返して適用することにより、ブロック番号の判別を行う。例えば、エンコーダ410が、横方向が640画素のCMYK画像データを入力したとすると、まず、最も上部に位置するラインに対して2画素ずつ1から32までのブロック番号を計10回(=640/(32*2))繰り返して判別し、続いて、2本目のラインに対して2画素ずつ33から64までのブロック番号を計10回繰り返して判別することになる。
FIG. 18 is an explanatory diagram of an actual discrimination example of block numbers. In general, the size of image data input from the
(C−2−1−2)量子化回路:
説明を図10に戻す。量子化回路412は、ブロック番号判別回路411によって、ブロック番号を判別した画素から順に、図16に示した量子化テーブルQTを参照して、そのCMYKデータを量子化データにエンコードする回路である。この量子化テーブルQTは、図4に示したようにSDRAM152に記憶されている。
(C-2-1-2) Quantization circuit:
Returning to FIG. The
図16に示したように、量子化テーブルQTには、CMYKデータの階調値(最小0〜最大255)と、ブロック番号(最小1〜最大1024)とに応じて、量子化データが0から31までの値をとるように設定されている。量子化回路412は、エンコードを行おうとする画素のCMYKデータとブロック番号判別回路411とからこの量子化テーブルQTを参照してその画素に対応する1つの量子化データを取得する。
As shown in FIG. 16, in the quantization table QT, the quantized data starts from 0 according to the gradation value (minimum 0 to maximum 255) of CMYK data and the block number (minimum 1 to maximum 1024). It is set to take a value up to 31. The
図15に示したように、量子化データは、階調値が増加するほど大きくなるように設定されており、ブロック番号に応じてその増加度合いが異なっている。図15中のブロック番号N1〜N5は、それぞれ異なるブロック番号を表しており、これらのブロック番号N1〜N5に対応する5つの画素についてエンコードした結果を示している。なお、図15では、各ブロック番号N1〜N5の折れ線が重なって判別し難くなることを避けるために、量子化データの原点位置をそれぞれ縦軸方向に少しずつずらして表示している。 As shown in FIG. 15, the quantized data is set so as to increase as the gradation value increases, and the degree of increase differs depending on the block number. Block numbers N1 to N5 in FIG. 15 represent different block numbers, respectively, and indicate the results of encoding for five pixels corresponding to these block numbers N1 to N5. In FIG. 15, the origin positions of the quantized data are displayed while being shifted little by little in the vertical axis direction in order to prevent the broken lines of the block numbers N1 to N5 from being overlapped and difficult to discriminate.
図中、太い実線で示したブロック番号N1について説明する。このブロック番号N1では、画素の階調値が「0」〜「4」の範囲では、量子化データは、「0」であるが、画素の階調値が「5」〜「20」の範囲では、量子化データは、「1」に増加する。また、画素の階調値が「21」〜「42」の範囲では、量子化データは「2」に増加する。また、画素の階調値が「43」〜「69」の範囲では、量子化データは「3」に増加する。このように、画素の階調値が増加するに従って、量子化データも段階的に増加する。そして、最終的には、量子化データは「15」まで増加する。すなわち、ブロック番号N1については、0から255までの値をとる画素の階調値を、0から15までの16段階に量子化していることになる。 In the figure, a block number N1 indicated by a thick solid line will be described. In this block number N1, the quantization data is “0” in the range where the pixel gradation value is “0” to “4”, but the pixel gradation value is in the range “5” to “20”. Then, the quantized data increases to “1”. In addition, in the range where the gradation value of the pixel is “21” to “42”, the quantized data increases to “2”. In addition, in the range where the gradation value of the pixel is “43” to “69”, the quantized data increases to “3”. Thus, the quantized data also increases step by step as the gradation value of the pixel increases. Finally, the quantized data increases to “15”. That is, for the block number N1, the gradation value of the pixel having a value from 0 to 255 is quantized into 16 levels from 0 to 15.
同様に、図中に太い破線で示したブロック番号N2や、太い一点鎖線で示したブロック番号N3については、0から255までの値をとる画素の階調値を、0から17までの18段階に量子化している。更に、細い実線で示したブロック番号N4および細い一点鎖線で示したブロック番号N5については、画素の階調値を0から20までの21段階に量子化していることになる。量子化データの最大段数は、ブロック番号に応じて概ね15〜22程度となっている。このように、量子化テーブルQTには、ブロック番号に応じて固有の段数で量子化データが定義されている。また、量子化データの増加度合いもブロック番号に応じて固有に定義されている。そのため、同じ階調値を量子化した場合でも、その画素が属するブロック番号が異なれば、異なる量子化データに変換されることになる Similarly, for the block number N2 indicated by a thick broken line in the figure and the block number N3 indicated by a thick dashed line, the gradation value of a pixel having a value from 0 to 255 is set to 18 levels from 0 to 17. It is quantized to. Further, for the block number N4 indicated by a thin solid line and the block number N5 indicated by a thin one-dot chain line, the gradation value of the pixel is quantized in 21 steps from 0 to 20. The maximum number of stages of quantized data is approximately 15 to 22 depending on the block number. In this way, in the quantization table QT, quantized data is defined with a unique number of stages according to the block number. Also, the degree of increase in the quantized data is uniquely defined according to the block number. Therefore, even when the same gradation value is quantized, if the block number to which the pixel belongs is different, it is converted into different quantized data.
以上で説明したように、量子化回路412は、画素のCMYK階調値を量子化データに変換することで、通常、256階調を有するCMYKデータの値を、最大で32段の量子化データに変換する。こうすることにより、8ビットのデータ量が必要であったCMYKデータを、ドットの発生に必要な情報を表す5ビットのデータに変換することができ、データ容量を削減することができる。
As described above, the
最終的に、エンコーダ410は、量子化回路412によってエンコードした量子化データを、1画素毎、データセレクタ420に対して出力する。なお、この量子化データは、CMYKの各色毎に出力される。
Finally, the
(C−2−2)データセレクタ:
図19は、図10に示したデータセレクタ420の詳細な構成を示す説明図である。データセレクタ420は、印刷装置100が備えるインクの種類に対応した8つのセレクタ素子411a〜411hを備えている。各セレクタ素子411a〜411hは、そのセレクタ素子に対応する色の5ビットの量子化データをエンコーダ410から入力するとともに、第7パスユニット390gから5ビットの白黒エッジデータを入力する。また、各セレクタ素子411a〜411hは、セレクト信号として白黒エッジデータの最上位ビット、すなわち、白黒エッジ判定フラグの内容を表すデータを入力する。
(C-2-2) Data selector:
FIG. 19 is an explanatory diagram showing a detailed configuration of the
各セレクタ素子411a〜411hは、エンコーダ410と第7パスユニット390gとからそれぞれデータを入力すると、セレクト信号として入力された白黒エッジ判定フラグの値をチェックする。その結果、白黒エッジ判定フラグが「1」であれば、白黒エッジデータを選択して出力し、「0」であれば、量子化データを選択して出力する。各セレクタ素子411a〜411hの後段には、それぞれビット付加器412a〜412hが接続されている。ビット付加器412a〜412hは、セレクタ素子411a〜411hから出力されたデータの最上位ビットに、白黒エッジ判定フラグの値を付加する。そのため、最終的にデータセレクタ420から出力されるデータは、量子化データの場合にも白黒エッジデータの場合にも、6ビットのデータとなる。データセレクタ420は、以上の処理によって選択したいずれかのデータを、EB制御ユニット440に出力する。なお、データセレクタ420への入力時の5ビットの白黒エッジデータには、色変換回路300内の白黒エッジ処理ユニット320によって既に最上位ビットに白黒エッジ判定フラグの値が付加されているため、6ビット化された白黒エッジデータの上位2ビットには、白黒エッジ判定フラグの値が重複して記録されることになる。しかし、このように同じ内容のデータが重複して記録されたとしても、量子化データのデータ長と白黒エッジデータのデータ長とを揃えることができるため、これらのデータを記憶するエンコードデータバッファEBに対するアドレス管理が容易となり、ハードウェアの複雑化を抑制し、処理スピードを向上させることができる。
When the
(C−2−3)EB制御ユニット:
説明を図10に戻す。EB制御ユニット440は、データセレクタ420から6ビットの白黒エッジデータまたは6ビットの量子化データを択一的に入力すると、これらのデータをエンコードデータバッファEBに格納する。なお、以下の説明では、量子化データと白黒エッジデータとをまとめて「エンコードデータ」と呼ぶ場合がある。
(C-2-3) EB control unit:
Returning to FIG. When 6-bit monochrome edge data or 6-bit quantized data is alternatively input from the
図20は、EB制御ユニット440が、エンコードデータバッファEBにエンコードデータを格納するまでの過程を概念的に示す説明図である。図示するように、データセレクタ420は、エンコーダ410から量子化データを入力するとともに、第7パスユニット390gから白黒エッジデータを入力する。そして、白黒エッジ判定フラグの値を用いて、これらのエンコードデータのうち、ダミーデータ(000000)を除く白黒エッジデータを量子化データに優先して出力する。そして、EB制御ユニット440は、データセレクタ420から出力されたエンコードデータを順にエンコードデータバッファEBに格納する。エンコードデータバッファEBに格納されたエンコードデータは、図10に示したデコーダ430によって順次読み出されることになる。
FIG. 20 is an explanatory diagram conceptually showing the process until the
(C−2−4)デコーダ:
図21は、図10に示したデコーダ430の詳細な構成を示す説明図である。デコーダ430は、白黒エッジデータと量子化データとをそれぞれ個別にデコードし、ドット形成用データを生成するためのユニットである。図示するように、デコーダ430は、エンコードデータバッファEBに接続され、エンコードデータを入力するデータ判定回路431と、データ判定回路431からの出力を受けて白黒エッジデータをデコードする白黒エッジデータデコード回路432と、データ判定回路431からの出力を受けて量子化データをデコードする量子化データデコード回路433とを備えている。
(C-2-4) Decoder:
FIG. 21 is an explanatory diagram showing a detailed configuration of the
(C−2−4−1)データ判定回路:
データ判定回路431は、エンコードデータバッファEBから順次エンコードデータを読み出し、読み出したエンコードデータのブロック番号を判別する。エンコードデータバッファEBには、図17あるいは図18に示したブロック番号順にエンコードデータが格納されているから、その格納順にエンコードデータを読み出せば、自ずとそのエンコードデータに対応するブロック番号を判別することができる。つまり、出力解像度が2×2モードの場合には、隣接する2つの画素に同一のブロック番号が付されているから、1つ目と2つ目に読み出したエンコードデータのブロック番号は、「1」となり、3つ目と4つ目に読み出したエンコードデータのブロック番号は「2」になる。また、例えば、横方向が640画素のCMYK画像データについてエンコードデータが生成されている場合には、最初に、2画素ずつ1から32までのブロック番号が計10回(=640/(32*2))繰り返して判別され、続いて、2画素ずつ33から64のブロック番号が計10回繰り返して判別されることになる。画像処理ユニット155のレジスタには、CPU151によって出力解像度のモードや、画像のサイズに関する情報がセットされているため、データ判定回路431は、かかるレジスタを参照することにより、出力解像度のモードや画像のサイズに応じたブロック番号の判別を行うことができる。
(C-2-4-1) Data determination circuit:
The
データ判定回路431は、ブロック番号の判別が終了すると、読み出した6ビットのエンコードデータの最上位ビットをチェックする。最上位ビットには、データセレクタ420によって白黒エッジデータであるか否かを表す白黒エッジ判定フラグの値が付加されている。そのため、エンコードデータの最上位ビットが「0」であれば、そのエンコードデータが量子化データであると判別し、かかる最上位ビットを切り捨てた上で、量子化データデコード回路433に5ビットの量子化データとブロック番号の値とを転送する。一方、最上位ビットが「1」であれば、読み出したエンコードデータが白黒エッジデータであると判別し、白黒エッジ判定フラグの値が記録された上位2ビットを切り捨てた上で、白黒エッジデータデコード回路432に4ビットの白黒エッジデータとブロック番号の値とを転送する。
When the determination of the block number is completed, the
(C−2−4−2)量子化データデコード回路:
量子化データデコード回路433は、データ判定回路431から転送された5ビットの量子化データをデコードし、ドット形成用データを生成する回路である。ドット形成用データは、形成しようとするドットのサイズを「11」「10」「01」「00」の4値によって表し、これらの値の分布によって印刷画像を表したデータである。ドット形成用データを生成するには、まず、SDRAM152に記憶された第1ドット個数テーブルDT1および第2ドット個数テーブルDT2を参照して、量子化データを大中小の各サイズのドットの個数を表すドット個数データに変換し、更に、このドット個数データとSDRAM152に記憶された順序値マトリクスOMとに基づきドットの配置を行う。以下、かかる処理の詳細について説明する。
(C-2-4-2) Quantized data decoding circuit:
The quantized
<量子化データのドット個数データへの変換>
図22は、第1ドット個数テーブルDT1の一例を示す説明図である。図示するように、この第1ドット個数テーブルDT1には、ブロック番号と量子化データとに応じて第1ドット個数データが定義されている。第1ドット個数データは、その量子化データが表す画素に、どの程度の数のドットを形成するかを表すデータである。なお、この第1ドット個数データは、ドットの数を正確に表しているわけではなく、後述するように、大中小の各ドットの数がエンコードされた値となっている。第1ドット個数データは、0から164までの値をとる。すなわち、この第1ドット個数テーブルDT1によれば、5ビットの量子化データが8ビットの第1ドット個数データに変換されることになる。
<Conversion of quantized data into dot count data>
FIG. 22 is an explanatory diagram showing an example of the first dot number table DT1. As shown in the drawing, in the first dot number table DT1, first dot number data is defined according to the block number and the quantized data. The first dot number data is data representing how many dots are formed in the pixel represented by the quantized data. The first dot number data does not accurately represent the number of dots, and is a value obtained by encoding the number of large, medium, and small dots as will be described later. The first dot number data takes values from 0 to 164. That is, according to the first dot number table DT1, 5-bit quantized data is converted into 8-bit first dot number data.
ここで、第1ドット個数データが164までの値に収まる理由について説明すると、1つのブロックを構成する8つの画素についてみれば、各画素について、「大ドットを形成する」、「中ドットを形成する」、「小ドットを形成する」、「ドットを形成しない」の4つの状態を取り得る。従って、ドット個数の組合せは、これら4つの状態を、重複を許容して8回選択した時の組合せの数に等しくなるから、4H8(=4+8−1C8)によって求めることができる。このことから、最大でも165通り(0〜164)の組合せしか出現しないことになる。なお、nHrは、n個の物の中から重複を許してr回選択するときの重複組合せ数を求める演算子である。また、nCrは、n個の物の中から重複を許さずにr回選択するときの組合せ数を求める演算子である。 Here, the reason why the first dot number data falls within a value up to 164 will be described. As for eight pixels constituting one block, “large dot formation” and “medium dot formation” are performed for each pixel. Four states are possible: “Yes”, “Form a small dot”, and “No dot”. Accordingly, the combination of the number of dots can be obtained by 4 H 8 (= 4 + 8-1 C 8 ) because these four states are equal to the number of combinations when eight times are selected while allowing overlap. For this reason, only 165 combinations (0 to 164) appear at most. Note that n H r is an operator that determines the number of overlapping combinations when r is selected r times from among n objects. N C r is an operator for obtaining the number of combinations when selecting r times from n objects without allowing duplication.
量子化データデコード回路433は、図22に示した第1ドット個数テーブルDT1を参照することにより、データ判定回路431から入力した量子化データとブロック番号とに対応する第1ドット個数データを取得する。例えば、入力した量子化データが「0」であり、そのブロック番号が「1」であれば、図示するように、第1ドット個数データは、「0」となる。また、入力した量子化データの値が「3」であり、そのブロック番号が「2」であれば、第1ドット個数データは、「4」となる。
The quantized
次に、量子化データデコード回路433は、第2ドット個数テーブルDT2を参照して、第1ドット個数データを大中小の各サイズのドットの個数を表す第2ドット個数データに変換する。
Next, the quantized
図23は、第2ドット個数テーブルDT2の一例を説明したものである。図示するように、この第2ドット個数テーブルDT2には、第1ドット個数データと、各サイズのドットの個数を表す第2ドット個数データとが対応づけて記憶されている。なお、図の右側の表は、第2ドット個数データが表す各サイズのドットの個数の内訳を詳細に示した参考図である。第1ドット個数データは、前述したように、0から164までのデータ、すなわち8ビットのデータであり、第2ドット個数データは、16ビットのデータとなっている。この16ビットのデータは、2ビットを1組としており、各組の値がドットのサイズを表している。 FIG. 23 illustrates an example of the second dot number table DT2. As shown in the drawing, the second dot number table DT2 stores the first dot number data and the second dot number data representing the number of dots of each size in association with each other. The table on the right side of the figure is a reference diagram showing in detail the breakdown of the number of dots of each size represented by the second dot number data. As described above, the first dot number data is data from 0 to 164, that is, 8-bit data, and the second dot number data is 16-bit data. In this 16-bit data, 2 bits are set as one set, and the value of each set represents the dot size.
図24は、第2ドット個数データの一例を示す説明図である。図中に示す第2ドット個数データは、「0001011010111111」であるが、これを2ビットずつ1組に区切ると、左から、「00」「01」「01」「10」「10」「11」「11」「11」となる。各組の2ビットの内容は、ドットのサイズを表しており、「11」が大ドット、「10」が中ドット、「01」が小ドット、「00」がドットなしを表す。すなわち、図示した第2ドット個数データは、大ドットを3つ、中ドットを2つ、小ドットを2つ形成することを表している。図示するように、この第2ドット個数データには、大きいドットを表すデータから順に右詰めで格納されている。 FIG. 24 is an explanatory diagram showing an example of second dot number data. The second dot number data shown in the figure is “0001011010111111”. When this is divided into sets of 2 bits each, “00” “01” “01” “10” “10” “11” from the left. “11” and “11”. The contents of each set of 2 bits represent the size of the dot, with “11” representing a large dot, “10” representing a medium dot, “01” representing a small dot, and “00” representing no dot. That is, the illustrated second dot number data indicates that three large dots, two medium dots, and two small dots are formed. As shown in the figure, the second dot number data is stored in the right-aligned order starting from the data representing the large dots.
ここで、説明を図23に戻す。図23に示した第2ドット個数テーブルDT2によれば、例えば、第1ドット個数データ「0」に対応する第2ドット個数データは、「0000000000000000」であり、「大ドット」、「中ドット」、「小ドット」のいずれも形成しないことを表わす。また、第1ドット個数データ「2」に対応する第2ドット個数データは、「0000000000000101」であり、「小ドット」のみを2個形成することを表す。また、第1ドット個数データ「160」に対応する第2ドット個数データは、「1010111111111111」であり、「大ドット」を6つ、「中ドット」を2つ形成することを表す。 Here, the description returns to FIG. According to the second dot number table DT2 shown in FIG. 23, for example, the second dot number data corresponding to the first dot number data “0” is “0000000000000”, “large dot”, “medium dot”. , “Small dot” is not formed. The second dot number data corresponding to the first dot number data “2” is “0000000000000101”, which indicates that only two “small dots” are formed. The second dot number data corresponding to the first dot number data “160” is “1010111111111111”, which indicates that six “large dots” and two “medium dots” are formed.
図23の下部には、この第2ドット個数データによって表されるドットサイズの遷移を示している。図示するように、形成されるドットのサイズは、第1ドット個数データが増加するにつれ、大きなドットの占める割合が大きくなる。つまり、第1ドット個数データは図22に示したように量子化データに比例して大きくなり、量子化データは図15に示したようにCMYKデータの階調値に比例して大きくなることから、CMYKの階調値が大きくなるにつれ、サイズの大きなドットが占める割合が徐々に多くなり、印刷媒体上に形成されるドットの密度が高くなることになる。 The lower part of FIG. 23 shows the transition of the dot size represented by the second dot number data. As shown in the figure, the size of the dots formed increases as the first dot number data increases, and the proportion of large dots increases. That is, the first dot number data increases in proportion to the quantized data as shown in FIG. 22, and the quantized data increases in proportion to the gradation value of the CMYK data as shown in FIG. As the gradation value of CMYK increases, the proportion of large size dots gradually increases, and the density of dots formed on the print medium increases.
<順序値マトリクスに基づくドットの配置>
図21の量子化データデコード回路433は、第1ドット個数データを第2ドット個数データに変換すると、SDRAM152に記憶された順序値マトリクスOMを参照して、第2ドット個数データとブロック番号とに基づき各サイズのドットを配置する。
<Dot arrangement based on order value matrix>
When the quantized
図25は、図13に示した順序値マトリクスOMの一部を拡大した図である。既に説明したように、順序値マトリクスOMには、4×2の単位ブロック内の各要素についてそれぞれドットが形成されるべき順番を表す順序値が予め設定されている。ドットの形成順は、ブロック毎にそれぞれ個別に設定されており、順序値は、8つの要素についてそれぞれ異なる値が設定されるため1から8の値が設定されている。かかる図を参照すれば、例えば、ブロック番号1に対応する順序値マトリクスOMには、8つの要素のうち、左上隅にある画素に対して順序値「1」が設定されているため、ブロック番号1では、画像の左上隅に1番最初にドットが形成されることになる。また、ブロック番号1では、8つの要素の中の右下隅の画素に順序値「2」が設定されているため、2番目のドットは、右下隅に形成されることになる。
FIG. 25 is an enlarged view of a part of the order value matrix OM shown in FIG. As already described, the order value matrix OM is preset with order values representing the order in which dots should be formed for each element in the 4 × 2 unit block. The dot formation order is individually set for each block, and the order value is set to a value from 1 to 8 because different values are set for the eight elements. Referring to this figure, for example, in the order value matrix OM corresponding to block
また、例えば、ブロック番号2に対応する順序値マトリクスOMにおいて、順序値「1」は、下段の左から2番目の要素に設定され、順序値「2」は、右下隅の要素に設定されている。また、ブロック番号3に対応する順序値マトリクスOMにおいて、順序値「1」は、上段の右から2番目の要素に設定され、順序値「2」は、左下隅の要素に設定されている。このように、ドットの形成順は、ブロック番号毎に異なる順序で設定されている。
For example, in the order value matrix OM corresponding to the
図26は、第2ドット個数データと順序値マトリクスOMとに基づき、8つの画素についてそれぞれドットを配置する手順を概念的に示す説明図である。ここでは、第2ドット個数データが、大ドットを3個、中ドットを2個、小ドットを2個、それぞれ形成すべきデータであり、適用する順序値マトリクスOMが、図25に示したブロック番号「1」に対応する順序値マトリクスOMであるものとする。 FIG. 26 is an explanatory diagram conceptually showing a procedure for arranging dots for eight pixels based on the second dot number data and the order value matrix OM. Here, the second dot number data is data that should be formed with three large dots, two medium dots, and two small dots, and the applied order value matrix OM is the block shown in FIG. It is assumed that the order value matrix OM corresponds to the number “1”.
量子化データデコード回路433は、図26に示すように、最初に、順序値マトリクスOMの順序値「1」に対応する画素に対して、第2ドット個数データの右端に位置する2ビットのデータを取得する。次に、順序値マトリクスOMの順序値「2」に対応する画素に対して、第2ドット個数データの右から2番目に位置する2ビットのデータを取得する。このように、順序値マトリクスOMの各順序値に対して、第2ドット個数データの右端から順番に2ビットのデータを適用していけば、図の中段に示すように、4画素×2画素の中間ドットデータが生成される。この中間ドットデータによって形成されるドットのイメージを「ドットイメージ」と称して図の下段に示した。
As shown in FIG. 26, the quantized
このように、順序値マトリクスOMに設定された順序値に応じて、第2ドット個数データの右端から順に2ビットのデータを適用していけば、第2ドット個数データには右詰めで大きいドットから順にデータが記録されていることから、順序値マトリクスOM内には、大きいドットから順に配置されていくことになる。サイズが大きいドットは隣接して配置されると、その存在が目立ってしまうが、上述のように大きいドットから順にドットを配置すれば、大きなドットが優先的に分散されることになり、その存在を目立たなくすることができる。この結果、画質を向上させることが可能になる。 In this way, if 2-bit data is applied in order from the right end of the second dot number data in accordance with the order value set in the order value matrix OM, the second dot number data has a right-justified large dot. Since the data are recorded in order, the dots are arranged in order from the largest dot in the order value matrix OM. If large dots are placed next to each other, their presence will be noticeable. However, if dots are placed in order from the largest dots as described above, the larger dots will be distributed preferentially, and their presence. Can be made inconspicuous. As a result, the image quality can be improved.
<中間ドットデータの振り分けによる出力解像度の調整>
以上で説明した処理によれば、量子化データデコード回路433によって、1つの量子化データから、4×2画素の中間ドットデータが生成されることになる。1つの量子化データは、ハーフトーン回路400に入力されたCMYK画像データの1画素に対応することから、すべての量子化データについて中間ドットデータを生成すると、360dpi×360dpiの入力解像度が、1440dpi×720dpiの出力解像度となってしまい、2×2モードで目標とする720dpi×720dpiとは異なる出力解像度を有することになる。
<Adjustment of output resolution by distributing intermediate dot data>
According to the processing described above, the quantized
そこで、量子化データデコード回路433は、量子化データを中間ドットデータに変換しつつ、中間ドットデータ内の画素を分割して、適宜、振り分けを行い、出力解像度の調整を行う。具体的には、2×2モードでは、隣接した2つの画素は、同じブロック番号が割り当てられていることから、左側に位置する画素については、中間ドットデータ内の左側の2×2画素をドット形成用データに振り分け、右側に位置する画素については、中間ドットデータ内の右側の2×2画素をドット形成用データとして振り分ける。こうすることで、360dpi×360dpiの入力解像度が、720dpi×720dpiの出力解像度に正常に変換されることになる。
Therefore, the quantized
図27は、2×2モードにおいて中間ドットデータの振り分けを行う具体例を示す説明図である。図示するように、量子化データデコード回路433は、同一のブロック番号に属する隣接した2つ画素の量子化データを入力すると、各量子化データを、それぞれ、第1ドット個数データおよび第2ドット個数データに変換し、順序値マトリクスに基づき中間ドットデータを生成する。中間ドットデータは、それぞれ8画素分生成されるため、1つ目の中間ドットデータのうち、左側に位置する4つの画素(図中「L」と示した部分)をドット形成用データとして採用する。そして、2つ目の中間ドットデータのうち、右側に位置する4つの画素(図中「R」と示した部分)を次のドット形成用データとして採用する。量子化データデコード回路433は、同一ブロック番号に属する中間ドットデータについて、このような処理を繰り返して行うことにより、図の下部に示すようなドット形成用データを生成することができる。
FIG. 27 is an explanatory diagram showing a specific example in which intermediate dot data is distributed in the 2 × 2 mode. As shown in the figure, when the quantized
以上で説明した処理によれば、量子化データデコード回路433は、エンコードデータバッファEBから入力した1つの量子化データに対して、それぞれ、2画素×2画素のドット形成用データを生成することになる。こうして生成したドット形成用データは、ドット形成用データバッファDBに順次格納する。以上で、量子化データデコード回路433によるデコード処理が完了する。
According to the processing described above, the quantized
なお、本実施例では、図26や図27に示したように、中間ドットデータを8画素分全て生成してから、その中間ドットデータを2分割して、いずれか一方をドット形成用データに振り分けるものとした。これに対して、次のような振り分けを行うこともできる。すなわち、図27に示すように、中間ドットデータの中で、ドット形成用データに振り分けられる部分は、「L」や「R」に示すように既に決まっているため、その振り分けられる部分に対応した順序値マトリクスOM内の順序値のみを用いれば、中間ドットデータ内の8画素全部について生成することなくドット形成用データを生成することができる。例えば、図27のドット形成用データの最も左上の「L」部分については、図26に示したブロック番号1の順序値マトリクスOMの左側半分の順序値1,6,8,4に該当するビットのみを第2ドット個数データから取得すれば、かかる部分のドット形成用データを生成することができる。また、その隣の「R」の部分については、図26に示したブロック番号1の順序値マトリクスOMの右側半分の順序値3,5,7,2に該当するビットのみを第2ドット個数データから取得すれば、かかる部分のドット形成用データを生成することができる。このような振り分け方法によれば、中間ドットデータを8画素分全部について生成する必要がないため、処理スピードを向上させることができるとともに、使用するメモリ容量を削減することができる。
In this embodiment, as shown in FIGS. 26 and 27, intermediate dot data for all 8 pixels is generated, and then the intermediate dot data is divided into two, and either one is used as dot formation data. It was supposed to be distributed. On the other hand, the following distribution can also be performed. That is, as shown in FIG. 27, the portion allocated to the dot formation data in the intermediate dot data has already been determined as indicated by “L” and “R”, and therefore corresponds to the portion to be allocated. If only the order values in the order value matrix OM are used, the dot formation data can be generated without generating all eight pixels in the intermediate dot data. For example, for the “L” portion at the upper left of the dot formation data in FIG. 27, the bits corresponding to the order values 1, 6, 8, and 4 in the left half of the order value matrix OM of
(C−2−4−3)白黒エッジデータデコード回路:
次に、図21に示した白黒エッジデータデコード回路432について説明する。白黒エッジデータデコード回路432は、白黒エッジデータについてハーフトーン処理を行うための回路である。白黒エッジデータデコード回路432は、データ判定回路431から4ビットの白黒エッジデータとともに、そのブロック番号の値を入力すると、図8に示した白黒エッジテーブルETを逆引きし、2×2の各画素について色を決定する。例えば、データ判定回路431から入力した白黒エッジデータが「1110」であれば、(A,B,C,D)=(1,1,1,0)となる。「1」は白を表し、「0」は、黒を表すから、色としては、(A,B,C,D)=(白,白,白,黒)となる。
(C-2-4-3) Monochrome edge data decoding circuit:
Next, the monochrome edge
白黒エッジデータデコード回路432は、2×2画素内の白色の部分については、インクが吐出されない色であるため、2ビットで表されるドット形成用データは、ドットなしを表す「00」となる。つまり、白色部分については、ハーフトーン処理は実行せず、直接、ドット形成用データを「00」とする。こうすることにより、処理速度を向上させることができる。なお、透明インクを用いるときは、透明インクのドット形成用データのみを「11」とし、他のインクのドット形成用データを「00」とすることができる。
Since the black and white edge
一方、2×2画素内の黒色の部分については、(R,G,B)=(0,0,0)となり、RGB形式では発色しない色となるが、インクによる色表現時にはC,M,Y等の複数のインクを組み合わせて発色する色であるため、白黒エッジデータデコード回路432は、SDRAM152に記憶された黒データテーブルBTに基づき2×2画素内の黒の部分についてドット形成用データへ変換する処理を行う。白黒エッジは、白色の画素と黒色の画素とによって構成されるものであるため、このうち、実際にドットを形成する必要のある色は黒色のみである。従って、黒色だけについてハーフトーン処理を行う専用のテーブルを黒データテーブルBTとして予め用意しておくことで、白黒エッジ内の黒色の画素について、即座にドット形成用データへの変換を行うことができる。黒データテーブルBTは、黒色のみの画素によって構成された所定サイズの画像データを、色変換回路300およびハーフトーン回路400に入力してハーフトーン処理を施すことで予め作成することができる。かかる黒データテーブルBTの詳細な作成方法は後述する。なお、黒色は、Kインクのみによって表すことも可能であるが、印刷用紙の種類や、ノズルの傾き等に応じてその色調を微調整する場合があるため、本実施例では、C,M,Y等の複数のインクの組み合わせによって発色を行うものとする。
On the other hand, for the black portion in 2 × 2 pixels, (R, G, B) = (0, 0, 0), which is a color that does not develop color in the RGB format, but C, M, Since the color is a color generated by combining a plurality of inks such as Y, the black and white edge
図28は、黒データテーブルBTの一例を示す説明図である。図示するように、黒データテーブルBTは、順序値マトリクスOMと同じサイズである128×64のサイズを有しており、4×2の大きさを単位とする複数のブロックに全体が分割されている。各ブロックには、順序値マトリクスOMと同一のブロック番号が割り当てられている。黒データテーブルBTは、インクの色毎に計8色分のプレーンを有しており、各要素には、ドットのサイズを表す2ビットのドット形成用データが記録されている。白黒エッジデータデコード回路432は、この黒データテーブルBTを参照することにより、白黒エッジデータに含まれる黒の部分について、その位置に対応したドット形成用データを取得することができる。
FIG. 28 is an explanatory diagram showing an example of the black data table BT. As shown in the figure, the black data table BT has a size of 128 × 64, which is the same size as the order value matrix OM, and is entirely divided into a plurality of blocks each having a size of 4 × 2. Yes. Each block is assigned the same block number as the order value matrix OM. The black data table BT has planes for a total of eight colors for each ink color, and 2-bit dot formation data representing the dot size is recorded in each element. By referring to the black data table BT, the monochrome edge
ここで、変換しようとする黒データが、黒データテーブルBTのどの位置に対応するかについては、入力した白黒エッジデータのブロック番号、データ判定回路431がその白黒エッジデータを入力した順番、2×2の白黒エッジデータ中における黒データの位置から判別することができる。例えば、変換対象の黒データを含む白黒エッジデータ(図28の下部参照)のブロック番号が「1」で、その白黒エッジデータがエンコードデータバッファEBから2番目に入力したデータであり、その黒データが、2×2の白黒エッジデータ中、右下(「D」の部分)に存在する場合について考えると、ブロック番号「1」のブロックのうち、最も右下に設定されているドット形成用データが取得されることになる。
Here, as to which position in the black data table BT the black data to be converted corresponds, the block number of the input black-and-white edge data, the order in which the
以上で説明した黒データテーブルBTを用いれば、白黒エッジデータデコード回路432は、黒データをCMYK形式や量子化データ等に変換することなく、ダイレクトにドット形成用データに変換することが可能になり、処理速度を向上させることができる。また、720dpi×720dpiの解像度を有する白黒エッジデータを、720dpi×720dpiのドット形成用データに変換することができるため、入力解像度が360dpi×360dpiの量子化データデコード回路433よりも、再現性よくハーフトーン処理を行うことができる。なお、本実施例では、黒データテーブルBTを用いることによって黒データをダイレクトにドット形成用データに変換するものとしたが、黒データテーブルBTを用いることなく、黒データを一旦、RGBデータからCMYKデータに変換した上で量子化し、更に、第1ドット個数データ、第2ドット個数データに変換して順序値マトリクスOMに基づきドットを配置することによっても、ドット形成用データに変換することができる。
By using the black data table BT described above, the black and white edge
白黒エッジデータデコード回路432は、上述した処理によって、白黒エッジデータを、4画素分のドット形成用データに変換すると、生成したドット形成用データを、ドット形成用データバッファDBに順次格納する。そうすると、ドット形成用データバッファDBには、量子化データデコード回路433と白黒エッジデータデコード回路432とから出力された720dpi×720dpiの解像度を有する2×2画素のドット形成データが順次蓄積されることになる。つまり、この時点で、文字等を表す画像データと背景等を表す画像データが合成されて、一つの出力画像が構成されることになる。デコーダ430(図21)は、ドット形成用データの蓄積が完了すれば、ヘッド駆動用データ変換回路500に対して、ドット形成用データの蓄積が完了したことを示すレディ信号を出力する。
When the monochrome edge
なお、デコーダ430は、ドット形成用データバッファDBに対して、インクヘッド211が1回の主走査で印刷可能なだけのドット形成用データを最終的に蓄積するものとする。つまり、ノズルピッチ間に位置し、1回の主走査で印刷されない部分のドット形成用データを間引いた上で、ドット形成用データバッファDBへの蓄積を行う。このような間引き処理は、デコーダ430が量子化データや白黒エッジデータのデコードを行う際に、実際にインクを吐出するラスタラインに該当するデータのみをデコードすることによって行うものとすることができる。具体的には、例えば、量子化データのデコード時には、順序値マトリクス内の必要な順序値(例えば、図26に示した順序値マトリクスの順序値1,6,3,5)に対してのみ第2ドット個数データからドットデータを取得し、白黒エッジデータのデコード時には、白黒エッジデータ内の必要な部分(例えば、図28の下部に示した「A」と「B」の部分)のみに対して黒データテーブルBTからドットデータを取得することにより行うことができる。従来の誤差拡散法では、着目画素の階調値の誤差を周囲の画素の階調値に徐々に分散させる処理を行う必要があるため、必要なラスタラインに属するドット形成用データのみを生成することは困難であるが、本実施例のハーフトーン処理では、上述したような処理により、実際にインクを吐出するラスタライン上のドット形成用データのみを容易に生成することができる。
Note that the
C−3.ヘッド駆動用データ変換回路:
次に、図10に示したヘッド駆動用データ変換回路500について説明する。ヘッド駆動用データ変換回路500は、ドット形成用データバッファDBに蓄積されたドット形成用データを、インクヘッドを駆動するためのヘッド駆動用データに変換する回路である。図示するようにヘッド駆動用データ変換回路500は、ドット形成用データバッファDBに接続されたデータ回転ユニット510と、データ回転ユニット510に接続されたHB制御ユニット520とを備えている。
C-3. Head drive data conversion circuit:
Next, the head drive
(C−3−1)データ回転ユニット:
データ回転ユニット510は、ハーフトーン回路400のデコーダ430からレディ信号を受信すると、ドット形成用データバッファDBからデータ形成用データを読み出し、ヘッド駆動用データへの変換をおこなう。かかる変換処理が完了するまでは、ビジー信号をハーフトーン回路のデコーダ430に送信する。デコーダ430は、ビジー信号が停止されるまで、各種デコード処理を停止する。こうすることで、ドット形成用データバッファDBがオーバーフローしてしまうことを防止することができる。
(C-3-1) Data rotation unit:
When the
図29は、データ回転ユニット510によるデータの並べ直しの概念を示す説明図である。ドット形成用データバッファDBには、図の上部に示すように、間引き処理済みのドット形成用データが主走査方向に整列して格納されているが、インクヘッド211には1色につき複数のノズルが副走査方向に設けられており、そのノズルの数だけラスタラインが同時に印刷される。そこで、データ回転ユニット510は、ノズルの上部から順にデータが割り当てられるように、ドット形成用データを縦方向に読み出す。すると、図の下部に示すように、データが並べ直され、ヘッド駆動用データに変換されることになる。
FIG. 29 is an explanatory diagram showing the concept of data rearrangement by the
(C−3−2)HB制御ユニット:
図10のHB制御ユニット520は、ヘッド駆動用データバッファHBへのデータの出力を制御するユニットである。HB制御ユニット520は、データ回転ユニット510からヘッド駆動用データを入力し、これをヘッド駆動用データバッファHBに順次格納する。ヘッド駆動用データバッファHBに記憶されたヘッド駆動用データは、図2に示した制御ユニット150内のヘッドコントロールユニット156に読み取られ、インクの吐出制御に供されることになる。ヘッドコントロールユニット156は、キャリッジ210の主走査および副走査を繰り返しつつ、ヘッド駆動用データバッファHBから入力したデータが「11」であれば、大ドット形成用の電圧波形をピエゾ素子に印加し、「10」であれば、中ドット形成用の電圧波形をピエゾ素子に印加する。また、「01」であれば、小ドット形成用の電圧波形をピエゾ素子に印加する。このようにして、印刷装置100は、印刷媒体Sに対してカラー印刷を行う。
(C-3-2) HB control unit:
The
D.実施例の効果:
以上、本発明の実施の形態を実施例に基づき説明した。本実施例の印刷装置100によれば、高解像度(720dpi×720dpi)の画像を入力し、その画像のうち、白色と黒色の組み合わせのみによって表される文字や記号の部分(白黒エッジ)については、高解像度(720dpi×720dpi)のままハーフトーン処理を行い、その他の背景画像等については、一旦、解像度を半分(360dpi×360dpi)に減じてハーフトーン処理を行う。そのため、全ての画像領域について、高解像度のままハーフトーン処理を行うよりも、格段に少ないメモリ容量でハーフトーン処理を行うことができる。
D. Effects of the embodiment:
The embodiments of the present invention have been described based on the examples. According to the
また、文字や記号等を表す白黒エッジ部分については、入力した画像の解像度を保ったままハーフトーン処理を行うので、明瞭な画質を保ったまま印刷を行うことができる。なお、背景画像等については、最終的には、その解像度を元の解像度(720dpi×720dpi)に上げて、文字等の部分と合成を行う。そのため、印刷媒体S上に形成された画像は、すべての領域で同じ解像度となる。背景画像等は、文字等に比べて、エッジ部分が少ないので、ハーフトーン処理の過程で解像度を減じても、最終的に出力される画像の画質に影響を与えることは少ない。むしろ、4つの画素の階調値の平均をとって解像度を減ずる処理により、ノイズなどの成分が丸められ、画質が向上した印象を与える場合もある。従って、本実施例によれば、全体として、画質が向上した印象を利用者に与えることができる。 In addition, since black and white edge portions representing characters and symbols are subjected to halftone processing while maintaining the resolution of the input image, printing can be performed while maintaining clear image quality. For the background image and the like, the resolution is finally raised to the original resolution (720 dpi × 720 dpi) and is combined with the character portion and the like. For this reason, the image formed on the print medium S has the same resolution in all areas. Background images and the like have fewer edge portions than characters and the like, so even if the resolution is reduced during the halftone process, the image quality of the final output image is hardly affected. Rather, the process of taking the average of the gradation values of the four pixels and reducing the resolution may round off components such as noise and give the impression of improved image quality. Therefore, according to the present embodiment, the impression that the image quality is improved as a whole can be given to the user.
また、本実施例では、白黒エッジ以外の部分のハーフトーン処理時には、CMYK画像データを構成する各色8ビットの階調値を5ビットの量子化データにエンコードするため、40%程度のデータ容量を削減できる。更に、白黒エッジデータについては、4画素分のRGBデータを表す計96ビット(=4画素×8ビット×3色)のデータを二値化して、白黒エッジ判定ビットを含めて5ビットの白黒エッジデータにエンコードできるため、白黒エッジのみによって構成される文字等の部分については、95%程度のデータ容量を削減できる。 In this embodiment, when halftone processing is performed on a portion other than the black and white edge, the 8-bit gradation value of each color constituting the CMYK image data is encoded into 5-bit quantized data. Can be reduced. Furthermore, for monochrome edge data, a total of 96 bits (= 4 pixels × 8 bits × 3 colors) representing RGB data for 4 pixels is binarized, and a monochrome edge of 5 bits including monochrome edge determination bits is obtained. Since the data can be encoded, the data capacity of about 95% can be reduced for a portion such as a character composed only of black and white edges.
また、出願人の試算によれば本実施例による画像処理によって、標準的な360dpi×360dpiの画像にハーフトーン処理を行うのに必要なメモリ容量の20%増し程度のメモリ容量で、720dpi×720dpiの画像データを扱うことが可能になった。これは、白黒エッジに関する処理や白黒エッジ以外の部分について解像度の低減を行わず、単純に720dpi×720dpiの画像データをハーフトーン処理するのに必要なメモリ容量が360dpi×360dpi時の4倍必要であるのに対して格段に少ない容量である。 Further, according to the applicant's estimation, the image processing according to the present embodiment has a memory capacity of about 720 dpi × 720 dpi, which is about 20% of the memory capacity required to perform halftone processing on a standard 360 dpi × 360 dpi image. It became possible to handle image data. This does not reduce the resolution for black and white edges and other portions than black and white edges, and simply requires four times the memory capacity required for halftone processing of 720 dpi × 720 dpi image data at 360 dpi × 360 dpi. The capacity is much less than that.
また、本実施例では、量子化テーブルQTや、第1ドット個数テーブルDT1、第2ドット個数テーブルDT2、順序値マトリクスOMなど、さまざまなテーブルを参照してハーフトーン処理を行うが、基本的に、ハーフトーン処理の過程では、これらのテーブルを参照するだけでドットの有無が決定される。従って、従来の組織的ディザ法のように、閾値と階調値の大小を比較するための処理を行う必要がなく、また、従来の誤差拡散法のように、各画素に発生する誤差を他の画素に分配するような処理を行う必要がない。従って、従来の方法に比べて、極めて高速にハーフトーン処理を行うことができる。 In this embodiment, halftone processing is performed by referring to various tables such as the quantization table QT, the first dot number table DT1, the second dot number table DT2, and the order value matrix OM. In the halftone process, the presence / absence of dots is determined simply by referring to these tables. Therefore, it is not necessary to perform processing for comparing the threshold value and the gradation value as in the conventional systematic dither method, and the error generated in each pixel is different from that in the conventional error diffusion method. It is not necessary to perform a process of distributing to the pixels. Therefore, halftone processing can be performed at a very high speed as compared with the conventional method.
また、印刷装置100は、白色部分についてはドットを形成する必要がないため、本実施例では、白黒エッジを構成する各画素のうち、白色部分についてはハーフトーン処理を行わないものとした。そのため、処理速度を向上させることができる。
In addition, since the
また、本実施例の印刷装置100は、図5および図10に示したように、所定の画像処理を行う種々のメインユニットを直列に接続したメインユニット群と、これらのメインユニットと平行して複数のパスユニットを直列に接続したパスユニット群とを備えている。メインユニット群には、白黒エッジ処理ユニット320によって4画素の階調値が平均化された平均化データが順次転送される。一方、パスユニット群には、白黒エッジ処理ユニット320によって生成された白黒エッジデータが、メインユニット群に平均化データが転送されるのと同期して順次転送される。こうして各ユニット群から同期して出力された平均化データと白黒エッジデータとは、両者が同じタイミングでデータセレクタ420に入力され、白黒エッジ判定ビットの状態に応じて、いずれかのデータがエンコードデータバッファEBに蓄積される。こうした本実施例の構成によれば、平均化データと白黒エッジデータとに対して異なる画像処理を容易に行わせることが可能となる。また、平均化データと白黒エッジデータとは、それぞれメインユニットとパスユニットを同期して転送されるため、データセレクタ420に到達するまでに、その転送順序が狂うことがなく、その順序関係を維持することができる。つまり、その転送の過程において、いずれかのデータが他方のデータを追い抜くことがない。そのため、平均化データもしくは白黒エッジデータがエンコードデータバッファEBに到達するまでに、次の処理対象のデータを待機させる必要がなく、つぎつぎに、メインユニットおよびパスユニットにデータを投入することができる。この結果、処理の高速化を図ることが可能になり、印刷スピードを向上させることができる。
In addition, as illustrated in FIGS. 5 and 10, the
E.1×1モード時におけるハーフトーン回路内でのデータの流れ:
ところで、図10には、1×1モード時において用いられる信号線を破線にて示している。1×1モードは、入力解像度と出力解像度とが共に360dpi×360dpiのモードであるため、720dpi×720dpiの解像度を必要とする白黒エッジに関する処理は行われない。従って、1×1モード時には、以下に説明するように、他のモード時とは異なる手順でハーフトーン処理を行うものとした。
E. Data flow in the halftone circuit in 1 × 1 mode:
Incidentally, in FIG. 10, signal lines used in the 1 × 1 mode are indicated by broken lines. The 1 × 1 mode is a mode in which both the input resolution and the output resolution are 360 dpi × 360 dpi, and thus processing related to a monochrome edge that requires a resolution of 720 dpi × 720 dpi is not performed. Therefore, in the 1 × 1 mode, as will be described below, halftone processing is performed in a different procedure from that in other modes.
図10に示すように、1×1モードでは、エンコーダ410は、色変換回路300から入力したCMYKデータを他のモード時と同様に5ビットの量子化データにエンコードすると、データセレクタ420ではなく、デコーダ430に直接、量子化データを出力する。デコーダ430は、エンコーダ410から量子化データを入力すると、かかる量子化データを、第1ドット個数テーブルDT1、第2ドット個数テーブルDT2および順序値マトリクスOMを用いて2ビットのドット形成用データに変換する。そして、このドット形成用データを、ドット形成用データバッファDBではなく、EB制御ユニット440を介して、エンコードデータバッファEBに蓄積する。すなわち、他のモード時には、エンコードデータバッファEBには、6ビットの量子化データもしくは6ビットの白黒エッジデータが蓄積されることになるが、1×1モード時には、2ビットのドット形成用データが蓄積される。
As shown in FIG. 10, in the 1 × 1 mode, the
エンコードデータバッファEBに蓄積されたドット形成用データは、データ回転ユニット510に読み込まれ、ヘッド駆動用データに変換される。なお、1×1モードでは、ノズルピッチ間に位置するラスタライン上のドット形成用データは、デコーダ430ではなく、データ回転ユニット510によって間引き処理(インターレース処理)される。
The dot formation data stored in the encode data buffer EB is read into the
以上のような構成によれば、1×1モード時には、データセレクタ420やドット形成用データバッファDBが用いられずにドット形成用データがデータ回転ユニット510まで出力されることになるため、印刷速度を向上させることができる。すなわち、画質よりもスピードを優先させた印刷を行うことができる。
According to the above configuration, in the 1 × 1 mode, since the
F.黒データテーブルの作成方法:
図10に示したハーフトーン回路400のデコーダ430が、白黒エッジデータのデコード時に用いる黒データテーブルBT(図28参照)は、予めROM153に記録しておき、印刷処理開始時や印刷装置100の起動時に、これをSDRAM152上にロードするものとすることができる。しかし、黒データテーブルBTは、順序値マトリクスOMと同等の容量を有しているため、ROM153の記憶領域を大きく消費することになる。そこで、上記実施例では、印刷装置100は、黒データテーブルBTを以下に説明する方法により動的に生成するものとする。
F. How to create a black data table:
The black data table BT (see FIG. 28) used when the
図30は、制御ユニット150のCPU151が実行する黒データテーブル作成処理のフローチャートである。図示するように、CPU151は、印刷対象のRGB画像データをコンピュータ900やスキャナ110から入力すると(ステップS100)、かかるRGB画像データの画像処理に先立ち、画像処理ユニット155を1×1モードに設定し(ステップS110)、全画素が黒、すなわち、全画素のRGB値が(0,0,0)となる128画素×64画素のRGB画像データを画像処理ユニット155に出力する(ステップS120)。1×1モードとは、入力画像の解像度と出力画像の解像度とを1対1で対応させるモードである。
FIG. 30 is a flowchart of black data table creation processing executed by the
画像処理ユニット155に128画素×64画素のRGB画像データが入力されると、上述した画像処理ユニット155の働きにより、SDRAM152のエンコードデータバッファEB上に、128×64のサイズを有する全画素が黒のドット形成用データが生成される。すると、CPU151は、このドット形成用データを、SDRAM152内の黒データテーブルBTを格納する領域に転送して記憶させる(ステップS130)。
When RGB image data of 128 pixels × 64 pixels is input to the
以上の処理により、SDRAM152の所定の領域に黒データテーブルBTが作成されたため、CPU151は、画像処理ユニット155を2×2モードに設定し(ステップS140)、ステップS100で入力したRGB画像データを、画像処理ユニット155に出力する(ステップS150)。
As a result of the above processing, the black data table BT is created in a predetermined area of the
以上で説明した処理によれば、128画素×64画素分の黒色を表すRGBデータを画像処理ユニット155に出力するだけで、SDRAM152上に黒データテーブルBTが生成される。そのため、予めROM153に黒データテーブルBTを記憶させる必要がなく、ROM153の記憶容量を削減することができる。また、画像処理ユニット155の色変換回路300では、印刷装置100の個体に応じたインク量の補正や印刷縞の補正が行われるため、印刷装置の個体に応じて最適な黒データテーブルBTが作成されることになる。従って、画質の向上を図ることが可能になる。
According to the processing described above, the black data table BT is generated on the
また、上述した黒データテーブルBTの作成処理では、印刷データを入力する毎に、黒データテーブルBTを作成するものとしたため、例えば、印刷用紙の種類やセットされているインクの種類、印刷画質の設定に応じて、その設定に適した黒データテーブルBTを作成することができる。もちろん、このような必要がないときは、印刷装置100の起動時に、図30のステップS110〜S130の処理を実行するものとしてもよい。このようにすれば、印刷実行毎に黒データテーブルBTを作成する必要がないため、印刷速度を向上させることができる。
Further, since the black data table BT is created every time print data is input in the above-described creation process of the black data table BT, for example, the type of printing paper, the type of ink set, and the print image quality Depending on the setting, a black data table BT suitable for the setting can be created. Of course, when such a necessity is not necessary, the processing in steps S110 to S130 of FIG. 30 may be executed when the
G.他の出力解像度モードの例:
以上で説明した印刷装置100では、2×2モードによって各種画像処理が行われる場合について説明した。ここで、参考のために、他の出力解像度のモードにおけるブロック番号の判別方法と、中間ドットデータの振り分け方法について説明する。
G. Examples of other output resolution modes:
In the
<各モードにおけるブロック番号の判別方法>
図31は、1×1モードにおけるブロック番号の判別方法を示す説明図である。1×1モードは、エンコーダ410が入力したCMYK画像データの解像度(360dpi×360dpi)を等倍の解像度(360dpi×360dpi)で出力するモードである。そのため、順序値マトリクスOMにおいて、1つのブロック番号が割り振られている4×2の単位ブロックの大きさは、1×1モードで出力しようとするとCMYK画像データ内でも、4画素×2画素の大きさに相当する。従って、ハーフトーン回路400は、かかる4×2の画素が同一のブロック番号であると判別する。
<Determination method of block number in each mode>
FIG. 31 is an explanatory diagram showing a block number discrimination method in the 1 × 1 mode. The 1 × 1 mode is a mode in which the resolution (360 dpi × 360 dpi) of the CMYK image data input by the
図32は、1×2モードにおけるブロック番号の判別方法を示す説明図である。1×2モードは、エンコーダ410が入力したCMYK画像データの解像度(360dpi×360dpi)を縦方向に2倍の解像度(360dpi×720dpi)にして出力するモードである。そのため、順序値マトリクスOM内の1つのブロック番号が割り振られている4×2の単位ブロックの大きさは、1×2モードで出力しようとするCMYK画像データ内では、4画素×1画素の大きさに相当する。従って、ハーフトーン回路400は、かかる4×1の画素が同一のブロック番号であると判別する。
FIG. 32 is an explanatory diagram showing a block number discrimination method in the 1 × 2 mode. The 1 × 2 mode is a mode in which the resolution of CMYK image data input by the encoder 410 (360 dpi × 360 dpi) is doubled in the vertical direction (360 dpi × 720 dpi) and output. Therefore, the size of a 4 × 2 unit block to which one block number is assigned in the order value matrix OM is 4 × 1 pixel in CMYK image data to be output in the 1 × 2 mode. It corresponds to. Therefore, the
図33は、2×1モードにおけるブロック番号の判別方法を示す説明図である。2×1モードは、エンコーダ410が入力したCMYK画像データの解像度(360dpi×360dpi)を横方向に2倍の解像度(720dpi×360dpi)にするモードである。そのため、順序値マトリクスOM内の1つのブロック番号が割り振られている4×2の単位ブロックの大きさは、2×1モードで出力しようとするCMYK画像データ内では、2画素×2画素の大きさに相当する。従って、ハーフトーン回路400は、かかる2×2の画素が同一のブロック番号であると判別する。
FIG. 33 is an explanatory diagram showing a block number discrimination method in the 2 × 1 mode. The 2 × 1 mode is a mode in which the resolution (360 dpi × 360 dpi) of CMYK image data input by the
図34は、4×2モードにおけるブロック番号の判別方法を示す説明図である。4×2モードは、エンコーダ410が入力したCMYK画像データの解像度(360dpi×360dpi)を横方向に4倍、縦方向に2倍の解像度(1440dpi×720dpi)にするモードである。そのため、順序値マトリクスOM内の1つのブロック番号が割り振られている4×2の単位ブロックの大きさは、4×2モードで出力しようとするCMYK画像データ内では、1画素×1画素の大きさに相当する。従って、ハーフトーン回路400は、かかる1×1の画素が同一のブロック番号であると判別する。
FIG. 34 is an explanatory diagram showing a block number discrimination method in the 4 × 2 mode. The 4 × 2 mode is a mode in which the resolution (360 dpi × 360 dpi) of CMYK image data input by the
<各モードにおける中間ドットデータの振り分け>
図26に示したように、1つの量子化データからは、出力解像度のモードにかかわらず、4画素×2画素の中間ドットデータが生成される。1つの量子化データは、CMYK画像データの1画素に対応することから、すべての量子化データについて中間ドットデータを生成すると、360dpi×360dpiの入力解像度が、1440dpi×720dpiの出力解像度となってしまい、各モード(4×2モードを除く)が目標とする出力解像度とは異なる解像度を有することになる。そこで、デコーダ430内の量子化データデコード回路433は、中間ドットデータを構成する各画素を、出力解像度のモードに応じて、適宜、振り分けを行い、出力解像度の調整を行う。
<Distribution of intermediate dot data in each mode>
As shown in FIG. 26, 4 × 2 intermediate dot data is generated from one quantized data regardless of the output resolution mode. Since one quantized data corresponds to one pixel of CMYK image data, when intermediate dot data is generated for all quantized data, an input resolution of 360 dpi × 360 dpi becomes an output resolution of 1440 dpi × 720 dpi. Each mode (excluding the 4 × 2 mode) has a resolution different from the target output resolution. Therefore, the quantized
<1×1モードの場合>
図35は、1×1モードにおける中間ドットデータの振り分け方法を示す説明図である。図31で示したように、1×1モードの場合には、4画素×2画素の計8画素が同一のブロック番号を有する。従って、図35のように、かかる8画素からそれぞれ生成される横に4つ、縦に2つ分の計8つの中間ドットデータから、それぞれ異なる位置の画素を1つずつ抽出し、これを4画素×2画素のドット形成用データとして振り分ける。こうすることで、360dpi×360dpiの入力解像度が、目標とする360dpi×360dpiの出力解像度に変換される。
<1x1 mode>
FIG. 35 is an explanatory diagram showing a method for distributing intermediate dot data in the 1 × 1 mode. As shown in FIG. 31, in the 1 × 1 mode, a total of 8 pixels of 4 × 2 pixels have the same block number. Accordingly, as shown in FIG. 35, pixels at different positions are extracted one by one from a total of eight intermediate dot data, each of which is generated from the eight pixels, four in the horizontal direction and two in the vertical direction. This is distributed as dot formation data of pixel × 2 pixels. By doing so, the input resolution of 360 dpi × 360 dpi is converted to the target output resolution of 360 dpi × 360 dpi.
<1×2モードの場合>
図36は、1×2モードにおける中間ドットデータの振り分け方法を示す説明図である。図32で示したように、1×2モードの場合には、4画素×1画素の計4画素が同一のブロック番号を有する。従って、図36のように、かかる4画素からそれぞれ生成される横方向に4つ分の中間ドットデータから、それぞれ異なる位置の画素を縦方向に2つずつ抽出し、これを4画素×2画素のドット形成用データとして振り分ける。こうすることで、360dpi×360dpiの入力解像度が、目標とする360dpi×720dpiの出力解像度に変換される。
<1x2 mode>
FIG. 36 is an explanatory diagram showing a method for distributing intermediate dot data in the 1 × 2 mode. As shown in FIG. 32, in the 1 × 2 mode, a total of 4 pixels of 4 pixels × 1 pixel have the same block number. Therefore, as shown in FIG. 36, two pixels at different positions are extracted in the vertical direction from four intermediate dot data in the horizontal direction generated from the four pixels, and these are extracted as 4 pixels × 2 pixels. Is distributed as dot formation data. By doing so, the input resolution of 360 dpi × 360 dpi is converted to the target output resolution of 360 dpi × 720 dpi.
<2×1モードの場合>
図37は、2×1モードにおける中間ドットデータの振り分け方法を示す説明図である。図33で示したように、2×1モードの場合には、2画素×2画素の計4画素が同一のブロック番号を有する。従って、図37のように、かかる4画素からそれぞれ生成される横方向に2つ、縦方向に2つ分の計4つの中間ドットデータから、それぞれ異なる位置の画素を横方向に2つずつ抽出し、これを4画素×2画素のドット形成用データとして振り分ける。こうすることで、360dpi×360dpiの入力解像度が、目標とする720dpi×360dpiの出力解像度に変換されることになる。
<In the case of 2 × 1 mode>
FIG. 37 is an explanatory diagram showing a method for distributing intermediate dot data in the 2 × 1 mode. As shown in FIG. 33, in the 2 × 1 mode, a total of 4 pixels of 2 × 2 pixels have the same block number. Therefore, as shown in FIG. 37, two pixels at different positions are extracted from each of the four intermediate dot data generated from the four pixels, two in the horizontal direction and two in the vertical direction. This is distributed as dot formation data of 4 pixels × 2 pixels. By doing so, the input resolution of 360 dpi × 360 dpi is converted to the target output resolution of 720 dpi × 360 dpi.
<4×2モードの場合>
図38は、4×2モードにおける中間ドットデータの振り分け方法を示す説明図である。図34で示したように、4×2モードの場合には、1画素がそれぞれ1つのブロック番号を有する。従って、図38のように、かかる1画素から生成される1つの中間ドットデータから、すべての画素を抽出し、これを4画素×2画素のドット形成用データとしてそのまま適用する。こうすることで、360dpi×360dpiの入力解像度が、目標とする1440dpi×720dpiの出力解像度に変換されることになる。
<4x2 mode>
FIG. 38 is an explanatory diagram showing a method for distributing intermediate dot data in the 4 × 2 mode. As shown in FIG. 34, in the 4 × 2 mode, each pixel has one block number. Therefore, as shown in FIG. 38, all pixels are extracted from one intermediate dot data generated from one pixel, and this is applied as it is as dot formation data of 4 pixels × 2 pixels. By doing so, the input resolution of 360 dpi × 360 dpi is converted to the target output resolution of 1440 dpi × 720 dpi.
<その他のモード>
出力解像度のモードとしては、そのほかに、出力解像度が720dpi×1440dpiとなる2×4モードや、出力解像度が1440dpi×1440dpiとなる4×4モードも存在するが、これらのモードでは、図22や図23で示した第1ドット個数テーブルDT1や第2ドット個数テーブルDT2の内容が異なっており、他のモードとはハーフトーン処理の態様が異なるため、本実施例では詳細な説明を省略する。
<Other modes>
Other output resolution modes include a 2 × 4 mode with an output resolution of 720 dpi × 1440 dpi and a 4 × 4 mode with an output resolution of 1440 dpi × 1440 dpi. In these modes, FIG. 22 and FIG. Since the contents of the first dot number table DT1 and the second dot number table DT2 shown in FIG. 23 are different and the mode of the halftone process is different from the other modes, detailed description is omitted in this embodiment.
H.変形例:
以上、本発明の種々の実施例について説明したが、本発明はこのような実施例に限定されず、その趣旨を逸脱しない範囲で種々の構成を採ることができることはいうまでもない。例えば、ハードウェアで実現した機能をCPU151が所定のプログラムを実行することによりソフトウェア的によって実現するものとしてもよい。そのほか、以下のような変形が可能である。
H. Variations:
Although various embodiments of the present invention have been described above, the present invention is not limited to such embodiments, and it goes without saying that various configurations can be adopted without departing from the spirit of the present invention. For example, a function realized by hardware may be realized by software by the
(H−1)変形例1:
上記実施例では、印刷装置100単体で、色変換処理や量子化データのエンコード/デコードを行うものとした。これに対して、例えば、エンコードデータバッファEBよりも前段に位置する各デバイス、すなわち、色変換回路300やエンコーダ410、データセレクタ420を、印刷装置100とは異なる装置に組み込み、印刷装置100とかかる装置とを所定の通信路で接続するものとしてもよい。このような装置としては、例えば、コンピュータ900を用いることができる。コンピュータ900を用いる場合には、色変換回路300やエンコーダ410、データセレクタ420が実施する処理に相当する処理を、例えば、プリンタドライバなどによりソフトウェア的に実現することができる。こうすることにより、印刷装置100の処理負担を軽減することができる。また、エンコーダ410によってエンコードされた量子化データや、白黒エッジ処理ユニット320によってエンコードされた白黒エッジデータは、もとのRGBデータに対してデータ容量が大幅に削減されているため、通信データの容量が削減されることになる。
(H-1) Modification 1:
In the above embodiment, the color conversion process and the encoding / decoding of the quantized data are performed by the
(H−2)変形例2:
上記実施例では、順序値マトリクスのサイズを、128×64であるものとした。しかし、順序値マトリクスは、かかるサイズに限定されるものではなく、例えば、より大きなサイズ(例えば、512×256)とすることができる。大きなサイズの順序値マトリクスを用いれば、入力した画像のサイズが大きい場合であっても効率的にハーフトーン処理を行うことができる。
(H-2) Modification 2:
In the above embodiment, the size of the order value matrix is 128 × 64. However, the order value matrix is not limited to such a size, and may be a larger size (for example, 512 × 256). If an order value matrix having a large size is used, halftone processing can be efficiently performed even when the size of the input image is large.
図39および図40は、512×256の順序値マトリクスの一例を示す説明図である。図39には、実施例に示した128×64のサイズの順序値マトリクス(図中のハッチング部分)を、横方向に64画素分、オフセットさせつつタイル状に当てはめて構成した例を示している。また、図40には、実施例で示した128×64の順序値マトリクスを、縦方向に32画素分、オフセットさせつつタイル状に当てはめて構成した例を示している。このように、通常のサイズの順序値マトリクスを繰り返して適用することにより、容易に大きなサイズの順序値マトリクスを生成することができる。 39 and 40 are explanatory diagrams illustrating an example of an order value matrix of 512 × 256. FIG. 39 shows an example in which the 128 × 64 size order value matrix (hatched portion in the figure) shown in the embodiment is applied in a tile shape while offset by 64 pixels in the horizontal direction. . FIG. 40 shows an example in which the 128 × 64 order value matrix shown in the embodiment is applied in a tile shape while being offset by 32 pixels in the vertical direction. In this way, by repeatedly applying a normal size order value matrix, it is possible to easily generate a large size order value matrix.
大きなサイズの順序値マトリクスは、予めその全体をROM153に記録させておいてもよいが、ROM153には、通常の128×64のサイズの順序値マトリクスを記憶させておき、印刷装置100の起動時に、CPU151が、この小さなサイズの順序値マトリクスをロードして、図39や図40に示した配置に構成した上で、SDRAM152に展開するものとしてもよい。こうすることで、ROM153の記憶容量を削減することが可能になる。なお、順序値マトリクスを大きなサイズにする場合には、それに対応して黒データテーブルBTも大きなサイズにするものとする。
The order value matrix having a large size may be recorded in advance in the
(H−3)変形例3:
上記実施例では、白色と黒色の組み合わせのみによって構成される部分について高解像度のままハーフトーン処理を行うものとしたが、色の組み合わせはこれに限られることはない。例えば、白色と青色、あるいは白色と緑色などとすることもできる。この場合、例えば、ユーザがコンピュータ900や操作パネル140を用いて色の組み合わせを設定できるものとしてもよい。こうすることにより、文字等の色を黒色以外の色で表した場合などにも、その文字を高解像度のまま印刷することができる。なお、ユーザによって色の指定がされた場合には、黒データテーブルBTに換え、その色に応じたテーブルを作成するものとすることができる。この場合であっても、上述した黒データテーブルの作成方法に従えば、指定された色に応じたテーブルを容易に生成することが可能である。
(H-3) Modification 3:
In the above embodiment, the halftone process is performed with the high resolution for the portion constituted only by the combination of white and black, but the combination of colors is not limited to this. For example, white and blue or white and green can be used. In this case, for example, the user may be able to set a color combination using the
(H−4)変形例4:
上記実施例では、入力解像度が720dpi×720dpiで、出力解像度も720dpi×720dpiの場合における画像処理について説明したが、解像度はこれに限られることはない。例えば、両解像度は、600dpi×600dpiでもよいし、1200dpi×1200dpiでもよい。また、1440dpi×1440dpiでもよい。
(H-4) Modification 4:
In the above embodiment, the image processing in the case where the input resolution is 720 dpi × 720 dpi and the output resolution is 720 dpi × 720 dpi has been described, but the resolution is not limited to this. For example, both resolutions may be 600 dpi × 600 dpi, or 1200 dpi × 1200 dpi. Further, it may be 1440 dpi × 1440 dpi.
(H−5)変形例5:
上記実施例では、各パスユニットは、白黒エッジデータ等のデータを順次転送する機能を備えるものとして説明した。これに対して、各パスユニットは、白黒エッジデータ等の転送だけではなく、転送を行うデータに対して、所定の画像処理を行う機能を備えるものとしてもよい。例えば、白黒エッジデータの解像度を、より高解像度に変換する処理や、白黒エッジデータが表す黒色あるいは白色の画素の色を他の色に変換する処理などを行わせるものとすることができる。これらの処理は、そのパスユニットに対応するメインユニットが画像処理を行う処理時間の中で完了する処理とすることができる。こうすることにより、メインユニットによるデータの転送に遅延が発生することが無く、適切に同期をとることができる。
(H-5) Modification 5:
In the above embodiment, each path unit has been described as having a function of sequentially transferring data such as black and white edge data. On the other hand, each pass unit may have a function of performing predetermined image processing on data to be transferred as well as transfer of black-and-white edge data and the like. For example, processing for converting the resolution of black and white edge data to a higher resolution, processing for converting the color of a black or white pixel represented by black and white edge data to another color, and the like can be performed. These processes can be processes that are completed within the processing time in which the main unit corresponding to the pass unit performs image processing. By doing so, there is no delay in data transfer by the main unit, and appropriate synchronization can be achieved.
(H−6)変形例6:
上記実施例では、色変換回路300およびハーフトーン回路400内に存在するパスユニットは、これに対応するメインユニットと同数のユニットを備えるものとした。これに対して、パスユニットは、より少ない数によって構成することも可能である。
(H-6) Modification 6:
In the above embodiment, the pass units existing in the
図41は、上記実施例のパスユニットの構成と、変形例としてのパスユニットの構成を比較する説明図である。図41(a)には、実施例のパスユニットの構成を示し、図41(b)には、変形例としてのパスユニットの構成を示した。なお、この図では、便宜上、実施例に示したメインユニットの一部を省略して示している。図41(a)に示すように、上記実施例の印刷装置100は、メインユニットと同数のパスユニットを備えているが、本変形例では、図41(b)に示すように、メインユニットの数よりも少ない数のパスユニットを備えているものとした。
FIG. 41 is an explanatory diagram comparing the configuration of the pass unit of the above embodiment and the configuration of a pass unit as a modification. FIG. 41A shows the configuration of the pass unit of the embodiment, and FIG. 41B shows the configuration of the pass unit as a modification. In this figure, a part of the main unit shown in the embodiment is omitted for convenience. As shown in FIG. 41 (a), the
かかる変形例では、エンコーダ410が前段のインク量補正ユニット340に対して出力するack信号を、第1パスユニット390aの出力側と、第7パスユニット390gの入力側とに分岐して入力するものとした。こうすることにより、平均化データがインク量補正ユニット340からエンコーダ410に転送されるタイミングで、白黒エッジデータが、第1パスユニット390aから第7パスユニット390gに転送されることになる。従って、本変形例のように、メインユニットとパスユニットの数が同数でなくても、適切に、平均化データと白黒エッジデータとを、同期して転送することができる。なお、図41(b)示した変形例では、第1パスユニットを構成するFIFOメモリは、色変換ユニット330とインク量補正ユニット340とに蓄積されるデータ以上のデータを蓄積可能なメモリ容量を有するものとする。
In such a modification, the ack signal output from the
100...印刷装置
110...スキャナ
120...メモリカードスロット
130...USBインタフェース
140...操作パネル
150...制御ユニット
151...CPU
152...SDRAM
153...ROM
154...EEPROM
155...画像処理ユニット
156...ヘッドコントロールユニット
160...印刷機構
200...プリンタ
210...キャリッジ
211...インクヘッド
212...インクカートリッジ
220...キャリッジモータ
230...紙送りモータ
260...駆動ベルト
270...プラテン
280...摺動軸
300...色変換回路
310...ライン入力ユニット
320...白黒エッジ処理ユニット
321...白黒エッジ判定回路
322...平均化回路
323...白黒エッジエンコード回路
324...セレクタ回路
330...色変換ユニット
331...変換回路
332...標準エッジ判定回路
333...ノイズ発生回路
334...スムージング回路
340...インク量補正ユニット
350...印刷縞抑制ユニット
360...ビット減縮ユニット
370...透明インク後処理ユニット
380...ブロック内平滑化ユニット
390a〜g...パスユニット
400...ハーフトーン回路
410...エンコーダ
411...ブロック番号判別回路
412...量子化回路
420...データセレクタ
430...デコーダ
431...データ判定回路
432...白黒エッジデータデコード回路
433...量子化データデコード回路
440...EB制御ユニット
500...ヘッド駆動用データ変換回路
510...データ回転ユニット
520...HB制御ユニット
900...コンピュータ
DESCRIPTION OF
152 ... SDRAM
153 ... ROM
154 ... EEPROM
155 ...
Claims (7)
入力した画像データを所定の画素数単位の画素群に分割し、該画素群の特徴に応じて該画素群から第1の中間データおよび第2の中間データを生成して各々出力する中間データ生成ユニットと、
前記第1の中間データを入力し、該第1の中間データに対して各々所定の画像処理を施しつつ順次転送を行う画像処理ユニットを複数直列に接続した画像処理ユニット群と、
前記第2の中間データを入力し、該第2の中間データを、前記画像処理ユニット間に前記第1の中間データが転送されるのと同期して順次転送を行うパスユニットを複数直列に接続したパスユニット群と、
前記画像処理ユニット群によって画像処理の施された後の前記第1の中間データと、前記パスユニット群内を順次転送された前記第2の中間データとを入力し、該入力された中間データのうちいずれか一方を選択するデータセレクタと、
前記データセレクタによって選択された中間データを順次蓄積する記憶部と
前記記憶部に蓄積された中間データを用いて、出力画像を生成する出力画像生成部と
を備え、
前記中間データ生成ユニットは、
前記第1の中間データとして、前記画素群を構成する画素の画素値を平均化することで、該画素群の解像度を低減させたデータを生成する平均化データ生成手段と、
前記画素群にエッジが含まれているか否かを判断するエッジ判断手段と、
前記画素群にエッジが含まれていると判断された場合に、前記第2の中間データとして、該エッジの形態を表すデータを生成するエッジデータ生成手段と、
前記画素群にエッジが含まれていないと判断された場合に、前記第2の中間データとして、ダミーデータを生成するダミーデータ生成手段と、
前記画素群にエッジが含まれているか否かを示すフラグ情報を前記第2の中間データとともに、前記パスユニット群に出力するフラグ情報出力手段と、を備え、
前記画像処理ユニット群は、前記画像処理として、前記第1の中間データの色空間をRGB形式からCMYK形式に変換する色変換処理、および、前記第1の中間データの階調値を補正する階調補正処理、の少なくとも一方を行う画像処理ユニットを含み、
前記データセレクタは、前記第2の中間データとともに前記フラグ情報を取得し、該フラグ情報が、前記画素群にエッジが含まれていることを示す場合には、前記第2の中間データを選択し、該フラグ情報が、前記画素群にエッジが含まれていないことを示す場合には、前記第1の中間データを選択する
画像出力装置。 An image output device that performs predetermined image processing and outputs the input image data,
Intermediate data generation that divides input image data into pixel groups in units of a predetermined number of pixels, generates first intermediate data and second intermediate data from the pixel groups according to the characteristics of the pixel groups, and outputs them respectively Unit,
An image processing unit group in which a plurality of image processing units that input the first intermediate data and sequentially transfer the first intermediate data while performing predetermined image processing on each of the first intermediate data;
A plurality of pass units that input the second intermediate data and sequentially transfer the second intermediate data in synchronization with the transfer of the first intermediate data between the image processing units are connected in series. Pass unit group,
The first intermediate data after image processing is performed by the image processing unit group and the second intermediate data sequentially transferred in the pass unit group are input , and the input intermediate data A data selector for selecting one of them,
A storage unit that sequentially stores the intermediate data selected by the data selector; and an output image generation unit that generates an output image using the intermediate data stored in the storage unit .
The intermediate data generation unit is
Averaged data generating means for generating data with reduced resolution of the pixel group by averaging the pixel values of the pixels constituting the pixel group as the first intermediate data;
Edge determination means for determining whether or not an edge is included in the pixel group;
Edge data generating means for generating data representing the form of the edge as the second intermediate data when it is determined that the pixel group includes an edge;
Dummy data generating means for generating dummy data as the second intermediate data when it is determined that an edge is not included in the pixel group;
Flag information output means for outputting flag information indicating whether or not an edge is included in the pixel group to the pass unit group together with the second intermediate data;
The image processing unit group includes, as the image processing, a color conversion process for converting a color space of the first intermediate data from an RGB format to a CMYK format, and a level for correcting a gradation value of the first intermediate data. An image processing unit that performs at least one of the tone correction processing,
The data selector acquires the flag information together with the second intermediate data, and if the flag information indicates that the pixel group includes an edge, selects the second intermediate data. An image output device that selects the first intermediate data when the flag information indicates that the pixel group does not include an edge .
前記画像処理ユニットは、前記第1の中間データの転送先の他の画像処理ユニットに対して、データの受け取りを要求する要求信号を送信し、該他の画像処理ユニットは、該要求信号を受信すると、当該画像処理ユニットから転送された前記第1の中間データを受信し、該第1の中間データの受信が完了すると、当該画像処理ユニットに対して、データの受信が完了した旨を表す確認信号を送信することにより、前記第1の中間データの転送を行う
画像出力装置。 The image output device according to claim 1 ,
The image processing unit transmits a request signal for requesting data reception to another image processing unit to which the first intermediate data is transferred, and the other image processing unit receives the request signal. Then, the first intermediate data transferred from the image processing unit is received, and when the reception of the first intermediate data is completed, a confirmation indicating that the data reception is completed is given to the image processing unit. An image output apparatus that transfers the first intermediate data by transmitting a signal.
前記パスユニットは、
当該パスユニットに対応して設けられた前記画像処理ユニットが前記第1の中間データの転送元となる他の画像処理ユニットに対して送信する前記確認信号を分岐して入力し、該確認信号の入力を検出した場合に、前記第2の中間データの転送元となる他のパスユニットから前記第2の中間データを入力するとともに、
当該パスユニットに対応して設けられた前記画像処理ユニットが前記第1の中間データを転送する他の画像処理ユニットから、該パスユニットに対応して設けられた前記画像処理ユニットに対して送信される前記確認信号を分岐して入力し、該確認信号の入力を検出した場合に、前記第2の中間データの転送先となる他のパスユニットに前記第2の中間データを出力することにより、前記画像処理ユニット間に前記第1の中間データが転送されるのと同期して前記第2の中間データの転送を行う
画像出力装置。 The image output apparatus according to claim 2 ,
The pass unit is
The image processing unit provided corresponding to the pass unit branches and inputs the confirmation signal to be transmitted to another image processing unit that is a transfer source of the first intermediate data. When the input is detected, the second intermediate data is input from another path unit that is a transfer source of the second intermediate data;
The image processing unit provided corresponding to the pass unit is transmitted from another image processing unit that transfers the first intermediate data to the image processing unit provided corresponding to the pass unit. When the confirmation signal is branched and input, and the input of the confirmation signal is detected, the second intermediate data is output to another path unit to which the second intermediate data is transferred, An image output apparatus that transfers the second intermediate data in synchronization with the transfer of the first intermediate data between the image processing units.
前記中間データ生成ユニットのエッジ判断手段は、前記画素群が、白色と黒色の画素によって構成されている場合に、エッジが含まれていると判断する
画像出力装置。 The image output device according to any one of claims 1 to 3 ,
The image output device, wherein the edge determination unit of the intermediate data generation unit determines that an edge is included when the pixel group includes white and black pixels.
前記中間データ生成ユニットのエッジデータ生成手段は、前記エッジの形態を表すデータとして、前記画素群内の白色と黒色の画素の配置に応じて前記画素群を2値化したデータを生成する
画像出力装置。 The image output device according to claim 4 ,
The edge data generation means of the intermediate data generation unit generates data obtained by binarizing the pixel group in accordance with the arrangement of white and black pixels in the pixel group as data representing the form of the edge. Image output apparatus.
前記各パスユニットは、所定段数のFIFOメモリによって構成されている
画像出力装置。 An image output apparatus according to any one of claims 1 to 5 ,
Each of the pass units is an image output device configured with a predetermined number of FIFO memories.
前記出力画像生成部は、前記記憶部に記憶された前記第1の中間データと前記第2の中間データとに対してそれぞれ個別に異なるハーフトーン処理を施すことにより、前記出力画像を生成する
画像出力装置。 The image output device according to any one of claims 1 to 6 ,
The output image generation unit generates the output image by individually performing different halftone processing on the first intermediate data and the second intermediate data stored in the storage unit. Output device.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005270118A JP4513702B2 (en) | 2005-09-16 | 2005-09-16 | Image output device |
US11/521,791 US7532360B2 (en) | 2005-09-16 | 2006-09-15 | Image output apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005270118A JP4513702B2 (en) | 2005-09-16 | 2005-09-16 | Image output device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007082090A JP2007082090A (en) | 2007-03-29 |
JP4513702B2 true JP4513702B2 (en) | 2010-07-28 |
Family
ID=37941877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005270118A Expired - Fee Related JP4513702B2 (en) | 2005-09-16 | 2005-09-16 | Image output device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4513702B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9226748B2 (en) | 2007-07-26 | 2016-01-05 | Alpha Scientific Corporation | Surgical suturing device, method and tools used therewith |
US9622741B2 (en) | 2007-07-26 | 2017-04-18 | Alpha Scientific Corporation | Surgical suturing device and tools used therewith |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6192326B2 (en) | 2013-03-22 | 2017-09-06 | キヤノン株式会社 | Image processing apparatus and control method thereof |
JP2019062577A (en) * | 2014-06-18 | 2019-04-18 | キヤノン株式会社 | Image processing device, image processing method and program |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08317230A (en) * | 1995-05-18 | 1996-11-29 | Ricoh Co Ltd | Color printer controller |
-
2005
- 2005-09-16 JP JP2005270118A patent/JP4513702B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08317230A (en) * | 1995-05-18 | 1996-11-29 | Ricoh Co Ltd | Color printer controller |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9226748B2 (en) | 2007-07-26 | 2016-01-05 | Alpha Scientific Corporation | Surgical suturing device, method and tools used therewith |
US9622741B2 (en) | 2007-07-26 | 2017-04-18 | Alpha Scientific Corporation | Surgical suturing device and tools used therewith |
Also Published As
Publication number | Publication date |
---|---|
JP2007082090A (en) | 2007-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20070115506A1 (en) | Image processing apparatus | |
US7532360B2 (en) | Image output apparatus | |
JP6587552B2 (en) | Image processing apparatus and image processing method | |
JP4696804B2 (en) | Image output device | |
JP5072349B2 (en) | Image forming apparatus and control method thereof | |
US8462387B2 (en) | Image processing device, printing apparatus, and image processing method | |
JP4513702B2 (en) | Image output device | |
JP5994919B2 (en) | Printing apparatus, printing method, and computer program | |
JP6252003B2 (en) | Printing apparatus, printing method, image processing apparatus, and program | |
US8896884B2 (en) | Image processing apparatus, printing apparatus, and image processing method | |
US20110116115A1 (en) | Image processor and image processing method | |
JP6193594B2 (en) | Image processing apparatus, image processing method, image processing system, and program | |
JP4475189B2 (en) | Image processing device | |
JP4626473B2 (en) | Image processing apparatus, image output apparatus and method | |
JP4442525B2 (en) | Image processing device | |
JP2010137536A (en) | Printer, and printing method | |
JP2010130303A (en) | Print controller, printing apparatus, print control method, and computer program | |
JP6307939B2 (en) | Image forming apparatus and image forming method | |
JP5991753B2 (en) | Image processing apparatus and image processing method | |
JP2005067054A (en) | Discharge control of improved ink | |
JP2011031548A (en) | Image processor | |
JP2011020408A (en) | Image processing apparatus | |
JP2004322374A (en) | Image formation device and image formation method | |
JP4746005B2 (en) | Image processing apparatus, image processing method, and program | |
JP2006224569A (en) | Image forming device, image processor, image processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080604 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091215 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100210 |
|
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: 20100420 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100503 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130521 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140521 Year of fee payment: 4 |
|
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 |