[go: up one dir, main page]

JPH04186968A - Method and device for processing color image - Google Patents

Method and device for processing color image

Info

Publication number
JPH04186968A
JPH04186968A JP2314217A JP31421790A JPH04186968A JP H04186968 A JPH04186968 A JP H04186968A JP 2314217 A JP2314217 A JP 2314217A JP 31421790 A JP31421790 A JP 31421790A JP H04186968 A JPH04186968 A JP H04186968A
Authority
JP
Japan
Prior art keywords
color
color image
space
image data
reproduction range
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
JP2314217A
Other languages
Japanese (ja)
Inventor
Yoshinobu Mita
三田 良信
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 JP2314217A priority Critical patent/JPH04186968A/en
Publication of JPH04186968A publication Critical patent/JPH04186968A/en
Priority to US08/370,354 priority patent/US5933252A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE:To almost satisfy the faithful color reproduction of a printer, and also, to record and reproduce other color than a color reproduction range, as well by holding its continuity by executing faithfully the color reproduction with respect to the greater part of the color reproduction range of the printer, etc., and executing a processing so that a part thereof becomes a compressed space of a full color space. CONSTITUTION:A color converting part 101 converts image data of R, G and B inputted successively to color spaces of Y, I and Q. The image data converted to the color spaces of Y, I and Q by the color converting part 101 are inputted to an angle calculating part 102. In the figure, a closed curve 201 containing a point F shows an outer edge of a full color space, and a closed curve 202 containing a point E shows an outer edge of a color space of a range in which a printer can execute a color reproduction. In the full color space, color information contained in a color space surrounded by a closed curve 204 passing through a point D is reproduced as it is by the printer. Subsequently, in the case of reproducing a color in a color space surrounded by the closed curve 204 and the closed curve 201 by the printer, a segment DF on cutting is compressed onto a segment DE, and each point on the segment DE is compressed in an equal ratio.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、カラー画像データの色空間をカラー画像再生
装置の色再現範囲に応じて変換するカラー画像処理方法
及びその装置に関するものである。
The present invention relates to a color image processing method and apparatus for converting the color space of color image data according to the color reproduction range of a color image reproduction device.

【従来の技術】[Conventional technology]

従来より、カラースキャナよりのカラー画像データ(多
値データ)を入力し、そのカラー画像データに基づいて
、カラープリンタによりカラー記録を行う装置がある。 この場合、カラースキャナの色特性(読取り色特性)と
プリンタにおける色再生特性(色再現範囲)とが一致し
ない場合がある。このような場合でも、例えばスキャナ
よりの多値画像データ(8ビツト)の取り得る値(0〜
255)が、色空間上のどの範囲を示しているか定める
ことなく、プリンタ側が自機で扱える色空間範囲に適合
した画像データであると解釈して、その多値画像データ
を基に記録していた。
2. Description of the Related Art Conventionally, there is an apparatus that inputs color image data (multivalued data) from a color scanner and performs color printing using a color printer based on the color image data. In this case, the color characteristics (read color characteristics) of the color scanner and the color reproduction characteristics (color reproduction range) of the printer may not match. Even in such a case, for example, the possible values (0 to 8 bits) of multivalued image data (8 bits) from a scanner
255), the printer interprets it as image data that fits the color space range that it can handle and records it based on that multivalued image data, without determining which range in the color space it indicates. Ta.

【発明が解決しようとする課題】[Problem to be solved by the invention]

このため従来では、原稿画像のハードコピーやソフトコ
ピー等を行う場合、オリジナル原稿や、オリジナルの画
像データの色が、プリンタ側で忠実に再生されずに、異
なる色で再生されてしまうという問題があった。 本発明は上述従来例に鑑みてなされたもので、カラー画
像形成装置の色再現範囲において、色再現可能範囲の大
部分は忠実に色再現し、1部分は金色空間の圧縮空間と
なるようにカラー画像を構成することにより、カラー画
像形成装置の色再現範囲以外でも色の連続性を保ちなが
らカラー画像を再生できるようにカラー画像データを処
理できるカラー画像処理方法及びその装置を提供するこ
とを目的とする。
For this reason, conventionally, when making a hard copy or soft copy of an original image, there is a problem that the colors of the original original or original image data are not faithfully reproduced on the printer side, but are reproduced in different colors. there were. The present invention has been made in view of the above-mentioned conventional example, and is designed so that, in the color reproduction range of a color image forming apparatus, most of the color reproducible range is faithfully reproduced, and one part is a compressed space of the golden color space. It is an object of the present invention to provide a color image processing method and apparatus capable of processing color image data so as to reproduce a color image while maintaining color continuity even outside the color reproduction range of a color image forming apparatus by configuring a color image. purpose.

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

上記目的を達成するために本発明のカラー画像処理方法
は以下の様な構成からなる。即ち、カラー画像データの
色空間範囲を変換してカラー画像形成装置に出力するカ
ラー画像処理方法であって、カラー画像形成装置の色再
現範囲の大部分に相当するカラー画像データの色成分の
データを変換せず、前記色再現範囲を越えるカラー画像
データは、前記色再現範囲の空間内で最も近い最外縁の
位置に相当するカラー画像データに変換する。 また本発明のカラー画像処理装置は以下の様な構成から
なる。即ち、 カラー画像データの色空間範囲を変換してカラー画像形
成装置に出力するカラー画像処理装置であって、前記カ
ラー画像データの内、前記カラー画像形成装置の色再現
範囲に含まれるカラー画像データをそのまま前記カラー
画像装置に出力する出力手段と、前記カラー画像データ
の内、前記カラー画像形成装置の色再現範囲を越えるカ
ラー画像データ成分を、前記色再現範囲の空間内で最も
近い最外縁の位置に相当するカラー画像データに変換す
る変換手段とを有する。
In order to achieve the above object, the color image processing method of the present invention has the following configuration. That is, the color image processing method converts the color space range of color image data and outputs the converted color image data to a color image forming apparatus, the color component data of the color image data corresponding to most of the color reproduction range of the color image forming apparatus. Color image data that exceeds the color reproduction range is converted into color image data corresponding to the closest outermost edge position within the space of the color reproduction range. Further, the color image processing device of the present invention has the following configuration. That is, a color image processing device converts the color space range of color image data and outputs the converted color image data to a color image forming device, the color image data included in the color reproduction range of the color image forming device being included in the color image data. an output means for outputting the color image data as it is to the color image device; and conversion means for converting into color image data corresponding to the position.

【作用】[Effect]

以上の構成において、カラー画像形成装置の色再現範囲
の大部分に相当するカラー画像データの色成分のデータ
を変換せず、色再現範囲を越えるカラー画像データは、
その色再現範囲の空間内で最も近い最外縁の位置に相当
するカラー画像データに変換するように動作する。 また、本発明のカラー画像装置は、カラー画像データの
内、前記カラー画像形成装置の色再現範囲に含まれるカ
ラー画像データをそのままカラー画像装置に出力すると
ともに、そのカラー画像データの内、カラー画像形成装
置の色再現範囲を越えるカラー画像データ成分を、その
色再現範囲の空間内で最も近い最外縁の位置に相当する
カラー画像データに変換するように動作する。
In the above configuration, the color component data of the color image data corresponding to most of the color reproduction range of the color image forming apparatus is not converted, and the color image data exceeding the color reproduction range is
It operates to convert into color image data corresponding to the closest outermost edge position within the space of the color reproduction range. Further, the color image device of the present invention outputs the color image data included in the color reproduction range of the color image forming device as it is out of the color image data, and also outputs the color image data included in the color reproduction range of the color image forming device as it is. It operates to convert color image data components that exceed the color reproduction range of the forming device into color image data corresponding to the closest outermost edge position within the space of the color reproduction range.

【実施例J 以下、添付図面を参照して本発明の好適な実施例を詳細
に説明する。 〈色空間の変換例の説明(第2図、第3図)〉第2図は
色空間の範囲を示す図である。 第2図において、点Fを含む閉曲線201は、金色空間
の外縁を示しており、点Eを含む閉曲線202は、プリ
ンタが色再現可能な範囲の色空間の外縁を示している。 本実施例では、点Fを含む閉曲線201内、即ち、金色
空間を点Eを含む閉曲線202の色空間内へ空間圧縮す
ることにより、プリンタにおける色再現性を上げようと
するものである。 本実施例において、第2図(A)はり、a、b、Y、I
、Q等の均等知覚色空間を示しているが別の色空間であ
っても構わない。第2図(A)における色空間を切断線
203で切断した時、その断面の色空間圧縮がどのよう
になっているかを示したのが第2図(B)である。第2
図(B)において、Fは金色空間の外縁を示し、Eはプ
リンタによる色再現が可能な範囲の外縁、Dはプリンタ
による色ずれが発生しない再現範囲、モしてCは色空間
の中心を示している。 金色空間の内、点りを通る閉曲線204で囲まれる色空
間に含まれる色情報は、そのままプリンタで再現される
。そして、閉曲線204と閉曲線201で囲まれる色空
間にある色をプリンタで再現する場合には、第2図(B
)のように切断上の線分DFは線分DE上に圧縮され、
線分DE上の各点はそれぞれ均等な割合で圧縮される。 第3図は色空間の変換例を示す図で、ここで、与えられ
た金色空間の各色成分を8ビツト(255)とした場合
を81で示している。そして、これを同じ条件で、第2
図(B)の如く空間圧縮した時の各色成分の取り得る値
の範囲を82で示している。また、S3はプリンタにお
ける色再現が可能な範囲を8ビツト最大限に活用した場
合を示し、最終的には金色空間の点D1はプリンタにお
ける色再現が可能なりrへ、金色空間の点F、はE、に
変換されれば良いことになる。 〈画像変換回路の説明 (第1図)〉 第1図は以上説明した色空間圧縮を実現するための、本
実施例の画像変換回路の構成を示すブロック図である。 101は色変換部で、順次入力されるR、G。 Bの画像データなY、I、Qの色空間に変換している。 ここではR,G、Bの画像データをLab空間に変換し
、Yとり、Iとa、Qとbを同様に扱うことも可能であ
るが、ここではその説明を省略する0色変換部101で
Y、I、Qの色空間に変換された画像データは、角度計
算部102に入力される。この角度計算部102では、
第4図に示すようにI、Qの直交座標系にある画像デー
タの画素データPが、Q軸より何度回転しているがを示
す角度θを求める。これは画素データP(I、Q)座標
を(i、q)とすれば、 の内、いずれかの式を用いることにより角度θを求める
ことができる。 また、色変換部101の出力はγ計算部103にも入力
されており、このγ計算部103では、γ=  i  
+q1−が計算されるとともに、色空間の中心位置Cか
らの距離が計算される。これにより、極座標系での画像
データPの座標(γ、θ)が求められる。また、直交座
標系では(i、q)=(γsinθ、γCOSθ)とし
ても表わせる。 角度計算部102の出力θは、Dテーブル104、積算
係数aテーブル105及び日積算係数bテーブル106
に入力される。 なお、第3図における金色空間の値F、、E。 、Dlは、角度θにより異なり、またブリンクの色再現
範囲E、、D、も角度θにより異なる。この角度θ毎に
、実際の金色空間範囲における色を示したのが、第5図
のり、、E、、F、である。 ここで、角度θに対するり、、E、、F、のそれぞれを
、D、(θ)、Eバθ)、Fi(θ)で表わしている。 第5図において、F(0)〜F (359)の内、最大
のものが8ビツトの場合、“255″′となる。ここで
、角度θの最小単位を1°としたがこれに限定されず、
これよりも小さくても、或いは大きくても良い、また、
この角度θの差は均一でな(でも良い。 この実施例では、各角度に対応して、プリンタによる色
再現範囲内の量子化データを求めている。各角度θに対
するり、、E、をプリンタの色再現の特性の測定等によ
り求める。こうして、bテーブル106には角度θに対
するり、/D、が書き込まれ、またaテーブル105に
は角度θごとに(E、−D、)/ (F、−D、)の値
が書き込まれている。 γ計算部103の出力γは比較器108に入力されると
共に、減算部107において、γ2=γ−D、(θ)が
計算される。ここで、D、(θ)はDテーブル104よ
り圧力されるデータで、角度θに対するり、を示してい
る。この計算結果であるγ2(=γ−り、(θ))は乗
算器109に入力され、積係数aテーブル105の出力
と乗算される。そして、この乗算器109の出力は、加
算器111で乗算器117の出力と加算される。 乗算器117では、Dテーブル104の出力り、(θ)
と積係数bテーブル106よりのり、(θ) /DI(
θ)が入力され、その結果としてpr(θ)が出力され
る。こうして、加算器111の出力は、画素データP(
γ、θ)の色空間圧縮後のP(γ′、θ)となる。但し
、画素データP(γ。 θ)のγがF、(θ)≧γ≧D、の場合である。 一方、積係数bテーブル106の出力は乗算器110に
与えられて、ここで画像データP(γ。 θ)のγと乗算される。その結果、D、(θ)≧γの場
合の色空間圧縮後の画像データP(γ′、θ)のγ″が
求められる。これらのγ′、γ″はセレクタ112に入
力されて、どちらが一方が選択されてγ3として出力さ
れる。 γ計算部103の出力γは比較器108に入力され、こ
こでり、(θ)≧γか否が比較され、その比較結果がセ
レクタ112の選択信号として与えられている。これに
より、D、(θ)≧γの時、γ3=γ″となるように選
択され、それ以外ではγ3=γ′ となるように選択さ
れる。 このようにして得られた色空間圧縮後のデータγ3と角
度計算部102の出力θは、合成部113でP(γ3.
θ)として1つのデータになる。 色算出部114は、P(γ3.θ)より、■=γ3・s
inθ、Q=γ3・cosθを求め、更に色変換部10
1よりのYデータを受ける。このようにして揃ったY、
I、Qデータは、迎合変換部115により、Y、I、Q
からR,G、B信号に変換される。 なお、ここで色変換部101、迎合変換部115におけ
るR、G、B、Y、I、Q間の変換は線形1次変換であ
り、 て、この演算は乗算器、加算器を用いた積和演算で実現
できる。又、その一部分の積和をROMに代用させる手
法は、一般的に知られているところである。 又、輝度信号YによりI、Q空間幅が変わるので、第1
図破線で示すように、Yに応じてDテーブル104.積
係数aテーブル105.積係数bテーブル106の複数
のテーブルを切換えて、その出力値を変更するのがより
望ましい。 〈他の実施例 (第6図)〉 第6図は本発明の他の実施例における色空間圧縮を示す
もので、プリンタの色再現範囲の限界点Eを含む閉曲1
1202(第2図)内はそのまま再現し、それ以外の色
空間に関しては、限界点Eを含む閉曲線202上に変換
するものである。 第10図は前述の第1の実施例の第3図に対応するもの
で、E、を色空間の中心点Cからの距離で表わし、これ
を8ビツトとする。そしてこの距離は、プリンタ再現範
囲における中心点CからE、に変換されれば良いことに
なる。こうして、E、−E、の線分上の点は全てE、と
なる。 第8図はこの色空間圧縮を実現する第2の実施例の画像
処理回路を示すブロック図で、前述の第1実施例と共通
する部分は同じ番号で示し、それらの説明を省略する。 この第2実施例ではDテーブル104の代りにEテーブ
ル402が使用される。このEテーブル402は第5実
施例に示したテーブルである。そして、比較器108で
、P(γ、θ)のγがE、(θ)〈γであれば、セレク
タ112よりEテーブル402の出力γ5 = E 、
(θ)が選択されて、合成部113に入力される。 また、角度計算部102の出力θは、積係数Cテーブル
602に与えられて、Y及びθにより積係数が出力され
る。この積係数は、θに対するE、(θ)/E、(θ)
なる値として出力され、これらは各角度θに対してテー
ブルとして配憶されている。又、輝度信号Yに応じて別
テーブルを持っても良い。 従って、乗算器110では画素データP(γ。 θ)に対し、γ6=γ×Ef(θ)/E、(θ)なる演
算を施して色空間圧縮後のデータが得られる。 従って、E、(θ)≧γの場合、比較器108の結果が
セレクタ112を制御して、乗算器110の出力γ6を
、γ3=γ6として出力する。 第7図は本発明の第3の実施例における色空間圧縮を示
すもので、金色空間の最外縁Fを含む閉曲線内に均等に
圧縮するものである。 第9図は、この色空間圧縮を実現する画像処理回路の構
成を示すブロック図である。 γ計算部103からの出力は、乗算器121で乗算され
、合成部113に色空間圧縮後のデータとして与えられ
る。従って、乗算器121の出力は、金色空間を8ビツ
ト(0〜255)としたとき、プリンタによる色再現空
間である8ビツト(O〜255)に変換している。この
変換比は、積係数dテーブル603より供給される。こ
の積係数dテーブル603の内容は、第10図に示した
E、(θ)、Fl(θ)を使うと、E、(θ)/F、(
θ)となっている。また、この積係数dテーブル603
は輝度信号Y毎に持っても良(、Y情報とθ情報により
、1つのテーブル内容が読出されて決定される。また、
E、(θ)、FI(θ)の取り得る値は、最大値が”2
55”であって、角度情報θや輝度情報Yにより“25
5”以下の値なとる。 ところで、本発明の実施例や他の実施例において、色空
間圧縮する部分は全て乗算器を用いて、色空間の中心位
置からの距離に比例させる均等的な圧縮を行ったが、本
発明はこれに限定されるものでなく、例えば、中心位置
からの距離γにより色空間圧縮での色差が異なるように
しても良い。 また、角度θによりその圧縮の程度を異ならしめても良
い。さらに、輝度成分Yに関してもYによって金色空間
が異なるために、圧縮度合を異なるようにしても良い。 以上説明したように本実施例によれば、プリンタ等の色
再現範囲の大部分を忠実に色再現し、−部分は金色空間
の圧縮空間となる処理することにより、プリンタの忠実
な色再現をほぼ満足し、かっ色再現範囲外の色も連続性
を保って記録・再生できる。 また、本実施例によれば、プリンタの色再現範囲の全て
を忠実に色再現し、それ以外の色をプリンタの再現色範
囲の外縁に近似させたり、色空間全体をプリンタ色再現
範囲に圧縮したりすることができる。 なお、本実施例において、γは彩度方向を示し、θは色
相を示している。このため本実施例ではγを変換し、θ
成分は変換しないようにして、色空間圧縮により色相を
変化させずに、彩度のみを変換することができる。 【発明の効果】 以上説明したように本発明によれば、カラー画像形成装
置の色再現範囲において、色再現可能範囲の大部分は忠
実に色再現し、1部分は金色空間の圧縮空間となるよう
にカラー画像を構成することにより、カラー画像形成装
置の色再現範囲以外でも色の連続性を保ちながらカラー
画像を再生できる効果がある。
Embodiment J Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. <Explanation of an example of color space conversion (FIGS. 2 and 3)> FIG. 2 is a diagram showing the range of color space. In FIG. 2, a closed curve 201 including point F indicates the outer edge of the golden space, and a closed curve 202 including point E indicates the outer edge of the color space within the color reproducible range of the printer. In this embodiment, color reproducibility in the printer is improved by spatially compressing the color space of the closed curve 201 including the point F, that is, the golden space, into the color space of the closed curve 202 including the point E. In this example, Fig. 2 (A) beams, a, b, Y, I
, Q, etc. are shown, but other color spaces may be used. When the color space in FIG. 2(A) is cut along the cutting line 203, FIG. 2(B) shows how the color space is compressed in that cross section. Second
In Figure (B), F indicates the outer edge of the golden space, E indicates the outer edge of the range that can be reproduced by the printer, D indicates the reproduction range where no color shift occurs due to the printer, and C indicates the center of the color space. It shows. The color information contained in the color space surrounded by the closed curve 204 passing through the dots in the golden space is reproduced as is by the printer. When a printer reproduces a color in the color space surrounded by the closed curve 204 and the closed curve 201, the color shown in FIG.
), the line segment DF on the cut is compressed onto the line segment DE,
Each point on the line segment DE is compressed at an equal rate. FIG. 3 is a diagram showing an example of color space conversion, where 81 indicates a case in which each color component of a given gold space is 8 bits (255). Then, under the same conditions, the second
As shown in Figure (B), the range of values that each color component can take when spatially compressed is indicated by 82. Further, S3 shows the case where the range in which the printer can reproduce colors is fully utilized in 8 bits.Finally, the point D1 in the golden space becomes r when the printer can reproduce the colors, the point F in the golden space, It is sufficient if it is converted to E. <Description of Image Conversion Circuit (FIG. 1)> FIG. 1 is a block diagram showing the configuration of the image conversion circuit of this embodiment for realizing the color space compression described above. Reference numeral 101 denotes a color conversion unit, in which R and G are sequentially input. B image data is converted to Y, I, Q color space. Here, it is also possible to convert R, G, and B image data to Lab space, take Y, and treat I and a, and Q and b in the same way, but the 0 color conversion unit 101 will omit the explanation here. The image data converted into the Y, I, Q color space is input to the angle calculation unit 102. In this angle calculation section 102,
As shown in FIG. 4, an angle θ indicating how many times the pixel data P of the image data in the I, Q orthogonal coordinate system is rotated from the Q axis is determined. If the pixel data P (I, Q) coordinates are (i, q), then the angle θ can be found by using one of the following formulas. Further, the output of the color conversion unit 101 is also input to the γ calculation unit 103, and in this γ calculation unit 103, γ=i
+q1- is calculated, and the distance from the center position C of the color space is also calculated. As a result, the coordinates (γ, θ) of the image data P in the polar coordinate system are determined. Furthermore, in the orthogonal coordinate system, it can also be expressed as (i, q)=(γsinθ, γCOSθ). The output θ of the angle calculation unit 102 is calculated based on the D table 104, the integration coefficient a table 105, and the daily integration coefficient b table 106.
is input. Note that the values F, , E in the golden space in FIG. , Dl vary depending on the angle θ, and the blink color reproduction ranges E, , D also vary depending on the angle θ. The colors in the actual golden space range for each angle θ are shown in the lines ,E,,F in FIG. Here, the angles , E, and F with respect to the angle θ are represented by D, (θ), E (θ), and Fi (θ), respectively. In FIG. 5, if the maximum among F(0) to F(359) is 8 bits, it becomes "255"'. Here, although the minimum unit of the angle θ is 1 degree, it is not limited to this,
It may be smaller or larger than this, and
The difference in this angle θ may not be uniform (it is fine. In this embodiment, quantized data within the color reproduction range of the printer is obtained corresponding to each angle. It is determined by measuring the color reproduction characteristics of the printer, etc. In this way, /D is written for each angle θ in the b table 106, and (E, -D, )/( The output γ of the γ calculation unit 103 is input to the comparator 108, and the subtraction unit 107 calculates γ2=γ−D, (θ). Here, D, (θ) is the data pressed from the D table 104 and indicates the ratio to the angle θ. The output of the multiplier 109 is added to the output of the multiplier 117 in the adder 111. , (θ)
From the product coefficient b table 106, (θ) /DI(
θ) is input, and pr(θ) is output as a result. In this way, the output of the adder 111 is the pixel data P(
P(γ', θ) after color space compression of γ, θ). However, this is the case where γ of the pixel data P(γ. θ) is F and (θ)≧γ≧D. On the other hand, the output of the product coefficient b table 106 is given to a multiplier 110, where it is multiplied by γ of the image data P(γ. θ). As a result, γ'' of the image data P(γ', θ) after color space compression when D, (θ)≧γ is obtained. These γ' and γ'' are input to the selector 112, and it is determined which One is selected and output as γ3. The output γ of the γ calculation unit 103 is input to the comparator 108, where it is compared to see if (θ)≧γ, and the comparison result is provided as a selection signal to the selector 112. As a result, when D, (θ)≧γ, γ3 = γ'' is selected, and otherwise γ3 = γ'. After the color space compression obtained in this way The data γ3 and the output θ of the angle calculation unit 102 are combined into P(γ3.
θ) becomes one data. From P(γ3.θ), the color calculation unit 114 calculates ■=γ3・s
inθ, Q=γ3・cosθ is calculated, and the color conversion unit 10
Receive Y data from 1. Y, assembled in this way,
The I, Q data are converted into Y, I, Q data by the compliance conversion unit 115.
is converted into R, G, and B signals. Note that the conversion between R, G, B, Y, I, and Q in the color conversion unit 101 and the compliance conversion unit 115 is a linear linear conversion, and this operation is a product using a multiplier and an adder. This can be achieved using a sum operation. Furthermore, a method of substituting a ROM for the sum of products of a portion thereof is generally known. Also, since the I and Q spatial widths change depending on the luminance signal Y, the first
As shown by the broken line in the figure, D table 104. Product coefficient a table 105. It is more desirable to switch between a plurality of product coefficient b tables 106 and change their output values. <Other Embodiments (Fig. 6)> Fig. 6 shows color space compression in another embodiment of the present invention.
1202 (FIG. 2) is reproduced as is, and other color spaces are converted onto a closed curve 202 including the limit point E. FIG. 10 corresponds to FIG. 3 of the first embodiment described above, in which E is expressed as a distance from the center point C of the color space, and this is assumed to be 8 bits. This distance only needs to be converted from the center point C to E in the printer reproduction range. In this way, all points on the line segment E, -E become E. FIG. 8 is a block diagram showing an image processing circuit of a second embodiment that realizes this color space compression. Portions common to those of the first embodiment described above are designated by the same numbers, and their explanation will be omitted. In this second embodiment, an E table 402 is used in place of the D table 104. This E table 402 is the table shown in the fifth embodiment. Then, in the comparator 108, if γ of P(γ, θ) is E, (θ)<γ, the output γ5 of the E table 402 from the selector 112 = E,
(θ) is selected and input to the synthesis unit 113. Further, the output θ of the angle calculation unit 102 is given to a product coefficient C table 602, and a product coefficient is output based on Y and θ. This product coefficient is E for θ, (θ)/E, (θ)
These values are stored as a table for each angle θ. Further, separate tables may be provided depending on the luminance signal Y. Therefore, the multiplier 110 performs the calculation γ6=γ×Ef(θ)/E, (θ) on the pixel data P(γ. θ) to obtain data after color space compression. Therefore, when E, (θ)≧γ, the result of the comparator 108 controls the selector 112 to output the output γ6 of the multiplier 110 as γ3=γ6. FIG. 7 shows color space compression in the third embodiment of the present invention, in which the color space is compressed uniformly within a closed curve including the outermost edge F of the golden space. FIG. 9 is a block diagram showing the configuration of an image processing circuit that realizes this color space compression. The output from the γ calculation unit 103 is multiplied by a multiplier 121 and provided to the synthesis unit 113 as data after color space compression. Therefore, the output of the multiplier 121 is converted from the golden color space to 8 bits (0 to 255), which is the color reproduction space of the printer. This conversion ratio is supplied from the product coefficient d table 603. The contents of this product coefficient d table 603 are E, (θ)/F, (
θ). Also, this product coefficient d table 603
may be provided for each luminance signal Y (, one table content is read and determined by Y information and θ information. Also,
The maximum value that E, (θ), and FI (θ) can take is “2”.
55", and the angle information θ and brightness information Y make it "25".
5" or less. By the way, in this embodiment and other embodiments of the present invention, multipliers are used in all parts to compress the color space, and uniform compression is performed in proportion to the distance from the center position of the color space. However, the present invention is not limited to this. For example, the color difference in color space compression may be varied depending on the distance γ from the center position. Also, the degree of compression may be varied depending on the angle θ. Furthermore, since the golden color space differs depending on Y, the degree of compression of the luminance component Y may also be different.As explained above, according to this embodiment, the color reproduction range of a printer, etc. By faithfully reproducing most of the color and processing the - part into a compressed golden space, the printer's faithful color reproduction is almost satisfied, and even colors outside the brown reproduction range are recorded and recorded while maintaining continuity. In addition, according to this embodiment, the entire color reproduction range of the printer can be faithfully reproduced, other colors can be approximated to the outer edges of the printer's color reproduction range, and the entire color space can be reproduced by the printer. In this embodiment, γ indicates the saturation direction and θ indicates the hue. Therefore, in this embodiment, γ is converted and θ
By not converting the components, only the saturation can be converted without changing the hue through color space compression. [Effects of the Invention] As explained above, according to the present invention, in the color reproduction range of a color image forming apparatus, most of the color reproduction range is faithfully reproduced, and one part is a compressed golden space. By configuring a color image in this manner, it is possible to reproduce the color image while maintaining color continuity even outside the color reproduction range of the color image forming apparatus.

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

第1図は本発明の第1の実施例の画像処理回路 5の構
成を示すブロック図、 第2図及び第4図は色空間の範囲を示した図、第3図、
第6図、第7図及び第10図は色空間の変換例を示した
図、 第5図は各角度に対応した各種テーブルのデータ内容を
説明するための図、 第8図は第2の実施例の画像処理回路の構成を示すブロ
ック図、そして 第9図は第3の実施例の画像処理回路の構成を示すブロ
ック図である。 図中、101・・・色変換部、102・・・角度計算部
、103・・・γ計算部、104・・・Dテーブル、1
05・・・積係数aテーブル、106・・・積係数bテ
ーブル、107・・・減算部、108・・・比較器、1
09.110,117,121・・・乗算器、111・
・・加算器、112・・・セレクタ、113・・・合成
部、114・・・色算出部、115・・・迎合変換部、
402・・・Eテーブル、602・・・積係数Cテーブ
ル、603・・・積係数dテーブルである。 特許出願人  キャノン株式会社 代理人 弁理士  大塚康徳(他1名)第2図(A) q関ん輪 第2図(B) 1M向 第4図 第5図 第6図 I!9蘭シ鴻 第7図
FIG. 1 is a block diagram showing the configuration of an image processing circuit 5 according to the first embodiment of the present invention, FIGS. 2 and 4 are diagrams showing the range of color space, and FIG.
Figures 6, 7, and 10 are diagrams showing examples of color space conversion. Figure 5 is a diagram for explaining the data contents of various tables corresponding to each angle. Figure 8 is a diagram showing the data contents of various tables corresponding to each angle. A block diagram showing the configuration of the image processing circuit of the embodiment, and FIG. 9 is a block diagram showing the configuration of the image processing circuit of the third embodiment. In the figure, 101...color conversion unit, 102...angle calculation unit, 103...γ calculation unit, 104...D table, 1
05... Product coefficient a table, 106... Product coefficient b table, 107... Subtractor, 108... Comparator, 1
09.110, 117, 121... Multiplier, 111.
...Adder, 112...Selector, 113...Composition section, 114...Color calculation section, 115...Compliant conversion section,
402... E table, 602... Product coefficient C table, 603... Product coefficient d table. Patent Applicant Canon Co., Ltd. Agent Patent Attorney Yasunori Otsuka (and 1 other person) Figure 2 (A) Q Sekiwa Figure 2 (B) 1M direction Figure 4 Figure 5 Figure 6 Figure I! 9 Ranshi Hong Figure 7

Claims (4)

【特許請求の範囲】[Claims] (1)カラー画像データの色空間範囲を変換してカラー
画像形成装置に出力するカラー画像処理方法であつて、 カラー画像形成装置の色再現範囲の大部分に相当するカ
ラー画像データの色成分のデータを変換せず、前記色再
現範囲を越えるカラー画像データは、前記色再現範囲の
空間内で最も近い最外縁の位置に相当するカラー画像デ
ータに変換することを特徴とするカラー画像処理方法。
(1) A color image processing method that converts the color space range of color image data and outputs it to a color image forming device, which converts the color components of the color image data that correspond to most of the color reproduction range of the color image forming device. A color image processing method, characterized in that without converting data, color image data exceeding the color reproduction range is converted into color image data corresponding to the closest outermost edge position within the space of the color reproduction range.
(2)カラー画像信号の色空間範囲を変換してカラー画
像形成装置に出力するカラー画像処理方法であつて、 カラー画像形成装置の色再現範囲の大部分に相当するカ
ラー画像データの色成分のデータを変換せず、前記色再
現範囲を越えるカラー画像データは、前記色再現範囲の
空間内で再現色空間に圧縮または変換することを特徴と
するカラー画像処理方法。
(2) A color image processing method that converts the color space range of a color image signal and outputs it to a color image forming device, which converts the color components of color image data that correspond to most of the color reproduction range of the color image forming device. A color image processing method characterized in that color image data exceeding the color reproduction range is compressed or converted into a reproduction color space within the space of the color reproduction range without converting the data.
(3)カラー画像データの色空間範囲を変換してカラー
画像形成装置に出力するカラー画像処理装置であつて、 前記カラー画像データの内、前記カラー画像形成装置の
色再現範囲に含まれるカラー画像データをそのまま前記
カラー画像装置に出力する出力手段と、 前記カラー画像データの内、前記カラー画像形成装置の
色再現範囲を越えるカラー画像データ成分を、前記色再
現範囲の空間内で最も近い最外縁の位置に相当するカラ
ー画像データに変換する変換手段と、 を有することを特徴とするカラー画像処理装置。
(3) A color image processing device that converts the color space range of color image data and outputs the converted color image data to a color image forming device, the color image being included in the color reproduction range of the color image forming device among the color image data. an output means for outputting the data as is to the color image device; and a color image data component of the color image data that exceeds the color reproduction range of the color image forming device to the nearest outermost edge in the space of the color reproduction range. A color image processing device comprising: a conversion means for converting into color image data corresponding to a position of .
(4)カラー画像信号の色空間範囲を変換してカラー画
像形成装置に出力するカラー画像処理方法であつて、 前記カラー画像データの内、前記カラー画像形成装置の
色再現範囲に含まれるカラー画像データをそのまま前記
カラー画像装置に出力する出力手段と、 前記色再現範囲を越えるカラー画像データを前記色再現
範囲の空間内で再現色空間に圧縮/変換する変換手段と
、 を有することを特徴とするカラー画像処理装置。
(4) A color image processing method for converting the color space range of a color image signal and outputting it to a color image forming apparatus, the color image being included in the color reproduction range of the color image forming apparatus among the color image data. It is characterized by comprising: an output means for outputting the data as it is to the color image device; and a conversion means for compressing/converting color image data exceeding the color reproduction range into a reproduction color space within the space of the color reproduction range. color image processing device.
JP2314217A 1990-11-21 1990-11-21 Method and device for processing color image Pending JPH04186968A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2314217A JPH04186968A (en) 1990-11-21 1990-11-21 Method and device for processing color image
US08/370,354 US5933252A (en) 1990-11-21 1995-01-09 Color image processing method and apparatus therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2314217A JPH04186968A (en) 1990-11-21 1990-11-21 Method and device for processing color image

Publications (1)

Publication Number Publication Date
JPH04186968A true JPH04186968A (en) 1992-07-03

Family

ID=18050697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2314217A Pending JPH04186968A (en) 1990-11-21 1990-11-21 Method and device for processing color image

Country Status (1)

Country Link
JP (1) JPH04186968A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007324989A (en) * 2006-06-01 2007-12-13 Canon Inc Image processing device and image processing method
US7965426B2 (en) 2005-08-12 2011-06-21 Canon Kabushiki Kaisha Image processing apparatus and method for performing gamut mapping via device-independent standard color space

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7965426B2 (en) 2005-08-12 2011-06-21 Canon Kabushiki Kaisha Image processing apparatus and method for performing gamut mapping via device-independent standard color space
JP2007324989A (en) * 2006-06-01 2007-12-13 Canon Inc Image processing device and image processing method

Similar Documents

Publication Publication Date Title
JP4556276B2 (en) Image processing circuit and image processing method
JP2994153B2 (en) Color signal converter
US6583824B2 (en) Color modification on a digital nonlinear editing system
JP3683397B2 (en) Color image data interpolation method and apparatus
JP2000075852A (en) Method of maintaining detail of image
JP3273204B2 (en) Color separation image processing method and apparatus for four-color printer
JP2000261824A (en) Method for storing space detail and color contents for adjustment of tone scale of digital color picture
EP1021032A2 (en) A method for adjusting the tone scale of a digital image
JP2000083177A (en) Image processing method and image processor
US6549678B1 (en) Method for preserving spatial detail when applying a multidimensional tonal transform to a digital color image
JPH0423869B2 (en)
JPH04186968A (en) Method and device for processing color image
JPH06225130A (en) Picture processor and method therefor
EP0423320A1 (en) Video noise reduction system
JP3337697B2 (en) Image processing method
EP0408007A1 (en) Video signal processing device
JPH0832838A (en) Gradation correction method and gradation correction device
JPH09275496A (en) Image contour emphasis processing unit and its method
JPH05284347A (en) Color picture output device
JP2004199193A (en) Image processing method and image processing device
JP2000253267A (en) Method and device for color image processing
JPH09224162A (en) Chrominance converter
JPH0414383A (en) Picture processing unit
JP4478258B2 (en) Image processing device
JPH01222967A (en) Saturation adjustment of digital image and device