JP3048170B2 - Color image processing equipment - Google Patents

Color image processing equipment

Info

Publication number
JP3048170B2
JP3048170B2 JP2206602A JP20660290A JP3048170B2 JP 3048170 B2 JP3048170 B2 JP 3048170B2 JP 2206602 A JP2206602 A JP 2206602A JP 20660290 A JP20660290 A JP 20660290A JP 3048170 B2 JP3048170 B2 JP 3048170B2
Authority
JP
Japan
Prior art keywords
color
coordinate data
pixel
data
average value
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
JP2206602A
Other languages
Japanese (ja)
Other versions
JPH0490670A (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.)
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 JP2206602A priority Critical patent/JP3048170B2/en
Priority to DE1991623657 priority patent/DE69123657T2/en
Priority to EP19910307039 priority patent/EP0469896B1/en
Publication of JPH0490670A publication Critical patent/JPH0490670A/en
Priority to US08/024,869 priority patent/US5270808A/en
Application granted granted Critical
Publication of JP3048170B2 publication Critical patent/JP3048170B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は所定の色空間における色を表わす座標データ
を出力装置が表現可能な複数色の表現色のなかの1つの
表現色に変換するカラー画像処理装置に関する。
Description: BACKGROUND OF THE INVENTION The present invention relates to a color for converting coordinate data representing a color in a predetermined color space into one of a plurality of expression colors that can be represented by an output device. The present invention relates to an image processing device.

〔従来の技術〕[Conventional technology]

従来よりデジタルカラー複写機等のカラー画像処理装
置においては、原稿を読み取ることにより得られた画像
データを擬似中間調処理して記録或いは表示出力してい
る。
2. Description of the Related Art Conventionally, in a color image processing apparatus such as a digital color copying machine, image data obtained by reading a document is subjected to pseudo halftone processing and recorded or displayed and output.

この種の擬似中間調処理方式としてデイザ法、誤差拡
散法(ED法)等が知られている。この種の方式でカラー
画像を表現するには、出力装置に例えばCRT等発光型デ
イスプレイを用いる場合、入力RGB多値データをR,G,B各
色空間で独立に擬似中間調処理している。又、出力装置
にインクジエツト、静電記録、熱転写に代表される熱記
録装置を用いる場合には、入力した多値データをR,G,B
色座標からC,M,Y(K)色座標に変換した後、前述同様
各色空間で独立に擬似中間調処理する事が一般的であ
る。
As such a pseudo halftone processing method, a dither method, an error diffusion method (ED method), and the like are known. In order to express a color image in this type of system, when a light-emitting display such as a CRT is used as an output device, input RGB multi-value data is subjected to pseudo halftone processing independently in each of R, G, and B color spaces. When a thermal recording device represented by ink jet, electrostatic recording, or thermal transfer is used as the output device, the input multi-value data is converted to R, G, B
Generally, after converting the color coordinates into C, M, Y (K) color coordinates, pseudo halftone processing is performed independently in each color space as described above.

〔発明が解決しようとしている課題〕[Problems to be solved by the invention]

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

本発明は上述した従来技術の欠点に鑑みなされたもの
であり、変換処理の終了した表現色座標データと注目画
素の予測表現色座標データとから複数の予測平均値座標
データを演算し、入力した注目画素の色を表わす座標デ
ータと、複数の予測平均値座標データとの空間的距離が
もっとも小さい場合の予測表現色座標データが表わす表
現色を注目画素の表現色とし、更にその変換の際発生す
る誤差データを補正することにより、入力カラー画像の
色味を忠実に再現できるとともに、誤差データの補正量
を制限することで、エッジ部も鮮明に再現することがで
きるカラー画像処理装置の提供を目的とする。
The present invention has been made in view of the above-described drawbacks of the related art, and calculates and inputs a plurality of pieces of predicted average value coordinate data from the expression color coordinate data after the conversion process and the predicted expression color coordinate data of the pixel of interest. The expression color represented by the predicted expression color coordinate data when the spatial distance between the coordinate data representing the color of the pixel of interest and the plurality of pieces of predicted average value coordinate data is the smallest is set as the expression color of the pixel of interest, and is generated at the time of conversion. A color image processing apparatus capable of faithfully reproducing the tint of an input color image by correcting the error data to be reproduced and limiting the amount of correction of the error data so that the edge portion can be clearly reproduced. Aim.

[課題を解決するための手段] 上述した目的を達成すべく本発明のカラー画像処理装
置は、所定の色空間における色を表わす座標データを出
力装置が表現可能な複数色の表現色のなかの1つの表現
色に変換するカラー画像処理装置であって、所定の色空
間における色を表わす座標データを入力する入力手段
と、注目画素周辺の変換処理の終了した複数画素の表現
色座標データと、注目画素の予測表現色座標データとの
重み係数による加重平均により予測平均値座標データを
演算する処理を、予測表現色座標データを変化させて実
行し、複数の予測平均値座標データを演算する予測平均
値演算手段と、前記入力手段により入力した注目画素の
座標データと、前記平均値演算手段により演算された複
数のそれぞれの予測平均値座標データとの空間的距離を
比較する比較手段と、前記比較手段の比較結果に基づ
き、空間的距離がもっとも小さい予測平均値座標データ
を演算した際の予測表現色座標データが表わす表現色を
注目画素の表現色として決定する決定手段と、前記決定
手段が注目画素の表現色を決定する際に発生する誤差デ
ータを新たに入力する画素の座標データに加算すること
で補正する誤差補正手段とを有し、前記誤差補正手段
は、誤差データのレベルが所定値より大きい場合は、誤
差データのレベルを所定値に制限することを特徴とす
る。
[Means for Solving the Problems] In order to achieve the above-described object, a color image processing apparatus according to the present invention uses coordinate data representing colors in a predetermined color space among a plurality of colors that can be expressed by an output device. A color image processing device for converting into one expression color, input means for inputting coordinate data representing a color in a predetermined color space, expression color coordinate data of a plurality of pixels having undergone conversion processing around a pixel of interest, A process of calculating predicted average value coordinate data by weighted averaging using a weighting coefficient with the predicted expression color coordinate data of a target pixel while changing the predicted expression color coordinate data to calculate a plurality of predicted average value coordinate data A space between the average value calculating means, the coordinate data of the pixel of interest input by the input means, and the plurality of respective predicted average value coordinate data calculated by the average value calculating means; Means for comparing the target distance, and the expression color represented by the predicted expression color coordinate data when the predicted average value coordinate data having the smallest spatial distance is calculated based on the comparison result of the comparison means as the expression color of the pixel of interest. Determining means for determining, and error correcting means for correcting by adding error data generated when the determining means determines the expression color of the pixel of interest to coordinate data of a newly input pixel; When the level of the error data is higher than a predetermined value, the correction means limits the level of the error data to the predetermined value.

〔実施例〕〔Example〕

以下図面を用いた本発明の一実施例を詳細に説明す
る。尚、本実施例では明度及び色度により表わされる色
座標データとして、L色座標データを用いて
説明するが、他の色座標データ、例えば、L
,YIQ,Yuvそれぞれの色座標データに対しても本発
明は適用することができる。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In this embodiment, the description is made using L * a * b * color coordinate data as color coordinate data represented by lightness and chromaticity, but other color coordinate data, for example, L * u
The present invention can also be applied to the color coordinate data of * v * , YIQ, and Yuv.

第1図は本発明の一実施例である画像処理装置の概要
を示したブロツク図である。図中1はCCDで構成される
カラー画像読み取り部であり、原稿の反射光量を電気量
に変換して出力する。このCCD1は3原色であるR,G,Bそ
れぞれのフイルタにより反射光中のR光、G光、B光を
色成分毎に電気信号に変換する。これらのアナログ電気
信号はA/Dコンバータ2でデジタル信号に量子化され
る。デジタル画像信号r,g,bはシエーデイング補正回路
3によりCCD素子間のバラツキ、及び光源のムラを補正
する。表色系変換回路4はr,g,b信号をL
号に変換する。LはLが明度aが色
度を表わしており、Lで全ての色を表現する
色空間を形成する。画像修正部5は外部からの指示によ
り例えばL信号に対するエツジ強調、あるいはa
空間での色修正、色変換及び変倍等、入力カラー画像
信号を所望するカラー画像信号に変換する。
FIG. 1 is a block diagram showing an outline of an image processing apparatus according to one embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a color image reading unit constituted by a CCD, which converts a reflected light amount of an original into an electric amount and outputs the electric amount. The CCD 1 converts the R light, G light, and B light in the reflected light into electric signals for each color component by the filters of the three primary colors R, G, and B. These analog electric signals are quantized by the A / D converter 2 into digital signals. The digital image signals r, g, and b are corrected by a shading correction circuit 3 for variations between CCD elements and uneven light sources. The color system conversion circuit 4 converts the r, g, b signals into L * a * b * signals. L * a * b * represents the lightness a * b * chromaticity is L *, to form the color space to represent all the colors in the L * a * b *. The image correcting unit 5 may, for example, perform edge enhancement on the L * signal or a * b according to an external instruction.
* Convert an input color image signal into a desired color image signal, such as color correction in space, color conversion and scaling.

6は本実施例の目的を達成する為のカラー画像の擬似
中間調処理部であり、前述のLで表現される
多値画像信号と、記録部7で1画素が表現出来る数種類
の表現色データをもとに画素毎に擬似中間調処理する。
Reference numeral 6 denotes a pseudo halftone processing unit for a color image for achieving the purpose of the present embodiment. The multivalued image signal represented by L * a * b * and one pixel can be represented by the recording unit 7. Pseudo halftone processing is performed for each pixel based on several types of expression color data.

本実施例による擬似中間調処理部6の第1実施例を第
2図及び第3図に示すブロツク図を用いて詳説する。
A first embodiment of the pseudo halftone processing section 6 according to the present embodiment will be described in detail with reference to the block diagrams shown in FIGS.

<第1実施例> 第2図の選択部62はその周囲を考慮しつつ入力画像f
に最も近い表現色を画素毎に選択(以降、再量子化と呼
ぶ)する。実施例では記録装置がC,M,Y,K4色の2値記録
が可能なプリンタであり、従って表現色は画素毎にC,M,
Y,B(CM),G(CY),R(MY)とW,K(黒)の8色とする。
選択された8色の値(x)は3bit(0〜7)の値で表現
し、記録信号変換部64でC,M,Y,K2値信号に変換する。再
量子化信号xと記録信号の対応を第4図に示す。この再
量子化信号xはデータ記憶部60に入力する。データ記憶
部60は今再量子化した注目画素近傍の画素の再量子化デ
ータを二次元的に遅延保持し、さらにこの複数画素デー
タより平均値演算部61で平均的画像色を演算し、前述選
択部62に入力する。尚、平均値演算部61ではL
空間での演算となる為データ記憶部60で保持した再量
子化データxからその値に基づく表現色をL
データに変換する。誤差補正部63は選択部62で再量子化
した際に発生した量子化誤差を入力し、隣接する入力画
素データを補正する。従って前述の再量子化はこの期差
補正処理を施された入力画像信号に対して行なわれる事
になる。
<First Embodiment> The selection unit 62 shown in FIG.
Is selected for each pixel (hereinafter, referred to as requantization). In the embodiment, the recording device is a printer capable of binary recording of C, M, Y, and K4 colors, and therefore, the expression colors are C, M, and
Eight colors, Y, B (CM), G (CY), R (MY) and W, K (black).
The value (x) of the selected eight colors is represented by a value of 3 bits (0 to 7), and is converted into a C, M, Y, K2 value signal by the recording signal conversion unit 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 unit 60. The data storage unit 60 two-dimensionally delay-holds the requantized data of the pixel in the vicinity of the pixel of interest that has just been requantized, and further calculates an average image color from the multiple pixel data in the average value calculation unit 61. Input to selection section 62. Note that the average value calculation unit 61 uses L * a * b
* Because the operation is performed in space, the expression color based on the requantized data x stored in the data storage unit 60 based on the value is L * a * b *.
Convert to data. The error correction unit 63 receives the quantization error generated when requantization is performed by 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 the period difference correction processing.

以下、上記処理アルゴリズムを第3図を用いて詳説す
る。
Hereinafter, the processing algorithm will be described in detail with reference to FIG.

第3図において再量子化信号xは約1ライン分遅延保
持する為にメモリ600に入力すると共に、この信号及び
1ライン前の再量子化信号はRAM602、601、604、603、6
06、605の入力アドレス端子に入力する。このRAMはそれ
ぞれ再量子化信号xからxの示す表現色データをL
色座標データに変換する。つまり表現色xはRAM6
01、602はLデータへ、RAM603、604はaデータへ、
RAM605,606はbデータへ変換される。本実施例ではこ
の変換テーブルは第5図を用いる。
In FIG. 3, the requantized signal x is input to the memory 600 in order to hold a delay of about one line, and this signal and the requantized signal one line before are stored in the RAMs 602, 601, 604, 603, 6
Input to the input address terminals of 06 and 605. This RAM stores the expression color data represented by the requantized signals x to x as L * a.
* B * Convert to color coordinate data. In other words, the expression color x is RAM6
01, 602 to L * data, RAM 603, 604 to a * data,
RAMs 605 and 606 are converted to b * data. In this embodiment, this conversion table uses FIG.

上記再量子化信号xからそれぞれL xa xb へ変
換したデータのうち各L空間、a空間、b空間に
おいて注目画素に隣接ずる4画素分のデータは、それぞ
れF/F610−1 610−2 610−3及びF/F611−1 611
−2 611−3、F/F612−1 612−2 612−3の出力
端子に位置する。すなわち第6図に示す注目画素位置*
に対して隣接する画素A,B,C,Dの持つLデータ、即ち
、L 、L 、L はそれぞれF/F610−3
出力、F/F610−1入力、F/F610−1出力、F/F610−2出
力に位置する。同様に上記4画素のaデータa A a
B a C a はF/F611−3出力、F/F611−1入力、F/
F611−1出力で得られ同様にBデータb A b B b
C b データはF/F613−3出力、F/F612−1入力、F/F
612−2入力、F/F612−2出力で得られる。加算平均値
演算部613、614、615はそれぞれL b a空間にお
いて上記隣接4画素と注目画素(今再量子化しようとす
る画素)位置に第7図の重み係数を用いて独立に平均値
mL ma* mbを求める。
Each L * space of the data converted into L * x a * x b * x respectively from the re-quantized signal x, a * space, b * data of the adjacent sly four pixels to the pixel of interest in space, respectively F / F610-1 610-2 610-3 and F / F611-1 611
-2 611-3, F / F612-1 612-2 Located at the output terminal of 612-3. That is, the target pixel position * shown in FIG.
, L * data of pixels A, B, C, and D adjacent thereto, that is, L * A , L * B , L * C , and L * D are respectively F / F610-3.
Output, F / F610-1 input, F / F610-1 output, F / F610-2 output. Similarly, a * data a * A a of the above four pixels
* B a * C a * D is F / F611-3 output, F / F611-1 input, F /
Similarly obtained F611-1 output B * data b * A b * B b *
C b * D data F / F613-3 output, F / F612-1 input, F / F
It can be obtained with 612-2 input and F / F612-2 output. The averaging value calculation units 613, 614, and 615 respectively use the weighting coefficients shown in FIG. 7 independently at the positions of the four adjacent pixels and the target pixel (the pixel to be requantized) in the L * b * a * space. Average value
Obtain mL * ma * mb * .

mL=1×L +4×L +1×L +4×L
ma=1×a +4×a +1×a +4×a
mb=1×b +4×b +1×b +4×b
上記平均値mL ma mbの値は選択部622に入力さ
れ、注目画素位置に付けられた重み係数6と注目画素の
再量子化を予測して平均値演算が終了する。つまり、注
目画素を今シアンを予測するならば(x=0)シアンを
予測した場合の平均値mL 0 ma 0 mb となる。
mL * = 1 × L * D + 4 × L * C + 1 × L * B + 4 × L
* A ma * = 1 × a * D + 4 × a * C + 1 × a * B + 4 × a
* A mb * = 1 × b * D + 4 × b * C + 1 × b * B + 4 × b
* A The value of the average value mL * ma * mb * is input to the selection unit 622, and the weight coefficient 6 assigned to the target pixel position and requantization of the target pixel are predicted, and the average value calculation ends. That is, if the target pixel is predicted to be cyan now (x = 0), the average value mL * 0 ma * 0 mb * 0 in the case where cyan is predicted is Becomes

同様にして再量子化をxと予測した平均値mL x ma
x mb となり表現可能な8色に対する8組の予測平均値を求め
る。選択部622は上記8組の予測平均値と誤差補正後入
力画像データf′(i,j)(後述)との距離、ΔEx 2を次
式により求め、最も小さい値を示すxの値を再量子化デ
ータと決定する。
Similarly, average value mL * xma * for which requantization is predicted as x
x mb * x is Then, eight sets of predicted average values for eight expressible colors are obtained. Selecting unit 622 the eight sets of predicted mean value and the error corrected input image data f '(i, j) the distance between (described later), a Delta] E x 2 obtained by the following equation, the value of x indicating the smallest value It is determined as requantized data.

ΔEx2=(L f′−mL +(a f′−ma
+(b f′−mb (ここでL f′ a f′ b f′はf′(i,j)のL
a b空間データとする) Xij=min(ΔEx 2) ところで上記処理で決定される表現色(x=0〜7)
と、入力画像f′とはΔEx 2が最小となる事より、この
時発生する再量子化誤差ΔL Δa Δbを次式
で定義する。
ΔEx 2 = (L * f ' -mL * x) 2 + (a * f' -ma *
x) 2 + (b * f '-mb * x) 2 ( where L * f' a * f ' b * f' is f '(i, j) of L
* A * b * spatial data) X ij = min (ΔE x 2 ) By the way, the expression color determined by the above processing (x = 0 to 7)
If, the input image f 'than that Delta] E x 2 is minimum, it defines the requantization error ΔL * Δa * Δb * generated at this time by the following equation.

ΔL=L f′−mL Δa=a f′−ma Δb=b f′−mb 次に上記再量子化誤差補正について詳説する。 ΔL * = L * f '-mL * x Δa * = a * f' -ma * x Δb * = b * f '-mb * x will be described in detail above requantization error correction.

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

|ΔL|>αの時ΔL=±α |Δa|>αの時Δa=±α |Δb|>αの時Δb=±α (αLaは定数) つまり上記処理を施す事により入力画像が急激に変化
する場合に再量子化画像上でのぼけを防止する。これは
平均値と入力画像の誤差が大きい部分は入力画像が急激
に変化する部分であり、この部分では画像のエツジ部と
判断し、誤差を補正することにより画像のボケを防止す
る。
| ΔL * |> α when L ΔL * = ± α L | Δa * |> α when Δa * = ± α a of a | Δb * |> time of α b Δb * = ± α b (α L, α a , α b are constants) That is, by performing the above-described processing, blurring on the requantized image is prevented when the input image changes rapidly. This is a portion where the error between the average value and the input image is large is a portion where the input image changes abruptly. In this portion, it is determined that the image is an edge portion of the image, and the error is corrected to prevent blurring of the image.

さて、上記再量子化誤差ΔL Δa Δbはそ
れぞれ次画素位置への補正誤差をe1、次ライン画素位置
への補正誤差をe2とすると以下に様に示される。第8図
に注目画素位置に対する誤差の補正位置を示す。
By the way, the requantization error ΔL * Δa * Δb * is shown below assuming that the correction error to the next pixel position is e1 and the correction error to the next line pixel position is e2. FIG. 8 shows an error correction position with respect to the target pixel position.

ここで次ライン画素への補正誤差e2は第3図の誤差メ
モリ634に入力し、同時にこの誤差メモリ634から約1ラ
イン前に入力され、1ライン分保持されたすなわちe2
(i,j+1)を読み出し、加算器633で今生成したe1(i,
j+1)を加算する。この加算器出力が次画素f(i,j+
1)に対する補正誤差であり加算器632で入力画像デー
タに加える。式で示すと以下の様になる。
Here, the correction error e2 to the next line pixel is input to the error memory 634 of FIG. 3, and at the same time, is input from the error memory 634 about one line before and held for one line, that is, e2
(I, j + 1) is read out, and e1 (i,
j + 1) is added. The output of this adder is the next pixel f (i, j +
This is a correction error for 1) and is added to the input image data by the adder 632. The equation is as follows.

f′(i,j+1)=f(i,j+1)+ e1(i,j+1)+e2(i,j+1) 上記誤差補正は加重平均演算部613、614、615でL
a b各空間で独立に実行する。尚、誤差補正が終了
した入力画像データf′(i,j+1)は次の画素データ
クロツクが入力された時点でF/F631より選択部622に入
力され、前述した一連の再量子化処理が実行される。
尚、第3図における記録信号デコードROM640は前述した
第4図に基づく再量子化信号xから記録2値信号CX,MX,
YX,KXへの変換ROMである。
f ′ (i, j + 1) = f (i, j + 1) + e1 (i, j + 1) + e2 (i, j + 1) The above error correction is performed by L * in the weighted average calculation units 613, 614, and 615 .
a * b * Execute independently in each space. The input image data f '(i, j + 1) for which the error correction has been completed is input from the F / F 631 to the selection unit 622 when the next pixel data clock is input, and the above-described series of requantization processing is performed. Be executed.
Note that the recording signal decode ROM 640 in FIG. 3 converts the recording binary signals C X , M X ,
It is a ROM for conversion to Y X and K X.

<誤差補正部の別実施例> 本実施例では隣接する2画素位置に誤差を配分した
が、例えば第9図に示す誤差分配率で2画素以上の広い
範囲に誤差配分する事で再量子化画像中の低周波数の目
ざわりなテクスチヤーの発生を緩和出来る。
<Another Embodiment of Error Correction Unit> In this embodiment, the error is distributed to two adjacent pixel positions. However, for example, the error distribution is performed as shown in FIG. The occurrence of unusual texture at low frequencies in the image can be reduced.

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

用いる1bitの擬似乱数発生器はいわゆるM系列符号を
用いれば3A原稿全域を処理する際においても周期性を発
生させない擬似乱数PNは約25段の1bitシフトレジスタで
構成出来る。
If a so-called M-sequence code is used as the 1-bit pseudo-random number generator, a pseudo-random number PN that does not generate periodicity even when processing the entire area of the 3A document can be constituted by approximately 25 stages of 1-bit shift registers.

<誤差補正部別実施例> 発生する誤差の値を所定値で制限して再量子化画像上
でのぼけを防止したが、入力画像の持つエツジ情報をよ
り忠実に再量子化画像上で得るにはΔL Δa Δ
のうち明るさを示すL空間での誤差補正を中止す
る事が効果的である。
<Embodiment of Error Correction Unit> Although the value of the generated error is limited by a predetermined value to prevent blur on the requantized image, edge information of the input image is more faithfully obtained on the requantized image. Has ΔL * Δa * Δ
It is effective to stop the error correction in the L * space indicating the brightness of b * .

つまり、 |ΔL|>βの時 ΔL=0 |Δa|>αの時 Δa=±α |Δb|>αの時 Δb=±α (αabは定数) 又、前記実施例共に定数α,βは画像に応じて、例え
ば銀塩写真等が原稿に設定された場合、α,βは大きく
設定し、逆に網点原稿が設定される場合にはα,βは小
さく設定する事でより原稿に忠実な再量子化が可能であ
る。尚、上記α,βの値は原稿を読み取りながら微視的
画像の特徴(例えばエツジ情報)より自動的に変化させ
る事も可能である。
In other words, | ΔL * |> β when the L ΔL * = 0 | Δa * |> α when Δa * = ± α a of a | Δb * |> α time of b Δb * = ± α b ( α a, α b , β L are constants) In both embodiments, the constants α and β are set in accordance with the image, for example, when a silver halide photograph or the like is set in the original, α and β are set large, and conversely, when the halftone original is When set, α and β are set to be small, so that requantization more faithful to the original can be performed. Note that the values of α and β can be automatically changed based on the characteristics of the microscopic image (eg, edge information) while reading the document.

又、ΔL Δa Δbの値によって適応的処理
を行なっているが、誤差の定義が誤差補正後の入力画像
信号と決定された予測平均値との差である為、より入力
画像の変化をはん影させるには誤差補正前の入力画像信
号fとの差δLを新たに定義し、この値に応じて上述
の適応処理を施す事がより効果的である。
Although adaptive processing is performed based on the value of ΔL * Δa * Δb * , the error is defined as the difference between the input image signal after error correction and the determined predicted average value. Is more effective to define a new difference δL * from the input image signal f before the error correction and to perform the above-described adaptive processing according to this value.

以下にその式を示す。 The formula is shown below.

δL=L −mL |δL|>βの時 ΔL=0 |Δa|>αの時 Δa=±α |Δb|>αの時 Δb=±α <予測平均値演算部の別実施例> 前記実施例ではL a b各空間共に隣接する既に
再量子化済みの4画素データより平均値を演算したが、
第10図に示した如くL空間の平均値演算領域をa b
空間のそれに比べて大きくする事により原稿に忠実な
再量子化画像が得られる。
δL * = L * f -mL * x | δL * |> β when the L ΔL * = 0 | Δa * |> α when Δa * = ± α a of a | Δb * |> α b of time Δb * = ± α b <Another Example of Prediction Average Value Calculating Unit> In the above-described embodiment, the average value was calculated from four re-quantized pixel data adjacent to each other in each L * a * b * space.
As shown in FIG. 10, the average value calculation area in L * space is a * b
* By making it larger than that of the space, a requantized image faithful to the manuscript can be obtained.

又、各画素位置における重み係数も本実施例に限定さ
れる事なく、注目画素位置に近い程大きく、遠い程小さ
い傾向が有れば良好な再量子化画像が得られる。
Also, the weight coefficient at each pixel position is not limited to the present embodiment, and a good requantized image can be obtained if there is a tendency that the weight coefficient increases as the pixel position approaches the target pixel position and decreases as the pixel position increases.

<選択部の別実施例> 前記実施例はC,M,Y,K4色2値記録を前提にC,M,Y,K,R,
G,B,Wなる代表的8色に再量子化する例であるが、より
忠実な黒色を表現するには、上記8色に加えて CK=C+K,MK=M+K,YK=Y+K C,M,Yと黒をそれぞれ重ねたCK,MK,YKなる3色の黒デー
タを加えた11色で再量子化すれば良い。尚この時、記録
信号への変換はCKの場合C=1,K=1、MKの場合M=1,K
=1、YKの場合Y=1,K=1とする。この処理によって
黒に近い領域で記録色ドツトが単色で記録される事が軽
減される為、より忠実な色味をおびた濃い灰色として再
量子化出来る。
<Another embodiment of the selection unit> The above embodiment is based on the premise that C, M, Y, and K4 color binary recording is performed.
This is an example of requantization into eight representative colors of G, B and W. To express more faithful black, in addition to the above eight colors, CK = C + K, MK = M + K, YK = Y + K C, M , Y, and black, CK, MK, and YK. At this time, the conversion to the recording signal is C = 1, K = 1 for CK, M = 1, K for MK.
= 1, YK, Y = 1, K = 1. This processing reduces the recording of the recording color dots in a single color in an area close to black, so that it can be requantized as dark gray with a more faithful color.

又、淡い灰色をより忠実に再量子化するには、記録装
置が濃淡インクを用いたインクジエツト記録、パルス幅
エネルギー変調による電子写真方式の場合、中間レベル
での記録を想定し、KとWの中間にWK、WK=0.5K、つま
り黒記録を3値記録として前者は淡い黒インクを用いた
場合のL a b値をWKの値として、後者はハーフド
ツトサイズで黒ドツトを記録した場合のL a b
をWK値として、前記8色に加えて9色に再量子化すれば
良い。
In order to requantize light gray more faithfully, if the recording apparatus is an ink jet recording using dark and light inks or an electrophotographic method using pulse width energy modulation, recording at an intermediate level is assumed, and In the middle, WK, WK = 0.5K, that is, black recording is ternary recording, the former is the L * a * b * value when light black ink is used, the WK is the value, and the latter is black dot recording at half dot size In this case, the L * a * b * value may be used as the WK value and requantized to 9 colors in addition to the 8 colors.

同様に他のC,M,Yにも拡張すればさらに中間色での記
録表現色が増す為により高品位な再量子化画像が得られ
る。
Similarly, if it is extended to other C, M, and Y, a higher quality re-quantized image can be obtained because the recording expression color in the intermediate color is further increased.

以上説明したように、本実施例によれば既に再量子化
した量子化データと、注目画素の再量子化を予測してL
a b空間での平均値を求め、この値と入力画像信
号との差をΔEで求め最も近い記録色を選択して画素毎
に記録信号を得ると共に、発生する再量子化誤差を隣接
画素上で補正する際にその発生する誤差値を適応的に制
御する事により中間調画像、文字画像あらゆる入力画像
信号を忠実に再現することができる。
As described above, according to this embodiment, the quantized data that has already been requantized and the requantization of the pixel of interest are predicted and L
The average value in the * a * b * space is obtained, the difference between this value and the input image signal is obtained by ΔE, the closest recording color is selected, the recording signal is obtained for each pixel, and the generated requantization error is calculated. By adaptively controlling the error value generated when correcting on adjacent pixels, any input image signal of a halftone image or a character image can be faithfully reproduced.

〔発明の効果〕〔The invention's effect〕

以上説明した如く本発明によれば、変換処理の終了し
た表現色座標データと注目画素の予測表現色座標データ
とから複数の予測平均値座標データを演算し、入力した
注目画素の色を表わす座標データと、複数の予測平均値
座標データとの空間的距離がもっとも小さい場合の予測
表現色座標データが表わす表現色を注目画素の表現色と
し、更にその変換の際発生する誤差データを補正するこ
とにより、入力カラー画像の色味を忠実に再現できると
ともに、誤差データの補正量を制限することで、エッジ
部も鮮明に再現することができる。
As described above, according to the present invention, a plurality of pieces of predicted average value coordinate data are calculated from the expression color coordinate data for which conversion processing has been completed and the predicted expression color coordinate data of the pixel of interest, and coordinates representing the color of the input pixel of interest. The expression color represented by the predicted expression color coordinate data when the spatial distance between the data and the plurality of predicted average value coordinate data is the smallest is used as the expression color of the pixel of interest, and further, error data generated during the conversion is corrected. Accordingly, the color of the input color image can be faithfully reproduced, and the edge portion can be reproduced clearly by limiting the correction amount of the error data.

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

第1図は本発明の一実施例であるカラー画像処理装置の
ブロツク図、 第2図、第3図は中間調処理部の詳細を示したブロツク
図、 第4図は中間調処理により決定された表現色と記録色と
の関係を示した図、 第5図は表現色とL a bの関係を示した図、 第6図は中間調処理する際の参照画素を示した図、 第7図、第10図は平均値を求める際の重み係数を示した
図、 第8図、第9図は誤差の分配位置を示した図である。 図中1はセンサ、2はA/D変換器、3はシエーデイング
補正回路、4は表色系変換回路、5は画像修正部、6は
擬似中間調処理部、7は記録表示部である。
FIG. 1 is a block diagram of a color image processing apparatus according to an embodiment of the present invention, FIGS. 2 and 3 are block diagrams showing details of a halftone processing section, and FIG. 4 is determined by halftone processing. FIG. 5 shows the relationship between the expression color and L * a * b * , and FIG. 6 shows the reference pixel when performing halftone processing. 7 and 10 are diagrams showing weighting factors for obtaining an average value, and FIGS. 8 and 9 are diagrams showing distribution positions of errors. 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 is a pseudo halftone processing unit, and 7 is a recording and display unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】所定の色空間における色を表わす座標デー
タを出力装置が表現可能な複数色の表現色のなかの1つ
の表現色に変換するカラー画像処理装置であって、 所定の色空間における色を表わす座標データを入力する
入力手段と、 注目画素周辺の変換処理の終了した複数画素の表現色座
標データと、注目画素の予測表現色座標データとの重み
係数による加重平均により予測平均値座標データを演算
する処理を、予測表現色座標データを変化させて実行
し、複数の予測平均値座標データを演算する予測平均値
演算手段と、 前記入力手段により入力した注目画素の座標データと、
前記平均値演算手段により演算された複数のそれぞれの
予測平均値座標データとの空間的距離を比較する比較手
段と、 前記比較手段の比較結果に基づき、空間的距離がもっと
も小さい予測平均値座標データを演算した際の予測表現
色座標データが表わす表現色を注目画素の表現色として
決定する決定手段と、 前記決定手段が注目画素の表現色を決定する際に発生す
る誤差データを新たに入力する画素の座標データに加算
することで補正する誤差補正手段とを有し、 前記誤差補正手段は、誤差データのレベルが所定値より
大きい場合は、誤差データのレベルを所定値に制限する
ことを特徴とするカラー画像処理装置。
1. A color image processing apparatus for converting coordinate data representing a color in a predetermined color space into one of a plurality of expression colors that can be expressed by an output device, comprising: An input means for inputting coordinate data representing a color; a predicted average value coordinate obtained by a weighted average of weighted coefficients of expression color coordinate data of a plurality of pixels having undergone conversion processing around the target pixel and predicted expression color coordinate data of the target pixel. A process of calculating data, changing the prediction expression color coordinate data, executing the prediction average value calculation means for calculating a plurality of prediction average value coordinate data, and the coordinate data of the pixel of interest input by the input means;
Comparing means for comparing a spatial distance with a plurality of respective predicted average value coordinate data calculated by the average value calculating means; and a predicted average value coordinate data having a smallest spatial distance based on a comparison result of the comparing means. Determining the expression color represented by the predicted expression color coordinate data as the expression color of the pixel of interest; and newly inputting error data generated when the determination unit determines the expression color of the pixel of interest. Error correction means for correcting by adding to the pixel coordinate data, wherein the error correction means limits the error data level to a predetermined value when the error data level is larger than a predetermined value. Color image processing apparatus.
JP2206602A 1990-08-03 1990-08-03 Color image processing equipment Expired - Fee Related JP3048170B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2206602A JP3048170B2 (en) 1990-08-03 1990-08-03 Color image processing equipment
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
JP2206602A JP3048170B2 (en) 1990-08-03 1990-08-03 Color image processing equipment

Publications (2)

Publication Number Publication Date
JPH0490670A JPH0490670A (en) 1992-03-24
JP3048170B2 true JP3048170B2 (en) 2000-06-05

Family

ID=16526112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2206602A Expired - Fee Related JP3048170B2 (en) 1990-08-03 1990-08-03 Color image processing equipment

Country Status (1)

Country Link
JP (1) JP3048170B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113539153B (en) * 2021-07-27 2023-06-09 厦门大学 Method for repairing bad pixels of four-primary-color display screen

Also Published As

Publication number Publication date
JPH0490670A (en) 1992-03-24

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
US5257116A (en) High definition image generating system for image processing apparatus
JPH0730772A (en) Image processor
JPH05336373A (en) Image recorder
EP0781034B1 (en) Image processing apparatus and method
EP0454495A1 (en) Half-tone image processing system
US5760918A (en) Image processing apparatus with conversion and reconversion of the number of bits per pixel
US6134355A (en) Binarization using a local average, and using error diffusion
EP0382581B1 (en) Image processing apparatus
JP3048170B2 (en) Color image processing equipment
JPS63169174A (en) Picture processing method
JP3245600B2 (en) Image processing device
JP2848566B2 (en) Image processing device
JP3048171B2 (en) Color image processing equipment
JPH10290367A (en) Image processor
JP4027300B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2851662B2 (en) Image processing device
JP2675792B2 (en) Image processing device
JP2004230671A (en) Image processing method
JP2848567B2 (en) Image processing device
JP2848568B2 (en) Image processing device
JPH01160182A (en) Picture processor
JP3150994B2 (en) Image processing device
JP5079904B2 (en) Multilevel dither processing method, image processing apparatus, image forming apparatus, multi-function machine, multilevel dither processing program, and computer-readable recording medium

Legal Events

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

Free format text: PAYMENT UNTIL: 20080324

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090324

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100324

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees