JPH0490672A - Color picture processor - Google Patents

Color picture processor

Info

Publication number
JPH0490672A
JPH0490672A JP2206605A JP20660590A JPH0490672A JP H0490672 A JPH0490672 A JP H0490672A JP 2206605 A JP2206605 A JP 2206605A JP 20660590 A JP20660590 A JP 20660590A JP H0490672 A JPH0490672 A JP H0490672A
Authority
JP
Japan
Prior art keywords
color
error
data
value
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.)
Pending
Application number
JP2206605A
Other languages
Japanese (ja)
Inventor
Hiroshi Tanioka
宏 谷岡
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2206605A priority Critical patent/JPH0490672A/en
Priority to DE1991623657 priority patent/DE69123657T2/en
Priority to EP19910307039 priority patent/EP0469896B1/en
Publication of JPH0490672A publication Critical patent/JPH0490672A/en
Priority to US08/024,869 priority patent/US5270808A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reproduce high-fidelity pictures by executing the half tone processing of an input picture data directly in a specified color space and correcting error to be generated at the time of exchange to an expressing color. CONSTITUTION:This device is composed of a sensor 1, A/D converter 2, shading correction circuit 3, expressing color system conversion circuit 4, picture correction part 5, pseudo half tone processing part 6 and record and display part 7. An average value in an X<1/3>Y<1/3>Z<1/3> space is calculated while predicting the already requantized quantizing data and the requantization of a noted picture element, difference between this value and an input picture signal is calculated, the closest recording color is selected so as to obtain a recording signal for each picture element and when correcting requantizing error to be generated on the adjacent picture element, the error value to be generated is adaptively controlled. Thus, requantization with fidelity to the input picture signal is enabled, and the high-fidelity picture can be obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、カラー画像をディジタル信号として入力し、
擬似中間調処理して記録するカラー画像処理装置に関す
る。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a method for inputting a color image as a digital signal,
The present invention relates to a color image processing device that performs pseudo-halftone processing and records.

〔従来の技術〕[Conventional technology]

従来よりデジタルカラー複写機等のカラー画像処理装置
においては、原稿を読み取ることにより得られた画像デ
ータを擬似中間調処理して記録或いは素子出力している
。この種の擬似中間調処理方式としてデイザ法誤差拡散
法(ED法)等が知られている。
2. Description of the Related Art Conventionally, in color image processing apparatuses such as digital color copying machines, image data obtained by reading an original is subjected to pseudo-halftone processing and then recorded or output from an element. A dither error diffusion method (ED method) and the like are known as this type of pseudo halftone processing method.

この種の方式でカラー画像を表現するには、出力装置に
例えばCR7等発光型デイスプレィを用いる場合、入力
RGB多値データをR,G、B各色空間で独立に擬似中
間調処理している。又、出力装置にインジェクト、静電
記録、熱転写に代表される熱記録装置を用いる場合には
、入力した多値データをR,G、 B色座標からC,M
、 Y、  (K)色座標に変換した後前述同様各色空
間で独立に擬似中間調処理する事が一般的である。
In order to express a color image using this type of method, when a light-emitting display such as a CR7 is used as an output device, input RGB multi-value data is subjected to pseudo-halftone processing independently in each of the R, G, and B color spaces. Furthermore, when using a thermal recording device such as an injector, an electrostatic recording device, or a thermal transfer device as an output device, input multi-value data is converted from R, G, B color coordinates to C, M.
, Y, (K) After converting to color coordinates, it is common to perform pseudo-halftone processing independently in each color space as described above.

〔発明が解決しようとしている課題〕[Problem that the invention is trying to solve]

しかしながら、例えば濃度保存型の擬似中間調処理(E
D法)は、その基本的思想がその色空間における微視的
空間内で濃度を保存する事を目的とする為に、従来の如
く独立に処理された3〜4色空間で擬似的に表現され、
合成された色味は原稿のカラー画像とは必ずしも一致し
ないという欠点が有る。
However, for example, density-preserving pseudo-halftone processing (E
The basic idea of D method is to preserve the density within the microscopic space of the color space, so it is expressed in a pseudo manner in 3 to 4 color spaces that are processed independently as in the past. is,
There is a drawback that the synthesized color does not necessarily match the color image of the original.

本発明は上述した従来技術の欠点を除去するもので、R
GB、CMY独立に中間調処理するのではなくx’y’
z’色空間で直接入力画像データを中間調処理すること
により、入力カラー画像に忠実な色味を再現することが
できるとともに、表現色への交換時に発生する誤差を補
正することにより更に高品位な画像を再生することがで
きるカラー画像処理装置の提供を目的とするものである
The present invention eliminates the drawbacks of the prior art mentioned above, and R
Rather than performing halftone processing independently for GB and CMY, x'y'
By directly performing halftone processing on input image data in the z' color space, it is possible to reproduce colors that are faithful to the input color image, and even higher quality can be achieved by correcting errors that occur when exchanging to expression colors. The object of the present invention is to provide a color image processing device that can reproduce images of various colors.

〔課題を解決するための手段〕[Means to solve the problem]

上述した目的を達成すべく本発明のカラー画像処理装置
は複数色のうちの1つに量子化された注目画素近傍の複
数のデータと、注目画素の量子化予測値とによりX″Y
’ Z’室空間の複数の平均値を演算する予測平均値演
算手段と、前記複数の平均値の中より入力画像に最も近
い色を決定する量子化手段と、前記量子化時に発生する
量子化誤差を補正する補正手段とを備える。
In order to achieve the above-mentioned object, the color image processing device of the present invention uses a plurality of data in the vicinity of a pixel of interest quantized into one of a plurality of colors and a quantized predicted value of the pixel of interest to
Predicted average value calculation means for calculating a plurality of average values of the 'Z' room space; quantization means for determining a color closest to the input image from among the plurality of average values; and quantization that occurs during the quantization. and a correction means for correcting the error.

〔実施例〕〔Example〕

以下図面を用い本発明の一実施例を詳細に説明する。 An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は本発明の一実施例である画像処理装置の概要を
示したブロック図である。
FIG. 1 is a block diagram showing an overview of an image processing apparatus that is an embodiment of the present invention.

図中1はCCDで構成されるカラー画像読み取り部であ
り、原稿の反射光量を電気量に変換して出力する。この
CCD1は3原色である。R,G。
In the figure, reference numeral 1 denotes a color image reading section composed of a CCD, which converts the amount of light reflected from a document into an amount of electricity and outputs it. This CCD 1 has three primary colors. R,G.

Bそれぞれのフィルタにより反射光中のR光、G光、B
光を色成分毎に電気信号に変換する。これらのアナログ
電気信号はA/Dコンバータ2でディジタル信号に量子
化される。ディジタル画像信号r、g、bはシェーディ
ング補正回路3によりCCD素子間のバラツキ及び光源
のムラを補正する。表色系変換回路4はr、  g、 
 b信号をL″a″b゛a″b゛信号。L” a’ b
”はL”が明度a’、  b’が。
The R light, G light, and B light in the reflected light are filtered by each B filter.
Converts light into electrical signals for each color component. These analog electrical signals are quantized into digital signals by the A/D converter 2. The digital image signals r, g, and b are used by a shading correction circuit 3 to correct variations between CCD elements and unevenness of the light source. The color system conversion circuit 4 has r, g,
b signal to L″a″b′a″b′ signal.L″ a′ b
"L" is brightness a', b' is brightness.

色度を表わしておりL”a″b゛で全での色を表現する
色空間を形成する。画像修正部5は外部からの指示によ
り例えばL”信号に対するエツジ強調あるいはa” b
”空間での色修正、色変換及び変倍等、入力カラー画像
信号を所望するカラー画像信号に変換する。bは本実施
例の目的を達成する為のカラー画像の擬似中間調処理部
であり前述のL″a″b°で表現される多値画像信号と
、記録部7で1画素が表現出来る数種類の表現色データ
をもとに画素毎に擬似中間調処理する。
It represents chromaticity, and L''a''b'' forms a color space that expresses all colors. For example, the image correction unit 5 performs edge enhancement on the L" signal or a"b according to an external instruction.
Converts an input color image signal into a desired color image signal through spatial color correction, color conversion, scaling, etc. b is a color image pseudo-halftone processing unit to achieve the purpose of this embodiment. Pseudo-halftone processing is performed for each pixel based on the multivalued image signal expressed by the aforementioned L″a″b° and several types of expression color data that can be expressed by one pixel in the recording section 7.

本実施例による擬似中間調処理部6の第1実施例を第2
図及び第3図に示すブロック図を用いて詳説する。
The first embodiment of the pseudo halftone processing section 6 according to this embodiment is described in the second embodiment.
This will be explained in detail using the block diagram shown in FIG.

〈第1実施例〉 第2図の選択部62はその周囲を考慮しつつ入力画像f
に最も近い表現色を画素毎に選択(以降再量子化と呼ぶ
)する。実施例では記録装置がC1M、Y、に4色の2
値記録が可能なプリンタであり、従って表現色は画素毎
にC,M、 Y、 B (CM)G (CY)R(MY
)とW、 K (黒)の8色とする。選択された8色の
値(x)は、3bit(0〜7)の値で表現し、記録信
号変換部64でC1M、Y、に2値付号に変換する。再
量子化信号Xと、記録信号の対応を第4図に示す。この
再量子化信号Xはデータ記憶部6oに入力する。データ
記憶部60は今回量子化した注目画素近傍の画素再量子
化データを二次元的に遅延保持し、さらにこの複数画素
データより平均値演算部61で平均的画像色を演算し、
前述選択部62に入力する。
<First embodiment> The selection unit 62 in FIG. 2 selects the input image f while considering its surroundings.
For each pixel, the closest expression color is selected (hereinafter referred to as requantization). In the embodiment, the recording device has two colors of four colors in C1M and Y.
It is a printer that can record values, so the expression colors are C, M, Y, B (CM)G (CY)R(MY) for each pixel.
), W, and K (black). The values (x) of the eight selected colors are expressed as 3-bit (0 to 7) values, and are converted into binary numbers C1M, Y by the recording signal converter 64. FIG. 4 shows the correspondence between the requantized signal X and the recording signal. This requantized signal X is input to the data storage section 6o. The data storage unit 60 holds pixel requantization data in the vicinity of the currently quantized pixel of interest in a two-dimensional manner, and further calculates an average image color from this plurality of pixel data in an average value calculation unit 61.
The information is input to the selection section 62 mentioned above.

尚、平均値演算部61では(X)’ (Y)’ (Z)
’空間での演算となる為、データ記憶部6oで保持した
再量子化データXがらその値に基づく表現色を(X)″
(Y)’ (Z)’データに変換する。誤差補正部63
は選択部62で再量子化した際に発生した量子化誤差を
入力し、隣接する入力画素データを補正する。従って、
前述の再量子化は、この誤差補正処理を施された入力画
像信号に対して行われる事になる。
Note that the average value calculation unit 61 calculates (X)'(Y)' (Z)
'Since the calculation is performed in space, the expression color based on the value of the requantized data X held in the data storage unit 6o is (X)''
Convert to (Y)'(Z)' data. Error correction section 63
inputs the quantization error generated during requantization in the selection unit 62, and corrects adjacent input pixel data. Therefore,
The above-described requantization is performed on the input image signal that has been subjected to this error correction process.

以下、上記処理アルゴリズムを第3図を用いて詳説する
。第3図において、再量子化信号Xは約1ライン分遅延
保持する為に、メモリ600に入力すると共にこの信号
、及び1ライン前の再量子化信号はRAM602.60
1,604.603.606.605の入力アドレス端
子に入力する。
The above processing algorithm will be explained in detail below using FIG. In FIG. 3, the requantized signal
1,604.603.606.605 input address terminal.

このRAMはそれぞれ再量子化信号XからXの示す表現
色データを(X)’ (Y)’ (Z)’色座標データ
に変換する。ここで用いる(X)’ (Y)’ (Z)
’座標とはRGB座標より線形変換で得られるX72色
座標で得られる値の3乗根を軸とする空間でありほぼ濃
度に対して線形性を持つ。尚、この空間上での座標点は
L* a* be空間より次式で容易に変換出来る。
This RAM converts the representation color data indicated by X from the requantized signal X into (X)'(Y)'(Z)' color coordinate data. (X)'(Y)' (Z) used here
The 'coordinate is a space whose axis is the cube root of the value obtained by the X72 color coordinate obtained by linear transformation from the RGB coordinate, and has almost linearity with respect to density. Note that the coordinate points on this space can be easily converted from the L*a*be space using the following equation.

力される表現色L” a” b”データをX’Y″Z′
空間データに変換し後述する再量子化判定に用いる。
The input expression color L” a” b” data is
It is converted into spatial data and used for requantization determination described later.

上記再量子化信号Xからそれぞれ(X)’ (Y)’(
Z)1″へ変換したデータのうち各(X)′空間(Y)
′空間(Z)′空間において注目画素に隣接する4画素
分のデータは、それぞれF/F610−1.61〇−2
,610−3及びF/F611−1.611−2.61
1−3、F/F612−1.612−2.612−3の
入出力端子に位置する。すなわち第6図示す注目画素位
置*に対して隣接する画素A、B、C,Dの持つ(X)
′データ即ち(X)2 (X) 讐(X): (X)g
 は、(それぞれX、 Y、  Zは0〜1.0)つま
り、RAM601,602は(X)′データへ、RAM
603,604は(Y)′データへ、RAM605゜6
06は(Z)′データへ変換する。実施例では、この変
換テーブルは第5図を用いる。尚同様のRAMで構成す
るデータ変換部642はプリンタより入−2出力に位置
する。同様に 上記4画素の(Y)″データ (Y)^(Y)ば(Y)ご(Y)診は、F/F611−
3出力、F/F611−1人力、F/F6111出力で
得られ、同様に(Z)′データ<z)2 (Z)ば(Z
)ご(Z)ばは、F/F613−3出力、F/F 61
21人力、F/F612−2人力、F/F 612−2
出力で得られる。加重平均値演算部613614615
は、それぞれ(X)’ (Y)’ (Z)’空間におい
て上記隣接4画素と注目画素(全再量子化しようとする
画素)位置に第7図の重み係数を用いて独立に平均的な
値mX’、mY’、mZ”を求める。
From the above requantized signal X, (X)'(Y)'(
Z) Of the data converted to 1″, each (X)′ space (Y)
The data for four pixels adjacent to the pixel of interest in 'space (Z)' space are each F/F610-1.61〇-2
,610-3 and F/F611-1.611-2.61
1-3, located at the input/output terminal of F/F612-1.612-2.612-3. That is, the (X) of pixels A, B, C, and D adjacent to the pixel position of interest * shown in FIG.
'Data i.e. (X)2 (X) enemy(X): (X)g
(X, Y, Z are 0 to 1.0 respectively) In other words, RAM 601, 602 goes to (X)' data, RAM
603 and 604 go to (Y)' data, RAM605゜6
06 is converted into (Z)' data. In the embodiment, the conversion table shown in FIG. 5 is used. Note that a data converting section 642 configured with a similar RAM is located at input and output from the printer. Similarly, the above 4 pixels (Y)'' data (Y) ^ (Y) (Y) (Y) diagnosis is F/F611-
3 outputs, F/F611-1 manual power, and F/F6111 outputs, similarly (Z)' data < z) 2 (Z)
) Go (Z) is F/F613-3 output, F/F 61
21 human power, F/F612-2 human power, F/F 612-2
Obtained in the output. Weighted average value calculation unit 613614615
are independently averaged using the weighting coefficients shown in Figure 7 at the positions of the four adjacent pixels and the pixel of interest (the pixel to be completely requantized) in the (X)'(Y)'(Z)' space, respectively. The values mX', mY', mZ'' are determined.

mX’=IXX:+4X刈+IXXR+4XX:mY’
=1xY:+4XY、’+1xY賃+4xY:mZ’=
IXZ:+4XZ:+IXZ:+4XZ:上記平均値m
X″、mY“、mZ’の値は選択部622に入力され、
注目画素位置に付けられた重み係数6と注目画素の再量
子化を予測して、平均値演算が終了する。つまり、注目
画素を今シアンと予測するならば(X−0)、シアンを
予測した場合の平均値mZハ、m Y: Xm Z:は
となる。
mX'=IXX:+4X mowing+IXXR+4XX:mY'
=1xY:+4XY,'+1xY wage+4xY:mZ'=
IXZ:+4XZ:+IXZ:+4XZ:Above average value m
The values of X″, mY″, and mZ′ are input to the selection section 622,
The weighting coefficient 6 assigned to the pixel of interest position and the requantization of the pixel of interest are predicted, and the average value calculation is completed. That is, if the pixel of interest is currently predicted to be cyan (X-0), the average value mZ when cyan is predicted is mY:XmZ:.

同様にして再量子化をXと予測した平均値mX讐mYマ
 mZ誓は となり、表現可能な8色に対する8組の予測平均値を求
める。選択部622は上記8組の予測平均値と誤差補正
後入力画像データをf’  (i、j)(後述)との距
離△E2を次式により求め最も小さい値を示すXの値を
再量子化データと決定する。
In the same way, the average value of the predicted requantization as X becomes mX, mY, mZ, and eight sets of predicted average values for the eight expressible colors are obtained. The selection unit 622 calculates the distance ΔE2 between the predicted average value of the above eight sets and the error-corrected input image data to f' (i, j) (described later) using the following formula, and requantizes the value of X indicating the smallest value. data.

△E”  = (X’ニー −mL’) 2+ (Y’
;、−mYF) 2+(Z’3−mZ″:) (ここで、X′:1、Y″:、、Zマは、f’  (i
、j)のL” a” b”空間データがら、前記変換式
で(X)″(Y)’ (Z)’座標に変換した値とする
。)X、1=min (△E:) ところで上記処理で決定される表現色X (X=0〜7
)と、入力画像f′とは△E;が最小となる事より、こ
の時発生する再量子化誤差△X′、△Y′、△Z′を次
式で定義する。
△E" = (X'knee - mL') 2+ (Y'
;, -mYF) 2+(Z'3-mZ'':) (Here, X':1, Y'':,, Zma is f' (i
, j) are converted into (X)″(Y)′(Z)′ coordinates using the above conversion formula. )X, 1=min (△E:) By the way, the expression color X determined by the above process (X=0 to 7
) and the input image f' has the minimum value ΔE;, so the requantization errors ΔX', ΔY', and ΔZ' that occur at this time are defined by the following equations.

△X″−X′ニーmXで △Y’=YマーmYフ △z’=zマ、−mZで 次に上記再量子化誤差補正について詳説する。△X″−X′ knee mX △Y’=YmarmYfu △z’=zma, -mZ Next, the above requantization error correction will be explained in detail.

上記誤差は基本的には隣接する2画素(つまり次に再量
子化する画素f (i、j+1)と次ラインで隣接する
画素f’  (i+1.0 )で補正するが発生する誤
差の値により以下に示す通り適応的にその値を制限する
The above error is basically corrected by two adjacent pixels (that is, the next pixel f (i, j+1) to be requantized and the adjacent pixel f' (i+1.0) on the next line, but it depends on the value of the error that occurs. The value is adaptively limited as shown below.

△X″1〉α8の時△X′=±α8 △Y′1〉α、の時△Y’=±α7 △Z″1〉α2の時△z′4=±α2 (αx1 αY1 α2は定数) つまり上記処理を施す事により入力画像が急激に変化す
る場合に再量子化画像上でのぼけを防止する。これは平
均値と入力画像の誤差が大きい部分は入力画像が急激に
変化する部分であり、この部分では画像のエツジ部と判
断し、誤差を補正することにより画像のボケを防止する
When △X″1>α8, △X′=±α8 When △Y′1>α, △Y′=±α7 When △Z″1>α2, △z′4=±α2 (αx1 αY1 α2 is a constant ) In other words, by performing the above processing, blurring on the requantized image is prevented when the input image changes rapidly. This means that areas where the error between the average value and the input image is large are areas where the input image changes rapidly, and this area is determined to be the edge of the image, and blurring of the image is prevented by correcting the error.

さて、上記再量子化誤差△X″、△Y′、△Z′はそれ
ぞれ次画素位置への補正誤差をel、次ライン画素位置
への補正誤差をe2とすると以下の様に示される。第8
図に注目画素位置に対する誤差の補正位置を示す。
Now, the requantization errors △X'', △Y', and △Z' are expressed as follows, where el is the correction error to the next pixel position, and e2 is the correction error to the next line pixel position. 8
The figure shows the error correction position for the target pixel position.

△X′ △Y′  △Z′ el (i、  j+1) = (T、丁、−「)△X
′     △Y′    △Z′e2 (j+1. 
i) = (△x’−7+△y14 z’△z’−T>
ここで次ライン画素へのライン補正誤差e2は第3図の
誤差メモリ634に入力し、同時にこの誤差メモリ63
4から約1ライン前に入力され、1ライン分保持された
。すなわちe2 (i、j+1)を読み出し、加算器6
33で今生酸したel(i、j+1)を加算するこの加
算器出力から次画素f (i、j+1)に対する補正誤
差であり、加算器632で入力画像データに加える。式
で示すと以下の様になる。
△X'△Y'△Z' el (i, j+1) = (T, ding, - ") △X
′ △Y′ △Z′e2 (j+1.
i) = (△x'-7+△y14 z'△z'-T>
Here, the line correction error e2 to the next line pixel is input to the error memory 634 in FIG.
4 was input approximately one line before, and one line was retained. That is, read out e2 (i, j+1) and adder 6
The output of this adder is the correction error for the next pixel f (i, j+1), which is added to the input image data in an adder 632. Expressed as a formula, it is as follows.

f’  (i、 j+1) =f (i、 j+1) 
+el (i、 j+1)+e2 (i、 j+1) 上記誤差補正はデータ変換部641でLab空間から(
X’)  (Y’)’(Z’)座標に変換された入力画
像信号に対して各空間で独立に実行する。尚、誤差補正
が終了した入力画像データf’  (i、j+1)は次
の画素データブロックが入力された時点でF/F 63
1より選択部622に入力され、前述した一連の再量子
化処理が実行される。尚、第3図における記録信号テコ
ードROM640は前述した第4図に基づく再量子化信
号Xから記録2値信号Cx、Mx、Yx、Kxへの変換
ROMである。
f' (i, j+1) = f (i, j+1)
+el (i, j+1)+e2 (i, j+1) The above error correction is performed by the data conversion unit 641 from Lab space to (
The processing is performed independently in each space on the input image signal converted to X') (Y')'(Z') coordinates. Note that the input image data f' (i, j+1) for which error correction has been completed is changed to F/F 63 when the next pixel data block is input.
1 to the selection unit 622, and the series of requantization processing described above is executed. Note that the recording signal code ROM 640 in FIG. 3 is a ROM for converting the requantized signal X into recording binary signals Cx, Mx, Yx, and Kx based on the above-mentioned FIG. 4.

〈誤差補正部の別実施例〉 本実施例では隣接する2画素位置に誤差を配分したが、
例えば第9図に示す誤差分配率で2画素以上の広い範囲
に誤差配分する事で再量子化画像中の低周波数の目ざわ
りなテクスチャーの発生を緩和出来る。
<Another embodiment of the error correction unit> In this embodiment, the error is distributed to two adjacent pixel positions.
For example, by distributing the error over a wide range of two or more pixels using the error distribution ratio shown in FIG. 9, it is possible to alleviate the occurrence of an unpleasant low-frequency texture in the requantized image.

又、同目的を達成する別実施例として2画素への誤差分
配率を下図の様に設定し擬似乱数を用いて画素毎に切り
換える事も効果が有る。
Furthermore, as another embodiment to achieve the same purpose, it is also effective to set the error distribution rate to two pixels as shown in the figure below and switch it for each pixel using pseudo-random numbers.

el  (i、j+1)= (△X″、△Y″、△Z’
)P           P e2 (j+1.  i) = (△x’−、△X9.
△Y’−、△Y4△Z′−−△Z’) 用いる1bitの擬似乱数発生器は、いわゆるM系列符
号を用いればA3原稿全域を処理する際においても周期
性を発生させない擬似乱数PNは約25段の1bitシ
ストレジスタで構成出来る。
el (i, j+1) = (△X″, △Y″, △Z'
) P P e2 (j+1. i) = (△x'-, △X9.
△Y'-, △Y4△Z'--△Z') If the 1-bit pseudo-random number generator used uses a so-called M-sequence code, the pseudo-random number PN will not generate periodicity even when processing the entire A3 document. It can be configured with approximately 25 stages of 1-bit sister registers.

〈誤差補正細別実施例〉 発生する誤差の値を所定値で制限して再量子化画像上で
のぼけを防止したが、入力画像の持つエツジ情報をより
忠実に再量子化画像上で得るには入力画像データと予測
平均値との距離△E2に応じて誤差補正を中止する事が
効果的である。
<Detailed example of error correction> Although the value of the error that occurs is limited to a predetermined value to prevent blurring on the requantized image, it is necessary to more faithfully obtain the edge information of the input image on the requantized image. It is effective to stop error correction according to the distance ΔE2 between the input image data and the predicted average value.

っまりXに再量子化された時、誤差△E:は△E;=(
△X’)”十(△Y’)2+(△Z″)2であり △E;〉βの  △X′=0 △Y′=0 △Z’=O(βは定数) つまり△E;の値は入力画像の変化量に依存している為
βを越える急激な画像変化に対しては再量子化はその点
に近似する事の方が望ましい。
When requantized to exactly X, the error △E: is △E;=(
△X')"10(△Y')2+(△Z")2 and △E;〉β △X'=0 △Y'=0 △Z'=O (β is a constant) That is, △E; Since the value of depends on the amount of change in the input image, for sudden image changes exceeding β, it is preferable to requantize to approximate that point.

又、前記実施例同様にβは画像に応じて連続階調画像の
場合大とし、網点画像1文字線画に対してはより小さく
設定する事が望ましい。さらに、その値は入力画像の微
視的空間の特徴(例えばエツジ情報)より自動的に、つ
まり適応的に設定する事も可能である。
Further, as in the embodiment described above, it is desirable to set β to a large value for a continuous tone image depending on the image, and to set it to a smaller value for a single character line drawing of a halftone image. Furthermore, the value can also be set automatically, that is, adaptively, based on the microscopic space characteristics (for example, edge information) of the input image.

又、上記△E=は誤差補正された入力画像信号と予測平
均値の差で定義したが、上記観点でより入力画像の変化
をはん影させるには誤差補正前の入力画像信号fそのも
のとの差δE2を新たに定義し、この値を用いて上述の
誤差補正処理を施す事はより効果的である。以下にその
式を示す。
In addition, the above △E= was defined as the difference between the error-corrected input image signal and the predicted average value, but from the above point of view, in order to better reflect the changes in the input image, it is necessary to define the difference between the input image signal f itself before error correction. It is more effective to newly define the difference δE2 and perform the above-described error correction process using this value. The formula is shown below.

δE:= (X’ニーX″l;)2+ (YマーmY+
’;) ”十(Z’;’−mZ″:) ”δE:〉βの
時    △X″=0 △Y″=0 △Z″=0 (βは定数) (X’)  (Y’)  (Z’)  <選択部の別実
施例〉前記実施例ではC,M、Y、に4色の2値記録を
前提にC,M、Y、に、R,G、B、Wなる代表的8色
に再量子化するる例であるが、より忠実な黒色を表現す
るには、上記8色に加えてCK=C+に、MK=M+に
、YK=Y+KC,M、Yと黒をそれぞれ重ねたCK、
MK。
δE:= (X'neeX″l;)2+ (Ymer mY+
';) ``10 (Z';'-mZ'':) ``When δE:>β △X''=0 △Y''=0 △Z''=0 (β is a constant) (X') (Y') (Z') <Another embodiment of the selection section> In the above embodiment, on the premise of binary recording of four colors in C, M, Y, typical R, G, B, and W are selected in C, M, Y, and This is an example of requantizing to 8 colors, but in order to express a more faithful black, in addition to the above 8 colors, CK=C+, MK=M+, YK=Y+KC, M, Y and black, respectively. Stacked CK,
M.K.

YKなる3色の黒データを加えた11色で再量子化すれ
ば良い。尚、この時、記録信号への変換はCKの場合C
=1.に=1、MKの場合M=1゜K=1、YKの場合
Y=l、に=1とする。この処理によって黒に近い領域
で記録色ドツトが単色で記録される事が軽減される為、
より忠実な色味をおびた濃い灰色として再量子化出来る
It is sufficient to requantize the data using 11 colors including the black data of the three colors YK. At this time, the conversion to the recording signal is C in the case of CK.
=1. In the case of MK, M=1°K=1; in the case of YK, Y=l and N=1. This process reduces the possibility that recording color dots are recorded in a single color in areas close to black, so
It can be requantized as a dark gray with a more faithful color.

又、淡い灰色をより忠実に再量子化するには、記録装置
が濃淡インクを用いたインクシェツト記録、パルス輻・
エネルギー変調による電子写真方式の場合、中間レベル
での記録を想定し、KとWの中間にWK WK=0.5に つまり、黒記録を3値記録として前者は淡い黒インクを
用いた場合のLm a* b−値をWKの値として、後
者はハーフドツトサイズで黒ドツトを記録した場合のL
” a’ b”値をW1値として、前記8色に加えて9
色に再量子化すれば良い。
In addition, in order to requantize pale gray more faithfully, the recording device can perform inksheet recording using dark and light inks, pulse radiation printing, etc.
In the case of an electrophotographic method using energy modulation, assuming recording at an intermediate level, WK is set between K and W. In other words, black recording is ternary recording, and the former is when pale black ink is used. The Lm a*b-value is the WK value, and the latter is the L when a black dot is recorded in half dot size.
In addition to the above 8 colors, 9
All you have to do is requantize it to color.

同様に他のC,M、 Yにも拡張すれば、さらに中間色
での記録表現色が増す為により高品位な再量子化画像が
得られる。
If the method is similarly extended to other colors such as C, M, and Y, the number of recorded colors in intermediate colors will further increase, resulting in a requantized image of higher quality.

く再量子化部別実施例〉 前述した実施例では(X’)  (Y″)(Z’)空間
において予測平均値を入力画像信号との距離の最も小さ
い表現色Xを再量子化値としたがL″a″b1a″b1
空間わゆる△E:を用いて、その再量子化誤差を均等色
差にする事が可能である。つまり、予測平均値をL″a
″b°a″b°空間mL:= 116mY;−16 m a:= 500 (mX;−mY’;)m b:=
 200 (mY;−m Z’;)を求めると同様に誤
差補正後入力画像信号f′をL’a″b°空間に変換し
た値し7a7bフより△E:  =  (L7−mL:
) 2+(a7.−ma:) 2+(b7−mb:)” =1162(△Y’)2+5002(△X′−△Y′)
2+200”(△Y′−△Z′A)2 △E;を求め前述同様に最小値を呈する表現色Xを注目
画素の再量子化値XIJとする。尚、誤差補正は(X’
)  (Y’)  (Z’)空間xij=min(△E
二) で行う事はの述べるまでもない。
Embodiment for each requantization section> In the above-mentioned embodiment, the predicted average value in the (X') (Y'') (Z') space is set to the expression color X with the smallest distance from the input image signal as the requantization value. However, L″a″b1a″b1
Using the spatial so-called ΔE:, it is possible to make the requantization error into a uniform color difference. In other words, the predicted average value is L″a
"b°a"b° space mL:= 116mY;-16 m a:= 500 (mX;-mY';) m b:=
200 (mY; -m Z';) In the same way, the input image signal f' after error correction is converted to L'a''b° space, and from 7a7b, △E: = (L7-mL:
) 2+(a7.-ma:) 2+(b7-mb:)” =1162(△Y')2+5002(△X'-△Y')
2+200''(△Y'-△Z'A)2△E; is determined, and the expression color X that exhibits the minimum value is set as the requantization value XIJ of the pixel of interest in the same way as described above.The error correction is (X'
) (Y') (Z') space xij=min(△E
2) There is no need to explain what is done in step 2).

又、平均値を求める為の参照領域はABCD4画素とし
たが、この画素数も限定されず、特に注目画素位置のみ
に重み16を割り付けた場合、前述の誤差補正領域を4
〜8画素程度に広げれば同様に良好な擬似中間調処理が
可能である。
In addition, the reference area for calculating the average value was set to 4 pixels ABCD, but the number of pixels is not limited, and especially when a weight of 16 is assigned only to the pixel position of interest, the above-mentioned error correction area is set to 4 pixels.
Similarly, good pseudo-halftone processing is possible if the number of pixels is expanded to about 8 pixels.

以上説明したように、既に再量子化した量子化データと
注目画素の再量子化を予測してX″Y″Z″Y″Z″空
間を求め、この値と入力画像信号との差を求め、最も近
い記録色を選択して画素毎に記録信号を得ると共に発生
する再量子化誤差を隣接画素上で補正する際にその発生
する誤差値を適応的に制御する事により、より入力画像
信号に忠実な再量子化が可能となる。
As explained above, the X″Y″Z″Y″Z″ space is calculated by predicting the requantization of the quantized data that has already been requantized and the pixel of interest, and the difference between this value and the input image signal is calculated. , by selecting the closest recording color to obtain a recording signal for each pixel and adaptively controlling the error value that occurs when correcting the requantization error that occurs on adjacent pixels, the input image signal can be further improved. This makes it possible to requantize faithfully.

又、本実施例によればオリジナルに忠実な色味を再現で
きるので4色々分解して得られる擬似中間調画像に比べ
て黒色細線文字をより黒く鮮明に表現可能となる。
Furthermore, according to this embodiment, since it is possible to reproduce a color tone that is faithful to the original, it is possible to express black thin line characters blacker and clearer than a pseudo halftone image obtained by dividing into four different colors.

〔発明の効果〕〔Effect of the invention〕

以上説明した如く、本発明によればx’y’z″で表現
される色空間で入力画像データを中間調処理するので、
入力カラー画像に忠実な色味を再現することができると
ともに、表現色への変換時に発生する誤差を補正するこ
とにより、更に高品位な画像を出力する事ができる。
As explained above, according to the present invention, input image data is subjected to halftone processing in a color space expressed as x'y'z''.
It is possible to reproduce colors that are faithful to the input color image, and by correcting errors that occur during conversion to expression colors, it is possible to output an even higher quality image.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例であるカラー画像処理装置の
ブロック図、 第2図、第3図は中間調処理部の詳細を示したブロック
図、 第4図は中間調処理により決定された表現色と記録色と
の関係を示した図 第5図は表現色とL”a″b″の関係を示した図、第6
図は中間調処理する際の参照画素を示した図、第7図は
平均値を求める際の重み係数を示した図、第8図、第9
図は誤差分配位置を示した図である。 図中1はセンサ、2はA/D変換器、3はシエーテイン
グ補正回路、4は表色系変換回路、5は画像修正部、6
は擬似中間処理部、7は記録表示部である。 −111泊 嘗と係数 黄 ミL目1シI(立置 肴強目画1位置
FIG. 1 is a block diagram of a color image processing device that is an embodiment of the present invention, FIGS. 2 and 3 are block diagrams showing details of the halftone processing section, and FIG. 4 is a block diagram showing the details of the halftone processing section. Figure 5 is a diagram showing the relationship between expressed color and recorded color. Figure 6 is a diagram showing the relationship between expressed color and L"a"b".
The figure shows reference pixels when performing halftone processing, Figure 7 shows weighting coefficients when calculating the average value, Figures 8 and 9
The figure shows error distribution positions. In the figure, 1 is a sensor, 2 is an A/D converter, 3 is a shading correction circuit, 4 is a color system conversion circuit, 5 is an image correction unit, 6
7 is a pseudo intermediate processing section, and 7 is a recording display section. -111 nights and coefficient yellow eye

Claims (1)

【特許請求の範囲】  複数色のうちの1つに量子化された注目画素近傍の複
数のデータと、注目画素の量子化予測値とによりX^1
^/^3Y^1^/^3Z^1^/^3空間での複数の
平均値を演算する予測平均値演算手段と、 前記複数の平均値の中より入力画像に最も近い色を決定
する量子化手段と、 前記量子化時に発生する量子化誤差を補正する補正手段
とを有することを特徴とするカラー画像処理装置。
[Claims] X^1 is determined by a plurality of pieces of data near the pixel of interest quantized into one of a plurality of colors and a quantized predicted value of the pixel of interest.
^/^3Y^1^/^3Z^1^/^3 Predicted average value calculation means for calculating a plurality of average values in the space, and determining a color closest to the input image from among the plurality of average values. A color image processing apparatus comprising: a quantization means; and a correction means for correcting a quantization error generated during the quantization.
JP2206605A 1990-08-03 1990-08-03 Color picture processor Pending JPH0490672A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2206605A JPH0490672A (en) 1990-08-03 1990-08-03 Color picture processor
DE1991623657 DE69123657T2 (en) 1990-08-03 1991-07-31 Color image processing device
EP19910307039 EP0469896B1 (en) 1990-08-03 1991-07-31 Color image processing apparatus
US08/024,869 US5270808A (en) 1990-08-03 1993-03-01 Color image processing with adjustment of computed recording color to match original color

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2206605A JPH0490672A (en) 1990-08-03 1990-08-03 Color picture processor

Publications (1)

Publication Number Publication Date
JPH0490672A true JPH0490672A (en) 1992-03-24

Family

ID=16526158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2206605A Pending JPH0490672A (en) 1990-08-03 1990-08-03 Color picture processor

Country Status (1)

Country Link
JP (1) JPH0490672A (en)

Similar Documents

Publication Publication Date Title
US6118547A (en) Image processing method and apparatus
US5270808A (en) Color image processing with adjustment of computed recording color to match original color
EP1395041B1 (en) Colour correction of images
EP0487304B1 (en) Color image processing
JP2005354610A (en) Image processing apparatus, image processing method and image processing program
JPH0730772A (en) Image processor
JP3679469B2 (en) Color correction method
CN102292972B (en) Image processing method, image processing device and recording medium
JP4381360B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JPH0622123A (en) Half-tone mask for digital image and its formation method
JP2003174567A (en) Generation method for conversion table, program and color copying machine
JPH0490672A (en) Color picture processor
JP3048170B2 (en) Color image processing equipment
JPH0722327B2 (en) Color image processor
EP0561287B1 (en) Density processing method
JP2800071B2 (en) Color image forming equipment
JP2006121530A (en) Color conversion apparatus, image forming apparatus, color conversion method and computer program
JP4027300B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2001157066A (en) Method and device for processing color image
JP4166733B2 (en) Image processing method, image processing apparatus, image forming apparatus including the same, image processing program, and recording medium
JP2005167503A (en) Image processor and image forming apparatus provided with the same
JP3314245B2 (en) Image processing device
JP4322639B2 (en) Color pixel data conversion apparatus, color pixel data conversion program, computer-readable recording medium recording color pixel data conversion program, and data conversion method
EP0469896B1 (en) Color image processing apparatus
JP3048171B2 (en) Color image processing equipment