JP3094810B2 - Color image processing equipment - Google Patents

Color image processing equipment

Info

Publication number
JP3094810B2
JP3094810B2 JP06252359A JP25235994A JP3094810B2 JP 3094810 B2 JP3094810 B2 JP 3094810B2 JP 06252359 A JP06252359 A JP 06252359A JP 25235994 A JP25235994 A JP 25235994A JP 3094810 B2 JP3094810 B2 JP 3094810B2
Authority
JP
Japan
Prior art keywords
color
pixel
density
halftone image
coefficient matrix
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
JP06252359A
Other languages
Japanese (ja)
Other versions
JPH08116459A (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 JP06252359A priority Critical patent/JP3094810B2/en
Publication of JPH08116459A publication Critical patent/JPH08116459A/en
Application granted granted Critical
Publication of JP3094810B2 publication Critical patent/JP3094810B2/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. In some cases, they do not overlap.

【0005】具体的には、図5(a)のように、背景が
C(シアン)=M(マゼンタ)=40,Y(イエロー)
=0のブルーの領域Aであり、その中央にC,M,Yの
値が種々に異なる領域Bが存在する画像を考える。この
画像の領域Aの先頭部(図5(b)の領域A1)では、
各画素で発生するCとMとの2値化誤差の値が等しく、
従って各画素に配分される重み付け誤差和の値もCとM
とでは一致する。注目画素が記録されるかどうかは、注
目画素の入力濃度を注目画素に配分される重み付け誤差
和によって補正した補正入力濃度に基づいて決定される
ので、領域A1ではCの記録画素の配置とMの記録画素
の配置とが一致している。従って領域A1では減法混色
により色再現が行われる。
More specifically, as shown in FIG. 5A, 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. At the head of the area A of the image (the area A1 in FIG. 5B),
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】ところで、図5(a)の画像の中央部の領
域Bでは、CとMの入力濃度が異なるため、領域B内の
各画素で発生するCとMの2値化誤差の値は異なる。こ
のため、領域Bの2値化誤差の影響を受ける領域A2に
おいては、各画素に配分される重み付け誤差和の値が、
CとMとでは一致しない。よって領域A2ではCとMの
入力濃度が等しいにもかかわらず、Cの記録画素の配置
とMの記録画素の配置とは一致しない。従って、領域A
2は減法混色と加法混色との混在する領域となる。
In the area B at the center of the image shown in FIG. 5A, the input densities of C and M are different, so that the value of the binarization error between C and M at each pixel in the area B is 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】勿論、上述した図5の例ばかりではなく、
他の入力濃度を持つ領域に誤差拡散法を用いた2値化処
理を行った場合においても同様であり、周辺から配分さ
れる2値化誤差の影響により、減法混色のみで色再現さ
れる領域と、減法混色での色再現と加法混色での色再現
との混在する領域との間に、原画像には存在しない疑似
的な境界が発生してしまうことがあった。
[0008] Of course, not only the example of FIG.
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値化処理手段と、複数備えられた重み
付け係数マトリクスから、上記色に応じて選択して、上
記誤差拡散処理の誤差分配用の重み付け係数マトリクス
として設定する係数マトリクス設定手段と、を備え、上
記係数マトリクス設定手段は、見た目に影響の少ない特
定の色の係数マトリクスを、他の色の係数マトリクスと
共通化するように設定することを特徴とするカラー画像
処理装置である。
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, a plurality a provided weighting coefficient matrix, and selected depending on the color, and a coefficient matrix setting means for setting a weighting factor matrix for error distribution of the error diffusion processing, the upper
The coefficient matrix setting means has a characteristic that has little effect on appearance.
The constant color coefficient matrix is combined with other color coefficient matrices.
This is a color image processing apparatus characterized by setting to be common .

【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. The density calculating means, the 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. A binarization error calculator for calculating a binarization error generated for each color of each pixel from the output density and the correction input density calculated by the correction input density calculator; 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値化する。一方、
係数マトリクス設定手段が複数備えられた重み付け係数
マトリクスから、上記色に応じて選択して、上記誤差拡
散処理の誤差分配用の重み付け係数マトリクスとして設
定する。
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,
A plurality of coefficient matrix setting means are selected from a plurality of weighting coefficient matrices according to the color and set as weighting coefficient matrices for error distribution in the error diffusion processing.

【0014】色毎に異なる重み付け係数マトリクスを用
いて2値化誤差を分配するので、入力濃度が各色同じで
あっても周囲の画素に分配する2値化誤差の値は、色に
より必ずしも一致しない。このため、減法混色と加法混
色とが常に混在し、原画像には存在しない疑似的な境界
が発生することはない。
Since the binarization error is distributed using a different weighting coefficient matrix for each color, even if the input density is the same for each color, the value of the binarization error distributed to the surrounding pixels does not always match 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】また、上記重み付け係数マトリクスは
なる色において共通化されていることにより、上記カラ
ー中間調画像の色の種類より少ない複数の数備えられて
いるこの共通化は、見た目に影響の少ない色、例えば
C(シアン),M(マゼンタ),Y(イエロー)の3色
からなる画像データ、あるいはC(シアン),M(マゼ
ンタ),Y(イエロー),K(ブラック)の4色からな
る画像データであれば、YをMまたはCにて使用される
重み付け係数マトリクスと同じものを使用することによ
りなされる。
Further, the weighting factor matrix, 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, such as C (cyan), M (magenta), and Y (yellow), or C (cyan), M (magenta), and Y (yellow). , K (black), Y is the same as the weighting coefficient matrix used in M or C.

【0016】上記カラー中間調画像は、3色の中間調画
像データでもよく、4色の中間調画像データであっても
よい。3色としては、上記C,M,YあるいはR(レッ
ド),G(グリーン),B(ブルー)の組合せが通常用
いられる。また4色としては、C(シアン),M(マゼ
ンタ),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, C, M, Y or a combination of R (red), G (green), and B (blue) is usually used. As the four colors, C (cyan), M (magenta), Y (yellow), and K (black) are usually used.

【0017】また、上記カラー中間調画像は、3色の中
間調画像データを4色の中間調画像データに変換したデ
ータからなるものであってもよい。この変換は、例え
ば、C,M,Yの値から、C,M,Y,Kを算出すると
して知られている関数によりなすことができる。
The color halftone image may be composed of data obtained 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 C, M, Y, K from the values of C, M, Y.

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

【0019】[0019]

【実施例】以下、本発明を具体化した一実施例を図面を
参照して説明する。図1は画像処理回路1を示すブロッ
ク図である。本実施例における誤差拡散処理等を行う画
像処理回路1は、コンピュータとして構成されており、
入力データに所要の演算処理を施すものである。この画
像処理回路1は、ディジタル電気信号で入力された中間
調の原画像情報を記憶する原画像記憶装置(画像メモ
リ)3と、各計算結果を格納するRAM5と、画像処理
プログラムや周辺画素の各色の2値化誤差の分配に対す
る各色毎の重み付け係数マトリクスMm,Mc,My,
Mkや閾値Tなどが記憶されているROM7と、RAM
5を用いて各種画像処理を行うCPU9と、誤差拡散処
理後のデータを記憶する出力画像記憶装置(画像メモ
リ)11と、これらの間の信号の伝達経路であるバス1
3とにより構成されている。
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. Weighting coefficient matrices Mm, Mc, My, for each color for the distribution of the binarization error of each color
ROM 7 storing Mk, threshold value T, etc., and RAM
5, an image storage device (image memory) 11 for storing data after error diffusion processing, and a bus 1 as a signal transmission path between them.
3.

【0020】カラー撮像装置や既に撮影されたカラー中
間調画像データを記憶する外部記憶装置等の画像入力手
段(図示しない)から入力された原画像のカラー中間調
画像データは、バス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 an image processing program in the ROM 7, the above-described weighting coefficient matrix, and data such as threshold values.

【0021】以下に、図2,図3を参照して、原画像記
憶装置3に格納されている3色(C,M,Y)の中間調
原画像データを変換して4色(C,M,Y,K)の中間
調画像データとし、この4色の中間調画像データについ
て、誤差拡散処理にて補正入力濃度および色毎の重み付
け係数マトリクスを決定して出力値を得る手順を説明す
る。なお、3色の中間調原画像データおよび4色の中間
調画像データの各色の階調数は、0〜255の256階
調であるとする。
Referring to FIGS. 2 and 3, the halftone original image data of three colors (C, M, Y) stored in the original image storage device 3 is converted to four colors (C, M, Y). (M, Y, K) halftone image data, and a procedure for determining a corrected input density and a weighting coefficient matrix for each color by error diffusion processing to obtain output values for the halftone image data of the four colors. . 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.

【0022】図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).

【0023】[0023]

【数1】 (Equation 1)

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

【0025】次に、式2のごとく、注目色の入力濃度I
x,yに、注目画素の注目色に周辺画素から分配された周
辺画素における注目色の2値化誤差の重み付け誤差和E
を加算し、注目色の補正入力濃度I′x,yを計算する
(S20)。
Next, as shown in Equation 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).

【0026】[0026]

【数2】 (Equation 2)

【0027】この誤差和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.

【0028】次に、上記閾値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).

【0029】次に、注目画素で発生した注目色の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.

【0030】[0030]

【数3】 (Equation 3)

【0031】次に注目色に応じて、重み付け係数マトリ
クスを決定し、該当する重み付け係数マトリクスをRO
M7から取り出す(S100)。この重み付け係数マト
リクスを用いて、周辺画素の注目色に対して注目画素に
発生した注目色の2値化誤差を分配する(S110)。
Next, a weighting coefficient matrix is determined according to the target color, and the corresponding weighting coefficient matrix is
Take out from M7 (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).

【0032】例えば、ROM7内に、式4,5,6,7
に示すごとく、4つの重み付け係数マトリクスMm,M
c,My,Mkが格納されているとする。
For example, in the ROM 7, the expressions 4, 5, 6, 7
, Four weighting coefficient matrices Mm, M
It is assumed that c, My, and Mk are stored.

