JPH11220626A - Method for forming image data and device therefor - Google Patents

Method for forming image data and device therefor

Info

Publication number
JPH11220626A
JPH11220626A JP10022014A JP2201498A JPH11220626A JP H11220626 A JPH11220626 A JP H11220626A JP 10022014 A JP10022014 A JP 10022014A JP 2201498 A JP2201498 A JP 2201498A JP H11220626 A JPH11220626 A JP H11220626A
Authority
JP
Japan
Prior art keywords
error
pixel
image data
pixels
binarization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10022014A
Other languages
Japanese (ja)
Inventor
Kunio Ikuta
国男 生田
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing Co Ltd
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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP10022014A priority Critical patent/JPH11220626A/en
Publication of JPH11220626A publication Critical patent/JPH11220626A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress the deterioration of image quality of a recorded image by satisfactorily holding a dot shape. SOLUTION: Input image data SP for a picture element P under consideration are turned into error correction data SP' when the accumulated values of errors generated from picture elements processed in advance are added. The error correction data SP' are binarized by a binarizing part 14 based on a threshold Tp obtained from a threshold memory 13. An error detecting part 15 transmits an error ep generated by binarization to an error distribution part 17. On the other hand, based on the position information of the picture element P under consideration and binary data Bp , a distribution ratio memory 16 transmits distribution ratios W0 -W11 of the error ep for preliminarily stored non-processed picture elements P0 -P11 positioned adjacently to the picture element P under consideration to the error distributing part 17. The error distributing part 17 distributes the error ep to each non-processed picture element P0 -P11 according to the distribution ratios W0 -W11 obtained from the distribution ratio memory 16.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、複数の画素の集
合によって1つの網点を形成し、当該網点の大きさを変
更することによって擬似的に多階調を再現する画像デー
タ形成方法およびその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data forming method for forming one halftone dot by a set of a plurality of pixels and changing the size of the halftone dot to reproduce pseudo multiple gradations. Regarding the device.

【0002】[0002]

【従来の技術】従来より、複数の色成分を含むカラー画
像を印刷する際には、それぞれの色成分ごとに網点によ
る記録が行われている。網点記録においては、原画像と
の整合性を保つために、擬似的に多階調を再現する必要
がある。このような擬似的に多階調を再現するための従
来からの網点形成方法として、1個の網点の大きさを原
画像に応じて変更し、大小の網点の集合によって擬似的
に多階調を再現する方法がある。製版印刷においては、
多階調で表現された原画像を大小等の大きさの異なる網
点の集合によって擬似的に再現している。
2. Description of the Related Art Conventionally, when a color image including a plurality of color components is printed, halftone dots are recorded for each color component. In halftone dot recording, it is necessary to reproduce multiple tones in a pseudo manner in order to maintain consistency with the original image. As a conventional halftone dot forming method for reproducing such a pseudo multi-tone, the size of one halftone dot is changed in accordance with the original image, and the halftone dot is simulated by a set of large and small halftone dots. There is a method for reproducing multiple gradations. In prepress printing,
An original image expressed in multiple gradations is reproduced in a pseudo manner by a set of halftone dots having different sizes such as large and small.

【0003】このような網点形成によって記録画像を生
成する場合、各色成分ごとの網点パターンを重ね合わせ
ることによって生じるモアレを軽減させるため、各色成
分ごとの網点パターンはそれぞれ異なった角度に配置さ
れる。例えば、Y(イエロー),M(マゼンタ),C
(シアン),K(墨)の各色成分については、それぞれ
略0°,15゜,75゜,45°の角度が選択される。
When a recorded image is generated by forming such halftone dots, the halftone patterns for each color component are arranged at different angles in order to reduce moiré caused by overlapping the halftone patterns for each color component. Is done. For example, Y (yellow), M (magenta), C
For each of the color components (cyan) and K (black), angles of approximately 0 °, 15 °, 75 °, and 45 ° are selected.

【0004】一例として、略15゜の網点画像を形成す
るための方法を説明する。図10は、約18.435゜
(=tan-11/3)の網点パターンの形成方法を説明
するための図である。なお、図10は、記録画素ごとに
目盛りを表し、記録材(記録用紙や記録フィルム等)上
に座標軸Fx,Fyを設定している。そして、この座標
軸Fx,Fyに対して網点領域DRが約18.435゜
傾けられている。
As an example, a method for forming a halftone image of about 15 ° will be described. FIG. 10 is a diagram for explaining a method of forming a halftone dot pattern of about 18.435 ° (= tan −1 3). In FIG. 10, a scale is shown for each recording pixel, and coordinate axes Fx and Fy are set on a recording material (recording paper, recording film, or the like). The halftone dot region DR is inclined by about 18.435 ° with respect to the coordinate axes Fx and Fy.

【0005】図10に示すようにN×N(但し、Nは任
意の整数)の繰り返し領域ARごとに同じパターンの網
点が繰り返し発生する。繰り返し領域ARには、1個の
網点が形成される網点領域DRが複数含まれることとな
る。
As shown in FIG. 10, halftone dots of the same pattern are repeatedly generated in each of N × N (where N is an arbitrary integer) repeating areas AR. The repeating area AR includes a plurality of halftone dot areas DR in which one halftone dot is formed.

【0006】そして、繰り返し領域ARの記録画素ごと
に閾値が設定され、入力画像データと比較することによ
って1又は0と2値化される。繰り返し領域ARに含ま
れる各網点領域DRにおいて、中央部には小さな閾値が
格納され、中央部から離れるに従って螺旋状に次第に大
きな閾値が格納される。従って、網点領域DRの中央部
から画素ごとに順次に黒化され、黒化された複数の画素
は1つのまとまりを形成する。この1つのまとまりが1
個の網点となる。
[0006] Then, a threshold value is set for each recording pixel of the repetition area AR, and is binarized to 1 or 0 by comparing with the input image data. In each halftone dot region DR included in the repetition region AR, a small threshold value is stored in the center portion, and a larger threshold value is stored in a spiral shape as the distance from the center portion increases. Accordingly, the pixels are sequentially blackened for each pixel from the center of the halftone dot region DR, and the plurality of blackened pixels form one unit. This one unit is 1
Individual dots.

【0007】繰り返し領域AR内に存在する各記録画素
ごとの閾値はコンピュータによって計算され、予めメモ
りに格納されている。メモリに格納された繰り返し領域
AR内の各記録画素に対応する閾値は、記録画素の座標
軸Fx,Fy上の位置をアドレスとして読み出すことが
できるように設定される。
The threshold value for each recording pixel existing in the repetition area AR is calculated by a computer and stored in advance in a memory. The threshold value corresponding to each recording pixel in the repeating area AR stored in the memory is set so that the position of the recording pixel on the coordinate axes Fx and Fy can be read as an address.

【0008】従って、記録材上の任意の位置(fx,f
y)における記録画素の閾値は、Fx軸上の位置fxを
繰り返し領域ARの大きさNで除算した余りをFx軸上
のアドレスとし、Fy軸上の位置fyを繰り返し領域A
Rの大きさNで除算した余りをFy軸上のアドレスとし
て、メモリにアクセスすることにより獲得することがで
きる。このようにすれば、繰り返し領域ARに設定され
た閾値が記録材についての全ての領域に繰り返し適用さ
れることとなる。そして、全ての画素について上記閾値
に基づく2値化処理を行うことにより、原画像に応じて
大きさの異なる網点による記録画像が形成される。
Accordingly, an arbitrary position (fx, f
The threshold value of the recording pixel in y) is obtained by dividing the position fx on the Fx axis by the size N of the repetition area AR as an address on the Fx axis, and using the position fy on the Fy axis as the repetition area A
The remainder obtained by dividing by the size N of R can be obtained as an address on the Fy axis by accessing the memory. In this way, the threshold value set for the repetition area AR is repeatedly applied to all the areas of the recording material. Then, by performing binarization processing based on the threshold value for all the pixels, a recorded image is formed by halftone dots having different sizes according to the original image.

【0009】ここで、原画像の各画素のダイナミックレ
ンジが0〜255である256階調であるとし、一例と
して原画像の全ての画素についての入力画像データが
「128」であるとする。この場合を上記網点形成によ
って画像記録を行うと、図11に示すような記録画像と
なる。なお、図11では、入力画像データが「128」
であるため、網点記録が行われた部分(黒い部分)と記
録が行われない部分とは略均等に分布している。
Here, it is assumed that the dynamic range of each pixel of the original image is 256 gradations of 0 to 255, and as an example, the input image data for all the pixels of the original image is "128". In this case, when an image is recorded by the dot formation, a recorded image as shown in FIG. 11 is obtained. In FIG. 11, the input image data is "128".
Therefore, the portion where the dot recording is performed (black portion) and the portion where the recording is not performed are distributed almost equally.

【0010】このように、原画像を印刷する際に、網点
形成を行えば、1個の網点の大きさを原画像に応じて変
更することにより擬似的に原画像の多階調を再現するこ
とができるため、原画像との整合性が保たれる。
As described above, when the original image is printed, if halftone dots are formed, by changing the size of one halftone dot in accordance with the original image, the multi-gradation of the original image can be simulated. Since it can be reproduced, consistency with the original image is maintained.

【0011】[0011]

【発明が解決しようとする課題】ところが、上記のよう
な網点形成を行うと、網点の形状が良好に維持されず、
モアレが発生することがあり画質が劣化するという問題
がある。
However, when the above-described halftone dot formation is performed, the shape of the halftone dot is not maintained well,
There is a problem that moire may occur and image quality may be degraded.

【0012】例えば、図12は、水平方向に細線が並ん
だ縞画像を網点記録したものである。なお、図12にお
いて細線部分についての入力画像データは「128」で
あり、背景部分についての入力画像データは「0」であ
る。
For example, FIG. 12 shows a dot image of a striped image in which fine lines are arranged in the horizontal direction. In FIG. 12, the input image data for the thin line portion is “128”, and the input image data for the background portion is “0”.

【0013】図12に示すような記録画像においては、
原画像と網点を形成するための閾値とが干渉し、原画像
の本来の横縞とは別に、右上部から左下部に向かってモ
アレ縞が発生し、画質の劣化をもたらしている。
In a recorded image as shown in FIG.
The original image and a threshold value for forming a halftone dot interfere with each other, and moire fringes are generated from the upper right portion to the lower left portion separately from the original horizontal stripes of the original image, resulting in deterioration of image quality.

【0014】この発明は、上記課題に鑑みてなされたも
のであって、網点形状を良好に保つことによって記録画
像の画質の低下を抑制することができる画像データ形成
方法およびその装置をを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and provides an image data forming method and apparatus capable of suppressing deterioration in image quality of a recorded image by maintaining a good dot shape. The purpose is to do.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明は、画素ごとに入力する多値
の入力画像データに2値化処理を施して2値化済の画像
データを生成する画像データ形成方法であって、(a) 2
値化対象である注目画素の入力画像データに対して既に
2値化処理が施された画素から生じた誤差の累積値を加
算することによって誤差加算データを生成する工程と、
(b) 注目画素の位置に対応する網点を形成するための閾
値と誤差加算データとを比較することによって注目画素
に対する2値化処理を行う工程と、(c) 注目画素に対す
る2値化処理によって発生する誤差を検出する工程と、
(d) 注目画素に対する2値化処理の結果が論理値として
の「1」である場合には、所定の領域内に含まれる複数
の画素に対して、それぞれの画素に対応する閾値が大き
い順に、誤差をより多く分配する工程と、(e) 注目画素
に対する2値化処理の結果が論理値としての「0」であ
る場合には、所定の領域内に含まれる複数の画素に対し
て、それぞれの画素に対応する閾値が小さい順に、誤差
をより多く分配する工程とを有している。
In order to achieve the above object, according to the present invention, the multi-valued input image data inputted for each pixel is subjected to a binarization process to be binarized. An image data forming method for generating image data, comprising: (a) 2
Generating error addition data by adding a cumulative value of an error generated from a pixel that has already been binarized to input image data of a target pixel to be valued;
(b) performing a binarization process on the target pixel by comparing a threshold value for forming a halftone dot corresponding to the position of the target pixel with error addition data; and (c) a binarization process on the target pixel. Detecting the error caused by the
(d) When the result of the binarization process for the target pixel is “1” as a logical value, the threshold value corresponding to each pixel is larger for a plurality of pixels included in the predetermined area in descending order. , A step of distributing more errors, and (e) when a result of the binarization processing for the target pixel is “0” as a logical value, a plurality of pixels included in a predetermined area are And distributing more errors in ascending order of the threshold value corresponding to each pixel.

【0016】請求項2に記載の発明は、請求項1に記載
の画像データ形成方法において、工程(d) は、(d-1) 注
目画素に対する2値化処理の結果が論理値としての
「1」である場合には、所定の領域内に含まれる複数の
画素に対して、それぞれの画素についての画像データが
小さい順に、さらに誤差をより多く分配する工程を有
し、工程(e) は、(e-1) 注目画素に対する2値化処理の
結果が論理値としての「0」である場合には、所定の領
域内に含まれる複数の画素に対して、それぞれの画素に
ついての画像データが大きい順に、さらに誤差をより多
く分配する工程を有することを特徴としている。
According to a second aspect of the present invention, in the image data forming method according to the first aspect, the step (d) comprises the step of: (d-1) determining that a result of the binarization processing on the target pixel is a logical value. In the case of "1", for a plurality of pixels included in the predetermined region, the image data of each pixel includes a step of distributing more errors in ascending order, and the step (e) includes: , (E-1), when the result of the binarization process for the target pixel is “0” as a logical value, the image data of each pixel is determined for a plurality of pixels included in the predetermined area. Is characterized by having a step of further distributing more errors in descending order of.

【0017】請求項3に記載の発明は、画素ごとに入力
する多値の入力画像データに2値化処理を施して2値化
済の画像データを生成する画像データ形成装置であっ
て、(a) 2値化対象である注目画素の入力画像データに
対して既に2値化処理が施された画素から生じた誤差の
累積値を加算することによって誤差加算データを生成す
る加算手段と、(b) 注目画素の位置に対応する網点を形
成するための閾値と誤差加算データとを比較することに
よって注目画素に対する2値化処理を行う2値化手段
と、(c) 2値化手段における2値化処理によって発生す
る誤差を検出する誤差検出手段と、(d) 注目画素に対す
る2値化処理の結果が論理値としての「1」である場合
には、所定の領域内に含まれる複数の画素に対して、そ
れぞれの画素に対応する閾値が大きい順に、誤差の分配
率を大きく設定するとともに、注目画素に対する2値化
処理の結果が論理値としての「0」である場合には、所
定の領域内に含まれる複数の画素に対して、それぞれの
画素に対応する閾値が小さい順に、誤差の分配率を大き
く設定する分配率設定手段と、(e) 分配率設定手段によ
って得られた分配率に基づいて所定の領域内に含まれる
複数の画素に対して誤差を分配する誤差分配手段とを備
えている。
According to a third aspect of the present invention, there is provided an image data forming apparatus for performing binarization processing on multi-valued input image data input for each pixel to generate binarized image data. a) adding means for generating error addition data by adding the cumulative value of errors generated from the pixels already subjected to the binarization processing to the input image data of the target pixel to be binarized; b) binarization means for performing binarization processing on the pixel of interest by comparing a threshold value for forming a halftone dot corresponding to the position of the pixel of interest with error addition data; Error detection means for detecting an error generated by the binarization processing; and (d) when a result of the binarization processing for the target pixel is “1” as a logical value, Threshold value corresponding to each pixel Are set in the descending order, and when the result of the binarization process for the pixel of interest is “0” as a logical value, a plurality of pixels included in a predetermined region are A distribution ratio setting unit that sets the distribution ratio of the error to be large in the order of smaller threshold values corresponding to the respective pixels; and (e) a plurality of distribution regions included in a predetermined area based on the distribution ratio obtained by the distribution ratio setting unit. Error distributing means for distributing an error to the pixels.

【0018】請求項4に記載の発明は、請求項3に記載
の画像データ形成装置において、分配率設定手段は、(d
-1) 注目画素に対する2値化処理の結果が論理値として
の「1」である場合には、所定の領域内に含まれる複数
の画素に対して、それぞれの画素についての画像データ
が小さい順に、さらに誤差の分配率を大きく設定すると
ともに、注目画素に対する2値化処理の結果が論理値と
しての「0」である場合には、所定の領域内に含まれる
複数の画素に対して、それぞれの画素についての画像デ
ータが大きい順に、さらに誤差の分配率を大きく設定す
る手段を備えている。
According to a fourth aspect of the present invention, in the image data forming apparatus according to the third aspect, the distribution ratio setting means includes (d)
-1) When the result of the binarization process for the target pixel is “1” as a logical value, the image data of each pixel is determined in ascending order for a plurality of pixels included in the predetermined area. In addition, when the distribution ratio of the error is set to a larger value and the result of the binarization processing for the pixel of interest is “0” as a logical value, a plurality of pixels included in a predetermined region are Means for setting the error distribution rate to be larger in the order of larger image data of the pixels.

【0019】なお、この発明において、論理値としての
「1」,「0」は相対的なものであり、画像記録や画像
表示においてポジ表現であるかネガ表現であるかによ
り、実際の信号レベルとしての「1」,「0」との対応
関係が決まるものである。また、閾値の大小関係も絶対
値で判断する。
In the present invention, the logical values "1" and "0" are relative, and the actual signal level depends on whether a positive expression or a negative expression is used in image recording or image display. Is determined corresponding to "1" and "0". Also, the magnitude relationship between the threshold values is determined by the absolute value.

【0020】以下の実施の形態では、ポジ表現を例とし
ており、信号値としての「1」と論理値としての「1」
とは一致する。
In the following embodiment, a positive expression is taken as an example, and "1" is used as a signal value and "1" is used as a logical value.
Matches.

【0021】[0021]

【発明の実施の形態】<1.装置の概要>図1は、この
発明の実施の形態が適用される画像処理システムの構成
の概略図である。画像信号供給装置100は、スキャナ
などの画像読取り装置又は光ディスクや磁気ディスクな
どによる画像信号格納装置から画像信号を出力すること
ができる装置などである。前処理部200は、画像信号
供給装置100から与えられる画像信号に種々の処理を
施す装置である。その種々の処理には、例えば、階調変
換処理、鮮鋭度強調処理などがある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS <1. Overview of Apparatus> FIG. 1 is a schematic diagram of a configuration of an image processing system to which an embodiment of the present invention is applied. The image signal supply device 100 is a device that can output an image signal from an image reading device such as a scanner or an image signal storage device such as an optical disk or a magnetic disk. The pre-processing unit 200 is a device that performs various processes on an image signal provided from the image signal supply device 100. The various processes include, for example, a tone conversion process and a sharpness enhancement process.

【0022】そして前処理部200において種々の画像
処理が施された信号は、画素ごとに多値(多階調)の入
力画像データとして画像データ形成装置300に入力す
る。また、画像データ形成装置300には、処理対象の
画素である注目画素の入力画像データの他に注目画素の
座標軸上の位置情報が入力する。
The signals subjected to various types of image processing in the pre-processing unit 200 are input to the image data forming apparatus 300 as multi-value (multi-tone) input image data for each pixel. Further, in addition to the input image data of the pixel of interest, which is the pixel to be processed, positional information on the coordinate axis of the pixel of interest is input to the image data forming apparatus 300.

【0023】画像データ形成装置300は、この発明が
適用される部分であり、前処理部200から与えられる
画素ごとの多値の入力画像データに対して2値化処理を
行って、2値の記録画像データを生成する。画像データ
形成装置300で生成された画素ごとの記録画像データ
は、画像記録装置400に送られる。
The image data forming apparatus 300 is a part to which the present invention is applied. The image data forming apparatus 300 performs a binarization process on multi-valued input image data for each pixel provided from the preprocessing unit 200 to perform a binary process. Generate recording image data. The recording image data for each pixel generated by the image data forming device 300 is sent to the image recording device 400.

【0024】画像記録装置400は、画像データ形成装
置300から送出されてくる記録画像データに基づい
て、所定の記録材に画像記録を行う。
The image recording apparatus 400 records an image on a predetermined recording material based on recording image data sent from the image data forming apparatus 300.

【0025】この発明の適用された画像データ形成装置
300について説明する前に、画像の処理の形態を説明
する。図2は、p行q列の画素から構成される画像を示
す図である。図2に示すようなp行q列の画素から構成
される画像を処理する場合は、処理対象の画素(以下、
「注目画素」という)Pを第0行第0列の画素からはじ
め、次に第0行第1列の画素を処理する。そして第0行
第q列まで処理が済めば、第1行第0列に戻り、同様に
処理を繰返していき、第p行第q列まで処理が終了すれ
ば、この画像に対する処理が完了したことになる。この
ように、画像データ形成装置300で行われる画像の2
値化処理は、注目画素Pについて1画素ずつ行う処理形
態である。そして、原画像から得られる複数の色成分
(Y,M,C,K)について同様の処理が行われる。な
お、図2は、注目画素Pが第i行第j列まで進んだ状態
を示しており、図に示す斜線領域は、2値化処理が終了
した領域である。
Before describing the image data forming apparatus 300 to which the present invention is applied, an image processing mode will be described. FIG. 2 is a diagram showing an image composed of pixels in p rows and q columns. When processing an image composed of pixels in p rows and q columns as shown in FIG. 2, a pixel to be processed (hereinafter, referred to as a pixel to be processed)
P is referred to as a “pixel of interest”) from the pixel at row 0 and column 0, and then the pixel at row 0 and column 1 is processed. When the processing is completed up to the 0th row and the qth column, the process returns to the 1st row and the 0th column, and the same processing is repeated. When the processing is completed up to the pth row and the qth column, the processing for this image is completed. Will be. As described above, the second image of the image performed by the image data forming apparatus 300 is
The binarization processing is a processing mode in which the pixel of interest P is performed one pixel at a time. Then, similar processing is performed on a plurality of color components (Y, M, C, K) obtained from the original image. FIG. 2 shows a state in which the target pixel P has advanced to the i-th row and the j-th column, and the hatched area shown in the figure is the area where the binarization processing has been completed.

【0026】なお、以下に示す実施の形態おいて画像デ
ータ形成装置300に入力する入力画像データは、一例
としてダイナミックレンジが「0〜255」の256階
調であるとする。
In the following embodiment, it is assumed that the input image data input to the image data forming apparatus 300 has, for example, 256 gradations with a dynamic range of "0 to 255".

【0027】<2.第1の実施の形態>この発明の第1
の実施の形態における画像データ形成装置300につい
て説明する。図3は、この第1の実施の形態における画
像データ形成装置300の構成を示すブロック図であ
る。この画像データ形成装置300には、加算器11,
メモリアドレス発生部12,閾値メモリ13,2値化部
14,誤差検出部15,分配率メモリ16,誤差分配部
17,エラーメモリ19が設けられている。
<2. First embodiment> First embodiment of the present invention
An image data forming apparatus 300 according to the embodiment will be described. FIG. 3 is a block diagram illustrating a configuration of the image data forming apparatus 300 according to the first embodiment. The image data forming apparatus 300 includes an adder 11,
A memory address generation unit 12, a threshold memory 13, a binarization unit 14, an error detection unit 15, a distribution ratio memory 16, an error distribution unit 17, and an error memory 19 are provided.

【0028】2値化対象である注目画素Pについての入
力画像データSP は、画像データ形成装置300に入力
すると加算器11に導かれる。そして、加算器11にお
いて既に前記2値化処理が施された画素から生じ、注目
画素Pに分配された誤差の累積値である誤差EP を加算
することによって誤差加算データSP'が生成される。誤
差加算データSP'は、2値化部14と誤差検出部15に
送られる。
The input image data SP for the target pixel P to be binarized is guided to the adder 11 when input to the image data forming apparatus 300. Then, the adder 11 adds the error EP that is generated from the pixels that have already been subjected to the binarization processing and is the accumulated value of the errors distributed to the target pixel P, thereby generating error addition data SP ′. The error addition data SP ′ is sent to the binarization unit 14 and the error detection unit 15.

【0029】一方、メモリアドレス発生部12は、注目
画素Pの位置情報(fx,fy)を入力し、上述のよう
に繰り返し領域ARにおける注目画素Pの位置情報(f
x’,fy’)を導く。具体的には、図10に示したよ
うに、Fx軸上の位置fxを繰り返し領域ARの大きさ
Nで除算した余りをfx’とし、Fy軸上の位置fyを
繰り返し領域ARの大きさNで除算した余りをfy’と
する。このようにして得られた繰り返し領域ARにおけ
る注目画素Pの位置情報(fx’,fy’)は、閾値メ
モリ13および分配率メモリ16に送られる。
On the other hand, the memory address generating section 12 receives the position information (fx, fy) of the target pixel P and inputs the position information (f, f) of the target pixel P in the repetition area AR as described above.
x ', fy'). More specifically, as shown in FIG. 10, the remainder obtained by dividing the position fx on the Fx axis by the size N of the repetition area AR is fx ′, and the position fy on the Fy axis is the size N of the repetition area AR. Let fy 'be the remainder after dividing by. The position information (fx ′, fy ′) of the target pixel P in the repeating area AR obtained in this way is sent to the threshold memory 13 and the distribution ratio memory 16.

【0030】閾値メモリ13には、予めコンピュータに
よって計算された繰り返し領域AR内に存在する各記録
画素ごとの閾値が格納されている。そして、閾値メモリ
13に格納された繰り返し領域AR内の各記録画素に対
応する閾値は、記録画素の繰り返し領域ARにおける位
置をアドレスとして読み出すことができるように設定さ
れる。従って、閾値メモリ13では、メモリアドレス発
生部12から送られてくる注目画素Pの位置情報(f
x’,fy’)をアドレスとすることにより、注目画素
Pについて設定されている閾値TP を読み出すことがで
きる。このようにして得られる注目画素Pについての閾
値TP は、2値化部14に送られる。
The threshold memory 13 stores a threshold calculated for each recording pixel existing in the repetition area AR by a computer in advance. Then, the threshold value corresponding to each recording pixel in the repeating area AR stored in the threshold memory 13 is set so that the position of the recording pixel in the repeating area AR can be read as an address. Therefore, in the threshold memory 13, the position information (f) of the pixel of interest P sent from the memory address generator 12.
By using x ', fy') as the address, the threshold value TP set for the target pixel P can be read. The threshold value TP for the pixel of interest P obtained in this way is sent to the binarization unit 14.

【0031】2値化部14においては、注目画素Pにつ
いての誤差加算データSP'と閾値TP とを比較し、2値
データBP を生成する。具体的には、「SP'≧TP 」で
あれば「BP =1」とし、「SP'<TP 」であれば「B
P =0」とする。そして、2値データBP は、誤差検出
部15,分配率メモリ16に送られるとともに、画像デ
ータ形成装置300の出力として後段の画像記録装置4
00に送られる。なお、画像記録装置400では、2値
データBP が「0」であれば注目画素Pについてドット
記録は行わず、2値データBP が「1」であれば注目画
素Pについてドット記録を行う。
The binarizing section 14 compares the error addition data SP 'for the target pixel P with the threshold value TP to generate binary data BP. Specifically, if “SP ′ ≧ TP”, “BP = 1” is set, and if “SP ′ <TP”, “BP” is set.
P = 0 ”. Then, the binary data BP is sent to the error detection unit 15 and the distribution ratio memory 16 and is output as an output from the image data forming apparatus 300 to the image recording apparatus 4 in the subsequent stage.
Sent to 00. In the image recording apparatus 400, if the binary data BP is "0", dot recording is not performed on the target pixel P, and if the binary data BP is "1", dot recording is performed on the target pixel P.

【0032】そして、誤差検出部15では、2値化部1
4において注目画素Pについて行った画像データの2値
化により生じる誤差eP を導く。具体的には、誤差eP
は、「eP =SP'−255・BP」により求められる。従
って、2値データBP が「0」であれば誤差eP は正数
となる場合が多く、2値データBP が「1」であれば誤
差eP は負数となる場合が多い。そして、誤差検出部1
5で得られる誤差ePは誤差分配部17に送られる。
Then, the error detecting section 15 performs the binarizing section 1
In step 4, an error eP caused by the binarization of the image data performed on the target pixel P is derived. Specifically, the error eP
Is determined by "eP = SP'-255.BP". Therefore, if the binary data BP is "0", the error eP is often a positive number, and if the binary data BP is "1", the error eP is often a negative number. Then, the error detection unit 1
The error eP obtained in step 5 is sent to the error distribution unit 17.

【0033】分配率メモリ16は、メモリアドレス発生
部12で得られる位置情報(fx’,fy’)と2値デ
ータBP とをアドレスとして入力する。この実施の形態
では、一例として図3のエラーメモリ19に示すよう
に、12個の2値化の未処理画素P0 〜P11の位置に誤
差eP を分配するように構成されている。そして、分配
率メモリ16には、2値データBP が「1」である場合
と「0」である場合とのそれぞれについて、2値化の未
処理画素P0 〜P11に対する誤差eP の分配率W0 〜W
11が予め導かれ格納されている。従って、注目画素Pに
ついての位置情報(fx’,fy’)と2値データBP
とを入力すると、その注目画素Pの近隣に位置する12
個の2値化の未処理画素P0 〜P11のそれぞれに対する
分配率W0〜W11を得ることができる。
The distribution ratio memory 16 inputs the position information (fx ', fy') obtained by the memory address generator 12 and the binary data BP as addresses. In this embodiment, as shown in the error memory 19 in FIG. 3 as an example, the error eP is distributed to the positions of twelve binarized unprocessed pixels P0 to P11. The distribution ratio memory 16 stores the distribution ratio W0 of the error eP with respect to the binarized unprocessed pixels P0 to P11 in each of the case where the binary data BP is "1" and the case where the binary data BP is "0". W
11 is previously derived and stored. Therefore, the position information (fx ', fy') for the target pixel P and the binary data BP
Is input, 12 is located in the vicinity of the target pixel P.
The distribution ratios W0 to W11 can be obtained for the respective binarized unprocessed pixels P0 to P11.

【0034】ここで、各未処理画素P0 〜P11に対する
分配率W0 〜W11について説明する。この分配率W0 〜
W11は、各未処理画素P0 〜P11について設定されてい
る2値化の際の閾値T0 〜T11により求められる。この
閾値T0 〜T11は、各未処理画素P0 〜P11について閾
値メモリ13に格納されている閾値と同一のものであ
る。
Here, the distribution ratios W0 to W11 for the unprocessed pixels P0 to P11 will be described. This distribution ratio W0
W11 is obtained from the threshold values T0 to T11 for binarization set for each of the unprocessed pixels P0 to P11. The threshold values T0 to T11 are the same as the threshold values stored in the threshold value memory 13 for the unprocessed pixels P0 to P11.

【0035】そして、未処理画素P0 〜P11のうちの任
意の画素PQ (ただし、Qは0〜11の整数)について
の分配率WQ は、注目画素Pについての2値化の結果が
「1」の場合(すなわち、「BP =1」の場合)は、
The distribution ratio WQ for an arbitrary pixel PQ (where Q is an integer of 0 to 11) among the unprocessed pixels P0 to P11 indicates that the binarization result for the target pixel P is "1". (Ie, "BP = 1")

【0036】[0036]

【数1】 (Equation 1)

【0037】により求められる。ここで、Ti は、未処
理画素P0 〜P11のうちのi番目の画素について設定さ
れている閾値である。また、TQ は、画素PQ について
設定されている閾値である。
[0037] Here, Ti is a threshold value set for the i-th pixel among the unprocessed pixels P0 to P11. TQ is a threshold set for the pixel PQ.

【0038】また、注目画素Pについての2値化の結果
が「0」の場合(すなわち、「BP=0」の場合)の分
配率WQ は、
When the binarization result of the target pixel P is "0" (that is, when "BP = 0"), the distribution ratio WQ is:

【0039】[0039]

【数2】 (Equation 2)

【0040】により求められる。数2において、Tmax
は、図10に示した繰り返し領域ARに設定された画素
ごとの閾値のうちの最大値である。
Is obtained by In Equation 2, Tmax
Is the maximum value among the threshold values for each pixel set in the repeating area AR shown in FIG.

【0041】そして、上述のように、数1と数2に示す
ような分配率WQ が予め導かれて、分配率メモリ16に
格納されている。そして、分配率メモリ16において注
目画素Pについての位置情報(fx’,fy’)と2値
データBP とをアドレスとして得られる未処理画素P0
〜P11のそれぞれに対する分配率W0 〜W11は、誤差分
配部17に送られる。
Then, as described above, the distribution ratios WQ as shown in Expressions 1 and 2 are previously derived and stored in the distribution ratio memory 16. Then, in the distribution ratio memory 16, the unprocessed pixel P0 obtained by using the position information (fx ', fy') for the target pixel P and the binary data BP as addresses
The distribution ratios W0 to W11 for .about.P11 are sent to the error distribution unit 17.

【0042】誤差分配部17は、誤差検出部15から得
られる誤差eP と分配率メモリ16から得られる分配率
W0 〜W11とから、2値化の未処理画素P0 〜P11のそ
れぞれに対して分配する誤差e0 〜e11を導く。具体的
には、未処理画素P0 〜P11のうちの任意の画素PQ
(ただし、Qは0〜11の整数)に対して分配される誤
差eQ は、
The error distribution unit 17 distributes each of the binarized unprocessed pixels P0 to P11 from the error eP obtained from the error detection unit 15 and the distribution ratios W0 to W11 obtained from the distribution ratio memory 16. The following errors e0 to e11 are derived. Specifically, any pixel PQ among the unprocessed pixels P0 to P11
(Where Q is an integer of 0 to 11), the error eQ distributed is

【0043】[0043]

【数3】 (Equation 3)

【0044】で求められる。そして、2値化の未処理画
素P0 〜P11のそれぞれについて得られた誤差e0 〜e
11は、誤差分配部17からエラーメモリ19に送られ
る。
Is obtained. The errors e0 to e obtained for each of the binarized unprocessed pixels P0 to P11
11 is sent from the error distribution unit 17 to the error memory 19.

【0045】エラーメモリ19では、注目画素Pの近隣
に位置する2値化の未処理画素P0〜P11のそれぞれに
対して、誤差分配部17から送られてくる誤差e0 〜e
11を加算する。従って、2値化処理の進行に伴って注目
画素Pが順次に移動していくと、エラーメモリ19の各
画素には、注目画素Pの2値化による誤差が蓄積されて
いくこととなる。そして、これらの画素が注目画素Pと
なったときに、それ以前の処理よって分配された誤差の
累積値である誤差EP を加算器11に送出することとな
る。
In the error memory 19, the errors e 0 to e sent from the error distribution unit 17 for each of the binarized unprocessed pixels P 0 to P 11 located near the pixel of interest P.
Add 11 Therefore, when the pixel of interest P sequentially moves with the progress of the binarization processing, an error due to the binarization of the pixel of interest P is accumulated in each pixel of the error memory 19. Then, when these pixels become the target pixel P, the error EP, which is the accumulated value of the errors distributed by the previous processing, is sent to the adder 11.

【0046】この実施の形態の画像データ形成装置30
0では、注目画素Pに対する2値化処理が以上のように
行われる。
The image data forming apparatus 30 of this embodiment
At 0, the binarization process for the pixel of interest P is performed as described above.

【0047】上記構成の画像データ形成装置300にお
いては、注目画素Pについて2値化の結果が「1」の場
合、上述のように、誤差eP は多くの場合に負数とな
り、比較的小さな値である。そして、この場合に数1に
基づく分配率を適用すると、小さな誤差eP を、大きな
閾値が設定された画素により多く分配することとなる。
この結果、ドット記録が行われ難い網点領域DRの外縁
部に小さな(負数の)誤差ePが分配されることとな
る。従って、網点領域DRの外縁部に対応する画素が注
目画素となった際には、加算器11において入力画像デ
ータSP に負数若しくは小さい誤差EP が加算されるこ
ととなり、誤差補正データSP'も小さくなる。そして、
2値化部14では、閾値は大きいにもかかわらず、誤差
補正データSP'は小さいため、2値化の結果が「0」と
なる場合が多くなり、ドット記録が行われなくなる。換
言すれば、注目画素Pについて2値化の結果が「1」の
場合、閾値の設定によって網点形成され難い画素を、さ
らに誤差eP の分配によって網点形成され難くするた
め、網点の外縁部にドット記録されることを防止するこ
とができ、網点の形状を良好に維持することが可能とな
る。
In the image data forming apparatus 300 having the above configuration, when the binarization result of the target pixel P is "1", the error eP is often a negative number as described above, and is a relatively small value. is there. In this case, when the distribution ratio based on the equation 1 is applied, the small error eP is distributed more to the pixels for which the large threshold is set.
As a result, a small (negative) error eP is distributed to the outer edge of the halftone dot region DR where dot recording is difficult to be performed. Therefore, when the pixel corresponding to the outer edge of the halftone dot region DR becomes the pixel of interest, a negative number or a small error EP is added to the input image data SP in the adder 11, and the error correction data SP 'is also Become smaller. And
In the binarization unit 14, although the threshold value is large, the error correction data SP 'is small, so that the binarization result often becomes "0", and dot recording is not performed. In other words, when the binarization result of the target pixel P is “1”, pixels that are difficult to form halftone dots by setting the threshold value are further difficult to form halftone dots by distributing the error eP. It is possible to prevent dots from being recorded in the area, and it is possible to maintain the shape of the halftone dots in a good condition.

【0048】また、注目画素Pについて2値化の結果が
「0」の場合、上述のように、誤差eP は多くの場合に
正数となり、比較的大きな値である。そして、この場合
に数2に基づく分配率を適用すると、大きな誤差eP
を、小さな閾値が設定された画素により多く分配するこ
ととなる。この結果、ドット記録が行われ易い網点領域
DRの中央部に大きな(正数の)誤差ePが分配される
こととなる。従って、網点領域DRの中央部に対応する
画素が注目画素となった際には、加算器11において入
力画像データSP に正数若しくは大きな誤差EP が加算
されることとなり、誤差補正データSP'も大きくなる。
そして、2値化部14では、閾値は小さいにもかかわら
ず、誤差補正データSP'は大きいため、2値化の結果が
「1」となる場合が多くなり、ドット記録が行われ易く
なる。換言すれば、注目画素Pについて2値化の結果が
「0」の場合、閾値の設定によって網点形成され易い画
素を、さらに誤差eP の分配によって網点形成され易く
するため、網点の中央部にドット記録されない白い部分
が生じることを防止することができ、網点形状を良好に
維持することが可能となる。
When the binarization result of the target pixel P is "0", as described above, the error eP is often a positive number and a relatively large value. Then, in this case, when the distribution rate based on Equation 2 is applied, a large error eP
Is distributed more to pixels for which a small threshold is set. As a result, a large (positive number) error eP is distributed to the center of the halftone dot region DR where dot recording is easily performed. Therefore, when the pixel corresponding to the center of the halftone dot region DR becomes the target pixel, the adder 11 adds a positive or large error EP to the input image data SP, and the error correction data SP ′ Also increases.
In the binarization unit 14, the error correction data SP 'is large despite the small threshold value, so that the binarization result often becomes "1", and dot recording is easily performed. In other words, when the binarization result of the pixel of interest P is “0”, the pixels that are likely to form halftone dots by setting the threshold value are made easier to form halftone dots by distributing the error eP. It is possible to prevent a white portion that is not dot-recorded from occurring in the portion, and it is possible to maintain a good dot shape.

【0049】すなわち、この実施の形態の画像データ形
成装置では、注目画素Pについて2値化の結果が「1」
の場合であっても、「0」の場合であっても、網点形状
を良好に維持するように誤差eP の分配率が決定され
る。
That is, in the image data forming apparatus of this embodiment, the binarization result of the target pixel P is "1".
In either case or in the case of "0", the distribution ratio of the error eP is determined so as to maintain the dot shape well.

【0050】なお、未処理画素P0 〜P11のうちの任意
の画素PQ (ただし、Qは0〜11の整数)についての
分配率WQ は、数1,数2の他に、未処理画素P0 〜P
11の閾値T0 〜T11を昇順にソートしたときに画素PQ
についての閾値TQ が第R番目であったとすると、
The distribution ratio WQ for an arbitrary pixel PQ (where Q is an integer of 0 to 11) among the unprocessed pixels P0 to P11 is represented by the following formulas 1 and 2 and the unprocessed pixels P0 to P11. P
When the 11 threshold values T0 to T11 are sorted in ascending order, the pixel PQ
If the threshold TQ for is Rth,

【0051】[0051]

【数4】 (Equation 4)

【0052】として求めても良い。ただし、数4におい
て、2値化の結果が「1」のとき「K>1」であり、2
値化の結果が「0」のとき「1>K>0」である。この
ようにしても、上記と同様に、誤差eP が小さい値(多
くが負数)のときには閾値の比較的大きい画素により多
くの誤差eP が分配され、誤差eP が大きな値(多くが
正数)のときには閾値が比較的小さい画素により多くの
誤差eP が分配されることとなり、網点の形状が良好に
保たれる。
May be obtained as follows. However, in Equation 4, when the binarization result is “1”, “K> 1”, and
When the value is "0", "1>K>0". Even in this case, similarly to the above, when the error eP is a small value (mostly a negative number), more errors eP are distributed to pixels having a relatively large threshold value, and the error eP is a large value (mostly a positive number). In some cases, more errors eP are distributed to pixels having a relatively small threshold value, and the shape of the halftone dot is kept good.

【0053】実際に、この実施の形態の画像データ形成
装置300で、入力画像データが全て「128」である
とした場合の画像を2値化処理した結果を画像記録する
と、図4に示すような記録画像となる。図4に示す記録
画像からも判るように、この実施の形態の画像データ形
成装置300によると、個々の網点が良好にその形状を
保った状態で記録されている。
Actually, in the image data forming apparatus 300 of this embodiment, the result of binarizing the image when the input image data is all “128” is image-recorded, as shown in FIG. Recorded image. As can be seen from the recorded image shown in FIG. 4, according to the image data forming apparatus 300 of this embodiment, each halftone dot is recorded in a state in which the shape of the dot is well maintained.

【0054】一方、図4と対比させるために、この実施
の形態のように注目画素ごとに分配率を設定するという
ことを行わず、単に未処理画素P0 〜P11に対して均等
に誤差eP を分配した場合の記録画像を図5に示す。図
5の記録画像では、網点形状が乱れ、ドットが1つの網
点から離れて存在したり、網点の中に白い点が存在する
等の現象が生じている。これに対して、図4の記録画像
では、上述のように網点形状が良好に保たれている。
On the other hand, in order to make a comparison with FIG. 4, the distribution e is not set for each pixel of interest as in this embodiment, and the error eP is simply evenly applied to the unprocessed pixels P0 to P11. FIG. 5 shows a recorded image in the case of distribution. In the recorded image of FIG. 5, the halftone dot shape is disturbed, and phenomena such as the presence of dots separated from one halftone dot and the presence of a white dot in the halftone dot occur. On the other hand, in the recorded image of FIG. 4, the dot shape is well maintained as described above.

【0055】また、この実施の形態で示した画像データ
形成装置300で、水平方向に細線が並んだ縞画像を処
理した場合の記録画像を図6に示す。この実施の形態に
おいては、誤差eP をそれぞれの画素に設定された分配
率に基づいて分配することにより、入力画像データと2
値化後の画像データとの整合性が保たれるため、図6に
示すようにモアレの発生を抑制することができる。
FIG. 6 shows a recorded image when the striped image in which fine lines are arranged in the horizontal direction is processed by the image data forming apparatus 300 shown in this embodiment. In this embodiment, by dividing the error eP based on the distribution ratio set for each pixel, the input image data and
Since the consistency with the image data after the binarization is maintained, the occurrence of moiré can be suppressed as shown in FIG.

【0056】<3.第2の実施の形態>この発明の第2
の実施の形態における画像データ形成装置300につい
て説明する。上記第1の実施の形態に示した画像データ
形成装置は、モアレの発生を抑制する効果は有している
が、その一方で画像のエッジに乱れを生じさせている。
この第2の実施の形態は、このような画像のエッジの乱
れをも改善するものである。
<3. Second embodiment> Second embodiment of the present invention
An image data forming apparatus 300 according to the embodiment will be described. The image data forming apparatus described in the first embodiment has the effect of suppressing the occurrence of moire, but on the other hand, causes the edges of the image to be disturbed.
The second embodiment also improves such edge disturbance of an image.

【0057】図7は、この第2の実施の形態における画
像データ形成装置300の構成を示すブロック図であ
る。この画像データ形成装置300には、上記第1の実
施の形態と同様に、加算器11,メモリアドレス発生部
12,閾値メモリ13,2値化部14,誤差検出部1
5,分配率メモリ16,誤差分配部17,エラーメモリ
19が設けられている。
FIG. 7 is a block diagram showing a configuration of an image data forming apparatus 300 according to the second embodiment. The image data forming apparatus 300 includes an adder 11, a memory address generating unit 12, a threshold memory 13, a binarizing unit 14, and an error detecting unit 1, as in the first embodiment.
5, a distribution ratio memory 16, an error distribution unit 17, and an error memory 19 are provided.

【0058】この第2の実施の形態における画像データ
形成装置300が第1の実施の形態の画像データ形成装
置と異なる点は、誤差分配部17における誤差の分配の
方法である。また、その他の構成部分については、第1
の実施の形態に示したものと同様である。第1の実施の
形態で説明した内容と同様の処理部についてはその説明
を省略する。
The difference between the image data forming apparatus 300 according to the second embodiment and the image data forming apparatus according to the first embodiment is the method of distributing errors in the error distribution unit 17. In addition, other components are described in the first section.
This is the same as that shown in the embodiment. The description of the same processing units as those described in the first embodiment will be omitted.

【0059】この実施の形態において誤差分配部17
は、注目画素Pを2値化することに生じた誤差eP を、
注目画素Pの近隣に位置する未処理画素P0 〜P11のそ
れぞれについて得られる分配率W0 〜W11と未処理画素
P0 〜P11のそれぞれに対応する入力画像データS0 〜
S11とに基づいて分配する。
In this embodiment, the error distribution unit 17
Is the error eP caused by binarizing the target pixel P,
The distribution ratios W0 to W11 obtained for the unprocessed pixels P0 to P11 located in the vicinity of the pixel of interest P and the input image data S0 to W10 corresponding to the unprocessed pixels P0 to P11, respectively.
It distributes based on S11.

【0060】なお、分配率W0 〜W11は、第1の実施の
形態と同様に、注目画素Pの繰り返し領域ARにおける
位置情報(fx’,fy’)と2値データBP とによる
アドレス指定によって読み出される。また、分配率メモ
リ16に格納されているデータも第1の実施の形態と同
様である。
The distribution ratios W0 to W11 are read out by addressing the position information (fx ', fy') of the target pixel P in the repetition area AR and the binary data BP, as in the first embodiment. It is. The data stored in the distribution ratio memory 16 is the same as in the first embodiment.

【0061】誤差分配部17には、分配率W0 〜W11と
誤差eP の他に、未処理画素P0 〜P11に対応する入力
画像データS0 〜S11、2値データBP も導かれてい
る。そして、誤差分配部17において、まず、未処理画
素P0 〜P11の全ての入力画像データS0 〜S11を正規
化する。例えば、未処理画素P0 〜P11のうちの任意の
画素PQ (ただし、Qは0〜11の整数)について、正
規化の結果得られる画像データをSQ'とすると、「SQ'
=SQ /255」で導かれる。入力画像データSQ のダ
イナミックレンジは「0〜255」であるため、正規化
された画像データSQ'は、「0≦SQ'≦1」となる。
In addition to the distribution ratios W0 to W11 and the error eP, input image data S0 to S11 and binary data BP corresponding to the unprocessed pixels P0 to P11 are also guided to the error distribution unit 17. Then, the error distribution unit 17 first normalizes all the input image data S0 to S11 of the unprocessed pixels P0 to P11. For example, assuming that image data obtained as a result of normalization is SQ 'for an arbitrary pixel PQ (where Q is an integer of 0 to 11) among the unprocessed pixels P0 to P11, "SQ'
= SQ / 255 ". Since the dynamic range of the input image data SQ is “0 to 255”, the normalized image data SQ ′ is “0 ≦ SQ ′ ≦ 1”.

【0062】そして、誤差分配部17は、正規化された
画像データSQ'と分配率メモリ16から得られる分配率
W0 〜W11(WQ )とに基づいて分配率WQ'を導く。す
なわち、注目画素Pについての2値データBP が「1」
の場合は、
The error distribution unit 17 derives the distribution ratio WQ 'based on the normalized image data SQ' and the distribution ratios W0 to W11 (WQ) obtained from the distribution ratio memory 16. That is, the binary data BP for the target pixel P is "1".
In the case of,

【0063】[0063]

【数5】 (Equation 5)

【0064】により新たな分配率WQ'を導き、また、注
目画素Pについての2値データBP が「0」の場合は、
A new distribution ratio WQ ′ is derived from the above, and when the binary data BP for the target pixel P is “0”,

【0065】[0065]

【数6】 (Equation 6)

【0066】により新たな分配率WQ'を導く。数5又は
数6により、注目画素Pの近隣に位置する12個の未処
理画素P0 〜P11の全てについての新たな分配率W0'〜
W11'を導く。
A new distribution ratio WQ ′ is derived from the above. According to Equation 5 or Equation 6, new distribution ratios W0 'to all the 12 unprocessed pixels P0 to P11 located near the pixel of interest P are obtained.
Guide W11 '.

【0067】そして、誤差分配部17は、誤差検出部1
5から得られる誤差eP と新たな分配率W0'〜W11' と
から、2値化の未処理画素P0 〜P11のそれぞれに対し
て分配する誤差e0 〜e11を導く。具体的には、未処理
画素P0 〜P11のうちの任意の画素PQ (ただし、Qは
0〜11の整数)に対して分配される誤差eQ は、
Then, the error distribution unit 17 is provided with the error detection unit 1.
5, the errors e0 to e11 to be distributed to each of the binarized unprocessed pixels P0 to P11 are derived from the error eP obtained from No. 5 and the new distribution ratios W0 'to W11'. Specifically, an error eQ distributed to an arbitrary pixel PQ (where Q is an integer of 0 to 11) among the unprocessed pixels P0 to P11 is as follows:

【0068】[0068]

【数7】 (Equation 7)

【0069】で求められる。そして、2値化の未処理画
素P0 〜P11のそれぞれについて得られた誤差e0 〜e
11は、誤差分配部17からエラーメモリ19に送られ
る。
Is obtained. The errors e0 to e obtained for each of the binarized unprocessed pixels P0 to P11
11 is sent from the error distribution unit 17 to the error memory 19.

【0070】エラーメモリ19では、注目画素Pの近隣
に位置する2値化の未処理画素P0〜P11のそれぞれに
対して、誤差分配部17から送られてくる誤差e0 〜e
11を加算する。従って、2値化処理の進行に伴って注目
画素Pが順次に移動していくと、エラーメモリ19の各
画素には、注目画素Pの2値化による誤差が蓄積されて
いくこととなる。そして、これらの画素が注目画素Pと
なったときに、それ以前の処理よって分配された誤差の
累積値である誤差EP を加算器11に送出することとな
る。
In the error memory 19, the errors e 0 to e sent from the error distribution unit 17 for each of the binarized unprocessed pixels P 0 to P 11 located near the pixel of interest P.
Add 11 Therefore, when the pixel of interest P sequentially moves with the progress of the binarization processing, an error due to the binarization of the pixel of interest P is accumulated in each pixel of the error memory 19. Then, when these pixels become the target pixel P, the error EP, which is the accumulated value of the errors distributed by the previous processing, is sent to the adder 11.

【0071】この第2の実施の形態の画像データ形成装
置300では、注目画素Pに対する2値化処理が以上の
ように行われる。
In the image data forming apparatus 300 according to the second embodiment, the binarization process for the target pixel P is performed as described above.

【0072】この実施の形態の画像データ形成装置30
0においては、注目画素Pについて2値化の結果が
「1」の場合、上述のように、誤差eP は多くの場合に
負数となり、比較的小さな値である。そして、この場合
に数5に基づく分配率を適用すると、小さな誤差eP
を、大きな閾値が設定された画素であるとともに、入力
画像データが小さい画素に対してより多く分配すること
となる。この結果、入力画像データの小さい画素はより
小さい値となる。
The image data forming apparatus 30 of this embodiment
At 0, when the binarization result of the target pixel P is "1", the error eP is often a negative number and a relatively small value, as described above. Then, in this case, when the distribution rate based on Equation 5 is applied, a small error eP
Are allocated to pixels for which a large threshold value has been set and to pixels for which input image data is small. As a result, small pixels of the input image data have smaller values.

【0073】一方、注目画素Pについて2値化の結果が
「0」の場合、上述のように、誤差eP は多くの場合に
正数となり、比較的大きな値である。そして、この場合
に数6に基づく分配率を適用すると、大きな誤差eP
を、小さな閾値が設定された画素であるとともに、入力
画像データが大きい画素に対してより多く分配すること
となる。この結果、入力画像データの大きい画素はより
大きい値となる。
On the other hand, when the binarization result of the target pixel P is "0", the error eP is a positive number in many cases as described above, and is a relatively large value. Then, in this case, when the distribution rate based on Equation 6 is applied, a large error eP
Are distributed more to pixels for which a small threshold value is set and to which input image data is large. As a result, a large pixel of the input image data has a larger value.

【0074】すなわち、この実施の形態の場合は、画素
ごとに設定されている閾値の大小関係によって得られる
分配率W0 〜W11と、それらの画素の入力画像データS
0 からS11とに基づいて誤差eP を分配するため、網点
の形状については良好に保持されるとともに、入力画像
のコントラストが強調される傾向にある。従って、網点
形状を保持しつつも画像のエッジを乱すことのない処理
を行うことができる。
That is, in the case of this embodiment, the distribution ratios W0 to W11 obtained by the magnitude relation of the threshold value set for each pixel, and the input image data S
Since the error eP is distributed on the basis of 0 to S11, the shape of the halftone dot is maintained well and the contrast of the input image tends to be enhanced. Therefore, it is possible to perform processing that does not disturb the edge of the image while maintaining the dot shape.

【0075】言い換えれば、この実施の形態の画像デー
タ形成装置では、注目画素Pについて2値化の結果が
「1」の場合であっても、「0」の場合であっても、網
点形状を良好に維持するとともに、画像のエッジを乱さ
ない誤差eP の分配率が決定される。
In other words, in the image data forming apparatus according to the present embodiment, whether the binarization result of the target pixel P is “1” or “0”, Is maintained, and the distribution ratio of the error eP that does not disturb the edges of the image is determined.

【0076】実際に、この第2の実施の形態で示した画
像データ形成装置300で、水平方向に細線が並んだ縞
画像を処理した場合の記録画像を図8に示す。この実施
の形態においては、誤差eP を分配率WQ と入力画像デ
ータSQ とに基づいて分配することにより、網点形状を
良好に保つことができるとともに画像のエッジについて
も良好に保存することができるため、図8に示すよう
に、モアレの発生を抑制することができるとともに、細
線についても鮮明に再現されている。
FIG. 8 shows a recorded image obtained by actually processing a striped image in which fine lines are arranged in the horizontal direction in the image data forming apparatus 300 shown in the second embodiment. In this embodiment, by distributing the error eP based on the distribution ratio WQ and the input image data SQ, it is possible to keep the halftone dot shape well and to save the edges of the image well. Therefore, as shown in FIG. 8, generation of moiré can be suppressed, and fine lines are clearly reproduced.

【0077】<4.第3の実施の形態>この発明の第3
の実施の形態における画像データ形成装置300につい
て説明する。この第3の実施の形態は、第2の実施の形
態において図7に示した画像データ形成装置300と同
様であり、画像のエッジの乱れをも改善するものであ
る。
<4. Third embodiment> Third embodiment of the present invention
An image data forming apparatus 300 according to the embodiment will be described. The third embodiment is the same as the image data forming apparatus 300 shown in FIG. 7 in the second embodiment, and also improves the edge disturbance of an image.

【0078】そして、誤差分配部17では、第2の実施
の形態と同様に、正規化された画像データSQ'と分配率
メモリ16から得られる分配率W0 〜W11(WQ )とに
基づいて分配率WQ'を導く。そして、この第3の実施の
形態では、注目画素Pについての2値データBP が
「1」の場合は、
In the error distribution unit 17, distribution is performed based on the normalized image data SQ 'and distribution ratios W0 to W11 (WQ) obtained from the distribution ratio memory 16, as in the second embodiment. Leads to the rate WQ '. In the third embodiment, when the binary data BP for the target pixel P is “1”,

【0079】[0079]

【数8】 (Equation 8)

【0080】により新たな分配率WQ'を導き、また、注
目画素Pについての2値データBP が「0」の場合は、
A new distribution ratio WQ ′ is derived from the above, and when the binary data BP for the target pixel P is “0”,

【0081】[0081]

【数9】 (Equation 9)

【0082】により新たな分配率WQ'を導く。数8又は
数9により、注目画素Pの近隣に位置する12個の未処
理画素P0 〜P11の全てについての新たな分配率W0'〜
W11'を導く。ただし、入力画像データS0 〜S11が全
て「0」のときは、例外的に「WQ'=WQ 」とする。
Then, a new distribution ratio WQ ′ is derived. From Equations 8 or 9, new distribution ratios W0 'to all the twelve unprocessed pixels P0 to P11 located near the pixel of interest P are obtained.
Guide W11 '. However, when the input image data S0 to S11 are all "0", "WQ '= WQ" is exceptionally set.

【0083】そして、誤差分配部17は、誤差検出部1
5から得られる誤差eP と新たな分配率W0'〜W11' と
から、2値化の未処理画素P0 〜P11のそれぞれに対し
て分配する誤差e0 〜e11を数7により導く。そして、
2値化の未処理画素P0 〜P11のそれぞれについて得ら
れた誤差e0 〜e11は、誤差分配部17からエラーメモ
リ19に送られる。
Then, the error distribution unit 17 is provided with the error detection unit 1
The errors e0 to e11 to be distributed to each of the binarized unprocessed pixels P0 to P11 are derived from Equation 7 from the error eP obtained from Eq. 5 and the new distribution ratios W0 'to W11'. And
The errors e0 to e11 obtained for the binarized unprocessed pixels P0 to P11 are sent from the error distribution unit 17 to the error memory 19.

【0084】この第3の実施の形態の画像データ形成装
置300では、注目画素Pに対する2値化処理が以上の
ように行われる。
In the image data forming apparatus 300 according to the third embodiment, the binarization process for the target pixel P is performed as described above.

【0085】この実施の形態の画像データ形成装置30
0においては、注目画素Pについて2値化の結果が
「1」の場合、上述のように、誤差eP は多くの場合に
負数となり、比較的小さな値である。そして、この場合
に数8に基づく分配率を適用すると、小さな誤差eP
を、大きな閾値が設定された画素であるとともに、入力
画像データが小さい画素に対してより多く分配すること
となる。この結果、第2の実施の形態と同様に、入力画
像データの小さい画素はより小さい値となる。
The image data forming apparatus 30 of this embodiment
At 0, when the binarization result of the target pixel P is "1", the error eP is often a negative number and a relatively small value, as described above. Then, in this case, when the distribution rate based on Equation 8 is applied, a small error eP
Are allocated to pixels for which a large threshold value has been set and to pixels for which input image data is small. As a result, as in the second embodiment, a small pixel of the input image data has a smaller value.

【0086】一方、注目画素Pについて2値化の結果が
「0」の場合、上述のように、誤差eP は多くの場合に
正数となり、比較的大きな値である。そして、この場合
に数9に基づく分配率を適用すると、大きな誤差eP
を、小さな閾値が設定された画素であるとともに、入力
画像データが大きい画素に対してより多く分配すること
となる。この結果、第2の実施の形態と同様に、入力画
像データの大きい画素はより大きい値となる。
On the other hand, when the binarization result of the pixel of interest P is "0", the error eP is a positive number in many cases as described above, and is a relatively large value. Then, in this case, when the distribution rate based on Equation 9 is applied, a large error eP
Are distributed more to pixels for which a small threshold value is set and to which input image data is large. As a result, as in the second embodiment, a large pixel of the input image data has a larger value.

【0087】すなわち、この実施の形態の場合は、第2
の実施の形態と同様に、画素ごとに設定されている閾値
の大小関係によって得られる分配率W0 〜W11と、それ
らの画素の入力画像データS0 からS11とに基づいて誤
差eP を分配するため、網点の形状については良好に保
持されるとともに、入力画像のコントラストが強調され
る傾向にある。従って、網点形状を保持しつつも画像の
エッジを乱すことのない処理を行うことができる。
That is, in the case of this embodiment, the second
In the same manner as in the embodiment, in order to distribute the error eP based on the distribution ratios W0 to W11 obtained by the magnitude relation of the threshold values set for each pixel and the input image data S0 to S11 of those pixels, The shape of the halftone dots is kept well and the contrast of the input image tends to be enhanced. Therefore, it is possible to perform processing that does not disturb the edge of the image while maintaining the dot shape.

【0088】実際に、この第3の実施の形態で示した画
像データ形成装置300で、水平方向に細線が並んだ縞
画像を処理した場合の記録画像を図9に示す。この実施
の形態においても、誤差eP を分配率WQ と入力画像デ
ータSQ とに基づいて分配することにより、網点形状を
良好に保つことができるとともに画像のエッジについて
も良好に保存することができるため、図9に示すよう
に、モアレの発生を抑制することができるとともに、細
線についても鮮明に再現されている。
FIG. 9 shows a recorded image obtained by actually processing a stripe image in which fine lines are arranged in the horizontal direction in the image data forming apparatus 300 shown in the third embodiment. Also in this embodiment, by distributing the error eP based on the distribution ratio WQ and the input image data SQ, the halftone dot shape can be kept good and the edges of the image can be well preserved. Therefore, as shown in FIG. 9, generation of moiré can be suppressed, and fine lines are clearly reproduced.

【0089】<5.変形例>上記第1ないし第3の実施
の形態で示した画像データ形成装置300において、分
配率メモリ16に2値データBP を入力させていたが、
この2値データBPの代わりに誤差eP の符号ビットを
使用しても良い。
<5. Modification> In the image data forming apparatus 300 shown in the first to third embodiments, the binary data BP is input to the distribution ratio memory 16.
Instead of the binary data BP, a sign bit of the error eP may be used.

【0090】また、上記各実施の形態をカラー画像の処
理に適用する場合は、各色成分について同様の処理を行
うように構成すれば良い。
When each of the above embodiments is applied to processing of a color image, the same processing may be performed for each color component.

【0091】さらに、図3,図7では、画像データ形成
装置300をハードウェアで構成した場合のブロック図
を示したが、この画像データ形成装置300はコンピュ
ータに所定の処理プログラムを実行させることによって
実現することも可能である。すなわち、図3,図7に示
した各ブロックにおける信号変換などの処理をプログラ
ムで実現しても良い。
Further, FIGS. 3 and 7 show a block diagram in the case where the image data forming apparatus 300 is constituted by hardware. However, the image data forming apparatus 300 is realized by causing a computer to execute a predetermined processing program. It is also possible to realize. That is, processing such as signal conversion in each block shown in FIGS. 3 and 7 may be realized by a program.

【0092】[0092]

【発明の効果】以上説明したように、請求項1又は請求
項3に記載の発明によれば、2値化対象である注目画素
の入力画像データに対して既に2値化処理が施された画
素から生じた誤差の累積値を加算することによって誤差
加算データを生成し、注目画素の位置に対応する網点を
形成するための閾値と誤差加算データとを比較すること
によって注目画素に対する2値化処理を行い、注目画素
に対する2値化処理によって発生する誤差を検出し、注
目画素に対する2値化処理の結果が論理値としての
「1」である場合には、所定の領域内に含まれる複数の
画素に対して、それぞれの画素に対応する閾値が大きい
順に、誤差をより多く分配する一方、注目画素に対する
2値化処理の結果が論理値としての「0」である場合に
は、所定の領域内に含まれる複数の画素に対して、それ
ぞれの画素に対応する閾値が小さい順に、誤差をより多
く分配するため、網点形状を良好に保つことができ、記
録画像におけるモアレの発生などの画質の低下を抑制す
ることができる。
As described above, according to the first or third aspect of the present invention, the input image data of the target pixel to be binarized has already been subjected to the binarization processing. Error addition data is generated by adding the accumulated values of errors generated from the pixels, and a threshold value for forming a halftone dot corresponding to the position of the pixel of interest is compared with the error addition data to generate a binary value for the pixel of interest. Error is generated by the binarization process for the pixel of interest, and if the result of the binarization process for the pixel of interest is “1” as a logical value, it is included in a predetermined area. While a larger error is distributed to a plurality of pixels in descending order of the threshold value corresponding to each pixel, if the result of the binarization process for the target pixel is “0” as a logical value, Within the area of For a plurality of pixels to be processed, more errors are distributed in ascending order of the threshold value corresponding to each pixel, so that the halftone dot shape can be kept good, and the image quality such as the occurrence of moire in the recorded image can be reduced. Can be suppressed.

【0093】請求項2又は請求項4に記載の発明によれ
ば、注目画素に対する2値化処理の結果が論理値として
の「1」である場合には、所定の領域内に含まれる複数
の画素に対して、それぞれの画素についての画像データ
が小さい順に、さらに誤差をより多く分配する一方、注
目画素に対する2値化処理の結果が論理値としての
「0」である場合には、所定の領域内に含まれる複数の
画素に対して、それぞれの画素についての画像データが
大きい順に、さらに誤差をより多く分配するため、網点
形状を良好に保つことができるとともに、画像のエッジ
についても良好に保存されるため、記録画像におけるモ
アレの発生などの画質の低下を良好に抑制することがで
きる。
According to the second or fourth aspect of the present invention, when the result of the binarization process for the target pixel is "1" as a logical value, a plurality of pixels included in a predetermined area While a larger error is distributed to the pixels in the order of smaller image data for each pixel, if the result of the binarization processing for the pixel of interest is “0” as a logical value, a predetermined For a plurality of pixels included in the region, more errors are distributed in the order of larger image data for each pixel, so that the halftone dot shape can be kept good and the edges of the image are also good. Therefore, deterioration in image quality such as occurrence of moire in a recorded image can be favorably suppressed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の実施の形態が適用される画像処理シ
ステムの構成の概略図である。
FIG. 1 is a schematic diagram of a configuration of an image processing system to which an embodiment of the present invention is applied;

【図2】p行q列の画素から構成される画像を示す図で
ある。
FIG. 2 is a diagram showing an image composed of pixels in p rows and q columns.

【図3】この発明の第1の実施の形態における画像デー
タ形成装置の構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration of an image data forming apparatus according to the first embodiment of the present invention.

【図4】この発明の第1の実施の形態における画像デー
タ形成装置で得られる記録画像を示す図である。
FIG. 4 is a diagram showing a recorded image obtained by the image data forming apparatus according to the first embodiment of the present invention.

【図5】均等に誤差を分配した場合の記録画像を示す図
である。
FIG. 5 is a diagram showing a recorded image when errors are evenly distributed.

【図6】この発明の第1の実施の形態の画像データ形成
装置において細線画像を処理した際の記録画像を示す図
である。
FIG. 6 is a diagram illustrating a recorded image when a thin line image is processed in the image data forming apparatus according to the first embodiment of the present invention.

【図7】この発明の第2の実施の形態における画像デー
タ形成装置の構成を示すブロック図である。
FIG. 7 is a block diagram illustrating a configuration of an image data forming apparatus according to a second embodiment of the present invention.

【図8】この発明の第2の実施の形態の画像データ形成
装置において細線画像を処理した際の記録画像を示す図
である。
FIG. 8 is a diagram illustrating a recorded image when a thin line image is processed in the image data forming apparatus according to the second embodiment of the present invention.

【図9】この発明の第3の実施の形態の画像データ形成
装置において細線画像を処理した際の記録画像を示す図
である。
FIG. 9 is a diagram illustrating a recorded image when a thin line image is processed in the image data forming apparatus according to the third embodiment of the present invention.

【図10】網点形成の方法について説明するための図で
ある。
FIG. 10 is a diagram for explaining a halftone dot forming method.

【図11】従来の網点形成による記録画像を示す図であ
る。
FIG. 11 is a diagram showing a recorded image by the conventional halftone dot formation.

【図12】従来の網点形成により細線画像を記録した際
の記録画像を示す図である。
FIG. 12 is a diagram showing a recorded image when a thin line image is recorded by the conventional halftone dot formation.

【符号の説明】[Explanation of symbols]

11 加算器 12 メモリアドレス発生部 13 閾値メモリ 14 2値化部 15 誤差分配部 16 分配率メモリ 17 誤差分配部 19 エラーメモリ 300 画像データ形成装置 DESCRIPTION OF SYMBOLS 11 Adder 12 Memory address generation part 13 Threshold memory 14 Binarization part 15 Error distribution part 16 Distribution rate memory 17 Error distribution part 19 Error memory 300 Image data forming device

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画素ごとに入力する多値の入力画像デー
タに2値化処理を施して2値化済の画像データを生成す
る方法であって、 (a) 2値化対象である注目画素の前記入力画像データに
対して既に前記2値化処理が施された画素から生じた誤
差の累積値を加算することによって誤差加算データを生
成する工程と、 (b) 前記注目画素の位置に対応する網点を形成するため
の閾値と前記誤差加算データとを比較することによって
前記注目画素に対する前記2値化処理を行う工程と、 (c) 前記注目画素に対する前記2値化処理によって発生
する誤差を検出する工程と、 (d) 前記注目画素に対する前記2値化処理の結果が論理
値としての「1」である場合には、所定の領域内に含ま
れる複数の画素に対して、それぞれの画素に対応する閾
値が大きい順に、前記誤差をより多く分配する工程と、 (e) 前記注目画素に対する前記2値化処理の結果が論理
値としての「0」である場合には、前記所定の領域内に
含まれる複数の画素に対して、それぞれの画素に対応す
る閾値が小さい順に、前記誤差をより多く分配する工程
と、を有することを特徴とする画像データ形成方法。
1. A method of performing binarization processing on multi-valued input image data input for each pixel to generate binarized image data, comprising: (a) a target pixel to be binarized Generating error addition data by adding a cumulative value of errors generated from pixels that have already been subjected to the binarization processing to the input image data of (b) corresponding to the position of the pixel of interest Performing a binarization process on the target pixel by comparing a threshold value for forming a halftone dot with the error addition data, and (c) an error generated by the binarization process on the target pixel. And (d) when the result of the binarization processing on the pixel of interest is “1” as a logical value, a plurality of pixels included in a predetermined area are In the descending order of the threshold value corresponding to the pixel, And (e) when the result of the binarization process for the pixel of interest is “0” as a logical value, a plurality of pixels included in the predetermined area And distributing the error more in ascending order of the threshold value corresponding to each pixel.
【請求項2】 請求項1に記載の方法において、 前記工程(d) は、 (d-1) 前記注目画素に対する前記2値化処理の結果が論
理値としての「1」である場合には、前記所定の領域内
に含まれる複数の画素に対して、それぞれの画素につい
ての画像データが小さい順に、さらに前記誤差をより多
く分配する工程、を有し、 前記工程(e) は、 (e-1) 前記注目画素に対する前記2値化処理の結果が論
理値としての「0」である場合には、前記所定の領域内
に含まれる複数の画素に対して、それぞれの画素につい
ての画像データが大きい順に、さらに前記誤差をより多
く分配する工程、を有することを特徴とする画像データ
形成方法。
2. The method according to claim 1, wherein the step (d) includes: (d-1) when a result of the binarization processing on the target pixel is “1” as a logical value; For a plurality of pixels included in the predetermined area, further distributes the error more in order of image data for each pixel, the step (e), (e) -1) If the result of the binarization process for the target pixel is “0” as a logical value, the image data for each pixel is output for a plurality of pixels included in the predetermined region. A step of further distributing the error in ascending order of magnitude.
【請求項3】 画素ごとに入力する多値の入力画像デー
タに2値化処理を施して2値化済の画像データを生成す
る装置であって、 (a) 2値化対象である注目画素の前記入力画像データに
対して既に前記2値化処理が施された画素から生じた誤
差の累積値を加算することによって誤差加算データを生
成する加算手段と、 (b) 前記注目画素の位置に対応する網点を形成するため
の閾値と前記誤差加算データとを比較することによって
前記注目画素に対する前記2値化処理を行う2値化手段
と、 (c) 前記2値化手段における前記2値化処理によって発
生する誤差を検出する誤差検出手段と、 (d) 前記注目画素に対する前記2値化処理の結果が論理
値としての「1」である場合には、所定の領域内に含ま
れる複数の画素に対して、それぞれの画素に対応する閾
値が大きい順に、前記誤差の分配率を大きく設定すると
ともに、前記注目画素に対する前記2値化処理の結果が
論理値としての「0」である場合には、前記所定の領域
内に含まれる複数の画素に対して、それぞれの画素に対
応する閾値が小さい順に、前記誤差の分配率を大きく設
定する分配率設定手段と、 (e) 前記分配率設定手段によって得られた分配率に基づ
いて所定の領域内に含まれる複数の画素に対して前記誤
差を分配する誤差分配手段と、を備えることを特徴とす
る画像データ形成装置。
3. An apparatus for performing binarization processing on multivalued input image data input for each pixel to generate binarized image data, comprising: (a) a target pixel to be binarized; Adding means for generating error addition data by adding a cumulative value of errors generated from pixels that have already been subjected to the binarization processing to the input image data of (b) at the position of the pixel of interest Binarizing means for performing the binarizing process on the pixel of interest by comparing a threshold value for forming a corresponding halftone dot with the error-added data; and (c) the binarizing means in the binarizing means. Error detection means for detecting an error generated by the binarization process; and (d) when a result of the binarization process for the pixel of interest is “1” as a logical value, a plurality of pixels included in a predetermined area Pixels corresponding to each pixel In the descending order of the threshold value, the error distribution ratio is set to be large, and when the result of the binarization process for the target pixel is “0” as a logical value, a plurality of errors included in the predetermined region are included. A distribution ratio setting unit that sets the distribution ratio of the error to be large in the order of smaller threshold values corresponding to the pixels, and (e) a predetermined distribution ratio based on the distribution ratio obtained by the distribution ratio setting unit. And an error distribution unit that distributes the error to a plurality of pixels included in the region.
【請求項4】 請求項3に記載の装置において、 前記分配率設定手段は、 (d-1) 前記注目画素に対する前記2値化処理の結果が論
理値としての「1」である場合には、前記所定の領域内
に含まれる複数の画素に対して、それぞれの画素につい
ての画像データが小さい順に、さらに前記誤差の分配率
を大きく設定するとともに、前記注目画素に対する前記
2値化処理の結果が論理値としての「0」である場合に
は、前記所定の領域内に含まれる複数の画素に対して、
それぞれの画素についての画像データが大きい順に、さ
らに前記誤差の分配率を大きく設定する手段、を備える
ことを特徴とする画像データ形成装置。
4. The apparatus according to claim 3, wherein the distribution ratio setting means is configured to: (d-1) when the result of the binarization processing on the pixel of interest is “1” as a logical value , For a plurality of pixels included in the predetermined region, the distribution ratio of the error is set to be larger in the order of smaller image data for each pixel, and the result of the binarization process for the pixel of interest is Is a logical value “0”, a plurality of pixels included in the predetermined area are
Means for setting the error distribution rate to be larger in the order of larger image data for each pixel.
JP10022014A 1998-02-03 1998-02-03 Method for forming image data and device therefor Pending JPH11220626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10022014A JPH11220626A (en) 1998-02-03 1998-02-03 Method for forming image data and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10022014A JPH11220626A (en) 1998-02-03 1998-02-03 Method for forming image data and device therefor

Publications (1)

Publication Number Publication Date
JPH11220626A true JPH11220626A (en) 1999-08-10

Family

ID=12071155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10022014A Pending JPH11220626A (en) 1998-02-03 1998-02-03 Method for forming image data and device therefor

Country Status (1)

Country Link
JP (1) JPH11220626A (en)

Similar Documents

Publication Publication Date Title
US4339774A (en) Apparatus and method for generating a dispersed dot half tone picture from a continuous tone picture
US7158264B2 (en) Method of determining threshold array for generating gradation image
JP3603906B2 (en) Image signal binarization processing apparatus and method
JP2003046777A (en) Mask creation method, image processing apparatus, software program, and mask data
US7532365B2 (en) Threshold matrix generation method, threshold matrix generation apparatus, and recording medium
US20020186417A1 (en) Method of correcting threshold array, dot pattern data structure, method of correcting pixel layout of image, and method of determining threshold array for generating image
JPH03131173A (en) Picture processing system
JPH1070659A (en) Error spread method and system
EP0342845B1 (en) Producing half-tone images
JPH0785272A (en) Frequency modulation halftone image and method of making
JP4068181B2 (en) Multilevel gradation pixel value level reduction method and system
JP2821806B2 (en) Color image information processing method
JPH0550187B2 (en)
JPS63102473A (en) Image signal processing device
JPH0546749B2 (en)
JP3402118B2 (en) Image signal processing method and image signal processing device
JP2966848B2 (en) Image processing method
JPH01256870A (en) Halftone image reproduction method
JP3089857B2 (en) Image processing method used for halftone image reproduction
JP2913867B2 (en) Color image processing method
JPS63102474A (en) Image signal processing device
JP3089688B2 (en) Image information processing method
JPH0350960A (en) Image signal processing device
JP3057809B2 (en) Image information processing method
JPS63155950A (en) Picture signal processor