JP4337670B2 - Image processing apparatus, image processing method, and program - Google Patents

Image processing apparatus, image processing method, and program Download PDF

Info

Publication number
JP4337670B2
JP4337670B2 JP2004206008A JP2004206008A JP4337670B2 JP 4337670 B2 JP4337670 B2 JP 4337670B2 JP 2004206008 A JP2004206008 A JP 2004206008A JP 2004206008 A JP2004206008 A JP 2004206008A JP 4337670 B2 JP4337670 B2 JP 4337670B2
Authority
JP
Japan
Prior art keywords
pixel
colors
image data
center
input image
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
JP2004206008A
Other languages
Japanese (ja)
Other versions
JP2006033168A (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 JP2004206008A priority Critical patent/JP4337670B2/en
Publication of JP2006033168A publication Critical patent/JP2006033168A/en
Application granted granted Critical
Publication of JP4337670B2 publication Critical patent/JP4337670B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、レーザプリンタなどの画像処理装置における階調画像データのハーフトーン処理に関する。詳しくは、固定セル枠の重心にセル内の入力階調値に応じたドット(又は網点)を生成させるとともに、2色間でのセル(又はドット若しくは網点)の傾きの差を略30°にしたハーフトーン処理に関する。   The present invention relates to halftone processing of gradation image data in an image processing apparatus such as a laser printer. Specifically, the dot (or halftone dot) corresponding to the input tone value in the cell is generated at the center of gravity of the fixed cell frame, and the difference in inclination of the cell (or dot or halftone dot) between the two colors is approximately 30. This is related to halftone processing.

従来から、プリンタなどの画像処理装置は、画素ごとに多値の階調値を有する階調データに対して、ドットの有無を表す2値の値に変換して印刷用紙に印刷を行うようになされている。一般には、多値の階調値を2値の値に変換する処理のことをハーフトーン処理と称されている。   2. Description of the Related Art Conventionally, an image processing apparatus such as a printer converts gradation data having a multi-value gradation value for each pixel into a binary value representing the presence / absence of a dot and performs printing on printing paper. Has been made. In general, a process of converting a multi-value gradation value into a binary value is referred to as a halftone process.

かかるハーフトーン処理として、入力階調値と所定のサイズからなる閾値マトリックス(変換テーブル)とを比較してドットを生成させるようにした、いわゆる網点処理によるハーフトーン処理が知られている。網点処理では、入力階調値に応じて網点の大きさが変化し、この網点の大きさにより入力画像の中間階調が再現される。   As such halftone processing, there is known halftone processing by so-called halftone processing in which dots are generated by comparing an input gradation value and a threshold matrix (conversion table) having a predetermined size. In the halftone processing, the halftone dot size changes according to the input grayscale value, and the halftone of the input image is reproduced by the halftone dot size.

一般に、新聞、雑誌などの商用印刷装置では、網点処理によりCMYK(シアン、マゼンタ、イエロー、ブラック)の各色の網点が重ね合わされてカラー画像が再現されている。そして、各色の網点の角度(スクリーン角)によっては網点の周期性に起因して、いわゆるモアレ縞が生成されるため、2色間で略30°の角度に傾けることでこれを最小にし、ロゼット模様と呼ばれる視覚的に快適な重ね合わせを実現している。従来では、Yが0°、Kが45°、CまたはMが15°または75°に網点が設定されている。   In general, in commercial printing apparatuses such as newspapers and magazines, halftone dots of CMYK (cyan, magenta, yellow, and black) are superimposed by halftone processing to reproduce a color image. Depending on the angle of the halftone dot (screen angle) of each color, so-called moire fringes are generated due to the periodicity of the halftone dot, so that it can be minimized by tilting it at an angle of about 30 ° between the two colors. It realizes a visually comfortable overlay called a rosette pattern. Conventionally, halftone dots are set such that Y is 0 °, K is 45 °, and C or M is 15 ° or 75 °.

しかし、レーザプリンタなどの画像処理装置では、レーザビームが走査される主走査方向と紙送りがされる副走査方向とにドットの配列が固定されるためスクリーン角を商用印刷装置のように任意の角度に設定することができない。   However, in an image processing apparatus such as a laser printer, since the dot arrangement is fixed in the main scanning direction in which the laser beam is scanned and the sub-scanning direction in which the paper is fed, the screen angle can be set arbitrarily as in a commercial printing apparatus. The angle cannot be set.

そこで、従来では、網点の重心位置をドットの中心位置からずらすことで、実質的に2色間で略30°のスクリーン角を実現しているものがある(例えば、以下の特許文献1)。   Therefore, conventionally, there is a technique that realizes a screen angle of substantially 30 ° between two colors by shifting the center of gravity of the halftone dot from the center position of the dot (for example, Patent Document 1 below). .

また、実際の出力画像でのモアレ縞の間隔から網点の角度等を表すパラメータ値を決定して高画質のカラー画像を得るようにしたもの等もある(例えば、以下の特許文献2、3)。
特開2000−228728号公報 特開2002−101297号公報 特開平5−176170号公報
In addition, there is a technique in which a parameter value representing a halftone dot angle or the like is determined from a moire fringe interval in an actual output image to obtain a high-quality color image (for example, Patent Documents 2 and 3 below). ).
JP 2000-228728 A JP 2002-101297 A JP-A-5-176170

しかしながら、上述した特許文献によるものはいずれも入力階調値と閾値との比較によりドットの有無を示す出力階調値を得る点では変わらず、このような網点処理では網点位置が固定されているため解像性が網点周期程度に劣化し、例えば文字がギザつくジャギーが発生したり、薄い文字が読みにくくなる等の問題点があった。これは、閾値の設定等により入力階調値が切り捨てられ細い線が再現されなかったり、或いはその逆で低い入力階調値で太線に変換される等、入力階調値と出力階調値の不一致が一つの原因と考えられる。   However, all of the above-mentioned patent documents do not change in that an output tone value indicating the presence / absence of a dot is obtained by comparing the input tone value with a threshold value. In such halftone processing, the halftone dot position is fixed. Therefore, the resolution is deteriorated to the halftone dot period, and there are problems such as jaggy jagged characters and difficult to read thin characters. This is because the input gradation value and the output gradation value are changed such that the input gradation value is cut off due to the threshold setting, etc., and the thin line is not reproduced, or vice versa, the input gradation value is converted to a thick line with a low input gradation value. The discrepancy is considered as one cause.

そこで、本発明は、モアレ縞を最小に保ちつつ、解像性の優れた出力画像を得ることのできる画像処理装置や画像処理方法、プログラムを提供することを目的とする。   Therefore, an object of the present invention is to provide an image processing apparatus, an image processing method, and a program that can obtain an output image with excellent resolution while keeping moiré fringes to a minimum.

また、本発明の他の目的は、2色間のスクリーン角を略30°に設定した商用印刷装置と互換性のある画像処理装置等を提供することにある。   Another object of the present invention is to provide an image processing apparatus compatible with a commercial printing apparatus in which the screen angle between two colors is set to approximately 30 °.

上記目的を達成するために本発明は、複数色の入力画像データに対して、2階調以上の階調値を有する出力画像データに変換する画像処理装置において、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データから色成分ごとに重心位置を決定する重心位置決定手段と、重心位置決定手段で決定した重心位置に基づく画素に階調値を付与する付与手段と、を備え、複数色のうち任意の2色間での画素群の傾きの差は略30°であることを特徴としている。これにより、例えば、各セルの重心にドットや網点が生成され、従来の閾値処理と比較して解像性の高い出力画像を得ることができる。さらに、画素群の傾きが2色間で略30°としていためモアレ縞を最小にした出力画像を得ることができる。   In order to achieve the above object, the present invention is based on a predetermined pixel group in an image processing apparatus for converting input image data of a plurality of colors into output image data having gradation values of two or more gradations. Centroid position determining means for determining the centroid position for each color component from the input image data of each pixel included in the pixel group, and providing means for assigning gradation values to the pixels based on the centroid position determined by the centroid position determining means; The difference in inclination of the pixel group between any two of the plurality of colors is approximately 30 °. Thereby, for example, dots and halftone dots are generated at the center of gravity of each cell, and an output image with higher resolution can be obtained as compared with the conventional threshold processing. Further, since the inclination of the pixel group is approximately 30 ° between the two colors, an output image with the minimum moire fringes can be obtained.

また、本発明は上記画像処理装置において、付与手段で付与された階調値に対してK段階(Kは正の整数)のパルス幅を生成するパルス幅変調手段、をさらに備えることを特徴としている。これにより、例えば、多くの階調表現を可能にしたハーフトーン処理を実現することができる。   Further, the present invention is characterized in that the image processing apparatus further comprises pulse width modulation means for generating a K-level (K is a positive integer) pulse width for the gradation value given by the giving means. Yes. Thereby, for example, it is possible to realize halftone processing that enables many gradation expressions.

さらに、本発明は上記画像処理装置において、上記重心位置決定手段は、各画素の画素位置と各画素の入力画像データの階調値との積を画素群に含まれる全画素に対して演算し、その和を画素群に含まれる各画素の入力画像データの階調値の合計値で除算した値を重心位置として決定する、ことを特徴としている。これにより、例えば、各画素の入力階調値を含めた重心位置を容易に演算することができる。   Furthermore, in the image processing apparatus according to the present invention, the center-of-gravity position determining unit calculates a product of a pixel position of each pixel and a gradation value of input image data of each pixel for all pixels included in the pixel group. The value obtained by dividing the sum by the total value of the gradation values of the input image data of each pixel included in the pixel group is determined as the barycentric position. Thereby, for example, the position of the center of gravity including the input gradation value of each pixel can be easily calculated.

さらに、本発明は上記画像処理装置において、上記重心位置に基づく画素は重心位置に最も近い画素である、ことを特徴としている。これにより、例えば、入力階調値に忠実なドットや網点を得ることができるため、入力画像に忠実な出力画像を得ることができる。   Furthermore, the present invention is characterized in that, in the image processing apparatus, the pixel based on the barycentric position is a pixel closest to the barycentric position. Thereby, for example, since dots and halftone dots faithful to the input gradation value can be obtained, an output image faithful to the input image can be obtained.

さらに、本発明は上記画像処理装置において、上記付与手段は、重心位置に最も近い画素に階調値を付与したとき、画素群に含まれる各画素の入力階調値の合計値から付与した階調値を減算し余りがあれば当該余った階調値を付与した画素以外の画素であって重心位置から最も近い画素に付与する、ことを特徴としている。これにより、例えば、重心位置からドットや網点が成長し、さらに余りの階調値も考慮しているため入力階調値に忠実な出力画像を得ることができる。   Furthermore, in the image processing apparatus according to the aspect of the invention, when the assigning unit assigns a gradation value to the pixel closest to the barycentric position, the assigning unit adds the gradation given from the total input gradation value of each pixel included in the pixel group. If the remainder is obtained by subtracting the tone value, the remaining gradation value is applied to a pixel other than the pixel to which the surplus gradation value is applied and closest to the center of gravity position. Thereby, for example, dots and halftone dots grow from the position of the center of gravity, and the remaining gradation value is also taken into consideration, so that an output image faithful to the input gradation value can be obtained.

さらに、本発明は上記画像処理装置において、上記付与手段は画素群に含まれる各画素の入力画像データの和を少なくとも重心位置を含む画素に付与する、ことを特徴としている。これにより、例えば、セル内で入力階調値が保存されたドット等を得ることができ、解像性の高い出力画像を得ることができる。   Furthermore, the present invention is characterized in that, in the image processing apparatus, the assigning means assigns a sum of input image data of each pixel included in the pixel group to a pixel including at least a barycentric position. Thereby, for example, it is possible to obtain dots or the like in which the input gradation value is stored in the cell, and it is possible to obtain an output image with high resolution.

また、上記目的を達成するために本発明は、複数色の入力画像データに対して、2階調以上の階調値に変換し、階調値に応じた網点により出力画像データを得る画像処理装置において、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データから色成分ごとに重心位置を決定する重心位置決定手段と、重心位置決定手段で決定した重心位置に基づく画素に階調値を付与する付与手段と、を備え、複数色のうち任意の2色間での網点の傾きの差は略30°であることを特徴としている。これにより、例えば、モアレ縞を最小にするとともに解像性の高い出力画像を得ることができる。   In order to achieve the above object, the present invention converts an input image data of a plurality of colors into a gradation value of two gradations or more, and obtains output image data by a halftone dot corresponding to the gradation value. In the processing device, based on a predetermined pixel group, a centroid position determining unit that determines a centroid position for each color component from input image data of each pixel included in the pixel group, and a centroid position determined by the centroid position determining unit Providing means for assigning a gradation value to the pixel based on it, and the difference in the gradient of the halftone dot between any two of the plurality of colors is approximately 30 °. Thereby, for example, it is possible to obtain an output image with high resolution while minimizing moire fringes.

さらに、上記目的を達成するために本発明は、複数色の入力画像データに対して、2階調以上の階調値に変換し、階調値に応じたドットにより出力画像データを得る画像処理装置において、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データから色成分ごとに重心位置を決定する重心位置決定手段と、重心位置決定手段で決定した重心位置に基づく画素に階調値を付与する付与手段と、を備え、複数色のうち任意の2色間でのドットの傾きの差は略30°であることを特徴としている。これにより、例えば、モアレ縞を最小にするとともに解像性の高い出力画像を得ることができる。   Furthermore, in order to achieve the above object, the present invention converts an input image data of a plurality of colors into a gradation value of two or more gradations and obtains output image data with dots corresponding to the gradation values. In the apparatus, based on a predetermined pixel group, a centroid position determining unit that determines a centroid position for each color component from input image data of each pixel included in the pixel group, and based on the centroid position determined by the centroid position determining unit Providing means for assigning a gradation value to the pixel, and the difference in dot inclination between any two of the plurality of colors is approximately 30 °. Thereby, for example, it is possible to obtain an output image with high resolution while minimizing moire fringes.

さらに、上記目的を達成するために本発明は、複数色の入力画像データに対して、2階調以上の階調値を有する出力画像データに変換する画像処理方法において、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データから色成分ごとに重心位置を決定する重心位置決定工程と、重心位置決定工程で決定した重心位置に基づく画素に階調値を付与する付与工程と、を備え、複数色のうち任意の2色間での画素群の傾きの差は略30°であることを特徴としている。これにより、例えば、モアレ縞を最小に保ちつつ解像性の高い出力画像を得ることができる。   Furthermore, in order to achieve the above object, the present invention provides a predetermined pixel group in an image processing method for converting input image data of a plurality of colors into output image data having gradation values of two or more gradations. Centroid position determination step for determining the centroid position for each color component from the input image data of each pixel included in the pixel group based on the above, and provision for assigning gradation values to the pixels based on the centroid position determined in the centroid position determination step A difference in inclination of the pixel group between any two colors of the plurality of colors is approximately 30 °. Thereby, for example, an output image with high resolution can be obtained while keeping the moiré fringes to a minimum.

さらに、上記目的を達成するために本発明は、複数色の入力画像データに対して、2階調以上の階調値に変換し、階調値に応じた網点により出力画像データを得る画像処理方法において、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データから色成分ごとに重心位置を決定する重心位置決定工程と、重心位置決定工程で決定した重心位置に基づく画素に階調値を付与する付与工程と、を備え、複数色のうち任意の2色間での前記網点の傾きの差は略30°であることを特徴としている。これにより、例えば、モアレ縞を最小にして解像性の高い出力画像を得ることができる。   Furthermore, in order to achieve the above object, the present invention converts an input image data of a plurality of colors into a gradation value of two or more gradations, and obtains output image data by a halftone dot corresponding to the gradation value. In the processing method, a centroid position determining step for determining a centroid position for each color component from input image data of each pixel included in the pixel group based on a predetermined pixel group, and a centroid position determined in the centroid position determining step And a step of applying a gradation value to a pixel based thereon, wherein a difference in inclination of the halftone dot between any two of a plurality of colors is approximately 30 °. Thereby, for example, it is possible to obtain an output image with high resolution by minimizing moire fringes.

さらに、上記目的を達成するために本発明は、複数色の入力画像データに対して、2階調以上の階調値に変換し、階調値に応じたドットにより出力画像データを得る画像処理方法において、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データから色成分ごとに重心位置を決定する重心位置決定工程と、重心位置決定工程で決定した重心位置に基づく画素に階調値を付与する付与工程と、を備え、複数色のうち任意の2色間でのドットの傾きの差は略30°であることを特徴としている。これにより、例えば、モアレ縞を最小にするとともに解像性の高い出力画像を得ることができる。   Furthermore, in order to achieve the above object, the present invention converts an input image data of a plurality of colors into a gradation value of two or more gradations and obtains output image data with dots corresponding to the gradation values. In the method, a center-of-gravity position determining step for determining a center-of-gravity position for each color component from input image data of each pixel included in the pixel group based on a predetermined pixel group, and a center-of-gravity position determined in the center-of-gravity position determining step Providing a gradation value to the pixel, and a difference in dot inclination between any two colors of the plurality of colors is approximately 30 °. Thereby, for example, it is possible to obtain an output image with high resolution while minimizing moire fringes.

さらに、上記目的を達成するために本発明は、記憶手段に記憶された複数色の入力画像データに対して、2階調以上の階調値に変換して記憶手段に記憶させ、階調値を読み出して出力画像データを得る画像処理をコンピュータに実行させるプログラムにおいて、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データを記憶手段から読み出し、入力画像データから色成分ごとに重心位置を決定する重心位置決定処理と、重心位置決定手段で決定した重心位置に基づく画素に階調値を付与するよう階調値を記憶手段に記憶させる付与処理と、を備え、複数色のうち任意の2色間での画素群の傾きの差は略30°であることを特徴としている。これにより、例えば、モアレ縞を最小に保ちつつ解像性の高い出力画像を得ることができる。   Furthermore, in order to achieve the above object, the present invention converts the input image data of a plurality of colors stored in the storage means into gradation values of two or more gradations and stores them in the storage means. In a program for causing a computer to execute image processing for reading out image data to obtain output image data, input image data of each pixel included in the pixel group is read from the storage unit based on a predetermined pixel group, and color components are input from the input image data. A center-of-gravity position determination process for determining the center-of-gravity position for each of the data, and an adding process for storing a gradation value in a storage unit so as to give a gradation value to a pixel based on the center-of-gravity position determined by the center-of-gravity position determination unit. The difference in the inclination of the pixel group between any two of the colors is approximately 30 °. Thereby, for example, an output image with high resolution can be obtained while keeping the moiré fringes to a minimum.

さらに、上記目的を達成するために本発明は、記憶手段に記憶された複数色の入力画像データに対して、2階調以上の階調値に変換して記憶手段に記憶させ、階調値を読み出して階調値に応じた網点により出力画像データを得る画像処理をコンピュータに実行させるプログラムにおいて、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データを記憶手段から読み出し、入力画像データから色成分ごとに重心位置を決定する重心位置決定処理と、重心位置決定手段で決定した重心位置に基づく画素に階調値を付与するよう階調値を記憶手段に記憶させる付与処理と、を備え、複数色のうち任意の2色間での前記網点の傾きの差は略30°であることを特徴としている。これにより、モアレ縞を最小にするとともに解像性の高い出力画像を得ることができる。   Furthermore, in order to achieve the above object, the present invention converts the input image data of a plurality of colors stored in the storage means into gradation values of two or more gradations and stores them in the storage means. Storage unit for storing input image data of each pixel included in a pixel group based on a predetermined pixel group in a program for causing a computer to execute image processing for reading image data and obtaining output image data from a halftone dot corresponding to a gradation value Centroid position determination processing for determining the centroid position for each color component from the input image data, and storing the gradation value in the storage means so as to give the gradation value to the pixel based on the centroid position determined by the centroid position determination means And a difference between the gradients of the halftone dots between any two colors of the plurality of colors is approximately 30 °. As a result, it is possible to obtain an output image with high moiré fringes and high resolution.

さらに、上記目的を達成するために本発明は、記憶手段に記憶された複数色の入力画像データに対して、2階調以上の階調値に変換して記憶手段に記憶させ、階調値を読み出して階調値に応じたドットにより出力画像データを得る画像処理をコンピュータに実行させるプログラムにおいて、予め決められた画素群に基づいて画素群に含まれる各画素の入力画像データを記憶手段から読み出して、入力画像データから色成分ごとに重心位置を決定する重心位置決定処理と、重心位置決定工程で決定した重心位置に基づく画素に階調値を付与するよう階調値を記憶手段に記憶させる付与処理と、を備え、複数色のうち任意の2色間での前記ドットの傾きの差は略30°であることを特徴としている。これにより、モアレ縞を最小に保ちつつ解像性の高い出力画像を得ることができる。   Furthermore, in order to achieve the above object, the present invention converts the input image data of a plurality of colors stored in the storage means into gradation values of two or more gradations and stores them in the storage means. In a program for causing a computer to execute image processing for reading output data and obtaining output image data with dots corresponding to gradation values, input image data of each pixel included in the pixel group is stored from a storage unit based on a predetermined pixel group. Read out and store the gradation value in the storage means so as to give the gradation value to the pixel based on the centroid position determined in the centroid position determination step, and the centroid position determination process for determining the centroid position for each color component from the input image data A difference between the inclinations of the dots between any two of the plurality of colors is approximately 30 °. Thereby, it is possible to obtain an output image with high resolution while keeping the moiré fringes to a minimum.

以下、図面を参照して本発明を実施するための最良の形態を説明する。図1は、本発明が適用されるシステム全体の構成を示す図である。全体としてホストコンピュータ10と、画像処理装置20とから構成される。   The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration of the entire system to which the present invention is applied. The host computer 10 and the image processing apparatus 20 are configured as a whole.

ホストコンピュータ10は、アプリケーション部11とラスタライズ部12とから構成される。アプリケーション部11では、文字データ、図形データ、ビットマップデータ等の印刷対象のデータが生成される。例えば、ホストコンピュータ10でワードプロセッサや図形ツールなどのアプリケーションプログラムを使用してキーボード等の操作により文字データや図形データなどが生成される。生成されたこれらのデータは、ラスタライズ部12へ出力される。   The host computer 10 includes an application unit 11 and a rasterizing unit 12. The application unit 11 generates data to be printed such as character data, graphic data, and bitmap data. For example, character data, graphic data, and the like are generated by operating the keyboard or the like using an application program such as a word processor or a graphic tool in the host computer 10. These generated data are output to the rasterizing unit 12.

ラスタライズ部12では、アプリケーション部11から出力された印刷対象のデータを画素ごとに各色8ビットの階調データに変換する。したがって、各画素0から255までの階調値を有することになる。ラスタライズ部12における階調データの生成は、実際にはホストコンピュータ10に実装されたドライバによって処理が行われる。ラスタライズ部12から出力される階調データは、画像処理装置20に出力される。なお、本実施例においてこの階調データはRGB(レッド、グリーン、ブルー)のカラーデータである。したがって、24ビットの階調データがホストコンピュータ10から出力される。   The rasterizing unit 12 converts the print target data output from the application unit 11 into gradation data of 8 bits for each color for each pixel. Therefore, each pixel has gradation values from 0 to 255. The generation of gradation data in the rasterizing unit 12 is actually processed by a driver installed in the host computer 10. The gradation data output from the rasterizing unit 12 is output to the image processing device 20. In this embodiment, the gradation data is RGB (red, green, blue) color data. Therefore, 24-bit gradation data is output from the host computer 10.

画像処理装置20は、全体として画像処理部21と印刷エンジン22とから構成される。画像処理部21は、色変換処理部211と、ハーフトーン処理部212と、パルス幅変調部213とから構成される。   The image processing apparatus 20 includes an image processing unit 21 and a print engine 22 as a whole. The image processing unit 21 includes a color conversion processing unit 211, a halftone processing unit 212, and a pulse width modulation unit 213.

色変換処理部211は、ホストコンピュータ10からのRGB階調画像データが入力され、CMYKの階調画像データに変換して出力する。ハーフトーン処理部212は、色変換処理部211からのCMYK階調画像データが入力され、2値以上の多値の値に変換し、量子化データを出力する。パルス幅変調部213は、ハーフトーン処理部212から出力された量子化データが入力され、この量子化データに対してレーザ駆動パルス有り又は無しを示す駆動データを生成する。生成した駆動データは、印刷エンジン22に出力される。   The color conversion processing unit 211 receives RGB gradation image data from the host computer 10, converts it into CMYK gradation image data, and outputs it. The halftone processing unit 212 receives the CMYK gradation image data from the color conversion processing unit 211, converts it into a multi-value value of two or more values, and outputs quantized data. The pulse width modulation unit 213 receives the quantized data output from the halftone processing unit 212 and generates drive data indicating the presence or absence of a laser drive pulse for the quantized data. The generated drive data is output to the print engine 22.

印刷エンジン22は、レーザドライバ221とレーザーダイオード(LD)222とから構成される。レーザドライバ221は、パルス幅変調部213からの駆動データが入力され、その駆動データをもとに駆動パルスあり又はなし等を示す制御データを生成し、レーザーダイオード222に出力する。レーザーダイオード222は、レーザドライバ221から出力された制御データに基づいて駆動され、さらに図示しない感光ドラムや転写ベルトが駆動されて、実際に印刷用紙等の記録媒体にホストコンピュータ10からの入力画像データが2階調以上の階調値を有する出力画像データとして印刷されることになる。   The print engine 22 includes a laser driver 221 and a laser diode (LD) 222. The laser driver 221 receives drive data from the pulse width modulation unit 213, generates control data indicating the presence or absence of a drive pulse based on the drive data, and outputs the control data to the laser diode 222. The laser diode 222 is driven based on the control data output from the laser driver 221. Further, a photosensitive drum and a transfer belt (not shown) are driven, and input image data from the host computer 10 is actually recorded on a recording medium such as printing paper. Are printed as output image data having gradation values of two or more gradations.

次に図2を参照して、画像処理装置20の具体的構成について説明する。ここで、図1の画像処理装置20のうち、色変換処理部211と、ハーフトーン処理部212、及びパルス幅変調部213は、図2におけるCPU24、ROM25、及びRAM26に対応する。   Next, a specific configuration of the image processing apparatus 20 will be described with reference to FIG. Here, in the image processing apparatus 20 of FIG. 1, the color conversion processing unit 211, the halftone processing unit 212, and the pulse width modulation unit 213 correspond to the CPU 24, the ROM 25, and the RAM 26 in FIG.

画像処理装置20は、入力インターフェース(I/F)23、CPU24、ROM25、RAM26、及び印刷エンジン22とから構成され、バス27を介して互いに接続されている。   The image processing apparatus 20 includes an input interface (I / F) 23, a CPU 24, a ROM 25, a RAM 26, and a print engine 22, which are connected to each other via a bus 27.

入力I/F23は、ホストコンピュータ10と画像処理装置20とのインターフェースの役割を果たす。入力I/F23には、所定の伝送方式により伝送された、ホストコンピュータ10からの階調データが入力され、CPU24の制御により画像処理装置20で処理できるデータに変換される。入力されたRGB階調データは、一旦RAM26に格納される。   The input I / F 23 serves as an interface between the host computer 10 and the image processing apparatus 20. The input I / F 23 receives gradation data from the host computer 10 transmitted by a predetermined transmission method, and is converted into data that can be processed by the image processing apparatus 20 under the control of the CPU 24. The input RGB gradation data is temporarily stored in the RAM 26.

CPU24は、ROM25に格納されたプログラムを適宜読み出して、色変換処理や本発明に係るハーフトーン処理等の各種処理を行う。その詳細は後述する。RAM26は、CPU24で実行される各処理のワーキングメモリとして役割を果たし、処理中や処理後の各種データが格納される。   The CPU 24 appropriately reads out the program stored in the ROM 25 and performs various processes such as a color conversion process and a halftone process according to the present invention. Details thereof will be described later. The RAM 26 serves as a working memory for each process executed by the CPU 24 and stores various data during and after the process.

印刷エンジン22は、図1の印刷エンジンと同様の構成で、RAM26に格納された駆動データがCPU24の制御により入力されて、上述した印刷処理が行われることになる。   The print engine 22 has the same configuration as the print engine of FIG. 1, and the drive data stored in the RAM 26 is input under the control of the CPU 24, and the above-described print processing is performed.

次に本発明によるハーフトーン処理の詳細について図面を参照しながら説明するが、まず、図3乃至図11を参照して本発明の概要について簡単に説明する。まず、図3乃至図4に示すように、CMYKのうちある色成分の階調データに対して、4種類のセルブロック251〜254を用意する。すなわち、図3(A)に示す左上端用セルブロック251と、図3(B)に示す上端用セルブロック252と、図4(A)に示す左端用セルブロック253と、図4(B)に示す通常領域用セルブロック254である。   Next, details of the halftone processing according to the present invention will be described with reference to the drawings. First, an outline of the present invention will be briefly described with reference to FIGS. First, as shown in FIGS. 3 to 4, four types of cell blocks 251 to 254 are prepared for gradation data of a certain color component in CMYK. That is, the upper left cell block 251 shown in FIG. 3A, the upper cell block 252 shown in FIG. 3B, the left cell block 253 shown in FIG. 4A, and FIG. The normal area cell block 254 shown in FIG.

各セルブロック251〜254内には複数の画素群(以下、「セル」、図中、太線で表示)が存在する。そして、セルブロック251〜254の各セル内には入力画素が複数存在し、各セル内で重心位置を求めてドット生成のための処理を進めることになる。また、各セル内の数字はセルブロック内での処理を進める順番を示す。図面上、右方向が主走査方向で、下方向が副走査方向である。   In each cell block 251 to 254, there are a plurality of pixel groups (hereinafter referred to as “cells”, indicated by bold lines in the figure). There are a plurality of input pixels in each cell of the cell blocks 251 to 254, and the center of gravity position is obtained in each cell and the process for dot generation proceeds. The numbers in each cell indicate the order in which the processing in the cell block proceeds. In the drawing, the right direction is the main scanning direction, and the lower direction is the sub-scanning direction.

これらの4つのセルブロック251〜254は、1ページ(又は1フレーム)分の入力画像100に対して図5に示すように適用される。すなわち、入力画像100の左上端ブロックBk11には、左上端用セルブロック251が適用され、入力画像100の上端ブロックBk21〜Bkm1(m≧2)には上端用セルブロック252が適用される。また、入力画像100の左端ブロックBk12〜Bk1n(n≧2)には左端用セルブロック253が適用され、入力画像100のそれ以外のブロックBkxy(2≦x≦m、2≦y≦n)には通常領域用セルブロック254が適用される。 These four cell blocks 251 to 254 are applied to the input image 100 for one page (or one frame) as shown in FIG. That is, the upper left end cell block 251 is applied to the upper left end block Bk 11 of the input image 100, and the upper end cell block 252 is applied to the upper end blocks Bk 21 to Bkm 1 (m ≧ 2) of the input image 100. The The left end cell block 253 is applied to the left end blocks Bk 12 to Bk 1n (n ≧ 2) of the input image 100, and the other blocks Bk xy (2 ≦ x ≦ m, 2 ≦ y ≦) of the input image 100 are applied. The normal area cell block 254 is applied to n).

そして、各セルブロック251〜254内の各セルで重心位置を演算し、当該重心位置に存在する画素に網点(またはドット)生成を示す出力階調値を割り当てる。この重心位置の画素に各セル内の入力階調値が集中することになるため、ある程度の大きさの、安定したドットが発生する。また、個々のセル枠が予め決められているため毎回セルを構成するための演算を行う必要がないためその分処理を速くすることができる。   Then, the centroid position is calculated in each cell in each cell block 251 to 254, and an output gradation value indicating halftone dot (or dot) generation is assigned to the pixel existing at the centroid position. Since the input gradation values in each cell are concentrated on the pixel at the center of gravity, a stable dot having a certain size is generated. In addition, since each cell frame is determined in advance, it is not necessary to perform an operation for configuring the cell every time, so that the processing can be made faster.

ここで、各セルに着目したとき、図6に示すように主走査方向を0°とすると、略−18°の傾きでセル261が適用されることになる。そして、CMYKのうち、別の色のプレーンに対して、図7乃至図8に示すセルブロック255〜258が適用される。この場合も入力画像100に対して左上端用セルブロック255(図7(A)参照)、上端用セルブロック256(同図(B)参照)、左端用セルブロック257(図8(A)参照)、通常領域用セルブロック258(同図(B))の4種類のブロックが適用される。そして、各セル内で重心位置に最も近い画素にドット生成を示す出力階調値を割り当てる。この場合に、図9に示すように各セル200は略+18°の傾きとなっている。   Here, when focusing on each cell, if the main scanning direction is 0 ° as shown in FIG. 6, the cell 261 is applied with an inclination of approximately −18 °. Then, the cell blocks 255 to 258 shown in FIGS. 7 to 8 are applied to planes of different colors in CMYK. Also in this case, the upper left cell block 255 (see FIG. 7A), the upper cell block 256 (see FIG. 7B), and the left end cell block 257 (see FIG. 8A) with respect to the input image 100. ), Four types of normal cell block 258 ((B) in the figure) are applied. Then, an output gradation value indicating dot generation is assigned to the pixel closest to the center of gravity position in each cell. In this case, as shown in FIG. 9, each cell 200 has an inclination of approximately + 18 °.

セル間の傾きが略−18°に設定されたセルブロックと、略+18°に設定されたセルブロックとでは、セルの傾きの差が略30°である。これにより、モアレ縞を最小にすることができる。そして、さらにCMYKのうち3色目に対して、セル間の傾きが略+45°に設定された4つのセルブロック259〜262(図10、図11参照)を適用する。略+18°に設定されたセルブロックと略+45°に設定されたセルブロックとでも、各セルの傾きの差が略30°であるため、いわゆるモアレ縞を最小にした出力画像を得ることができる。なお、CMYKのうち最後の1色については、−18°、+18°、45°の各セルブロックのうちいずれか一つを適用するようにしてもよいし、これらの角度の間の傾きを持ったセルブロック(例えば、0°など)を適用するようにしてもよい。   The difference in cell inclination is approximately 30 ° between the cell block in which the inclination between cells is set to approximately −18 ° and the cell block in which the inclination between cells is set to approximately + 18 °. Thereby, moire fringes can be minimized. Further, four cell blocks 259 to 262 (see FIGS. 10 and 11) in which the inclination between cells is set to approximately + 45 ° are applied to the third color of CMYK. Even in the cell block set to approximately + 18 ° and the cell block set to approximately + 45 °, the difference in the inclination of each cell is approximately 30 °, so that an output image in which so-called moire fringes are minimized can be obtained. . For the last color of CMYK, any one of −18 °, + 18 °, and 45 ° cell blocks may be applied, and there is an inclination between these angles. Alternatively, a cell block (for example, 0 °) may be applied.

従来の網点処理と比較した場合、本発明ではセルに含まれる階調値の合計と同じ階調値を有する網点(またはドット)が生成されるとともに、各セルの重心位置にドットが生成されることになる。そのため、細線やエッジの再現性が向上してジャギーが発生せず、小さく薄い文字が読み易くなり、高解像度の網点画像を生成することができる。入力階調値に忠実な出力画像を得ることができるのである。   Compared with conventional halftone processing, the present invention generates halftone dots (or dots) that have the same gradation value as the sum of the gradation values contained in the cells, and also generates dots at the center of gravity of each cell. Will be. Therefore, reproducibility of thin lines and edges is improved, jaggies do not occur, small thin characters are easy to read, and a high-resolution halftone image can be generated. An output image faithful to the input tone value can be obtained.

なお、図3に戻り、左上端用セルブロック251において、3番目のセルの右斜め下に隣接するセルは、4番目ではなく7番目のセルとなっている。これは、最も左上にある未処理画素を探索して処理を進めるためで、従って4番目から6番目のセルは図3(A)のように数字が割り振られている。他のセルブロック252等についても同様である。   Returning to FIG. 3, in the upper left cell block 251, the cell adjacent to the lower right of the third cell is not the fourth cell but the seventh cell. This is to search for the unprocessed pixel at the upper left and proceed with the process. Therefore, the fourth to sixth cells are assigned numbers as shown in FIG. The same applies to other cell blocks 252 and the like.

また、このセルブロック251において、6番目のセルの右半分は右隣のセルブロック252に含まれることになり、したがって上端用セルブロック252の左上にある1番目のセルの左側はセル番号が割り当てられておらず、上端用セルブロック252内で処理は行われないことになる。これは、セルを2つに区切って異なるセルブロックでそれぞれ別々に処理を行うと別々にドットが打たれてしまい、孤立したドットの発生につながり、画質劣化を招くからである。   Further, in this cell block 251, the right half of the sixth cell is included in the right cell block 252. Therefore, the left side of the first cell at the upper left of the upper end cell block 252 is assigned a cell number. No processing is performed in the upper end cell block 252. This is because if a cell is divided into two and processed separately in different cell blocks, dots will be shot separately, leading to the generation of isolated dots and image quality degradation.

以上、本発明の概要について簡単に述べてきたが、次に本発明に係る処理の詳細について図12乃至図18を参照して説明する。このうち、図12乃至図14は本発明に係るハーフトーン処理の動作を示すフローチャートである。   The outline of the present invention has been briefly described above. Next, the details of the processing according to the present invention will be described with reference to FIGS. Among these, FIG. 12 to FIG. 14 are flowcharts showing the operation of the halftone processing according to the present invention.

図12に示すように、CPU24はROM25から本処理を実行するためのプログラムを読み出すことで処理が開始される(S10)。次いで、CPU24は色変換後の入力画像100をRAM26に読み込む処理を行う(S11)。例えば、RAM26の所定領域に設けられた入力バッファ領域265にある色の入力画像100の各階調値が格納される。この例を図15(A)に示す。この例は、入力画像100の上端に薄い細線が存在する画像の例である。なお、入力バッファ領域265は5行5列の例で示しているが、これは説明を容易にするためであって、任意の行と列の構成であってもよい。他の3色についても同様にRAM26内のバッファ領域に格納されるものとするが、説明の容易のため以下ではこの1色に着目して処理を説明する。   As shown in FIG. 12, the CPU 24 reads the program for executing this processing from the ROM 25, and the processing is started (S10). Next, the CPU 24 performs processing for reading the input image 100 after color conversion into the RAM 26 (S11). For example, each gradation value of the color input image 100 in the input buffer area 265 provided in a predetermined area of the RAM 26 is stored. An example of this is shown in FIG. This example is an example of an image in which a thin fine line exists at the upper end of the input image 100. Although the input buffer area 265 is shown as an example of 5 rows and 5 columns, this is for ease of explanation, and the configuration may be arbitrary rows and columns. The other three colors are also stored in the buffer area in the RAM 26 in the same manner. However, for ease of explanation, the following description will be given focusing on this one color.

図12に戻り、次いでCPU24はセルブロックを入力画像100の左上に設定し、Nに“1”を代入する(S12)。すなわち、入力画像100の左上端ブロックBk11に左上端用セルブロックを適用するようにし、さらにセルブロック内のセル番号を示すNに“1”を代入する。左上端ブロックBk11のさらに左上端部の領域から処理を始めるためである。ここでは、各セル間が−18°に傾いたセルブロック251〜254を適用するものとして説明する。図15(A)の例では、左上端用セルブロック251の番号1のセル(以下、セル(1))が適用されることになる(図15(B)参照)。 Returning to FIG. 12, the CPU 24 then sets the cell block at the upper left of the input image 100, and substitutes “1” for N (S12). That is, the upper left end cell block is applied to the upper left end block Bk 11 of the input image 100, and “1” is substituted for N indicating the cell number in the cell block. This is because the processing is started from the area of the upper left end portion of the upper left end block Bk 11 . Here, description will be made assuming that cell blocks 251 to 254 in which each cell is inclined at −18 ° are applied. In the example of FIG. 15A, the number 1 cell (hereinafter cell (1)) of the upper left cell block 251 is applied (see FIG. 15B).

次いで、CPU24はブロック内のN番目のセルに含まれる全画素を参照する(S13)。図15(B)の例では、セル(1)に含まれる全画素を参照することになる。   Next, the CPU 24 refers to all the pixels included in the Nth cell in the block (S13). In the example of FIG. 15B, all the pixels included in the cell (1) are referred to.

次いで、CPU24はセル内における参照画素の階調値の合計を演算する(S14)。その後の重心位置演算の処理で必要だからである。図15(B)の例においてセル(1)内の階調値の合計は、“175”となる。この合計値は、CPU24によって、例えばRAM26の所定領域に格納される。   Next, the CPU 24 calculates the sum of the gradation values of the reference pixels in the cell (S14). This is because it is necessary for subsequent processing of the center of gravity position calculation. In the example of FIG. 15B, the sum of the gradation values in the cell (1) is “175”. The total value is stored in a predetermined area of the RAM 26 by the CPU 24, for example.

次いで、CPU24は参照画素の重心を演算する(S15)。重心位置に基づいて網点(またはドット)を生成する処理を行うためである。重心位置の演算は、以下の式を用いる。   Next, the CPU 24 calculates the center of gravity of the reference pixel (S15). This is because a process of generating halftone dots (or dots) based on the position of the center of gravity is performed. The following formula is used for the calculation of the center of gravity position.

Figure 0004337670
Figure 0004337670

この[数1]は、例えばROM25に格納され、本処理のときにCPU24がROM25から読み出して演算を行う。図15(B)の例では、(X重心,Y重心)≒(0.53,1.86)となる(図16(A)の重心位置263参照)。演算した重心位置は、例えばRAM26に格納される。 This [Equation 1] is stored, for example, in the ROM 25, and the CPU 24 reads it from the ROM 25 and performs the calculation during this process. In the example of FIG. 15B, (X centroid , Y centroid ) ≈ (0.53, 1.86) (see centroid position 263 in FIG. 16A). The calculated center-of-gravity position is stored in the RAM 26, for example.

図12に戻り、次いでCPU24はドット生成処理を行う(S16)。すなわち、演算した重心位置からドット(または網点)をどの画素位置に生成させるかの処理を行う。ドット生成処理の詳細を図14に示す。ドット生成処理(S16)に移行すると、まずCPU24は重心位置に最も近いドット未出力画素を探索する(S161)。図16(B)に、RAM26の所定領域内に設けられた出力バッファ領域266の例を示す。上述の例では、重心位置の座標が(0.53,1.86)となっているので、その重心に位置する(1,2)の画素を探索することになる。   Returning to FIG. 12, the CPU 24 then performs a dot generation process (S16). In other words, processing is performed as to which pixel position a dot (or halftone dot) is to be generated from the calculated barycentric position. Details of the dot generation processing are shown in FIG. When the process proceeds to the dot generation process (S16), the CPU 24 first searches for a dot non-output pixel closest to the center of gravity position (S161). FIG. 16B shows an example of the output buffer area 266 provided in a predetermined area of the RAM 26. In the above example, since the coordinates of the center of gravity position are (0.53, 1.86), the pixel of (1, 2) located at the center of gravity is searched.

図14に戻り、次いでCPU24は探索した画素が未出力画素であるか否か判断する(S162)。図16(B)の例では探索した画素(1,2)はドット未出力画素なので本ステップで“YES”と判断され、S163に移行する。一方、探索した画素がドット出力画素のとき(S162で“NO”)、探索した画素にドットを出力させることはできないのでドット生成処理が終了して図12のS17に移行する。   Returning to FIG. 14, the CPU 24 then determines whether or not the searched pixel is a non-output pixel (S162). In the example of FIG. 16B, since the searched pixel (1, 2) is a dot non-output pixel, “YES” is determined in this step, and the process proceeds to S163. On the other hand, when the searched pixel is a dot output pixel (“NO” in S162), since the searched pixel cannot be output as a dot, the dot generation process ends and the process proceeds to S17 in FIG.

S163においてCPU24は、残り階調値が“255”よりも大きいか否か判断する。図16(B)の例では、階調値の合計値は“175”で、“255”より小さい値のため “NO”が選択され、処理はS167に移行する。   In S163, the CPU 24 determines whether or not the remaining gradation value is larger than “255”. In the example of FIG. 16B, the total value of the gradation values is “175”, which is smaller than “255”, so “NO” is selected, and the process proceeds to S167.

S167においてCPU24は、探索した画素に残り階調値を出力する。図16(B)の例では、探索した重心に位置する画素(1,2)に残り階調値“175”を出力する。そして、ドット生成処理が終了して図12のS17に移行する。   In S167, the CPU 24 outputs the remaining gradation value to the searched pixel. In the example of FIG. 16B, the remaining gradation value “175” is output to the pixel (1, 2) located at the searched centroid. Then, the dot generation process ends, and the process proceeds to S17 in FIG.

一方、残り階調値が“255”より大きいとき(S163で“YES”)、探索した画素に“255”を出力し(S164)、残り階調値から“255”を減算して(S165)、残り階調値があれば再び重心に最も近いドット未出力画素を探索する(S161)。そして、探索した画素に“255”(S164)、または残り階調値の全てを出力(S167)する。かかる処理を残り階調値がなくなるまで(セル内の階調値の合計値が“0”になるまで)繰り返すことになる。この処理の繰り返しにより、最初は重心位置に位置する画素、次に重心に最も近い画素と、順次重心位置を中心に出力階調値が割り当てられることになる。   On the other hand, when the remaining gradation value is larger than “255” (“YES” in S163), “255” is output to the searched pixel (S164), and “255” is subtracted from the remaining gradation value (S165). If there is a remaining gradation value, the dot non-output pixel closest to the center of gravity is searched again (S161). Then, “255” (S164) or all of the remaining gradation values are output to the searched pixel (S167). This process is repeated until there are no remaining gradation values (until the total value of gradation values in the cell becomes “0”). By repeating this process, an output gradation value is assigned to the pixel located at the center of gravity first, the pixel closest to the center of gravity next, and the center of gravity sequentially.

したがって、このドット生成処理により、セル内の階調値の合計値が多いとそれだけ“255”を出力する画素が多くなり、ある色のドットの生成が多くなる。合計値が低いと逆にドットの生成が少なくなる。よって、セル内の入力階調値の大きさに対応したドットを生成させることができる。   Therefore, when the total tone value in the cell is large by this dot generation process, the number of pixels that output “255” increases accordingly, and the generation of dots of a certain color increases. On the contrary, when the total value is low, dot generation is reduced. Therefore, it is possible to generate dots corresponding to the size of the input gradation value in the cell.

ドット生成処理(S16)が終了すると、再び図12に戻り、S17以降の処理を行う。これらの処理はセルブロック251〜254を移動させるための処理である。すなわち、セル番号Nが各セルブロック251〜254に含まれるセル数の最大値NMAXか否か判断する(S17)。各セルブロック251〜254内の全てのセルに対しての処理が終了したか否かを判断するためである。 When the dot generation process (S16) ends, the process returns to FIG. 12 again, and the processes after S17 are performed. These processes are processes for moving the cell blocks 251 to 254. That is, it is determined whether or not the cell number N is the maximum value N MAX of the number of cells included in each of the cell blocks 251 to 254 (S17). This is to determine whether or not the processing for all the cells in each cell block 251 to 254 has been completed.

セル番号NがNMAXと等しくないとき(S17で“NO”)、次いでCPU24はセル番号Nに1を加算し(S18)、NがNMAXと等しくなるまで各セルにおいて上述の処理を繰り返すことになる(S13に移行)。 When the cell number N is not equal to N MAX (“NO” in S17), the CPU 24 then adds 1 to the cell number N (S18), and repeats the above processing in each cell until N becomes equal to N MAX. (Transition to S13).

一方、セル番号NがNMAXと等しいとき(S17で“YES”)、すなわち1つのセルブロック251〜254内のすべてのセルに対して上述の処理を終えたとき、ブロック右端より右に未処理画素があるか否か判断する(図13のS19)。主走査方向に対して処理を進めることができるか否かの判断を行うためである。 On the other hand, when the cell number N is equal to N MAX (“YES” in S17), that is, when the above processing is completed for all the cells in one cell block 251 to 254, unprocessed from the right end of the block to the right. It is determined whether there is a pixel (S19 in FIG. 13). This is to determine whether the process can proceed in the main scanning direction.

ブロック右端より右に未処理画素があれば(S19で“YES”)、セルブロック251〜254を1つ右に移動し、そのブロックに対して上述した処理を行うべくセル番号Nに“1”を代入する(S20)。そして、そのブロック内の各セルで上述の処理を繰り返す(S13に移行)。   If there is an unprocessed pixel on the right side of the right end of the block (“YES” in S19), the cell blocks 251 to 254 are moved to the right by one and the cell number N is set to “1” to perform the above-described processing on that block. Is substituted (S20). Then, the above process is repeated in each cell in the block (shift to S13).

一方、ブロック右端より右に未処理画素がないとき(S19で“NO”)、すなわち入力画像100の最も右端まで処理を進めたとき、CPU24はブロック下端より下に未処理画素があるか否か判断する(ステップS21)。副走査方向に処理を進めることができるか否かの判断を行うためである。ブロック下端より下に未処理画素が存在すると(S21で“YES”)、次いでCPU24はセルブロック251〜254を1段下の最左位置に移動させ、当該ブロックでの処理を行うべくセル番号Nに“1”を代入して(S22)、S13に移行することになる。   On the other hand, when there is no unprocessed pixel to the right of the right end of the block (“NO” in S19), that is, when the processing proceeds to the right end of the input image 100, the CPU 24 determines whether there is an unprocessed pixel below the bottom end of the block. Judgment is made (step S21). This is because it is determined whether or not processing can proceed in the sub-scanning direction. If there is an unprocessed pixel below the lower end of the block (“YES” in S21), the CPU 24 then moves the cell blocks 251 to 254 to the leftmost position one step below, and performs cell number N to perform processing in that block. "1" is substituted for (S22), and the process proceeds to S13.

一方、ブロック下端より下に未処理画素がないとき(S21で“NO”)、主走査方向、副走査方向すべての画素に対して処理を行ったことになるので一連の処理は終了することになる(S23)。以上の処理はCMYKのうちある色成分に対する処理であったので、次に別の色成分に対しても同様に一連の処理を適用して、CMYKのそれぞれのドットを生成させる。   On the other hand, when there is no unprocessed pixel below the lower end of the block (“NO” in S21), the processing is completed for all the pixels in the main scanning direction and the sub-scanning direction, so that the series of processing ends. (S23). Since the above processing is processing for a certain color component of CMYK, a series of processing is similarly applied to another color component to generate each dot of CMYK.

そして、出力バッファ領域266に格納された各色成分ごとのドット生成の有無を示す出力階調値が量子化データとしてパルス幅変調部213に出力される。その後、この値に基づくパルス幅が生成され印刷画像が印刷用紙等に形成される。   Then, an output gradation value indicating the presence or absence of dot generation for each color component stored in the output buffer area 266 is output to the pulse width modulation unit 213 as quantized data. Thereafter, a pulse width based on this value is generated, and a print image is formed on a print sheet or the like.

図17(A)は、上述のセル(1)によって印刷用紙300上の形成されたある色のドットの例を示す。画素(1,2)には出力階調値“175”に応じたドット(175/255)が形成される。セル(1)内のそれ以外の画素では出力階調値が“0”となるのでドットが生成されない。また、セル(2)に対するドットを図17(B)に、さらにセル(1)の下方向に位置するセル(9)でのドットを図18(A)に示す。結果的に、この領域には図18(B)に示すようなドットが形成されることになる。   FIG. 17A shows an example of a dot of a certain color formed on the printing paper 300 by the cell (1) described above. In the pixel (1, 2), a dot (175/255) corresponding to the output gradation value “175” is formed. Since the output gradation value is “0” in the other pixels in the cell (1), no dot is generated. Further, FIG. 17B shows the dots for the cell (2), and FIG. 18A shows the dots in the cell (9) located in the downward direction of the cell (1). As a result, dots as shown in FIG. 18B are formed in this region.

本実施例では、パルス幅変調部213において1画素あたり256段階のパルスを生成するものとしている。すなわち、出力バッファ領域266に格納された各出力階調値はドット生成の有無のみならずドットの大きさを表現している。これにより多くの階調表現(明るさの表現)が可能となる。もちろん、パルス幅変調部213において“256”段階以上のパルスを生成するようにしてもよいし、これ以下の任意の段階数のパルスを生成するようにしてもよい。   In this embodiment, the pulse width modulation unit 213 generates 256 steps of pulses per pixel. That is, each output gradation value stored in the output buffer area 266 represents not only the presence / absence of dot generation but also the dot size. As a result, many gradation expressions (brightness expressions) are possible. Of course, the pulse width modulation unit 213 may generate pulses of “256” steps or more, or may generate pulses of any number of steps below this.

一方、同じ領域で同じ入力階調値を有する入力画像に対して、図19に示すように従来の網点処理による出力画像と比較してみる。パターンマトリックスの大きさは本実施例のセル(1)と同じ大きさである。例えば画素(0,2)において参照されるマトリックスの番号は“6”、参照されるγテーブルは図19(C)としたとき、γテーブルによっては当該画素の階調値“80”が出力階調値“0”となり、図19(D)に示すように印刷用紙300上では全く網点が生成されないことが起こり得る。しかし、本発明では各セル内で入力階調値の合計値に応じたドット(又は網点)が必ず生成されることになり、入力画像に忠実なドットが生成される。しかも、各色成分で適用されるセルブロックにおいて各セルの傾きの差が2色間で略30°となっているためにモアレ縞を最小にした出力画像を得ることができる。   On the other hand, an input image having the same input gradation value in the same region is compared with an output image obtained by conventional halftone processing as shown in FIG. The size of the pattern matrix is the same as that of the cell (1) of this embodiment. For example, when the matrix number referred to in the pixel (0, 2) is “6” and the γ table referred to is FIG. 19C, the gradation value “80” of the pixel may be the output level depending on the γ table. It is possible that the tone value is “0”, and no halftone dot is generated on the printing paper 300 as shown in FIG. However, in the present invention, dots (or halftone dots) corresponding to the total value of the input gradation values are always generated in each cell, and dots faithful to the input image are generated. In addition, since the difference in the inclination of each cell in the cell block applied for each color component is approximately 30 ° between the two colors, an output image with the minimum moire fringes can be obtained.

しかしながら、固定セル枠で重心位置にドットを生成させるときに、例えば入力画像のうちエッジの領域など入力階調値に変化のある領域では、各セルが略−18°等の傾きを有しているにも拘わらず、生成されるドットがこの角度で生成されない場合もある。つまり、一つのセル内の中心位置(座標位置のみ考慮した位置)にドットが生成されれば各セルが略−18°等の傾きがあるのでドットもこの傾きで発生するが、必ずしもセルの中心位置にドットが生成されない場合もある。したがって、2色間のドットの傾きを略30°に保つことができず、出力画像にモアレ縞が発生することも起こり得る。   However, when generating dots at the center of gravity position in the fixed cell frame, for example, in an area where the input tone value changes in the input image such as an edge area, each cell has an inclination of approximately −18 ° or the like. Despite this, the generated dots may not be generated at this angle. That is, if a dot is generated at the center position in one cell (position considering only the coordinate position), each cell has an inclination of approximately −18 °, etc., so the dot is also generated with this inclination. In some cases, no dot is generated at the position. Therefore, the inclination of the dot between the two colors cannot be maintained at approximately 30 °, and moire fringes may occur in the output image.

しかし、モアレ縞が人間の目に知覚されやすいのは出力画像のうち階調に変化のない平坦な画像の部分である。そして、人間の目にモアレ縞が発生していると認識されるにはある程度の大きな領域が必要である。したがって、エッジの部分など入力階調値に変化のある狭い領域において2色間のドット(または網点)が略30°の傾きを有していないことがあっても、人間の目にモアレ縞が発生していると認識されることはないのである。   However, the moire fringes are easily perceived by the human eye in the flat image portion of the output image with no change in gradation. A certain large area is necessary to recognize that moire fringes are generated in the human eye. Therefore, even if a dot (or halftone dot) between two colors does not have an inclination of approximately 30 ° in a narrow region where the input tone value changes such as an edge portion, the moiré fringe is observed in the human eye. Is not recognized as occurring.

しかも、本発明のようにセル内の重心位置にドットが生成されるので、入力階調値に変化があってもその変化に応じた最適な位置に出力階調値が配置されるため、エッジの領域なども忠実に再現することができる。すなわち、解像性の高い出力画像を得ることができる。   In addition, since the dot is generated at the center of gravity position in the cell as in the present invention, the output gradation value is arranged at the optimum position corresponding to the change even if the input gradation value changes, so that the edge Can be reproduced faithfully. That is, an output image with high resolution can be obtained.

つまり、エッジ部では、モアレ縞を抑えるためにドットの傾きを略30°とするよりも、重心位置にドットを生成させる方が、解像性に優れ、視覚的に快適かつ入力画像に忠実な出力を得ることができるのである。   In other words, in the edge portion, it is better to generate the dot at the center of gravity than to set the inclination of the dot to approximately 30 ° in order to suppress the moire fringes, and the resolution is excellent and visually comfortable and faithful to the input image. The output can be obtained.

一方で、入力階調値に変化のない領域では各セルの中心位置が重心位置となって、その位置にドットが生成される確率が高くなる。したがって、2色間でセルが略30°の傾きを持っていれば生成されるドットもその傾きを持って形成される。すなわち、入力階調値に変化のない平坦な領域ではモアレ縞が発生しない、視覚的に快適な出力が得られることになる。   On the other hand, in a region where the input tone value does not change, the center position of each cell becomes the center of gravity position, and the probability that a dot is generated at that position increases. Therefore, if the cell has an inclination of approximately 30 ° between the two colors, the generated dots are also formed with the inclination. That is, a visually comfortable output in which moire fringes are not generated in a flat region where the input tone value does not change can be obtained.

このようなことから、セルの傾きを2色間で略30°に設定し、重心位置を考慮してドットを発生させることにより、モアレが目立ちやすい入力階調値に変化のない領域では自ずとドットまたは網点が2色間で略30°の傾きとなってモアレの発生を抑え、一方でモアレが目立ちにくい入力階調値に変化のある領域では、自ずと解像度が優先され、エッジの再現性に優れた出力が得られる。すなわち、本発明では各領域の特性に合わせた最適な出力が得られるのである。   For this reason, by setting the cell slope to approximately 30 ° between the two colors and generating dots in consideration of the position of the center of gravity, the dots are naturally generated in the area where the input gradation value where the moire is conspicuous does not change. Or, in a region where the halftone dot is inclined by approximately 30 ° between two colors to suppress the generation of moiré, while the input tone value is less noticeable, the resolution is given priority and edge reproducibility is improved. Excellent output can be obtained. That is, according to the present invention, an optimum output according to the characteristics of each region can be obtained.

このように、本発明においては予め決められた固定セル枠内の重心位置にドットを生成させるようにし、しかも任意の2色間でのセルの傾きの差を略30°、あるいは任意の2色間でのドット(または網点)の傾きの差を略30°としているため、モアレ縞を最小に保ちつつ、解像性の優れた出力画像を得ることができるのである。   As described above, in the present invention, dots are generated at the center of gravity within a predetermined fixed cell frame, and the difference in cell inclination between any two colors is approximately 30 °, or any two colors. Since the difference in the inclination of the dots (or halftone dots) is approximately 30 °, an output image with excellent resolution can be obtained while keeping the moire fringes to a minimum.

上述の例では、CMYKのうちある色成分を略−18°、2色目の成分を略+18°、3色目を略+45度、のそれぞれ傾きのセルを構成した。これは、2色間でのセル(またはドット若しくは網点)の傾きが略30°であることを説明するために用いた一例である。したがって、2色間で略30°となっていれば各セルの傾きを任意の角度で形成するようにしてもよい。ただし、理想的には図20に示すように、CまたはMを15°または75°、Yを0°、Kを45°の傾きを持ったセル(またはドット、若しくは網点)を構成するようにすればよい。2色間でのスクリーン角の差を30°にした商用印刷装置にも本発明を適用して互換性を保つことができるからである。   In the above-described example, cells having inclinations of approximately −18 ° for a certain color component of CMYK, approximately + 18 ° for the second color component, and approximately + 45 ° for the third color are configured. This is an example used to explain that the inclination of a cell (or dot or halftone dot) between two colors is approximately 30 °. Therefore, if the angle between the two colors is approximately 30 °, the inclination of each cell may be formed at an arbitrary angle. However, ideally, as shown in FIG. 20, a cell (or dot or halftone dot) having a slope of C or M of 15 ° or 75 °, Y of 0 °, and K of 45 ° is formed. You can do it. This is because compatibility can be maintained by applying the present invention to a commercial printing apparatus in which the difference in screen angle between two colors is 30 °.

この15°を実現するには、例えば図21のようなセルを構成すればよい。ただし、この図は略−15°なので、左右対称にセルを構成することで略+15°を実現することができる。さらに、このセルから略75°の傾きのセルを構成することは当業者なら容易なことである。   In order to realize this 15 °, for example, a cell as shown in FIG. 21 may be configured. However, since this figure is approximately −15 °, it is possible to realize approximately + 15 ° by configuring the cells symmetrically. Furthermore, it is easy for those skilled in the art to construct a cell having an inclination of about 75 ° from this cell.

また、上述の例では画像処理装置20内で本発明にかかるハーフトーン処理を行うようにしたが、図22に示すようにホストコンピュータ10側でかかる処理を行うようにしてもよい。すなわち、ホストコンピュータ10からハーフトーン処理後の量子化データが出力され、画像処理装置20でパルス幅変調するように構成する。この場合でも、モアレ縞を最小に保ちつつ、解像性の優れた出力画像を得ることができる。   In the above example, the halftone process according to the present invention is performed in the image processing apparatus 20, but the process may be performed on the host computer 10 side as shown in FIG. That is, the quantized data after halftone processing is output from the host computer 10 and the image processing apparatus 20 performs pulse width modulation. Even in this case, an output image with excellent resolution can be obtained while keeping the moiré fringes to a minimum.

さらに、上述の例ではハーフトーン処理後の量子化データに対してパルス幅変調を行うようにしたが、かかる変調処理がない場合でも本発明を適用でき同様の作用効果を奏することができる。図23に示すように、ハーフトーン処理後の量子化データが直接印刷エンジン22に出力されて印刷が行われる。この場合に、ハーフトーン処理部212において出力階調値に対して閾値を設定してドットのオン、オフを制御するようにすればよい。このようなことから、本発明は必ずしもレーザプリンタのみに適用されるとは限らず、インクジェットプリンタやバブルジェットプリンタ(バブルジェットは登録商標)等、各種プリンタに適用でき、全く同様の作用効果を奏することができる。   Further, in the above example, the pulse width modulation is performed on the quantized data after the halftone process. However, the present invention can be applied even when there is no such a modulation process, and similar effects can be obtained. As shown in FIG. 23, the quantized data after the halftone process is directly output to the print engine 22 for printing. In this case, the halftone processing unit 212 may set a threshold value for the output gradation value to control dot on / off. For this reason, the present invention is not necessarily applied only to the laser printer, but can be applied to various printers such as an ink jet printer and a bubble jet printer (Bubble Jet is a registered trademark), and has the same effects. be able to.

さらに、画像処理装置20の例としては上述したプリンタ以外にも、ファクシミリや複写機、複合機、ディスプレイ、デジタルカメラ、携帯電話等の情報携帯端末、でもよい。この場合でも上述した例と同様の作用効果を奏する。   Further, as an example of the image processing apparatus 20, in addition to the above-described printer, an information portable terminal such as a facsimile, a copier, a multifunction peripheral, a display, a digital camera, or a mobile phone may be used. Even in this case, the same effect as the above-described example is obtained.

本発明が適用されるシステム全体の構成を示す図である。It is a figure which shows the structure of the whole system to which this invention is applied. 画像処理装置の具体的構成を示す図である。It is a figure which shows the specific structure of an image processing apparatus. セルブロックの例を示す図である。It is a figure which shows the example of a cell block. セルブロックの例を示す図である。It is a figure which shows the example of a cell block. 入力画像に対して適用されるセルブロックの種類を説明するための図である。It is a figure for demonstrating the kind of cell block applied with respect to an input image. 入力画像に対して適用されるセルを説明するための図である。It is a figure for demonstrating the cell applied with respect to an input image. セルブロックの例を示す図である。It is a figure which shows the example of a cell block. セルブロックの例を示す図である。It is a figure which shows the example of a cell block. 入力画像に対して適用されるセルを説明するための図である。It is a figure for demonstrating the cell applied with respect to an input image. セルブロックの例を示す図である。It is a figure which shows the example of a cell block. 入力画像に対して適用されるセルを説明するための図である。It is a figure for demonstrating the cell applied with respect to an input image. 本発明に係る処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the process which concerns on this invention. 本発明に係る処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the process which concerns on this invention. ドット生成処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a dot production | generation process. 入力バッファ領域265の例を示す図である。5 is a diagram illustrating an example of an input buffer area 265. FIG. 入力バッファ領域265と出力バッファ領域266の例を示す図である。5 is a diagram illustrating an example of an input buffer area 265 and an output buffer area 266. FIG. 印刷用紙300上に生成されたドットの例を示す図である。5 is a diagram illustrating an example of dots generated on the printing paper 300. FIG. 印刷用紙300上に生成されたドットの例を示す図である。5 is a diagram illustrating an example of dots generated on the printing paper 300. FIG. 網点処理の例を示す図である。It is a figure which shows the example of a halftone process. 理想的なセル(またはドット若しくは網点)の角度を示す図である。It is a figure which shows the angle of an ideal cell (or dot or halftone dot). セルブロックの例を示す図である。It is a figure which shows the example of a cell block. 本発明が適用される他のシステム全体の構成を示す図である。It is a figure which shows the structure of the other whole system with which this invention is applied. 本発明が適用される他のシステム全体の構成を示す図である。It is a figure which shows the structure of the other whole system with which this invention is applied.

符号の説明Explanation of symbols

10 ホストコンピュータ、 20 画像処理装置、 21 画像処理部、 212 ハーフトーン処理部、 213 パルス幅変調部、 22 印刷エンジン、 24 CPU、 25 ROM、 251〜254 主走査方向に対して略−18°の傾きを持つセルからなるセルブロック、 255〜258 主走査方向に対して略+18°の傾きを持つセルからなるセルブロック、259〜262 主走査方向に対して略+45°の傾きを持つセルからなるセルブロック、 26 RAM、 265 入力バッファ領域、 266 出力バッファ領域 10 host computer, 20 image processing device, 21 image processing unit, 212 halftone processing unit, 213 pulse width modulation unit, 22 print engine, 24 CPU, 25 ROM, 251 to 254 of approximately −18 ° with respect to the main scanning direction Cell block composed of cells having an inclination, 255 to 258 Cell block composed of cells having an inclination of about + 18 ° with respect to the main scanning direction, 259 to 262 Consisting of cells having an inclination of about + 45 ° to the main scanning direction Cell block, 26 RAM, 265 input buffer area, 266 output buffer area

Claims (14)

複数色の入力画像データに対して、2階調以上の階調値を有する出力画像データに変換する画像処理装置において、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定手段と、
前記重心位置決定手段で決定した前記重心位置に基づく画素に前記階調値を付与する付与手段と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記画素群の傾きの差は略30°であることを特徴とする画像処理装置。
In an image processing apparatus for converting input image data of a plurality of colors into output image data having gradation values of two or more gradations,
For the pixel group of a predetermined fixed cell frame for each color component, a center-of-gravity position determining means for determining the center of gravity position for each of the color components from the input image data of each pixel included in the pixel group,
An assigning means for assigning the gradation value to a pixel based on the centroid position determined by the centroid position determining means;
And the difference in inclination of the pixel group between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
請求項1記載の画像処理装置において、
さらに、前記付与手段で付与された前記階調値に対してK段階(Kは正の整数)のパルス幅を生成するパルス幅変調手段、
を備えることを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
Further, pulse width modulation means for generating a K-stage (K is a positive integer) pulse width for the gradation value given by the giving means,
An image processing apparatus comprising:
請求項1記載の画像処理装置において、
前記重心位置決定手段は、前記各画素の画素位置と前記各画素の前記入力画像データの階調値との積を前記画素群に含まれる全画素に対して演算し、その和を前記画素群に含まれる各画素の前記入力画像データの階調値の合計値で除算した値を重心位置として決定する、ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The center-of-gravity position determining means calculates the product of the pixel position of each pixel and the gradation value of the input image data of each pixel for all the pixels included in the pixel group, and the sum is calculated in the pixel group A value obtained by dividing by a total value of gradation values of the input image data of each pixel included in each pixel is determined as a centroid position.
請求項1記載の画像処理装置において、
前記重心位置に基づく画素は前記重心位置に最も近い画素である、ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The pixel based on the gravity center position is a pixel closest to the gravity center position.
請求項4記載の画像処理装置において、
前記付与手段は、前記重心位置に最も近い画素に前記階調値を付与したとき、前記画素群に含まれる各画素の入力階調値の合計値から前記付与した階調値を減算し余りがあれば当該余った階調値を前記付与した画素以外の画素であって前記重心位置から最も近い画素に付与する、ことを特徴とする画像処理装置。
The image processing apparatus according to claim 4.
When the gradation value is imparted to the pixel closest to the barycentric position, the provision means subtracts the imparted gradation value from the total input gradation value of each pixel included in the pixel group. If there is, the image processing apparatus characterized in that the surplus gradation value is assigned to a pixel other than the assigned pixel and closest to the center of gravity position.
請求項1記載の画像処理装置において、
前記付与手段は、前記画素群に含まれる各画素の入力画像データの和を少なくとも前記重心位置を含む画素に付与する、ことを特徴とする画像処理装置。
The image processing apparatus according to claim 1.
The image processing apparatus according to claim 1, wherein the adding unit applies a sum of input image data of each pixel included in the pixel group to a pixel including at least the barycentric position.
複数色の入力画像データに対して、色成分ごとに2階調以上の階調値に変換し、前記階調値に応じた網点により出力画像データを得る画像処理装置において、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定手段と、
前記重心位置決定手段で決定した前記重心位置に基づく画素に前記階調値を付与する付与手段と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記網点の傾きの差は略30°であることを特徴とする画像処理装置。
In an image processing apparatus that converts input image data of a plurality of colors into gradation values of two or more gradations for each color component, and obtains output image data with halftone dots corresponding to the gradation values.
For the pixel group of a predetermined fixed cell frame for each color component, a center-of-gravity position determining means for determining the center of gravity position for each of the color components from the input image data of each pixel included in the pixel group,
An assigning means for assigning the gradation value to a pixel based on the centroid position determined by the centroid position determining means;
And the difference in inclination of the halftone dots between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
複数色の入力画像データに対して、2階調以上の階調値に変換し、前記階調値に応じたドットにより出力画像データを得る画像処理装置において、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定手段と、
前記重心位置決定手段で決定した前記重心位置に基づく画素に前記階調値を付与する付与手段と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記ドットの傾きの差は略30°であることを特徴とする画像処理装置。
In an image processing apparatus that converts input image data of a plurality of colors into gradation values of two or more gradations and obtains output image data with dots according to the gradation values.
For the pixel group of a predetermined fixed cell frame for each color component, a center-of-gravity position determining means for determining the center of gravity position for each of the color components from the input image data of each pixel included in the pixel group,
An assigning means for assigning the gradation value to a pixel based on the centroid position determined by the centroid position determining means;
An image processing apparatus, wherein a difference in inclination of the dot between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
複数色の入力画像データに対して、2階調以上の階調値を有する出力画像データに変換する画像処理方法において、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定工程と、
前記重心位置決定工程で決定した前記重心位置に基づく画素に前記階調値を付与する付与工程と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記画素群の傾きの差は略30°であることを特徴とする画像処理方法。
In an image processing method for converting input image data of a plurality of colors into output image data having gradation values of two or more gradations,
For the pixel group of a predetermined fixed cell frame for each color component, and the position of the center of gravity determination step of determining the center of gravity position for each of the color components from the input image data of each pixel included in the pixel group,
An assigning step of assigning the gradation value to a pixel based on the centroid position determined in the centroid position determining step;
And the difference in inclination of the pixel group between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
複数色の入力画像データに対して、2階調以上の階調値に変換し、前記階調値に応じた網点により出力画像データを得る画像処理方法において、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定工程と、
前記重心位置決定工程で決定した前記重心位置に基づく画素に前記階調値を付与する付与工程と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記網点の傾きの差は略30°であることを特徴とする画像処理方法。
In an image processing method for converting input image data of a plurality of colors into a gradation value of 2 gradations or more and obtaining output image data with a halftone dot corresponding to the gradation value,
For the pixel group of a predetermined fixed cell frame for each color component, and the position of the center of gravity determination step of determining the center of gravity position for each of the color components from the input image data of each pixel included in the pixel group,
An assigning step of assigning the gradation value to a pixel based on the centroid position determined in the centroid position determining step;
An image processing method characterized in that a difference in inclination of the halftone dot between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
複数色の入力画像データに対して、2階調以上の階調値に変換し、前記階調値に応じたドットにより出力画像データを得る画像処理方法において、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定工程と、
前記重心位置決定工程で決定した前記重心位置に基づく画素に前記階調値を付与する付与工程と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記ドットの傾きの差は略30°であることを特徴とする画像処理方法。
In an image processing method for converting input image data of a plurality of colors into gradation values of two or more gradations and obtaining output image data with dots corresponding to the gradation values,
For the pixel group of a predetermined fixed cell frame for each color component, and the position of the center of gravity determination step of determining the center of gravity position for each of the color components from the input image data of each pixel included in the pixel group,
An assigning step of assigning the gradation value to a pixel based on the centroid position determined in the centroid position determining step;
An image processing method characterized in that a difference in inclination of the dot between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
記憶手段に記憶された複数色の入力画像データに対して、2階調以上の階調値に変換して前記記憶手段に記憶させ、前記階調値を読み出して出力画像データを得る画像処理をコンピュータに実行させるプログラムにおいて、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データを前記記憶手段から読み出し、前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定処理と、
前記重心位置決定手段で決定した前記重心位置に基づく画素に前記階調値を付与するよう前記階調値を前記記憶手段に記憶させる付与処理と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記画素群の傾きの差は略30°であることを特徴とするプログラム。
Image processing for converting the input image data of a plurality of colors stored in the storage means into gradation values of two or more gradations and storing them in the storage means, and reading the gradation values to obtain output image data In a program to be executed by a computer,
For the pixel group of a predetermined fixed cell frame for each color component, reading the input image data of each pixel included in the pixel group from said storage means, the center of gravity position for each of the color components from the input image data Centroid position determination processing to determine
An applying process for storing the gradation value in the storage means so as to give the gradation value to a pixel based on the gravity center position determined by the gravity center position determining means;
And a difference in inclination of the pixel group between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
記憶手段に記憶された複数色の入力画像データに対して、2階調以上の階調値に変換して前記記憶手段に記憶させ、前記階調値を読み出して前記階調値に応じた網点により出力画像データを得る画像処理をコンピュータに実行させるプログラムにおいて、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データを前記記憶手段から読み出し、前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定処理と、
前記重心位置決定手段で決定した前記重心位置に基づく画素に前記階調値を付与するよう前記階調値を前記記憶手段に記憶させる付与処理と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記網点の傾きの差は略30°であることを特徴とするプログラム。
A plurality of colors of input image data stored in the storage means are converted into gradation values of two or more gradations, stored in the storage means, the gradation values are read out, and a network corresponding to the gradation values is read. In a program for causing a computer to execute image processing to obtain output image data by points,
For the pixel group of a predetermined fixed cell frame for each color component, reading the input image data of each pixel included in the pixel group from said storage means, the center of gravity position for each of the color components from the input image data Centroid position determination processing to determine
An applying process for storing the gradation value in the storage means so as to give the gradation value to a pixel based on the gravity center position determined by the gravity center position determining means;
And a difference in inclination of the halftone dot between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
記憶手段に記憶された複数色の入力画像データに対して、2階調以上の階調値に変換して前記記憶手段に記憶させ、前記階調値を読み出して前記階調値に応じたドットにより出力画像データを得る画像処理をコンピュータに実行させるプログラムにおいて、
色成分ごとに予め決められた固定セル枠内の画素群について、前記画素群に含まれる各画素の前記入力画像データを前記記憶手段から読み出して、前記入力画像データから前記色成分ごとに重心位置を決定する重心位置決定処理と、
前記重心位置決定工程で決定した前記重心位置に基づく画素に前記階調値を付与するよう前記階調値を前記記憶手段に記憶させる付与処理と、
を備え、前記複数色に含まれる3色のうち2組の2色間での前記ドットの傾きの差は略30°であることを特徴とするプログラム。
A plurality of color input image data stored in the storage means is converted into gradation values of two or more gradations and stored in the storage means, and the gradation values are read out and dots corresponding to the gradation values are read. In a program for causing a computer to execute image processing to obtain output image data by:
For the pixel group of a predetermined fixed cell frame for each color component, the input image data of each pixel included in the pixel group is read out from said storage means, the center of gravity for each of the color components from the input image data Centroid position determination processing to determine the position;
An assigning process for storing the gradation value in the storage means so as to assign the gradation value to a pixel based on the gravity center position determined in the gravity center position determining step;
And the difference in inclination of the dots between two sets of two colors among the three colors included in the plurality of colors is approximately 30 °.
JP2004206008A 2004-07-13 2004-07-13 Image processing apparatus, image processing method, and program Expired - Fee Related JP4337670B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004206008A JP4337670B2 (en) 2004-07-13 2004-07-13 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004206008A JP4337670B2 (en) 2004-07-13 2004-07-13 Image processing apparatus, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2006033168A JP2006033168A (en) 2006-02-02
JP4337670B2 true JP4337670B2 (en) 2009-09-30

Family

ID=35899024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004206008A Expired - Fee Related JP4337670B2 (en) 2004-07-13 2004-07-13 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP4337670B2 (en)

Also Published As

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

Similar Documents

Publication Publication Date Title
JP4165570B2 (en) Image processing apparatus, image processing method, and image processing program
JP6639247B2 (en) Image processing apparatus, image processing method, and program
JP7005314B2 (en) Image processing equipment, image processing methods, and programs
KR20180087842A (en) Image processing apparatus and method for controlling the same
JP2007060111A (en) Method and device for gradation processing
US7315398B2 (en) Multi-level error diffusion with color image data
US8427694B2 (en) Image processing apparatus, image processing method and image processing program product generating processing data having consistent pixel density
JPWO2005109851A1 (en) Image processing apparatus, image processing method, and program
JP4337670B2 (en) Image processing apparatus, image processing method, and program
JP6907034B2 (en) Image processing equipment, image processing methods and programs
JP7339774B2 (en) IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP2005295131A (en) Apparatus, method, and program for processing image
JP3951953B2 (en) Printing apparatus, image processing apparatus, printing method, image processing method, and program
JP4492723B2 (en) Image processing apparatus, image processing method, and image processing program
JP2005341142A (en) Image processor, processing method and program, and recording medium with the program stored
JP2005269131A (en) Image processing apparatus, image processing method, and image processing program
JP2006325136A (en) Image-processing equipment, image-processing method, and image-processing program
JP2006115369A (en) Image processing apparatus, image processing method, image processing program, recording medium with the program recorded thereon
JPH07250246A (en) Image forming device
JP2006262405A (en) Image processing apparatus and image processing method
JP2020136698A (en) Image forming apparatus, density control method and program, and generation method
JP2020089985A (en) Image processing device, control method therefor, and program
JP2019110512A (en) Image forming apparatus, image forming method, and program
JP2005311414A (en) Apparatus, method and program for image processing and recording medium recording this program
JP2006025217A (en) Image processing apparatus, image processing method, image processing program, and recording medium recorded with the program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070622

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090422

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4337670

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120710

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130710

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees