JP3014249B2 - Color image processing equipment - Google Patents

Color image processing equipment

Info

Publication number
JP3014249B2
JP3014249B2 JP5198417A JP19841793A JP3014249B2 JP 3014249 B2 JP3014249 B2 JP 3014249B2 JP 5198417 A JP5198417 A JP 5198417A JP 19841793 A JP19841793 A JP 19841793A JP 3014249 B2 JP3014249 B2 JP 3014249B2
Authority
JP
Japan
Prior art keywords
vector
chromaticity value
color
illumination light
chromaticity
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
JP5198417A
Other languages
Japanese (ja)
Other versions
JPH0757088A (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 JP5198417A priority Critical patent/JP3014249B2/en
Publication of JPH0757088A publication Critical patent/JPH0757088A/en
Application granted granted Critical
Publication of JP3014249B2 publication Critical patent/JP3014249B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、照明光により照明され
る物体の各画素の持つ色ベクトルから、物体の持つ本来
の物体色ベクトルと照明光の照明光ベクトルとを検出す
るよう処理するカラー画像処理装置に関し、特に、物体
色ベクトルと照明光ベクトルとを高精度で検出できるよ
うにするカラー画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color processing for detecting an original object color vector of an object and an illumination light vector of the illumination light from a color vector of each pixel of the object illuminated by the illumination light. More particularly, the present invention relates to a color image processing apparatus that can detect an object color vector and an illumination light vector with high accuracy.

【0002】カラーイメージスキャナ等により検出され
る物体の各画素の持つ色ベクトルから、物体の持つ本来
の物体色ベクトルを検出していくことが要求されること
がある。このようなときには、物体色ベクトルを高精度
で検出できるようにしていく必要がある。
2. Description of the Related Art It is sometimes required to detect an original object color vector of an object from a color vector of each pixel of the object detected by a color image scanner or the like. In such a case, it is necessary to detect the object color vector with high accuracy.

【0003】[0003]

【従来の技術】最初に、本発明の背景となったカラー画
像の色変更処理について説明する。計算機を用いる商品
の電子カタログ作成システム等では、基になるカラー画
像をカラーイメージスキャナで読み取ってカラーモニタ
上に表示する構成を採って、これらのカラー画像中の物
体の色を変更していくことで、カタログやデザインを完
成させていくという処理を実行していくことになる。
2. Description of the Related Art First, a description will be given of a color changing process of a color image as a background of the present invention. In a system for creating an electronic catalog of products using a computer, a configuration is adopted in which a base color image is read by a color image scanner and displayed on a color monitor, and the colors of objects in these color images are changed. Then, the process of completing the catalog and the design is executed.

【0004】このようなカラー画像の色変更処理を高精
度で行うために、本出願人は、先に出願の特開平5-408
33号(発明の名称:カラー画像制御方法)で、厳密な物
体反射モデルを用いることでカラー画像中の物体の色を
画像の自然さを保存したまま変更できるようにするとと
もに、光沢や色の見え方についても変更できるようにす
るという発明を開示した。
[0004] In order to perform such a color change processing of a color image with high accuracy, the present applicant has previously filed Japanese Patent Application Laid-Open No. 5-408.
No. 33 (Title of Invention: Color Image Control Method) enables the color of an object in a color image to be changed while preserving the naturalness of the image by using a strict object reflection model. The invention has been disclosed in which the appearance can be changed.

【0005】すなわち、この発明では、RGB表色系で
説明するならば、
[0005] That is, in the present invention, if the description is made in the RGB color system,

【0006】[0006]

【数1】 (Equation 1)

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

【0008】そして、カラー画像中の物体の色を変更す
る場合には、先ず最初に、物体色ベクトル(Rd,Gd,B
d ) 、照明光ベクトル(Rs,Gs,Bs ) 、環境光ベクト
ル(Ra,Ga,Ba ) の適切な値を導出する。次に、この
状態により、色変更前の物体の各画素の持つ色ベクトル
(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, B
d) The appropriate values of the illumination light vector (Rs, Gs, Bs) and the environment light vector (Ra, Ga, Ba) are derived. Next, from this state, the color vector (Ro, Go, Bo) of each pixel of the object before the color change is known, and it is possible to solve the ternary simultaneous equation defined by the expression (1). Therefore, the coefficient values K1, K2, and K3 of each pixel of the object are calculated.

【0009】続いて、物体色ベクトル(Rd,Gd,Bd )
、照明光ベクトル(Rs,Gs,Bs )、環境光ベクトル
(Ra,Ga,Ba ) の内の少なくとも1つが変わること
で、色変更条件となる物体色ベクトル(Rd', Gd', B
d') 、照明光ベクトル(Rs', Gs', Bs') 、環境光ベ
クトル(Ra', Ga', Ba') が決まると、この算出され
た係数値K1,K2,K3を用いて、
Subsequently, the object color vector (Rd, Gd, Bd)
, The illumination light vector (Rs, Gs, Bs) and the environmental light vector (Ra, Ga, Ba) change, so that the object color vector (Rd ', Gd', B
d '), the illumination light vector (Rs', Gs', Bs') and the ambient light vector (Ra', Ga ', Ba') are determined, and the calculated coefficient values K1, K2, K3 are used.

【0010】[0010]

【数2】 (Equation 2)

【0011】に従って、物体の各画素の持つ色ベクトル
(Ro', Go', Bo')を算出していくことで、色変更後
の物体の各画素の持つ色ベクトルを決定していくのであ
る。この発明によりカラー画像の色変更処理を実行する
ためには、色変更前の物体色ベクトル(Rd,Gd,Bd )
、照明光ベクトル(Rs,Gs,Bs ) 、環境光ベクトル
(Ra,Ga,Ba ) を正確に求めていく必要があり、特
に、この内の物体色ベクトル(Rd,Gd,Bd ) を正確に
求めていく必要がある。
By calculating the color vector (Ro ', Go', Bo ') of each pixel of the object according to the above, the color vector of each pixel of the object after the color change is determined. . In order to execute the color change processing of a color image according to the present invention, the object color vector (Rd, Gd, Bd) before the color change is performed.
, The illumination light vector (Rs, Gs, Bs) and the environment light vector (Ra, Ga, Ba) must be accurately obtained. In particular, the object color vector (Rd, Gd, Bd) is accurately calculated. It is necessary to seek.

【0012】この物体色ベクトル(Rd,Gd,Bd ) を求
めるための方法として、従来では、オペレータに対し
て、ディスプレイ画面に表示される物体のカラー画像の
中から、最も本来の色を表していると考えられる点を選
択させることで行っていた。例えば、ディスプレイ画面
上に表示される青色の自動車中から最も適切な青を選択
させることで、その自動車の物体色ベクトル(Rd,Gd,
Bd ) を検出するように処理していたのである。
As a method for obtaining the object color vector (Rd, Gd, Bd), conventionally, the operator is required to express the most original color from the color image of the object displayed on the display screen. This was done by letting them select points that were considered For example, by selecting the most appropriate blue from the blue cars displayed on the display screen, the object color vector (Rd, Gd,
Bd) was detected.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、このよ
うな従来技術に従っていると、オペレータの経験により
物体色ベクトル(Rd,Gd,Bd ) が検出されることにな
ることから、物体色ベクトル(Rd,Gd,Bd ) を正確に
検出することができないという問題点があった。そし
て、オペレータに負荷を強いることになるという問題点
もあった。
However, according to such a conventional technique, since the object color vector (Rd, Gd, Bd) is detected by the operator's experience, the object color vector (Rd, Rd, Gd, Bd) is detected. Gd, Bd) cannot be detected accurately. In addition, there is a problem that a load is imposed on the operator.

【0014】このようなことを背景して、本出願人は、
先に出願の特願平5-52055号(発明の名称:カラー画像
処理方法及びカラー画像処理装置)で、カラーイメージ
スキャナ等により検出される物体の各画素の持つ色ベク
トル(Ro,Go,Bo ) から、自動的に、物体の持つ本来
の物体色ベクトル(Rd,Gd,Bd ) を検出できるように
するとともに、この物体を照明する照明光の照明光ベク
トル(Rs,Gs,Bs )についても検出できるようにする
という発明を開示した。
Against this background, the present applicant has
In Japanese Patent Application No. 5-52055 (title of the present invention: color image processing method and color image processing apparatus), a color vector (Ro, Go, Bo) of each pixel of an object detected by a color image scanner or the like. ), The original object color vector (Rd, Gd, Bd) of the object can be automatically detected, and the illumination light vector (Rs, Gs, Bs) of the illumination light for illuminating the object can also be detected. An invention has been disclosed that enables detection.

【0015】すなわち、この発明では、RGB表色系で
説明するならば、
That is, in the present invention, if the description is made in terms of the RGB color system,

【0016】[0016]

【数3】 (Equation 3)

【0017】に従って、先ず最初に、物体の各画素の持
つ色ベクトル(Ro,Go,Bo ) の色度値(r,g)を算
出する。このとき、低輝度データや、エッジ部分のデー
タについては誤差が大きくなるので取り除いておく。こ
のようにして算出される色度値(r,g)は、図12に
示すように、物体色ベクトル(Rd,Gd,Bd ) の色度値
と、照明光ベクトル(Rs,Gs,Bs ) の色度値とを結ぶ
直線上に分布することになるので、次に、図13に示す
ように、この色度値分布を近似する直線を最小2乗法等
で求める。
First, the chromaticity value (r, g) of the color vector (Ro, Go, Bo) of each pixel of the object is calculated. At this time, the low luminance data and the data of the edge portion are removed because the error increases. As shown in FIG. 12, the chromaticity value (r, g) calculated in this way is the chromaticity value of the object color vector (Rd, Gd, Bd) and the illumination light vector (Rs, Gs, Bs). Then, as shown in FIG. 13, a straight line approximating this chromaticity value distribution is obtained by the least square method or the like, as shown in FIG.

【0018】続いて、図14に示すように、この直線上
の色度値の頻度分布から、直線の端点として位置する物
体色ベクトル(Rd,Gd,Bd ) の色度値と、照明光ベク
トル(Rs,Gs,Bs ) の色度値とを検出する。ここで、
例えば白色光源というように照明光の光源特性は通常知
られており、どちらの端点の色度値が照明光ベクトル
(Rs,Gs,Bs ) のものであるかということは分かるの
で、それに従って、物体色ベクトル(Rd,Gd,Bd ) の
色度値と、照明光ベクトル(Rs,Gs,Bs ) の色度値と
を特定することになる。
Subsequently, as shown in FIG. 14, from the frequency distribution of the chromaticity values on the straight line, the chromaticity value of the object color vector (Rd, Gd, Bd) positioned as the end point of the straight line and the illumination light vector And the chromaticity value of (Rs, Gs, Bs). here,
The light source characteristics of the illumination light, such as a white light source, are generally known, and it is known which end point has the chromaticity value of the illumination light vector (Rs, Gs, Bs). The chromaticity value of the object color vector (Rd, Gd, Bd) and the chromaticity value of the illumination light vector (Rs, Gs, Bs) are specified.

【0019】続いて、検出した物体色ベクトル(Rd,G
d,Bd ) の色度値を持つ物体の画素の色ベクトル(Ro,
Go,Bo ) の明るさと、その近傍の色度値を持つ物体の
画素の色ベクトル(Ro,Go,Bo ) の明るさとを、
Subsequently, the detected object color vector (Rd, G
d, Bd), the color vector (Ro,
Go, Bo) and the brightness of a color vector (Ro, Go, Bo) of a pixel of an object having a chromaticity value in the vicinity of the brightness are represented by:

【0020】[0020]

【数4】 (Equation 4)

【0021】に従って図15のように求めて、これらの
平均値や、これらの内の最も大きな値を示すものを物体
色ベクトル(Rd,Gd,Bd ) の明るさとして検出すると
ともに、検出した照明光ベクトル(Rs,Gs,Bs ) の色
度値を持つ物体の画素の色ベクトル(Ro,Go,Bo ) の
明るさと、その近傍の色度値を持つ物体の各画素の色ベ
クトル(Ro,Go,Bo ) の明るさとを、同じく〔数4〕
式に従って図15のように求めて、これらの平均値や、
これらの内の最も大きな値を示すものを照明光ベクトル
(Rs,Gs,Bs ) の明るさとして検出する。
In accordance with FIG. 15, the average value of these values and the one having the largest value are detected as the brightness of the object color vector (Rd, Gd, Bd), and the detected illumination The brightness of the color vector (Ro, Go, Bo) of the pixel of the object having the chromaticity value of the light vector (Rs, Gs, Bs) and the color vector (Ro, Ro) of each pixel of the object having the chromaticity value in the vicinity thereof Go, Bo) and [Equation 4]
According to the formula, as shown in FIG. 15, these average values,
The one having the largest value among these is detected as the brightness of the illumination light vector (Rs, Gs, Bs).

【0022】続いて、検出した色度値(r,g)と、検
出した明るさLとから、
Subsequently, from the detected chromaticity value (r, g) and the detected brightness L,

【0023】[0023]

【数5】 (Equation 5)

【0024】に従って、物体色ベクトル(Rd,Gd,Bd
) と、照明光ベクトル(Rs,Gs,Bs) とを算出するこ
とで検出する。確かに、この先に出願の発明に従うと、
オペレータに依らずに、自動的に物体色ベクトル(Rd,
Gd,Bd ) と照明光ベクトル(Rs,Gs,Bs ) とを高精
度でもって検出できることになる。
In accordance with the object color vector (Rd, Gd, Bd
) And the illumination light vector (Rs, Gs, Bs). Indeed, according to the invention of the earlier application,
The object color vector (Rd,
Gd, Bd) and the illumination light vector (Rs, Gs, Bs) can be detected with high accuracy.

【0025】しかしながら、この方法に従うときに、物
体の各画素の持つ色ベクトル(Ro,Go,Bo ) の色度値
が直線上に分布せずに、図16に示すように、広範囲に
広がって分布してしまうということが起こる。これは、
環境光ベクトル(Ra,Ga,Ba ) が存在するとともに、
カラーイメージスキャナに色ズレが存在するからであ
り、これに加えて、誤差要因となる低輝度データやエッ
ジ部分のデータを十分取り除けなかったり、物体画像中
に含まれる光沢等の照明光を反映する部分が欠けている
ことで発生することになる。
However, according to this method, the chromaticity values of the color vectors (Ro, Go, Bo) of each pixel of the object are not distributed on a straight line but spread over a wide area as shown in FIG. It happens to be distributed. this is,
Ambient light vectors (Ra, Ga, Ba) exist, and
This is because color misregistration is present in color image scanners, and in addition, low-luminance data or edge data, which may be an error factor, cannot be sufficiently removed or reflect illumination light such as gloss contained in an object image. This is caused by missing parts.

【0026】このようなときには、先に出願の発明に従
っていても、物体色ベクトル(Rd,Gd,Bd ) や照明光
ベクトル(Rs,Gs,Bs ) を正確に求めることができな
くなる。
In such a case, the object color vector (Rd, Gd, Bd) and the illumination light vector (Rs, Gs, Bs) cannot be accurately obtained even if the invention of the application is applied.

【0027】本発明はかかる事情に鑑みてなされたもの
であって、先に出願の特願平5-52055号の発明に従っ
て、カラーイメージスキャナ等により検出される物体の
各画素の持つ色ベクトルから、自動的に、物体の持つ本
来の物体色ベクトルと、この物体を照明する照明光の照
明光ベクトルとを検出する構成を採るときにあって、こ
れらのベクトルを高精度で検出できるようにする新たな
カラー画像処理装置の提供を目的とする。
The present invention has been made in view of the above circumstances. According to the invention of Japanese Patent Application No. 5-52055, a color vector of each pixel of an object detected by a color image scanner or the like is used. Automatically adopts a configuration for automatically detecting the original object color vector of the object and the illumination light vector of the illumination light for illuminating the object, so that these vectors can be detected with high accuracy. A new color image processing apparatus is provided.

【0028】[0028]

【課題を解決するための手段】図1及び図2に本発明の
原理構成を図示する。図1(a)に原理構成を図示する
本発明のカラー画像処理装置1は、検出色ベクトル格納
手段10と、算出手段11と、補正手段12と、特定手
段13と、第1の検出手段14と、第2の検出手段15
と、導出手段16とを備える。
FIG. 1 and FIG. 2 show the principle configuration of the present invention. A color image processing apparatus 1 according to the present invention, whose principle configuration is illustrated in FIG. 1A, includes a detected color vector storage unit 10, a calculation unit 11, a correction unit 12, a specifying unit 13, and a first detection unit 14. And the second detection means 15
And deriving means 16.

【0029】この検出色ベクトル格納手段10は、カラ
ーイメージスキャナ等により検出された物体の各画素の
持つ色ベクトルを管理する。算出手段11は、検出色ベ
クトル格納手段10に格納される物体の画素の持つ色ベ
クトルの色度値を算出する。補正手段12は、算出手段
11の算出する色度値分布に照明光ベクトルの色度値を
追加することでその色度値分布を補正する。特定手段1
3は、補正手段12の生成する色度値分布を近似する近
似線を特定する。第1の検出手段14は、物体色ベクト
ルと照明光ベクトルのいずれか一方又は双方の色度値を
検出する。第2の検出手段15は、物体色ベクトルと照
明光ベクトルのいずれか一方又は双方の明るさを検出す
る。導出手段16は、物体色ベクトルと照明光ベクトル
のいずれか一方又は双方を導出する。
The detected color vector storage means 10 manages the color vector of each pixel of the object detected by a color image scanner or the like. The calculating unit 11 calculates a chromaticity value of a color vector of a pixel of the object stored in the detected color vector storing unit 10. The correcting unit 12 corrects the chromaticity value distribution by adding the chromaticity value of the illumination light vector to the chromaticity value distribution calculated by the calculating unit 11. Identifying means 1
3 specifies an approximation line that approximates the chromaticity value distribution generated by the correction unit 12. The first detector 14 detects the chromaticity value of one or both of the object color vector and the illumination light vector. The second detection unit 15 detects the brightness of one or both of the object color vector and the illumination light vector. The deriving unit 16 derives one or both of the object color vector and the illumination light vector.

【0030】図1(b)に原理構成を図示する本発明の
カラー画像処理装置1は、検出色ベクトル格納手段10
と、算出手段11と、特定手段13と、第1の検出手段
14と、第2の検出手段15と、導出手段16とを備え
る。
The color image processing apparatus 1 of the present invention whose principle configuration is shown in FIG.
And a calculating means 11, a specifying means 13, a first detecting means 14, a second detecting means 15, and a deriving means 16.

【0031】この検出色ベクトル格納手段10は、カラ
ーイメージスキャナ等により検出された物体の各画素の
持つ色ベクトルを管理する。算出手段11は、検出色ベ
クトル格納手段10に格納される物体の画素の持つ色ベ
クトルの色度値を算出する。特定手段13は、照明光ベ
クトルの色度値又はその近傍の色度値を通過することを
条件としつつ、算出手段11の算出する色度値分布を近
似する近似線を特定する。第1の検出手段14は、物体
色ベクトルと照明光ベクトルのいずれか一方又は双方の
色度値を検出する。第2の検出手段15は、物体色ベク
トルと照明光ベクトルのいずれか一方又は双方の明るさ
を検出する。導出手段16は、物体色ベクトルと照明光
ベクトルのいずれか一方又は双方を導出する。
The detected color vector storage means 10 manages the color vector of each pixel of the object detected by a color image scanner or the like. The calculating unit 11 calculates a chromaticity value of a color vector of a pixel of the object stored in the detected color vector storing unit 10. The specifying unit 13 specifies an approximation line that approximates the chromaticity value distribution calculated by the calculating unit 11 on condition that the chromaticity value passes through the chromaticity value of the illumination light vector or a chromaticity value in the vicinity thereof. The first detector 14 detects the chromaticity value of one or both of the object color vector and the illumination light vector. The second detection unit 15 detects the brightness of one or both of the object color vector and the illumination light vector. The deriving unit 16 derives one or both of the object color vector and the illumination light vector.

【0032】図2に原理構成を図示する本発明のカラー
画像処理装置1は、検出色ベクトル格納手段10と、算
出手段11と、設定手段17と、検索手段18と、特定
手段13と、第1の検出手段14と、第2の検出手段1
5と、導出手段16とを備える。
The color image processing apparatus 1 of the present invention, whose principle configuration is shown in FIG. 2, comprises a detected color vector storage means 10, a calculation means 11, a setting means 17, a search means 18, a specifying means 13, The first detecting means 14 and the second detecting means 1
5 and a deriving unit 16.

【0033】この検出色ベクトル格納手段10は、カラ
ーイメージスキャナ等により検出された物体の各画素の
持つ色ベクトルを管理する。算出手段11は、検出色ベ
クトル格納手段10に格納される物体の画素の持つ色ベ
クトルの色度値を算出する。設定手段17は、照明光ベ
クトルの色度値又はその近傍の色度値を回転中心とし
て、特定形状の領域を複数設定する。検索手段18は、
設定手段17の設定する各領域と、算出手段11の算出
する色度値分布との重複度合いを評価することで、これ
らの領域の内で最も高い重複度合いを示すものを検索す
る。特定手段13は、検索手段18の検索する領域か
ら、算出手段11の算出する色度値分布を近似する近似
線を特定する。第1の検出手段14は、物体色ベクトル
と照明光ベクトルのいずれか一方又は双方の色度値を検
出する。第2の検出手段15は、物体色ベクトルと照明
光ベクトルのいずれか一方又は双方の明るさを検出す
る。導出手段16は、物体色ベクトルと照明光ベクトル
のいずれか一方又は双方を導出する。
The detected color vector storage means 10 manages the color vector of each pixel of the object detected by a color image scanner or the like. The calculating unit 11 calculates a chromaticity value of a color vector of a pixel of the object stored in the detected color vector storing unit 10. The setting unit 17 sets a plurality of regions of a specific shape using the chromaticity value of the illumination light vector or a chromaticity value in the vicinity thereof as a rotation center. The search means 18
By evaluating the degree of overlap between each area set by the setting means 17 and the chromaticity value distribution calculated by the calculation means 11, the area having the highest degree of overlap is searched for in these areas. The specifying unit 13 specifies an approximate line that approximates the chromaticity value distribution calculated by the calculating unit 11 from the area searched by the searching unit 18. The first detector 14 detects the chromaticity value of one or both of the object color vector and the illumination light vector. The second detection unit 15 detects the brightness of one or both of the object color vector and the illumination light vector. The deriving unit 16 derives one or both of the object color vector and the illumination light vector.

【0034】[0034]

【作用】図1(a)に原理構成を図示する本発明のカラ
ー画像処理装置1では、算出手段11は、物体の画素の
持つ全ての色ベクトルの色度値、あるいは、この色ベク
トルの内のノイズ成分の少ないものの色度値を算出し、
この算出結果を受けて、補正手段12は、算出手段11
の算出する色度値分布に、照明光ベクトルの色度値又は
この近傍の色度値を追加することで、この算出された色
度値分布を補正し、この補正結果を受けて、特定手段1
3は、補正された色度値分布を近似する近似線を特定す
る。
In the color image processing apparatus 1 of the present invention, the principle of which is shown in FIG. 1A, the calculating means 11 calculates the chromaticity values of all the color vectors of the pixel of the object or the chromaticity values of the color vectors. Calculate the chromaticity value of the one with less noise component of
Upon receiving the calculation result, the correction unit 12
By adding the chromaticity value of the illumination light vector or a chromaticity value in the vicinity of the chromaticity value distribution to the calculated chromaticity value distribution, the calculated chromaticity value distribution is corrected. 1
3 specifies an approximate line that approximates the corrected chromaticity value distribution.

【0035】この特定結果を受けて、第1の検出手段1
4は、特定手段13の特定する近似線と、補正手段12
の生成する色度値分布とから、近似線の端点に位置する
物体色ベクトル/照明光ベクトルの色度値を検出し、こ
の検出結果を受けて、第2の検出手段15は、検出され
た色度値の算出元となった物体の画素の持つ色ベクトル
(その近傍の色度値の色ベクトルを考慮することもあ
る)から物体色ベクトル/照明光ベクトルの明るさを検
出し、この検出結果を受けて、導出手段16は、第1の
検出手段14の検出する色度値と、第2の検出手段15
の検出する明るさとから、物体色ベクトル/照明光ベク
トルを導出して出力する。
In response to the specified result, the first detecting means 1
4 is an approximation line specified by the specifying unit 13 and a correction unit 12
, The chromaticity value of the object color vector / illumination light vector located at the end point of the approximate line is detected from the chromaticity value distribution generated by The brightness of the object color vector / illumination light vector is detected from the color vector of the pixel of the object from which the chromaticity value is calculated (the color vector of the chromaticity value in the vicinity may be considered). In response to the result, the deriving unit 16 determines the chromaticity value detected by the first detecting unit 14 and the second detecting unit 15
Then, an object color vector / illumination light vector is derived and output from the detected brightness.

【0036】このように、図1(a)に原理構成を図示
する本発明のカラー画像処理装置1では、物体の各画素
の持つ色ベクトルの色度値分布を近似線で近似すること
で、その端点として位置する物体色ベクトル/照明光ベ
クトルの色度値を検出するとともに、この色度値の算出
元となった物体の画素の持つ色ベクトルから物体色ベク
トル/照明光ベクトルの明るさを検出して、これらの検
出値から物体色ベクトル/照明光ベクトルを検出してい
く構成を採るときにあって、照明光ベクトルの色度値を
強制的に色度値分布に追加する構成を採ることから、色
度値分布を近似する近似線が物体色ベクトルの色度値を
通過することが保証されることになって、高精度に物体
色ベクトル/照明光ベクトルを検出できるようになる。
As described above, in the color image processing apparatus 1 of the present invention whose principle configuration is shown in FIG. 1A, the chromaticity value distribution of the color vector of each pixel of the object is approximated by the approximation line. The chromaticity value of the object color vector / illumination light vector located as the end point is detected, and the brightness of the object color vector / illumination light vector is calculated from the color vector of the pixel of the object from which the chromaticity value was calculated. When adopting a configuration for detecting and detecting an object color vector / illumination light vector from these detection values, a configuration is adopted in which the chromaticity value of the illumination light vector is forcibly added to the chromaticity value distribution. Therefore, it is guaranteed that the approximation line approximating the chromaticity value distribution passes through the chromaticity value of the object color vector, and the object color vector / illumination light vector can be detected with high accuracy.

【0037】図1(b)に原理構成を図示する本発明の
カラー画像処理装置1では、算出手段11は、物体の画
素の持つ全ての色ベクトルの色度値、あるいは、この色
ベクトルの内のノイズ成分の少ないものの色度値を算出
し、この算出結果を受けて、特定手段13は、照明光ベ
クトルの色度値又はその近傍の色度値を通過することを
条件としつつ、算出手段11の算出する色度値分布を近
似する近似線を特定する。
In the color image processing apparatus 1 of the present invention, the principle of which is shown in FIG. 1B, the calculating means 11 calculates the chromaticity values of all the color vectors of the pixel of the object or the chromaticity values of the color vectors. Calculating the chromaticity value of the noise component having a small noise component, and receiving the calculation result, the specifying means 13 calculates the chromaticity value of the illumination light vector on the condition that the chromaticity value passes through or near the chromaticity value of the illuminating light vector. An approximation line that approximates the chromaticity value distribution calculated by 11 is specified.

【0038】この特定結果を受けて、第1の検出手段1
4は、特定手段13の特定する近似線と、算出手段11
の算出する色度値分布とから、近似線の端点に位置する
物体色ベクトル/照明光ベクトルの色度値を検出し、こ
の検出結果を受けて、第2の検出手段15は、検出され
た色度値の算出元となった物体の画素の持つ色ベクトル
(その近傍の色度値の色ベクトルを考慮することもあ
る)から物体色ベクトル/照明光ベクトルの明るさを検
出し、この検出結果を受けて、導出手段16は、第1の
検出手段14の検出する色度値と、第2の検出手段15
の検出する明るさとから、物体色ベクトル/照明光ベク
トルを導出して出力する。
In response to the specified result, the first detecting means 1
4 is an approximation line specified by the specifying unit 13 and a calculation unit 11
, The chromaticity value of the object color vector / illumination light vector located at the end point of the approximate line is detected from the chromaticity value distribution calculated by The brightness of the object color vector / illumination light vector is detected from the color vector of the pixel of the object from which the chromaticity value is calculated (the color vector of the chromaticity value in the vicinity may be considered). In response to the result, the deriving unit 16 determines the chromaticity value detected by the first detecting unit 14 and the second detecting unit 15
Then, an object color vector / illumination light vector is derived and output from the detected brightness.

【0039】このように、図1(b)に原理構成を図示
する本発明のカラー画像処理装置1では、物体の各画素
の持つ色ベクトルの色度値分布を近似線で近似すること
で、その端点として位置する物体色ベクトル/照明光ベ
クトルの色度値を検出するとともに、この色度値の算出
元となった物体の画素の持つ色ベクトルから物体色ベク
トル/照明光ベクトルの明るさを検出して、これらの検
出値から物体色ベクトル/照明光ベクトルを検出してい
く構成を採るときにあって、色度値分布を近似する近似
線が照明光ベクトルの色度値を強制的に通過する構成を
採ることから、この近似線が物体色ベクトルの色度値を
通過することが保証されることになって、高精度に物体
色ベクトル/照明光ベクトルを検出できるようになる。
As described above, in the color image processing apparatus 1 of the present invention, whose principle configuration is shown in FIG. 1B, the chromaticity value distribution of the color vector of each pixel of the object is approximated by the approximation line. The chromaticity value of the object color vector / illumination light vector located as the end point is detected, and the brightness of the object color vector / illumination light vector is calculated from the color vector of the pixel of the object from which the chromaticity value was calculated. When adopting a configuration of detecting and detecting an object color vector / illumination light vector from these detection values, an approximation line approximating the chromaticity value distribution forcibly sets the chromaticity value of the illumination light vector. By adopting a configuration of passing, the approximation line is guaranteed to pass the chromaticity value of the object color vector, and the object color vector / illumination light vector can be detected with high accuracy.

【0040】図2に原理構成を図示する本発明のカラー
画像処理装置1では、算出手段11は、物体の画素の持
つ全ての色ベクトルの色度値、あるいは、この色ベクト
ルの内のノイズ成分の少ないものの色度値を算出し、設
定手段17は、照明光ベクトルの色度値又はその近傍の
色度値を回転中心として、特定形状の領域を複数設定
し、この算出手段11による色度値分布の算出結果と、
設定手段17による領域設定結果とを受けて、検索手段
18は、設定された領域と算出された色度値分布との重
複度合いを評価することで、設定された領域の内で最も
高い重複度合いを示すものを検索し、この検索結果を受
けて、特定手段13は、例えば、検索された領域の中心
線を特定していくことで、算出された色度値分布を近似
する近似線を特定する。
In the color image processing apparatus 1 of the present invention whose principle configuration is shown in FIG. 2, the calculating means 11 calculates the chromaticity values of all the color vectors of the pixel of the object or the noise components in the color vectors. The setting unit 17 sets a plurality of regions of a specific shape using the chromaticity value of the illumination light vector or a chromaticity value in the vicinity thereof as a rotation center. Calculation results of the value distribution,
In response to the region setting result by the setting unit 17, the search unit 18 evaluates the degree of overlap between the set region and the calculated chromaticity value distribution, and thereby the highest degree of overlap among the set regions. In response to the search result, the specifying unit 13 specifies an approximate line that approximates the calculated chromaticity value distribution, for example, by specifying the center line of the searched area. I do.

【0041】この特定結果を受けて、第1の検出手段1
4は、特定手段13の特定する近似線と、算出手段11
の算出する色度値分布とから、近似線の端点に位置する
物体色ベクトル/照明光ベクトルの色度値を検出し、こ
の検出結果を受けて、第2の検出手段15は、検出され
た色度値の算出元となった物体の画素の持つ色ベクトル
(その近傍の色度値の色ベクトルを考慮することもあ
る)から物体色ベクトル/照明光ベクトルの明るさを検
出し、この検出結果を受けて、導出手段16は、第1の
検出手段14の検出する色度値と、第2の検出手段15
の検出する明るさとから、物体色ベクトル/照明光ベク
トルを導出して出力する。
In response to the specified result, the first detecting means 1
4 is an approximation line specified by the specifying unit 13 and a calculation unit 11
, The chromaticity value of the object color vector / illumination light vector located at the end point of the approximate line is detected from the chromaticity value distribution calculated by The brightness of the object color vector / illumination light vector is detected from the color vector of the pixel of the object from which the chromaticity value is calculated (the color vector of the chromaticity value in the vicinity may be considered). In response to the result, the deriving unit 16 determines the chromaticity value detected by the first detecting unit 14 and the second detecting unit 15
Then, an object color vector / illumination light vector is derived and output from the detected brightness.

【0042】このように、図2に原理構成を図示する本
発明のカラー画像処理装置1では、物体の各画素の持つ
色ベクトルの色度値分布を近似線で近似することで、そ
の端点として位置する物体色ベクトル/照明光ベクトル
の色度値を検出するとともに、この色度値の算出元とな
った物体の画素の持つ色ベクトルから物体色ベクトル/
照明光ベクトルの明るさを検出して、これらの検出値か
ら物体色ベクトル/照明光ベクトルを検出していく構成
を採るときにあって、色度値分布を近似する近似線が照
明光ベクトルの色度値を強制的に通過する構成を採るこ
とから、この近似線が物体色ベクトルの色度値を通過す
ることが保証されることになって、高精度に物体色ベク
トル/照明光ベクトルを検出できるようになる。
As described above, in the color image processing apparatus 1 of the present invention whose principle configuration is illustrated in FIG. 2, the chromaticity value distribution of the color vector of each pixel of the object is approximated by the approximation line, so that the end point is obtained. The chromaticity value of the located object color vector / illumination light vector is detected, and the object color vector /
When adopting a configuration in which the brightness of the illumination light vector is detected and the object color vector / illumination light vector is detected from these detected values, an approximation line that approximates the chromaticity value distribution is Since the configuration is adopted in which the chromaticity value is forcibly passed, it is guaranteed that this approximation line passes the chromaticity value of the object color vector, and the object color vector / illumination light vector can be accurately determined. It can be detected.

【0043】[0043]

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

【0044】このカラー画像処理装置1は、画像入力装
置20の持つカラーイメージスキャナ等により読み取ら
れるカラー画像データ情報を保持する画像保持用メモリ
21と、この画像保持用メモリ21に格納される処理対
象物体の画素の持つ色ベクトルの色度値分布を算出する
色度値算出プログラム22と、この色度値算出プログラ
ム22の算出する色度値を保持する色度値保持用メモリ
23と、この色度値保持用メモリ23の格納データを参
照しつつ、処理対象物体の物体色ベクトルと、その処理
対象物体を照明する照明光の照明光ベクトルとを検出す
る色ベクトル検出プログラム24とから構成される。
The color image processing apparatus 1 includes an image holding memory 21 for holding color image data information read by a color image scanner or the like of an image input device 20, and a processing target stored in the image holding memory 21. A chromaticity value calculation program 22 for calculating a chromaticity value distribution of a color vector of a pixel of an object; a chromaticity value holding memory 23 for storing chromaticity values calculated by the chromaticity value calculation program 22; A color vector detection program 24 for detecting an object color vector of a processing target object and an illumination light vector of illumination light for illuminating the processing target object while referring to data stored in the degree value holding memory 23. .

【0045】図4に、色度値算出プログラム22の実行
する処理フローの一実施例、図5ないし図8に、色ベク
トル検出プログラム24の実行する処理フローの一実施
例を図示する。次に、これらの処理フローに従って、本
発明に係る物体色ベクトル検出処理について詳細に説明
する。ここで、以下に説明する実施例では、照明光とし
て無彩色の白色光源を想定している。
FIG. 4 shows an embodiment of a processing flow executed by the chromaticity value calculation program 22, and FIGS. 5 to 8 show an embodiment of a processing flow executed by the color vector detection program 24. Next, the object color vector detection processing according to the present invention will be described in detail according to these processing flows. Here, in the embodiments described below, an achromatic white light source is assumed as the illumination light.

【0046】色度値算出プログラム22は、図示しない
抽出プログラム等により、画像保持用メモリ21に格納
される色ベクトルの中から処理対象物体の各画素の持つ
色ベクトルが抽出されると、図4の処理フローに示すよ
うに、先ず最初に、ステップ1で、処理対象物体の画素
の中から非エッジ部分の画素を1つ選択し、続くステッ
プ2で、全ての画素を選択したのか否かを判断して、全
ての画素を選択したことを判断するときには処理を終了
し、画素を選択できたことを判断するときには、ステッ
プ3に進んで、選択した画素の持つ色ベクトルを画像保
持用メモリ21から読み出す。
When the color vector of each pixel of the object to be processed is extracted from the color vectors stored in the image holding memory 21 by an extraction program or the like (not shown), the chromaticity value calculation program 22 shown in FIG. First, in step 1, one pixel of the non-edge portion is selected from the pixels of the object to be processed, and in step 2, it is determined whether or not all the pixels have been selected. When it is determined that all the pixels have been selected, the process ends. When it is determined that the pixels have been selected, the process proceeds to step 3, where the color vectors of the selected pixels are stored in the image holding memory 21. Read from

【0047】続いて、ステップ4で、上述の〔数4〕式
に従ってステップ3で読み出した色ベクトルの明るさを
算出して、この算出する明るさが規定レベル以上のもの
であるのか否かを判断する。このステップ4で、ステッ
プ3で読み出した色ベクトルの明るさが規定レベル以上
であることを判断すると、ステップ5に進んで、上述の
〔数3〕式に従って色ベクトルの色度値を算出して、こ
の色度値をステップ4で算出した明るさとともに色度値
保持用メモリ23に格納する。一方、このステップ4
で、ステップ3で読み出した色ベクトルの明るさが規定
レベル以下であることを判断すると、ノイズ成分の大き
い低輝度データであるので、色度値を算出することなく
そのままステップ1に戻っていく。
Subsequently, in step 4, the brightness of the color vector read out in step 3 is calculated according to the above-mentioned equation (4), and it is determined whether or not the calculated brightness is a specified level or more. to decide. If it is determined in step 4 that the brightness of the color vector read out in step 3 is equal to or higher than the specified level, the process proceeds to step 5, where the chromaticity value of the color vector is calculated according to the above-described equation (3). This chromaticity value is stored in the chromaticity value holding memory 23 together with the brightness calculated in step 4. On the other hand, this step 4
If it is determined that the brightness of the color vector read in step 3 is equal to or lower than the specified level, the process returns to step 1 without calculating the chromaticity value because the low-luminance data has a large noise component.

【0048】このようにして、色度値算出プログラム2
2は、処理対象物体の各画素の持つ色ベクトルの色度値
/明るさを算出して色度値保持用メモリ23に格納して
いくよう処理するのである。
As described above, the chromaticity value calculation program 2
Step 2 calculates the chromaticity value / brightness of the color vector of each pixel of the object to be processed and stores it in the chromaticity value holding memory 23.

【0049】色ベクトル検出プログラム24は、色度値
保持用メモリ23に処理対象物体の画素の持つ色ベクト
ルの色度値/明るさが格納されると、図5の処理フロー
に示すように、先ず最初に、ステップ1で、色度値保持
用メモリ23に格納される色度値分布に対して、照明光
の光源特性を示す無彩色の色度値を追加する。この追加
処理は、無彩色が「R=G=B」の色ベクトル特性に従
って「r=0.33, g=0.33」という色度値を持つことか
ら、この数値又はその近傍の数値を追加することで行っ
たり、白い紙をカラーイメージスキャナで読み取って、
その読み取った色ベクトルから計算される色度値を追加
することで行ったり、照明光を反映する処理対象物体の
持つ光沢部分の無彩色を抽出して、その抽出した色ベク
トルから計算される色度値を追加することで行う。
When the chromaticity value / brightness of the color vector possessed by the pixel of the object to be processed is stored in the chromaticity value holding memory 23, the color vector detection program 24 executes the processing shown in FIG. First, in step 1, an achromatic chromaticity value indicating a light source characteristic of illumination light is added to the chromaticity value distribution stored in the chromaticity value holding memory 23. In this additional processing, since the achromatic color has a chromaticity value of “r = 0.33, g = 0.33” according to the color vector characteristic of “R = G = B”, this numerical value or a numerical value in the vicinity thereof is added. Or scan white paper with a color image scanner,
By adding the chromaticity value calculated from the read color vector, or extracting the achromatic color of the glossy part of the processing object reflecting the illumination light, the color calculated from the extracted color vector This is done by adding a degree value.

【0050】また、追加する無彩色の色度値の個数につ
いては、処理対象物体の持つ画素数に規定割合値を乗ず
ることで決定される個数や、処理対象物体の持つ非無彩
色領域に属する画素数に規定割合値を乗ずることで決定
される個数を用いることで行う。この前者の方法に従う
と、簡単に追加個数を決定できるという利点がある。し
かし、前者の方法に従っていると、処理対象物体の画素
の示す色度値分布が無彩色領域に偏っている場合に、無
彩色領域の色度値が過剰になることで、その色度値分布
を近似する直線が物体色ベクトルの色度値やその近傍を
通らなくなることで、物体色ベクトルが正確に求まらな
いことが起こる。このため、後者の方法に従って、追加
個数を決定していく方法を用いることもある。
The number of achromatic chromaticity values to be added is determined by multiplying the number of pixels of the object to be processed by a specified ratio value or belongs to the achromatic region of the object to be processed. This is performed by using the number determined by multiplying the number of pixels by the specified ratio value. According to the former method, there is an advantage that the additional number can be easily determined. However, according to the former method, when the chromaticity value distribution indicated by the pixel of the processing target object is biased toward the achromatic region, the chromaticity value of the achromatic region becomes excessive, and the chromaticity value distribution is increased. When the straight line approximating is not passed through the chromaticity value of the object color vector or its vicinity, the object color vector may not be obtained accurately. For this reason, a method of determining the number to be added may be used according to the latter method.

【0051】ステップ1で、色度値保持用メモリ23に
格納される色度値分布に対して無彩色の色度値を追加す
ると、次に、ステップ2で、最小2乗法に従って、追加
により補正された色度値分布を近似する直線を特定す
る。続いて、ステップ3で、照明光ベクトルの色度値が
概略「r=0.33, g=0.33」という値を示すことを考慮
しつつ、先に出願の特願平5-52055号の発明と同様の処
理に従って、この直線上の色度値の頻度分布から、直線
の端点として位置する物体色ベクトルの色度値と照明光
ベクトルの色度値とを検出する。
In step 1, when an achromatic chromaticity value is added to the chromaticity value distribution stored in the chromaticity value holding memory 23, in step 2, correction is performed by addition according to the least squares method. A straight line that approximates the obtained chromaticity value distribution is specified. Subsequently, in Step 3, the chromaticity value of the illumination light vector is substantially the same as that of “r = 0.33, g = 0.33”, and the same as in the invention of Japanese Patent Application No. 5-52055 previously filed. From the frequency distribution of the chromaticity values on the straight line, the chromaticity value of the object color vector and the chromaticity value of the illumination light vector located as the end points of the straight line are detected in accordance with the processing of (1).

【0052】続いて、ステップ4で、色度値保持用メモ
リ23から、ステップ3で検出した物体色ベクトルの色
度値とその近傍の色度値とに対応付けて格納されている
明るさを読み出して、これらの平均値や、これらの内の
最も大きな値を示すものを物体色ベクトルの明るさとし
て検出するとともに、ステップ3で検出した照明光ベク
トルの色度値とその近傍の色度値とに対応付けて格納さ
れている明るさを読み出して、これらの平均値や、これ
らの内の最も大きな値を示すものを照明光ベクトルの明
るさとして検出する。
Subsequently, in step 4, the brightness stored in the chromaticity value holding memory 23 in association with the chromaticity value of the object color vector detected in step 3 and the chromaticity values in the vicinity thereof is stored. It reads out the average value and the one showing the largest value among them is detected as the brightness of the object color vector, and the chromaticity value of the illumination light vector detected in step 3 and the chromaticity value in the vicinity thereof are detected. Then, the brightness stored in association with is read out, and the average value of the brightness values and the one having the largest value are detected as the brightness of the illumination light vector.

【0053】続いて、ステップ5で、ステップ3で検出
した物体色ベクトル/照明光ベクトルの色度値(r,
g)と、ステップ4で検出した物体色ベクトル/照明光
ベクトルの明るさLとから、上述の〔数5〕式に従っ
て、物体色ベクトルと照明光ベクトルとを導出して処理
を終了する。
Subsequently, in step 5, the chromaticity value (r, r) of the object color vector / illumination light vector detected in step 3
g) and the brightness L of the object color vector / illumination light vector detected in step 4, the object color vector and the illumination light vector are derived according to the above-described [Equation 5], and the process is terminated.

【0054】このようにして、色ベクトル検出プログラ
ム24は、図5の処理フローを実行することで、物体の
各画素の持つ色ベクトルの色度値分布を直線で近似する
ことで、その端点として位置する物体色ベクトル/照明
光ベクトルの色度値を検出するとともに、この色度値の
算出元となった物体の画素の持つ色ベクトルから物体色
ベクトル/照明光ベクトルの明るさを検出して、これら
の検出値から物体色ベクトル/照明光ベクトルを検出し
ていく構成を採るときにあって、図9に示すように、照
明光ベクトルの色度値を強制的に色度値分布に追加する
構成を採ることから、光沢等の照明光を求める手がかり
がない場合にあっても、色度値分布を近似する直線が物
体色ベクトルの色度値を通過することが保証されること
になって、高精度に物体色ベクトル/照明光ベクトルを
検出できるようになる。
As described above, the color vector detection program 24 executes the processing flow of FIG. 5 to approximate the chromaticity value distribution of the color vector of each pixel of the object with a straight line, thereby obtaining the end point thereof. The chromaticity value of the located object color vector / illumination light vector is detected, and the brightness of the object color vector / illumination light vector is detected from the color vector of the pixel of the object from which the chromaticity value is calculated. When the configuration is adopted in which the object color vector / illumination light vector is detected from these detection values, the chromaticity value of the illumination light vector is forcibly added to the chromaticity value distribution as shown in FIG. Therefore, even if there is no clue to obtain illumination light such as gloss, it is guaranteed that a straight line approximating the chromaticity value distribution passes through the chromaticity value of the object color vector. High precision It becomes possible to detect the object color vector / illumination light vector.

【0055】次に、色ベクトル検出プログラム24が実
行する図6ないし図8の処理フローについて説明する。
図6の処理フローと図5の処理フローとの違いは、色ベ
クトル検出プログラム24は、図5の処理フローでは、
無彩色の色度値を一度に色度値保持用メモリ23に格納
される色度値分布に対して追加する構成を採っているの
に対して、図6の処理フローでは、無彩色の色度値を持
つデータを1つずつ追加していくとともに、そのときの
色度値分布を近似する直線を特定していって、この特定
した直線が無彩色の色度値の近傍を通過するときには、
その追加処理を停止する構成を採っている点である。
Next, the processing flow of FIGS. 6 to 8 executed by the color vector detection program 24 will be described.
The difference between the processing flow of FIG. 6 and the processing flow of FIG. 5 is that the color vector detection program 24 uses the processing flow of FIG.
In contrast to the configuration in which the chromaticity value of the achromatic color is added to the chromaticity value distribution stored in the chromaticity value holding memory 23 at one time, the processing flow of FIG. When data with chromaticity values are added one by one and a straight line that approximates the chromaticity value distribution at that time is specified, and when the specified straight line passes near the achromatic chromaticity value, ,
The point is that a configuration is adopted in which the additional processing is stopped.

【0056】色ベクトル検出プログラム24は、図7の
処理フローを実行するときには、先ず最初に、ステップ
1で、色度値保持用メモリ23に格納される色度値を1
つ選択し、次に、ステップ2で、ステップ1で選択した
色度値と無彩色の色度値とを結ぶ直線の傾きを算出す
る。続いて、ステップ3で、全ての色度値を選択したの
か否かを判断して、選択していないことを判断するとき
にはステップ1に戻っていくことで、色度値保持用メモ
リ23に格納される処理対象物体の全画素について直線
の傾きを算出する。
When the color vector detection program 24 executes the processing flow of FIG. 7, first, in step 1, the chromaticity value stored in the chromaticity value holding memory 23 is set to 1
Then, in step 2, the gradient of a straight line connecting the chromaticity value selected in step 1 and the achromatic chromaticity value is calculated. Subsequently, in step 3, it is determined whether or not all chromaticity values have been selected. When it is determined that all chromaticity values have not been selected, the process returns to step 1 to store the chromaticity values in the chromaticity value holding memory 23. The inclination of the straight line is calculated for all the pixels of the object to be processed.

【0057】ステップ1ないしステップ3の処理に従っ
て、処理対象物体の全画素について、それらの画素の色
度値と無彩色の色度値とを結ぶ直線の傾きを算出する
と、続いて、ステップ4で、算出した傾きの平均値を算
出することで、色度値保持用メモリ23に格納される色
度値分布を近似する直線を特定する。ここで、平均値の
代わりに中央値や最頻値を用いることも可能である。こ
のときに特定される直線は、必ず無彩色の色度値を通過
することになる。
After calculating the inclination of the straight line connecting the chromaticity values of the pixels and the achromatic chromaticity values for all the pixels of the object to be processed in accordance with the processing of steps 1 to 3, the process proceeds to step 4. By calculating the average value of the calculated inclination, a straight line approximating the chromaticity value distribution stored in the chromaticity value holding memory 23 is specified. Here, a median value or a mode value can be used instead of the average value. The straight line specified at this time always passes through the achromatic chromaticity value.

【0058】以下、ステップ5で、図5の処理フローの
ステップ3と同様の処理に従って物体色ベクトル/照明
光ベクトルの色度値を検出し、ステップ6で、図5の処
理フローのステップ4と同様の処理に従って物体色ベク
トル/照明光ベクトルの明るさを検出し、ステップ7
で、図5の処理フローのステップ5と同様の処理に従っ
て物体色ベクトル/照明光ベクトルを導出する。
Thereafter, in step 5, the chromaticity value of the object color vector / illumination light vector is detected in accordance with the same processing as step 3 in the processing flow of FIG. 5, and in step 6, the chromaticity value of step 4 in the processing flow of FIG. According to the same processing, the brightness of the object color vector / illumination light vector is detected, and step 7 is performed.
Then, an object color vector / illumination light vector is derived according to the same processing as in step 5 of the processing flow of FIG.

【0059】このようにして、色ベクトル検出プログラ
ム24は、図7の処理フローを実行することで、物体の
各画素の持つ色ベクトルの色度値分布を直線で近似する
ことで、その端点として位置する物体色ベクトル/照明
光ベクトルの色度値を検出するとともに、この色度値の
算出元となった物体の画素の持つ色ベクトルから物体色
ベクトル/照明光ベクトルの明るさを検出して、これら
の検出値から物体色ベクトル/照明光ベクトルを検出し
ていく構成を採るときにあって、図10に示すように、
色度値分布を近似する直線が照明光ベクトルの色度値を
強制的に通過する構成を採ることから、光沢等の照明光
を求める手がかりがない場合にあっても、色度値分布を
近似する直線が物体色ベクトルの色度値を通過すること
が保証されることになって、高精度に物体色ベクトル/
照明光ベクトルを検出できるようになる。
As described above, the color vector detection program 24 executes the processing flow of FIG. 7 to approximate the chromaticity value distribution of the color vector of each pixel of the object with a straight line, thereby obtaining the end point thereof. The chromaticity value of the located object color vector / illumination light vector is detected, and the brightness of the object color vector / illumination light vector is detected from the color vector of the pixel of the object from which the chromaticity value is calculated. In the case of adopting a configuration in which an object color vector / illumination light vector is detected from these detection values, as shown in FIG.
Since the straight line approximating the chromaticity value distribution is forced to pass through the chromaticity value of the illumination light vector, the chromaticity value distribution is approximated even when there is no clue to find the illumination light such as gloss. Is guaranteed to pass through the chromaticity value of the object color vector, and the object color vector /
The illumination light vector can be detected.

【0060】また、色ベクトル検出プログラム24は、
図8の処理フローを実行するときには、先ず最初に、ス
テップ1で、無彩色の色度値を回転中心として、複数の
矩形領域を設定する。すなわち、無彩色の色度値を通る
線を中心線にして、その中心線からの距離が規定の幅と
なる矩形領域を複数設定するのである。次に、ステップ
2で、ステップ1で設定した各矩形領域に含まれる色度
値を計数していくことで、ステップ1で設定した各矩形
領域の内で、色度値保持用メモリ23に格納される色度
値分布と最も重複する矩形領域を検索する。
Further, the color vector detection program 24
When the processing flow of FIG. 8 is executed, first, in step 1, a plurality of rectangular areas are set with the achromatic chromaticity value as the rotation center. That is, a line passing through the achromatic chromaticity value is set as a center line, and a plurality of rectangular areas whose distance from the center line has a specified width are set. Next, in step 2, the chromaticity values included in each of the rectangular areas set in step 1 are counted, and the chromaticity values are stored in the chromaticity value holding memory 23 in each of the rectangular areas set in step 1. A rectangular area that most overlaps the chromaticity value distribution to be obtained is searched.

【0061】続いて、ステップ3で、ステップ2で検索
された矩形領域の持つ中心線の直線を特定していくこと
で、色度値保持用メモリ23に格納される色度値分布を
近似する直線を特定する。
Subsequently, in step 3, the chromaticity value distribution stored in the chromaticity value holding memory 23 is approximated by specifying the straight line of the center line of the rectangular area searched in step 2. Identify a straight line.

【0062】以下、ステップ4で、図5の処理フローの
ステップ3と同様の処理に従って物体色ベクトル/照明
光ベクトルの色度値を検出し、ステップ5で、図5の処
理フローのステップ4と同様の処理に従って物体色ベク
トル/照明光ベクトルの明るさを検出し、ステップ6
で、図5の処理フローのステップ5と同様の処理に従っ
て物体色ベクトル/照明光ベクトルを導出する。
Subsequently, in step 4, the chromaticity value of the object color vector / illumination light vector is detected in accordance with the same processing as step 3 in the processing flow of FIG. According to the same processing, the brightness of the object color vector / illumination light vector is detected, and step 6 is performed.
Then, an object color vector / illumination light vector is derived according to the same processing as in step 5 of the processing flow of FIG.

【0063】なお、ステップ1で設定する領域は矩形領
域に限られるものではなく、適切に物体色ベクトルと照
明光ベクトルとを求めることができる自然画を標本とし
て、それらの混色直線の形状の平均等を用いて設定して
いくことも好ましいことである。
The area set in step 1 is not limited to a rectangular area. A natural image from which an object color vector and an illumination light vector can be appropriately obtained is used as a sample, and the average of the shapes of the mixed color straight lines is used. It is also preferable that the setting is made by using the above.

【0064】このようにして、色ベクトル検出プログラ
ム24は、図8の処理フローを実行することで、物体の
各画素の持つ色ベクトルの色度値分布を直線で近似する
ことで、その端点として位置する物体色ベクトル/照明
光ベクトルの色度値を検出するとともに、この色度値の
算出元となった物体の画素の持つ色ベクトルから物体色
ベクトル/照明光ベクトルの明るさを検出して、これら
の検出値から物体色ベクトル/照明光ベクトルを検出し
ていく構成を採るときにあって、図11に示すように、
色度値分布を近似する直線が照明光ベクトルの色度値を
強制的に通過する構成を採ることから、光沢等の照明光
を求める手がかりがない場合にあっても、色度値分布を
近似する直線が物体色ベクトルの色度値を通過すること
が保証されることになって、高精度に物体色ベクトル/
照明光ベクトルを検出できるようになる。
As described above, the color vector detection program 24 executes the processing flow of FIG. 8 to approximate the chromaticity value distribution of the color vector of each pixel of the object with a straight line, thereby obtaining the end point thereof. The chromaticity value of the located object color vector / illumination light vector is detected, and the brightness of the object color vector / illumination light vector is detected from the color vector of the pixel of the object from which the chromaticity value is calculated. In the case of adopting a configuration in which an object color vector / illumination light vector is detected from these detection values, as shown in FIG.
Since the straight line approximating the chromaticity value distribution is forced to pass through the chromaticity value of the illumination light vector, the chromaticity value distribution is approximated even when there is no clue to find the illumination light such as gloss. Is guaranteed to pass through the chromaticity value of the object color vector, and the object color vector /
The illumination light vector can be detected.

【0065】図示実施例について説明したが、本発明は
これに限定されるものではない。例えば、実施例では、
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 RGB color system, the present invention is not limited to this, and other color systems may be used.

【0066】[0066]

【発明の効果】以上説明したように、本発明によれば、
物体の各画素の持つ色ベクトルの色度値分布を直線で近
似することで、その端点として位置する物体色ベクトル
/照明光ベクトルの色度値を検出するとともに、この色
度値の算出元となった物体の画素の持つ色ベクトルから
物体色ベクトル/照明光ベクトルの明るさを検出して、
これらの検出値から物体色ベクトル/照明光ベクトルを
検出していく構成を採るときにあって、光沢等の照明光
を求める手がかりがない場合にあっても、色度値分布を
近似する直線が物体色ベクトルの色度値を通過すること
が保証されることになって、高精度に物体色ベクトル/
照明光ベクトルを検出できるようになるのである。
As described above, according to the present invention,
By approximating the chromaticity value distribution of the color vector of each pixel of the object with a straight line, the chromaticity value of the object color vector / illumination light vector positioned as the end point is detected, and the chromaticity value calculation source and The brightness of the object color vector / illumination light vector is detected from the color vector of the pixel of the changed object,
When adopting a configuration in which the object color vector / illumination light vector is detected from these detection values, even when there is no clue to obtain illumination light such as gloss, a straight line approximating the chromaticity value distribution is obtained. It is guaranteed to pass the chromaticity value of the object color vector, and the object color vector /
This makes it possible to detect the illumination light vector.

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

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

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

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

【図4】色度値算出プログラムの処理フローの一実施例
である。
FIG. 4 is an embodiment of a processing flow of a chromaticity value calculation program.

【図5】色ベクトル検出プログラムの処理フローの一実
施例である。
FIG. 5 is an embodiment of a processing flow of a color vector detection program.

【図6】色ベクトル検出プログラムの処理フローの他の
実施例である。
FIG. 6 is another embodiment of the processing flow of the color vector detection program.

【図7】色ベクトル検出プログラムの処理フローの他の
実施例である。
FIG. 7 is another embodiment of the processing flow of the color vector detection program.

【図8】色ベクトル検出プログラムの処理フローの他の
実施例である。
FIG. 8 is another embodiment of the processing flow of the color vector detection program.

【図9】色ベクトル検出プログラムの実行処理説明図で
ある。
FIG. 9 is an explanatory diagram of an execution process of a color vector detection program.

【図10】色ベクトル検出プログラムの実行処理説明図
である。
FIG. 10 is an explanatory diagram of an execution process of a color vector detection program.

【図11】色ベクトル検出プログラムの実行処理説明図
である。
FIG. 11 is an explanatory diagram of an execution process of a color vector detection program.

【図12】先に出願した発明の説明図である。FIG. 12 is an explanatory diagram of the invention filed earlier.

【図13】先に出願した発明の説明図である。FIG. 13 is an explanatory diagram of the invention filed earlier.

【図14】先に出願した発明の説明図である。FIG. 14 is an explanatory diagram of the invention filed earlier.

【図15】先に出願した発明の説明図である。FIG. 15 is an explanatory diagram of the invention filed earlier.

【図16】先に出願した発明の問題点の説明図である。FIG. 16 is an explanatory diagram of a problem of the invention filed earlier.

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

1 カラー画像処理装置 10 検出色ベクトル格納手段 11 算出手段 12 補正手段 13 特定手段 14 第1の検出手段 15 第2の検出手段 16 導出手段 17 設定手段 18 検索手段 DESCRIPTION OF SYMBOLS 1 Color image processing apparatus 10 Detected color vector storage means 11 Calculating means 12 Correcting means 13 Identifying means 14 First detecting means 15 Second detecting means 16 Deriving means 17 Setting means 18 Searching means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI G06F 15/72 310 (58)調査した分野(Int.Cl.7,DB名) G06T 7/00 G06T 1/00 G06T 5/00 G06T 11/00 H04N 1/387 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 identification code FI G06F 15/72 310 (58) Fields investigated (Int.Cl. 7 , DB name) G06T 7/00 G06T 1/00 G06T 5 / 00 G06T 11/00 H04N 1/387

Claims (9)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 照明光により照明される物体の各画素の
持つ色ベクトルを処理するカラー画像処理装置におい
て、 物体の画素の持つ全ての色ベクトルの色度値、あるい
は、該色ベクトルの内のノイズ成分の少ないものの色度
値を算出する算出手段(11)と、 上記算出手段(11)の算出する色度値分布に、照明光ベク
トルの色度値又はこの近傍の色度値を追加することで該
色度値分布を補正する補正手段(12)と、 上記補正手段(12)の生成する色度値分布を近似する近似
線を特定する特定手段(13)と、 上記特定手段(13)の特定する近似線と、上記補正手段(1
2)の生成する色度値分布とから、物体色ベクトルと照明
光ベクトルのいずれか一方又は双方の色度値を検出する
第1の検出手段(14)と、 上記第1の検出手段(14)の検出結果を参照しつつ、物体
の画素の持つ色ベクトルから、物体色ベクトルと照明光
ベクトルのいずれか一方又は双方の明るさを検出する第
2の検出手段(15)と、 上記第1の検出手段(14)の検出する色度値と、上記第2
の検出手段(15)の検出する明るさとから、物体色ベクト
ルと照明光ベクトルのいずれか一方又は双方を導出する
導出手段(16)とを備えることを、 特徴とするカラー画像処理装置。
1. A color image processing apparatus for processing a color vector of each pixel of an object illuminated by illumination light, wherein the chromaticity values of all the color vectors of the pixel of the object or the chromaticity values of the color vectors Calculating means (11) for calculating the chromaticity value of the one with a small noise component, and adding the chromaticity value of the illumination light vector or a chromaticity value in the vicinity thereof to the chromaticity value distribution calculated by the calculating means (11). Correction means (12) for correcting the chromaticity value distribution by specifying the approximation line approximating the chromaticity value distribution generated by the correction means (12); and ) And the correction means (1
A first detection means (14) for detecting one or both of the object color vector and the illumination light vector from the chromaticity value distribution generated by 2), and the first detection means (14 ), The second detecting means (15) for detecting the brightness of one or both of the object color vector and the illumination light vector from the color vector of the pixel of the object while referring to the detection result of The chromaticity value detected by the detecting means (14)
A color image processing device comprising: a deriving means (16) for deriving one or both of an object color vector and an illumination light vector from the brightness detected by the detecting means (15).
【請求項2】 請求項1記載のカラー画像処理装置にお
いて、 補正手段(12)は、色度値分布の補正のために用いる照明
光ベクトルの色度値として、該照明光ベクトルが無彩色
である場合には、画像センサにより読み取られる無彩色
の色ベクトルより求まるものを用いるよう処理すること
を、 特徴とするカラー画像処理装置。
2. The color image processing apparatus according to claim 1, wherein the correction means (12) uses the illumination light vector as an achromatic color as a chromaticity value of the illumination light vector used for correcting the chromaticity value distribution. In some cases, the color image processing apparatus performs processing to use a color vector obtained from an achromatic color vector read by an image sensor.
【請求項3】 請求項1又は2記載のカラー画像処理装
置において、 補正手段(12)は、物体の画素数から決められる個数分の
照明光ベクトルの色度値を追加していくよう処理するこ
とを、 特徴とするカラー画像処理装置。
3. The color image processing apparatus according to claim 1, wherein the correction means (12) performs processing so as to add the chromaticity values of the illumination light vectors of a number determined from the number of pixels of the object. A color image processing apparatus.
【請求項4】 請求項1又は2記載のカラー画像処理装
置において、 補正手段(12)は、物体の持つ非無彩色領域に属する画素
数から決められる個数分の照明光ベクトルの色度値を追
加していくよう処理することを、 特徴とするカラー画像処理装置。
4. The color image processing device according to claim 1, wherein the correction means (12) calculates the chromaticity values of the illumination light vectors of the number determined by the number of pixels belonging to the achromatic region of the object. A color image processing device characterized by processing to be added.
【請求項5】 請求項1又は2記載のカラー画像処理装
置において、 補正手段(12)は、照明光ベクトルの色度値を順次追加し
ていく構成を採って、特定手段(13)の特定する近似線が
照明光ベクトルの色度値の近傍を通過することになるま
で、この追加処理を続行していくよう処理することを、 特徴とするカラー画像処理装置。
5. The color image processing apparatus according to claim 1, wherein the correction means (12) sequentially adds the chromaticity values of the illumination light vector, and specifies the identification means (13). A color image processing apparatus that performs processing for continuing this additional processing until an approximation line that passes through the vicinity of the chromaticity value of the illumination light vector.
【請求項6】 照明光により照明される物体の各画素の
持つ色ベクトルを処理するカラー画像処理装置におい
て、 物体の画素の持つ全ての色ベクトルの色度値、あるい
は、該色ベクトルの内のノイズ成分の少ないものの色度
値を算出する算出手段(11)と、 照明光ベクトルの色度値又はこの近傍の色度値を通過す
ることを条件としつつ、上記算出手段(11)の算出する色
度値分布を近似する近似線を特定する特定手段(13)と、 上記特定手段(13)の特定する近似線と、上記算出手段(1
1)の算出する色度値分布とから、物体色ベクトルと照明
光ベクトルのいずれか一方又は双方の色度値を検出する
第1の検出手段(14)と、 上記第1の検出手段(14)の検出結果を参照しつつ、物体
の画素の持つ色ベクトルから、物体色ベクトルと照明光
ベクトルのいずれか一方又は双方の明るさを検出する第
2の検出手段(15)と、 上記第1の検出手段(14)の検出する色度値と、上記第2
の検出手段(15)の検出する明るさとから、物体色ベクト
ルと照明光ベクトルのいずれか一方又は双方を導出する
導出手段(16)とを備えることを、 特徴とするカラー画像処理装置。
6. A color image processing apparatus for processing a color vector of each pixel of an object illuminated by illumination light, wherein the chromaticity values of all color vectors of the pixel of the object or A calculating means (11) for calculating a chromaticity value of a component having a small noise component; and a calculating means (11) for calculating the chromaticity value of the illumination light vector on condition that the chromaticity value passes through or near the chromaticity value. Specifying means (13) for specifying an approximation line approximating the chromaticity value distribution; an approximation line specified by the specifying means (13);
A first detection unit (14) for detecting one or both of the object color vector and the illumination light vector from the chromaticity value distribution calculated in 1); and the first detection unit (14). ), The second detecting means (15) for detecting the brightness of one or both of the object color vector and the illumination light vector from the color vector of the pixel of the object while referring to the detection result of The chromaticity value detected by the detecting means (14)
A color image processing device comprising: a deriving means (16) for deriving one or both of an object color vector and an illumination light vector from the brightness detected by the detecting means (15).
【請求項7】 請求項6記載のカラー画像処理装置にお
いて、 特定手段(13)は、算出手段(11)の算出する色度値対応
に、該色度値と照明光ベクトルの色度値とを通過する直
線の傾きを算出する構成を採って、その傾きの代表値を
特定していくことで、算出手段(11)の算出する色度値分
布を近似する近似線を特定していくよう処理すること
を、 特徴とするカラー画像処理装置。
7. The color image processing apparatus according to claim 6, wherein the specifying means (13) determines the chromaticity value and the chromaticity value of the illumination light vector corresponding to the chromaticity value calculated by the calculating means (11). By adopting a configuration that calculates the slope of a straight line passing through, and by specifying a representative value of the slope, an approximation line that approximates the chromaticity value distribution calculated by the calculation unit (11) is specified. Processing, characterized in that it is a color image processing apparatus.
【請求項8】 照明光により照明される物体の各画素の
持つ色ベクトルを処理するカラー画像処理装置におい
て、 物体の画素の持つ全ての色ベクトルの色度値、あるい
は、該色ベクトルの内のノイズ成分の少ないものの色度
値を算出する算出手段(11)と、 照明光ベクトルの色度値又はその近傍の色度値を回転中
心として、特定形状の領域を複数設定する設定手段(17)
と、 上記設定手段(17)の設定する各領域と、上記算出手段(1
1)の算出する色度値分布との重複度合いを評価すること
で、該領域の内で最も高い重複度合いを示すものを検索
する検索手段(18)と、 上記検索手段(18)の検索する領域から、上記算出手段(1
1)の算出する色度値分布を近似する近似線を特定する特
定手段(13)と、 上記特定手段(13)の特定する近似線と、上記算出手段(1
1)の算出する色度値分布とから、物体色ベクトルと照明
光ベクトルのいずれか一方又は双方の色度値を検出する
第1の検出手段(14)と、 上記第1の検出手段(14)の検出結果を参照しつつ、物体
の画素の持つ色ベクトルから、物体色ベクトルと照明光
ベクトルのいずれか一方又は双方の明るさを検出する第
2の検出手段(15)と、 上記第1の検出手段(14)の検出する色度値と、上記第2
の検出手段(15)の検出する明るさとから、物体色ベクト
ルと照明光ベクトルのいずれか一方又は双方を導出する
導出手段(16)とを備えることを、 特徴とするカラー画像処理装置。
8. A color image processing apparatus for processing a color vector of each pixel of an object illuminated by illumination light, wherein the chromaticity values of all the color vectors of the pixel of the object, or the chromaticity values of the color vectors, Calculating means (11) for calculating a chromaticity value of a component having a small noise component; and setting means (17) for setting a plurality of regions of a specific shape with the chromaticity value of the illumination light vector or a chromaticity value in the vicinity thereof as a rotation center.
And each area set by the setting means (17), and the calculation means (1
A search unit (18) that searches for a region having the highest degree of overlap in the area by evaluating the degree of overlap with the chromaticity value distribution calculated in 1), and a search performed by the search unit (18) From the area, the calculation means (1
A specifying means (13) for specifying an approximation line approximating the chromaticity value distribution calculated by (1); an approximation line specified by the specifying means (13);
A first detection unit (14) for detecting one or both of the object color vector and the illumination light vector from the chromaticity value distribution calculated in 1); and the first detection unit (14). ), The second detecting means (15) for detecting the brightness of one or both of the object color vector and the illumination light vector from the color vector of the pixel of the object while referring to the detection result of The chromaticity value detected by the detecting means (14)
A color image processing device comprising: a deriving means (16) for deriving one or both of an object color vector and an illumination light vector from the brightness detected by the detecting means (15).
【請求項9】 請求項8記載のカラー画像処理装置にお
いて、 検索手段(18)は、領域に含まれる色度値の個数を使って
重複度合いを評価するよう処理することを、 特徴とするカラー画像処理装置。
9. The color image processing apparatus according to claim 8, wherein the search means (18) performs processing to evaluate the degree of overlap using the number of chromaticity values included in the area. Image processing device.
JP5198417A 1993-08-10 1993-08-10 Color image processing equipment Expired - Fee Related JP3014249B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5198417A JP3014249B2 (en) 1993-08-10 1993-08-10 Color image processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5198417A JP3014249B2 (en) 1993-08-10 1993-08-10 Color image processing equipment

Publications (2)

Publication Number Publication Date
JPH0757088A JPH0757088A (en) 1995-03-03
JP3014249B2 true JP3014249B2 (en) 2000-02-28

Family

ID=16390771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5198417A Expired - Fee Related JP3014249B2 (en) 1993-08-10 1993-08-10 Color image processing equipment

Country Status (1)

Country Link
JP (1) JP3014249B2 (en)

Also Published As

Publication number Publication date
JPH0757088A (en) 1995-03-03

Similar Documents

Publication Publication Date Title
US5471535A (en) Method for detecting a contour of a given subject to be separated from images and apparatus for separating a given subject from images
US6404936B1 (en) Subject image extraction method and apparatus
US5875040A (en) Gradient based method for providing values for unknown pixels in a digital image
JP3264273B2 (en) Automatic color correction device, automatic color correction method, and recording medium storing control program for the same
US6249601B1 (en) Method for determining color of illuminant and apparatus therefor
EP0635972B1 (en) Automated detection and correction of eye color defects due to flash illumination
US8724917B2 (en) Selecting best image among sequentially captured images
KR20040047834A (en) Image processing to remove red-eye features
US20110057943A1 (en) Balancing Luminance Disparity in a Display by Multiple Projectors
JPH07244782A (en) Cash corner
US7418140B2 (en) Method for auto-cropping a scanned image
US5825916A (en) Illuminant color detection
JP3014249B2 (en) Color image processing equipment
JP2005346474A (en) Image processing method and image processor and program and storage medium
JPH0793535A (en) Picture correction processing method
JP2000092319A (en) Device and method for deciding scratch part on image and storage medium
JP3127598B2 (en) Method for extracting density-varying constituent pixels in image and method for determining density-fluctuation block
JP2696166B2 (en) Fruit and vegetable testing device
JP3183916B2 (en) Color extraction device
JPH09161066A (en) Image processor
JP3074232B2 (en) Color image processing equipment
JPH06266816A (en) Method and device for processing color picture
JPH0773325A (en) Specified image detecting method
JPH0757071A (en) Color image processor
JPH0528263A (en) Color picture processor

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: 19991130

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

Free format text: PAYMENT UNTIL: 20071217

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081217

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091217

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20091217

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20101217

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20111217

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees