JP3033440B2 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method

Info

Publication number
JP3033440B2
JP3033440B2 JP6153270A JP15327094A JP3033440B2 JP 3033440 B2 JP3033440 B2 JP 3033440B2 JP 6153270 A JP6153270 A JP 6153270A JP 15327094 A JP15327094 A JP 15327094A JP 3033440 B2 JP3033440 B2 JP 3033440B2
Authority
JP
Japan
Prior art keywords
cyan
magenta
yellow
color
pixel
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
JP6153270A
Other languages
Japanese (ja)
Other versions
JPH0818805A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP6153270A priority Critical patent/JP3033440B2/en
Publication of JPH0818805A publication Critical patent/JPH0818805A/en
Application granted granted Critical
Publication of JP3033440B2 publication Critical patent/JP3033440B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置及び画像処
理方法に関し、更に詳細には、カラーの中間調画像を2
値化して疑似中間調のカラー画像データを作成する機能
を備えた、たとえば、ディジタル式のカラー複写機や、
カラープリンタ等における画像処理装置及び画像処理方
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and an image processing apparatus.
Relates management method, more particularly, a halftone image of a color 2
With the function of creating pseudo-halftone color image data by digitizing, for example, a digital color copier,
Image processing device and image processing method for color printer, etc.
It is about the law .

【0002】[0002]

【従来の技術】従来、中間調画像を2値化して疑似中間
調の画像を作成する場合の手段としては、閾値のマトリ
クス(ディザマトリックス)テーブルに従って画像を2
値化していく組織的ディザ法等の各種ディザ法が広く用
いられている。しかしながら、これら従来の方式は、階
調再現性を良くするためにはマトリクステーブルを大き
くする必要があり、高解像度を得るためにはマトリクス
テーブルを小さくしなければならないという矛盾がある
ため、階調再現性と高解像度との両立が困難であった。
2. Description of the Related Art Conventionally, as a means for generating a pseudo halftone image by binarizing a halftone image, an image is converted to a binary image according to a threshold matrix (dither matrix) table.
Various dithering methods, such as a systematic dithering method, are increasingly used. However, these conventional methods have a contradiction that the matrix table needs to be enlarged in order to improve the tone reproducibility, and the matrix table must be reduced in order to obtain high resolution. It was difficult to achieve both reproducibility and high resolution.

【0003】また、これとは別に階調再現性と高解像度
とが両立する方法として、誤差拡散法があり、各種従来
法の中では、比較的良い評価が与えられている。
In addition to the above, there is an error diffusion method as a method for achieving both gradation reproducibility and high resolution, and a relatively good evaluation is given among various conventional methods.

【0004】ここで、従来から提案されている誤差拡散
法の処理手順について、図3〜図5を参照して説明す
る。
Here, a processing procedure of a conventionally proposed error diffusion method will be described with reference to FIGS.

【0005】図3は、従来から提案されている誤差拡散
法を実現する画像処理装置の概略の構成を示すブロック
回路図であり、図4は、その処理手順を示すフローチャ
ート、図5は、誤差拡散法における誤差の分配方法の一
例を示す説明図である。
FIG. 3 is a block circuit diagram showing a schematic configuration of an image processing apparatus for realizing the conventionally proposed error diffusion method. FIG. 4 is a flowchart showing the processing procedure, and FIG. FIG. 4 is an explanatory diagram showing an example of an error distribution method in a diffusion method.

【0006】まず、図3に示される画像処理装置は、デ
ィジタル信号として入力した中間調の原画像データを記
憶する原画像記憶装置(画像メモリ)2と、ワーキング
レジスタあるいはバツファとして使用されるランダムア
クセスメモリ(RAM)3と、リードオンリメモリ(R
OM)4と、あらかじめROM4に記憶されているプロ
グラムに従って所定の制御動作を実行することにより各
種画像処理を行なう中央処理装置(CPU)5と、2値
化処理を施した疑似中間調の画像データを記憶する出力
画像記憶装置(画像メモリ)6とから構成されている。
なお、ROM4には、誤差拡散法により配分される周辺
画素の重み付け係数マトリクスや、2値化の基準となる
閾値Tなどが記憶されている。
First, an image processing apparatus shown in FIG. 3 includes an original image storage device (image memory) 2 for storing halftone original image data input as a digital signal, and a random access used as a working register or a buffer. Memory (RAM) 3 and read-only memory (R
OM) 4, a central processing unit (CPU) 5 for performing various image processing by executing a predetermined control operation in accordance with a program stored in advance in the ROM 4, and pseudo halftone image data subjected to binarization processing And an output image storage device (image memory) 6 for storing
Note that the ROM 4 stores a weighting coefficient matrix of peripheral pixels distributed by the error diffusion method, a threshold T as a reference for binarization, and the like.

【0007】前記中央処理装置(CPU)5は、図4に
示される手順を実行することにより、原画像記憶装置
(画像メモリ)2にあらかじめ入力された中間調の原画
像データを、誤差拡散法により2値化して疑似中間調の
画像データを作成し、その疑似中間調の2値化データ
を、出力画像記憶装置(画像メモリ)6に記憶する。
The central processing unit (CPU) 5 executes the procedure shown in FIG. 4 to convert the halftone original image data previously input to the original image storage device (image memory) 2 by the error diffusion method. To generate pseudo halftone image data, and store the pseudo halftone binary data in the output image storage device (image memory) 6.

【0008】以下、その詳細を説明すると、まず、図4
のステップS1において、CPU5は、画像メモリ2か
ら注目画素の入力濃度値Iを取り出す。次いで、ステッ
プS2にて、ROM4から2値化処理に用いる閾値Tを
読み出す。この閾値Tは、従来、全ての入力データに対
して同じ値が用いられ、一般には入力データ範囲の中間
値、例えば、256階調の画像データの場合は、入力濃
度値Iが0〜255の範囲で変化するので、その中間値
の「128」が閾値Tとして用いられることが多い。
The details will be described below. First, FIG.
In step S1, the CPU 5 extracts the input density value I of the pixel of interest from the image memory 2. Next, in step S2, a threshold value T used for the binarization processing is read from the ROM 4. Conventionally, the same value is used as this threshold value T for all input data. Generally, in the case of image data of 256 gradations, for example, when the input density value I is 0 to 255, Since the value varies within the range, the intermediate value “128” is often used as the threshold T.

【0009】次に、ステップS3にて、RAM3から、
注目画素に配分された周辺画素の2値化誤差の「重み付
け誤差和E」を読み出し、先に画像メモリ2から読み出
した注目画素の入力濃度値Iに加算して、補正入力濃度
I’を求める。
Next, at step S3, the RAM 3
The "weighted error sum E" of the binarization error of the peripheral pixels distributed to the target pixel is read, and added to the input density value I of the target pixel previously read from the image memory 2 to obtain a corrected input density I '. .

【0010】そして、ステップS4にて、閾値Tと補正
入力濃度I’とを比較して、注目画素の出力濃度Oを決
定する。すなわち、I’≧Tの場合、出力濃度Oは「2
55」となり(ステップS5)、I’<Tの場合、出力
濃度Oは「0」となる(ステップS6)。
In step S4, the output density O of the target pixel is determined by comparing the threshold value T with the corrected input density I '. That is, when I ′ ≧ T, the output density O becomes “2
55 ”(step S5), and if I ′ <T, the output density O becomes“ 0 ”(step S6).

【0011】以上により決定された注目画素の出力濃度
値が「255」であれば、「1」の2値化データを、出
力濃度値が「0」であれば、「0」の2値化データを、
画像メモリ6に書き込むとともに(ステップS7)、こ
の注目画素で発生した2値化誤差e(補正入力濃度I’
から出力濃度値Oを引いたもの)を求め(ステップS
8)、周辺画素に分配する。すなわち、誤差の拡散を行
う。
If the output density value of the pixel of interest determined as described above is "255", the binary data of "1" is converted to the binary data of "0" if the output density value is "0". Data
The data is written into the image memory 6 (step S7), and the binarization error e (corrected input density I '
Is subtracted from the output density value O) (step S).
8) Distribute to peripheral pixels. That is, error diffusion is performed.

【0012】この分配に当たっては、たとえば、図5に
示すように、注目画素「*」の2値化誤差eを、どの周
辺画素にどのような割合で分配するかを、「重み付け係
数マトリクス」としてあらかじめ記憶しているROM4
の内容を参照する。
In this distribution, for example, as shown in FIG. 5, a ratio of the binarization error e of the pixel of interest “*” to which peripheral pixels and at what ratio is determined as a “weighting coefficient matrix”. ROM4 stored in advance
Refer to the contents of

【0013】そして、注目画素と周辺画素との位置関係
から、対応する画素の係数値を取り出し、これを注目画
素の2値化誤差eに乗算することによって、分配すべき
各周辺画素毎の誤差値を求める。この誤差値は、RAM
3の一部に割り当てられたバッファ、すなわち、各周辺
画素に分配された誤差値を、各画素毎に累積して「重み
付け誤差和E」として記憶する2値化誤差和記憶用のバ
ッファに加算し、次の画素の2値化処理に備える(ステ
ップS9,10)。
Then, the coefficient value of the corresponding pixel is extracted from the positional relationship between the target pixel and the peripheral pixel, and the coefficient value is multiplied by the binarization error e of the target pixel, thereby obtaining the error for each peripheral pixel to be distributed. Find the value. This error value is stored in RAM
3 is added to a buffer allocated to a part of the pixel, that is, a buffer for storing a binarized error sum that stores the error value distributed to each peripheral pixel for each pixel and stores it as a “weighted error sum E”. Then, it prepares for the binarization processing of the next pixel (steps S9 and S10).

【0014】上記の処理を、各画素毎に行なう。The above processing is performed for each pixel.

【0015】[0015]

【発明が解決しようとする課題】しかしながら、上記し
たような誤差拡散法を適用して、カラーの中間調画像を
2値化して疑似中間調のカラー画像データを作成する画
像処理装置、たとえば、ディジタル式のカラー複写機
や、熱転写あるいはインクジェット等のカラープリンタ
等における画像処理装置においては、次のような問題点
があった。
However, an image processing apparatus, for example, a digital processing apparatus for generating a pseudo halftone color image data by binarizing a color halftone image by applying the error diffusion method as described above. The following problems have been encountered in image processing apparatuses in color copiers of the type or color printers such as thermal transfer or ink jet printers.

【0016】すなわち、注目画素の2値化においては、
すでに2値化された周辺画素の影響を受けるため、原画
像のシアン(C)、マゼンタ(M)、イエロー(Y)の
濃度値が一致している領域においても、C、M、Yの記
録画素が重なる場合と、重ならない場合とがあり、その
ため、グレーの再現性に差が出るという問題が発生して
いた。
That is, in the binarization of the target pixel,
Since the peripheral pixels are already binarized, C, M, and Y are recorded even in areas where the density values of cyan (C), magenta (M), and yellow (Y) of the original image match. There is a case where the pixels overlap and a case where the pixels do not overlap, which causes a problem that the reproducibility of gray is different.

【0017】たとえば、原画像の先頭部にC、M、Yの
濃度値が一致する領域がある場合、注目画素に配分され
る2値化誤差は等しいので、C、M、Yの記録画素の配
置が一致し、このため、グレーが再現される。
For example, if there is an area where the density values of C, M, and Y coincide with each other at the head of the original image, the binarization errors distributed to the target pixel are equal, so that the C, M, and Y recording pixels The arrangements match, so that gray is reproduced.

【0018】ところが、原画像の中央部等にカラー画像
が存在する場合、その色成分により、注目画素に配分さ
れる2値化誤差の値が異なるために、C、M、Yの濃度
値が一致していても、C、M、Yの記録画素の配置がず
れ、グレーがうまく再現されないことがある。
However, when a color image exists at the center of the original image or the like, the value of the binarization error distributed to the target pixel differs depending on the color component. Even if they match, the arrangement of the C, M, and Y recording pixels may shift, and gray may not be reproduced well.

【0019】本発明は、上述した問題点を解決するため
になされたものであり、配分される2値化誤差にかかわ
らず、グレーの再現性のよい疑似中間調のカラー画像デ
ータを作成できる画像処理装置及び画像処理方法を提供
することを目的としている。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and is capable of producing pseudo-halftone color image data with good gray reproducibility regardless of the binarization error to be distributed. It is an object to provide a processing device and an image processing method .

【0020】[0020]

【課題を解決するための手段】この目的を達成するため
請求項1に記載の発明の画像処理装置においては、カ
ラーの中間調画像を2値化して疑似中間調のカラー画像
データを作成する画像処理装置において、シアン、マゼ
ンタ、イエローの濃度値が一致している画素があれば、
そのシアン、マゼンタ、イエローの濃度値を黒色に置き
換える色データ置換手段と、その色データ置換手段によ
って置換されたあとの濃度値をもとに誤差拡散法によっ
て2値化処理を行う2値化処理手段とを備えることを特
徴としている。
In order to achieve this object, in the image processing apparatus according to the present invention, a color halftone image is binarized to generate pseudo halftone color image data. In the image processing apparatus, if there is a pixel whose cyan, magenta, and yellow density values match,
A color data replacing means for replacing the density values of cyan, magenta and yellow with black, and a binarization processing for performing a binary processing by an error diffusion method based on the density values replaced by the color data replacing means Means.

【0021】また、請求項2に記載の発明の画像処理方
法においては、カラーの中間調画像を2値化して疑似中
間調のカラー画像データを作成する画像処理方法におい
て、2値化処理を行う前に、あらかじめ全画素を対象と
して、シアン、マゼンタ、イエローの濃度値が一致して
いる画素があるか否かを調べ、もし、一致している画素
があれば、その画素のシアン、マゼンタ、イエローの濃
度値を黒色に置き換え、その置換後のシアン、マゼン
タ、イエローおよび黒色の各濃度値をもとに、誤差拡散
法によって2値化処理を行うことを特徴としている。
An image processing method according to the second aspect of the present invention.
In the method, a color halftone image is binarized
Image processing method for creating halftone color image data
Before performing the binarization process,
And the density values of cyan, magenta, and yellow match
Check if there is a pixel that is
If there is, the cyan, magenta, and yellow
Replace the degree value with black, and replace cyan and magenta
Error diffusion based on the density values of
It is characterized in that a binarization process is performed by a method.

【0022】さらに、請求項3に記載の発明の画像処理
方法においては、請求項2記載の画像処理方法におい
て、置換後のシアン、マゼンタ、イエローおよび黒色の
各濃度値をもとに、いずれか1色の2値化処理を全画素
にわたって行い、その後に別の色の2値化処理に移行す
ることを特徴としている。 また、請求項4に記載の発明
の画像処理方法においては、請求項2記載の画像処理方
法において、置換後のシアン、マゼンタ、イエローおよ
び黒色の各濃度値をもとに、注目画素の2値化処理を全
色にわたって行い、その後に次の注目画素の2値化処理
に移行することを特徴としている。 さらに、請求項5に
記載の発明の画像処理方法においては、カラーの中間調
画像を2値化して疑似中間調のカラー画像データを作成
する画像処理方法において、各画素に注目して2値化処
理を行う前に、その注目画素のシアン、マゼンタ、イエ
ローの濃度値が一致しているか否かを調べ、もし一致し
ていれば、その注目画素のシアン、マゼンタ、イエロー
の濃度値を黒色に置き換え、その置換後のシアン、マゼ
ンタ、イエローおよび黒色の各濃度値にもとづいて、誤
差拡散法によって2値化処理を行い、その後に次の注目
画素のシアン、マゼンタ、イエローの濃度値が一致して
いるか否かを調べる処理動作に移行することを特徴とし
ている。
Further, the image processing according to the third aspect of the present invention.
The method according to claim 2, wherein
To replace the cyan, magenta, yellow, and black
Based on each density value, binarize one color for all pixels
And then proceed to another color binarization process
It is characterized by that. The invention according to claim 4
3. The image processing method according to claim 2, wherein
Method, the substituted cyan, magenta, yellow and yellow
The binarization process for the pixel of interest is fully performed based on the density values of black and black.
Performs over the color, and then binarizes the next pixel of interest
The feature is that it shifts to. Further, in claim 5
In the image processing method of the invention described above, the color halftone
Creates pseudo-halftone color image data by binarizing the image
In the image processing method, the binarization processing is performed by focusing on each pixel.
Before processing, the cyan, magenta,
Check if the density values of the rows match, and if
If there is, the cyan, magenta, yellow of the pixel of interest
Is replaced with black, and the cyan, maze
Error based on the density values of
Binary processing is performed by the difference diffusion method, and then the next attention
If the density values of cyan, magenta, and yellow of the pixels match,
It is characterized in that the process shifts to a processing operation for checking whether or not there is an error .

【0023】[0023]

【作用】上記の構成を有する本発明の画像処理装置及び
画像処理方法においては、カラーの中間調画像を2値化
処理手段によって2値化処理を行う前に、あらかじめシ
アン、マゼンタ、イエローの濃度値が一致している画素
があれば、色データ置換手段によってその画素のシア
ン、マゼンタ、イエローの濃度値を黒色に置き換え、そ
の置換後のシアン、マゼンタ、イエローおよび黒色の各
濃度値にもとづいて、誤差拡散法により2値化処理を行
う。このため、誤差拡散法によって配分される2値化誤
差にかかわらず、グレーの再現性のよい疑似中間調のカ
ラー画像データを作成することができる。
According to the present invention, there is provided an image processing apparatus having the above-described configuration, and
In the image processing method , if there is a pixel whose cyan, magenta, and yellow density values match beforehand before the binarization processing of the color halftone image by the binarization processing unit, the color data replacement unit Then, the cyan, magenta, and yellow density values of the pixel are replaced with black, and based on the replaced cyan, magenta, yellow, and black density values, binarization processing is performed by an error diffusion method. Therefore, irrespective of the binarization error distributed by the error diffusion method, pseudo halftone color image data with good gray reproducibility can be created.

【0024】[0024]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0025】なお、本実施例の画像処理装置の概略構成
は、図3に示される画像処理装置とほぼ同様の回路構成
であって、2値化処理手段として機能する中央処理装置
(CPU)5が、色データ置換手段としても機能するよ
うに構成されている点が相違する。
The schematic configuration of the image processing apparatus of the present embodiment is substantially the same as that of the image processing apparatus shown in FIG. 3, and has a central processing unit (CPU) 5 functioning as a binarization processing means. However, they differ in that they are configured to also function as color data replacement means.

【0026】すなわち、CPU5は、画像メモリ2に、
カラーの中間調画像として一画面に含まれる全画素の色
データを入力したのち、誤差拡散法による2値化処理を
行う前に、図2に示される手順に従って、色データ置換
処理を行う。
That is, the CPU 5 stores in the image memory 2
After inputting the color data of all the pixels included in one screen as a color halftone image, before performing the binarization processing by the error diffusion method, the color data replacement processing is performed according to the procedure shown in FIG.

【0027】具体的には、画像メモリ2に記憶されてい
る一画面の全画素を対象として、シアン(C)、マゼン
タ(M)、イエロー(Y)の濃度値が一致している画素
があるか否かを調べ、もし一致している画素があれば、
C、M、Yの濃度値を黒色に置き換える。
More specifically, for all pixels of one screen stored in the image memory 2, there are pixels whose cyan (C), magenta (M), and yellow (Y) density values match. Check if there is a matching pixel,
The density values of C, M, and Y are replaced with black.

【0028】以下、図2を参照して色データの置換手順
について説明する。
The procedure for replacing color data will now be described with reference to FIG.

【0029】まず、ステップS11において、画像メモ
リ2から注目画素の入力濃度値C、M、Y、Kを取り出
し、入力濃度値C、M、Yが一致しているか否かを調べ
る(ステップS12)。そして、入力濃度値C、M、Y
が一致している場合には、下記の式1に従って、置換入
力濃度C’、M’、Y’、K’を求める(ステップS1
3)。
First, in step S11, the input density values C, M, Y, and K of the target pixel are extracted from the image memory 2, and it is checked whether the input density values C, M, and Y match (step S12). . Then, the input density values C, M, Y
Are equal to each other, the replacement input densities C ′, M ′, Y ′, and K ′ are obtained in accordance with the following Expression 1 (step S1).
3).

【0030】[式1] K’=K+C C’= 0 M’= 0 Y’= 0 また、シアン(C)、マゼンタ(M)、イエロー(Y)
の濃度値が一致していない画素については、下記の式2
に従って、入力された濃度値C、M、Y、Kを、そのま
ま置換入力濃度C’、M’、Y’、K’として出力する
(ステップS14)。
[Equation 1] K '= K + C C' = 0 M '= 0 Y' = 0 Also, cyan (C), magenta (M), yellow (Y)
For pixels whose density values do not match, Equation 2 below
, The input density values C, M, Y, and K are directly output as replacement input densities C ′, M ′, Y ′, and K ′ (step S14).

【0031】[式2] K’=K C’=C M’=M Y’=Y このようにして、1つの注目画素についての色データ置
換処理を行い、以下、同様の手順を繰り返して、全画素
についての色データ置換処理を行う。
[Equation 2] K ′ = K C ′ = C M ′ = M Y ′ = Y In this way, the color data replacement process is performed for one pixel of interest. The color data replacement process is performed for all pixels.

【0032】次いで、上記のようにして求められた置換
入力濃度C’、M’、Y’、K’をもとに、誤差拡散法
による2値化処理を行って、疑似中間調の画像データを
作成する。
Next, based on the replacement input densities C ', M', Y ', and K' obtained as described above, binarization processing by an error diffusion method is performed to obtain pseudo halftone image data. Create

【0033】たとえば、まず、シアン(C’)につい
て、図4に示される手順に従って、誤差拡散法による2
値化処理を全画素にわたって行い、次に、マゼンタ
(M’)についての全画素にわたる2値化処理を行い、
さらに、イエロー(Y’)について、最後に、黒色
(K’)について2値化処理を行う。もちろん、この色
別の2値化処理の順序は何等特定されるものではなく、
任意に行うことができる。
For example, first, for cyan (C '), 2 according to the error diffusion method according to the procedure shown in FIG.
A binarization process is performed on all pixels, and then a binarization process on all pixels for magenta (M ′) is performed.
Furthermore, a binarization process is performed for yellow (Y ′) and finally for black (K ′). Of course, the order of the binarization process for each color is not specified at all,
It can be done arbitrarily.

【0034】以上によって、原画像データの2値化処理
による疑似中間調のカラー画像データが作成され、画像
メモリ6に格納される。
As described above, pseudo halftone color image data is created by binarizing the original image data and stored in the image memory 6.

【0035】従って、この画像メモリ6に2値化データ
として格納された画像データを適用して、たとえば、4
色(シアン、マゼンタ、イエローおよび黒色)のヘッド
をもつカラーインクジェットプリンタを制御することに
より、原画像のC、M、Yの濃度値が一致する領域部分
は、Kのみによって再現される。このため、グレーの再
現性のよい疑似中間調のカラー画像を記録することがで
きる。
Therefore, by applying image data stored as binary data to the image memory 6, for example,
By controlling a color inkjet printer having color (cyan, magenta, yellow, and black) heads, an area portion where the density values of C, M, and Y of the original image match is reproduced only by K. Therefore, it is possible to record a pseudo halftone color image with good gray reproducibility.

【0036】〈変形例1〉 なお、上記実施例においては、2値化処理を行う前に、
あらかじめ全画素を対象として、シアン、マゼンタ、イ
エローの濃度値が一致している画素があるか否かを調
べ、もし一致している画素があれば、その画素のシア
ン、マゼンタ、イエローの濃度値を黒色に置き換え、そ
の置換入力濃度にもとづいて、いずれか1色の2値化処
理を誤差拡散法により全画素にわたって行い、その後に
別の色の2値化処理に移行する構成であるが、これに限
らず、たとえば、次のような手順によっても差し支えな
い。
<Modification 1> In the above embodiment, before performing the binarization processing,
It is checked in advance whether all pixels have the same density value of cyan, magenta, and yellow. If there is a matching pixel, the density values of cyan, magenta, and yellow of the pixel are determined. Is replaced with black, and based on the replacement input density, binarization processing of any one color is performed over all pixels by an error diffusion method, and thereafter, the processing shifts to binarization processing of another color. However, the present invention is not limited to this. For example, the following procedure may be used.

【0037】まず、RAM3の一部に割り当てられたバ
ッファ、すなわち、周辺画素に分配された誤差値を、各
画素毎に累積して「重み付け誤差和E」として記憶する
2値化誤差和記憶用のバッファを、各色に対応して4つ
用意する。
First, a buffer allocated to a part of the RAM 3, that is, a binarized error sum storage for accumulating error values distributed to peripheral pixels for each pixel and storing the accumulated value as a "weighted error sum E". , Four buffers are prepared for each color.

【0038】そして、上記実施例と同様に、あらかじめ
全画素を対象として色データ置換処理を行ったのち、置
換後のシアン、マゼンタ、イエローおよび黒色の各濃度
値をもとに、注目画素の2値化処理を全色にわたって行
い、その後に次の注目画素の2値化処理に移行する。
Then, in the same manner as in the above embodiment, color data replacement processing is performed on all the pixels in advance, and two pixels of the pixel of interest are determined based on the density values of cyan, magenta, yellow, and black after replacement. The binarization process is performed for all colors, and then the process proceeds to the binarization process for the next pixel of interest.

【0039】〈変形例2〉 まず、変形例1と同様に、2値化誤差和記憶用のバッフ
ァを各色に対応して4つ用意する。そして、画像メモリ
2に入力された原画像データの各画素に注目して2値化
処理を行う前に、その注目画素のシアン、マゼンタ、イ
エローの濃度値が一致しているか否かを調べ、もし一致
していれば、シアン、マゼンタ、イエローの濃度値を黒
色に置き換え、その置換入力濃度C’、M’、Y’、
K’にもとづいて、シアン、マゼンタ、イエローおよび
黒色の2値化処理を行う。
<Modification 2> First, as in Modification 1, four buffers for storing binarized error sums are prepared for each color. Then, before performing binarization processing by focusing on each pixel of the original image data input to the image memory 2, it is checked whether or not the density values of cyan, magenta, and yellow of the pixel of interest match. If they match, the density values of cyan, magenta, and yellow are replaced with black, and the replacement input densities C ′, M ′, Y ′,
Based on K ′, binarization processing of cyan, magenta, yellow, and black is performed.

【0040】その後、次の画素に注目して、シアン、マ
ゼンタ、イエローの濃度値が一致しているか否かの色デ
ータ置換処理に移行し、その処理後に2値化処理を行
う。
Then, paying attention to the next pixel, the processing shifts to color data replacement processing for determining whether or not the density values of cyan, magenta, and yellow match. After that processing, binarization processing is performed.

【0041】以下、同様にして、各画素毎に色データ置
換処理および2値化処理を繰り返して、全画素について
の処理を終了する。
In the same manner, the color data replacement process and the binarization process are repeated for each pixel, and the process for all pixels is completed.

【0042】この変形例2の場合、画像メモリ2に入力
される原画像データは、一画面に含まれる全画素を一度
に入力する必要はなく、1ライン毎でも、あるいは1画
素毎であってもよい。
In the case of the second modification, the original image data input to the image memory 2 does not need to input all the pixels included in one screen at a time. Is also good.

【0043】〈変形例3〉 また、前実施例は、画像メモリ2に入力される原画像デ
ータの中に、シアン(C)、マゼンタ(M)、イエロー
(Y)の3原色データと、黒色のデータ(K)とが含ま
れる場合を想定したものであるが、たとえば、黒色のデ
ータ(K)を含まない場合であっても何等差し支えな
い。
<Modification 3> In the previous embodiment, the original image data input to the image memory 2 includes three primary color data of cyan (C), magenta (M), and yellow (Y), Although it is assumed that the data (K) is included, even if the data (K) is not included, for example, there is no problem.

【0044】この場合、図2に示されるステップS1
2,S13における置換入力濃度C’、M’、Y’、
K’は、下記の式3、式4によって求めることができ
る。
In this case, step S1 shown in FIG.
2, the replacement input densities C ′, M ′, Y ′ in S13,
K ′ can be obtained by the following Expressions 3 and 4.

【0045】[式3] K’=C C’= 0 M’= 0 Y’= 0 [式4] K’= 0 C’=C M’=M Y’=Y[Equation 3] K '= C C' = 0 M '= 0 Y' = 0 [Equation 4] K '= 0 C' = CM '= M Y' = Y

【0046】[0046]

【発明の効果】以上説明したことから明かなように、本
発明の画像処理装置及び画像処理方法によれば、誤差拡
散法によって配分される2値化誤差にかかわらず、グレ
ーの再現性のよい疑似中間調のカラー画像データを作成
できる。
As is apparent from the above description, according to the image processing apparatus and the image processing method of the present invention, gray reproducibility is good regardless of the binarization error distributed by the error diffusion method. Pseudo halftone color image data can be created.

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

【図1】本発明の概略構成図である。FIG. 1 is a schematic configuration diagram of the present invention.

【図2】本発明の一実施例を示す色データ置換処理の手
順を示すフローチャートである。
FIG. 2 is a flowchart illustrating a procedure of a color data replacement process according to an embodiment of the present invention.

【図3】画像処理装置の概略の構成を示すブロック回路
図である。
FIG. 3 is a block circuit diagram illustrating a schematic configuration of an image processing apparatus.

【図4】誤差拡散法による2値化処理の手順を示すフロ
ーチャートである。
FIG. 4 is a flowchart showing a procedure of a binarization process by an error diffusion method.

【図5】誤差拡散法における2値化誤差の分配方法を説
明する図である。
FIG. 5 is a diagram illustrating a method of distributing a binarized error in the error diffusion method.

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

2 原画像記憶装置(画像メモリ) 3 RAM 4 ROM 5 CPU(色データ置換手段、2値化処理手段) 6 出力画像記憶装置(画像メモリ) 2 Original image storage device (image memory) 3 RAM 4 ROM 5 CPU (color data replacement means, binarization processing means) 6 Output image storage device (image memory)

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 1/40 - 1/409 H04N 1/46 - 1/64 G06T 5/00 Continuation of the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 1/40-1/409 H04N 1/46-1/64 G06T 5/00

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 カラーの中間調画像を2値化して疑似中
間調のカラー画像データを作成する画像処理装置におい
て、 シアン、マゼンタ、イエローの濃度値が一致している画
素があれば、そのシアン、マゼンタ、イエローの濃度値
を黒色に置き換える色データ置換手段と、 その色データ置換手段によって置換されたあとの濃度値
をもとに誤差拡散法によって2値化処理を行う2値化処
理手段とを備えたことを特徴とする画像処理装置。
1. An image processing apparatus for binarizing a color halftone image to generate pseudo halftone color image data, wherein if there is a pixel whose cyan, magenta, and yellow density values match, the cyan Data replacing means for replacing the density values of magenta and yellow with black, and binarizing processing means for performing a binarizing process by an error diffusion method based on the density values replaced by the color data replacing means. An image processing apparatus comprising:
【請求項2】 カラーの中間調画像を2値化して疑似中
間調のカラー画像データを作成する画像処理方法におい
、2値化処理を行う前に、あらかじめ全画素を対象と
して、シアン、マゼンタ、イエローの濃度値が一致して
いる画素があるか否かを調べ、もし、一致している画素
があれば、その画素のシアン、マゼンタ、イエローの濃
度値を黒色に置き換え、その置換後のシアン、マゼン
タ、イエローおよび黒色の各濃度値をもとに、誤差拡散
によって2値化処理を行うことを特徴とする画像処理
方法
2. The method of binarizing a color halftone image to generate a pseudo image
The image processing method odor <br/> to create a color image data between tone Te, before performing the binarization processing, a target advance for all the pixels, cyan, magenta, pixel density value of the yellow matches investigated whether, if there is a match to that pixel, the cyan pixels of that, magenta, replacing the density value of the yellow to black, the post-replacement cyan, magenta, each density value of the yellow and black Error diffusion
Image processing characterized by performing a binarization process by a method
How .
【請求項3】 請求項2記載の画像処理方法において
換後のシアン、マゼンタ、イエローおよび黒色の各濃
度値をもとに、いずれか1色の2値化処理を全画素にわ
たって行い、その後に別の色の2値化処理に移行するこ
とを特徴とする画像処理方法
3. The image processing method according to claim 2 , wherein
Cyan location換後, magenta, on the basis of the density values of the yellow and black, is performed over the entire pixel binarization processing of one color, to migrate to the binarization processing of another color thereafter Characteristic image processing method .
【請求項4】 請求項2記載の画像処理方法において
換後のシアン、マゼンタ、イエローおよび黒色の各濃
度値をもとに、注目画素の2値化処理を全色にわたって
行い、その後に次の注目画素の2値化処理に移行するこ
とを特徴とする画像処理方法
4. The image processing method according to claim 2 , wherein
Characterized in that the original cyan location換後, magenta, each density value of the yellow and black, the binarization of the pixel of interest is performed over the entire color, then transition to the binarization processing of the next pixel of interest Image processing method .
【請求項5】 カラーの中間調画像を2値化して疑似中
間調のカラー画像データを作成する画像処理方法におい
て、各画素に注目して2値化処理を行う前に、その注目
画素のシアン、マゼンタ、イエローの濃度値が一致して
いるか否かを調べ、もし一致していれば、その注目画素
シアン、マゼンタ、イエローの濃度値を黒色に置き換
え、その置換後のシアン、マゼンタ、イエローおよび黒
色の各濃度値にもとづいて、誤差拡散法によって2値化
処理を行い、その後に次の注目画素のシアン、マゼン
タ、イエローの濃度値が一致しているか否かを調べる処
理動作に移行することを特徴とする画像処理方法
5. A pseudo halftoning process for binarizing a color halftone image.
Image processing method for creating halftone color image data
Te, before the attention to binarization to each pixel, the cyan of the target pixel, magenta, checks whether the density value of the yellow match, if match if the target pixel
Of the cyan, magenta, and yellow are replaced with black, and a binarization process is performed by an error diffusion method based on the replaced density values of cyan, magenta, yellow, and black. An image processing method for checking whether or not the density values of cyan, magenta, and yellow match.
JP6153270A 1994-07-05 1994-07-05 Image processing apparatus and image processing method Expired - Fee Related JP3033440B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6153270A JP3033440B2 (en) 1994-07-05 1994-07-05 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6153270A JP3033440B2 (en) 1994-07-05 1994-07-05 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
JPH0818805A JPH0818805A (en) 1996-01-19
JP3033440B2 true JP3033440B2 (en) 2000-04-17

Family

ID=15558795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6153270A Expired - Fee Related JP3033440B2 (en) 1994-07-05 1994-07-05 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP3033440B2 (en)

Also Published As

Publication number Publication date
JPH0818805A (en) 1996-01-19

Similar Documents

Publication Publication Date Title
US5353127A (en) Method for quantization gray level pixel data with extended distribution set
US6285464B1 (en) Apparatus and method for producing a half-tone image
US5565994A (en) Multiple separation error diffusion, with cross separation correlation control for color images
JP3077873B2 (en) Method and apparatus for creating printing plate image
JPH05336373A (en) Image recorder
EP0710006B1 (en) Image forming apparatus capable of producing a pseudo half-tone image by using dither patterns
JP4236804B2 (en) Image processing method, apparatus and storage medium
JPH11187264A (en) Method and device for processing image
US5835238A (en) Phantom level edge enhanced error diffusion
EP0978997B1 (en) Image forming apparatus and image forming method
US5710836A (en) System and apparatus for tonal reproduction adjustment in an error diffusion process
JP3322522B2 (en) Color image processing equipment
US6552824B2 (en) Method of processing pixels with binary or multibit error diffusion
US6674547B1 (en) Image processing apparatus for performing image formation using signals obtained by pulse-width modulating an image signal by a plurality of modulating methods
JP3033440B2 (en) Image processing apparatus and image processing method
US5930404A (en) Image processing system and method
JP3094810B2 (en) Color image processing equipment
US6356360B1 (en) Apparatus and method for rendering halftone dot structures using grey level dots
JPH0359623B2 (en)
JPH10229501A (en) Image processing device and method
JP3184616B2 (en) Image processing method and apparatus
JP2851662B2 (en) Image processing device
JP3094809B2 (en) Color image processing equipment
JPH09146262A (en) Halftone method
JPH114352A (en) Image processing method, system and recording medium

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000118

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

Free format text: PAYMENT UNTIL: 20080218

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090218

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090218

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20100218

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110218

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120218

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130218

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20140218

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees