JPH01265670A - Color picture processing unit - Google Patents

Color picture processing unit

Info

Publication number
JPH01265670A
JPH01265670A JP63093462A JP9346288A JPH01265670A JP H01265670 A JPH01265670 A JP H01265670A JP 63093462 A JP63093462 A JP 63093462A JP 9346288 A JP9346288 A JP 9346288A JP H01265670 A JPH01265670 A JP H01265670A
Authority
JP
Japan
Prior art keywords
color
bit
data
image data
picture
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
JP63093462A
Other languages
Japanese (ja)
Inventor
Masami Fukumoto
福本 晶美
Susumu Sugiura
進 杉浦
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 JP63093462A priority Critical patent/JPH01265670A/en
Publication of JPH01265670A publication Critical patent/JPH01265670A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PURPOSE:To reproduce a picture with correct color quickly with low cost by forming an m-bit picture data subjected to color correction from a 1-bit picture data being the result of color separation picture data, binarizing it at a prescribed threshold level and applying color processing. CONSTITUTION:The picture signal subjected to color separation is converted into an 8-bit R, G, B picture data and a binarizing section 2 converts a luminance 8-bit R,G, B data into a density 1-bit Y1, M2, C1 data. Then a color processing section 3 forms an 8-bit picture data subjected to color correction from the converted 1-bit Y1, M1, C1 data through matrix calculation, the result is binarized at a prescribed threshold level to form one-bit Y2, M2, C2 data. Then the error density caused by binarization is fed to the 8-bit picture data subjected to color correction to propagate its error to the succeeding picture element. Thus, the picture with correct color is reproduced quickly with low cost without requiring product sum calculation.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はカラー画像処理装置に関し、特に色分解された
画像データをもとの正しい色で再生するカラー画像処理
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a color image processing device, and more particularly to a color image processing device that reproduces color-separated image data in its original correct colors.

[従来の技術] この種の装置ではプリンタ等の出力特性に合せるべく人
力画像データの色補正が必要である。
[Prior Art] This type of device requires manual color correction of image data to match the output characteristics of a printer or the like.

第6図は従来のカラー画像処理装置のブロック構成図で
ある。図において、A/D変換部lは不図示のCOD等
で読み取ったR、G、B画像信′ 号を夫々8ビットR
,G、8画像データに変換する0色処理部13は、まず
不図示の対数変換により輝度の8ビットR,G、8画像
データを濃度の8ビットY、M、Cデータに変換し、次
に(1)式の色補正処理を行う。
FIG. 6 is a block diagram of a conventional color image processing device. In the figure, the A/D converter 1 converts 8-bit R, G, and B image signals read by a COD (not shown), etc.
. Then, the color correction process of equation (1) is performed.

ここで、 all−ass7色補正係数 2値化部12は色補正をした8ビツトYl 1゜Mll
、C11データをその濃度を保存しつつ1ビットY12
.M12.CI2データに変換する。
Here, the all-ass 7 color correction coefficient binarization unit 12 converts the color-corrected 8-bit Yl 1°Mll
, C11 data with 1 bit Y12 while preserving its density
.. M12. Convert to CI2 data.

尚、この変換方法としては濃度パターン法、デイザ法、
濃度保存型2値化法「例えば誤差拡散法・・・R,El
oyd and L、Steinberg:“An A
daptiveAlgorithm for 5pat
ial Grey 5cale  ” 、1975SI
D International Symposium
 Digest of Techni−cal Pap
ers、4.3.pp 36−37(Apr、1975
) Jがある。
Note that this conversion method includes the density pattern method, dither method,
Concentration-preserving binarization method ``For example, error diffusion method...R, El
oyd and L, Steinberg: “An A
adaptiveAlgorithm for 5pat
ial Gray 5cale”, 1975SI
D International Symposium
Digest of Techni-cal Pap
ers, 4.3. pp 36-37 (Apr, 1975
) There is a J.

プリンタ部4は1ビットY12.M12゜C12データ
に従ってもとの正しい色の画像を出力する。
The printer section 4 has 1 bit Y12. The original correct color image is output according to the M12°C12 data.

[発明が解決しようとする課題] しかし、従来は上記(1)式の積和演算を行うために、
膨大な演算時間又はルックアップテーブル(2”X3X
8ビツト)を必要とした。
[Problem to be solved by the invention] However, conventionally, in order to perform the product-sum operation of the above formula (1),
Huge calculation time or lookup table (2”X3X
8 bits).

本発明は従来技術の欠点を除去するものであり、その目
的とする所は、簡単な色補正演算又はルックアップテー
ブルによりもとの正しい色を再生できるカラー画像処理
装置を提供することにある。
The present invention obviates the drawbacks of the prior art, and its purpose is to provide a color image processing device that can reproduce the original correct colors by simple color correction calculations or look-up tables.

[課題を解決するための手段] 本発明のカラー画像処理装置は上記の目的を達成するた
めに、色分解されたnビット画像データの濃度を保存し
つつ1ビツト画像データに変換する画像変換手段と、前
記変換した1ビツト画像データから行列演算により色補
正をしたmビット画像データを形成する色補正手段と、
前記色補正をしたmビット画像データを所定閾値で2値
化する2値化手段と、前記2値化により生じた誤差濃度
を次の色補正をしたmビット画像データに加える加算手
段を備えることをその概要とする。
[Means for Solving the Problems] In order to achieve the above object, the color image processing device of the present invention includes image conversion means for converting color-separated n-bit image data into 1-bit image data while preserving the density thereof. and a color correction means for forming m-bit image data color-corrected from the converted 1-bit image data by matrix calculation;
A binarizing means for binarizing the color-corrected m-bit image data using a predetermined threshold, and an adding means for adding error density caused by the binarization to the next color-corrected m-bit image data. The outline is as follows.

また本発明のカラー画像処理装置は上記の目的を達成す
るために、色分解されたnビット画像データの濃度を保
存しつつ1ビツト画像データに変換する画像変換手段と
、前記変換した1ビツト画像データから行列演算により
色補正をしたmビット画像データを形成する色補正手段
と、前記色補正をしたmビット画像データなデイザ閾値
で2値化するデイザ変換手段を備えることをその概要と
する。
Further, in order to achieve the above object, the color image processing device of the present invention includes an image converting means for converting the color-separated n-bit image data into 1-bit image data while preserving the density, and the converted 1-bit image data. The outline of the present invention is to include a color correction means for forming m-bit image data color-corrected from data by matrix calculation, and a dither conversion means for binarizing the color-corrected m-bit image data using a dither threshold value.

[作用] 上記構成において、画像変換手段は色分解されたnビッ
ト画像データの濃度を保存しつつ1ビツト画像データに
変換する0色補正手段は前記変換した1ビツト画像デー
タから行列演算により色補正をしたmビット画像データ
を形成する。
[Operation] In the above configuration, the image conversion means converts the color-separated n-bit image data into 1-bit image data while preserving the density.The 0-color correction means performs color correction from the converted 1-bit image data by matrix calculation. m-bit image data is formed.

2値化手段は前記色補正をしたmビット画像データを所
定閾値で2値化する。加算手段は前記2値化により生じ
た誤差濃度を次の色補正をしたmビット画像データに加
える。
The binarization means binarizes the color-corrected m-bit image data using a predetermined threshold value. The addition means adds the error density caused by the binarization to the next color-corrected m-bit image data.

また上記構成において、画像変換手段は色分解されたn
ビット画像データの濃度を保存しつつ1ビツト画像デー
タに変換する。色補正手段は前記変換した1ビツト画像
データから行列演算により色補正をしたmビット画像デ
ータを形成する。デイザ変換手段は前記色補正をしたm
ビット画像データなデイザ閾値で2値化する。
Further, in the above configuration, the image conversion means is a color-separated n
To convert bit image data into 1-bit image data while preserving its density. The color correction means forms m-bit image data which is color-corrected from the converted 1-bit image data by matrix calculation. The dither conversion means performs the color correction.
Bit image data is binarized using a dither threshold.

[実施例の説明] 以下、添付図面に従って本発明による実施例を詳細に説
明する。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[第1実施例] 第1図は本発明による第1実施例のカラー画像処理装置
のブロック構成図である0図において、1はA/D変換
部であり、不図示のCOD等で読み取ったR、G、B信
号を例えば8ビツトのR,G、Bデータに変換する。2
は2値化部であり、輝度の8ビットR,G、Bデータを
例えば濃度保存型2値化法により濃度の1ビツトYl。
[First Embodiment] FIG. 1 is a block diagram of a color image processing apparatus according to a first embodiment of the present invention. In FIG. The R, G, and B signals are converted into, for example, 8-bit R, G, and B data. 2
is a binarization unit, which converts the 8-bit R, G, and B data of luminance into 1-bit Yl of density by, for example, a density-preserving binarization method.

Ml、Clデータに変換する。3は色処理部であり、前
記変換した1ビットY1.Ml、Clデータから行列演
算により色補正をした8ビツト画像データを形成し、か
つこれを所定閾値で2値化して1ビットY2.M2.C
2データを形成する。
Convert to Ml, Cl data. 3 is a color processing unit which processes the converted 1 bit Y1. 8-bit image data is formed from the Ml and Cl data by color correction using matrix operations, and this is binarized using a predetermined threshold value to generate 1-bit Y2. M2. C
2. Form data.

また、その際に該2値化により生じた誤差濃度を次の色
補正をした8ビツト画像データに加え、誤差を次画素の
伝搬させる。4はプリンタ部であり、1ビットY2.M
2.C2データに従って正しい色の画像を出力する。
Further, at this time, the error density caused by the binarization is added to the next color-corrected 8-bit image data, and the error is propagated to the next pixel. 4 is a printer section, and 1 bit Y2. M
2. Output an image with the correct color according to C2 data.

第2図は第1実施例の色処理部3の詳細を示すブロック
構成図である0図において、3−1は色処理演算部であ
り、(2)式のマトリクス演算により入力の1ビットY
l、Ml、Clデータを出力の8ビットY3.M3.C
3データに変換する。
FIG. 2 is a block diagram showing the details of the color processing section 3 of the first embodiment. In FIG.
8-bit Y3.I, Ml, Cl data output. M3. C
Convert to 3 data.

以下余白 ここで、 a++−ass:色補正係数 (1以下の正負の小数) この場合に、入力のYl、Ml、Clデータは各1ビツ
トであり、その内容は“1”又は“0”であるから、出
力のY3.M3.C3データは色補正係数all〜as
sの単なる和計算で行える。
Margin below where: a++-ass: Color correction coefficient (positive or negative decimal number less than or equal to 1) In this case, the input Yl, Ml, and Cl data are each 1 bit, and their contents can be “1” or “0”. Therefore, the output Y3. M3. C3 data is color correction coefficient all~as
This can be done by simply calculating the sum of s.

また、色補正係数a I I”’ a 33は浮動小数
点演算をしなくて済むように、例えば100倍をして整
数化しておく、従って、出力のY3.M3.C3データ
は最上位1ビツトを符号ビットと、下位7ビットのデー
タから成る。
In addition, the color correction coefficient a I I"' a 33 is multiplied by 100 to make it an integer, for example, so that floating point calculation is not required. Therefore, the output Y3.M3.C3 data has the most significant 1 bit. consists of the sign bit and the lower 7 bits of data.

3−2は閾値判定部であり、8ビツトY3゜M3.C3
データを所定閾値Tyと比較して2値化する。上記(2
)式において、例えば第n番目の出力Y3nデータの演
算に注目すると(3)式%式% 右辺の項Dyn−+は直前(第n−1番目)の2値化に
より生じた誤差濃度である。この誤差は次のようにして
求める。
Reference numeral 3-2 is a threshold value determination section, which has an 8-bit Y3°M3. C3
The data is compared with a predetermined threshold value Ty and binarized. Above (2
), for example, if we focus on the calculation of the n-th output Y3n data, the term (Dyn-+) on the right side is the error density caused by the immediately preceding (n-1st) binarization. . This error is determined as follows.

今、直前の出力Y3..データに注目すると、YB4−
+≧TyのときはY2n−、=1となり、D yn−1
= Y 3 n−1−1(但し、1は出力Y3がとり得
る最大値の意味)となる。また、Y 3 n−1くTy
のときはY2rl−、=Oとなり、D y n−+ =
Y 3 n−1となる。こうして繰り越された誤差D:
Jn−rは第n番目の色補正をした項(a目Y 1 n
+a+zM 1 n+a+sc 1 n)に加えられ、
閾値Tyと比較される。
Now, the previous output Y3. .. Looking at the data, YB4-
When +≧Ty, Y2n-, = 1, and D yn-1
= Y 3 n-1-1 (where 1 means the maximum value that the output Y3 can take). Also, Y 3 n-1 Ty
When , Y2rl-, =O, and D y n-+ =
It becomes Y3n-1. Error D carried forward in this way:
Jn-r is the n-th color correction term (a-th Y 1 n
+a+zM 1 n+a+sc 1 n),
It is compared with a threshold value Ty.

第3図は出力画素の走査方向を示す図に係り、矢印六方
向の走査に伴ない、画素はn−1,n。
FIG. 3 is a diagram showing the scanning direction of output pixels, and as the pixels are scanned in the six directions of arrows, the number of pixels is n-1, n.

n+1と進む。Proceed to n+1.

[第2実施例] 第2実施例は色補正後にデイザ変換する装置に関する。[Second example] The second embodiment relates to an apparatus that performs dither conversion after color correction.

第4図は第2実施例の色処理部3′の詳細を示すブロッ
ク構成図である。尚、第2図と同等の構成には同一番号
を付して説明を省略する。
FIG. 4 is a block diagram showing details of the color processing section 3' of the second embodiment. Incidentally, the same components as those in FIG. 2 are given the same reference numerals and their explanations will be omitted.

図において、3−3は閾値判定部であり、内部にデイザ
閾値マトリクス(第5図(B))を備える。
In the figure, numeral 3-3 denotes a threshold determination section, which includes a dither threshold matrix (FIG. 5(B)).

第5図(A)は通常のデイザ閾値マトリクスの概念図で
あり、第5図(B)は第2実施例のデイザ閾値マトリク
スの具体例を示す図である。
FIG. 5(A) is a conceptual diagram of a normal dither threshold matrix, and FIG. 5(B) is a diagram showing a specific example of the dither threshold matrix of the second embodiment.

第5図(A)において、4×4のデイザ閾値マトリクス
を考えると、各閾値は1−16の16段階に分けられる
。一方、第5図(B)においては、本実施例では入力の
Y3.M3.C3データは8とットデータであるから、
そのレベルは−127〜+127の範囲になる。そこで
、本実施例では例えば256/16=16を単位として
O〜255の範囲を16段階の閾値に分けている。
In FIG. 5A, considering a 4×4 dither threshold matrix, each threshold is divided into 16 levels from 1 to 16. On the other hand, in FIG. 5(B), in this embodiment, input Y3. M3. Since C3 data is 8 and cut data,
Its level will range from -127 to +127. Therefore, in this embodiment, the range from O to 255 is divided into 16 threshold values, with 256/16=16 being the unit, for example.

これにより、閾値判定部3−3は第5図(B)のデイザ
閾値マトリクスに従って入力の8ビットY3.M3.C
3データをデイザ変換する。尚、デイザ変換はそれ自体
で濃度保存される変換であるから、第1実施例のような
誤差濃度の伝搬は行わない。
As a result, the threshold determination unit 3-3 receives the input 8-bit Y3. M3. C
3. Dither convert the data. Note that since the dither conversion is a conversion that preserves density by itself, the error density is not propagated as in the first embodiment.

[発明の効果] 以上述べた如く本発明によれば、2値データで色処理を
行う為、従来の積和演算の必要がなく、迅速、安価なカ
ラー画像処理装置を提供できる。
[Effects of the Invention] As described above, according to the present invention, since color processing is performed using binary data, there is no need for conventional sum-of-products calculations, and a quick and inexpensive color image processing device can be provided.

また、濃度は妥当な範囲内で保存されるので正しい色が
再生できる。
Also, since the density is preserved within a reasonable range, correct colors can be reproduced.

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

第1図は本発明による第1実施例のカラー画像処理装置
のブロック構成図、 第2図は第1実施例の色処理部3の詳細を示すブロック
構成図、 第3図は出力画素の走査方向を示す図、第4図は第2実
施例の色処理部3′の詳細を示すブロック構成図、 第5図(A)は通常のデイザ閾値マトリクスの概念図、 第5図(B)は第2実施例のデイザ閾値マトリクスの具
体例を示す図、 第6図は従来のカラー画像処理装置のブロック構成図で
ある。 特許出願人  キャノン株式会社 も ・ ”パ−7゜ 第2図
FIG. 1 is a block configuration diagram of a color image processing device according to a first embodiment of the present invention. FIG. 2 is a block diagram showing details of the color processing section 3 of the first embodiment. FIG. 3 is a scanning of output pixels. 4 is a block configuration diagram showing details of the color processing unit 3' of the second embodiment, FIG. 5(A) is a conceptual diagram of a normal dither threshold matrix, and FIG. 5(B) is a diagram showing the direction. A diagram showing a specific example of the dither threshold matrix of the second embodiment. FIG. 6 is a block diagram of a conventional color image processing device. Patent applicant Canon Co., Ltd. ・”Par-7゜Figure 2

Claims (2)

【特許請求の範囲】[Claims] (1)色分解されたnビット画像データの濃度を保存し
つつ1ビット画像データに変換する画像変換手段と、 前記変換した1ビット画像データから行列演算により色
補正をしたmビット画像データを形成する色補正手段と
、 前記色補正をしたmビット画像データを所定閾値で2値
化する2値化手段と、 前記2値化により生じた誤差濃度を次の色補正をしたm
ビット画像データに加える加算手段を備えることを特徴
とするカラー画像処理装置。
(1) Image conversion means for converting color-separated n-bit image data into 1-bit image data while preserving the density, and forming m-bit image data color-corrected by matrix operations from the converted 1-bit image data. a binarizing unit that binarizes the color-corrected m-bit image data using a predetermined threshold;
A color image processing device comprising an addition means for adding bit image data.
(2)色分解されたnビット画像データの濃度を保存し
つつ1ビット画像データに変換する画像変換手段と、 前記変換した1ビット画像データから行列演算により色
補正をしたmビット画像データを形成する色補正手段と
、 前記色補正をしたmビット画像データをデイザ閾値で2
値化するディザ変換手段を備えることを特徴とするカラ
ー画像処理装置。
(2) image conversion means for converting the color-separated n-bit image data into 1-bit image data while preserving the density; and forming m-bit image data color-corrected by matrix operations from the converted 1-bit image data. a color correction means to perform the color correction;
A color image processing device comprising a dither conversion means for converting into values.
JP63093462A 1988-04-18 1988-04-18 Color picture processing unit Pending JPH01265670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63093462A JPH01265670A (en) 1988-04-18 1988-04-18 Color picture processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63093462A JPH01265670A (en) 1988-04-18 1988-04-18 Color picture processing unit

Publications (1)

Publication Number Publication Date
JPH01265670A true JPH01265670A (en) 1989-10-23

Family

ID=14083002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63093462A Pending JPH01265670A (en) 1988-04-18 1988-04-18 Color picture processing unit

Country Status (1)

Country Link
JP (1) JPH01265670A (en)

Similar Documents

Publication Publication Date Title
JPS6342902B2 (en)
US5172247A (en) High speed digital error diffusion process for continuous tone image-to-binary image conversion
JPH11187264A (en) Method and device for processing image
JPH06332396A (en) Method for processing image and device therefor
JP3322522B2 (en) Color image processing equipment
JPH06253134A (en) Picture processing device
JPH01265670A (en) Color picture processing unit
JPH0324673A (en) Method for processing image data
EP0604759B1 (en) Method of and apparatus for processing digital image data
JPH0771301B2 (en) Color video signal conversion method
US7149351B2 (en) Image processing apparatus and method, computer program and computer-readable storage medium
JPH0698157A (en) Halftone image forming device
JP3015049B2 (en) Image data processing method
JPH02153676A (en) Halftone processing circuit
JP3774523B2 (en) Image processing apparatus and control method thereof
JP2952329B2 (en) Image processing method
JP3363721B2 (en) Halftone processing method and image processing apparatus
JP3220110B2 (en) Color image processing equipment
JP2946217B2 (en) Image processing device
JPS63272171A (en) Image data processing circuit
JPH0668250A (en) Image processor
JPH06131158A (en) Adding method and addition circuit
JPH0787348A (en) Color conversion device
JPH0575864A (en) Reading system in facsimile
JPH07250254A (en) Method and device for compressing signal