JP3074232B2 - Color image processing equipment - Google Patents

Color image processing equipment

Info

Publication number
JP3074232B2
JP3074232B2 JP05185765A JP18576593A JP3074232B2 JP 3074232 B2 JP3074232 B2 JP 3074232B2 JP 05185765 A JP05185765 A JP 05185765A JP 18576593 A JP18576593 A JP 18576593A JP 3074232 B2 JP3074232 B2 JP 3074232B2
Authority
JP
Japan
Prior art keywords
color
vector
pixel
color change
data
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
JP05185765A
Other languages
Japanese (ja)
Other versions
JPH0744681A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP05185765A priority Critical patent/JP3074232B2/en
Publication of JPH0744681A publication Critical patent/JPH0744681A/en
Application granted granted Critical
Publication of JP3074232B2 publication Critical patent/JP3074232B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、カラー画像中の物体画
像の色を変更するよう処理するカラー画像処理装置に関
し、特に、物体画像の色が照明光や2次反射光と同一色
であっても色変更処理を可能にするカラー画像処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image processing apparatus for processing the color of an object image in a color image so as to change the color of the image. The present invention also relates to a color image processing apparatus that enables color change processing.

【0002】計算機を用いる商品の電子カタログ作成シ
ステムや、計算機を用いるポスタ等の電子デザインシス
テムでは、基になるカラー画像を読取装置で読み取って
カラーモニタ上に表示する構成を採って、これらのカラ
ー画像中の物体画像の色を変更していくことで、カタロ
グやデザインを完成させていくという処理を実行してい
くことになる。また、コンピュータグラフィックスを作
成していくときにも、同様に、カラー画像中の物体画像
の色を変更していくという色変更処理を実行していくこ
とになる。
2. Description of the Related Art An electronic catalog creation system using a computer or an electronic design system such as a poster using a computer adopts a configuration in which a base color image is read by a reading device and displayed on a color monitor. By changing the color of the object image in the image, a process of completing a catalog or design is executed. Similarly, when computer graphics are created, a color change process of changing the color of an object image in a color image is executed.

【0003】このような計算機上でのカラー画像の色変
更処理は、色変更対象となる画像全体の雰囲気を保存し
たまま色変更できるようにしていく必要がある。
In such a color changing process of a color image on a computer, it is necessary to make it possible to change the color while preserving the atmosphere of the entire image to be changed.

【0004】[0004]

【従来の技術】従来、カラー画像中の物体の色を画像の
自然さを保存したまま変更する方法としては、物体の色
データの色相値だけを変更する方法や、簡単な物体反射
モデルを利用するものがあった。また、光沢感や材質感
の変更では、予め光沢や材質の異なる他の物体を別途入
力する構成を採って、それらを貼り合わせることで実現
するというものがあった。
2. Description of the Related Art Conventionally, as a method of changing the color of an object in a color image while preserving the naturalness of the image, a method of changing only the hue value of the color data of the object or a simple object reflection model is used. There was something to do. In addition, there has been a method for changing the glossiness or the material feeling by adopting a configuration in which another object having a different glossiness or material is separately input in advance, and pasting them.

【0005】しかしながら、色相値のみによる色の変更
では、物体表面の影や光沢等の自然さをある程度保存し
つつ色を変更することができるものの、微妙な色調整を
行うために彩度や明度を変更すると、影が白っぽくなっ
たり光沢が消えたりするといったように、影や光沢等の
見え方が不自然になるという問題点があった。
However, in the color change based on only the hue value, the color can be changed while preserving the naturalness of the object surface such as shadow and gloss to some extent. There is a problem in that the appearance of shadows, glossiness, and the like becomes unnatural, for example, when the color is changed, the shadow becomes whitish or the gloss disappears.

【0006】また、簡単な物体反射モデルを利用する色
の変更では、微妙な色の変更でも自然さをある程度保存
しつつ変更することができるものの、色だけしか変更で
きず、光沢や色の見え方の変更(例えば、色の見え方に
指向性を持たせて、キラキラ光るように見せる効果等)
はできなかった。
[0006] In a color change using a simple object reflection model, even a subtle color change can be made while preserving the naturalness to some extent, but only the color can be changed, and gloss and color appearance cannot be changed. Change (for example, the effect of giving directivity to the appearance of colors to make them look shining)
Could not.

【0007】また、光沢感や材質感を変更するために、
他の物体を予め別途入力する方法では、入力する手間が
面倒であり、更に入力した物体の特性にしか変更するこ
とができず自由な変更ができないという問題点があっ
た。
Also, in order to change the glossiness and the material feeling,
In the method of separately inputting another object in advance, there is a problem that the trouble of inputting is troublesome, and furthermore, it is possible to change only the characteristics of the input object and cannot freely change it.

【0008】このようなことを背景にして、本出願人
は、先に出願の特願平3-195326 号(発明の名称:カラ
ー画像制御方法)で、厳密な物体反射モデルを用いるこ
とでカラー画像中の物体の色を画像の自然さを保存した
まま変更できるようにするとともに、光沢や色の見え方
についても変更できるようにするという発明を開示した
のである。
[0008] Against this background, the applicant of the present invention has disclosed in Japanese Patent Application No. 3-195326 (Title of Invention: Color Image Control Method) that a color image The invention discloses that the color of an object in an image can be changed while preserving the naturalness of the image, and that the gloss and appearance of the color can also be changed.

【0009】すなわち、この発明では、RGB表色系を
想定して説明するならば、
That is, in the present invention, if the description is made assuming the RGB color system,

【0010】[0010]

【数1】 (Equation 1)

【0011】で示すように、物体色ベクトル(Rd,Gd,
Bd ) と係数値K1との乗算値により規定されるベクト
ルと、照明光ベクトル(Rs,Gs,Bs ) と係数値K2と
の乗算値により規定されるベクトルと、2次反射光ベク
トル(Ra,Ga,Ba ) と係数値K3との乗算値により規
定されるベクトルとの加算ベクトルに従って、物体の各
点(各画素)の色データ(Ro,Go,Bo ) が表現される
ことになるという物体反射モデルを導出した。
As shown by the above, the object color vector (Rd, Gd,
Bd) and a coefficient defined by a coefficient K1, a vector defined by a product of an illumination light vector (Rs, Gs, Bs) and a coefficient K2, and a secondary reflected light vector (Ra, An object in which color data (Ro, Go, Bo) of each point (each pixel) of the object is represented according to an addition vector of a vector defined by a multiplication value of the coefficient value K3 and Ga, Ba). A reflection model was derived.

【0012】そして、カラー画像中の物体の色を変更す
る場合には、先ず最初に、この物体反射モデルに従っ
て、その物体の物体色ベクトル(Rd,Gd,Bd ) を特定
するとともに、その物体を照明している照明光ベクトル
(Rs,Gs,Bs ) 及び2次反射光ベクトル(Ra,Ga,B
a ) を適切なものに想定する。次に、この状態により、
色変更前の物体の各画素の色データ(Ro,Go,Bo ) が
分かっており、〔数1〕式で規定される三元連立方程式
を解くことができることになるので、物体の各画素の持
つ係数値K1,K2,K3を算出する。
When the color of an object in a color image is changed, first, the object color vector (Rd, Gd, Bd) of the object is specified according to the object reflection model, and the object is identified. The illuminating light vector (Rs, Gs, Bs) and the secondary reflected light vector (Ra, Ga, B)
a) is assumed to be appropriate. Next, by this state,
The color data (Ro, Go, Bo) of each pixel of the object before the color change is known, and the ternary simultaneous equation defined by the equation (1) can be solved. Calculate the coefficient values K1, K2, K3 to have.

【0013】例えば、ディスプレイ画面上に表示される
青色の自動車の色を変更する場合には、オペレータと対
話することで、その自動車の色の中から最も適切な青を
選択させることで物体色ベクトル(Rd,Gd,Bd ) を特
定するとともに、オペレータと対話することで、例えば
白色の照明光ベクトル(Rs,Gs,Bs ) と適切な2次反
射光ベクトル(Ra,Ga,Ba ) とを想定する。そして、
〔数1〕式で規定される三元連立方程式を解くことで、
物体の各画素の持つ係数値K1,K2,K3を算出する
のである。
For example, when changing the color of a blue car displayed on the display screen, the most appropriate blue is selected from the colors of the car by interacting with the operator, and the object color vector is changed. By specifying (Rd, Gd, Bd) and interacting with the operator, for example, a white illumination light vector (Rs, Gs, Bs) and an appropriate secondary reflected light vector (Ra, Ga, Ba) are assumed. I do. And
By solving the ternary simultaneous equation defined by [Equation 1],
The coefficient values K1, K2, and K3 of each pixel of the object are calculated.

【0014】続いて、色変更したい物体色ベクトル(R
d', Gd', Bd') が決まると、この算出された係数値K
1,K2,K3を用いて、
Subsequently, the object color vector (R
d ', Gd', Bd '), the calculated coefficient value K
Using 1, K2 and K3,

【0015】[0015]

【数2】 (Equation 2)

【0016】に従って、物体の各画素の色データ(R
o', Go', Bo')を算出していくことで、色変更後の物
体の各画素の色データを決定していく。なお、このと
き、照明光ベクトル(Rs,Gs,Bs ) や2次反射光ベク
トル(Ra,Ga,Ba ) についても変更してもよい。これ
から、〔数2〕式は、一般的には、
In accordance with the above, the color data (R
o ', Go', Bo ') to determine the color data of each pixel of the object after the color change. At this time, the illumination light vector (Rs, Gs, Bs) and the secondary reflected light vector (Ra, Ga, Ba) may be changed. From this, Equation 2 is generally expressed as

【0017】[0017]

【数3】 (Equation 3)

【0018】のように表せるものであって、この〔数
3〕式中の物体ベクトル、照明光ベクトル及び2次反射
光ベクトルの内の少なくとも1つのベクトルが〔数1〕
式のものから変更されることで、物体の色変更処理が実
行されることになる。
## EQU1 ## where at least one of the object vector, the illumination light vector and the secondary reflected light vector in the expression (3) is represented by the expression (1).
By changing from the expression, the color change processing of the object is executed.

【0019】例えば、〔数2〕式に従って上述の自動車
を赤色に変更する場合には、オペレータと対話すること
で、赤色の物体色ベクトル(Rd', Gd', Bd') を決定
して、算出された係数値K1,K2,K3を用いて、
〔数2〕式に従って物体の各画素の色データ(Ro', G
o', Bo')を決定していくのである。
For example, when the above-mentioned vehicle is changed to red in accordance with the equation (2), a red object color vector (Rd ', Gd', Bd ') is determined by interacting with the operator. Using the calculated coefficient values K1, K2, K3,
The color data of each pixel of the object (Ro ', G
o ', Bo').

【0020】このようにして、先に出願した発明に従っ
て、カラー画像中の物体の色を画像の自然さを保存した
まま変更することを実現できる。
In this way, according to the invention previously filed, it is possible to change the color of an object in a color image while preserving the naturalness of the image.

【0021】[0021]

【発明が解決しようとする課題】確かに、この先の出願
の発明によれば、カラー画像中の物体の色を画像の自然
さを保存したまま変更できるようになる。
Certainly, according to the invention of the earlier application, the color of an object in a color image can be changed while maintaining the naturalness of the image.

【0022】しかしながら、上述の〔数1〕式に従って
係数値Kiが算出可能になるためには、物体色ベクトル
(Rd,Gd,Bd ) と、照明光ベクトル(Rs,Gs,Bs )
と、2次反射光ベクトル(Ra,Ga,Ba )とが別々の色
であるという条件が課される。さもないと、〔数3〕式
の三元連立方程式が解けないからである。
However, in order to be able to calculate the coefficient value Ki in accordance with the above equation (1), the object color vector (Rd, Gd, Bd) and the illumination light vector (Rs, Gs, Bs)
And a condition that the secondary reflected light vectors (Ra, Ga, Ba) have different colors. Otherwise, the ternary simultaneous equation of [Equation 3] cannot be solved.

【0023】しかるに、通常、照明光は白色であり、こ
れから、物体色が無彩色である場合には〔数1〕式に従
って係数値Kiが算出できないことから、先の出願の発
明に従っていると色変更処理を実行できないという問題
点があった。
However, the illumination light is usually white, and if the object color is an achromatic color, the coefficient value Ki cannot be calculated according to the equation (1). There was a problem that the change process could not be executed.

【0024】本発明はかかる事情に鑑みてなされたもの
であって、先に出願の特願平3-195326 号の発明に従っ
てカラー画像中の物体画像の色を変更する構成を採ると
きにあって、物体画像の色が照明光や2次反射光と同一
色であっても色変更処理を可能にする新たなカラー画像
処理装置の提供を目的とする。
The present invention has been made in view of such circumstances, and has been made in the case where a configuration for changing the color of an object image in a color image according to the invention of Japanese Patent Application No. 3-195326 is first adopted. It is another object of the present invention to provide a new color image processing apparatus capable of performing a color change process even if the color of an object image is the same as the illumination light or the secondary reflected light.

【0025】[0025]

【課題を解決するための手段】図1に本発明の原理構成
を図示する。図中、1は本発明を具備するカラー画像処
理装置、2はカラー画像処理装置1の備えるマンマシン
・インタフェース装置、3はマンマシン・インタフェー
ス装置2の備える入力装置である。
FIG. 1 shows the principle configuration of the present invention. In the figure, reference numeral 1 denotes a color image processing apparatus provided with the present invention, 2 denotes a man-machine interface device provided in the color image processing apparatus 1, and 3 denotes an input device provided in the man-machine interface device 2.

【0026】カラー画像処理装置1は、入出力制御手段
10と、色画像データ管理手段11と、色画像データ表
示制御手段12と、物体抽出手段13と、反射モデル設
定手段14と、係数値算出手段15と、同一色判断手段
16と、係数値管理手段17と、色変更条件設定手段1
8と、第1の変更色データ算出手段19、第2の変更色
データ算出手段20とを備える。
The color image processing apparatus 1 comprises an input / output control means 10, a color image data management means 11, a color image data display control means 12, an object extraction means 13, a reflection model setting means 14, a coefficient value calculation Means 15, the same color determination means 16, the coefficient value management means 17, and the color change condition setting means 1
8, a first changed color data calculation unit 19, and a second changed color data calculation unit 20.

【0027】この入出力制御手段10は、マンマシン・
インタフェース装置2との間のインタフェース処理を実
行する。色画像データ管理手段11は、マンマシン・イ
ンタフェース装置2のディスプレイ画面に表示するカラ
ー画像の各画素の持つ色データを管理する。色画像デー
タ表示制御手段12は、色画像データ管理手段11の管
理データに従ってマンマシン・インタフェース装置2の
ディスプレイ画面にカラー画像を表示する。
The input / output control means 10 comprises a man-machine
An interface process with the interface device 2 is executed. The color image data management means 11 manages the color data of each pixel of the color image displayed on the display screen of the man-machine interface device 2. The color image data display control means 12 displays a color image on the display screen of the man-machine interface device 2 according to the management data of the color image data management means 11.

【0028】物体抽出手段13は、マンマシン・インタ
フェース装置2のディスプレイ画面に表示されるカラー
画像の中から色変更対象物体を抽出する。反射モデル設
定手段14は、入力装置3と対話することで、〔数1〕
式で表される物体反射モデルの持つ物体色ベクトル、照
明光ベクトル及び2次反射光ベクトルのベクトル値を設
定する。
The object extracting means 13 extracts a color change target object from a color image displayed on the display screen of the man-machine interface device 2. The reflection model setting means 14 interacts with the input device 3 to obtain [Equation 1].
The vector values of the object color vector, the illumination light vector, and the secondary reflected light vector of the object reflection model represented by the expression are set.

【0029】係数値算出手段15は、反射モデル設定手
段14により設定されたベクトル値に従い、〔数1〕式
で規定される三元連立方程式を解くことで、色変更対象
物体の各画素の持つ係数値Kiを算出する。同一色判断
手段16は、例えば係数値算出手段15に展開されて、
反射モデル設定手段14により設定される物体色ベクト
ルが同じく設定される照明光ベクトル又は2次反射光ベ
クトルと概略同一色であるのか否かを判断する。係数値
管理手段17は、係数値算出手段15により算出された
色変更対象物体の各画素の持つ係数値Kiを管理する。
The coefficient value calculation means 15 solves the ternary simultaneous equation defined by the equation (1) according to the vector value set by the reflection model setting means 14, thereby obtaining the value of each pixel of the color change object. The coefficient value Ki is calculated. The same color determination means 16 is expanded to, for example, the coefficient value calculation means 15 and
It is determined whether or not the object color vector set by the reflection model setting unit 14 is substantially the same color as the illumination light vector or the secondary reflected light vector set similarly. The coefficient value management unit 17 manages the coefficient value Ki of each pixel of the color change target object calculated by the coefficient value calculation unit 15.

【0030】色変更条件設定手段18は、入力装置3と
対話することで、色変更条件となる物体反射モデルの持
つ物体色ベクトル、照明光ベクトル及び2次反射光ベク
トルのベクトル値を設定する。第1の変更色データ算出
手段19は、係数値管理手段17の管理する各画素の持
つ係数値Kiと色変更条件設定手段18により設定され
たベクトル値とを使い、〔数3〕式に従って色変更対象
物体の各画素の持つ色変更後の色データを算出して色画
像データ管理手段11に格納する。
The color change condition setting means 18 sets the vector values of the object color vector, the illumination light vector, and the secondary reflected light vector of the object reflection model, which are the color change conditions, by interacting with the input device 3. The first changed color data calculating unit 19 uses the coefficient value Ki of each pixel managed by the coefficient value managing unit 17 and the vector value set by the color changing condition setting unit 18 to calculate the color in accordance with [Equation 3]. The color data after color change of each pixel of the change target object is calculated and stored in the color image data management unit 11.

【0031】第2の変更色データ算出手段20は、色変
更条件設定手段18により設定されたベクトル値と、色
変更対象物体の各画素の持つ色変更前の色データと、そ
の色データに関連付けて特定される特性色データとから
色変更対象物体の各画素の持つ色変更後の色データを算
出して色画像データ管理手段11に格納する。
The second changed color data calculating means 20 associates the vector value set by the color changing condition setting means 18 with the color data before color change of each pixel of the color change target object and the color data. The color data after the color change of each pixel of the color change target object is calculated from the characteristic color data specified as described above and stored in the color image data management means 11.

【0032】[0032]

【作用】本発明では、物体抽出手段13は、例えばオペ
レータと対話することで色変更対象物体を抽出し、反射
モデル設定手段14は、入力装置3と対話することで、
例えば色変更対象物体中の1点を指定させること等によ
り〔数1〕式中の物体色ベクトル(Rd,Gd,Bd ) を設
定するとともに、その色変更対象物体を照明している照
明光ベクトル(Rs,Gs,Bs ) 及び2次反射光ベクトル
(Ra,Ga,Ba )を設定する。
In the present invention, the object extracting means 13 extracts a color change target object by, for example, interacting with an operator, and the reflection model setting means 14 by interacting with the input device 3, for example.
For example, an object color vector (Rd, Gd, Bd) in equation (1) is set by designating one point in the color change object, and an illumination light vector illuminating the color change object. (Rs, Gs, Bs) and the secondary reflected light vector (Ra, Ga, Ba) are set.

【0033】このようにして、反射モデル設定手段14
によりベクトル値が設定されると、係数値算出手段15
は、色画像データ管理手段11から物体抽出手段13の
抽出した色変更対象物体の各画素の持つ色データを読み
出して、この読み出した色データと反射モデル設定手段
14により設定されたベクトル値とに従い、〔数1〕式
で規定される三元連立方程式を解くことで、色変更対象
物体の各画素の持つ係数値Kiを算出して係数値管理手
段17に格納していく。
Thus, the reflection model setting means 14
When the vector value is set by the
Reads out the color data of each pixel of the color change target object extracted by the object extraction means 13 from the color image data management means 11, and according to the read color data and the vector value set by the reflection model setting means 14. The coefficient value Ki of each pixel of the color change target object is calculated by solving the ternary simultaneous equation defined by the formula (1) and stored in the coefficient value management means 17.

【0034】このとき、同一色判断手段16は、反射モ
デル設定手段14により設定される物体色ベクトルが同
じく設定される照明光ベクトル又は2次反射光ベクトル
と概略同一色であるのか否かを判断し、この判断結果を
受けて、係数値算出手段15は、同一色判断手段16が
同一色であると判断するときには、三元連立方程式を解
くことが不可能であるので係数値Kiの算出を実行しな
いよう処理する。
At this time, the same color determining means 16 determines whether or not the object color vector set by the reflection model setting means 14 is substantially the same color as the illumination light vector or the secondary reflected light vector set similarly. In response to the result of this determination, the coefficient value calculation means 15 determines the coefficient value Ki when the same color determination means 16 determines that the colors are the same, since it is impossible to solve the ternary simultaneous equation. Process not to execute.

【0035】一方、色変更条件設定手段18は、入力装
置3と対話することで、色変更条件となる物体反射モデ
ルの持つ物体色ベクトル、照明光ベクトル及び2次反射
光ベクトルのベクトル値を設定する。すなわち、〔数
3〕式中の物体色ベクトル、照明光ベクトル及び2次反
射光ベクトルのベクトル値を設定するのである。
On the other hand, the color change condition setting means 18 sets the vector values of the object color vector, the illumination light vector and the secondary reflected light vector of the object reflection model which are the color change conditions by interacting with the input device 3. I do. That is, the vector values of the object color vector, the illumination light vector, and the secondary reflected light vector in Expression 3 are set.

【0036】このようにして、係数値管理手段17に色
変更対象物体の全画素の係数値Kiが格納され、色変更
条件設定手段18によりベクトル値が設定されると、第
1の変更色データ算出手段19は、係数値管理手段17
から各画素の係数値Kiを読み出し、この読み出した係
数値Kiと色変更条件設定手段18により設定されたベ
クトル値とを、〔数3〕式で規定される三元連立方程式
に代入していくことで、色変更対象物体の各画素の新た
な色データを算出して色画像データ管理手段11に格納
していく。
In this way, the coefficient values Ki of all the pixels of the object to be color-changed are stored in the coefficient value management means 17 and the vector values are set by the color-change condition setting means 18. The calculating means 19 includes the coefficient value managing means 17
, The coefficient value Ki of each pixel is read out, and the read-out coefficient value Ki and the vector value set by the color change condition setting means 18 are substituted into a ternary simultaneous equation defined by the equation (3). Thus, new color data of each pixel of the color change target object is calculated and stored in the color image data management unit 11.

【0037】このとき、係数値管理手段17に係数値K
iが格納されていないとき、すなわち、同一色判断手段
16が同一色であると判断するときには、第1の変更色
データ算出手段19が色変更対象物体の新たな色データ
を算出することが不可能になるので、第2の変更色デー
タ算出手段20は、色変更条件設定手段18により設定
された物体色ベクトルと、色画像データ管理手段11に
格納される色変更対象物体の各画素の持つ色変更前の色
データと、その色データに関連付けて特定される特性色
データとから、色変更対象物体の各画素の新たな色デー
タを算出して色画像データ管理手段11に格納してい
く。
At this time, the coefficient value K is stored in the coefficient value management means 17.
When i is not stored, that is, when the same color determination unit 16 determines that the colors are the same, it is impossible for the first changed color data calculation unit 19 to calculate new color data of the color change target object. Since it becomes possible, the second change color data calculation unit 20 has the object color vector set by the color change condition setting unit 18 and each pixel of the color change target object stored in the color image data management unit 11. From the color data before the color change and the characteristic color data specified in association with the color data, new color data for each pixel of the color change target object is calculated and stored in the color image data management unit 11. .

【0038】そして、この格納処理を受けて、色画像デ
ータ表示制御手段12は、マンマシン・インタフェース
装置2のディスプレイ画面の色変更対象物体の各画素の
色をその変更された色データに従って表示していく。
In response to the storing process, the color image data display control means 12 displays the color of each pixel of the color change object on the display screen of the man-machine interface device 2 according to the changed color data. To go.

【0039】このように、本発明によれば、先に出願の
特願平3-195326 号の発明に従って、カラー画像中の物
体の色を画像の自然さを保存したまま変更できるように
する構成を採るときにあって、色変更処理の対象となる
物体画像の色が照明光や2次反射光と同一色であっても
その色変更処理が可能になるものである。
As described above, according to the present invention, according to the invention of Japanese Patent Application No. 3-195326 previously filed, the configuration is such that the color of an object in a color image can be changed while preserving the naturalness of the image. Is adopted, even if the color of the object image to be subjected to the color change processing is the same color as the illumination light or the secondary reflected light, the color change processing can be performed.

【0040】[0040]

【実施例】以下、実施例に従って本発明を詳細に説明す
る。図2に、本発明を実装するカラー画像処理システム
のシステム構成を図示する。図中、30は本発明を実現
するカラー画像処理装置、40はカラー画像処理装置3
0に接続される画像入力装置、50はカラー画像処理装
置30に接続されるカラーモニタである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to embodiments. FIG. 2 shows a system configuration of a color image processing system implementing the present invention. In the figure, reference numeral 30 denotes a color image processing device for realizing the present invention, and reference numeral 40 denotes a color image processing device 3.
An image input device 50 is connected to the color image processing device 30, and a color monitor 50 is connected to the color image processing device 30.

【0041】このカラー画像処理装置30は、画像入力
装置40の持つイメージスキャナ等により読み取られる
カラー画像データ情報等を保持する画像保持用メモリ3
1と、この画像保持用メモリ31に格納される各画素に
割り付けられるべき上述の係数値Kiが算出可能である
か否かを判断して、算出可能であるときには算出して画
像保持用メモリ31に展開するパラメータ演算プログラ
ム32と、このパラメータ演算プログラム32により算
出された係数値Kiを用いて新たなカラー画像データ情
報を求めて画像保持用メモリ31に展開するとともに、
パラメータ演算プログラム32により係数値Kiが算出
不可能であると判断されるときには、係数値Kiを用い
ずに規定のアルゴリズムに従って新たなカラー画像デー
タ情報を求めて画像保持用メモリ31に展開する画像デ
ータ演算プログラム33と、カラーモニタ50に表示す
べきカラー画像データ情報を画像保持用メモリ31から
読み出して展開する表示用メモリ34とから構成され
る。
The color image processing device 30 includes an image holding memory 3 for holding color image data information read by an image scanner or the like of the image input device 40.
1 and whether or not the above-mentioned coefficient value Ki to be allocated to each pixel stored in the image holding memory 31 can be calculated, and if it can be calculated, it is calculated and calculated. A new color image data information is obtained by using the parameter calculation program 32 to be developed into the image data and the coefficient value Ki calculated by the parameter calculation program 32, and is developed into the image holding memory 31.
When it is determined by the parameter calculation program 32 that the coefficient value Ki cannot be calculated, new color image data information is obtained according to a prescribed algorithm without using the coefficient value Ki, and is expanded in the image holding memory 31. It comprises an arithmetic program 33 and a display memory 34 for reading out and developing color image data information to be displayed on the color monitor 50 from the image holding memory 31.

【0042】図3に、パラメータ演算プログラム32の
実行する処理フローの一実施例、図4に、画像データ演
算プログラム33の実行する処理フローの一実施例を図
示する。次に、これらの処理フローに従って、本発明の
カラー画像色変更処理について詳細に説明する。
FIG. 3 shows an embodiment of a processing flow executed by the parameter calculation program 32, and FIG. 4 shows an embodiment of a processing flow executed by the image data calculation program 33. Next, the color image color change processing of the present invention will be described in detail according to these processing flows.

【0043】カラーモニタ50に表示されるカラー画像
の色を変更していく場合、パラメータ演算プログラム3
2は、図3の処理フローに示すように、先ず最初に、ス
テップ1で、カラー画像の中から色変更対象物体を抽出
する。この抽出処理は、例えば、画像入力装置40の備
えるマウス等により切り出される物体を色変更対象物体
として抽出したり、画像入力装置40の備えるマウス等
によりポイントされた色と同一系統の色を持つ物体を色
変更対象物体として抽出したり、微分処理等により物体
のエッジを検出してその内部を色変更対象物体として抽
出することで実行する。
When changing the color of the color image displayed on the color monitor 50, the parameter calculation program 3
2. As shown in the processing flow of FIG. 3, first, in step 1, an object to be color-changed is extracted from a color image. This extraction process extracts, for example, an object cut out by a mouse or the like included in the image input device 40 as an object to be changed in color, or an object having the same system color as the color pointed by the mouse or the like included in the image input device 40. Is extracted as an object to be changed in color, or an edge of the object is detected by differential processing or the like, and the inside of the object is extracted as an object to be changed in color.

【0044】次に、ステップ2で、画像入力装置40と
対話して、例えばカラーモニタ50に表示されている色
変更対象物体中の最も物体色を表している1点をオペレ
ータに指定させることで、現在表示されている色変更対
象物体の物体色ベクトル(Rd,Gd,Bd ) を設定すると
ともに、画像入力装置40と対話することで、現在表示
されているカラー画像についての照明光ベクトル(Rs,
Gs,Bs ) 及び2次反射光ベクトル(Ra,Ga,Ba ) を
設定する。この設定処理に従って、現在表示されている
色変更対象物体の各画素の色データ(Ro,Go,Bo ) が
分かっているので、〔数1〕式で規定される三元連立方
程式を解くことで、それらの画素の持つ係数値Kiを算
出することができる状態となる。
Next, in step 2, by interacting with the image input device 40, the operator is allowed to designate one point representing the most object color among the color change target objects displayed on the color monitor 50, for example. By setting the object color vector (Rd, Gd, Bd) of the currently displayed color change target object and interacting with the image input device 40, the illumination light vector (Rs ,
Gs, Bs) and the secondary reflected light vector (Ra, Ga, Ba) are set. According to this setting process, the color data (Ro, Go, Bo) of each pixel of the currently displayed color change target object is known, so the ternary simultaneous equation defined by the equation (1) is solved. , A state in which the coefficient value Ki of those pixels can be calculated.

【0045】通常、照明光は白色であるので、ここで
は、照明光ベクトル(Rs,Gs,Bs )を白色と想定す
る。すなわち、「Rs =Gs =Bs 」であることを想定
する。続いて、ステップ3で、ステップ2で設定した色
変更対象物体の物体色ベクトル(Rd,Gd,Bd ) が、無
彩色か有彩色のいずれであるのかを判断する。この判断
処理は、例えば、
Normally, the illumination light is white, so here it is assumed that the illumination light vector (Rs, Gs, Bs) is white. That is, it is assumed that “Rs = Gs = Bs”. Subsequently, in step 3, it is determined whether the object color vector (Rd, Gd, Bd) of the color change target object set in step 2 is achromatic or chromatic. This determination process is, for example,

【0046】[0046]

【数4】 (Equation 4)

【0047】に従ってRGB表色系で表される物体色ベ
クトル(Rd,Gd,Bd ) の色度座標値(r,g)を算出
し、この色度座標値(r,g)と無彩色の色度座標(0.
3333,0.3333)との距離が規定の基準値よりも小さいか
否かを判断していくことで実行する。
The chromaticity coordinate values (r, g) of the object color vector (Rd, Gd, Bd) expressed in the RGB color system are calculated according to Chromaticity coordinates (0.
3333, 0.3333) is determined by determining whether or not the distance is smaller than a prescribed reference value.

【0048】この他に、物体色ベクトル(Rd,Gd,Bd
) を均等色空間の座標値に変換して、この座標値と均
等色空間中の無彩色の軸との距離を求めて、この距離が
規定の基準値よりも小さいか否かを判断していくことで
無彩色であるのか否かを判断していく方法を採ることも
可能である。均等色空間は、人間が感ずる色の違いと数
値である色差とが良く対応していると言われていること
から、この方法を採ると、無彩色であるか否かの判断に
用いる基準値を一定とする場合に、物体色が明るくても
暗くても判断が正確に行えるという利点がある。
In addition, the object color vector (Rd, Gd, Bd
) Is converted to coordinate values in the uniform color space, the distance between the coordinate values and the achromatic axis in the uniform color space is determined, and it is determined whether this distance is smaller than a specified reference value. It is also possible to adopt a method of determining whether or not an image is an achromatic color. It is said that the uniform color space corresponds well to the difference in color perceived by humans and the color difference, which is a numerical value. Is constant, there is an advantage that the determination can be made accurately whether the object color is bright or dark.

【0049】続いて、ステップ4で、ステップ3で無彩
色と判断されたか否かを判断して、無彩色であると判断
されたときには、〔数1〕式に従って係数値Kiを算出
することが不可能であるので、ステップ5に進んで、画
像データ演算プログラム33にその旨を通知して処理を
終了する。一方、無彩色でないと判断されたとき、すな
わち、有彩色であると判断されたときには、ステップ6
に進んで、色変更対象物体の各画素の色データ(Ro,G
o,Bo ) を画像保持用メモリ31から読み出すととも
に、その読み出した色データ(Ro,Go,Bo ) とステッ
プ2で設定したベクトル値とに従い、〔数1〕式で規定
される三元連立方程式を解くことで、色変更対象物体の
各画素の持つ係数値Kiを算出して処理を終了する。
Subsequently, in step 4, it is determined whether or not the color is determined to be achromatic in step 3, and when it is determined that the color is achromatic, the coefficient value Ki is calculated according to the equation (1). Since it is impossible, the process proceeds to step S5, and the image data calculation program 33 is notified to that effect, and the process ends. On the other hand, when it is determined that the color is not achromatic, that is, when it is determined that the color is chromatic, Step 6
To the color data (Ro, G) of each pixel of the color change target object.
o, Bo) is read from the image holding memory 31, and the ternary simultaneous equation defined by the equation (1) is obtained according to the read color data (Ro, Go, Bo) and the vector value set in step 2. Is solved, the coefficient value Ki of each pixel of the color change target object is calculated, and the process ends.

【0050】このようにして、パラメータ演算プログラ
ム32が色変更対象物体の各画素の持つ係数値Kiを算
出して画像保持用メモリ31に格納するか、係数値Ki
の算出が不可能であることを判断すると、画像データ演
算プログラム33は、図4の処理フローを実行すること
で、カラーモニタ50に表示される色変更対象物体の色
を変更していく処理を実行する。
In this way, the parameter calculation program 32 calculates the coefficient value Ki of each pixel of the color change target object and stores it in the image holding memory 31 or the coefficient value Ki.
When the image data calculation program 33 determines that it is not possible to calculate the color of the color change target object displayed on the color monitor 50 by executing the processing flow of FIG. Execute.

【0051】すなわち、画像データ演算プログラム33
は、図4の処理フローに示すように、先ず最初に、ステ
ップ1で、画像入力装置40と対話することで、色変更
条件となる物体色ベクトル(Rd', Gd', Bd') と、照
明光ベクトル(Rs', Gs',Bs') と、2次反射光ベク
トル(Ra', Ga', Ba') とを設定する。この設定処理
は、オペレータにRGB値を直接入力させていくことで
実現したり、カラーモニタ50上に色見本を表示する構
成を採ってオペレータに選択させていくことで実現す
る。
That is, the image data calculation program 33
As shown in the processing flow of FIG. 4, first, in step 1, by interacting with the image input device 40, an object color vector (Rd ′, Gd ′, Bd ′) as a color change condition is obtained. An illumination light vector (Rs ', Gs', Bs ') and a secondary reflected light vector (Ra', Ga ', Ba') are set. This setting process is realized by directly inputting the RGB values by the operator, or by selecting a configuration by displaying a color sample on the color monitor 50.

【0052】例えば、色変更対象物体そのものの色を変
えることで色変更対象物体の色を変えるときには、物体
色ベクトル(Rd', Gd', Bd') をパラメータ演算プロ
グラム32が係数値Kiの算出のときに設定したものと
は異なるものに設定し、また、照明光を変えることで色
変更対象物体の色を変えるときには、照明光ベクトル
(Rs', Gs', Bs') をパラメータ演算プログラム32
が係数値Kiの算出のときに設定したものとは異なるも
のに設定し、また、2次反射光を変えることで色変更対
象物体の色を変えるときには、2次反射光ベクトル(R
a', Ga', Ba')をパラメータ演算プログラム32が係
数値Kiの算出のときに設定したものとは異なるものに
設定し、これらの組み合わせでもって色変更対象物体の
色を変えるときには、対応のベクトル値をパラメータ演
算プログラム32が係数値Kiの算出のときに設定した
ものとは異なるものに設定していくのである。
For example, when the color of the color change target object is changed by changing the color of the color change target object itself, the parameter calculation program 32 calculates the coefficient value Ki using the object color vector (Rd ', Gd', Bd '). When the color of the object to be changed is changed by changing the illumination light, the illumination light vector (Rs', Gs', Bs') is set to the parameter calculation program 32.
Is set to a value different from the one set when the coefficient value Ki is calculated, and when the color of the color change object is changed by changing the secondary reflected light, the secondary reflected light vector (R
a ′, Ga ′, Ba ′) are set differently from those set by the parameter calculation program 32 at the time of calculating the coefficient value Ki, and when the color of the color change object is changed by a combination of these, Are set to values different from those set when the parameter calculation program 32 calculates the coefficient value Ki.

【0053】次に、ステップ2で、パラメータ演算プロ
グラム32から無彩色である旨の通知があるか否かを判
断して、無彩色の通知がないことを判断すると、ステッ
プ3に進んで、画像保持用メモリ31から各画素の持つ
係数値Kiを読み出し、この読み出した係数値Kiとス
テップ1で設定したベクトル値とを、〔数3〕式で規定
される三元連立方程式に代入していくことで、各画素の
新たな色データ(Ro', Go', Bo')を算出して画像保
持用メモリ31に格納していく。そして、この格納処理
を受けて、カラーモニタ50は、色変更された色変更対
象物体を表示していくことになる。
Next, in step 2, it is determined whether or not there is a notification of achromatic color from the parameter calculation program 32. If it is determined that there is no notification of achromatic color, the process proceeds to step 3, where the image The coefficient value Ki of each pixel is read from the holding memory 31, and the read coefficient value Ki and the vector value set in step 1 are substituted into a ternary simultaneous equation defined by Expression (3). Thus, new color data (Ro ', Go', Bo ') of each pixel is calculated and stored in the image holding memory 31. Then, in response to the storage processing, the color monitor 50 displays the color-changed object whose color has been changed.

【0054】一方、ステップ2で無彩色の通知があるこ
とを判断すると、ステップ4に進んで、色変更対象物体
の各画素の持つ色データの内の最大輝度値を示すものの
検索処理を実行する。この検索処理は、例えば、各画素
毎に色データのRGB値を加算して、その加算値の内の
最大値をとる色データを検索していくことで実行するこ
とになる。
On the other hand, if it is determined in step 2 that there is a notification of an achromatic color, the flow advances to step 4 to execute a search process for the color data having the maximum luminance value among the color data of each pixel of the object to be changed. . This search process is executed by, for example, adding the RGB values of the color data for each pixel and searching for the color data having the maximum value among the added values.

【0055】続いて、ステップ5で、ステップ4で検索
した最大輝度色データ(Rmax,Gmax,Bmax )と、ステ
ップ1で設定した物体色ベクトル(Rd', Gd', Bd')
と、画像保持用メモリ31から読み出す色変更対象物体
の各画素の持つ色変更前の色データ(Ro,Go,Bo ) と
を使って、
Subsequently, in step 5, the maximum luminance color data (Rmax, Gmax, Bmax) retrieved in step 4 and the object color vector (Rd ', Gd', Bd ') set in step 1 are obtained.
And the color data (Ro, Go, Bo) before the color change of each pixel of the color change object read from the image holding memory 31,

【0056】[0056]

【数5】 (Equation 5)

【0057】に従って、色変更対象物体の各画素の持つ
色変更後の色データ(Ro', Go', Bo')を算出して画
像保持用メモリ31に格納していく。そして、この格納
処理を受けて、カラーモニタ50は、色変更された色変
更対象物体を表示していくことになる。ここで、この
〔数4〕式では、色変更領域と背景画像の明るさのバラ
ンスを維持するために最大輝度色データ(Rmax,Gmax,
Bmax )を用いたが、取り得る値の80%というような
予め設定した固定の色データを用いることも可能であ
る。
The color data (Ro ', Go', Bo ') after color change of each pixel of the color change target object is calculated according to the above and stored in the image holding memory 31. Then, in response to the storage processing, the color monitor 50 displays the color-changed object whose color has been changed. Here, in this expression 4, in order to maintain the balance between the brightness of the color change area and the brightness of the background image, the maximum luminance color data (Rmax, Gmax,
Bmax), but it is also possible to use preset fixed color data such as 80% of a possible value.

【0058】このようにして、本発明を用いることで、
〔数1〕式の物体反射モデルを構成する物体色ベクトル
(Rd,Gd,Bd )と、照明光ベクトル(Rs,Gs,Bs )
と、2次反射光ベクトル(Ra,Ga,Ba )とが別々の色
でなくても、物体の色変更処理を実行できるようになる
のである。
Thus, by using the present invention,
The object color vector (Rd, Gd, Bd) and the illumination light vector (Rs, Gs, Bs) constituting the object reflection model of [Equation 1]
Even if the secondary reflected light vectors (Ra, Ga, Ba) do not have different colors, the color change processing of the object can be executed.

【0059】図示実施例について説明したが、本発明は
これに限定されるものではない。例えば、実施例では、
RGB表色系で表される物体反射モデルに従って本発明
を開示したが、本発明はこれに限られることなく他の表
色系で表される物体反射モデルであってもよい。
Although the illustrated embodiment has been described, the present invention is not limited to this. For example, in the embodiment,
Although the present invention has been disclosed in accordance with the object reflection model represented by the RGB color system, the present invention is not limited to this, and may be an object reflection model represented by another color system.

【0060】[0060]

【発明の効果】以上説明したように、本発明によれば、
本出願人が先に出願した特願平3-195326 号の発明に従
って、カラー画像中の物体の色を画像の自然さを保存し
たまま変更できるようにする構成を採るときにあって、
色変更処理の対象となる物体画像の色が照明光や2次反
射光と同一色であることで、この色変更処理のために必
要とされるパラメータの算出不可能となるときにあって
も、その色変更処理が可能になるものである。
As described above, according to the present invention,
According to the invention of Japanese Patent Application No. 3-195326 previously filed by the present applicant, when adopting a configuration in which the color of an object in a color image can be changed while preserving the naturalness of the image,
Even when the color of the object image to be subjected to the color change processing is the same color as the illumination light or the secondary reflected light, it is impossible to calculate the parameters required for the color change processing. , The color change processing becomes possible.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明を実装するカラー画像処理システムのシ
ステム構成図である。
FIG. 2 is a system configuration diagram of a color image processing system implementing the present invention.

【図3】パラメータ演算プログラムの処理フローの一実
施例である。
FIG. 3 is an example of a processing flow of a parameter calculation program.

【図4】画像データ演算プログラムの処理フローの一実
施例である。
FIG. 4 is an embodiment of a processing flow of an image data calculation program.

【符号の説明】[Explanation of symbols]

1 カラー画像処理装置 2 マンマシン・インタフェース装置 3 入力装置 10 入出力制御手段 11 色画像データ管理手段 12 色画像データ表示制御手段 13 物体抽出手段 14 反射モデル設定手段 15 係数値算出手段 16 同一色判断手段 17 係数値管理手段 18 色変更条件設定手段 19 第1の変更色データ算出手段 20 第2の変更色データ算出手段 DESCRIPTION OF SYMBOLS 1 Color image processing device 2 Man-machine interface device 3 Input device 10 Input / output control means 11 Color image data management means 12 Color image data display control means 13 Object extraction means 14 Reflection model setting means 15 Coefficient value calculation means 16 Same color judgment Means 17 Coefficient value management means 18 Color change condition setting means 19 First changed color data calculation means 20 Second changed color data calculation means

フロントページの続き (56)参考文献 特開 平5−40833(JP,A) 特開 平5−346964(JP,A) 特開 平5−342369(JP,A) 特開 平5−266157(JP,A) 特開 平5−233826(JP,A) 特開 平3−41570(JP,A) 特開 平4−105177(JP,A) 特開 平2−127779(JP,A) 瀧澤由里ほか”色彩変更シミュレーシ ョンシステム”,1991年電子情報通信学 会秋季大会講演論文集、電子情報通信学 会,1991年9月,pp.6−182 田島譲二ほか”カラーデザインのため の色変更アルゴリズム”,情報処理学会 研究報告,情報処理学会,1989年3月, Vol.89,No.29,59−6(89−C V−59−6) 宮岡伸一郎ほか”プレゼンテーション における画像処理”電子情報信学会誌, 電子情報通信学会,1991年4月,Vo l.74,No.4,pp.392−397 加藤誠ほか”画像処理を応用したセー ルスプレゼンテーションシステム”日本 機械学会第69期通常総会講演会講演論文 集,日本機械学会,1992年4月,Vo l.C,pp.282−284 鈴木祥治ほか”カラー画像中の物体の 色変え”,電子情報通信学会春季大会講 演論文集,電子情報通信学会,1993年3 月15日,p.7.162 (58)調査した分野(Int.Cl.7,DB名) G06T 1/00 JICSTファイル(JOIS)Continuation of front page (56) References JP-A-5-40833 (JP, A) JP-A-5-346964 (JP, A) JP-A-5-342369 (JP, A) JP-A-5-266157 (JP) JP-A-5-233826 (JP, A) JP-A-3-41570 (JP, A) JP-A-4-105177 (JP, A) JP-A-2-127779 (JP, A) Yuri Takizawa Others, “Color Change Simulation System”, Proceedings of the 1991 Autumn Meeting of the Institute of Electronics, Information and Communication Engineers, The Society of Electronics, Information and Communication Engineers, September 1991, pp. 6-182 Joji Tajima et al. “Color Change Algorithm for Color Design”, IPSJ Research Report, IPSJ, March 1989, Vol. 89, No. 29, 59-6 (89-CV-59-6) Shinichiro Miyaoka et al. "Image processing in presentation" Journal of IEICE, The Institute of Electronics, Information and Communication Engineers, April 1991, Vol. 74, no. 4, pp. 392-397 Makoto Kato et al. "Sales Presentation System Applying Image Processing" Proceedings of the 69th Regular Meeting of the Japan Society of Mechanical Engineers, The Japan Society of Mechanical Engineers, April 1992, Vol. C, pp. 282-284 Shoji Suzuki et al., "Color Change of Objects in Color Images", Proc. Of the IEICE Spring Conference, IEICE, March 15, 1993, p. 7.162 (58) Fields surveyed (Int. Cl. 7 , DB name) G06T 1/00 JICST file (JOIS)

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 表示装置に表示される色変更対象物体の
各画素の色データを、係数値K1の乗ぜられた物体色ベ
クトルと、係数値K2の乗ぜられた照明光ベクトルと、
係数値K3の乗ぜられた2次反射光ベクトルとの加算ベ
クトルで表現する構成を採るとともに、 物体色ベクトル、照明光ベクトル及び2次反射光ベクト
ルが指定されるときに、これらのベクトルと色変更対象
物体の画素の色データとに従って、色変更対象物体の各
画素の持つ上記係数値Ki(i=1〜3)を算出する構
成を採って、 色変更条件となる物体色ベクトル、照明光ベクトル及び
2次反射光ベクトルが与えられるときに、これらのベク
トルと算出された上記係数値Kiとから、色変更対象物
体の各画素の色変更後の色データを算出して表示装置に
表示していくよう処理するカラー画像処理装置におい
て、 上記係数値Kiの算出用に指定される物体色ベクトル
が、上記係数値Kiの算出用に指定される照明光ベクト
ル又は2次反射光ベクトルと概略同一色であるのか否か
を判断する判断手段(16)と、 上記判断手段(16)が同一色を判断するときに、色変更条
件となる物体色ベクトルと、色変更対象物体の各画素の
持つ色変更前の色データと、該色データに関連付けて特
定される特性色データとから、色変更対象物体の各画素
の持つ色変更後の色データを算出する算出手段(20)とを
備え、 上記判断手段(16)が同一色を判断するときには、上記算
出手段(20)の算出する色データに従って色変更対象物体
の色表示処理を実行するよう構成されることを、 特徴とするカラー画像処理装置。
1. An object color vector multiplied by a coefficient value K1, an illumination light vector multiplied by a coefficient value K2, and a color data of each pixel of a color change target object displayed on the display device.
When the object color vector, the illumination light vector, and the secondary reflected light vector are designated, these vectors and the color change are used. According to the configuration of calculating the coefficient value Ki (i = 1 to 3) of each pixel of the color change target object according to the color data of the pixel of the target object, the object color vector and the illumination light vector serving as the color change condition And when the secondary reflected light vector is given, the color data after color change of each pixel of the color change target object is calculated from these vectors and the calculated coefficient value Ki and displayed on the display device. In the color image processing apparatus that performs the processing, the object color vector specified for calculating the coefficient value Ki is an illumination light vector or a secondary reflected light specified for calculating the coefficient value Ki. Determining means (16) for determining whether or not the color is substantially the same as the vector, and when the determining means (16) determines the same color, an object color vector serving as a color change condition, Calculating means (20) for calculating the color data after color change of each pixel of the color change target object from the color data of each pixel before color change and characteristic color data specified in association with the color data; When the determination means (16) determines the same color, it is configured to execute a color display process of the color change target object according to the color data calculated by the calculation means (20), Color image processing device.
【請求項2】 請求項1記載のカラー画像処理装置にお
いて、 算出手段(20)は、特性色データとして、画素の持つ色変
更前の色データの内の最大輝度値を示すものを用いるよ
う構成されることを、 特徴とするカラー画像処理装置。
2. A color image processing apparatus according to claim 1, wherein said calculating means uses, as the characteristic color data, one indicating the maximum luminance value of the color data of the pixel before the color change. A color image processing apparatus.
【請求項3】 請求項2記載のカラー画像処理装置にお
いて、 算出手段(20)は、色変更条件となる物体色ベクトルと、
色変更対象物体の各画素の持つ色変更前の色データとの
乗算値を特性色データで割り算した値を、色変更対象物
体の各画素の持つ色変更後の色データとして算出してい
くよう処理することを、 特徴とするカラー画像処理装置。
3. The color image processing apparatus according to claim 2, wherein the calculating means (20) comprises: an object color vector serving as a color change condition;
The value obtained by dividing the multiplication value of each pixel of the color change target object with the color data before color change by the characteristic color data is calculated as the color data after color change of each pixel of the color change target object. Processing, characterized in that it is a color image processing apparatus.
【請求項4】 請求項1、2又は3記載のカラー画像処
理装置において、 判断手段(16)は、係数値Kiの算出用に指定される物体
色ベクトルと、係数値Kiの算出用に指定される照明光
ベクトル及び2次反射光ベクトルとの色成分差値を算出
し、該色成分差値を規定の基準値と比較していくこと
で、該物体色ベクトルが該照明光ベクトル又は該2次反
射光ベクトルと概略同一色であるのか否かを判断してい
くよう処理することを、 特徴とするカラー画像処理装置。
4. The color image processing apparatus according to claim 1, wherein the judging means (16) designates an object color vector designated for calculating the coefficient value Ki and a designated object color vector for calculating the coefficient value Ki. By calculating a color component difference value between the illumination light vector and the secondary reflected light vector, and comparing the color component difference value with a prescribed reference value, the object color vector is converted to the illumination light vector or the A color image processing apparatus characterized by performing processing so as to determine whether or not the color is substantially the same as a secondary reflected light vector.
【請求項5】 請求項4記載のカラー画像処理装置にお
いて、 判断手段(16)は、色成分差値を均等色空間で求めるよう
処理することを、 特徴とするカラー画像処理装置。
5. A color image processing apparatus according to claim 4, wherein said judging means performs processing so as to obtain a color component difference value in a uniform color space.
JP05185765A 1993-07-28 1993-07-28 Color image processing equipment Expired - Fee Related JP3074232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05185765A JP3074232B2 (en) 1993-07-28 1993-07-28 Color image processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05185765A JP3074232B2 (en) 1993-07-28 1993-07-28 Color image processing equipment

Publications (2)

Publication Number Publication Date
JPH0744681A JPH0744681A (en) 1995-02-14
JP3074232B2 true JP3074232B2 (en) 2000-08-07

Family

ID=16176491

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05185765A Expired - Fee Related JP3074232B2 (en) 1993-07-28 1993-07-28 Color image processing equipment

Country Status (1)

Country Link
JP (1) JP3074232B2 (en)

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
加藤誠ほか"画像処理を応用したセールスプレゼンテーションシステム"日本機械学会第69期通常総会講演会講演論文集,日本機械学会,1992年4月,Vol.C,pp.282−284
宮岡伸一郎ほか"プレゼンテーションにおける画像処理"電子情報信学会誌,電子情報通信学会,1991年4月,Vol.74,No.4,pp.392−397
瀧澤由里ほか"色彩変更シミュレーションシステム",1991年電子情報通信学会秋季大会講演論文集、電子情報通信学会,1991年9月,pp.6−182
田島譲二ほか"カラーデザインのための色変更アルゴリズム",情報処理学会研究報告,情報処理学会,1989年3月,Vol.89,No.29,59−6(89−CV−59−6)
鈴木祥治ほか"カラー画像中の物体の色変え",電子情報通信学会春季大会講演論文集,電子情報通信学会,1993年3月15日,p.7.162

Also Published As

Publication number Publication date
JPH0744681A (en) 1995-02-14

Similar Documents

Publication Publication Date Title
US7130461B2 (en) Systems and method for automatically choosing visual characteristics to highlight a target against a background
JP3264273B2 (en) Automatic color correction device, automatic color correction method, and recording medium storing control program for the same
JPH11513508A (en) Method and system for manipulating images of floor coverings or other textiles
US8477135B2 (en) Method and apparatus for volume rendering using depth weighted colorization
JPH0773195A (en) Picture retrieving method and its device
CN104778047A (en) Content display method and terminal
CN109408008B (en) Image identification system and information display method thereof
JP2006215756A (en) Image processing apparatus, image processing method, and program for the same
KR20070090224A (en) Method of electronic color image saturation processing
US5767857A (en) Method, apparatus, and software product for generating outlines for raster-based rendered images
CN116563570B (en) Color recognition method and device, electronic equipment and storage medium
JP7337557B2 (en) Information processing device, system, information processing method and program
JP3074232B2 (en) Color image processing equipment
JP2005346474A (en) Image processing method and image processor and program and storage medium
JP4532682B2 (en) Method and apparatus for converting color image data under different light sources, and medium recording program for color image data conversion
JP2015125543A (en) Line-of-sight prediction system, line-of-sight prediction method, and line-of-sight prediction program
US20230139880A1 (en) System to display gamut excursion
JP2786261B2 (en) Color image processing method
JPH0571099B2 (en)
JPS61223893A (en) Contrast conversion control system
CN116805373A (en) Color under color detection
JPH07115555A (en) Method for dividing color area and electronic patterning device using the method
JPH07282228A (en) Method and device for image data processing
JPH11271176A (en) Method and device for evaluating uniformity of white
KR100787665B1 (en) Image processing device for transmitting color with fidelity and image data providing method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000523

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

Free format text: PAYMENT UNTIL: 20090602

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100602

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110602

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees