JPH04284579A - Method and device for processing color picture - Google Patents
Method and device for processing color pictureInfo
- Publication number
- JPH04284579A JPH04284579A JP3049321A JP4932191A JPH04284579A JP H04284579 A JPH04284579 A JP H04284579A JP 3049321 A JP3049321 A JP 3049321A JP 4932191 A JP4932191 A JP 4932191A JP H04284579 A JPH04284579 A JP H04284579A
- Authority
- JP
- Japan
- Prior art keywords
- color
- color image
- image information
- reproduction range
- information
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 12
- 238000006243 chemical reaction Methods 0.000 claims abstract description 39
- 238000003672 processing method Methods 0.000 claims description 8
- 239000003086 colorant Substances 0.000 abstract description 18
- 238000010586 diagram Methods 0.000 description 6
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
- H04N1/60—Colour correction or control
- H04N1/6058—Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Processing (AREA)
- Color Television Systems (AREA)
- Facsimile Image Signal Circuits (AREA)
- Controls And Circuits For Display Device (AREA)
- Dot-Matrix Printers And Others (AREA)
- Color, Gradation (AREA)
- Processing Of Color Television Signals (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、例えばスキャナ、プリ
ンタ或いはディスプレイ等のように異機種間でカラー画
像情報を送信してカラー画像を再生するカラー画像の処
理方法及びその装置に関するものである。尚、このカラ
ー画像情報の再生には、記録紙等へのカラー記録及びカ
ラー表示画面へのカラー画像を表示する場合も含まれる
。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing method and apparatus for transmitting color image information between different types of devices such as scanners, printers, and displays to reproduce color images. Note that this reproduction of color image information includes recording in color on recording paper or the like and displaying a color image on a color display screen.
【0002】0002
【従来の技術】従来、異機種間でカラー画像情報を通信
して記録・再生する場合、受信側の装置では送られてき
たカラー画像情報の色信号を色変換して再生している。
この場合、受信側の装置は、自分の装置の色再現範囲に
合うように、受信したカラー画像を均一の色再現範囲に
分割して色情報の変換を行っていた。このような色再現
範囲の変換は、変換対象となる色の全色に対して均一な
変換方法が適用されていた。2. Description of the Related Art Conventionally, when color image information is communicated and recorded/reproduced between different types of devices, the receiving device converts the color signals of the color image information sent thereto and reproduces the information. In this case, the receiving device converts the color information by dividing the received color image into uniform color reproduction ranges to match the color reproduction range of its own device. In such color reproduction range conversion, a uniform conversion method is applied to all colors to be converted.
【0003】0003
【発明が解決しようとする課題】従って上記従来例では
、変換対象となる色の全てに対して均一に色変換処理を
施すため、再生されたカラー画像の明度や色相、彩度等
が各装置により異なってしまうことがある。具体的には
、黄色の場合は、明度、色相が合っていれば彩度が多少
異なっても、その色の変化が目立たないが、例えば赤色
の場合は、色相や明度或いは彩度のずれに敏感である。
このため、赤色の再現色の彩度が少しだけ変化しても、
敏感に色の違いが認識される虞がある。このように、従
来は特定の色に対して、その変換方向を変えて色変換を
行うことができなかったため、再生された色によっては
、好ましい色再現が得られなかった。[Problems to be Solved by the Invention] Therefore, in the conventional example described above, in order to perform color conversion processing uniformly on all the colors to be converted, the brightness, hue, saturation, etc. of the reproduced color image are different from each other for each device. It may differ depending on the Specifically, in the case of yellow, if the brightness and hue match, even if the saturation differs slightly, the change in color will not be noticeable, but in the case of red, for example, the change in hue, brightness, or saturation will not be noticeable. Sensitive. Therefore, even if the saturation of the red reproduced color changes slightly,
There is a possibility that the difference in color may be sensitively recognized. As described above, in the past, it was not possible to perform color conversion by changing the conversion direction for a specific color, and therefore, depending on the reproduced color, preferred color reproduction could not be obtained.
【0004】本発明は上記従来例に鑑みてなされたもの
で、それぞれ異なる色再現範囲を有する機器においても
、原稿に忠実な色再現ができるカラー画像の処理方法及
びその装置を提供することを目的とする。The present invention has been made in view of the above-mentioned conventional examples, and an object of the present invention is to provide a color image processing method and apparatus that can reproduce colors faithful to the original even in devices having different color reproduction ranges. shall be.
【0005】[0005]
【課題を解決するための手段】上記目的を達成するため
に本発明のカラー画像処理装置は以下の様な構成からな
る。即ち、異機種間で伝送されるカラー画像情報の色空
間範囲を変換するカラー画像処理装置であって、色再現
範囲をコード情報で記憶する記憶手段と、入力したカラ
ー画像情報を明度、彩度及び色相に応じてコード化する
コード化手段と、前記コード化手段によりコード化され
たカラー画像情報と前記記憶手段に記憶されたコード情
報とを比較して、前記カラー画像情報の色が再現範囲内
にあるどうかを判別する判別手段と、前記判別手段によ
り再現範囲内にあると判定されると前記カラー画像情報
をそのまま出力する出力手段と、再現範囲外にある時は
前記カラー画像情報の色を色再現範囲の外縁部に変換す
る変換手段とを有する。[Means for Solving the Problems] In order to achieve the above object, the color image processing apparatus of the present invention has the following configuration. That is, it is a color image processing device that converts the color space range of color image information transmitted between different models, and includes a storage means for storing the color reproduction range as code information, and a storage means for storing the color reproduction range as code information, and converting the input color image information into brightness and saturation. and a coding device that codes according to the hue, and compares the color image information coded by the coding device with the code information stored in the storage device, so that the color of the color image information is within the reproduction range. a determining means for determining whether the color image information is within the reproduction range; an output means for outputting the color image information as it is when the determination means determines that the color is within the reproduction range; and converting means for converting the color to the outer edge of the color reproduction range.
【0006】上記目的を達成するために本発明のカラー
画像処理方法は以下の様な構成からなる。即ち、異機種
間で伝送されるカラー画像情報の色空間範囲を変換する
カラー画像処理方法であって、入力したカラー画像情報
を明度、彩度及び色相に応じてコード化する工程と、そ
のコード化したカラー画像情報が色再現範囲内にあるど
うかを判別し、その再現範囲内にあると判定されるとカ
ラー画像情報をそのまま出力するとともに、その再現範
囲内にない時は、そのカラー画像情報の色を色再現範囲
の外縁部に変換して出力する工程とを有する。In order to achieve the above object, the color image processing method of the present invention has the following configuration. That is, it is a color image processing method for converting the color space range of color image information transmitted between different models, which includes a step of encoding input color image information according to brightness, saturation, and hue, and the code. It is determined whether the converted color image information is within the color reproduction range, and if it is determined that it is within the reproduction range, the color image information is output as is, and if it is not within the reproduction range, the color image information is output. and converting the color to the outer edge of the color reproduction range and outputting the converted color.
【0007】[0007]
【作用】以上の構成において、入力したカラー画像情報
を明度、彩度及び色相に応じてコード化し、そのコード
化されたカラー画像情報と、色再現範囲をコード情報で
記憶する記憶手段に記憶されたコード情報とを比較して
、そのカラー画像情報の色が再現範囲内にあるどうかを
判別する。そして、再現範囲内にあると判定されるとそ
のカラー画像情報をそのまま出力するが、再現範囲外に
ある時はそのカラー画像情報の色を色再現範囲の外縁部
に変換して出力する。[Operation] In the above configuration, input color image information is coded according to brightness, saturation, and hue, and the coded color image information and color reproduction range are stored in the storage means that stores the code information. It is determined whether the color of the color image information is within the reproduction range. If it is determined that the color image information is within the reproduction range, the color image information is output as is, but if it is outside the reproduction range, the color of the color image information is converted to the outer edge of the color reproduction range and output.
【0008】また、本発明のカラー画像処理方法によれ
ば、入力したカラー画像情報を明度、彩度及び色相に応
じてコード化し、そのコード化したカラー画像情報が色
再現範囲内にあるどうかを判別し、その再現範囲内にあ
ると判定されるとカラー画像情報をそのまま出力すると
ともに、その再現範囲内にない時は、そのカラー画像情
報の色を色再現範囲の外縁部に変換して出力する。Further, according to the color image processing method of the present invention, input color image information is coded according to brightness, saturation, and hue, and it is determined whether the coded color image information is within the color reproduction range. If it is determined that the color is within the reproduction range, the color image information is output as is, and if it is not within the reproduction range, the color of the color image information is converted to the outer edge of the color reproduction range and output. do.
【0009】また、好的な実施態様に従えば、カラー画
像情報が再現範囲内にない時は、カラー画像情報の色特
性に応じて色を判別し、その判別結果に従って明度、彩
度及び色相の各情報の変換方法を決定するようにしてい
る。Further, according to a preferred embodiment, when the color image information is not within the reproduction range, the color is discriminated according to the color characteristics of the color image information, and the brightness, saturation, and hue are determined according to the discrimination result. The method for converting each piece of information is determined.
【0010】0010
【実施例】以下、添付図面を参照して本発明の好適な実
施例を詳細に説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
【0011】まず、図2及び図3を参照して、本実施例
の色再現範囲の記憶方法について説明する。図2に示す
ように、基準となる均等色空間を色相について数段階、
明度について数段階、更に彩度について数段階となるよ
うに、それぞれの色空間方向を一定の領域に細かく分割
し、色再現範囲に対応する部分を微小なブロックの集ま
りとして記憶する。First, the method of storing the color reproduction range in this embodiment will be explained with reference to FIGS. 2 and 3. As shown in Figure 2, the standard uniform color space is divided into several stages of hue.
Each color space direction is finely divided into certain areas so that there are several levels of brightness and several levels of chroma, and the parts corresponding to the color reproduction range are stored as a collection of minute blocks.
【0012】ここでは、基準となる均等色空間をCIE
のL* a* b* 色空間で表し、このブロックそれ
ぞれに、形式に則った6桁のコード番号を付している。[0012] Here, the standard uniform color space is CIE
It is expressed in the L* a* b* color space, and each block is assigned a 6-digit code number according to the format.
【0013】この例を示したのが図3である。ここでは
色相を20段階、彩度と明度のそれぞれを10段階に分
割している。FIG. 3 shows an example of this. Here, the hue is divided into 20 levels, and the saturation and brightness are each divided into 10 levels.
【0014】図3は、ある機器の色再現範囲における、
所定の明度段階(例えば明度6)の平面を示しており、
図3に付されたコードのそれぞれは、基準となる均等色
空間における色相、明度、彩度を表しており、コードの
先頭より、色彩、明度(06)、彩度の順番に、それぞ
れ2桁ずつの情報を有している。色相はa* 軸の+側
を基準に反時計回り方向に、明度、彩度については、低
い方から高い方へ順に番号が付されている。即ち、コー
ド“100609”は、色彩が“10”、明度の段階が
“06”、彩度の段階が“09”である緑色を表わすこ
とになる。FIG. 3 shows the color reproduction range of a certain device.
It shows a plane at a predetermined brightness level (for example, brightness 6),
Each of the codes in Figure 3 represents hue, brightness, and saturation in the standard uniform color space. Starting from the beginning of the code, each code has two digits in the order of color, brightness (06), and saturation. It has information on each. Hue is numbered counterclockwise from the + side of the a* axis, and brightness and saturation are numbered in order from lowest to highest. That is, the code "100609" represents green with a color of "10", a brightness level of "06", and a saturation level of "09".
【0015】この方法を各デバイスに適用すると、例え
ばディスプレイ或いはプリンタのように、各機器毎に色
再現範囲が異なる場合、それぞれの機器に応じた色空間
データを記憶しておく。この場合、各デバイス毎に色再
現範囲を表わすブロック数は異なるが、同じコード番号
で表わされた色は、異機種であつても全く同一の色を表
わしていることになる。[0015] When this method is applied to each device, such as a display or a printer, where each device has a different color reproduction range, color space data corresponding to each device is stored. In this case, although the number of blocks representing the color reproduction range differs for each device, colors represented by the same code number represent exactly the same color even if the devices are different models.
【0016】ここで、この色再現範囲を分割する間隔を
狭めれば、精度の良い画像再生になり、この間隔を広げ
れば精度が低下することになる。この場合の分割の間隔
、コード番号の桁数及び基準となる色空間は、本実施例
に限定されないことはもちろんである。[0016] If the interval at which this color reproduction range is divided is narrowed, the image reproduction will be more accurate, and if this interval is widened, the accuracy will be lowered. Of course, the interval between divisions, the number of digits of the code number, and the reference color space in this case are not limited to those of this embodiment.
【0017】図1は、このような色空間変換を行う本実
施例のカラー画像処理装置の構成を示すブロック図であ
る。FIG. 1 is a block diagram showing the configuration of a color image processing apparatus according to this embodiment that performs such color space conversion.
【0018】入力された原情報のR.G.B.信号は、
色変換部1にてL* a* b* 信号に変換される。
そして、これらL* a* b* 信号から、角度計算
部2にてa* 軸の+側を基準に反時計回り方向の角度
θが、距離計算部3にてL* 軸からの距離Pが計算さ
れる(図4参照)。ここでθは、
tan −1(b* /a* )(a≠0)又は、si
n−1{b*/SQRT(a* 2 +b* 2 )}
, cos−1{a*/SQRT(a* 2 +b*
2 )}のいずれかの式を用いれば算出できる。また、
PはSQRT(a* 2 +b* 2)より求められる
。尚、ここで、SQRT(a* 2 +b* 2 )≠
0であり、SQRT(A)はAの平方根を示している。R. of the input original information. G. B. The signal is
The color converter 1 converts the signal into an L*a*b* signal. Then, from these L* a* b* signals, the angle calculation unit 2 calculates the angle θ in the counterclockwise direction based on the + side of the a* axis, and the distance calculation unit 3 calculates the distance P from the L* axis. calculated (see Figure 4). Here, θ is tan −1(b*/a*) (a≠0) or si
n-1 {b*/SQRT(a* 2 +b* 2 )}
, cos-1{a*/SQRT(a* 2 +b*
2)} can be used for calculation. Also,
P is obtained from SQRT (a* 2 + b* 2). In addition, here, SQRT(a* 2 + b* 2 )≠
0, and SQRT(A) indicates the square root of A.
【0019】このようにして求められたθ、P及びL*
は、L* a* b* 空間において、θが色相、L
が明度、Pが彩度の情報を有しているので、コード化部
4において、それぞれが2桁の情報に変換され、前述の
図3に示す6桁のブロックコードN1となる。θ, P and L* thus obtained
is in L* a* b* space, where θ is hue and L
Since P has information on brightness and saturation, each is converted into two-digit information in the encoding unit 4, resulting in the six-digit block code N1 shown in FIG. 3 described above.
【0020】5は色再現範囲のブロックコード記憶部で
、予めそのデバイスのもつ色再現範囲ブロックの全ブロ
ックコードを記憶してあるメモリである。この色再現範
囲ブロックコード記憶部5より、入力されたブロックコ
ードN1と同色相、同輝度の最外縁部ブロックコードN
5を読出し、比較器7において、そのブロックコードN
1と比較することにより、入力されたRGB色信号がデ
バイスの色再現範囲内にあるかどうかを判定する。ここ
で、比較器7の出力信号Sは、セレクタ12の選択信号
として使用されており、ブロックコードN1が色再現範
囲内にあればブロックコードN1を、範囲外にあればブ
ロックコードN3(後述する)を選択して、セレクタ1
2よりブロックコードN4として出力するようにしてい
る。Reference numeral 5 denotes a color reproduction range block code storage unit, which is a memory in which all block codes of color reproduction range blocks of the device are stored in advance. From this color reproduction range block code storage unit 5, an outermost edge block code N having the same hue and same brightness as the input block code N1 is stored.
5 is read out, and the comparator 7 reads the block code N
1, it is determined whether the input RGB color signal is within the color reproduction range of the device. Here, the output signal S of the comparator 7 is used as a selection signal of the selector 12. If the block code N1 is within the color reproduction range, the block code N1 is selected, and if it is outside the range, the block code N3 (described later) is selected. ) and selector 1
2, it is output as block code N4.
【0021】これにより、入力された色信号がデバイス
の色再現範囲内にある場合は、セレクタ12によりブロ
ックコードN1が選択され手ブロックコードN4として
出力される。そして、逆コード化部13によりブロック
コードからL* a* b* 信号が変換され、さらに
、逆色変換部14によりR.G.B.信号に変換される
。ここで、逆コード化部13にて行なわれる逆コード化
は、a* =P cosθ,b*=P sinθにより
行われる。As a result, if the input color signal is within the color reproduction range of the device, the block code N1 is selected by the selector 12 and output as the hand block code N4. Then, the inverse coding unit 13 converts the block code into an L* a* b* signal, and the inverse color converting unit 14 converts the R. G. B. converted into a signal. Here, the decoding performed by the decoding section 13 is performed using a*=P cos θ, b*=P sin θ.
【0022】尚、色変換部1、逆色変換部14において
行われる変換は、RGB ←→ (1次変換)XY
Z ←→ (非線形変換)L* a* b* と、
CIEのXYZを介することにより実現できる。また、
非線形部の計算をROM(テーブルメモリ)により代用
することもできる。[0022] The conversion performed in the color conversion section 1 and the inverse color conversion section 14 is RGB ←→ (primary conversion) XY
Z ←→ (nonlinear transformation) L* a* b* and
This can be achieved via CIE's XYZ. Also,
It is also possible to use ROM (table memory) for calculation of the nonlinear part.
【0023】次に、コード化部4でコード化されたブロ
ックコードN1が、このデバイスの色再現範囲外にある
場合に選択されるブロックコードN3を作成する場合に
ついて述べる。Next, a case will be described in which a block code N3 is created which is selected when the block code N1 encoded by the encoding section 4 is outside the color reproduction range of this device.
【0024】まず、ブロックコードN1が色判別部15
に入力され、この入力された色信号の色が判別される。
そして、その判別結果である出力Kが、変換モード設定
部6に入力され、その色に対応した変換方向が読出され
、変換モード設定部6よりモードMが出力される。これ
らブロックコードN1とモードMとにより、色再現範囲
ブロックコード記憶部5より読出されるブロックコード
群Nが定められ、セレクタ8により、この機器に対応し
た色再現範囲を記憶しているブロックコード群Nの中の
1つのブロックコードN2が出力される。First, the block code N1 is detected by the color discriminator 15.
The color of the input color signal is determined. Then, the output K that is the determination result is input to the conversion mode setting section 6, the conversion direction corresponding to the color is read out, and the mode M is outputted from the conversion mode setting section 6. These block codes N1 and mode M determine the block code group N to be read from the color reproduction range block code storage section 5, and the block code group N that is read out from the color reproduction range block code storage section 5 is determined by the selector 8. One block code N2 among N is output.
【0025】そして減算器9により、ブロックコードN
1とブロックコードN2とのコード番号の差dが取られ
る。ここで、ブロックコードは前述したように空間上の
位置を示しているので、差dの絶対値が小さい程、ブロ
ックコードN1とN2の両コードが示すブロックが近い
位置にあり、互いの色の色差が少ないといえる。ここで
減算器9より出力されるデータとしては、ブロックコー
ドN1とブロックコードN2との差dと、その時のブロ
ックコードN2の情報がある。Then, the subtracter 9 calculates the block code N
The difference d between the code numbers of block code N2 and block code N2 is taken. Here, since the block code indicates the spatial position as described above, the smaller the absolute value of the difference d is, the closer the blocks indicated by the block codes N1 and N2 are, and the more the blocks are of different colors. It can be said that there is little color difference. Here, the data output from the subtracter 9 includes the difference d between the block code N1 and the block code N2, and information on the block code N2 at that time.
【0026】ブロックコードN2は、色再現範囲ブロッ
クコード記憶部5より読出されたブロックコード群Nの
中の1つめのコードであるので、比較器10を素通りし
、最適ブロックコード記憶部11に書込まれる。ここで
、最適ブロックコード記憶部11とは、変換モードを設
定した後、計算した中で最少の差dを持つ、色再現範囲
ブロックコード記憶部5よりのブロックコードと、その
差dとが記憶されているメモリである。そして、セレク
タ8がブロックコード群Nの中の2つめのブロックコー
ドN2を出力し、同様に減算器9において、ブロックコ
ードN1との差dをとり、その結果が比較器10に入力
される。Since the block code N2 is the first code in the block code group N read out from the color gamut block code storage section 5, it passes through the comparator 10 and is written to the optimal block code storage section 11. be included. Here, the optimal block code storage unit 11 stores the block code from the color reproduction range block code storage unit 5 that has the smallest difference d among the calculated ones after setting the conversion mode, and the difference d. This is the memory being stored. Then, the selector 8 outputs the second block code N2 in the block code group N, and the subtracter 9 similarly calculates the difference d from the block code N1, and the result is input to the comparator 10.
【0027】このとき、比較器10は、現時点でブロッ
クコードN1と最少の差dを有するブロックコードの番
号Nと、その時の差d(D)とを、最適ブロックコード
記憶部11より読出し、2つめのブロックコードN2と
ブロックコードN1との差dと、最適ブロックコード記
憶部11より読出したDとの大小関係を見る。D>dで
あれば、最適ブロックコード記憶部11の内容は、小さ
い方の差dをもつ新たなブロックコードに書き換えられ
、D≦dならばそのままとなる。At this time, the comparator 10 reads the number N of the block code having the minimum difference d from the block code N1 at the present time and the difference d(D) at that time from the optimal block code storage unit 11, and The magnitude relationship between the difference d between the third block code N2 and the block code N1 and D read from the optimum block code storage section 11 is examined. If D>d, the contents of the optimal block code storage section 11 are rewritten to a new block code with the smaller difference d, and if D≦d, the contents remain unchanged.
【0028】このようにしてセレクタ8が、3つめのブ
ロックコードN2、4つめのブロックコードと、…とい
うように、順次、色再現範囲ブロックコード記憶部5よ
り読出したブロックコード群Nを次々とコードデータを
減算部9に出力することにより、上述した動作が繰り返
し実行される。In this way, the selector 8 sequentially selects the block code group N read out from the color reproduction range block code storage section 5 one after another, such as the third block code N2, the fourth block code, and so on. By outputting the code data to the subtraction unit 9, the above-described operation is repeatedly executed.
【0029】このようにして、最終的に変換モード設定
に合致したブロックコード群Nの中で、入力されたカラ
ー画像信号より求められたブロックコードN1のブロッ
クと最も近い距離にあるブロックのブロックコードN3
が、最適ブロックコード記憶部11に記憶されることに
なる。In this way, among the block code group N that finally matches the conversion mode setting, the block code of the block closest to the block with the block code N1 determined from the input color image signal is determined. N3
will be stored in the optimal block code storage section 11.
【0030】こうして求められたブロックコードN3は
、前述したようにブロックコードN1が、このデバイス
の色再現範囲外にある場合にセレクタ12で選択され、
逆コード化部13、逆色変換部14を経てRGB色信号
に変換される。The block code N3 obtained in this way is selected by the selector 12 when the block code N1 is outside the color reproduction range of this device as described above.
The signals are converted into RGB color signals via the inverse coding section 13 and the inverse color conversion section 14.
【0031】以上のように、入力された色信号がデバイ
スの色再現範囲外にある色であっても、その時の色に応
じて変換モードが決定されて最適な色へ変換される。こ
うように、入力された1つの色信号が変換される過程を
、そのデータの流れに沿って説明したが、入力される色
信号が複数ある場合は、上記のような処理を色ごとに繰
り返すことにより変換が行われる。As described above, even if the input color signal is a color that is outside the color reproduction range of the device, the conversion mode is determined according to the color at that time and the color is converted to the optimal color. In this way, we explained the process of converting one input color signal along the data flow, but if there are multiple input color signals, the above process is repeated for each color. The conversion is performed by
【0032】次に図5を参照して、色判別部15と変換
モード設定部6との組み合わせにより色再現範囲を変換
する場合について説明する。Next, referring to FIG. 5, a case will be described in which the color reproduction range is converted by a combination of the color discrimination section 15 and the conversion mode setting section 6.
【0033】ここでは、色判別部15に入力されるブロ
ックコードN1の上位2桁の色相情報、下位2桁の彩度
情報により色を分類している。即ち、図5に示すように
、それぞれの色に対し、A、B、C…のようにグループ
分けを行ったテーブルを作成する。ここで分けるグルー
プ数は、変換モード設定部6における変換モード数以下
にしなければならない。ここで、グループ分けする際に
、人間の目の特性を加味すれば良い。
グループA:若干の色相のずれは気にならないが、明度
、色相の変化には敏感である色。
グループB:色相、明度、彩度の変化に敏感である色。
グループC:若干の彩度のずれは気にならないが、明度
、色相の変化には敏感である色。Here, colors are classified based on the hue information in the upper two digits and the saturation information in the lower two digits of the block code N1 inputted to the color discrimination section 15. That is, as shown in FIG. 5, a table is created in which each color is grouped into groups such as A, B, C, and so on. The number of groups to be divided here must be equal to or less than the number of conversion modes in the conversion mode setting section 6. Here, when classifying into groups, the characteristics of the human eye may be taken into account. Group A: Colors in which a slight shift in hue is not a concern, but are sensitive to changes in brightness and hue. Group B: Colors that are sensitive to changes in hue, lightness, and saturation. Group C: Colors that do not care about slight shifts in saturation, but are sensitive to changes in brightness and hue.
【0034】以上のように色空間の色を人間の目の特性
加味してグループ分けする。そして、これらグループ分
けされた結果が、色判別部15の出力Kとなり、変換モ
ード設定部6へ入力される。As described above, the colors in the color space are divided into groups taking into account the characteristics of the human eye. The results of these groupings become the output K of the color discrimination section 15 and are input to the conversion mode setting section 6.
【0035】次に、変換モード設定部6では、色判別部
15においてグループ分けされた条件に対応するように
モードを設定する。即ち、
モード1:明度、彩度を変化させず色相を変化させる。
但し、色相が3ブロック以上ずれてしまうような場合は
、彩度を1ブロックずらしても良い。
モード2:制限なし。(機械的に最も近いブロックを捜
す)
モード3:明度、色相を変化させず彩度のみを変化させ
る。Next, the conversion mode setting section 6 sets a mode to correspond to the conditions grouped by the color discriminating section 15. That is, Mode 1: Changes the hue without changing the brightness and saturation. However, if the hue is shifted by three blocks or more, the saturation may be shifted by one block. Mode 2: No restrictions. (Mechanically searches for the closest block) Mode 3: Changes only the saturation without changing the brightness or hue.
【0036】以上の方法及び構成により、色別に変換の
方向を変化させることができる。With the above method and configuration, the direction of conversion can be changed for each color.
【0037】尚、前述の実施例では色のグループ、変換
モードを3種類設定した。このグループ分け、変換モー
ド設定を3種類にしなければならない理由はなく、何種
類にしても良い。また、メモリの容量に余裕がある場合
には、全色に対して1対1に対応するようにグループ分
けをし、変換モードを設けても良い。In the above-mentioned embodiment, three types of color groups and conversion modes were set. There is no reason why this grouping and conversion mode setting must be set to three types, and any number of types may be used. Furthermore, if there is sufficient memory capacity, all colors may be grouped in one-to-one correspondence and a conversion mode may be provided.
【0038】また、前述の実施例では、人間が見た時の
色の見えにより分類したが、以下に示すように、測色的
に分類しても良い。
グループA:彩度コードが9〜10の色グループB:彩
度コードが5〜8の色
グループC:彩度コードが1〜4の色
また、グループ分けを行わず、すべての色を同じグルー
プにすることにより、デバイスの色再現範囲外の色に対
し、同一の変換を行うようにしても良い。Furthermore, in the above-mentioned embodiment, the classification was performed based on the appearance of color when viewed by a human, but the classification may be performed colorimetrically as shown below. Group A: Colors with a saturation code of 9 to 10 Group B: Colors with a saturation code of 5 to 8 Group C: Colors with a saturation code of 1 to 4 Also, all colors are grouped into the same group without grouping. By doing so, the same conversion may be performed for colors outside the color reproduction range of the device.
【0039】尚、本発明は、複数の機器から構成される
システムに適用しても、1つの機器からなる装置に適用
しても良い。また、本発明はシステム或は装置にプログ
ラムを供給することによつて達成される場合にも適用で
きることは言うまでもない。以上説明したように本実施
例によれば、例えばディスプレイ、プリンタ等のように
デバイス固有の色再現範囲を有していても、原カラー情
報を忠実に再現することができる。The present invention may be applied to a system made up of a plurality of devices, or to a device made up of one device. It goes without saying that the present invention can also be applied to cases where the present invention is achieved by supplying a program to a system or device. As described above, according to this embodiment, even if the device has a color reproduction range unique to the device, such as a display or a printer, original color information can be faithfully reproduced.
【0040】また、デバイス固有の色再現範囲外の色に
ついては、それぞれの色に対し、人間の目の特性または
測色的ものさしを加味し、設定された色判別部でのグル
ープ、変換モードにより、最適な色となるようにデバイ
ス固有の色再現範囲の外縁部に変換することができる。Furthermore, for colors that are outside the color reproduction range unique to the device, the characteristics of the human eye or the colorimetric scale are taken into consideration for each color, and the group and conversion mode of the set color discrimination unit are used to , it is possible to convert the color to the outer edge of the device's unique color reproduction range to obtain the optimal color.
【0041】また、色判別部でのグループ分けや変換モ
ードの設定を変化させることにより、変換する方向を変
えることもできる。Furthermore, the direction of conversion can be changed by changing the grouping and conversion mode settings in the color discrimination section.
【0042】[0042]
【発明の効果】以上説明したように本発明によれば、そ
れぞれ異なる色再現範囲を有する機器においても、原稿
に忠実なカラー画像が再現ができる効果がある。As explained above, according to the present invention, color images faithful to the original can be reproduced even in devices having different color reproduction ranges.
【図1】本実施例のカラー画像処理装置の概略構成を示
すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a color image processing apparatus according to an embodiment.
【図2】本実施例における色空間の分割例を示す図であ
る。FIG. 2 is a diagram showing an example of color space division in this embodiment.
【図3】図2のように分割した色空間の明度6の部分の
ブロックコードを説明するための図である。FIG. 3 is a diagram for explaining a block code of a lightness 6 portion of the color space divided as shown in FIG. 2;
【図4】本実施例におけるコード化を説明するための図
である。FIG. 4 is a diagram for explaining encoding in this embodiment.
【図5】実施例における色判別部でのグループ分けを説
明するための図である。FIG. 5 is a diagram for explaining grouping in the color discrimination section in the embodiment.
1 色変換部 2 角度計算部 3 距離計算部 4 コード化部 5 色再現範囲部コード記憶部 6 変換モード設定部 7 比較器 8,12 セレクタ 9 減算器 10 比較器 11 最適ブロックコード記憶部 13 逆コード化部 14 逆色変換部 15 色判別部 1 Color conversion section 2 Angle calculation section 3 Distance calculation section 4 Coding section 5 Color reproduction range code storage unit 6 Conversion mode setting section 7 Comparator 8,12 Selector 9 Subtractor 10 Comparator 11 Optimal block code storage unit 13 Reverse encoding section 14 Reverse color conversion section 15 Color discrimination section
Claims (4)
の色空間範囲を変換するカラー画像処理装置であって、
色再現範囲をコード情報で記憶する記憶手段と、入力し
たカラー画像情報を明度、彩度及び色相に応じてコード
化するコード化手段と、前記コード化手段によりコード
化されたカラー画像情報と前記記憶手段に記憶されたコ
ード情報とを比較して、前記カラー画像情報の色が再現
範囲内にあるどうかを判別する判別手段と、前記判別手
段により再現範囲内にあると判定されると前記カラー画
像情報をそのまま出力する出力手段と、再現範囲外にあ
る時は前記カラー画像情報の色を色再現範囲の外縁部に
変換する変換手段と、を有することを特徴とするカラー
画像処理装置。1. A color image processing device that converts the color space range of color image information transmitted between different models, comprising:
storage means for storing the color reproduction range as code information; encoding means for encoding input color image information according to brightness, saturation, and hue; and color image information encoded by the encoding means and the determining means for determining whether the color of the color image information is within the reproduction range by comparing the code information stored in the storage means; A color image processing device comprising an output means for outputting image information as it is, and a conversion means for converting the color of the color image information to an outer edge of the color reproduction range when the color is outside the reproduction range.
変換モード設定手段とを備え、前記色判別手段は人間の
目の特性により色情報を分類し、前記変換モード設定手
段は前記色判別手段により判別された判別結果に従って
前記色情報の変換方向を決定するようにしたことを特徴
とする請求項1に記載のカラー画像処理装置。2. The converting means further comprises color determining means;
conversion mode setting means, the color discrimination means classifies color information according to the characteristics of human eyes, and the conversion mode setting means determines the conversion direction of the color information according to the discrimination result determined by the color discrimination means. 2. The color image processing apparatus according to claim 1, wherein the color image processing apparatus is configured to:
の色空間範囲を変換するカラー画像処理方法であって、
入力したカラー画像情報を明度、彩度及び色相に応じて
コード化する工程と、そのコード化したカラー画像情報
が色再現範囲内にあるどうかを判別し、その再現範囲内
にあると判定されるとカラー画像情報をそのまま出力す
るとともに、その再現範囲内にない時は、そのカラー画
像情報の色を色再現範囲の外縁部に変換して出力する工
程と、を有することを特徴とするカラー画像処理方法。3. A color image processing method for converting the color space range of color image information transmitted between different models, the method comprising:
A process of encoding input color image information according to brightness, saturation, and hue, and determining whether the encoded color image information is within the color reproduction range, and determining that it is within the reproduction range. and outputting the color image information as it is, and when the color is not within the reproduction range, converting the color of the color image information to the outer edge of the color reproduction range and outputting it. Processing method.
は、カラー画像情報の色特性に応じて色を判別し、その
判別結果に従って前記明度、彩度及び色相の各情報の変
換方法を決定するようにしたことを特徴とする請求項3
に記載のカラー画像処理方法。4. When the color image information is not within the reproduction range, the color is determined according to the color characteristics of the color image information, and a method of converting each information of the brightness, saturation, and hue is determined according to the determination result. Claim 3 characterized in that:
Color image processing method described in .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3049321A JP2996522B2 (en) | 1991-03-14 | 1991-03-14 | Image processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3049321A JP2996522B2 (en) | 1991-03-14 | 1991-03-14 | Image processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04284579A true JPH04284579A (en) | 1992-10-09 |
JP2996522B2 JP2996522B2 (en) | 2000-01-11 |
Family
ID=12827710
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3049321A Expired - Fee Related JP2996522B2 (en) | 1991-03-14 | 1991-03-14 | Image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2996522B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11275377A (en) * | 1998-03-25 | 1999-10-08 | Fujitsu Ltd | Color data conversion method and apparatus |
US7064864B2 (en) | 2000-10-10 | 2006-06-20 | Mitsubishi Denki Kabushiki Kaisha | Method and apparatus for compressing reproducible color gamut |
US7385739B2 (en) | 2001-09-14 | 2008-06-10 | Canon Kabushiki Kaisha | Image processing method and apparatus for color conversion accommodating device non-linearity |
-
1991
- 1991-03-14 JP JP3049321A patent/JP2996522B2/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11275377A (en) * | 1998-03-25 | 1999-10-08 | Fujitsu Ltd | Color data conversion method and apparatus |
US7064864B2 (en) | 2000-10-10 | 2006-06-20 | Mitsubishi Denki Kabushiki Kaisha | Method and apparatus for compressing reproducible color gamut |
US7385739B2 (en) | 2001-09-14 | 2008-06-10 | Canon Kabushiki Kaisha | Image processing method and apparatus for color conversion accommodating device non-linearity |
Also Published As
Publication number | Publication date |
---|---|
JP2996522B2 (en) | 2000-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6108008A (en) | Color image mapping within output device reproduction range | |
US7414633B2 (en) | Color characteristics description apparatus, color management apparatus, image conversion apparatus and color correction method | |
US5546195A (en) | Apparatus for reproducing color images | |
EP0259981A2 (en) | Colour image processing method and apparatus | |
US6774909B1 (en) | Method and apparatus for transforming color image into monochromatic image | |
JPH08116456A (en) | Image processing unit | |
US5519515A (en) | Method of determining color signals for input signals at vertices in input color space | |
JPH07203234A (en) | Color picture converter | |
US20060061786A1 (en) | Apparatus and methods for detecting a color gamut boundary, and for mapping color gamuts using the same | |
US5297058A (en) | Method for creating multicolored halftone reproductions from continuous tone monochrome originals | |
JPH04284579A (en) | Method and device for processing color picture | |
CN100361497C (en) | Image processing device, image processing method, image processing program and recording medium | |
US6160635A (en) | Color conversion method using ordered color signal interpolation | |
EP0917353B1 (en) | Method of color matching between color image processing devices, by interpolation of relatively small number of color data sets | |
JP3845457B2 (en) | Color image signal conversion method and conversion apparatus | |
JPH07288703A (en) | Color picture output device | |
JPH0659657A (en) | Image processing device | |
JPS62150252A (en) | Device for deciding dot area ratio | |
JPH11220630A (en) | Method for generating three-dimensional look up table, image processor executing the same and digital color printer provided with the same | |
JPS6346071A (en) | Color image processing method | |
JPH10250153A (en) | Color image output apparatus | |
JPH04186969A (en) | Color image processor | |
JPH0451670A (en) | Color masking coefficient calculating device | |
JP3293282B2 (en) | Color mixing device | |
JPH0890838A (en) | Method and apparatus for processing image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19990611 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19990928 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071029 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081029 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091029 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091029 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101029 Year of fee payment: 11 |
|
LAPS | Cancellation because of no payment of annual fees |