JP4229018B2 - Image processing apparatus and image processing program using diffusion gamma table - Google Patents

Image processing apparatus and image processing program using diffusion gamma table Download PDF

Info

Publication number
JP4229018B2
JP4229018B2 JP2004209040A JP2004209040A JP4229018B2 JP 4229018 B2 JP4229018 B2 JP 4229018B2 JP 2004209040 A JP2004209040 A JP 2004209040A JP 2004209040 A JP2004209040 A JP 2004209040A JP 4229018 B2 JP4229018 B2 JP 4229018B2
Authority
JP
Japan
Prior art keywords
gamma table
gamma
diffusion
corrected
representative
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
Application number
JP2004209040A
Other languages
Japanese (ja)
Other versions
JP2006033402A (en
Inventor
誠 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004209040A priority Critical patent/JP4229018B2/en
Publication of JP2006033402A publication Critical patent/JP2006033402A/en
Application granted granted Critical
Publication of JP4229018B2 publication Critical patent/JP4229018B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color, Gradation (AREA)
  • Image Processing (AREA)

Description

本発明は、拡散ガンマテーブルを利用する画像処理装置及び画像処理プログラムに関し、特に、キャリブレーション時に拡散ガンマテーブルを補正する画像処理装置及び画像処理プログラムに関する。   The present invention relates to an image processing apparatus and an image processing program that use a diffusion gamma table, and more particularly, to an image processing apparatus and an image processing program that correct a diffusion gamma table during calibration.

プリンタや複写機などの画像生成装置は、階調入力データを画素内のドットサイズを特定する画像再生出力データに変換する画像処理装置を有する。ホストコンピュータやスキャナーなどから出力される画素の階調入力データは、画素内の階調値を表す例えば8ビットのデータである。かかる階調によるハーフトーンを表現するために、印刷エンジンにより画素内に所定サイズのドットを形成し、平面的に所望の階調を表現する多値ディザ法が利用される。多値ディザ法によるハーフトーン処理部では、8ビット256階調の階調入力データを、画素内に形成するドットサイズを特定する8ビット256階調の画像再生出力データに変換し、パルス幅変調ユニットが画像再生出力データから駆動パルス信号を生成し、印刷エンジンが、その駆動パルス信号に基づいて画素内にドットを形成する。印刷エンジンの電子写真技術によれば、駆動パルスによりレーザを駆動し、駆動されたレーザビームにより感光体ドラム上に静電潜像を形成する。そして、形成された静電潜像に所望の色の現像材を付着させてドットを形成する。   An image generation apparatus such as a printer or a copier has an image processing apparatus that converts gradation input data into image reproduction output data that specifies a dot size in a pixel. The pixel gradation input data output from the host computer or scanner is, for example, 8-bit data representing the gradation value in the pixel. In order to express a halftone with such a gradation, a multi-value dither method is used in which dots of a predetermined size are formed in a pixel by a print engine and a desired gradation is expressed in a plane. The half-tone processing unit based on the multi-value dither method converts 8-bit 256 gradation input data into 8-bit 256 gradation image reproduction output data that specifies the dot size formed in the pixel, and performs pulse width modulation. The unit generates a drive pulse signal from the image reproduction output data, and the print engine forms dots in the pixels based on the drive pulse signal. According to the electrophotographic technique of a print engine, a laser is driven by a driving pulse, and an electrostatic latent image is formed on a photosensitive drum by the driven laser beam. Then, a developer of a desired color is attached to the formed electrostatic latent image to form dots.

上記のような画像処理装置については、例えば、特許文献1,2などに開示されている。   The image processing apparatus as described above is disclosed in, for example, Patent Documents 1 and 2.

従来のハーフトーン処理は、例えば、8ビットの階調入力データに対して、8ビットまたはそれより少ないビット数の出力データに変換し、その出力データにより画素内のドットサイズが決められている。したがって、画像として再生される画素内のドットサイズは、出力データのビット数に対応する階調数を有し、階調数を高くするためには出力データのビット数を多くすることが望ましい。
特開2000−85187号公報 特開2000−228728号公報
In the conventional halftone processing, for example, 8-bit gradation input data is converted into output data of 8 bits or less, and the dot size in the pixel is determined by the output data. Therefore, the dot size in the pixel reproduced as an image has the number of gradations corresponding to the number of bits of output data, and it is desirable to increase the number of bits of output data in order to increase the number of gradations.
JP 2000-85187 A JP 2000-228728 A

近年において、コストダウンの要請から、ハーフトーン処理で生成される出力データのビット数を、例えば4ビットなど、より少なくして、その出力データから駆動パルス信号を生成するパルス幅変調ユニットの構成を簡単化することが望まれている。パルス幅変調ユニットは、入力されるデータのビット数が少ないほど、その回路構成が簡単になり、低コスト化を図ることができるからである。   In recent years, due to the demand for cost reduction, the configuration of a pulse width modulation unit that generates a drive pulse signal from the output data by reducing the number of bits of output data generated by the halftone process, for example, 4 bits, is reduced. It is desirable to simplify. This is because the pulse width modulation unit has a simpler circuit configuration and a lower cost as the number of input data bits is smaller.

しかしながら、出力データのビット数を少なくすると、出力データにより表現可能なドットサイズの階調数が少なくなり、再生される画素内のドットに、高い階調特性や正確な濃度特性を与えることができなくなる。例えば、出力データが8ビットであれば256階調を表現可能であるが、出力データが4ビットであると16階調しか表現できず、階調特性が低くなり、濃度特性においても所望の濃度を再現できないことになる。   However, if the number of bits of the output data is reduced, the number of gradations of the dot size that can be expressed by the output data is reduced, and high gradation characteristics and accurate density characteristics can be given to the dots in the reproduced pixels. Disappear. For example, if the output data is 8 bits, 256 gradations can be expressed, but if the output data is 4 bits, only 16 gradations can be expressed, the gradation characteristics are lowered, and the desired density is also obtained in the density characteristics. Cannot be reproduced.

そこで、本発明の目的は、ハーフトーン処理で生成される画像再生用の出力データの階調数が少なくても高い階調特性や正確な濃度特性を有し、更に、画像処理特性のキャリブレーションを可能にする画像処理装置及び画像処理プログラムを提供することにある。   Accordingly, an object of the present invention is to provide high gradation characteristics and accurate density characteristics even when the number of gradations of output data for image reproduction generated by halftone processing is small, and further to calibrate image processing characteristics. It is an object to provide an image processing apparatus and an image processing program that enable the above.

上記の目的を達成するために、本発明の第1の側面によれば、階調入力データから画像再生出力データを生成する画像処理装置において、前記階調入力データを画素のドットサイズに対応する前記画像再生出力データに変換するハーフトーン処理ユニットと、前記階調入力データに対応して画像再生出力データを有するガンマテーブルを、階調入力データの画素の位置に対応して複数有し、前記ハーフトーン処理ユニットにより参照されるルックアップテーブルとを有する。そして、前記ルックアップテーブルにおいて、所定の変位ベクトル上に配置された同一インデックス画素群それぞれに対して、当該同一インデックス画素群内で平面的に分散配置された複数の拡散ガンマテーブルが割り当てられ、当該複数の拡散ガンマテーブルは、前記階調入力データに対応して、少なくとも一部で異なる離散的な画像再生出力データを有し、当該複数の拡散ガンマテーブルの画像再生出力データの平均値が、前記同一インデックス画素群の仮想上の代表ガンマテーブルの出力階調値にほぼ一致する。更に、画像処理装置は、キャリブレーション処理時に、前記複数の拡散ガンマテーブルから生成される代表ガンマテーブルの出力階調値を、補正ガンマテーブルに基づいて補正して補正代表ガンマテーブルを生成し、当該補正代表ガンマテーブルから複数の補正拡散ガンマテーブルを生成するキャリブレーション手段を有する。   In order to achieve the above object, according to a first aspect of the present invention, in an image processing apparatus that generates image reproduction output data from gradation input data, the gradation input data corresponds to a dot size of a pixel. A plurality of halftone processing units for converting to the image reproduction output data, and a plurality of gamma tables having image reproduction output data corresponding to the gradation input data, corresponding to the pixel positions of the gradation input data, And a lookup table referenced by the halftone processing unit. In the lookup table, a plurality of diffusion gamma tables distributed in a plane in the same index pixel group are allocated to the same index pixel group arranged on a predetermined displacement vector, The plurality of diffusion gamma tables have discrete image reproduction output data that differs at least in part corresponding to the gradation input data, and an average value of the image reproduction output data of the plurality of diffusion gamma tables is It almost coincides with the output gradation value of the virtual representative gamma table of the same index pixel group. Further, the image processing apparatus generates a corrected representative gamma table by correcting the output tone value of the representative gamma table generated from the plurality of diffusion gamma tables based on the corrected gamma table during the calibration process. Calibration means for generating a plurality of corrected diffusion gamma tables from the corrected representative gamma table.

上記第1の側面の変形例によれば、前記ルックアップテーブルは、所定の変位ベクトル上に配置された同一インデックス画素群それぞれに代表ガンマテーブルが割り当てられ、各代表ガンマテーブルはそれに対応する同一インデックス画素群内で平面的に分散配置された複数の拡散ガンマテーブルで構成され、当該複数の拡散ガンマテーブルは、前記階調入力データに対応して、前記代表ガンマテーブルの出力階調値の近傍にある離散的な画像再生出力データのうちいずれかを有する。   According to the modification of the first aspect, a representative gamma table is assigned to each of the same index pixel groups arranged on a predetermined displacement vector, and each representative gamma table has the same corresponding index. The plurality of diffusion gamma tables are distributed in a plane within the pixel group, and the plurality of diffusion gamma tables are in the vicinity of the output gradation value of the representative gamma table corresponding to the gradation input data. One of the discrete image reproduction output data is included.

上記の第1の側面及びその変形例によれば、ハーフトーン処理部が生成する画像再生出力データの階調数を少なくしても、高階調性と高精度の出力濃度を再現して画質を上げることができ、更に、キャリブレーション時において、高階調性と高精度出力濃度の特性を損なうことなく、拡散ガンマテーブルを補正することができる。   According to the first aspect and the modification thereof, even if the number of gradations of the image reproduction output data generated by the halftone processing unit is reduced, the image quality is improved by reproducing the high gradation and the high-precision output density. Further, at the time of calibration, the diffusion gamma table can be corrected without impairing the characteristics of high gradation and high accuracy output density.

上記の目的を達成するために、本発明の第2の側面によれば、画像処理プログラムは、階調入力データに対応して画像再生出力データを有するガンマテーブルを、階調入力データの画素の位置に対応して複数有するルックアップテーブルを参照して、画素の階調入力データを画素のドットサイズに対応する画像再生出力データに変換するハーフトーン処理手順をコンピュータに実行させる。そして、ルックアップテーブルは、上記第1の側面と同じである。更に、画商処理プログラムは、前記複数の拡散ガンマテーブルから生成される代表ガンマテーブルの出力階調値を、補正ガンマテーブルに基づいて補正して補正代表ガンマテーブルを生成し、当該補正代表ガンマテーブルから複数の補正拡散ガンマテーブルを生成するキャリブレーション手順をコンピュータに実行させる。   In order to achieve the above object, according to a second aspect of the present invention, an image processing program stores a gamma table having image reproduction output data corresponding to gradation input data, a pixel of gradation input data. With reference to a plurality of look-up tables corresponding to positions, the computer is caused to execute a halftone processing procedure for converting pixel gradation input data into image reproduction output data corresponding to the pixel dot size. The look-up table is the same as that of the first aspect. Further, the image merchant processing program generates a corrected representative gamma table by correcting the output tone value of the representative gamma table generated from the plurality of diffusion gamma tables based on the corrected gamma table, and generates the corrected representative gamma table from the corrected representative gamma table. Causes a computer to execute a calibration procedure for generating a plurality of corrected diffusion gamma tables.

以下、図面にしたがって本発明の実施の形態について説明する。但し、本発明の技術的範囲はこれらの実施の形態に限定されず、特許請求の範囲に記載された事項とその均等物まで及ぶものである。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the technical scope of the present invention is not limited to these embodiments, but extends to the matters described in the claims and equivalents thereof.

[拡散ガンマテーブル]
図1は、本実施の形態における画像処理装置の構成図である。画像処理装置100は、画素の階調入力データINを画素のドットサイズに対応する画像再生出力データOUTに変換するハーフトーン処理ユニット110と、階調入力データINに対応して画像再生出力データOUTを有する拡散ガンマテーブル124を、階調入力データの画素の位置(X,Y)に対応して複数有するルックアップテーブル122とを有する。拡散ガンマテーブルについては後で詳述する。ルックアップテーブル122は、例えば高速のスタティックRAMで構成され、画素の位置(X,Y)に対応して参照すべきガンマテーブルを特定するインデックスIndexを有するインデックステーブル120と、複数の拡散ガンマテーブル124とを有する。ハーフトーン処理ユニット110は、画素位置(X,Y)に応じて参照すべきインデックステーブル120の画素位置(x、y)を求め、その画素位置(x、y)に基づいてインデックステーブル120を参照する。そして、参照したインデックステーブル120のインデックス番号Indexに対応する拡散ガンマテーブル124を参照して、画像再生出力データOUTを取得する。そして、ハーフトーン処理ユニット110は、取得した画像再生出力データOUTを、パルス幅変調ユニット130に供給し、パルス幅変調ユニット130が駆動パルス幅信号PWを生成し、図示しない印刷エンジンに供給する。印刷エンジンでは、駆動パルス幅信号PWに基づいて、感光体ドラムにビームを照射し、感光体ドラム上に静電潜像を形成する。そして、この静電潜像にトナーを付着させてドットに現像し、記録用紙などの記録媒体上に転写する。したがって、画像再生出力データOUTは、画素のドットサイズに関する印刷画像の再生用のデータである。なお、この画像再生出力データOUTには、後述するとおり、画素内に生成するドットの位置が右寄せか左寄せかの情報L/Rが含まれ、以下に示す実施の形態では、右寄せか左寄せかの情報L/Rは、インデックステーブル120から出力される。
[Diffusion Gamma Table]
FIG. 1 is a configuration diagram of an image processing apparatus according to the present embodiment. The image processing apparatus 100 includes a halftone processing unit 110 that converts gradation input data IN of a pixel into image reproduction output data OUT corresponding to the dot size of the pixel, and image reproduction output data OUT corresponding to the gradation input data IN. And a lookup table 122 having a plurality of diffusion gamma tables 124 corresponding to the pixel positions (X, Y) of the gradation input data. The diffusion gamma table will be described in detail later. The lookup table 122 is composed of, for example, a high-speed static RAM, and includes an index table 120 having an index Index that specifies a gamma table to be referred to corresponding to the pixel position (X, Y), and a plurality of diffusion gamma tables 124. And have. The halftone processing unit 110 obtains the pixel position (x, y) of the index table 120 to be referred to according to the pixel position (X, Y), and refers to the index table 120 based on the pixel position (x, y). To do. Then, the image reproduction output data OUT is acquired with reference to the diffusion gamma table 124 corresponding to the index number Index of the referenced index table 120. Then, the halftone processing unit 110 supplies the acquired image reproduction output data OUT to the pulse width modulation unit 130, and the pulse width modulation unit 130 generates a drive pulse width signal PW and supplies it to a print engine (not shown). In the print engine, the photosensitive drum is irradiated with a beam based on the drive pulse width signal PW to form an electrostatic latent image on the photosensitive drum. Then, toner is attached to the electrostatic latent image, developed into dots, and transferred onto a recording medium such as recording paper. Accordingly, the image reproduction output data OUT is data for reproducing a print image relating to the dot size of the pixel. As will be described later, this image reproduction output data OUT includes information L / R indicating whether the position of a dot to be generated in a pixel is right-justified or left-justified. In the following embodiment, whether the position is right-justified or left-justified Information L / R is output from the index table 120.

画像処理装置100は、更に、ルックアップテーブルを管理するプロセッサ128と、あらかじめ最適に設計された通常拡散ガンマテーブルを格納するROM126を有する。プロセッサ128は、電源投入時やその他要求された時に、ROM内の通常拡散版間テーブルを、CPUバスC−BUSを介してSRAMにダウンロードして、ルックアップテーブル122を構築する。更に、プロセッサ128は、感光体ドラムが取り替えられた時や積算使用時間が所定時間を超えた時などに、印刷エンジンからの要求に応答して、キャリブレーション処理を実行する。キャリブレーション処理では、通常拡散ガンマテーブルを利用して、キャリブレーションパターンを感光体ドラム上に形成し、濃度センサによりそのパターン濃度を検出し、設計時の濃度特性からのずれを検出し、通常拡散ガンマテーブルを補正して、補正された拡散ガンマテーブルをルックアップテーブル122に格納する。キャリブレーション処置により、印刷エンジンの経年変化や感光体ドラムの特性変化に順応して、画質の劣化を防止することができる。   The image processing apparatus 100 further includes a processor 128 that manages a lookup table and a ROM 126 that stores a normal diffusion gamma table that is optimally designed in advance. The processor 128 downloads the normal diffusion version table in the ROM to the SRAM via the CPU bus C-BUS when the power is turned on or otherwise requested, and constructs the lookup table 122. Furthermore, the processor 128 executes a calibration process in response to a request from the print engine when the photosensitive drum is replaced or when the accumulated usage time exceeds a predetermined time. In the calibration process, a normal diffusion gamma table is used to form a calibration pattern on the photosensitive drum, the density of the pattern is detected by a density sensor, deviation from the density characteristics at the time of design is detected, and normal diffusion is performed. The gamma table is corrected, and the corrected diffusion gamma table is stored in the lookup table 122. By the calibration process, it is possible to prevent the deterioration of the image quality in conformity with the secular change of the print engine and the characteristic change of the photosensitive drum.

図2は、一般的なインデックステーブルとガンマテーブルとの関係を示す図である。ここに示されたインデックステーブル120は、12×12の画素マトリクスにそれぞれ参照すべきガンマテーブル番号1〜6が格納されている。インデックステーブル120は、太枠で囲った4×6の最小マトリクス単位の繰り返しであり、この最小マトリクス単位内に、ガンマテーブル1が2箇所、ガンマテーブル2が4箇所、ガンマテーブル3が2箇所、ガンマテーブル4が8箇所、ガンマテーブル5が4箇所、ガンマテーブル6が4箇所に配置されている。この最小マトリクス単位が繰り返されることで、ガンマテーブル1は、変位ベクトル(+2,+3),(+2,−3),(−2,+3),(−2,−3)の位置に繰り返し配置される。但し、図2中のインデックステーブル120の右側最上位置を座標(X,Y)の原点とする。ガンマテーブル2は、X方向に隣接しており、変位ベクトル(+2,+3),(+2,−3),(−2,+3),(−2,−3)の位置に繰り返し配置される。他のガンマテーブルも同様に固有の変位ベクトル上に配置されている。   FIG. 2 is a diagram illustrating a relationship between a general index table and a gamma table. The index table 120 shown here stores gamma table numbers 1 to 6 to be referred to in a 12 × 12 pixel matrix. The index table 120 is a repetition of a 4 × 6 minimum matrix unit surrounded by a thick frame, and within this minimum matrix unit, there are two gamma tables 1, four gamma tables 2, two gamma tables 3, There are 8 gamma tables 4, 4 gamma tables 5, and 4 gamma tables 6. By repeating this minimum matrix unit, the gamma table 1 is repeatedly arranged at the positions of the displacement vectors (+2, +3), (+2, −3), (−2, +3), and (−2, −3). The However, the upper right position of the index table 120 in FIG. 2 is the origin of coordinates (X, Y). The gamma table 2 is adjacent in the X direction, and is repeatedly arranged at the positions of the displacement vectors (+2, +3), (+2, −3), (−2, +3), and (−2, −3). Other gamma tables are similarly arranged on unique displacement vectors.

このように、共通の変位ベクトル上に配置される画素群には、同一のインデックス番号が与えられ、そのインデックス番号に対応するガンマテーブルが参照される。そこで、このように同じ変位ベクトル上に配置される画素群を、同一インデックス画素群と称することにする。   Thus, the same index number is given to the pixel groups arranged on the common displacement vector, and the gamma table corresponding to the index number is referred to. Therefore, the pixel group arranged on the same displacement vector in this way is referred to as the same index pixel group.

図2には、6種類のガンマテーブル124が示されている。ガンマテーブルは、入力階調値に対応して画像再生出力である出力パルス幅値を格納するものであり、図中、ガンマテーブル1は、低い入力階調値の領域で最小値から最大値に成長する出力パルス幅値を有する。ガンマテーブル2,3,4は、図示されるように、中間の入力階調値の領域で最小値から最大値に成長する出力パルス幅値を有し、ガンマテーブル5,6は、比較的高い入力階調値の領域で最小値から最大値に成長する出力パルス幅値を有する。   FIG. 2 shows six types of gamma tables 124. The gamma table stores an output pulse width value that is an image reproduction output corresponding to an input gradation value. In the figure, the gamma table 1 is a minimum input value in a low input gradation value region. It has a growing output pulse width value. As shown in the figure, the gamma tables 2, 3, and 4 have output pulse width values that grow from the minimum value to the maximum value in the intermediate input gradation value region, and the gamma tables 5 and 6 are relatively high. It has an output pulse width value that grows from the minimum value to the maximum value in the input gradation value region.

図3は、図2の例において入力階調値を増加した場合の画素のドットの成長を示す図である。上記のようなガンマテーブル及びインデックステーブル120によれば、入力階調値が増加するに応じて、入力階調値が低い領域(入力階調値10、40、90)では、インデックス1の画素にドットが形成され(入力階調値10)、続いてインデックス2の画素にドットが形成され(入力階調値40)、そして、インデックス2の画素と平行してインデックス3の画素にドットが形成される(入力階調値90)。つまり、入力階調値が低い領域では、インデックステーブル20のインデックス1、2、3の画素にドットが順次成長する。そして、入力階調値が高い領域(入力階調値150,220,250)では、インデックス4の画素にドットが成長し(入力階調値150)、更に、それに続いてインデックス5、6の画素にドットが成長する(入力階調値220、250)。   FIG. 3 is a diagram illustrating the growth of the dot of the pixel when the input gradation value is increased in the example of FIG. According to the gamma table and the index table 120 as described above, in the region where the input gradation value is low (input gradation values 10, 40, 90) as the input gradation value increases, the pixel of index 1 is assigned. A dot is formed (input gradation value 10), a dot is subsequently formed at the pixel at index 2 (input gradation value 40), and a dot is formed at the pixel at index 3 in parallel with the pixel at index 2 (Input gradation value 90). That is, in an area where the input gradation value is low, dots grow sequentially on the pixels of indexes 1, 2, and 3 in the index table 20. Then, in a region where the input tone value is high (input tone values 150, 220, 250), a dot grows on the pixel with index 4 (input tone value 150), and subsequently, the pixels with index 5, 6 Dots grow (input gradation values 220 and 250).

したがって、入力階調値90や150の成長ドットに示されるように、インデックス1の画素を結ぶ線上にスクリーン線が形成されることになる。別の言葉でいうと、インデックス1の変位ベクトルがスクリーン線を特定することになる。   Therefore, a screen line is formed on the line connecting the pixels with the index 1 as indicated by the growth dots having the input gradation value of 90 or 150. In other words, the displacement vector at index 1 identifies the screen line.

図2のガンマテーブル124は、8ビットの入力階調値に対して8ビットの出力パルス幅を有する。したがって、256階調の入力に対して256階調(0〜255)の出力を有する。そのため、入力階調値の階調の変化に対応して、ガンマテーブルの出力階調値も必要に応じて変化させることができる。ところが、出力パルス幅データが6ビットの場合は、出力は64階調(0〜63)しか取りえず、入力階調値の階調の変化に対応して、ガンマテーブルの出力階調値を変化させることができない場合がある。ましてや、出力パルス幅データが4ビットの場合は、その出力は16階調(0〜15)しかなく、入力階調値の階調変化に対応して出力階調値を変化させることができない場合が更に増える。更に、出力データのビット数が少なくなるとその階調がより離散的になり、再現できるドットサイズの階調解像度が低下する。   The gamma table 124 of FIG. 2 has an 8-bit output pulse width for an 8-bit input gradation value. Therefore, it has an output of 256 gradations (0 to 255) for an input of 256 gradations. Therefore, the output gradation value of the gamma table can be changed as necessary in accordance with the change in the gradation of the input gradation value. However, when the output pulse width data is 6 bits, the output can take only 64 gradations (0 to 63), and the output gradation value of the gamma table is set in accordance with the change in gradation of the input gradation value. Sometimes it cannot be changed. In addition, when the output pulse width data is 4 bits, the output is only 16 gradations (0 to 15), and the output gradation value cannot be changed corresponding to the gradation change of the input gradation value. Will further increase. Furthermore, when the number of bits of output data decreases, the gradation becomes more discrete, and the gradation resolution of the dot size that can be reproduced decreases.

図4は、ガンマテーブルの入力階調値の変化に対する出力階調値の変化量を示す図である。図2に示したガンマテーブルについて、(A)出力データが8ビットの場合、(B)出力データが6ビットの場合、(C)出力データが4ビットの場合において、入力階調値が1階調変化した時の6つのガンマテーブルの出力データの合計階調値の差分(変化量)を示している。図4(A)(B)(C)において、上段がガンマテーブルを、下段が合計出力階調値の差分を示す。   FIG. 4 is a diagram illustrating the change amount of the output tone value with respect to the change of the input tone value of the gamma table. For the gamma table shown in FIG. 2, when the output data is 8 bits, (B) the output data is 6 bits, (C) the output data is 4 bits, the input gradation value is the first floor. The difference (change amount) of the total gradation values of the output data of the six gamma tables when the tone changes is shown. 4A, 4B, and 4C, the upper row shows the gamma table, and the lower row shows the difference between the total output gradation values.

図4(A)の8ビットの出力データの場合は、そのガンマテーブル124は図2のガンマテーブル124と同じである。この場合、入力階調値が1階調変化する時の出力パルス幅の差分は、全て0階調以外であり、入力階調値の255回の階調変化に対して合計出力パルス幅も255回にわたり階調変化している。したがって、入力階調値の変化に対して忠実に変化する出力パルス幅値を出力データとして生成することができる。   In the case of 8-bit output data in FIG. 4A, the gamma table 124 is the same as the gamma table 124 in FIG. In this case, the difference in the output pulse width when the input gradation value changes by one gradation is all other than 0 gradation, and the total output pulse width is also 255 for the 255 gradation changes of the input gradation value. The gradation changes over time. Therefore, an output pulse width value that changes faithfully with respect to a change in input gradation value can be generated as output data.

図4(B)の6(M=6)ビットの出力データの場合は、それぞれのガンマテーブル1〜6の出力の最小幅は255/(2M-1)=4であり、上段のガンマテーブル124によれば、出力パルス幅の離散値の間が図4(A)の場合に比較して荒くなっていることがわかる。そのため、入力階調値の255回の階調変化に対して、合計出力パルス幅は、44回にわたり階調変化ゼロになり、211回しか階調変化していない。 In the case of 6 (M = 6) -bit output data in FIG. 4B, the minimum output width of each of the gamma tables 1 to 6 is 255 / (2 M −1) = 4. According to 124, it can be seen that the interval between the discrete values of the output pulse width is rough compared to the case of FIG. Therefore, with respect to 255 gradation changes in the input gradation value, the total output pulse width becomes zero gradation change over 44 times, and the gradation change only 211 times.

更に、図4(C)の4(M=4)ビットの出力データの場合は、それぞれのガンマテーブル1〜6の出力の最小幅は255/(2M-1)=17であり、上段のガンマテーブル124によれば、出力パルス幅の離散値の間が図4(A)や(B)の場合に比較して更に荒くなっている。そのため、入力階調値の255回の階調変化に対して、合計出力パルス幅は、わずか82回しか階調変化しておらず、実に173回にわたり階調変化ゼロになる。しかも、出力パルス幅の差分は、大部分で0または17であり、高入力階調値領域では出力パルス幅の差分が34になる場合もある。 Further, in the case of output data of 4 (M = 4) bits in FIG. 4C, the minimum output width of each gamma table 1 to 6 is 255 / (2 M −1) = 17. According to the gamma table 124, the interval between the discrete values of the output pulse width is further roughened compared to the cases of FIGS. 4 (A) and 4 (B). For this reason, the total output pulse width has changed only 82 times with respect to 255 gradation changes of the input gradation value, and the gradation change becomes zero over 173 times. Moreover, the difference between the output pulse widths is mostly 0 or 17, and the difference between the output pulse widths may be 34 in the high input gradation value region.

つまり、出力データのビット数を減らして出力データの階調数を減らした結果、出力パルス幅の差分がゼロになる回数が増大し、更に、変化した場合でもその差分量が大きくなる。このことは、入力階調値の255階調数に対して、出力パルス幅の階調数は大幅に減り且つ差分も大幅に大きくなることを意味し、高い階調特性と正確な濃度特性が損なわれることを意味する。   That is, as a result of reducing the number of output data bits and decreasing the number of output data gradations, the number of times that the difference in output pulse width becomes zero increases, and even if it changes, the difference amount increases. This means that the number of gradations of the output pulse width is greatly reduced and the difference is greatly increased with respect to the number of gradations of 255 of the input gradation value, and high gradation characteristics and accurate density characteristics are obtained. It means being damaged.

図5は、出力階調が4ビットの場合におけるガンマテーブルの拡大図である。この図では、実線がガンマテーブルGの入出力特性であり、縦軸には出力パルス幅が8ビット(256階調)の場合の階調値で表示されている。前述したとおり、4ビットの出力階調の最小幅は17であるから、その採りうる離散点は、8ビット(256階調)の場合の0,17,34,51,68,85,102,119,136,153,170,187,204,221,238,255である。図5の縦軸には、その一部の出力離散点153,170,187が示される。実線で示したガンマテーブルGは、8ビットであれば四角W,X,Yで示した点の階調値が出力データとして出力されるが、4ビットの場合は、153,170,187の離散点のみしか採りえないので、黒丸で示した階調値が出力データとして出力される。例えば、8ビット出力では四角Xは出力階調値161になるところ、4ビットではその近傍の黒丸の出力階調値153(4ビット表示では1001=9)になる。つまり、4ビットの出力データでは、より離散的になり、8ビットの出力データの階調値と一致させることができなくなる。更に、一方では、8ビットの出力データで四角W,Xの出力階調値145と161とは、4ビットの出力データでは同じ出力階調値153になり、その出力階調値の差分はゼロであるが、他方では、8ビットの出力データで四角X,Yの出力階調値161と167とは、4ビットの出力データでは153と170になり、その出力階調値の差分は17になる。したがって、4ビットの出力階調値では、入力階調値の変化に対して差分ゼロになる場合もあれば、入力階調値の変化に対して期待される出力階調値の差分とは異なる大きな差分になる場合もある。   FIG. 5 is an enlarged view of the gamma table when the output gradation is 4 bits. In this figure, the solid line represents the input / output characteristics of the gamma table G, and the vertical axis represents the gradation value when the output pulse width is 8 bits (256 gradations). As described above, since the minimum width of the 4-bit output gradation is 17, the possible discrete points are 0, 17, 34, 51, 68, 85, 102, 8 bits (256 gradations). 119, 136, 153, 170, 187, 204, 221, 238, 255. The vertical axis in FIG. 5 shows some of the output discrete points 153, 170, and 187. If the gamma table G indicated by the solid line is 8 bits, the gradation values of the points indicated by the squares W, X, and Y are output as output data, but if it is 4 bits, 153, 170, and 187 discrete values are output. Since only points can be taken, the gradation values indicated by black circles are output as output data. For example, in the case of 8-bit output, the square X has an output gradation value 161, whereas in the case of 4 bits, the output gradation value 153 of a black circle in the vicinity thereof (1001 = 9 in 4-bit display). That is, the 4-bit output data becomes more discrete and cannot be matched with the gradation value of the 8-bit output data. Further, on the other hand, the output gradation values 145 and 161 of the squares W and X in the 8-bit output data become the same output gradation value 153 in the 4-bit output data, and the difference between the output gradation values is zero. However, on the other hand, the output gradation values 161 and 167 of the squares X and Y in the 8-bit output data become 153 and 170 in the 4-bit output data, and the difference between the output gradation values is 17. Become. Therefore, with a 4-bit output tone value, the difference may be zero with respect to the change in the input tone value, or different from the expected difference in the output tone value with respect to the change in the input tone value. It can be a big difference.

図6は、本実施の形態における拡散ガンマテーブルの原理を説明する図である。拡散ガンマテーブルの原理によれば、8ビット出力の場合の四角Xに対して、その四角Xの出力階調値161の近傍にある4ビット出力の離散点X1(出力階調値153)、X2(出力階調値170)を複数の拡散ガンマテーブルに割り当てて、離散点X1とX2をもつ拡散ガンマテーブルの個数を最適化して、それらの平均出力階調値が四角Xの161に最も近くなるようにする。たとえば、離散点X1を5個、離散点X2を4個にすると、それら9個の離散点の出力階調値の平均値は、(153×5+170×4)/9=160.55と、四角Xの出力階調値161に近い値になる。このように、4ビット出力のように離散幅が大きな出力階調値しか採り得ない場合であっても、複数の画素に異なる離散値X1,X2を割り当てることによってガンマテーブルGの四角Xの出力階調値に極めて近い階調値を表現することができる。ここで、ガンマテーブルGを代表ガンマテーブルと、異なる離散値を有するテーブルを拡散ガンマテーブルと、それぞれ称する。   FIG. 6 is a diagram for explaining the principle of the diffusion gamma table in the present embodiment. According to the principle of the diffusion gamma table, for a square X in the case of 8-bit output, 4-bit output discrete points X1 (output gradation value 153), X2 in the vicinity of the output gradation value 161 of the square X (Output tone value 170) is assigned to a plurality of diffusion gamma tables, the number of diffusion gamma tables having discrete points X1 and X2 is optimized, and their average output tone value is closest to 161 of square X Like that. For example, if the number of discrete points X1 is 5 and the number of discrete points X2 is 4, the average value of the output gradation values of these 9 discrete points is (153 × 5 + 170 × 4) /9=160.55, which is a square. It becomes a value close to the output gradation value 161 of X. In this way, even when only an output gradation value having a large discrete width can be taken as in the case of 4-bit output, by assigning different discrete values X1 and X2 to a plurality of pixels, output of the square X of the gamma table G A gradation value very close to the gradation value can be expressed. Here, the gamma table G is referred to as a representative gamma table, and a table having different discrete values is referred to as a diffusion gamma table.

図7は、代表ガンマテーブルGに複数の拡散ガンマテーブルG1,G2,G3を割り当てた場合の例を示す図である。この例では、表示を簡単化するために、代表ガンマテーブルGに3つの拡散ガンマテーブルG1,G2,G3を割り当てている。拡散ガンマテーブルG1は、代表ガンマテーブルGの四角(例えばX)の近傍に位置する4ビットの離散点(例えばX1,X2)のうち白丸の離散点(例えばX2)をとり、代表ガンマテーブルGの近傍で上下に変化する出力値を有する。同様に、拡散ガンマテーブルG2は、近傍の4ビット離散点のうち三角の離散点をとり、拡散ガンマテーブルG3は、近傍の4ビット離散点のうち菱形の離散点をとる。一例として四角Xは、2個の離散点X1と1個の離散点X2に拡散または分散されている。この場合の平均値は、(153×2+170×1)/3=158.7となる。このように、拡散または分散する拡散ガンマテーブルの数を増やすことにより、その出力階調値の平均値を代表ガンマテーブルGの出力階調値により近づけることができる。   FIG. 7 is a diagram illustrating an example in which a plurality of diffusion gamma tables G1, G2, and G3 are assigned to the representative gamma table G. In this example, in order to simplify the display, three diffusion gamma tables G1, G2, and G3 are assigned to the representative gamma table G. The diffusion gamma table G1 takes white round discrete points (for example, X2) among 4-bit discrete points (for example, X1 and X2) located in the vicinity of the square (for example, X) of the representative gamma table G. It has an output value that changes up and down in the vicinity. Similarly, the diffusion gamma table G2 takes triangular discrete points among the neighboring 4-bit discrete points, and the diffusion gamma table G3 takes diamond-shaped discrete points among the neighboring 4-bit discrete points. As an example, the square X is diffused or dispersed into two discrete points X1 and one discrete point X2. In this case, the average value is (153 × 2 + 170 × 1) /3=158.7. Thus, by increasing the number of diffusion gamma tables to be diffused or dispersed, the average value of the output tone values can be made closer to the output tone value of the representative gamma table G.

そして、図2のインデックステーブルに示されるように、画素マトリクスの所定の領域内には同じ代表ガンマテーブルGをとる画素が複数存在するので、その複数の画素の代表ガンマテーブルGを異なる拡散ガンマテーブルに割り当てることで、当該所定の領域内において、平面的に理想的な代表ガンマテーブルの出力階調値を表現することができる。この複数の拡散ガンマテーブルの配置は、分散されれば良いが、好ましくは、規則的よりも不規則にまたはランダムに分散されることが良い。また、各拡散ガンマテーブルが採る離散値は、代表ガンマテーブルGの出力階調値の近傍の4ビット離散値のいずれかをとれば良いが、好ましくは、近傍の4ビット離散値のいずれかをランダムに採るようにする。   As shown in the index table of FIG. 2, since there are a plurality of pixels having the same representative gamma table G in a predetermined area of the pixel matrix, the representative gamma table G of the plurality of pixels is changed to a different diffusion gamma table. By assigning to, it is possible to express the output tone value of the representative ideal gamma table in a plane within the predetermined area. The arrangement of the plurality of diffusion gamma tables may be distributed, but is preferably distributed irregularly or randomly rather than regularly. Also, the discrete value taken by each diffusion gamma table may be any of the 4-bit discrete values in the vicinity of the output tone value of the representative gamma table G, but preferably any of the nearby 4-bit discrete values. Try randomly.

図17は、本実施の形態における代表ガンマテーブルから拡散ガンマテーブルを生成するフローチャート図である。図6、図7で説明した方法をまとめると次のとおりである。ある代表ガンマテーブルGについて、入力階調値INに対応する出力パルス幅Xを取得する(S12)。図6の例では、X=161である。そして、目標値である出力パルス幅X=161に対する隣接離散点xl=170,xs=153を、拡散数N=3個に分配し、xlとxsの分配数L=1、N−L=2を求める。このxlの分配数Lは、例えば、
L=INT[{(X−xs)/(xl−xs)}×N+0.5]
により求めることができる。ここで、INT[ ]は切り捨て処理を示す。上記の例にあてはめれば、
L=INT[{(161−153)/(170−153)}×3+0.5]=1
となる。そして、N=3個の拡散ガンマテーブルに対して、L=1個には離散値xl=170を、N−L=2個には離散値xs=153を、ランダムに与える。また、N=3個の拡散ガンマテーブルの配置もランダムに決定される。
FIG. 17 is a flowchart for generating a diffusion gamma table from the representative gamma table in the present embodiment. The methods described with reference to FIGS. 6 and 7 are summarized as follows. For a representative gamma table G, an output pulse width X corresponding to the input gradation value IN is acquired (S12). In the example of FIG. 6, X = 161. Then, the adjacent discrete points xl = 170 and xs = 153 with respect to the output pulse width X = 161 as the target value are distributed to the diffusion number N = 3, and the distribution number L = 1 and NL = 2 of xl and xs. Ask for. The distribution number L of xl is, for example,
L = INT [{(X−xs) / (xl−xs)} × N + 0.5]
It can ask for. Here, INT [] indicates a truncation process. Applying the above example,
L = INT [{(161−153) / (170−153)} × 3 + 0.5] = 1
It becomes. For N = 3 diffusion gamma tables, a discrete value xl = 170 is randomly given to L = 1 and a discrete value xs = 153 is given randomly to NL = 2. The arrangement of N = 3 diffusion gamma tables is also determined randomly.

そして、拡散されたN=3個の拡散ガンマテーブルのL=1個の出力値xl=170とN−L=2個の出力値xs=153との平均値xは、
x={xl×L+xs×(N−L)}/N=158.7
になる。拡散数Nを増やすことで、平均値xの精度を高めることができる。
An average value x of L = 1 output value xl = 170 and NL = 2 output values xs = 153 of the diffused N = 3 diffusion gamma tables is:
x = {xl × L + xs × (N−L)} / N = 158.7
become. By increasing the diffusion number N, the accuracy of the average value x can be increased.

図8は、本実施の形態における代表ガンマテーブルを有する同一インデックス画素群を示す図である。ここに示したインデックステーブル120は、図8中の対応表121Aに示したように、図2のインデックステーブル120のインデックス番号1〜6を、新たなインデックス番号0〜11に変換した例であり、新たなインデックス番号の偶数0,2,4,6,8,10は、画素内のドットを左寄せし、その奇数1,3,5,7,9,11は、画素内のドットを右寄せする画素に対応付けられ、インデックス番号の偶数/奇数の情報L/Rが、パルス幅変調ユニットへの画像再生出力データOUTに加えられる。したがって、図8のインデックステーブルの左上の4×6のマトリクス内には、インデックス番号0,2,3,4,6,7,8,9,10,11が割り当てられているが、そのインデックス番号0には図2のガンマテーブル1が、インデックス番号2,3には、ガンマテーブル2が、インデックス番号4,5にはガンマテーブル3が、以下、6,7にはガンマテーブル4が、8,9にはガンマテーブル5が、10,11にはガンマテーブル6がそれぞれ参照される。   FIG. 8 is a diagram showing the same index pixel group having a representative gamma table in the present embodiment. The index table 120 shown here is an example in which the index numbers 1 to 6 in the index table 120 in FIG. 2 are converted into new index numbers 0 to 11 as shown in the correspondence table 121A in FIG. The new index numbers of even numbers 0, 2, 4, 6, 8, and 10 left-justify the dots in the pixels, and the odd numbers 1, 3, 5, 7, 9, and 11 the pixels that right-justify the dots in the pixels. The even / odd information L / R of the index number is added to the image reproduction output data OUT to the pulse width modulation unit. Therefore, index numbers 0, 2, 3, 4, 6, 7, 8, 9, 10, and 11 are assigned in the upper left 4 × 6 matrix of the index table of FIG. 2 is the gamma table 1 of FIG. 2, the index numbers 2 and 3 are the gamma table 2, the index numbers 4 and 5 are the gamma table 3, and the following 6 and 7 are the gamma table 4. Reference numeral 9 refers to the gamma table 5, and reference numerals 10 and 11 refer to the gamma table 6.

さて、図8において、変位ベクトル(±2、±3)の位置に配置されるインデックス番号0の同一インデックス画素群は、図示されるように、左上の4×6の小さい画素マトリクス内には2個配置され、図8の16×18の画素マトリクス内には24個配置されている。そこで、本実施の形態では、このインデックス番号0の同一インデックス画素群の代表ガンマテーブル0に、複数(9種類)の拡散ガンマテーブルを割り当てる。しかも、複数の拡散ガンマテーブルを同一インデックス画素群内で平面的に分散させ、好ましくはランダムに分散配置する。   In FIG. 8, the same index pixel group with the index number 0 arranged at the position of the displacement vector (± 2, ± 3) is 2 in the upper left 4 × 6 small pixel matrix as shown in the figure. 24 are arranged in the 16 × 18 pixel matrix of FIG. Therefore, in this embodiment, a plurality (9 types) of diffusion gamma tables are assigned to the representative gamma table 0 of the same index pixel group having the index number 0. In addition, a plurality of diffusion gamma tables are distributed in a plane in the same index pixel group, and are preferably distributed at random.

図9は、本実施の形態による拡散ガンマテーブルに対するインデックステーブルを示す図である。本実施の形態では、図12で後述するような広い画素マトリクス(32×30画素マトリクス)内に配置されるインデックス0の同一インデックス画素群80個を、9種類の拡散マトリクスに割り当てている。図9のインデックステーブル120Aには、その一部の画素マトリクスのみが示される。図9中の下に示される対応表121Bには、図2、図8、図9のインデックス番号の対応が示されている。図8のインデックス0の画素群に対しては、拡散ガンマテーブルのインデックス番号0,12,24,36,48,60,72,84,96が割り当てられる。しかも、その割り当て方は、平面的にランダムな配置にされている。図8の他のインデックス番号の同一インデックス画素群に対しても、同様に9種類または8種類の拡散ガンマテーブルがそれぞれ割り当てられる。その割り当てられた拡散ガンマテーブルのインデックス番号が対応表121Bに示されている。   FIG. 9 is a diagram showing an index table for the diffusion gamma table according to the present embodiment. In the present embodiment, 80 identical index pixel groups with index 0 arranged in a wide pixel matrix (32 × 30 pixel matrix) as will be described later with reference to FIG. 12 are assigned to nine types of diffusion matrices. Only a part of the pixel matrix is shown in the index table 120A of FIG. The correspondence table 121B shown at the bottom in FIG. 9 shows the correspondence between the index numbers in FIGS. 8 are assigned index numbers 0, 12, 24, 36, 48, 60, 72, 84, and 96 of the diffusion gamma table. Moreover, the allocation method is a random arrangement in a plane. Similarly, nine or eight types of diffusion gamma tables are assigned to the same index pixel group having other index numbers in FIG. The index number of the assigned diffusion gamma table is shown in the correspondence table 121B.

図10は、図9に示した拡散ガンマテーブルが採りうる出力階調値の一例を示す図である。図6で示した四角Xの出力階調値161に対して、4ビット離散点X1(出力階調値153)と離散点X2(出力階調値170)とが、拡散ガンマテーブル0,12,24,36,48,60,72,84,96にランダムに割り当てられている。ここに表れている24個の画素の代表ガンマテーブル0に対応付けられる9種類の拡散ガンマテーブルのうち、13個の拡散ガンマテーブルには離散点X1(出力階調値153)が、10個の拡散ガンマテーブルには離散点X2(出力階調値170)がランダムに割り当てられている。その割り当て比を概算すると13:10=5:4である。このように、代表ガンマテーブルに割り当てられた複数の拡散ガンマテーブルの配置をランダムにし、その拡散ガンマテーブルに対して代表ガンマテーブルの出力階調値の近傍の離散点もランダムに割り当てることで、代表ガンマテーブルの出力階調値161に極めて近似する階調値を空間的に表現することができる。図9に示した他の拡散ガンマテーブルについても、それぞれ対応する代表ガンマテーブルの出力階調値近傍の4ビット離散点がランダムに割り当てられる。   FIG. 10 is a diagram showing an example of output gradation values that can be taken by the diffusion gamma table shown in FIG. With respect to the output gradation value 161 of the square X shown in FIG. 6, the 4-bit discrete point X1 (output gradation value 153) and the discrete point X2 (output gradation value 170) are the diffusion gamma tables 0, 12, 24, 36, 48, 60, 72, 84, 96 are randomly assigned. Of the nine types of diffusion gamma tables associated with the representative gamma table 0 of 24 pixels shown here, the 13 diffusion gamma tables have 10 discrete points X1 (output gradation value 153). Discrete points X2 (output gradation value 170) are randomly assigned to the diffusion gamma table. The allocation ratio is roughly 13: 10 = 5: 4. In this way, the arrangement of the plurality of diffusion gamma tables assigned to the representative gamma table is randomized, and discrete points near the output tone value of the representative gamma table are also randomly assigned to the diffusion gamma table. A gradation value that is very close to the output gradation value 161 of the gamma table can be spatially expressed. Also for the other diffusion gamma tables shown in FIG. 9, 4-bit discrete points in the vicinity of the output gradation values of the corresponding representative gamma table are randomly assigned.

図11は、8ビット出力の代表ガンマテーブルのインデックステーブルとその代表ガンマテーブルの一例を示す図である。このインデックステーブル120は、図8のインデックステーブル20と同じであり、画素サイズが32×30に拡大されている。図8でも説明したとおり、インデックステーブル120内のインデックス0(代表ガンマテーブル0)の同一インデックス画素群は、同じ変位ベクトル(±3,±4)の位置に配置されている。画素マトリクス32×30内には、インデックス0の同一インデックス画素は、合計で80個存在する。そして、その代表ガンマテーブル0は、図11中の黒四角に示されるように、入力階調の増加に伴って8ビット出力パルス幅を有する。この代表ガンマテーブル0を単純に4ビット出力パルス幅に変更すると、図11中の白四角に示されるように、離散的な値しかとりえないようになる。   FIG. 11 is a diagram illustrating an example of an 8-bit output representative gamma table index table and its representative gamma table. The index table 120 is the same as the index table 20 in FIG. 8, and the pixel size is expanded to 32 × 30. As described with reference to FIG. 8, the same index pixel group of index 0 (representative gamma table 0) in the index table 120 is arranged at the position of the same displacement vector (± 3, ± 4). In the pixel matrix 32 × 30, there are a total of 80 identical index pixels with index 0. The representative gamma table 0 has an 8-bit output pulse width as the input gradation increases, as shown by the black square in FIG. If the representative gamma table 0 is simply changed to a 4-bit output pulse width, only discrete values can be obtained as shown by white squares in FIG.

図11には、代表ガンマテーブル0のインデックス0に加えて、代表ガンマテーブル2,3,4,6,7,8,9,10,11のインデックスも含まれる。これら同一のインデックスの画素群も、それぞれ同じ変位ベクトル上の位置に配置されている。   FIG. 11 includes indexes of representative gamma tables 2, 3, 4, 6, 7, 8, 9, 10, and 11 in addition to index 0 of representative gamma table 0. These pixel groups having the same index are also arranged at positions on the same displacement vector.

図12は、本実施の形態による拡散ガンマテーブルに対するインデックステーブルとガンマテーブルとを示す図である。このインデックステーブル120Aは、図9のインデックステーブル120Aと同じであり、画素サイズが32×30に拡大されている。図中、代表ガンマテーブル0に対応するインデックス0の画素群に対して、ハーフトーンで表示している。そして、図11内の80個の同一インデックス画素群(インデックス0)に、9種類の拡散ガンマテーブルを割り当てている。つまり、代表ガンマテーブル0は、9個の拡散ガンマテーブル0,12、8個の拡散ガンマテーブル124、9個の拡散ガンマテーブル36,48,60,72,84,96に分散または拡散される。インデックステーブル120A内には、他の代表ガンマテーブルに対しても複数の拡散ガンマテーブルのインデックス番号が割り当てられている。   FIG. 12 is a diagram showing an index table and a gamma table for the diffusion gamma table according to the present embodiment. The index table 120A is the same as the index table 120A of FIG. 9, and the pixel size is enlarged to 32 × 30. In the figure, the pixel group of index 0 corresponding to the representative gamma table 0 is displayed in halftone. Nine types of diffusion gamma tables are assigned to 80 identical index pixel groups (index 0) in FIG. That is, the representative gamma table 0 is dispersed or diffused into nine diffusion gamma tables 0 and 12, eight diffusion gamma tables 124, and nine diffusion gamma tables 36, 48, 60, 72, 84, and 96. In the index table 120A, index numbers of a plurality of diffusion gamma tables are assigned to other representative gamma tables.

図12に示した拡散ガンマテーブル124には、9種類の拡散ガンマテーブルの4ビット出力パルス幅がプロットされている。つまり、破線で示した代表ガンマテーブルGに対して、その出力値に隣接する4ビット離散値X1,X2が拡散ガンマテーブルの出力値として割り当てられている。つまり、9種類の拡散ガンマテーブルの出力値に離散値X1,X2のいずれかを割り当てる。したがって、離散値X1,X2に対して、合計で9種類の拡散ガンマテーブルが割り当てられることになる。この離散値は、代表ガンマテーブルGの出力値に近接する単数のまたは複数の4ビット離散値であり、それらの離散値が、平均すると代表ガンマテーブルの出力値に近似するように、複数の拡散ガンマテーブルに割り当てられる。   In the diffusion gamma table 124 shown in FIG. 12, 4-bit output pulse widths of nine types of diffusion gamma tables are plotted. That is, for the representative gamma table G indicated by a broken line, 4-bit discrete values X1 and X2 adjacent to the output value are assigned as output values of the diffusion gamma table. That is, one of the discrete values X1 and X2 is assigned to the output values of nine types of diffusion gamma tables. Therefore, a total of nine types of diffusion gamma tables are assigned to the discrete values X1 and X2. This discrete value is a single or a plurality of 4-bit discrete values that are close to the output value of the representative gamma table G, and a plurality of diffusion values such that these discrete values approximate the output value of the representative gamma table on average. Assigned to gamma table.

図13、図14、図15は、図12の9種類の拡散ガンマテーブルの配置及び具体的テーブル値を示す図である。図13には、拡散ガンマテーブル0,12,24のインデックステーブル内の配置とテーブル値が、図14には、同テーブル36,48,60のインデックステーブル内の配置とテーブル値が、図15には、同テーブル72,84,96のインデックステーブル内の配置とテーブル値がそれぞれ示される。インデックステーブルのインデックス番号はフォントサイズが小さくて判別困難であるが、図12と同じである。しかし、図13〜図15のインデックステーブルによれば、ランダムに拡散配置された各拡散ガンマテーブルの位置と数が確認できる。また、拡散ガンマテーブルのテーブル値は4ビット離散値を有するが、この例では、破線の代表ガンマテーブルの出力値に近接する上下2つの離散値のいずれかが各拡散ガンマテーブルに割り当てられている。したがって、図13〜図15の拡散ガンマテーブルにより、入力階調値0〜25までの各階調値において、各拡散ガンマテーブルが上下のいずれの離散値を有するかが確認できる。つまり、図7に示した拡散ガンマテーブルと同様であり、9種類の拡散ガンマテーブルは、破線の代表ガンマテーブルの出力値に近似する離散値を出力値として有し、その離散値の割り当ての割合を制御することで、拡散ガンマテーブルの出力値の平均値が代表ガンマテーブルの出力値にきわめて近くなる。   FIGS. 13, 14, and 15 are diagrams showing the arrangement and specific table values of the nine types of diffusion gamma tables in FIG. 13 shows the arrangement and table values in the index table of the diffusion gamma tables 0, 12, and 24, and FIG. 14 shows the arrangement and table values in the index table of the tables 36, 48, and 60 in FIG. Indicates the arrangement of the tables 72, 84, and 96 in the index table and the table values, respectively. The index numbers in the index table are the same as those in FIG. However, according to the index tables of FIGS. 13 to 15, the position and number of each diffusion gamma table that is randomly diffused can be confirmed. The table value of the diffusion gamma table has a 4-bit discrete value. In this example, one of the upper and lower discrete values close to the output value of the representative gamma table indicated by the broken line is assigned to each diffusion gamma table. . Therefore, the diffusion gamma table of FIGS. 13 to 15 can confirm whether each diffusion gamma table has an upper or lower discrete value in each gradation value from the input gradation value 0 to 25. That is, it is the same as the diffusion gamma table shown in FIG. 7, and the nine types of diffusion gamma tables have discrete values approximating the output values of the broken line representative gamma table as output values, and the allocation ratio of the discrete values. By controlling this, the average value of the output values of the diffusion gamma table becomes very close to the output value of the representative gamma table.

上記の説明から、本実施の形態におけるルックアップテーブルは、もはや代表ガンマテーブルをもたず、代表ガンマテーブルに変えて複数の拡散ガンマテーブルを有する。その意味からすると、同一インデックス画素群には、仮想的な代表ガンマテーブルが割り当てられ、その仮想上の代表ガンマテーブルが複数の拡散ガンマテーブルを有することになる。そして、その複数の拡散ガンマテーブルの出力値の平均が、代表ガンマテーブルの出力値に近似する。   From the above description, the lookup table in the present embodiment no longer has a representative gamma table, and has a plurality of diffusion gamma tables instead of the representative gamma table. In that sense, a virtual representative gamma table is assigned to the same index pixel group, and the virtual representative gamma table has a plurality of diffusion gamma tables. Then, the average of the output values of the plurality of diffusion gamma tables approximates the output value of the representative gamma table.

図16は、図11と図12のガンマテーブルと入力階調値の変化に対する出力パルス幅の差分とを示す図である。図4と同じ種類の図である。図16(A)は、図11に示した代表ガンマテーブル0,2,3,4,6,7,8,9,10,11と、入力階調値の変化に対する合計出力パルス値の差分を示す。つまり、図4(A)と同じであり、255回の全ての入力階調値の変化に対して合計出力パルス値が変化している。   FIG. 16 is a diagram illustrating the gamma tables of FIGS. 11 and 12 and the difference in output pulse width with respect to changes in input gradation values. It is a figure of the same kind as FIG. FIG. 16A shows the difference between the representative gamma tables 0, 2, 3, 4, 6, 7, 8, 9, 10, and 11 shown in FIG. Show. That is, as in FIG. 4A, the total output pulse value changes with respect to all 255 changes in the input gradation value.

一方、図16(B)は、図12に示した拡散ガンマテーブルと、入力階調値の変化に対する合計出力パルス値の差分を示す。つまり、図9の対応表121Bに示されるように、代表ガンマテーブル0は、拡散ガンマテーブル0〜96に拡散され、代表ガンマテーブル2,3は、拡散ガンマテーブル2〜98,3〜87に拡散され、代表ガンマテーブル4は、拡散ガンマテーブル4〜100に拡散され、代表ガンマテーブル6,7は、拡散ガンマテーブル6〜102,7〜103に拡散され、代表ガンマテーブル8,9は、拡散ガンマテーブル8〜104,9〜105に拡散され、代表ガンマテーブル10,11は、拡散ガンマテーブル10〜106,11〜107に拡散される。   On the other hand, FIG. 16B shows the difference between the diffusion gamma table shown in FIG. 12 and the total output pulse value with respect to the change of the input gradation value. That is, as shown in the correspondence table 121B of FIG. 9, the representative gamma table 0 is diffused to the diffusion gamma tables 0 to 96, and the representative gamma tables 2 and 3 are diffused to the diffusion gamma tables 2 to 98 and 3 to 87. The representative gamma table 4 is diffused to the diffusion gamma tables 4 to 100, the representative gamma tables 6 and 7 are diffused to the diffusion gamma tables 6 to 102 and 7 to 103, and the representative gamma tables 8 and 9 are diffused gamma. The representative gamma tables 10 and 11 are diffused to the diffusion gamma tables 10 to 106 and 11 to 107, respectively.

図16(B)に示されるように、複数の拡散ガンマテーブルに拡散または分散させることで、出力値が4ビット離散値であっても、平均出力値は代表ガンマテーブルと同等にすることができる。その結果、入力階調値の変化に対して、合計の出力パルス幅差分は255段階全てで変化し、その差分の傾向は、図16(A)と同じである。但し、縦軸のスケールは、図16(A)の40に対して、図16(B)ではその9倍の360になっている。   As shown in FIG. 16B, the average output value can be made equal to that of the representative gamma table even if the output value is a 4-bit discrete value by diffusing or dispersing in a plurality of diffusion gamma tables. . As a result, the total output pulse width difference changes in all 255 stages with respect to the change in the input gradation value, and the tendency of the difference is the same as in FIG. However, the scale of the vertical axis is 360 in FIG. 16B, which is nine times that of 40 in FIG.

図16(C)は、(B)の9種類の拡散ガンマテーブルの平均値に変換したテーブルと、その場合の入力階調値の変化に対する出力パルス幅の差分が示される。平均値にすると、そのガンマテーブルは、図16(A)の代表ガンマテーブルと殆ど同じであることが理解できる。また、出力パルス幅の差分は、図16(B)と縦軸のスケールのみが異なるだけであり、図16(A)の縦軸と同じスケール、同じ差分になっている。この図16(C)で確認できることは、各代表ガンマテーブルを複数の拡散ガンマテーブルに拡散または分散することで、第1に、低ビット化され出力階調数が少なくても、代表ガンマテーブルにきわめて近い出力値を再現することができ(ガンマテーブル参照)、第2に、低ビット化され出力階調数が少なくても、255の高い階調特性を得ることもできる(出力パルス幅差分参照)。したがって、ハーフトーン処理ユニットが低ビット化された画像再生出力データに変換しても、高ビットの出力データと同等に高精度の濃度特性と、高階調特性とを有することができる。   FIG. 16C shows a table converted into the average value of the nine types of diffusion gamma tables in FIG. 16B, and the difference in output pulse width with respect to the change in input gradation value in that case. It can be understood that the average value is almost the same as the representative gamma table of FIG. Further, the difference in the output pulse width is different from that in FIG. 16B only in the scale of the vertical axis, and is the same scale and the same difference as the vertical axis of FIG. What can be confirmed in FIG. 16C is that each representative gamma table is diffused or dispersed into a plurality of diffusion gamma tables. First, even if the number of output gradations is reduced and the number of output gradations is small, Very close output values can be reproduced (refer to the gamma table). Second, even if the number of output gradations is reduced and the number of output gradations is small, a high gradation characteristic of 255 can be obtained (refer to the output pulse width difference). ). Therefore, even if the halftone processing unit converts to image reproduction output data with a reduced bit, it can have high-accuracy density characteristics and high gradation characteristics equivalent to high-bit output data.

上記の実施の形態では、8ビットの入力階調データに対して4ビットの出力パルス幅データに変換するに際して、代表ガンマテーブルを複数の拡散ガンマテーブルに拡散または分散させている。つまり、代表ガンマテーブルの出力が8ビット、256階調であるのに対して、拡散ガンマテーブルの出力はそれより少ない4ビット、16階調である。そのような場合でも、複数の拡散ガンマテーブルに拡散または分散することで、高階調特性、高精度濃度特性を実現する。本実施の形態はそれに限定されずに、拡散ガンマテーブルを利用して、8ビットの入力階調データに対して8ビットの出力パルス幅データに変換する場合においても、各代表ガンマテーブルをそれと同じ8ビット出力データを有する複数の拡散ガンマテーブルに拡散または分散させることで、画質を向上させることができる。この場合は、8ビットの代表ガンマテーブルでは表現できない高階調の出力濃度を表現することができる。つまり、8ビットの代表ガンマテーブルでは、256階調しか表現できないが、複数の拡散ガンマテーブルに拡散または分散させることで、256階調以上の階調特性を出力データに与えることができる。但し、1つの代表ガンマテーブルを複数の拡散ガンマテーブルに置き換える必要があり、ガンマテーブルのメモリ容量を増大させることになる。その場合は、例えば、共通の代表ガンマテーブルに加えて、それとの差分値のみを少ないビット数で有する拡散ガンマテーブルを複数設けることで、全体のメモリ容量の増大を抑制することができる。それ以外にも、ハーフトーン処理ユニットが、代表ガンマテーブルの出力データにランダムに差分値を与えて拡散ガンマテーブルの出力データとして出力するようにしてもよい。   In the above embodiment, when converting 8-bit input gradation data into 4-bit output pulse width data, the representative gamma table is diffused or dispersed into a plurality of diffusion gamma tables. That is, the output of the representative gamma table is 8 bits and 256 gradations, whereas the output of the diffusion gamma table is 4 bits and 16 gradations, which is smaller than that. Even in such a case, high gradation characteristics and high-precision density characteristics are realized by diffusing or dispersing in a plurality of diffusion gamma tables. The present embodiment is not limited to this. Even when the 8-bit input gradation data is converted into 8-bit output pulse width data using the diffusion gamma table, each representative gamma table is the same as that. The image quality can be improved by diffusing or dispersing the plurality of diffusion gamma tables having 8-bit output data. In this case, it is possible to express a high gradation output density that cannot be represented by the 8-bit representative gamma table. In other words, the 8-bit representative gamma table can express only 256 gradations, but by diffusing or dispersing in a plurality of diffusion gamma tables, gradation characteristics of 256 gradations or more can be given to the output data. However, it is necessary to replace one representative gamma table with a plurality of diffusion gamma tables, which increases the memory capacity of the gamma table. In that case, for example, in addition to a common representative gamma table, by providing a plurality of diffusion gamma tables having only a difference value with a small number of bits, an increase in the overall memory capacity can be suppressed. In addition, the halftone processing unit may randomly output a difference value to the output data of the representative gamma table and output it as output data of the diffusion gamma table.

図1の画像処理構成図では、ハーフトーン処理ユニット110がルックアップテーブル122を参照して画像再生出力データOUT,L/Rを出力する。しかし、かかる変換処理は、マイクロプロセッサによるソフトウエア処理によっても行うことができる。その場合、プロセッサが、入力階調データINと画素位置情報(X,Y)に基づいて、ルックアップテーブル122を格納した高速メモリを参照して、入力階調データINを画像再生出力データOUT,L/Rを生成する。   In the image processing configuration diagram of FIG. 1, the halftone processing unit 110 refers to the look-up table 122 and outputs image reproduction output data OUT and L / R. However, such conversion processing can also be performed by software processing using a microprocessor. In that case, the processor refers to the high-speed memory storing the lookup table 122 based on the input gradation data IN and the pixel position information (X, Y), and converts the input gradation data IN into the image reproduction output data OUT, L / R is generated.

[キャリブレーション処理]
以上説明したとおり、ルックアップテーブルに拡散ガンマテーブルを利用することにより、少ない階調数の出力データであっても画質低下を抑制することができ、出力データの階調数が少なくない場合は、更に高い画質を提供することができる。かかる拡散ガンマテーブルは、図1に示したように、設計時において最適化されたものがROM126内に格納される。しかし、印刷エンジンの積算使用時間が所定時間を超えたり、感光体ドラムが取り替えられたりすると、印刷エンジンが設計時の特性とは異なる特性を有することになり、キャリブレーション処理が必要になる。しかし、拡散ガンマテーブルを直接補正することは補正後の画質を悪化して適切ではない。
[Calibration process]
As described above, by using the diffusion gamma table for the lookup table, it is possible to suppress degradation in image quality even if the output data has a small number of gradations. Further, higher image quality can be provided. As shown in FIG. 1, the diffusion gamma table optimized in the design is stored in the ROM 126. However, if the accumulated usage time of the print engine exceeds a predetermined time or the photosensitive drum is replaced, the print engine has characteristics different from those at the time of design, and calibration processing is necessary. However, it is not appropriate to directly correct the diffusion gamma table because the image quality after correction deteriorates.

図18は、本実施の形態におけるキャリブレーション処理のフローチャート図である。また、図19は、キャリブレーション処理におけるテーブル間の関係を示す図である。本実施の形態では、図1に示したプロセッサ128が、キャリブレーション要求に応答して(S30)、ROM内の通常拡散ガンマテーブルを、代表ガンマテーブルを介して補正し、補正拡散ガンマテーブルを生成し、ルックアップテーブル122に格納する。まず、プロセッサ128は、ROM内の通常拡散ガンマテーブルを参照して所定のキャリブレーションパターンを図示しない印刷エンジン内の感光体ドラムに形成する(S32)。そして、プロセッサ128は、印刷エンジン内の光学濃度センサによりキャリブレーションパターンの濃度を検出させ、その検出濃度データを印刷エンジンから受信する(S34)。プロセッサ128は、検出濃度データに基づいて補正ガンマテーブル202を生成する(S38)。   FIG. 18 is a flowchart of calibration processing in the present embodiment. FIG. 19 is a diagram illustrating a relationship between tables in the calibration process. In the present embodiment, in response to the calibration request (S30), the processor 128 shown in FIG. 1 corrects the normal diffusion gamma table in the ROM via the representative gamma table to generate a corrected diffusion gamma table. And stored in the lookup table 122. First, the processor 128 refers to the normal diffusion gamma table in the ROM and forms a predetermined calibration pattern on the photosensitive drum in the print engine (not shown) (S32). Then, the processor 128 causes the optical density sensor in the print engine to detect the density of the calibration pattern, and receives the detected density data from the print engine (S34). The processor 128 generates the correction gamma table 202 based on the detected density data (S38).

図20は、検出濃度データと補正ガンマテーブルの一例を示す図である。検出濃度データ200は、入力階調値に対するセンサ出力値を有する。なお、センサ出力値は、紙上の濃度に正規化されている。この例では、入力階調に対して理想的なリニアな濃度特性ではなく、低入力階調で濃度が急激に上昇し、最大入力階調に達するまえに最大濃度になっている。つまり、出力濃度が理想特性より高くなっている。したがって、設計時のガンマテーブルを、その出力パルス幅を小さくするように補正する必要がある。図中の補正ガンマテーブルC−GTは、検出濃度データ200のX軸とY軸とを反転したものである。つまり、補正ガンマテーブルC−GTは、X軸が補正後のガンマテーブルの入力階調を示し、Y軸が当該入力階調に対して与えるべき出力パルス幅を有する被補正ガンマテーブルの入力階調値(補正階調値)を示す。この補正ガンマテーブルによる補正方法については、後の説明で明らかにする。   FIG. 20 is a diagram illustrating an example of detected density data and a correction gamma table. The detected density data 200 has a sensor output value with respect to an input gradation value. The sensor output value is normalized to the density on the paper. In this example, the density characteristics are not ideal with respect to the input gradation, but the density rapidly increases at a low input gradation and reaches the maximum density before reaching the maximum input gradation. That is, the output density is higher than the ideal characteristic. Therefore, it is necessary to correct the design gamma table so as to reduce the output pulse width. The corrected gamma table C-GT in the figure is obtained by inverting the X axis and the Y axis of the detected density data 200. That is, in the corrected gamma table C-GT, the input gradation of the corrected gamma table in which the X axis indicates the input gradation of the corrected gamma table and the Y axis has the output pulse width to be given to the input gradation. Indicates the value (corrected gradation value). The correction method using the correction gamma table will be clarified in later explanation.

図20には、補正ガンマテーブルの拡大図C−GT(A)が示されている。この補正ガンマテーブルの拡大図C−GT(A)には、X軸の0〜30におけるY軸(補正階調値)が示されている。この例では、X軸が24にて、Y軸の補正階調値(参照すべき設計ガンマテーブルの入力階調値)が1になっている。そこで、X軸の1〜23に対して、Y軸の補正階調値を補間演算で求めた実数(少数を含む数)にする。例えば、0.04,0.09などであり、つまり離散的な整数値の間の値である。これにより、補正ガンマテーブルは、高精度の補正特性を有する。   FIG. 20 shows an enlarged view C-GT (A) of the correction gamma table. The enlarged view C-GT (A) of this correction gamma table shows the Y axis (correction gradation value) at 0 to 30 on the X axis. In this example, the X-axis is 24, and the Y-axis corrected gradation value (the input gradation value of the design gamma table to be referred to) is 1. Therefore, with respect to 1 to 23 on the X axis, the corrected gradation value on the Y axis is set to a real number (a number including a small number) obtained by interpolation calculation. For example, 0.04, 0.09, etc., that is, a value between discrete integer values. As a result, the correction gamma table has highly accurate correction characteristics.

図18、図19に戻り、プロセッサ128は、ROM内に格納されている通常拡散ガンマテーブルR−DGTから通常代表ガンマテーブルR−RGTを生成する(S38)。通常代表ガンマテーブルR−RGTは、対応する複数の拡散ガンマテーブルの出力階調値の平均を求めることにより得られる。   Returning to FIGS. 18 and 19, the processor 128 generates a normal representative gamma table R-RGT from the normal diffusion gamma table R-DGT stored in the ROM (S38). The typical representative gamma table R-RGT is obtained by calculating the average of the output gradation values of a plurality of corresponding diffusion gamma tables.

図21は、通常拡散ガンマテーブルR−DGTとその代表ガンマテーブルR−RGTとを示す図である。この例は、図16(B)(C)に示された拡散ガンマテーブルと代表ガンマテーブルとに対応する。図21の通常拡散ガンマテーブルは、6つの代表ガンマテーブルを拡散して生成された6群の通常拡散ガンマテーブルを有する。各拡散ガンマテーブルR−DGTは、その出力パルス幅データが4ビット、16階調になっている。そして、通常拡散ガンマテーブルR−DGTの平均値を求めて得られた6つの代表ガンマテーブルR−RGTは、その出力パルス幅データは8ビット、256階調になっている。   FIG. 21 is a diagram showing a normal diffusion gamma table R-DGT and its representative gamma table R-RGT. This example corresponds to the diffusion gamma table and the representative gamma table shown in FIGS. The normal diffusion gamma table of FIG. 21 has six groups of normal diffusion gamma tables generated by diffusing six representative gamma tables. Each diffusion gamma table R-DGT has output pulse width data of 4 bits and 16 gradations. The six representative gamma tables R-RGT obtained by calculating the average value of the normal diffusion gamma table R-DGT have 8 bits of output pulse width data and 256 gradations.

図18、図19に戻り、プロセッサ128は、通常代表ガンマテーブルR−RGTを補正ガンマテーブルC−GTに基づいて補正し、補正代表ガンマテーブルC−RGTを生成する(S40)。この補正処理は、入力階調値0〜255それぞれにおいて、補正ガンマテーブルC−GTを参照し、その出力である補正階調値(図20)を読み出し、当該補正階調値を入力階調とする時の通常代表ガンマテーブルR−RGTの出力パルス値を取得する。補正階調値が整数の離散値間の小数点付きであれば、直線補間により出力パルス値を求める。そのため、求められた出力パルス値は、小数点付きの実数になることがある。この出力パルス値が、補正代表ガンマテーブルC−RGTの出力データになる。以下、図を参照して説明する。   18 and 19, the processor 128 corrects the normal representative gamma table R-RGT based on the corrected gamma table C-GT, and generates a corrected representative gamma table C-RGT (S40). This correction processing refers to the correction gamma table C-GT for each of the input gradation values 0 to 255, reads the correction gradation value (FIG. 20) as the output, and uses the correction gradation value as the input gradation. The output pulse value of the normal representative gamma table R-RGT is acquired. If the corrected gradation value has a decimal point between integer discrete values, the output pulse value is obtained by linear interpolation. Therefore, the obtained output pulse value may be a real number with a decimal point. This output pulse value becomes the output data of the corrected representative gamma table C-RGT. Hereinafter, a description will be given with reference to the drawings.

図22は、代表ガンマテーブルの補正方法を説明する図である。図22の第1象限には、通常代表ガンマテーブルR−RGTと、補正された補正代表ガンマテーブルC−RGTが示されている。第4象限には、補正ガンマテーブルC−GTが示され、X軸が入力、Y軸が出力(補正階調値)に対応し、上下反転している。第3象限には、通常代表ガンマテーブルR−RGTが第1象限と原点対象に与えられている。第2象限は、X軸の値をそのままY軸に変換するだけである。   FIG. 22 is a diagram illustrating a method for correcting the representative gamma table. The first quadrant of FIG. 22 shows a normal representative gamma table R-RGT and a corrected representative gamma table C-RGT that has been corrected. In the fourth quadrant, the correction gamma table C-GT is shown, the X axis corresponds to the input, the Y axis corresponds to the output (correction gradation value), and is inverted upside down. In the third quadrant, a typical representative gamma table R-RGT is given to the first quadrant and the origin object. The second quadrant simply converts the X-axis value into the Y-axis as it is.

図22では、入力階調ia,ibに対する補正出力パルス値pa,pbが求められる。入力階調iaに対応して補正ガンマテーブルC−GTを参照すると、補正階調値ixaが得られる。そこで、補正階調値ixaを入力階調として通常代表ガンマテーブルR−RGTを参照すると、出力パルス値paが得られる。この出力パルス値paが、第1象限に示すように補正出力パルス値となる。次に入力階調ibに対応して補正ガンマテーブルC−GTを参照すると、整数の離散値ixn、ixn+1の間の実数ixbが得られたとする。補正ガンマテーブルC−GTが整数からなる離散値の間の少数付き実数を有することは前述のとおりである。この場合は、離散値ixn,ixn+1に対応する出力パルス値pn,pn+1を通常代表ガンマテーブルR−RGTから取得し、離散値ixn、ixn+1とその間の実数ixbとによる直線補間演算により、補間された出力パルス値pbを求める。この出力パルス値pbは小数を有する実数である。そして、実数の出力パルス値pbが、補正出力パルス値として補正代表ガンマテーブルC0RGTに与えられる。このように、補正ガンマテーブルに実数をもたせることで、補正代表ガンマテーブルに実数の補正出力パルス値を持たせることができる。そして、拡散ガンマテーブルを利用することにより、かかる実数の補正出力パルス値も再現することができる。以上のように、補正処理S40では、プロセッサ128は、各通常代表ガンマテーブルにつき、入力階調0〜255に対して、各テーブルの参照と直線補間演算とを繰り返して、補正出力パルス値を求める処理を繰り返す。   In FIG. 22, corrected output pulse values pa and pb for the input gradations ia and ib are obtained. When the correction gamma table C-GT is referred to corresponding to the input gradation ia, the correction gradation value ixa is obtained. Therefore, when the normal representative gamma table R-RGT is referred to with the corrected gradation value ixa as the input gradation, the output pulse value pa is obtained. This output pulse value pa becomes a corrected output pulse value as shown in the first quadrant. Next, referring to the correction gamma table C-GT corresponding to the input gradation ib, it is assumed that a real number ixb between integer discrete values ixn and ixn + 1 is obtained. As described above, the correction gamma table C-GT has a real number with a decimal number between discrete values of integers. In this case, output pulse values pn and pn + 1 corresponding to the discrete values ixn and ixn + 1 are obtained from the normal representative gamma table R-RGT, and are interpolated by linear interpolation using the discrete values ixn and ixn + 1 and the real number ixb therebetween. The output pulse value pb is obtained. The output pulse value pb is a real number having a decimal number. Then, the real output pulse value pb is given to the corrected representative gamma table C0RGT as the corrected output pulse value. In this way, by providing the correction gamma table with real numbers, the correction representative gamma table can have real correction output pulse values. By using the diffusion gamma table, it is possible to reproduce such real correction output pulse values. As described above, in the correction process S40, for each normal representative gamma table, the processor 128 obtains a corrected output pulse value by repeatedly referring to each table and linear interpolation for the input gradations 0 to 255. Repeat the process.

図23は、補正代表ガンマテーブルC−RGTと補正拡散ガンマテーブルC−DGTとを示す図である。補正代表ガンマテーブルC−RGTに示されるように、図22に示した補正方法により、6つの代表ガンマテーブルが補正されている。図21の補正前の通常代表ガンマテーブルR−RGTに比較すると、補正後の代表ガンマテーブルC−RGTはやや傾きが大きくなり、やや右側に移動した特性になっている。つまり、図20のセンサ出力特性200では、理想特性よりやや高濃度に変化しているので、補正された結果、出力パルス値が抑えられることになる。   FIG. 23 is a diagram showing a corrected representative gamma table C-RGT and a corrected diffusion gamma table C-DGT. As shown in the corrected representative gamma table C-RGT, six representative gamma tables are corrected by the correction method shown in FIG. Compared to the normal representative gamma table R-RGT before correction shown in FIG. 21, the corrected representative gamma table C-RGT has a slightly larger inclination and has a characteristic of moving slightly to the right. That is, in the sensor output characteristic 200 of FIG. 20, since the density changes slightly higher than the ideal characteristic, the output pulse value is suppressed as a result of correction.

図18,図19に戻り、プロセッサ128は、補正代表ガンマテーブルC−RGTから、補正拡散ガンマテーブルC−DGTを求める(S42)。この処理は、図17のフローチャート図の処理と同じである。つまり、補正代表ガンマテーブルの入力階調値INに対応する補正出力パルス幅X(図22ではpa,pb)を取得し(S12)、それに隣接する離散点xl、xsを、拡散数N個に分配し、分配数L個、(N−L)個を求め(S14)、N個の補正拡散ガンマテーブルの出力パルス値として、離散点xl、xsをランダムに与える(S16)。この処理を、全ての入力階調値IN=0〜255に対して繰り返す。そして、プロセッサ128は、求めた補正拡散ガンマテーブルC−DGTをSRAMのルックアップテーブルメモリに格納する(S44)。この補正拡散ガンマテーブルC−DGTの例が、図23に示される。   18 and 19, the processor 128 obtains a corrected diffusion gamma table C-DGT from the corrected representative gamma table C-RGT (S42). This process is the same as the process shown in the flowchart of FIG. That is, the corrected output pulse width X (pa, pb in FIG. 22) corresponding to the input gradation value IN of the corrected representative gamma table is acquired (S12), and the discrete points xl and xs adjacent thereto are set to N diffusion numbers. Distribute to obtain L and (N−L) distribution numbers (S14), and randomly give discrete points xl and xs as output pulse values of N correction diffusion gamma tables (S16). This process is repeated for all input gradation values IN = 0 to 255. Then, the processor 128 stores the obtained corrected diffusion gamma table C-DGT in the lookup table memory of the SRAM (S44). An example of this corrected diffusion gamma table C-DGT is shown in FIG.

本実施の形態では、キャリブレーション処理で、インデックステーブル120は変更しない。したがって、N個の拡散ガンマテーブルの配置に変更はない。但し、上記の通り、拡散ガンマテーブルの出力パルス値が、補正代表ガンマテーブルの出力パルス値pa,pbに対応して補正される。出力パルス値pbが少数を含む実数であっても、N個の拡散ガンマテーブルC−DGTに拡散することで、かかる実数を再現することができる。このキャリブレーション処理は、プロセッサ128がキャリブレーションプログラムを実行することにより行われる。つまり、プロセッサ128がキャリブレーション手段に対応する。   In the present embodiment, the index table 120 is not changed in the calibration process. Therefore, there is no change in the arrangement of the N diffusion gamma tables. However, as described above, the output pulse values of the diffusion gamma table are corrected corresponding to the output pulse values pa and pb of the corrected representative gamma table. Even if the output pulse value pb is a real number including a small number, it is possible to reproduce such a real number by diffusing it into N diffusion gamma tables C-DGT. This calibration process is performed by the processor 128 executing a calibration program. That is, the processor 128 corresponds to calibration means.

上記の実施の形態において、画像処理装置100内のROMに通常代表ガンマテーブルが格納されていてもよい。その場合は、プロセッサ128は、ROM内の通常代表ガンマテーブルを補正し、補正された代表ガンマテーブルから補正拡散ガンマテーブルを生成する。   In the above embodiment, the typical representative gamma table may be stored in the ROM in the image processing apparatus 100. In that case, the processor 128 corrects the normal representative gamma table in the ROM, and generates a corrected diffusion gamma table from the corrected representative gamma table.

以上のとおり、本実施の形態のキャリブレーション処理によれば、設計時の通常拡散ガンマテーブルがメモリ内に格納されている場合に、それから通常代表ガンマテーブルを求めて、補正ガンマテーブルにより補正し、再度補正拡散ガンマテーブルに戻している。したがって、正しくガンマテーブルの補正を行うことができる。そして、補正ガンマテーブルの参照出力値に実数を与え、その実数を利用して補正代表ガンマテーブルの出力パルス値を実数で求めているので、より精度の高い補正を行うことができる。   As described above, according to the calibration processing of the present embodiment, when the normal diffusion gamma table at the time of design is stored in the memory, the normal representative gamma table is obtained from the normal diffusion gamma table and corrected by the correction gamma table. It is returned to the corrected diffusion gamma table again. Therefore, it is possible to correct the gamma table correctly. Since a real number is given to the reference output value of the correction gamma table and the output pulse value of the corrected representative gamma table is obtained by using the real number, correction with higher accuracy can be performed.

本実施の形態における画像処理装置の構成図である。It is a block diagram of the image processing apparatus in this Embodiment. 一般的なインデックステーブルとガンマテーブルとの関係を示す図である。It is a figure which shows the relationship between a general index table and a gamma table. 図2の例において入力階調値を増加した場合の画素のドットの成長を示す図である。FIG. 3 is a diagram illustrating dot growth of a pixel when an input gradation value is increased in the example of FIG. 2. ガンマテーブルの入力階調値の変化に対する出力階調値の変化量を示す図である。It is a figure which shows the variation | change_quantity of the output gradation value with respect to the change of the input gradation value of a gamma table. 出力階調が4ビットの場合におけるガンマテーブルの拡大図である。It is an enlarged view of a gamma table when the output gradation is 4 bits. 本実施の形態における拡散ガンマテーブルの原理を説明する図である。It is a figure explaining the principle of the diffusion gamma table in this Embodiment. 代表ガンマテーブルGに複数の拡散ガンマテーブルG1,G2,G3を割り当てた場合の例を示す図である。It is a figure showing an example at the time of assigning a plurality of diffusion gamma tables G1, G2, G3 to representative gamma table G. 本実施の形態における代表ガンマテーブルを有する同一インデックス画素群を示す図である。It is a figure which shows the same index pixel group which has the representative gamma table in this Embodiment. 本実施の形態による拡散ガンマテーブルに対するインデックステーブルを示す図である。It is a figure which shows the index table with respect to the diffusion gamma table by this Embodiment. 図9に示した拡散ガンマテーブルが採りうる出力階調値の一例を示す図である。It is a figure which shows an example of the output gradation value which the diffusion gamma table shown in FIG. 9 can take. 8ビット出力の代表ガンマテーブルのインデックステーブルとその代表ガンマテーブルの一例を示す図である。It is a figure which shows an example of the index table of an 8-bit output representative gamma table, and its representative gamma table. 本実施の形態による拡散ガンマテーブルに対するインデックステーブルとガンマテーブルとを示す図である。It is a figure which shows the index table with respect to the diffusion gamma table by this Embodiment, and a gamma table. 図12の9種類の拡散ガンマテーブルの配置及びテーブル値を示す図である。It is a figure which shows arrangement | positioning and table value of nine types of diffusion gamma tables of FIG. 図12の9種類の拡散ガンマテーブルの配置及びテーブル値を示す図である。It is a figure which shows arrangement | positioning and table value of nine types of diffusion gamma tables of FIG. 図12の9種類の拡散ガンマテーブルの配置及びテーブル値を示す図である。It is a figure which shows arrangement | positioning and table value of nine types of diffusion gamma tables of FIG. 図11と図12のガンマテーブルと入力階調値の変化に対する出力パルス幅の差分とを示す図である。It is a figure which shows the difference of the output pulse width with respect to the gamma table of FIG. 11 and FIG. 12, and the change of an input gradation value. 本実施の形態における代表ガンマテーブルから拡散ガンマテーブルを生成するフローチャート図である。It is a flowchart figure which produces | generates a diffusion gamma table from the representative gamma table in this Embodiment. 本実施の形態におけるキャリブレーション処理のフローチャート図である。It is a flowchart figure of the calibration process in this Embodiment. キャリブレーション処理におけるテーブル間の関係を示す図である。It is a figure which shows the relationship between the tables in a calibration process. 検出濃度データと補正ガンマテーブルの一例を示す図である。It is a figure which shows an example of detection density data and a correction | amendment gamma table. 通常拡散ガンマテーブルR−DGTとその代表ガンマテーブルR−RGTとを示す図である。It is a figure which shows normal spreading | diffusion gamma table R-DGT and its representative gamma table R-RGT. 代表ガンマテーブルの補正方法を説明する図である。It is a figure explaining the correction method of a representative gamma table. 補正代表ガンマテーブルC−RGTと補正拡散ガンマテーブルC−DGTとを示す図である。It is a figure which shows the correction | amendment representative gamma table C-RGT and the correction | amendment diffusion gamma table C-DGT.

符号の説明Explanation of symbols

110:ハーフトーン処理ユニット、120: インデックステーブル
122:ルックアップテーブル、128:プロセッサ、130:パルス幅変調ユニット
IN:階調入力データ、(X,Y):画素位置
OUT:画像再生出力データ、L/R:右寄せ・左寄せ情報
110: Halftone processing unit, 120: Index table 122: Look-up table, 128: Processor, 130: Pulse width modulation unit IN: Gradation input data, (X, Y): Pixel position OUT: Image reproduction output data, L / R: Right justification / left justification information

Claims (7)

階調入力データから画像再生出力データを生成する画像処理装置において、
前記階調入力データを画素のドットサイズに対応する前記画像再生出力データに変換するハーフトーン処理ユニットと、
前記階調入力データに対応して画像再生出力データを有するガンマテーブルを、階調入力データの画素の位置に対応して複数有するルックアップテーブルとを有し、
前記ハーフトーン処理ユニットは、前記階調入力データの画素に対応する前記ガンマテーブルを参照して当該階調入力データを前記画像再生出力データに変換し、
前記ルックアップテーブルにおいて、所定の変位ベクトルの位置に配置された複数の画素からなる同一インデックス画素群それぞれに対して、当該同一インデックス画素群内で平面的に分散配置された複数の拡散ガンマテーブルが前記ガンマテーブルとして割り当てられ、当該複数の拡散ガンマテーブルは、前記階調入力データに対応して、少なくとも一部で異なる離散的な画像再生出力データを有し、当該複数の拡散ガンマテーブルの画像再生出力データの平均値が、前記同一インデックス画素群の仮想上の代表ガンマテーブルの出力階調値にほぼ一致し、
更に、キャリブレーション処理時に、前記複数の拡散ガンマテーブルから生成される仮想上の代表ガンマテーブルの出力階調値を、補正ガンマテーブルに基づいて補正して補正代表ガンマテーブルを生成し、当該補正代表ガンマテーブルから複数の補正拡散ガンマテーブルを生成して前記ルックアップテーブルに格納するキャリブレーション手段を有し、
前記キャリブレーション手段は、前記補正代表ガンマテーブルの出力階調値の近傍にある離散的な画像再生出力データを、前記補正代表ガンマテーブルの出力階調値と前記同一インデックス画素群内の前記拡散ガンマテーブルの数とに応じて分配し、前記補正拡散ガンマテーブルの画像再生出力データとして与え、当該補正拡散ガンマテーブルの画像再生出力データの平均値が前記補正代表ガンマテーブルの出力階調値にほぼ一致することを特徴とする画像処理装置。
In an image processing apparatus that generates image reproduction output data from gradation input data,
A halftone processing unit for converting the gradation input data into the image reproduction output data corresponding to a dot size of a pixel;
The gamma table having image reproduction output data corresponding to said grayscale input data, and a look-up table for several chromatic corresponding to the positions of the pixels of the grayscale input data,
The halftone processing unit converts the gradation input data into the image reproduction output data with reference to the gamma table corresponding to the pixel of the gradation input data,
In the lookup table, for each of the same index pixel group composed of a plurality of pixels arranged at the position of a predetermined displacement vector , a plurality of diffusion gamma tables distributed in a plane within the same index pixel group are provided. The plurality of diffusion gamma tables assigned as the gamma table have discrete image reproduction output data that differs at least in part corresponding to the gradation input data, and image reproduction of the plurality of diffusion gamma tables The average value of the output data substantially matches the output gradation value of the virtual representative gamma table of the same index pixel group,
Furthermore, during the calibration process, the output tone value of the representative gamma table of a virtual generated from the plurality of diffusion gamma tables, to generate corrected representative gamma table corrected based on the correction gamma table, the correction representative and generating a plurality of correction diffuse gamma table from gamma table have a calibration means to be stored in the look-up table,
The calibration means converts discrete image reproduction output data in the vicinity of the output gradation value of the corrected representative gamma table to the diffusion gamma in the same index pixel group as the output gradation value of the corrected representative gamma table. Distributed according to the number of tables and given as image reproduction output data of the corrected diffusion gamma table, and the average value of the image reproduction output data of the corrected diffusion gamma table substantially matches the output gradation value of the corrected representative gamma table An image processing apparatus.
階調入力データから画像再生出力データを生成する画像処理装置において、
前記階調入力データを画素のドットサイズに対応する前記画像再生出力データに変換するハーフトーン処理ユニットと、
前記階調入力データに対応して画像再生出力データを有するガンマテーブルを、階調入力データの画素の位置に対応して複数有するルックアップテーブルとを有し、
前記ハーフトーン処理ユニットは、前記階調入力データの画素に対応する前記ガンマテーブルを参照して当該階調入力データを前記画像再生出力データに変換し、
前記ルックアップテーブルでは、所定の変位ベクトルの位置に配置された複数の画素からなる同一インデックス画素群それぞれに仮想上の代表ガンマテーブルが割り当てられ、各仮想上の代表ガンマテーブルに対応してそれに対応する同一インデックス画素群内で平面的に分散配置された複数の拡散ガンマテーブルが前記ガンマテーブルとして割り当てられ、当該複数の拡散ガンマテーブルは、前記階調入力データに対応して、前記仮想上の代表ガンマテーブルの出力階調値の近傍にある離散的な画像再生出力データのうちいずれかを有し、
更に、キャリブレーション処理時に、前記複数の拡散ガンマテーブルから生成される仮想上の代表ガンマテーブルの出力階調値を、補正ガンマテーブルに基づいて補正して補正代表ガンマテーブルを生成し、当該補正代表ガンマテーブルから複数の補正拡散ガンマテーブルを生成して前記ルックアップテーブルに格納するキャリブレーション手段を有し、
前記キャリブレーション手段は、前記補正代表ガンマテーブルの出力階調値の近傍にある離散的な画像再生出力データを、前記補正代表ガンマテーブルの出力階調値と前記同一インデックス画素群内の前記拡散ガンマテーブルの数とに応じて分配し、前記補正拡散ガンマテーブルの画像再生出力データとして与え、当該補正拡散ガンマテーブルの画像再生出力データの平均値が前記補正代表ガンマテーブルの出力階調値にほぼ一致することを特徴とする画像処理装置。
In an image processing apparatus that generates image reproduction output data from gradation input data,
A halftone processing unit for converting the gradation input data into the image reproduction output data corresponding to a dot size of a pixel;
The gamma table having image reproduction output data corresponding to said grayscale input data, and a look-up table for several chromatic corresponding to the positions of the pixels of the grayscale input data,
The halftone processing unit converts the gradation input data into the image reproduction output data with reference to the gamma table corresponding to the pixel of the gradation input data,
In the lookup table, a virtual representative gamma table is assigned to each of the same index pixel group consisting of a plurality of pixels arranged at the position of a predetermined displacement vector , and corresponding to each virtual representative gamma table. A plurality of diffusion gamma tables distributed in a plane within the same index pixel group is assigned as the gamma table, and the plurality of diffusion gamma tables correspond to the grayscale input data and correspond to the virtual representative. One of the discrete image reproduction output data in the vicinity of the output gradation value of the gamma table,
Furthermore, during the calibration process, the output tone value of the representative gamma table of a virtual generated from the plurality of diffusion gamma tables, to generate corrected representative gamma table corrected based on the correction gamma table, the correction representative and generating a plurality of correction diffuse gamma table from gamma table have a calibration means to be stored in the look-up table,
The calibration means converts discrete image reproduction output data in the vicinity of the output gradation value of the corrected representative gamma table to the diffusion gamma in the same index pixel group as the output gradation value of the corrected representative gamma table. Distributed according to the number of tables and given as image reproduction output data of the corrected diffusion gamma table, and the average value of the image reproduction output data of the corrected diffusion gamma table substantially matches the output gradation value of the corrected representative gamma table An image processing apparatus.
請求項1または2において、前記仮想上の代表ガンマテーブルの出力階調値は所定数の離散値からなり、前記キャリブレーション手段は、前記補正代表ガンマテーブルの少なくとも一つの出力階調値に前記離散値間の値を与えることを特徴とする画像処理装置。 3. The output gradation value of the virtual representative gamma table according to claim 1 or 2, comprising a predetermined number of discrete values, and the calibration means outputs the discrete gradation value to at least one output gradation value of the corrected representative gamma table. An image processing apparatus characterized by giving a value between values. 請求項1または2において、前記複数の拡散ガンマテーブルは、それに対応する同一インデックス画素群内においてランダムに分散配置されることを特徴とする画像処理装置。   3. The image processing apparatus according to claim 1, wherein the plurality of diffusion gamma tables are randomly distributed in the same index pixel group corresponding thereto. 請求項1または2において、前記複数の拡散ガンマテーブルの画像再生出力データは、前記階調入力データに対応して、前記仮想上の代表ガンマテーブルの出力階調値の近傍にある離散的な画像再生出力データのうちいずれかをランダムに有することを特徴とする画像処理装置。 3. The discrete image according to claim 1 or 2, wherein the plurality of diffusion gamma table image reproduction output data corresponds to the gradation input data and is in the vicinity of an output gradation value of the virtual representative gamma table. An image processing apparatus having any one of reproduction output data at random. 階調入力データから画素のドットサイズに対応する画像再生出力データを生成する画像処理プログラムにおいて、
前記階調入力データに対応して画像再生出力データを有するガンマテーブルを、階調入力データの画素の位置に対応して複数有するルックアップテーブルを参照して、前記階調入力データを前記画像再生出力データに変換するハーフトーン処理手順をコンピュータに実行させ、
前記ルックアップテーブルでは、所定の変位ベクトルの位置に配置された複数の画素からなる同一インデックス画素群それぞれに対して、当該同一インデックス画素群内で平面的に分散配置された複数の拡散ガンマテーブルが前記ガンマテーブルとして割り当てられ、当該複数の拡散ガンマテーブルは、前記階調入力データに対応して、少なくとも一部で異なる離散的な画像再生出力データを有し、当該複数の拡散ガンマテーブルの画像再生出力データの平均値が、前記同一インデックス画素群の仮想上の代表ガンマテーブルの出力階調値にほぼ一致し、
更に、前記複数の拡散ガンマテーブルから生成される仮想上の代表ガンマテーブルの出力階調値を、補正ガンマテーブルに基づいて補正して補正代表ガンマテーブルを生成し、当該補正代表ガンマテーブルから複数の補正拡散ガンマテーブルを生成して前記ルックアップテーブルに格納するキャリブレーション手順をコンピュータに実行させ、
前記キャリブレーション手順は、前記補正代表ガンマテーブルの出力階調値の近傍にある離散的な画像再生出力データを、前記補正代表ガンマテーブルの出力階調値と前記同一インデックス画素群内の前記拡散ガンマテーブルの数とに応じて分配し、前記補正拡散ガンマテーブルの画像再生出力データとして与え、当該補正拡散ガンマテーブルの画像再生出力データの平均値が前記補正代表ガンマテーブルの出力階調値にほぼ一致することを特徴とする画像処理プログラム。
In an image processing program for generating image reproduction output data corresponding to a pixel dot size from gradation input data,
Referring to a lookup table having a plurality of gamma tables having image reproduction output data corresponding to the gradation input data and corresponding to pixel positions of the gradation input data, the gradation input data is reproduced by the image. Let the computer execute the halftone processing procedure to convert to output data,
In the look-up table, a plurality of diffusion gamma tables arranged in a plane and distributed in the same index pixel group for each of the same index pixel group composed of a plurality of pixels arranged at the position of a predetermined displacement vector. The plurality of diffusion gamma tables assigned as the gamma table have discrete image reproduction output data that differs at least in part corresponding to the gradation input data, and image reproduction of the plurality of diffusion gamma tables The average value of the output data substantially matches the output gradation value of the virtual representative gamma table of the same index pixel group,
Further, a corrected representative gamma table is generated by correcting the output gradation value of the virtual representative gamma table generated from the plurality of diffusion gamma tables based on the corrected gamma table. Causing the computer to execute a calibration procedure to generate a corrected diffusion gamma table and store it in the lookup table ;
In the calibration procedure, discrete image reproduction output data in the vicinity of the output gradation value of the corrected representative gamma table is converted to the diffusion gamma in the same index pixel group as the output gradation value of the corrected representative gamma table. Distributed according to the number of tables and given as image reproduction output data of the corrected diffusion gamma table, and the average value of the image reproduction output data of the corrected diffusion gamma table substantially matches the output gradation value of the corrected representative gamma table An image processing program.
階調入力データから画素のドットサイズに対応する画像再生出力データを生成する画像処理プログラムにおいて、
前記階調入力データに対応して画像再生出力データを有するガンマテーブルを、階調入力データの画素の位置に対応して複数有するルックアップテーブルを参照して、前記階調入力データを前記画像再生出力データに変換するハーフトーン処理手順をコンピュータに実行させ、
前記ルックアップテーブルでは、所定の変位ベクトルの位置に配置された複数の画素からなる同一インデックス画素群それぞれに仮想上の代表ガンマテーブルが割り当てられ、各仮想上の代表ガンマテーブルに対応してそれに対応する同一インデックス画素群内で平面的に分散配置された複数の拡散ガンマテーブルが前記ガンマテーブルとして割り当てられ、当該複数の拡散ガンマテーブルは、前記階調入力データに対応して、前記仮想上の代表ガンマテーブルの出力階調値の近傍にある離散的な画像再生出力データのうちいずれかを有し、
更に、前記複数の拡散ガンマテーブルから生成される仮想上の代表ガンマテーブルの出力階調値を、補正ガンマテーブルに基づいて補正して補正代表ガンマテーブルを生成し、当該補正代表ガンマテーブルから複数の補正拡散ガンマテーブルを生成して前記ルックアップテーブルに格納するキャリブレーション手順をコンピュータに実行させ
前記キャリブレーション手段は、前記補正代表ガンマテーブルの出力階調値の近傍にある離散的な画像再生出力データを、前記補正代表ガンマテーブルの出力階調値と前記同一インデックス画素群内の前記拡散ガンマテーブルの数とに応じて分配し、前記補正拡散ガンマテーブルの画像再生出力データとして与え、当該補正拡散ガンマテーブルの画像再生出力データの平均値が前記補正代表ガンマテーブルの出力階調値にほぼ一致することを特徴とする画像処理プログラム。
In an image processing program for generating image reproduction output data corresponding to a pixel dot size from gradation input data,
Referring to a lookup table having a plurality of gamma tables having image reproduction output data corresponding to the gradation input data and corresponding to pixel positions of the gradation input data, the gradation input data is reproduced by the image. Let the computer execute the halftone processing procedure to convert to output data,
In the lookup table, a virtual representative gamma table is assigned to each of the same index pixel group consisting of a plurality of pixels arranged at the position of a predetermined displacement vector , and corresponding to each virtual representative gamma table. A plurality of diffusion gamma tables distributed in a plane within the same index pixel group is assigned as the gamma table, and the plurality of diffusion gamma tables correspond to the grayscale input data and correspond to the virtual representative. One of the discrete image reproduction output data in the vicinity of the output gradation value of the gamma table,
Further, a corrected representative gamma table is generated by correcting the output gradation value of the virtual representative gamma table generated from the plurality of diffusion gamma tables based on the corrected gamma table. Causing the computer to execute a calibration procedure to generate a corrected diffusion gamma table and store it in the lookup table ;
The calibration means converts discrete image reproduction output data in the vicinity of the output gradation value of the corrected representative gamma table to the diffusion gamma in the same index pixel group as the output gradation value of the corrected representative gamma table. Distributed according to the number of tables and given as image reproduction output data of the corrected diffusion gamma table, and the average value of the image reproduction output data of the corrected diffusion gamma table substantially matches the output gradation value of the corrected representative gamma table An image processing program.
JP2004209040A 2004-07-15 2004-07-15 Image processing apparatus and image processing program using diffusion gamma table Expired - Fee Related JP4229018B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004209040A JP4229018B2 (en) 2004-07-15 2004-07-15 Image processing apparatus and image processing program using diffusion gamma table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004209040A JP4229018B2 (en) 2004-07-15 2004-07-15 Image processing apparatus and image processing program using diffusion gamma table

Publications (2)

Publication Number Publication Date
JP2006033402A JP2006033402A (en) 2006-02-02
JP4229018B2 true JP4229018B2 (en) 2009-02-25

Family

ID=35899221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004209040A Expired - Fee Related JP4229018B2 (en) 2004-07-15 2004-07-15 Image processing apparatus and image processing program using diffusion gamma table

Country Status (1)

Country Link
JP (1) JP4229018B2 (en)

Also Published As

Publication number Publication date
JP2006033402A (en) 2006-02-02

Similar Documents

Publication Publication Date Title
US5469267A (en) Halftone correction system
JPH08107500A (en) Error diffusion halfton processing system and method of using homogeneous response of high/low brightness picture area
JP3985437B2 (en) Electrophotographic image forming apparatus and image forming program product thereof
JP4121631B2 (en) Image data processing system and image data processing method
US5289294A (en) Image processing apparatus
JPH1075375A (en) Image processing unit, image processing system, and method for generating image processing screen
JP3698541B2 (en) Pseudo gradation image processing device
JP2004042325A (en) Printer and its image processor
JP3775457B2 (en) Gradation reproduction method and apparatus for laser printer
JP4229018B2 (en) Image processing apparatus and image processing program using diffusion gamma table
JP3223803B2 (en) Image processing device
JP4479665B2 (en) Image processing apparatus, image processing method, and image processing program for halftone processing
JP4479663B2 (en) Image processing apparatus, image processing method, and image processing program for halftone processing using fixed cells
JP3678586B2 (en) Halftoning method for multi-tone image
JP6729227B2 (en) Image processing apparatus, image forming apparatus and program
JP6531465B2 (en) Image forming apparatus, dither pattern generating apparatus, and dither pattern generating method
JP4229017B2 (en) Image processing apparatus, image processing method, and image processing program
JP3244081B2 (en) Electrophotographic apparatus and electrophotographic image processing method
JP3726470B2 (en) Image processing apparatus and image processing method
JP4134909B2 (en) Dither pattern generation device, dither pattern generation method, and dither pattern generation program
JPH0898025A (en) Image data processing method and its device
JP4432995B2 (en) Image forming apparatus
JP3873590B2 (en) Color electrophotographic equipment
JP3684777B2 (en) Image processing device
JP2002223357A (en) Electrophotographic device and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070703

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080715

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080916

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: 20081111

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: 20081124

R150 Certificate of patent or registration of utility model

Ref document number: 4229018

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111212

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121212

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131212

Year of fee payment: 5

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