【0033】[0033]

【数4】 (Equation 4)

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

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

【0036】また注目色がシアンの場合、式5の重み付
け係数マトリクスMcが選択される。即ち、「*」で表
される注目画素に対して図3(b)に示すごとくの位置
関係にある係数値を、重み付け係数マトリクスMcの各
成分と全成分の合計との比から得て、注目画素のシアン
の2値化誤差eに乗算して重み付けし、該当する位置の
画素のシアンの2値化誤差記憶用のバッファに加算す
る。また、注目色がイエローである場合には、式6の重
み付け係数マトリクスMyが選択され、図4(a)に示
すごとくの分配にて注目画素のイエローの2値化誤差e
に乗算して重み付けし、該当する位置の画素のイエロー
の2値化誤差記憶用のバッファに加算する。注目色がブ
ラックである場合には、式7の重み付け係数マトリクス
Mkが選択され、図4(b)に示すごとくの分配にて注
目画素のブラックの2値化誤差eに乗算して重み付け
し、該当する位置の画素のブラックの2値化誤差記憶用
のバッファに加算する。
When the color of interest is cyan, the weighting coefficient matrix Mc of Expression 5 is selected. That is, a coefficient value having a positional relationship as shown in FIG. 3B with respect to the target pixel represented by “*” is obtained from the ratio of each component of the weighting coefficient matrix Mc to the sum of all components, The binarization error e of cyan of the target pixel is multiplied and weighted, and added to the buffer for storing the binarization error of cyan of the pixel at the corresponding position. When the color of interest is yellow, the weighting coefficient matrix My of Expression 6 is selected, and the binarization error e of yellow of the pixel of interest is distributed by the distribution shown in FIG.
, And weighted, and added to the buffer for storing the binary error of yellow at the pixel at the corresponding position. When the color of interest is black, the weighting coefficient matrix Mk of Expression 7 is selected, and is weighted by multiplying the binarization error e of black of the pixel of interest by distribution as shown in FIG. It is added to the buffer for storing the black binarization error of the pixel at the corresponding position.

【0037】こうして、座標(x,y)の位置の画素の
注目色の処理が終了し、次のその画素に未処理の色が存
在するか否かが判定され(S112)、未処理の色が存
在すれば肯定判定されて、同一画素の次の未処理の色が
注目色として設定されて(S114)、ステップS10
から上述した処理が繰り返される。
Thus, the processing of the target color of the pixel at the position of the coordinates (x, y) is completed, and it is determined whether or not the next pixel has an unprocessed color (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値化誤差分配のための重み付け係数マトリク
スを、色毎に用意された重み付け係数マトリクスから、
誤差拡散法にて処理される色に応じて決定している。色
毎に異なる重み付け係数マトリクスを用いて2値化誤差
を分配するので、入力濃度が各色同じであっても周囲の
画素に分配する2値化誤差の値は、色により必ずしも一
致しない。このため、減法混色と加法混色とが常に混在
し、原画像には存在しない疑似的な境界が発生すること
はない。
In this embodiment, as described above, in the error diffusion method, a weighting coefficient matrix for binarizing error distribution is calculated from a weighting coefficient matrix prepared for each color.
It is determined according to the color processed by the error diffusion method. Since the binarization error is distributed using a different weighting coefficient matrix for each color, even if the input density is the same for each color, the value of the binarization error distributed to the surrounding pixels does not always match 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.

【0041】上記実施例において、ステップS20が補
正入力濃度演算手段としての処理に該当し、ステップS
50,S60,S70が出力濃度決定手段としての処理
に該当し、ステップS90が2値化誤差演算手段として
の処理に該当し、ステップS110が2値化誤差分配手
段としての処理に該当し、ステップS100が係数マト
リクス設定手段としての処理に該当する。
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, S100 corresponds to processing as coefficient matrix setting means.

【0042】[その他] 上記実施例では、3色の画像データからなる原画像デー
タを4色で記録するために、4色の画像データにステッ
プS5にて変換してから、4色について誤差拡散法によ
り2値化したが、勿論、最初から4色の画像データであ
れば、ステップS5の変換処理は省略して処理すれば良
い。また3色にて記録するのであれば、3色のままで、
3色について各々重み付け係数マトリクスをそろえ、誤
差拡散処理する際に色に応じて重み付け係数マトリクス
を選択して2値化誤差分配処理をすれば良い。2色また
は5色以上の色からなる画像を処理する場合も同様であ
る。
[Others] In the above embodiment, in order to record original image data composed of image data of three colors in four colors, the original image data is converted into image data of four colors in step S5, and then error diffusion is performed on the four colors. Although the image data is binarized by the method, it is needless to say that if the image data is four-color image data from the beginning, the conversion processing in step S5 may be omitted. Also, if recording in three colors, leave three colors
A weighting coefficient matrix may be prepared for each of the three colors, and a weighting coefficient matrix may be selected according to the color at the time of error diffusion processing to perform a binarized error distribution processing. The same applies to the case of processing an image composed of two or more colors.

【0043】また、特に見た目に境界発生に影響の少な
い色については、他の色の重み付け係数マトリクスと同
じものを使用しても良い。例えば、上記実施例では、イ
エローの場合は、他の色(M,C,K)に比較して、白
紙に印刷して記録する際には境界発生への影響は少ない
ため、式6の重み付け係数マトリクスの代わりに、他の
色、例えばマゼンタの式4あるいはシアンの式5の重み
付け係数マトリクスをそのまま利用して、すなわち重み
付け係数マトリクスを一部共通化して2値化誤差分配に
用いても良い。
In particular, for a color which does not significantly affect the appearance of boundaries, the same one as the weighting coefficient matrix of another color may be used. For example, in the above-described embodiment, when yellow is used, the influence on the boundary occurrence is smaller when printing and printing on blank paper than in the other colors (M, C, K). Instead of the coefficient matrix, another color, for example, the weighting coefficient matrix of magenta equation 4 or cyan equation 5 may be used as it is, that is, the weighting coefficient matrix may be partially shared and used for binarization error distribution. .

【0044】重み付け係数マトリクスは、色毎に行列の
形状あるいは成分の値が異なるものの組合せであった。
すなわち式4の場合は2行5列、式5の場合は式4とは
成分の値が異なる2行5列、式6の場合は2行3列およ
び式7の場合は3行3列であったが、これ以外の形状あ
るいは成分の値を組み合わせても良い。また形状は同一
で、各成分の値のみが異なる重み付け係数マトリクスの
組合せでもよい。
The weighting coefficient matrix was a combination of matrices having different matrix shapes or different component values for each color.
That is, in the case of Equation 4, 2 rows and 5 columns, in the case of Equation 5, 2 rows and 5 columns in which the component values are different from those of Equation 4, 2 rows and 3 columns in the case of Equation 6, and 3 rows and 3 columns in the case of Equation 7 However, other shapes or component values may be combined. Also, a combination of weighting coefficient matrices having the same shape but different values of each component may be used.

【0045】また上記実施例の重み付け係数マトリクス
を色に応じて選択する構成に加えて、またはその構成に
代えて、閾値Tを色毎に計算設定して、あるいは色毎に
備えられた閾値から色に応じて選択することにより、境
界発生を防止しても良い。
Further, in addition to or instead of the configuration for selecting the weighting coefficient matrix according to the color in the above-described embodiment, the threshold value T is calculated and set for each color, or the threshold value T provided for each color is set. The selection may be made according to the color to prevent the occurrence of the boundary.

【図面の簡単な説明】[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】 誤差配分処理における色毎の注目画素と周辺
画素との関係を示す説明図であり、(a)はマゼンタに
関する説明図、(b)はシアンに関する説明図である。
3A and 3B are explanatory diagrams illustrating a relationship between a target pixel and peripheral pixels for each color in an error distribution process, wherein FIG. 3A is an explanatory diagram related to magenta, and FIG. 3B is an explanatory diagram related to cyan.

【図4】 誤差配分処理における色毎の注目画素と周辺
画素との関係を示す説明図であり、(a)はイエローに
関する説明図、(b)はブラックに関する説明図であ
る。
FIGS. 4A and 4B are explanatory diagrams showing a relationship between a target pixel and peripheral pixels for each color in the error distribution processing, wherein FIG. 4A is an explanatory diagram relating to yellow, and FIG. 4B is an explanatory diagram relating to black.

【図5】 従来の2値化処理における疑似的な境界発生
の説明図である。
FIG. 5 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値化処理手段と、 複数備えられた重み付け係数マトリクスから、上記色に
応じて選択して、上記誤差拡散処理の誤差分配用の重み
付け係数マトリクスとして設定する係数マトリクス設定
手段と、 を備え 上記係数マトリクス設定手段は、見た目に影響の少ない
特定の色の係数マトリクスを、他の色の係数マトリクス
と共通化するように設定する ことを特徴とするカラー画
像処理装置。
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. And a coefficient matrix setting means for selecting from a plurality of weighting coefficient matrices according to the color and setting as a weighting coefficient matrix for error distribution in the error diffusion processing. , The coefficient matrix setting means has little effect on appearance
The coefficient matrix of a specific color is replaced with the coefficient matrix of another color.
A color image processing apparatus characterized in that it is set so as to be common with the image processing apparatus.
【請求項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 comparing the corrected input density calculated by the corrected input density calculating means with a threshold to determine the output density of each color of each pixel; and the output density determined by the output density determining means. A binarization error calculating means for calculating a binarization error generated in each color of each pixel from the correction input density calculated by the correction input density calculation means; and a binarization error based on the 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.
JP06252359A 1994-10-18 1994-10-18 Color image processing equipment Expired - Fee Related JP3094810B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPH08116459A JPH08116459A (en) 1996-05-07
JP3094810B2 true JP3094810B2 (en) 2000-10-03

Family

ID=17236203

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP3094810B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102623913B1 (en) * 2021-10-13 2024-01-11 (주)에어링크랩 A waveguide for shielding

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006284647A (en) * 2005-03-31 2006-10-19 Pioneer Electronic Corp Display apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102623913B1 (en) * 2021-10-13 2024-01-11 (주)에어링크랩 A waveguide for shielding

Also Published As

Publication number Publication date
JPH08116459A (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
US6330075B1 (en) Image processing method and apparatus
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
JPH0580193B2 (en)
JP3824674B2 (en) Printing proof creation method and apparatus
JP2800071B2 (en) Color image forming equipment
JPH0490676A (en) Color picture processor
JPH08111777A (en) Image processor
JP2851662B2 (en) Image processing device
US6614943B1 (en) Method of image binary coding and image binary coding apparatus
JP3033440B2 (en) Image processing apparatus and image processing method
JP3133771B2 (en) Image processing device
JPH09102886A (en) Method and device for image processing
JP3227152B2 (en) Color image processing apparatus and color image processing method
JP3752906B2 (en) Color number conversion method and image processing apparatus
JPH0691605B2 (en) Image processing device
JPH03204273A (en) Color picture processor
JP3332433B2 (en) Pseudo color gradation expression method

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