JPS63237172A - Method and device for color change of color picture - Google Patents

Method and device for color change of color picture

Info

Publication number
JPS63237172A
JPS63237172A JP62072056A JP7205687A JPS63237172A JP S63237172 A JPS63237172 A JP S63237172A JP 62072056 A JP62072056 A JP 62072056A JP 7205687 A JP7205687 A JP 7205687A JP S63237172 A JPS63237172 A JP S63237172A
Authority
JP
Japan
Prior art keywords
color
image
picture
light source
storage means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62072056A
Other languages
Japanese (ja)
Other versions
JPH0580704B2 (en
Inventor
Joji Tajima
田島 讓二
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP62072056A priority Critical patent/JPS63237172A/en
Publication of JPS63237172A publication Critical patent/JPS63237172A/en
Priority to US07/596,425 priority patent/US5058040A/en
Publication of JPH0580704B2 publication Critical patent/JPH0580704B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To change a color region into a desired color naturally by converting a three primary colors value into an intermediate coordinate value of a two-dimensional color space, and next, calculating the changed three primary colors value. CONSTITUTION:A full color picture is stored in a color picture memory 1, and the contents are displayed on a CRT 3. A mask picture memory 4 stores a mask picture. A color designating means 5 picks up an object color and a light source color in the picture by using the CRT 3 and a pointing device 6, and stores them in an object color storing means 7 and a light source color storing means 8 respectively. An intermediate picture calculating means 9 scans the respective displayed picture of the mask picture, and calculates the intermediate picture from the three primary colors value, stored in the color picture memory 1, and writes it in an intermediate picture memory 10. Next, the intermediate picture, obtained from the intermediate picture memory 10, is given to a changed picture calculating means 13 by the color designating means 5, and changed to the desired three primary colors value.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、カラー画像の色を、自然さを損なわずに変更
する方法及び装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method and apparatus for changing the colors of a color image without impairing their naturalness.

(従来の技術) カラーデザインの分野にCAD(コンピュータ・エイデ
ィノド。デザイン)が適用され、その中で色を変更する
ことが求められている。具体的には、デザインの対象(
例えば自動車)を含む画像を、スキャナやカラーカメラ
でコンピュータ・システムにとり込み、カラーディスプ
レイに表示したのち、この対果の部分の色を変更(例え
ば、元々、赤い自動車のボディーを青色に)することに
より、各種の色にしたときのデザインの結果を、実際に
物を作ることなく予測することが要求される。
(Prior Art) CAD (Computer Aided Design) is applied to the field of color design, and there is a need to change colors within it. Specifically, the object of design (
The process of importing an image containing a car (for example, a car) into a computer system using a scanner or color camera, displaying it on a color display, and then changing the color of the resultant part (for example, changing the body of a car that was originally red to blue). Therefore, it is required to predict the result of a design in various colors without actually making it.

このような目的のため、従来、第3図で示されたような
、ある面の色(最終的にR(赤)、G(緑)、B(青)
、三成分で与えられる)をTVカメラ(モノクロ)で得
られた陰影に応じてつける回路が知られている(繊維と
工業、36巻、6号、1980年、コ、95〜199ペ
ージ)。この場合、物体の色を変化させたい部分を異な
った濃度で塗った濃淡の原画101をモノクロテレビカ
メラ102で入力し、偽信号補正回路103で信号を整
形したのち、んつコンバータ104により、ディジタル
値に変換して各部分を分離し、色彩コントローラ105
によりてR,G、B値を与えカラーエンコーダ106に
よってカラーテレビ信号とする。この段階では、同色部
分は平板な(R,G、B)で示される色となっている。
For this purpose, conventionally, the color of a certain surface (finally R (red), G (green), B (blue)) as shown in Figure 3 has been used.
, given by three components) according to the shadow obtained by a TV camera (monochrome) (Fiber and Industry, Vol. 36, No. 6, 1980, Ko, pp. 95-199). In this case, a gray original image 101 in which the parts of the object whose colors are to be changed are painted with different densities is input to a monochrome television camera 102, the signal is shaped by a false signal correction circuit 103, and then converted into a digital image by a digital converter 104. The color controller 105 converts into values and separates each part.
The R, G, and B values are given by the color encoder 106 and converted into a color television signal. At this stage, the same color portions have colors shown as flat (R, G, B).

これと同時に製品の実物107を原画101と位置を合
わせて、もう一つのモノクロテレビカメラ108により
撮影し、これにより得られる陰影のある画像信号Nと、
先のカラーテレビ信号を陰影合成回路109により合成
する。これにより、カラーテレビ110には陰影のつい
たカラー画像を色を自由に変化させながらシミュレート
できる。
At the same time, the actual product 107 is aligned with the original image 101 and photographed by another monochrome television camera 108, resulting in an image signal N with shadows,
The previous color television signals are synthesized by a shadow synthesis circuit 109. This allows the color television 110 to simulate a color image with shading while freely changing the colors.

このとき、物体の色が(R,G、B)と与えられると、
モノクロカメラから与えられる各画素の明度Nによって
、各画素の色(R’、G’、B’)は次のように求めら
れる。
At this time, if the color of the object is given as (R, G, B),
The color (R', G', B') of each pixel is determined as follows based on the brightness N of each pixel given by the monochrome camera.

ここでNはθ〜1の値をとると考える。Here, it is assumed that N takes a value of θ˜1.

この方法は、[一つの色領域の色は、元々(R,G、B
)という明るい色であり、陰影により暗くなっている部
分がある。」という根拠によっている。言いかえれば、
第4図の3次元色空間で考えたとき、一つの領域の色(
R”、G’、B’)は黒(0,0,0)と物体色(R,
G、B)を結ぶ直線上に乗っていることが仮定されてい
る。
This method [colors in one color area are originally (R, G, B
), and some parts are darker due to shading. ” is the basis. In other words,
When considering the three-dimensional color space shown in Figure 4, the color of one area (
R'', G', B') are black (0, 0, 0) and object color (R,
It is assumed that it is on a straight line connecting G and B).

(本発明が解決しようとする問題点) しかし、実際は、一つの色領域でも、光が照り返して明
るいために、第4図Pのように白に近い位置の色も存在
するのが普通である。しかし、上記の回路では、このよ
うな部分に正しく対応することはできない。
(Problem to be solved by the present invention) However, in reality, even in one color area, because the light reflects back and is bright, it is normal for there to be colors that are close to white, as shown in Figure 4, P. . However, the above circuit cannot properly handle such parts.

本発明は、この問題を解決し、照り返しの部分を持つ画
像の色領域でも自然に色変更を行なう方法及び装置を提
供することを目的としている。
SUMMARY OF THE INVENTION An object of the present invention is to solve this problem and provide a method and apparatus that can naturally change colors even in color areas of images that have reflective parts.

(問題点を解決するための手段) 第1の発明は、カラー画像の対象となる色領域中の6画
素の三原色値を、三次元の色空間において黒色、物体色
、光源色の三色が張る平面上の色を示すと仮定して、二
次元の色空間の中間座標値に変換し、次に該中間座標値
、光源色、新たに与えられた第2の物体色から変更され
た三原色値を計算することにより、上記色領域を所望の
色に自然に変更することを特徴とするカラー画像の色変
更方法である。
(Means for Solving the Problems) The first invention is based on the three primary color values of six pixels in the color area that is the target of a color image, which are the three colors of black, object color, and light source color in a three-dimensional color space. Assuming that the colors on the plane are expressed, the colors are converted to intermediate coordinate values in a two-dimensional color space, and then the intermediate coordinate values, the light source color, and the three primary colors changed from the newly given second object color are This method of changing the color of a color image is characterized in that the color area is naturally changed to a desired color by calculating a value.

また第2の発明は、カラー画像を格納するカラー画像記
憶手段と、該カラー画像の、対象となる色領域の物体色
を記憶する第一の物体色記憶手段と、該カラー画像の光
源色を記憶する光源色記憶手段と、前記カラー画像の対
象となる色領域中の各画素の三原色値を、三次元の色空
間において、黒色、物体色、光源色の三色が張る平面上
の色を示すと仮定して、二次元の色空間の中間座標値に
変換する中間画像計算手段と、該中間画像計算手段によ
って得られる画素値を画像として記憶する中間画像記憶
手段と、前記色領域の色変更後の物体色を記憶する第二
の物体色記憶手段と、該第二の物体色記憶手段に記憶さ
れている物体色と前記光源色によって前記中間画像記憶
手段に記憶されている中間座標値を新しい三原色値に変
換し、前記カラー画像記憶手段に書き込む変更画像計算
手段とから成り、カラー画像の対象となる色領域の色を
自然に変更するカラー画像の色変更装置である。
A second invention also provides a color image storage means for storing a color image, a first object color storage means for storing an object color of a target color region of the color image, and a first object color storage means for storing an object color of a target color region of the color image; A light source color storage means for storing the three primary color values of each pixel in the target color region of the color image, and a color on a plane defined by the three colors of black, object color, and light source color in a three-dimensional color space. intermediate image calculation means for converting into intermediate coordinate values in a two-dimensional color space; intermediate image storage means for storing pixel values obtained by the intermediate image calculation means as images; a second object color storage means for storing a changed object color; and intermediate coordinate values stored in the intermediate image storage means based on the object color stored in the second object color storage means and the light source color. and a changed image calculation means for converting the three primary color values into new three primary color values and writing them into the color image storage means, the color changing device for a color image naturally changing the color of the target color area of the color image.

(作用) 本発明の作用を第5図を参照して説明する。光源120
から物体121に当たって、カメラ122に入る光は、
鏡面反射光123と拡散反射光124に大別できる。鏡
面反射光は、物体の表面で反射するもので、その分光組
成は、光源と同じで、強度だけが変化する。拡散反射光
は、光源の光が物体の中に入射し、物質特有の分光吸収
を受けたのち、等方的に外部に射出されるものである。
(Operation) The operation of the present invention will be explained with reference to FIG. light source 120
The light that hits the object 121 and enters the camera 122 from
The light can be roughly divided into specular reflection light 123 and diffuse reflection light 124. Specular reflected light is reflected from the surface of an object, and its spectral composition is the same as that of the light source, with only the intensity changing. Diffuse reflected light is light from a light source that enters an object, undergoes spectral absorption specific to the material, and is then isotropically emitted to the outside.

拡散反射光の分光組成は光源とは異なっているのが普通
である。そのため、対象面の各点の色の三成分(R,G
、B)は、 と書くことができる。ここで、(RO*GOtBo)は
拡散反射光の三成分であり、物体により異なるので、本
明細書では以降、「物体色」と呼ばれる。
The spectral composition of the diffusely reflected light is usually different from that of the light source. Therefore, the three color components (R, G
, B) can be written as . Here, (RO*GOtBo) is the three components of the diffusely reflected light, and since it differs depending on the object, it is hereinafter referred to as "object color" in this specification.

(Rs、Gs、Bs)は鏡面反射光の三成分であり、光
源の色と等しいので、本明細書では以降[光源色Jと呼
ばれる。α、!3は射出光量に対する拡散反射光、鏡面
反射光の寄与の度合を示しており、表面の材質、方向な
どに関係する。これは、画素毎に異なるので、画素内の
画素位置を(x、y)とすると、と書かれる。このよう
なモデルは、コンピュータ・グラフィクスで利用されて
おり、例えばPhongのモデルによると、 となる(第13回画像工学コンファレンス、1982年
、55〜58ページ)。
(Rs, Gs, Bs) are the three components of specularly reflected light and are equal to the color of the light source, so they will be referred to as [light source color J] hereinafter. α,! 3 indicates the degree of contribution of diffusely reflected light and specularly reflected light to the amount of emitted light, and is related to the surface material, direction, etc. This differs from pixel to pixel, so if the pixel position within a pixel is (x, y), then it is written as: Such models are used in computer graphics, and for example, according to Phong's model, (13th Image Engineering Conference, 1982, pp. 55-58).

ここで、θは表面の法線とカメラの方向のなす角、aは
鏡面反射方向とカメラの方向のなす角、dは拡散反射光
と周囲光の強度の度合を示す定数、W(θ)は、やはり
鏡面反射光の拡散反射光に対する度合を示す項である。
Here, θ is the angle between the surface normal and the camera direction, a is the angle between the specular reflection direction and the camera direction, d is a constant that indicates the intensity of the diffuse reflected light and the ambient light, W(θ) is also a term indicating the degree of specular reflection light relative to diffuse reflection light.

ある対象の表面が式(3)で表わされる場合、同じ材質
で色が異なるものは、物体色のみを(Fto’sGo’
*Bo”)に変更することにより、式(5)のように各
画素値を計算することができる。
When the surface of a certain object is expressed by Equation (3), if objects are made of the same material but have different colors, only the object color is expressed as (Fto'sGo'
*Bo”), each pixel value can be calculated as shown in equation (5).

本発明では、カラー画像内の一つの色領域での各画素の
色は式(3)に従うものと仮定する。これを第6図〜第
8図を参照して説明する。第6図においてカラー画像内
の一つの色領域で色分布200はR,G、B色空間にお
いて、原点O1物体色C6、光源色Csの作る平面内に
含まれる。そして、各画素の色は、0とCoを結ぶ座標
軸αと、OとC5を結ぶ座標軸pにより表わすことがで
きる。この色分布は2つの座標軸α、pを直交座標と見
れば、第7図のようになる。これに対し、物体色のみを
Colに変更することにより、α軸が第8図のα′軸に
変わり、色分布は不変とすることで自然な色変化を得る
ことかできる。
In the present invention, it is assumed that the color of each pixel in one color region in a color image follows equation (3). This will be explained with reference to FIGS. 6 to 8. In FIG. 6, a color distribution 200 in one color area in a color image is included in a plane formed by an origin O1, an object color C6, and a light source color Cs in the R, G, B color space. The color of each pixel can be represented by a coordinate axis α connecting 0 and Co, and a coordinate axis p connecting O and C5. This color distribution becomes as shown in FIG. 7 if the two coordinate axes α and p are viewed as orthogonal coordinates. On the other hand, by changing only the object color to Col, the α axis changes to the α' axis in FIG. 8, and by keeping the color distribution unchanged, a natural color change can be obtained.

これを実現するためには、与えられたカラー画像の色領
を攻に対して、C0,C8を決定し、各画素のa、p値
を求める必要がある。実際には、α=0.又はp=0の
色は存在しないので、画像からC8,C8を正確に求め
ることはできないが、画像中で、最もその色領域の色ら
しい部分(例えば、赤い車体の自動車なら、大変赤く見
える部分)の画像値を読み取ってC0とし、鏡面反射で
真っ白に光って見える部分の画像値を読み取ってCsと
すれば実用上十分である。
In order to realize this, it is necessary to determine C0 and C8 for the color area of a given color image, and to obtain the a and p values of each pixel. Actually, α=0. Or, since there is no color with p=0, it is not possible to accurately determine C8 and C8 from the image, but the part in the image that is most likely to be the color of that color region (for example, in the case of a car with a red body, the part that looks very red) ) is read as C0, and reading the image value of the part that appears pure white due to specular reflection as Cs is sufficient for practical purposes.

各画素のα、13を求めるため便宜上C8及びC8に垂
直な第三の色彩ベクトルcdを、例えばC8とCsのベ
クトル積(外積)として、 cd=coXC8(6) のように定める。このcdをR,G、B空間で式(7)
のよう画像内の各画素の色(R,G、B)は、γを導入
して、と書くことができる。ここでγは、各色のO,、
C,、Coの作る平面からの距離に対応し、対象となる
色領域の画素についてはノイズ分と考えられる。
To obtain α, 13 for each pixel, for convenience, C8 and a third color vector cd perpendicular to C8 are determined as, for example, the vector product (cross product) of C8 and Cs, as follows: cd=coXC8(6). Expression (7) of this cd in R, G, B space
The color (R, G, B) of each pixel in the image can be written by introducing γ. Here, γ is O of each color,
The pixels in the target color area, which correspond to the distance from the plane created by C, , Co, are considered to be noise.

式(8)を逆に解いて、式(9)が成立するため、各画
素について、R,G、B値からα、13.γを求めるこ
とができる。γはノイズ分なので無視してよい。
By reversing equation (8), equation (9) holds true, so for each pixel, α, 13. γ can be found. Since γ is a noise component, it can be ignored.

このようにして、各画素についてαとpが求められる。In this way, α and p are determined for each pixel.

物体色C8をもっていた画像部分をC6′に変換し、こ
の色領域の他の部分もこれに即して、自然に変換するに
は、式(5)を利用すればよいのは先に述べた通りであ
る。
As mentioned earlier, in order to convert the image part that had the object color C8 to C6' and naturally convert the other parts of this color area accordingly, it is sufficient to use equation (5). That's right.

尚、カラー画像の対象とする領域中に鏡面反射と考えら
れる部分がない場合には、C,とじて、ディスプレイ装
置において通常、白と考えられる値(例えば、R,G、
Bそれぞれに8ビツトを割り当てているディスプレイ装
置では、R,=G、=B、=255)を与えても実用上
は差し支えない。
Note that if there is no part that is considered to be specular reflection in the target area of the color image, it will be treated as C, and a value that is normally considered white on a display device (for example, R, G,
In a display device in which 8 bits are assigned to each B, there is no practical problem even if R,=G,=B,=255) are given.

(実施例) 本発明の実施例を第1図及び第2図を参照して説明する
。カラー画像メモリ1には、色変更を行ないたい対象を
含むフルカラー画像が例えば、R,G、B各8ビットの
階調で格納されている。この内容はD/Aコンバータ2
を介して、CRT3にカラー画像として表示される。マ
スク画像メモリ4は、この画像中の、色変更の対象とす
る色領域のマスクを各画素1ビツトで格納している。こ
の関係を第2図に示す。カラー画像メモリ1には、自動
車の他に背景なども含まれている。マスク画像メモリ4
は、この白色変更の対象となる自動車のボディーの部分
にっいてのみ1”で、それ以外の部分については“0”
を値とするマスク画像を持つ。マスク画像は、CRTに
よってカラー画像を観察してから、ボインティング・デ
バイスで輪郭をとり中を塗りつぶすような公知の技術で
既に作られていると仮定する。
(Example) An example of the present invention will be described with reference to FIGS. 1 and 2. In the color image memory 1, a full-color image including an object whose color is to be changed is stored, for example, in R, G, and B gradations of 8 bits each. This content is D/A converter 2
The image is displayed on the CRT 3 as a color image. The mask image memory 4 stores a mask of a color area to be changed in color in this image, with one bit for each pixel. This relationship is shown in FIG. The color image memory 1 includes not only the car but also the background. Mask image memory 4
is 1" only for the parts of the car body that are subject to this white color change, and is "0" for other parts.
It has a mask image whose value is . It is assumed that the mask image has already been created using a known technique such as observing a color image on a CRT, then using a pointing device to outline and fill in the inside.

第1図の色指定手段5は利用者の指示により、CRT3
とボインティング・デバイス6を利用して、画像中から
、物体色C6及び光源色C8をピックアップし、それぞ
れ第一の物体色記憶手段7、光源色記憶手段8に格納す
るものでマイクロコンピュータなどで実現できる。中間
画像計算手段9は、マスク画像メモリ4の各画素を走査
し、値が“1′′である画素に対して、カラー画像メモ
リ1に格納されている(R,G、B)から式(9)に従
って(α、I3)を計算しα、13値を2枚の画像デー
タとして中間画像メモリlOに書き込む。中間画像が完
成した段階で、色変更の準備は整ったことになる。
The color specifying means 5 in FIG.
The object color C6 and the light source color C8 are picked up from the image using the pointing device 6 and are stored in the first object color storage means 7 and the light source color storage means 8, respectively. realizable. The intermediate image calculation means 9 scans each pixel of the mask image memory 4, and calculates the formula (R, G, B) stored in the color image memory 1 for the pixel whose value is "1" by formula ( (α, I3) is calculated according to 9) and the α, 13 values are written into the intermediate image memory IO as two image data.When the intermediate image is completed, preparations for color change are complete.

実際の色変更は、まず利用者が、例えばポインティング
デバイス6やキーボード11から物体色C6の代わりの
新しい物体色C8tのR,G、B値(Ro’+Go’+
Bo’)を色指定手段5に与え、これが第二の物体色記
憶手段12に格納されることにより開始される。変更画
像計算手段13は、やはりマスク画像メモリ4の各画素
を走査し、値が°“1″である画素に対して、中間画像
メモリ10から得られる(α、I3)及びCs5CO’
から式(5)によって新しいR,G、B値である(R’
、G’、B′)を計算し、カラー画像メモリ1に書き込
む。これが、全画素について終了した時点で、カラー画
像メモリ1中のカラー画像の、マスク画像に“1”が立
っている部分の色は所望の色に自然に置き換えられてい
る。
To actually change the color, the user first uses the pointing device 6 or keyboard 11 to change the R, G, and B values (Ro'+Go'+
Bo') is given to the color specifying means 5, and this is stored in the second object color storage means 12, thereby starting the process. The modified image calculation means 13 also scans each pixel of the mask image memory 4, and calculates (α, I3) and Cs5CO' obtained from the intermediate image memory 10 for pixels whose value is "1".
are the new R, G, B values (R'
, G', B') and write them into the color image memory 1. When this is completed for all pixels, the color of the portion of the color image in the color image memory 1 where "1" stands in the mask image has been naturally replaced with the desired color.

(発明の効果) 以上に述べた方法及び装置により、カラー画像中に含ま
れる、本来一定色であるが、陰影や照り返しにより濃淡
のある領域の色を、自然さを損なわず、指定した色に変
更することができる。本発明によりデザインの色を、画
像の周囲の状況を変化させることなく自然に変更して表
示することができるので、実際にその色の製品を作るこ
となく、配色などのチェックを行なうことができ、工業
的、経済的に大きな効果がある。
(Effects of the Invention) With the method and device described above, colors in areas that are originally constant colors but have shading due to shading or reflection can be changed to specified colors without impairing naturalness. Can be changed. According to the present invention, the colors of a design can be changed and displayed naturally without changing the surroundings of the image, so it is possible to check the color scheme etc. without actually making a product with that color. , has great industrial and economic effects.

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

第1図は本発明の実施例を示すブロック図、第2図は第
1図におけるカラー画像メモリとマスク画像メモリの関
係を示す説明図、第3図は従来の装置のブロック図、第
4図は従来の装置の原理の説明図、第5図は本発明の詳
細な説明図、第6図は一つの色領域の色分布を色空間中
に示した説明図、第7図はこれを別の座標系で示した説
明図、第8図は上記色領域の色を本発明により変更した
場合の色分布を色空間中に示した説明図である。 1・、・カラー画像メモリ、 2・・−D/A変換器、
3・・・CRT、  4・・・マスク画像メモリ、5・
・・色指定手段、  6・・・ポインティングデバイス
、7・・・第一の物体色記憶手段、 8・・・光源色記憶手段、9・・・中間画像計算手段、
lO・・・中間画像メモリ、  11・・・キーボード
、12・・・第二の物体色記憶手段、 第1図 キーボード 第2図 マスク画イ象メモリ       カラー画像メモリ第
3図 田 μml 第4図 B↑ 第5図 120光源 第6図 Rノ 第7図 第8図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing the relationship between the color image memory and mask image memory in FIG. 1, FIG. 3 is a block diagram of a conventional device, and FIG. 4 is an explanatory diagram of the principle of the conventional device, FIG. 5 is a detailed explanatory diagram of the present invention, FIG. 6 is an explanatory diagram showing the color distribution of one color region in color space, and FIG. FIG. 8 is an explanatory diagram showing the color distribution in the color space when the colors of the color area are changed according to the present invention. 1. Color image memory, 2.-D/A converter,
3...CRT, 4...Mask image memory, 5...
...Color specifying means, 6. Pointing device, 7. First object color storage means, 8. Light source color storage means, 9. Intermediate image calculation means,
1O... Intermediate image memory, 11... Keyboard, 12... Second object color storage means, Figure 1 Keyboard Figure 2 Mask image memory Color image memory Figure 3 μml Figure 4 B ↑ Fig. 5 120 light source Fig. 6 R Fig. 7 Fig. 8

Claims (1)

【特許請求の範囲】 1、カラー画像の対象となる色領域中の各画素の三原色
値を、三次元の色空間において黒色、物体色、光源色の
三色が張る平面上の色を示すと仮定して二次元の色空間
の中間座標値に変換し、次に該中間座標値、光源色、新
たに与えられた第2の物体色から変更された三原色値を
計算することにより、上記色領域を所望の色に自然に変
更することを特徴とするカラー画像の色変更方法。 2、カラー画像を格納するカラー画像記憶手段と、該カ
ラー画像の対象となる色領域の物体色を記憶する第一の
物体色記憶手段と、該カラー画像の光源色を記憶する光
源色記憶手段と、前記カラー画像の対象となる色領域中
の各画素の三原色値を、三次元の色空間において、黒色
、物体色、光源色の三色が張る平面上の色を示すと仮定
して、二次元の色空間の中間座標値に変換する中間画像
計算手段と、該中間画像計算手段によって得られる画素
値を画像として記憶する中間画像記憶手段と、前記色領
域の色変更後の物体色を記憶する第二の物体色記憶手段
と、該第二の物体色記憶手段に記憶されている物体色と
前記光源色によって前記中間画像記憶手段に記憶されて
いる中間座標値を新しい三原色値に変換し、前記カラー
画像記憶手段に書き込む変更画像計算手段とから成り、
カラー画像の対象となる色領域の色を自然に変更するカ
ラー画像の色変更装置。
[Claims] 1. The three primary color values of each pixel in the target color region of a color image are expressed as colors on a plane defined by the three colors black, object color, and light source color in a three-dimensional color space. The above color is converted into an intermediate coordinate value in a two-dimensional color space, and then the changed three primary color values are calculated from the intermediate coordinate value, the light source color, and the newly given second object color. A method for changing the color of a color image, characterized by naturally changing an area to a desired color. 2. Color image storage means for storing a color image, first object color storage means for storing an object color of a color region that is a target of the color image, and light source color storage means for storing a light source color of the color image. Assuming that the three primary color values of each pixel in the target color region of the color image represent the colors on a plane defined by the three colors of black, object color, and light source color in a three-dimensional color space, intermediate image calculation means for converting into intermediate coordinate values in a two-dimensional color space; intermediate image storage means for storing pixel values obtained by the intermediate image calculation means as images; a second object color storage means for storing, and converting intermediate coordinate values stored in the intermediate image storage means into new three primary color values using the object color stored in the second object color storage means and the light source color; and a modified image calculation means for writing into the color image storage means,
A color changing device for a color image that naturally changes the color of a target color area of a color image.
JP62072056A 1987-03-25 1987-03-25 Method and device for color change of color picture Granted JPS63237172A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP62072056A JPS63237172A (en) 1987-03-25 1987-03-25 Method and device for color change of color picture
US07/596,425 US5058040A (en) 1987-03-25 1990-10-11 Simulation of a change in three-component color values by using two-component color values

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62072056A JPS63237172A (en) 1987-03-25 1987-03-25 Method and device for color change of color picture

Publications (2)

Publication Number Publication Date
JPS63237172A true JPS63237172A (en) 1988-10-03
JPH0580704B2 JPH0580704B2 (en) 1993-11-10

Family

ID=13478345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62072056A Granted JPS63237172A (en) 1987-03-25 1987-03-25 Method and device for color change of color picture

Country Status (1)

Country Link
JP (1) JPS63237172A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02264377A (en) * 1989-04-04 1990-10-29 Nec Corp Coloring system for achromatic object
WO1993012504A1 (en) * 1991-12-18 1993-06-24 Pfu Limited Figure coloring system in a graphic display system
US5317678A (en) * 1989-03-15 1994-05-31 Hitachi, Ltd. Method for changing color of displayed images by use of color components
US5537638A (en) * 1991-10-25 1996-07-16 Hitachi, Ltd. Method and system for image mapping
JP2015153072A (en) * 2014-02-13 2015-08-24 スズカファイン株式会社 Article color scheme design simulator, computer program for the same, computer-readable recording medium recording program and simulation method for article color scheme design

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5317678A (en) * 1989-03-15 1994-05-31 Hitachi, Ltd. Method for changing color of displayed images by use of color components
JPH02264377A (en) * 1989-04-04 1990-10-29 Nec Corp Coloring system for achromatic object
US5537638A (en) * 1991-10-25 1996-07-16 Hitachi, Ltd. Method and system for image mapping
WO1993012504A1 (en) * 1991-12-18 1993-06-24 Pfu Limited Figure coloring system in a graphic display system
GB2275401A (en) * 1991-12-18 1994-08-24 Pfu Ltd Figure coloring system in a graphic display system
GB2275401B (en) * 1991-12-18 1995-11-01 Pfu Ltd A graphic coloring system in a graphic display system
US5535315A (en) * 1991-12-18 1996-07-09 Pfu Limited Graphic coloring system in a graphic-display system having separately stored shape/positional data and color data selectively combinable to form desired images of differing shapes and colors
JP2015153072A (en) * 2014-02-13 2015-08-24 スズカファイン株式会社 Article color scheme design simulator, computer program for the same, computer-readable recording medium recording program and simulation method for article color scheme design

Also Published As

Publication number Publication date
JPH0580704B2 (en) 1993-11-10

Similar Documents

Publication Publication Date Title
US4943938A (en) System for displaying shaded image of three-dimensional object
US5357599A (en) Method and apparatus for rendering polygons
US5877769A (en) Image processing apparatus and method
JPH06231275A (en) Picture simulation method
CA2301607C (en) An improved method and apparatus for per pixel mip mapping and trilinear filtering
JPH0746391B2 (en) Graphic seeding device
US7889208B1 (en) Z-texture mapping system, method and computer program product
US6972758B2 (en) Methods and apparatus for rendering an image including portions seen through one or more objects of the image
JPH10334273A (en) Three-dimension image processing unit and three-dimension image processing method
JPH0434159B2 (en)
US5880735A (en) Method for and apparatus for transparency conversion, image processing system
JP2973573B2 (en) Image conversion device
KR100559127B1 (en) Image processing device
JPS63237172A (en) Method and device for color change of color picture
US6563497B1 (en) Image processing apparatus
JPH0345427B2 (en)
JP2000331175A (en) Method and device for generating border line generating data, recording system, computer readable execution medium stored with data and entertainment system for adding outline to object according to data
JPS63244094A (en) Fast color alteration display method and apparatus for color image
JPH0696231A (en) Method and device for graphic display
JP2590783B2 (en) 3D graphic display device
JPH0935085A (en) Method and device for real-time video generation
JPH04106672A (en) Methods for estimating illuminating condition and for generating three-dimensional information of object and method and device for generating shape and texture of object
JP3235151B2 (en) Image simulation method
JP2518712B2 (en) Method and apparatus for producing high quality rendering drawing in computer graphic
JPH0345428B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071110

Year of fee payment: 14