JP3094809B2 - Color image processing equipment - Google Patents

Color image processing equipment

Info

Publication number
JP3094809B2
JP3094809B2 JP06252358A JP25235894A JP3094809B2 JP 3094809 B2 JP3094809 B2 JP 3094809B2 JP 06252358 A JP06252358 A JP 06252358A JP 25235894 A JP25235894 A JP 25235894A JP 3094809 B2 JP3094809 B2 JP 3094809B2
Authority
JP
Japan
Prior art keywords
color
density
pixel
binarization
halftone image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP06252358A
Other languages
Japanese (ja)
Other versions
JPH08116451A (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 JP06252358A priority Critical patent/JP3094809B2/en
Publication of JPH08116451A publication Critical patent/JPH08116451A/en
Application granted granted Critical
Publication of JP3094809B2 publication Critical patent/JP3094809B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明はカラー画像処理装置に関
し、更に詳細には、カラー中間調画像を2値化して疑似
中間調のカラー画像データを作成する機能を備えた、た
とえば、ディジタル式の電子写真複写機や、熱転写式あ
るいはインクジェット式のプリンタ等におけるカラー画
像処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus, and more particularly to a digital image processing apparatus having a function of generating a color image data of pseudo halftone by binarizing a color halftone image. The present invention relates to a color image processing apparatus in an electrophotographic copying machine, a thermal transfer type or an ink jet type printer, and the like.

【0002】[0002]

【従来の技術】従来、中間調画像を2値化して疑似中間
調の画像を作成する場合の手段としては、閾値のマトリ
クス(ディザマトリクス)テーブルに従って画像を2値
化していく組織的ディザ法等の各種ディザ法が広く用い
られている。しかしながら、これら従来の方式は、階調
再現性を良くするためにはマトリクステーブルを大きく
する必要があり、高解像度を得るためにはマトリクステ
ーブルを小さくしなければならないという矛盾があるた
め、階調再現性と高解像度との両立が困難であった。
2. Description of the Related Art Conventionally, as a means for binarizing a halftone image to generate a pseudo halftone image, there is a systematic dither method for binarizing the image according to a threshold matrix (dither matrix) table. Are widely 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】また、これとは別に階調再現性と高解像度
とが両立する方法として、誤差拡散法があり、各種従来
法の中では、比較的良い評価が与えられている。誤差拡
散法とは、中間調の画素を2値化する際に生じる、実際
の濃度と2値化した値との誤差を周辺画素に分配してそ
の濃度を補正し、その補正後の濃度を所定閾値にて判定
して、2値の値のいずれかに決定する処理である。
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. The error diffusion method corrects the density by distributing an error between the actual density and the binarized value, which occurs when the halftone pixel is binarized, to peripheral pixels and corrects the density after the correction. This is a process of determining with a predetermined threshold value and determining one of two values.

【0004】[0004]

【発明が解決しようとする課題】しかし、この誤差拡散
法をカラーの中間調画像に適用すると、次のような現象
が生じた。例えば、周辺画素から分配される2値化誤差
の値の影響により、注目画素のデータのうちの異なる色
が同じ値を持っていても、その同じデータ値を持つ色の
記録位置が重なる場合と重ならない場合とが出てくる。
However, when this error diffusion method is applied to a color halftone image, the following phenomenon occurs. For example, due to the value of the binarization error distributed from the peripheral pixels, even if different colors in the data of the target pixel have the same value, the recording positions of the colors having the same data value overlap. There are times when they do not overlap.

【0005】具体的には、図4(a)のように、背景が
C(シアン)=M(マゼンタ)=40,Y(イエロー)
=0のブルーの領域Aであり、その中央にC,M,Yの
値が種々に異なる領域Bが存在する画像を考える。この
画像の領域Aの先頭部(図(b)の領域A1)では、
各画素で発生するCとMとの2値化誤差の値が等しく、
従って各画素に配分される重み付け誤差和の値もCとM
とでは一致する。注目画素が記録されるかどうかは、注
目画素の入力濃度を注目画素に配分される重み付け誤差
和によって補正した補正入力濃度に基づいて決定される
ので、領域A1ではCの記録画素の配置とMの記録画素
の配置とが一致している。従って領域A1では減法混色
により色再現が行われる。
More specifically, as shown in FIG. 4A, the background is C (cyan) = M (magenta) = 40 and Y (yellow)
Consider an image in which a blue area A = 0, and an area B in which the values of C, M, and Y are variously different in the center. In the top portion of the area A of the image (area of FIG. 4 (b) A1),
The value of the binarization error between C and M generated in each pixel is equal,
Therefore, the value of the weighted error sum distributed to each pixel is also C and M
And match. Whether the target pixel is recorded is determined based on the corrected input density obtained by correcting the input density of the target pixel by the weighted error sum allocated to the target pixel. And the arrangement of the recording pixels is the same. Therefore, in the region A1, color reproduction is performed by subtractive color mixture.

【0006】ところで、図(a)の画像の中央部の領
域Bでは、CとMの入力濃度が異なるため、領域B内の
各画素で発生するCとMの2値化誤差の値は異なる。こ
のため、領域Bの2値化誤差の影響を受ける領域A2に
おいては、各画素に配分される重み付け誤差和の値が、
CとMとでは一致しない。よって領域A2ではCとMの
入力濃度が等しいにもかかわらず、Cの記録画素の配置
とMの記録画素の配置とは一致しない。従って、領域A
2は減法混色と加法混色との混在する領域となる。
[0006] In the central portion of the region B of the image of FIG. 4 (a), since the input density of C and M are different, the value of the binarization error of the C and M generated in each pixel in the region B different. Therefore, in the area A2 affected by the binarization error of the area B, the value of the weighted error sum distributed to each pixel is:
C and M do not match. Therefore, although the input densities of C and M are equal in the area A2, the arrangement of the recording pixels of C and the arrangement of the recording pixels of M do not match. Therefore, area A
Reference numeral 2 denotes an area where subtractive color mixture and additive color mixture are mixed.

【0007】領域A1と領域A2では入力濃度が等し
く、2値化後の各色の記録画素と非記録画素との割合も
等しいにもかかわらず、上記の違いによって色の見えが
異なり、領域A1と領域A2との間に、原画像には存在
しない疑似的な境界C,Dが発生し、異なる入力濃度を
持つ2つの領域であるかのように見えてしまうという問
題点が発生していた。
Although the input densities of the areas A1 and A2 are equal and the ratios of the recording pixels and the non-recording pixels of each color after binarization are also equal, the color appearance is different due to the above difference. Pseudo boundaries C and D, which do not exist in the original image, occur between the area A2 and the area A2, which causes a problem that the area A2 looks as if it were two areas having different input densities.

【0008】勿論、上述した図の例ばかりではなく、
他の入力濃度を持つ領域に誤差拡散法を用いた2値化処
理を行った場合においても同様であり、周辺から配分さ
れる2値化誤差の影響により、減法混色のみで色再現さ
れる領域と、減法混色での色再現と加法混色での色再現
との混在する領域との間に、原画像には存在しない疑似
的な境界が発生してしまうことがあった。
[0008] Of course, not only the example of FIG. 4 described above,
The same applies to the case where binarization processing using the error diffusion method is performed on a region having another input density, and the region where color reproduction is performed only by subtractive color mixture due to the binarization error distributed from the periphery. In some cases, a pseudo boundary that does not exist in the original image is generated between a region where color reproduction by subtractive color mixture and color reproduction by additive color mixture are mixed.

【0009】本発明は、上述した問題点を解決するため
になされたものであり、隣接する領域の影響に関わら
ず、疑似的な境界が発生することのない、より好ましい
カラー疑似中間調画像を作成できるカラー画像処理装置
を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and a more preferable color pseudo-halftone image free from pseudo boundaries regardless of the influence of adjacent areas. An object of the present invention is to provide a color image processing apparatus that can be created.

【0010】[0010]

【課題を解決するための手段】請求項1記載の発明は、
カラー中間調画像を、2値化して疑似中間調のカラー画
像データを作成するカラー画像処理装置において、上記
カラー中間調画像の各画素の各色の濃度を誤差拡散法に
より2値化する2値化処理手段と、上記色に応じて、上
記2値化処理手段にて用いられる2値化のための閾値
を、複数備えられた閾値から選択して設定する閾値設定
手段とを備え、上記閾値設定手段は、印刷して記録する
際に境界発生への影響が少ない色の閾値を、他の色の閾
値と共通化するように設定することを特徴とするカラー
画像処理装置である。
According to the first aspect of the present invention,
In a color image processing apparatus for binarizing a color halftone image to create pseudo halftone color image data, binarization in which the density of each color of each pixel of the color halftone image is binarized by an error diffusion method. processing means, in response to the color, the threshold value for binarization employed in the binarization processing unit, and a threshold value setting means for selecting and setting a plurality equipped threshold value, the threshold setting Means print and record
The threshold value of a color that has little effect on boundary
A color image processing apparatus characterized in that the value is set so as to be shared with a value .

【0011】請求項記載の発明は、上記カラー中間調
画像が、3色の中間調画像データからなる請求項記載
のカラー画像処理装置である。請求項記載の発明は、
上記カラー中間調画像が、4色の中間調画像データから
なる請求項記載のカラー画像処理装置である。
According to a second aspect of the present invention, there is provided the color image processing apparatus according to the first aspect , wherein the color halftone image is composed of halftone image data of three colors. The invention according to claim 3 is
The color halftone image is a color image processing apparatus according to claim 1, wherein a four-color halftone image data.

【0012】請求項記載の発明は、上記カラー中間調
画像が、3色の中間調画像データを4色の中間調画像デ
ータに変換したデータからなる請求項記載のカラー画
像処理装置である。請求項記載の発明は、上記2値化
処理手段は、周辺画素から分配された2値化誤差和によ
り上記中間調画像の各画素の各色の濃度を補正して補正
入力濃度を求める補正入力濃度演算手段と、上記補正入
力濃度演算手段によって求められた補正入力濃度と上記
閾値とを比較して各画素の各色の出力濃度を決定する出
力濃度決定手段と、上記出力濃度決定手段により決定さ
れた出力濃度と上記補正入力濃度演算手段により求めら
れた補正入力濃度とから各画素の各色で発生した2値化
誤差を演算する2値化誤差演算手段と、上記2値化誤差
を重み付け係数マトリクスに基づいて重み付けして周辺
画素に分配する2値化誤差分配手段と、を備えたことを
特徴とする請求項1〜のいずれか記載のカラー画像処
理装置である。
According to a fourth aspect of the present invention, there is provided the color image processing apparatus according to the first aspect , wherein the color halftone image is formed by converting halftone image data of three colors into halftone image data of four colors. . According to a fifth aspect of the present invention, the binarization processing means corrects the density of each color of each pixel of the halftone image based on a binarization error sum distributed from peripheral pixels to obtain a corrected input density. Density calculating means, output density determining means for comparing the corrected input density obtained by the corrected input density calculating means with the threshold value to determine the output density of each color of each pixel, and the output density determining means. Binarization error calculating means for calculating a binarization error generated for each color of each pixel from the output density obtained and the correction input density obtained by the correction input density calculation means, and a weighting coefficient matrix for the binary error. a color image processing apparatus according to claim 1-4, characterized in that and a binarization error distribution means for distributing the peripheral pixels are weighted based on.

【0013】[0013]

【作用及び発明の効果】請求項1記載のカラー画像処理
装置は、2値化処理手段が上記カラー中間調画像の各画
素の各色の濃度を誤差拡散法により2値化する。一方、
閾値設定手段が上記色に応じて、上記2値化処理手段に
て用いられる2値化のための閾値を設定する。
According to the color image processing apparatus of the first aspect, the binarization processing means binarizes the density of each color of each pixel of the color halftone image by an error diffusion method. on the other hand,
Threshold setting means sets a threshold for binarization used in the binarization processing means according to the color.

【0014】異なる閾値を色毎に設定しているために、
入力濃度が各色同じであっても周囲の画素に分配する2
値化誤差の値は、色により必ずしも一致しない。このた
め、減法混色と加法混色とが常に混在し、原画像には存
在しない疑似的な境界が発生することはない。
Since different threshold values are set for each color,
Even if the input density is the same for each color, distribute to surrounding pixels 2
The value of the binarization error does not always match depending on the color. Therefore, the subtractive color mixture and the additive color mixture are always mixed, and a pseudo boundary that does not exist in the original image does not occur.

【0015】上記閾値設定手段は、複数備えられた閾値
から、上記色に応じて選択して、上記2値化処理手段に
て用いられる2値化のための閾値として設定する。な
、上記色およびその色の濃度に応じて、上記2値化処
理手段にて用いられる2値化のための閾値を演算しても
よい。
The threshold value setting means selects one of a plurality of threshold values according to the color and sets it as a threshold value for binarization used in the binarization processing means . What
A threshold value for binarization used in the binarization processing means may be calculated according to the color and the density of the color.

【0016】上記閾値は異なる色において共通化され
ていることにより、上記カラー中間調画像の色の種類よ
り少ない複数の数備えられているこの共通化は見た
目に影響の少ない色、例えばM(マゼンタ),C(シア
ン),Y(イエロー)の3色からなる画像データ、ある
いはM(マゼンタ),C(シアン),Y(イエロー),
K(ブラック)の4色からなる画像データであれば、Y
をMまたはCにて使用される閾値と同じものを使用する
ことによりなされる。
[0016] the threshold value, by being common in the different colors, are provided a plurality of fewer than types of colors of the color halftone image. This commonization is performed by using image data composed of three colors M (magenta), C (cyan), and Y (yellow), or M (magenta), C (cyan), and Y (yellow). ,
If the image data is composed of four colors of K (black), Y
By using the same thresholds used in M or C.

【0017】上記カラー中間調画像は、3色の中間調画
像データでもよく、4色の中間調画像データであっても
よい。3色としては、上記M,C,YあるいはR(レッ
ド),G(グリーン),B(ブルー)の組合せが通常用
いられる。また4色としては、M(マゼンタ),C(シ
アン),Y(イエロー),K(ブラック)が通常用いら
れる。
The color halftone image may be halftone image data of three colors or halftone image data of four colors. As the three colors, a combination of the above M, C, Y or R (red), G (green), B (blue) is usually used. As the four colors, M (magenta), C (cyan), Y (yellow), and K (black) are usually used.

【0018】また、上記カラー中間調画像は、3色の中
間調画像データを4色の中間調画像データに変換したデ
ータからなるものであってもよい。この変換は、例え
ば、M,C,Yの値から、M,C,Y,Kを算出すると
して知られている関数によりなすことができる。
The color halftone image may be formed by converting halftone image data of three colors into halftone image data of four colors. This conversion can be made, for example, by a function known to calculate M, C, Y, K from the values of M, C, Y.

【0019】上記2値化処理手段は、例えば、補正入力
濃度演算手段が周辺画素から分配された2値化誤差和に
より上記中間調画像の各画素の各色の濃度を補正して補
正入力濃度を求め、出力濃度決定手段が上記補正入力濃
度演算手段によって求められた補正入力濃度と上記閾値
とを比較して各画素の各色の出力濃度を決定し、2値化
誤差演算手段が上記出力濃度決定手段により決定された
出力濃度と上記補正入力濃度演算手段により求められた
補正入力濃度とから各画素の各色で発生した2値化誤差
を演算し、2値化誤差分配手段が上記2値化誤差を重み
付け係数マトリクスに基づいて重み付けして周辺画素に
分配することにより実現される。
The binarization processing means, for example, corrects the density of each color of each pixel of the halftone image by the correction input density calculation means based on the sum of the binarization errors distributed from the peripheral pixels, thereby obtaining the corrected input density. The output density determining means compares the corrected input density determined by the corrected input density calculating means with the threshold to determine the output density of each color of each pixel, and the binarization error calculating means determines the output density. The binarization error generated for each color of each pixel is calculated from the output density determined by the means and the corrected input density obtained by the correction input density calculation means, and the binarization error distribution means calculates the binarization error. Is weighted based on the weighting coefficient matrix and distributed to peripheral pixels.

【0020】[0020]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図1は画像処理回路1を示すブロッ
ク図である。本実施例における誤差拡散処理等を行う画
像処理回路1は、コンピュータとして構成されており、
入力データに所要の演算処理を施すものである。この画
像処理回路1は、ディジタル電気信号で入力された中間
調の原画像情報を記憶する原画像記憶装置(画像メモ
リ)3と、各計算結果を格納するRAM5と、画像処理
プログラムや周辺画素の各色の2値化における各色毎の
閾値Tm,Tc,Ty,Tkや重み付け係数マトリクス
Mなどが記憶されているROM7と、RAM5を用いて
各種画像処理を行うCPU9と、誤差拡散処理後のデー
タを記憶する出力画像記憶装置(画像メモリ)11と、
これらの間の信号の伝達経路であるバス13とにより構
成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the image processing circuit 1. The image processing circuit 1 that performs the error diffusion processing and the like in the present embodiment is configured as a computer,
A required operation is performed on the input data. The image processing circuit 1 includes an original image storage device (image memory) 3 for storing halftone original image information inputted as a digital electric signal, a RAM 5 for storing each calculation result, an image processing program and a peripheral pixel. A ROM 7 in which threshold values Tm, Tc, Ty, Tk and a weighting coefficient matrix M for each color in the binarization of each color are stored, a CPU 9 for performing various image processing using the RAM 5, and data after error diffusion processing An output image storage device (image memory) 11 for storing;
A bus 13 is a signal transmission path between them.

【0021】カラー撮像装置や既に撮影されたカラー中
間調画像データを記憶する外部記憶装置等の画像入力手
段(図示しない)から入力された原画像のカラー中間調
画像データは、バス13を介して原画像記憶装置3に記
憶される。原画像データの入力は、1画素毎でも、1ラ
イン毎でも、また、1画面分送られても構わない。この
格納されたカラー中間調画像情報に対して、CPU9が
ROM7内の画像処理プログラムや上記閾値や重み付け
係数マトリクス等のデータを用いて各画素の各色毎に誤
差拡散処理を行う。
The color halftone image data of the original image input from an image input means (not shown) such as a color image pickup device or an external storage device for storing already captured color halftone image data is transmitted via a bus 13. It is stored in the original image storage device 3. The input of the original image data may be sent pixel by pixel, line by line, or by one screen. The CPU 9 performs an error diffusion process on the stored color halftone image information for each color of each pixel using the image processing program in the ROM 7 and the data such as the threshold value and the weighting coefficient matrix.

【0022】以下に、図2,図3を参照して、原画像記
憶装置3に格納されている3色(M,C,Y)の中間調
原画像データを変換して4色(M,C,Y,K)の中間
調画像データとし、この4色の中間調画像データについ
て、誤差拡散処理にて補正入力濃度および色毎の閾値を
決定して出力値を得る手順を説明する。なお、3色の中
間調原画像データおよび4色の中間調画像データの各色
の階調数は、0〜255の256階調であるとする。
Referring to FIGS. 2 and 3, the halftone original image data of three colors (M, C, Y) stored in the original image storage device 3 is converted to four colors (M, C, Y). The procedure for obtaining the output values by determining the corrected input density and the threshold value for each color by the error diffusion processing for the halftone image data of the four colors will be described as the halftone image data of (C, Y, K). It is assumed that the number of gradations of each color of the halftone original image data of three colors and the halftone image data of four colors is 256 gradations from 0 to 255.

【0023】図2は、本実施例における2値化処理の処
理手順を示すフローチャートである。まず、最初の画素
データを注目画素として原画像記憶装置3から読み出し
て、その3色の画素データを、式1にて4色の画像デー
タに変換する(S5)。
FIG. 2 is a flowchart showing a processing procedure of the binarization processing in this embodiment. First, the first pixel data is read from the original image storage device 3 as a pixel of interest, and the three-color pixel data is converted into four-color image data by Equation 1 (S5).

【0024】[0024]

【数1】 (Equation 1)

【0025】このような3色から4色への変換処理の関
数fは、カラーの画像処理においては一般的なものであ
るので、その内容の説明は省略する。次に、その注目画
素の最初の注目色(例えばM)の入力濃度Ix,yを取り
出す(S10)。
The function f of the conversion process from three colors to four colors is a general function in color image processing, and the description of the function f will be omitted. Next, the input density Ix, y of the first target color (for example, M) of the target pixel is extracted (S10).

【0026】次にROM7中に備えられている色毎の閾
値Tm,Tc,Ty,Tkから今回処理する注目色に応
じた閾値を取り出して、閾値Tとして設定する(S1
5)。例えば、マゼンタ用の閾値Tmとして「12
0」、シアン用の閾値Tcとして「104」、イエロー
用の閾値Tyとして「136」、ブラック用の閾値Tk
として「152」が設定されているとすると、注目色が
マゼンタであれば、2値化の閾値Tとして「120」が
用いられる。
Next, from the threshold values Tm, Tc, Ty, and Tk for each color provided in the ROM 7, a threshold value corresponding to the target color to be processed this time is extracted and set as the threshold value T (S1).
5). For example, “12” is set as the threshold value Tm for magenta.
0, a threshold Tc for cyan is "104", a threshold Ty for yellow is "136", and a threshold Tk for black
Is set to "152", and if the color of interest is magenta, "120" is used as the threshold value T for binarization.

【0027】次に、式2のごとく、注目色の入力濃度I
x,yに、注目画素の注目色に周辺画素から分配された周
辺画素における注目色の2値化誤差の重み付け誤差和E
を加算し、注目色の補正入力濃度I′x,yを計算する
(S20)。
Next, as shown in Expression 2, the input density I of the target color
x and y are weighted error sums E of binarization errors of the target color in the peripheral pixels distributed from the peripheral pixels to the target color of the target pixel.
To calculate the corrected input density I'x, y of the target color (S20).

【0028】[0028]

【数2】 (Equation 2)

【0029】この誤差和Eは、今回の注目画素の処理以
前に処理された画素における、後述するステップS11
0での注目色の2値化誤差の分配により、RAM5内に
設定されている各画素の注目色の2値化誤差記憶用バッ
ファ内に蓄積されて既に得られている値である。
This error sum E is calculated in a step S11 to be described later in a pixel processed before the current pixel of interest.
Due to the distribution of the binarization error of the target color at 0, this is a value already accumulated in the buffer for storing the binarization error of the target color of each pixel set in the RAM 5 and already obtained.

【0030】次に、上記閾値Tと補正入力濃度I′x,y
を比較して(S50)、2値となる注目色の出力濃度I
eの値を決定する(S60,S70)。I′x,y≧Tの場
合には注目色の出力濃度Ieが2値の一方の値である
「255」となり(S60)、I′x,y<Tの場合には
注目色の出力濃度Ieは2値の他方の値である「0」と
なる(S70)。このようにして決定された注目画素の
注目色の出力濃度Ieを出力画像記憶装置11に格納す
る(S80)。
Next, the threshold value T and the corrected input density I'x, y
Are compared (S50), the output density I of the color of interest which becomes binary
The value of e is determined (S60, S70). If I′x, y ≧ T, the output density Ie of the target color becomes “255” which is one of two values (S60), and if I′x, y <T, the output density of the target color Ie becomes "0" which is the other of the two values (S70). The output density Ie of the target color of the target pixel thus determined is stored in the output image storage device 11 (S80).

【0031】次に、注目画素で発生した注目色の2値化
誤差eを求める(S90)。2値化誤差eは、式3に示
すごとく、上記注目色の補正入力濃度I′x,yから注目
色の出力濃度Ieを引いたものである。
Next, a binarization error e of the target color generated at the target pixel is obtained (S90). As shown in Equation 3, the binarization error e is obtained by subtracting the output density Ie of the target color from the corrected input density I′x, y of the target color.

【0032】[0032]

【数3】 (Equation 3)

【0033】次に重み付け係数マトリクスをROM7か
ら取り出す(S100)。この重み付け係数マトリクス
を用いて、周辺画素の注目色に対して注目画素に発生し
た注目色の2値化誤差を分配する(S110)。例え
ば、ROM7内に、式4に示すごとくの重み付け係数マ
トリクスMが格納されているとする。
Next, the weighting coefficient matrix is extracted from the ROM 7 (S100). Using this weighting coefficient matrix, the binarization error of the target color generated in the target pixel is distributed to the target color of the peripheral pixel (S110). For example, it is assumed that a weighting coefficient matrix M as shown in Expression 4 is stored in the ROM 7.

【0034】[0034]

【数4】 (Equation 4)

【0035】即ち、「*」で表される注目画素に対して
図3に示すごとくの位置関係にある係数値を、重み付け
係数マトリクスMの各成分と全成分の合計との比から得
て、注目画素の注目色の2値化誤差eに乗算して重み付
けし、該当する位置の画素の注目色の2値化誤差記憶用
のバッファに加算する。
That is, a coefficient value having a positional relationship as shown in FIG. 3 with respect to a target pixel represented by “*” is obtained from a ratio of each component of the weighting coefficient matrix M to the sum of all components. The binarization error e of the target color of the target pixel is multiplied and weighted, and added to the buffer for storing the binarization error of the target color of the pixel at the corresponding position.

【0036】例えば、注目画素の右隣の画素について
は、重み付け係数として「7/48(式4のマトリクス
Mの「*」の右隣の成分:7/全成分の合計:48)」
が得られ、その結果、右隣の画素の同色の2値化誤差記
憶用のバッファについては、「e×7/48」が加算さ
れることになる。
For example, for the pixel on the right of the pixel of interest, the weighting coefficient is “7/48 (the component on the right of“ * ”in the matrix M of Equation 4: 7 / the sum of all components: 48)”.
As a result, “e × 7/48” is added to the buffer for storing the same color binarization error of the pixel on the right.

【0037】こうして、座標(x,y)の位置の画素の
注目色の処理が終了し、次にその画素に未処理の色が存
在するか否かが判定され(S112)、未処理の色が存
在すれば肯定判定されて、同一画素の次の未処理の色が
注目色として設定されて(S114)、ステップS10
から上述した処理が繰り返される。
Thus, the processing of the target color of the pixel at the coordinates (x, y) is completed, and it is determined whether or not an unprocessed color exists in the pixel (S112). Is affirmatively determined, the next unprocessed color of the same pixel is set as the target color (S114), and step S10 is performed.
, The above-described processing is repeated.

【0038】また、同一画素における全ての色の処理が
終了すると、ステップS112にて否定判定されて、次
の未処理の画素が存在するか否かが判定され(S12
0)、未処理画素が存在すれば、次の座標の未処理画素
が注目画素として設定され(S130)、ステップS5
から上述した各色の処理が繰り返される。
When the processing of all colors for the same pixel is completed, a negative determination is made in step S112, and it is determined whether or not the next unprocessed pixel exists (S12).
0) If there is an unprocessed pixel, the unprocessed pixel at the next coordinate is set as the target pixel (S130), and step S5 is performed.
The processing of each color described above is repeated.

【0039】尚、本実施例における画素の処理順序は、
最上ラインの左の画素から水平方向右へ処理し、同じ処
理を順次、一ラインずつ下に移して行くことにより、最
後に右下の画素の処理となる順序である。そして、すべ
ての画素について上述した処理が実行されれば、ステッ
プS120で否定判定されて2値化処理を終了する。
The processing order of pixels in this embodiment is as follows.
The processing is performed rightward in the horizontal direction from the left pixel of the uppermost line, and the same processing is sequentially shifted down by one line, so that the lower right pixel is finally processed. If the above-described processing has been performed on all the pixels, a negative determination is made in step S120, and the binarization processing ends.

【0040】本実施例は上述したごとく、誤差拡散法に
おいて、2値化のための閾値Tを、色毎に用意された閾
値Tm,Tc,Ty,Tkから、誤差拡散法にて処理さ
れる色に応じて選択して決定している。このように、各
色に対して、異なる閾値を用いるため、例え同じ入力濃
度を有していても、周囲の画素に分配する2値化誤差の
値は、色により必ずしも一致しない。このため、減法混
色と加法混色とが常に混在し、原画像には存在しない疑
似的な境界が発生することはない。
In this embodiment, as described above, in the error diffusion method, the threshold value T for binarization is processed by the error diffusion method from the threshold values Tm, Tc, Ty, and Tk prepared for each color. The selection is made according to the color. As described above, since different threshold values are used for the respective colors, even if they have the same input density, the values of the binarization errors distributed to the surrounding pixels do not always match the colors. Therefore, the subtractive color mixture and the additive color mixture are always mixed, and a pseudo boundary that does not exist in the original image does not occur.

【0041】上記実施例において、ステップS20が補
正入力濃度演算手段としての処理に該当し、ステップS
50,S60,S70が出力濃度決定手段としての処理
に該当し、ステップS90が2値化誤差演算手段として
の処理に該当し、ステップS110が2値化誤差分配手
段としての処理に該当し、ステップS15が閾値設定手
段としての処理に該当する。
In the above embodiment, step S20 corresponds to the processing as the correction input density calculating means.
Steps S50, S60, and S70 correspond to processing as output density determination means, step S90 corresponds to processing as binarization error calculation means, step S110 corresponds to processing as binarization error distribution means, S15 corresponds to the processing as threshold setting means.

【0042】[その他] 上記実施例では、ステップS15における、色に応じた
閾値の決定は、単にROM7内に備えられている色毎の
閾値Tm,Tc,Ty,Tkから選択することによりな
していたが、各色の濃度も加味して、ステップS15に
おいては次のように演算処理により、閾値を色毎に設定
しても良い。例えば、マゼンタについては式5、シアン
については式6、イエローについては式7、ブラックに
ついては式8に示すごとくの演算により、閾値Tを決定
しても良い。
[Others] In the above embodiment, the determination of the threshold value according to the color in step S15 is made simply by selecting from the threshold values Tm, Tc, Ty, and Tk for each color provided in the ROM 7. However, in consideration of the density of each color, in step S15, the threshold value may be set for each color by arithmetic processing as follows. For example, the threshold value T may be determined by calculation as shown in Expression 5 for magenta, Expression 6 for cyan, Expression 7 for yellow, and Expression 8 for black.

【0043】[0043]

【数5】 (Equation 5)

【0044】また、3色の画像データからなる原画像デ
ータを4色で記録するために、4色の画像データにステ
ップS5にて変換してから、4色について誤差拡散法に
より2値化したが、勿論、最初から4色の画像データで
あれば、ステップS5の変換処理は省略して処理すれば
良い。また3色にて記録するのであれば、3色のまま
で、3色について各々閾値を用意して、処理をすれば良
い。2色または5色以上の色からなる画像を処理する場
合も同様である。
In order to record the original image data consisting of the three color image data in four colors, the image data is converted into four color image data in step S5, and then the four colors are binarized by the error diffusion method. However, of course, if the image data is four-color image data from the beginning, the conversion processing in step S5 may be omitted and the processing may be performed. If recording is performed in three colors, it is only necessary to prepare a threshold value for each of the three colors and perform the processing. The same applies to the case of processing an image composed of two or more colors.

【0045】また、特に見た目に境界発生に影響の少な
い色については、他の色の閾値と同じものを使用しても
良い。例えば、上記実施例では、イエローの場合は、他
の色(M,C,K)に比較して、白紙に印刷して記録す
る際には境界発生への影響は少ないため、閾値Tyの代
わりに、他の色、例えばマゼンタあるいはシアンの閾値
Tm,Tcをそのまま利用して、すなわち閾値を一部共
通化して2値化処理に用いても良い。
In particular, for a color that does not significantly affect the appearance of a boundary, the same threshold value as that of another color may be used. For example, in the above-described embodiment, in the case of yellow, compared to the other colors (M, C, K), when printing and printing on a blank sheet, the influence on the occurrence of the border is small, so that the threshold Ty is used instead. Alternatively, the threshold values Tm and Tc of other colors, for example, magenta or cyan, may be used as they are, that is, the threshold values may be partially shared and used for the binarization process.

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

【図1】 一実施例の画像処理回路を示すブロック図で
ある。
FIG. 1 is a block diagram illustrating an image processing circuit according to one embodiment.

【図2】 その2値化処理のフローチャートである。FIG. 2 is a flowchart of the binarization process.

【図3】 誤差配分処理における注目画素と周辺画素と
の関係を示す説明図である。
FIG. 3 is an explanatory diagram illustrating a relationship between a target pixel and peripheral pixels in an error distribution process.

【図4】 従来の2値化処理における疑似的な境界発生
の説明図である。
FIG. 4 is an explanatory diagram of pseudo boundary generation in conventional binarization processing.

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

1…画像処理回路 3…原画像記憶装置 5…
RAM 7…ROM 9…CPU 11…出力画像記憶装
置 13…バス
DESCRIPTION OF SYMBOLS 1 ... Image processing circuit 3 ... Original image storage device 5 ...
RAM 7 ROM 9 CPU 11 Output image storage device 13 Bus

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

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】カラー中間調画像を、2値化して疑似中間
調のカラー画像データを作成するカラー画像処理装置に
おいて、 上記カラー中間調画像の各画素の各色の濃度を誤差拡散
法により2値化する2値化処理手段と、 上記色に応じて、上記2値化処理手段にて用いられる2
値化のための閾値を、複数備えられた閾値から選択して
設定する閾値設定手段とを備え 上記閾値設定手段は、見た目に影響の少ない色の閾値
を、他の色の閾値と共通化するように設定する ことを特
徴とするカラー画像処理装置。
1. A color image processing apparatus for binarizing a color halftone image to generate pseudo halftone color image data, wherein a density of each color of each pixel of the color halftone image is converted into a binary value by an error diffusion method. Binarization processing means for converting the image data into two, which are used in the binarization processing means according to the color.
Select a threshold for value conversion from multiple thresholds
And a threshold setting means for setting said threshold value setting means is less color threshold affect the appearance
Is set so as to be shared with threshold values of other colors .
【請求項2】上記カラー中間調画像が、3色の中間調画
像データからなる請求項記載のカラー画像処理装置。
Wherein said color halftone image, three-color image processing apparatus according to claim 1, wherein comprising a halftone image data.
【請求項3】上記カラー中間調画像が、4色の中間調画
像データからなる請求項記載のカラー画像処理装置。
Wherein the color halftone image, four-color image processing apparatus according to claim 1, wherein comprising a halftone image data.
【請求項4】上記カラー中間調画像が、3色の中間調画
像データを4色の中間調画像データに変換したデータか
らなる請求項記載のカラー画像処理装置。
4. The color image processing apparatus according to claim 1 , wherein said color halftone image is data obtained by converting halftone image data of three colors into halftone image data of four colors.
【請求項5】上記2値化処理手段は、 周辺画素から分配された2値化誤差和により上記中間調
画像の各画素の各色の濃度を補正して補正入力濃度を求
める補正入力濃度演算手段と、 上記補正入力濃度演算手段によって求められた補正入力
濃度と上記閾値とを比較して各画素の各色の出力濃度を
決定する出力濃度決定手段と、 上記出力濃度決定手段により決定された出力濃度と上記
補正入力濃度演算手段により求められた補正入力濃度と
から各画素の各色で発生した2値化誤差を演算する2値
化誤差演算手段と、 上記2値化誤差を重み付け係数マトリクスに基づいて重
み付けして周辺画素に分配する2値化誤差分配手段と、 を備えたことを特徴とする請求項1〜のいずれか記載
のカラー画像処理装置。
5. A correction input density calculation means for correcting a density of each color of each pixel of the halftone image by a binarization error sum distributed from peripheral pixels to obtain a correction input density. Output density determining means for determining the output density of each color of each pixel by comparing the corrected input density obtained by the corrected input density calculating means with the threshold; and the output density determined by the output density determining means. A binarization error calculator for calculating a binarization error generated for each color of each pixel from the correction input density calculated by the correction input density calculator, and a binarization error based on a weighting coefficient matrix. The color image processing apparatus according to any one of claims 1 to 4 , further comprising: binarization error distribution means for weighting and distributing to peripheral pixels.
JP06252358A 1994-10-18 1994-10-18 Color image processing equipment Expired - Fee Related JP3094809B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06252358A JP3094809B2 (en) 1994-10-18 1994-10-18 Color image processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06252358A JP3094809B2 (en) 1994-10-18 1994-10-18 Color image processing equipment

Publications (2)

Publication Number Publication Date
JPH08116451A JPH08116451A (en) 1996-05-07
JP3094809B2 true JP3094809B2 (en) 2000-10-03

Family

ID=17236187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06252358A Expired - Fee Related JP3094809B2 (en) 1994-10-18 1994-10-18 Color image processing equipment

Country Status (1)

Country Link
JP (1) JP3094809B2 (en)

Also Published As

Publication number Publication date
JPH08116451A (en) 1996-05-07

Similar Documents

Publication Publication Date Title
US5734801A (en) Method of and apparatus for producing color proof
JP3077873B2 (en) Method and apparatus for creating printing plate image
JPH0730772A (en) Image processor
US6483606B1 (en) Error diffusion on moderate numbers of output colors
JP3339610B2 (en) Improved method and apparatus for reducing warm in halftone images using gray balance correction
JP3390037B2 (en) Pseudo color image output system
JP3322522B2 (en) Color image processing equipment
JP2877356B2 (en) Image data processing method
JP3094810B2 (en) Color image processing equipment
JP3094809B2 (en) Color image processing equipment
JP3039674B2 (en) Color image processing equipment
JPH0580193B2 (en)
JP3658255B2 (en) Color output method and color output device
JPH0490676A (en) Color picture processor
US7068395B1 (en) Image processing apparatus and method
US6614943B1 (en) Method of image binary coding and image binary coding apparatus
JPH08111777A (en) Image processor
JP2851662B2 (en) Image processing device
JP3033440B2 (en) Image processing apparatus and image processing method
JPH0691605B2 (en) Image processing device
JP3133771B2 (en) Image processing device
JP3015050B2 (en) Image processing method and apparatus
JP3227152B2 (en) Color image processing apparatus and color image processing method
JP3332433B2 (en) Pseudo color gradation expression method
JP3752906B2 (en) Color number conversion method and image processing apparatus

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080804

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090804

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100804

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110804

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20120804

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130804

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees