JPH09258706A - Digital image color adjusting device and method - Google Patents
Digital image color adjusting device and methodInfo
- Publication number
- JPH09258706A JPH09258706A JP8066053A JP6605396A JPH09258706A JP H09258706 A JPH09258706 A JP H09258706A JP 8066053 A JP8066053 A JP 8066053A JP 6605396 A JP6605396 A JP 6605396A JP H09258706 A JPH09258706 A JP H09258706A
- Authority
- JP
- Japan
- Prior art keywords
- color
- change
- pixel
- target image
- rgb value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Color Image Communication Systems (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、ディジタル画像の色
調整装置および方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image color adjusting apparatus and method.
【0002】[0002]
【0003】ディジタル画像の色調整方法には、対象画
像全体に色成分(RGB値)を加算する第1方法、対象
画像から特定色の領域を指定し、指定した領域のRGB
値を所定のRGB値に変更させる第2方法等がある。A color adjusting method for a digital image is a first method of adding color components (RGB values) to the entire target image, and an area of a specific color is designated from the target image, and RGB of the specified area is designated.
There is a second method or the like in which the values are changed to predetermined RGB values.
【0004】第1方法では、試行錯誤によって色調整を
行なうため、所定の特定色を他の所定の特定色にするこ
とが困難であるという問題がある。In the first method, since the color adjustment is performed by trial and error, there is a problem that it is difficult to change a predetermined specific color to another predetermined specific color.
【0005】第2方法では、連続的に色が変化している
場合には、特定色の領域を正確に指定することは困難で
あるとともに、調整後に領域の境界部分の色が不連続と
なり不自然な色になるという問題がある。In the second method, when the color is continuously changing, it is difficult to accurately specify the area of the specific color, and the color of the boundary portion of the area becomes discontinuous after adjustment, resulting in non-uniformity. There is the problem of natural colors.
【0006】[0006]
【発明が解決しようとする課題】この発明は、非常に簡
単な操作で、所定の特定色(基準変更前色)を、他の特
定色(基準変更後色)に変更することができ、しかも、
基準変更前色以外の画素色も、画素色と基準変更前色と
の差に応じて変更されるので、色の境界部分において色
が連続的に変化する画像が得られるディジタル画像の色
調整装置および方法を提供することを目的とする。SUMMARY OF THE INVENTION According to the present invention, a predetermined specific color (color before reference change) can be changed to another specific color (color after reference change) with a very simple operation. ,
Since the pixel colors other than the reference pre-change color are also changed according to the difference between the pixel color and the reference pre-change color, a color adjusting device for a digital image that can obtain an image in which the color continuously changes at the color boundary portion. And to provide a method.
【0007】[0007]
【課題を解決するための手段】この発明によるディジタ
ル画像の色調整装置は、対象画像から色変更を行なうべ
き特定色を、基準変更前色としてポイント指定するため
の基準変更前色指定手段、ポイント指定された基準変更
前色に対する変更後色を、基準変更後色として設定する
ための基準変更後色設定手段、ならびに対象画像の各画
素色を、当該画素色、基準変更前色、基準変更後色およ
び当該画素色と基準変更前色との差に基づいて変更する
色変更手段を備えているものである。In a color adjusting apparatus for a digital image according to the present invention, a pre-reference-change color designating means for designating points of a specific color to be color-changed from a target image as a pre-reference-change color, point. A post-reference-change color setting means for setting a post-change color to a designated pre-reference-change color as a post-reference-change color, and each pixel color of the target image to the corresponding pixel color, pre-reference-change color, and post-reference-change color. A color changing unit that changes based on the color and the difference between the pixel color and the reference pre-change color is provided.
【0008】色変更手段としては、たとえば、対象画像
の各画素色を、当該画素色と基準変更前色との差が小さ
いほど、基準変更後色に近づくように変更するものが用
いられる。As the color changing means, for example, one that changes each pixel color of the target image so that it becomes closer to the color after the reference change as the difference between the pixel color and the color before the reference change is smaller.
【0009】より具体的には、色変更手段としては、対
象画像の任意の画素色をRXY,GXY,BXY、基準変更前
色をR0 ,G0 ,B0 、基準変更後色をR1 ,G1 ,B
1 、調整率をa、上記任意の画素色に対する変更後の画
素色をRXY’,GXY’,BXY’とすると、次の数式7、
8および9に基づいて、上記任意の画素色に対する変更
後の画素色RXY’,GXY’,BXY’を算出する手段、お
よび上記任意の画素色を算出された画素色RXY’,
GXY’,BXY’に変更する手段を備えているものが用い
られる。More specifically, as the color changing means, arbitrary pixel colors of the target image are R XY , G XY and B XY , pre-reference change colors are R 0 , G 0 and B 0 , and post-reference change colors. To R 1 , G 1 , B
1 , the adjustment rate is a, and the pixel color after the change with respect to the arbitrary pixel color is R XY ', G XY ', B XY '
8 and 9, a means for calculating the pixel color R XY ′, G XY ′, B XY ′ after the change for the arbitrary pixel color, and a pixel color R XY ′, which has calculated the arbitrary pixel color.
What has a means for changing to G XY ', B XY ' is used.
【0010】[0010]
【数7】 (Equation 7)
【0011】[0011]
【数8】 (Equation 8)
【0012】[0012]
【数9】 [Equation 9]
【0013】この発明によるディジタル画像の色調整方
法は、対象画像から色変更を行なうべき特定色を、基準
変更前色としてポイント指定する第1ステップ、ポイン
ト指定された基準変更前色に対する変更後色を、基準変
更後色として設定する第2ステップ、ならびに対象画像
の各画素色を、当該画素色、基準変更前色、基準変更後
色および当該画素色と基準変更前色との差に基づいて変
更する第3ステップを備えているものであるThe color adjusting method for a digital image according to the present invention includes a first step of designating a point of a specific color to be color-modified from a target image as a reference pre-change color, and a post-change color of the point-designated reference pre-change color. Based on the pixel color of the target image, the color before the reference change, the color after the reference change, and the difference between the pixel color and the color before the reference change. It has a third step to change
【0014】第3ステップとしては、たとえば、対象画
像の各画素色を、当該画素色と基準変更前色との差が小
さいほど、基準変更後色に近づくように変更するものが
用いられる。As the third step, for example, one in which each pixel color of the target image is changed so as to be closer to the color after the reference change as the difference between the pixel color and the color before the reference change is smaller is used.
【0015】より具体的には、第3ステップとしては、
対象画像の任意の画素色をRXY,G XY,BXY、基準変更
前色をR0 ,G0 ,B0 、基準変更後色をR1 ,G1 ,
B1、調整率をa、上記任意の画素色に対する変更後の
画素色をRXY’,GXY’,B XY’とすると、次の数式1
0、11および12に基づいて、上記任意の画素色に対
する変更後の画素色RXY’,GXY’,BXY’を算出する
ステップ、および上記任意の画素色を算出された画素色
RXY’,GXY’,BXY’に変更するステップを備えてい
るものが用いられる。More specifically, as the third step,
R is the arbitrary pixel color of the target imageXY, G XY, BXY, Standard change
R in front color0, G0, B0, R after changing the standard1, G1,
B1, The adjustment rate is a, after the change for the above arbitrary pixel color
R is the pixel colorXY’, GXY’, B XY’
Based on 0, 11 and 12
Pixel color after change RXY’, GXY’, BXY’Calculate
Step and pixel color calculated from the above arbitrary pixel color
RXY’, GXY’, BXY’
One is used.
【0016】[0016]
【数10】 (Equation 10)
【0017】[0017]
【数11】 [Equation 11]
【0018】[0018]
【数12】 (Equation 12)
【0019】この発明では、非常に簡単な操作で、所定
の特定色(基準変更前色)を、他の特定色(基準変更後
色)に変更することができる。また、基準変更前色以外
の画素色も、画素色と基準変更前色との差に応じて変更
されるので、色の境界部分において色が連続的に変化す
る画像が得られる。According to the present invention, the predetermined specific color (color before reference change) can be changed to another specific color (color after reference change) by a very simple operation. Further, the pixel color other than the reference pre-change color is also changed according to the difference between the pixel color and the reference pre-change color, so that an image in which the color continuously changes at the color boundary portion can be obtained.
【0020】[0020]
【発明の実施の形態】以下、この発明の実施の形態につ
いて説明する。Embodiments of the present invention will be described below.
【0021】色調整装置は、操作者がパーソナルコンピ
ュータ等に表示された対象画像中の特定色(以下、基準
変更前色という)の画素をポイント指定するとともに変
更後の色(以下、基準変更後色という)をカラーエディ
タ画面によって設定することにより、基準変更前色を基
準変更後色に変更させる装置である。対象画像中のポイ
ント指定された画素以外の各画素色は、当該画素色、基
準変更前色、基準変更後色および当該画素色と基準変更
前色との差に基づいて決定された色にそれぞれ変更せし
められる。In the color adjusting device, the operator designates a pixel of a specific color (hereinafter, referred to as a color before the reference is changed) in the target image displayed on a personal computer or the like, and the changed color (hereinafter, after the reference is changed). This is a device for changing the color before the reference change to the color after the reference change by setting the color) on the color editor screen. Each pixel color other than the point-designated pixel in the target image is a color determined based on the pixel color, the color before the reference change, the color after the reference change, and the difference between the pixel color and the color before the reference change. Can be changed.
【0022】図1は、色調整装置の構成を機能的に示し
ている。FIG. 1 functionally shows the structure of the color adjusting apparatus.
【0023】色調整領域選択手段2は、画像表示手段1
によって表示されている画像から、色調整領域(以下、
色調整対象画像という)を選択するためのものである。
この色調整領域選択手段2は、たとえば、表示された画
像に2つの物体画像が含まれている場合に、一方の物体
画像を選択するような場合に使用される。The color adjustment area selection means 2 is the image display means 1.
From the image displayed by, the color adjustment area (hereinafter,
This is for selecting a color adjustment target image).
The color adjustment area selection means 2 is used, for example, when one of the object images is selected when the displayed image contains two object images.
【0024】基準変更前色指定手段3は、色調整領域選
択手段2によって選択された色調整対象画像において、
色を変更したい特定色(基準変更前色)の画素をポイン
ト指定するためのものである。The pre-reference-change color designating means 3 sets the color adjustment target image selected by the color adjustment area selecting means 2 to
This is for designating a point of a pixel of a specific color (color before reference change) whose color is to be changed.
【0025】基準変更前色RGB値測定手段4は、ポイ
ント指定された画素のRGB値を測定するものである。
つまり、基準変更前色のRGB値(R0 ,G0 ,B0 )
が測定される。The pre-reference color RGB value measuring means 4 measures the RGB value of the pixel designated by the point.
That is, the RGB value (R 0 , G 0 , B 0 ) of the color before the reference change
Is measured.
【0026】カラーエディタ表示手段5は、基準変更前
色に対する変更後色(基準変更後色)および調整率aを
設定するために、カラーチャートを含むカラーエディタ
画面を表示するものである。The color editor display means 5 displays a color editor screen including a color chart in order to set the changed color (reference changed color) and the adjustment rate a with respect to the reference pre-change color.
【0027】基準変更後色指定手段6は、表示されたカ
ラーエディタ画面に基づいて、基準変更前色に対する変
更後色(基準変更後色)および調整率aを指定するもの
である。カラーエディタ表示手段5および基準変更後色
指定手段6によって、基準変更後色および調整率aが設
定される。The post-reference-change color designating means 6 designates the post-change color (the post-reference-change color) and the adjustment rate a with respect to the pre-reference-change color based on the displayed color editor screen. The color after the reference change and the adjustment rate a are set by the color editor display means 5 and the after-reference change color designating means 6.
【0028】基準変更後色RGB値算出手段7は、基準
変更後色指定手段6によって指定された基準変更後色の
RGB値(R1 ,G1 ,B1 )を算出するものである。
変更後画素色RGB値算出手段8は、色調整対象画像内
の各画素色の変更後のRGB値(RXY’,GXY’,
BXY’)を、画素色(RXY,GXY,BXY)と基準変更前
色のRGB値(R0 ,G0 ,B0 )との差と、基準変更
後色のRGB値(R 1 ,G1 ,B1 )と、調整率aとに
基づいて算出するものである。After the reference is changed, the color RGB value calculating means 7
Of the standard color after the change designated by the changed color designation means 6
RGB value (R1, G1, B1) Is calculated.
The changed pixel color RGB value calculation unit 8
RGB value (RXY’, GXY’,
BXY') To the pixel color (RXY, GXY, BXY) And before changing standards
RGB value of color (R0, G0, B0) And the standard change
RGB value of the rear color (R 1, G1, B1) And the adjustment rate a
It is calculated based on.
【0029】色変更画像表示手段9は、色調整対象画像
の各画素の色(RXY,GXY,BXY)を、変更後画素色R
GB値算出手段8によって算出された各画素色の変更後
のRGB値(RXY’,GXY’,BXY’)に応じた色に変
更して表示するものである。The color change image display means 9 changes the color (R XY , G XY , B XY ) of each pixel of the color adjustment target image to the pixel color R after the change.
The color is changed and displayed in accordance with the RGB value (R XY ', G XY ', B XY ') after the change of each pixel color calculated by the GB value calculating means 8.
【0030】図2は、カラーエディタ表示手段5によっ
て表示されるカラーエディタ画面の一例を示している。FIG. 2 shows an example of a color editor screen displayed by the color editor display means 5.
【0031】カラーエディタ画面は、様々に色相がカラ
ー表示されかつ基準変更後色の色相を指定するための色
相パレット21、色相パレット21から選択された色相
であって、様々な彩度および明度を有する色がカラー表
示され、基準変更後色を指定するためのカラーチャート
22、基準変更前色がカラー表示される基準変更前色表
示部23、カラーチャート22から指定された基準変更
後色がカラー表示される基準変更後色表示部24、調整
率aを指定するためのボタン25、26、ボタン25、
26によって指定されたaが直観的に分かるように表示
されるグラフ表示部27を含んでいる。The color editor screen is a hue palette 21 for displaying various hues in color and for designating the hue of the color after the reference change, and a hue selected from the hue palette 21. The color chart 22 for displaying the colors that the user has, the color chart 22 for designating the color after the standard change, the pre-reference color display area 23 for displaying the color before the standard change in color, and the color after the standard change designated from the color chart 22 for the color The color display section 24 after the reference change, the buttons 25, 26 for designating the adjustment rate a, the button 25,
It includes a graph display unit 27 for displaying a designated by 26 such that it can be intuitively understood.
【0032】カラーチャート22に表示される色は、横
軸方向に彩度が変化し、縦軸方向に明度が変化してい
る。色相パレット21からの色相の指定は、マウスによ
って三角形(△)のポインタP1を移動させることによ
り行なわれる。カラーチャート22からの基準変更後色
の指定は、マウスによって四角形(□)のポインタP1
を移動させかつクリックすることにより行なわれる。The color displayed on the color chart 22 has the saturation changed in the horizontal axis direction and the lightness changed in the vertical axis direction. The designation of the hue from the hue palette 21 is performed by moving the triangle (Δ) pointer P1 with the mouse. To specify the color after changing the standard from the color chart 22, use the mouse to specify a square (□) pointer P1.
By moving and clicking.
【0033】グラフ表示部27に表示されるグラフは左
右対称の山型の正規曲線状であり、指定された調整率a
が大きい場合には(a=a1)、図3にg1で示すよう
に山の幅が大きくなり、指定されたaが小さくなると
(a=a2)、図3にg2で示すように幅が狭くなる。The graph displayed on the graph display unit 27 is a symmetrical mountain-shaped normal curve and has a specified adjustment rate a.
Is large (a = a1), the width of the mountain becomes large as shown by g1 in FIG. 3, and when the designated a becomes small (a = a2), the width becomes narrow as shown by g2 in FIG. Become.
【0034】図4は、色調整処理手順を示している。FIG. 4 shows a color adjustment processing procedure.
【0035】まず、画像表示手段1によって画像が表示
される(ステップ1)。First, an image is displayed by the image display means 1 (step 1).
【0036】操作者は、画像表示手段1によって表示さ
れている画像から色調整領域を選択する必要があるか否
かを判断し、色調整領域を選択する必要がある場合に
は、色調整領域選択手段2を用いて色調整領域を選択す
る。たとえば、選択ツールを用いて色調整対象画像を選
択する。The operator judges whether or not it is necessary to select a color adjustment area from the image displayed by the image display means 1, and when it is necessary to select the color adjustment area, the color adjustment area is selected. A color adjustment area is selected using the selection unit 2. For example, a color adjustment target image is selected using a selection tool.
【0037】色調整領域が選択された場合には(ステッ
プ2でYES)、選択領域が色調整領域として認識され
る(ステップ3)。色調整領域が選択されなかった場合
には、表示画像全体が色調整領域として認識される(ス
テップ4)。When the color adjustment area is selected (YES in step 2), the selected area is recognized as the color adjustment area (step 3). If the color adjustment area is not selected, the entire display image is recognized as the color adjustment area (step 4).
【0038】この後、操作者は、基準変更前色指定手段
3を用いて、色調整対象画像中から色を変更したい特定
色(基準変更前色)の画素をポイント指定する。たとえ
ば、基準変更前色の画素にマウスでポインタを移動させ
た後、クリックする。このようにして、基準変更前色の
画素が指定されると(ステップ5)、基準変更前色RG
B値測定手段4によって基準変更前色のRGB値
(R0 ,G0 ,B0 )が測定される(ステップ6)。After that, the operator uses the pre-reference-change color designating means 3 to designate the point of the pixel of the specific color (pre-reference-change color) whose color is to be changed from the color adjustment target image. For example, after moving the pointer to the pixel of the color before the reference change with the mouse, click. In this way, when the pixel of the color before the reference change is designated (step 5), the color RG before the reference change is specified.
The RGB value (R 0 , G 0 , B 0 ) of the color before the reference change is measured by the B value measuring means 4 (step 6).
【0039】次に、操作者の操作によって、カラーエデ
ィタ表示手段5によってカラーチャートを含むカラーエ
ディタ画面が表示される(ステップ7)。Next, in response to the operator's operation, the color editor display means 5 displays a color editor screen including a color chart (step 7).
【0040】操作者は、基準変更後色指定手段6を用
い、カラーエディタに基づいて基準変更前色に対する変
更後色(基準変更後色)を指定するとともに調整率aを
指定する。The operator uses the post-reference-change color designating means 6 to designate the post-change color (the post-reference-change color) with respect to the pre-reference-change color based on the color editor, and also designates the adjustment rate a.
【0041】このようにして、基準変更後色および調整
率が指定されると(ステップ8)、基準変更後色RGB
値算出手段7によって基準変更後色のRGB値(R1 ,
G1,B1 )が算出される(ステップ9)。In this way, when the reference-changed color and the adjustment rate are designated (step 8), the reference-changed color RGB
The RGB value (R 1 , R 1 ,
G 1 , B 1 ) is calculated (step 9).
【0042】そして、変更後画素色RGB値算出手段8
によって、色調整対象画像内の各画素色に対する変更後
のRGB値(RXY’,GXY’,BXY’)が、画素色(R
XY,GXY,BXY)と基準変更前色のRGB値(R0 ,G
0 ,B0 )との差と、基準変更後色のRGB値(R1 ,
G1 ,B1 )と、調整率aとに基づいて算出される(ス
テップ10)。Then, the changed pixel color RGB value calculation means 8
The RGB values (R XY ', G XY ', B XY ') after the change for each pixel color in the color adjustment target image are
XY , G XY , B XY ) and RGB values (R 0 , G) of the color before the reference change
0 , B 0 ) and the RGB value (R 1 ,
G 1 and B 1 ) and the adjustment rate a are calculated (step 10).
【0043】つまり、色調整対象画像内の各画素色の変
更後のRGB値(RXY’,GXY’,BXY’)は、次の数
式13、14、15に基づいて算出される。That is, the RGB values (R XY ′, G XY ′, B XY ′) after the change of each pixel color in the color adjustment target image are calculated based on the following formulas 13, 14, and 15.
【0044】[0044]
【数13】 (Equation 13)
【0045】[0045]
【数14】 [Equation 14]
【0046】[0046]
【数15】 色調整対象画像内の画素色の変更後のRGB値が算出さ
れる毎に、色変更画像表示手段9によって、当該画素の
色が算出されたRGB値に変更される(ステップ1
1)。(Equation 15) Each time the RGB value after the change of the pixel color in the color adjustment target image is calculated, the color change image display means 9 changes the color of the pixel to the calculated RGB value (step 1).
1).
【0047】そして、色調整対象画像内の全ての画素に
対して、ステップ10、11の処理が行なわれると(ス
テップ12でYES)、色調整処理は終了する。。When the processes of steps 10 and 11 are performed for all the pixels in the color adjustment target image (YES in step 12), the color adjustment process ends. .
【0048】上記数式13〜15から分かるように、画
素色(RXY,GXY,BXY)が基準変更前色である場合に
は、画素色(RXY,GXY,BXY)と基準変更前色のRG
B値(R0 ,G0 ,B0 )との差Dは”0”となり、e
-(1/a)D は”1”となる。したがって、画素色(RXY,
GXY,BXY)が基準変更前色(R0 ,G0 ,B0 )であ
る画素は、基準変更後色(R1 ,G1 ,B1 )となる。As can be seen from the above equations 13 to 15, when the pixel color (R XY , G XY , B XY ) is the color before the reference change, the pixel color (R XY , G XY , B XY ) and the reference color RG of the color before change
The difference D from the B value (R 0 , G 0 , B 0 ) is “0”, and e
-(1 / a) D becomes "1". Therefore, the pixel color (R XY ,
A pixel in which G XY , B XY ) is the color before reference change (R 0 , G 0 , B 0 ) becomes the color after reference change (R 1 , G 1 , B 1 ).
【0049】また、画素色(RXY,GXY,BXY)と基準
変更前色のRGB値(R0 ,G0 ,B0 )との差Dが大
きくなるほどe-(1/a)D は”0”に近づき、差Dが小さ
くなるほどe-(1/a)D は”1”に近づく。したがって、
基準変更前色のRGB値(R 0 ,G0 ,B0 )に遠い色
の画素(RXY,GXY,BXY)は、元の画素色(RXY,G
XY,BXY)に近い色となる。逆に、基準変更前色のRG
B値(R0 ,G0 ,B 0 )に近い色の画素(RXY,
GXY,BXY)は、基準変更後色(R1 ,G1 ,B1)に
近くなる。The pixel color (RXY, GXY, BXY) And standards
RGB value (R0, G0, B0) Is large D
E-(1 / a) DApproaches "0" and the difference D is small
E-(1 / a) DApproaches "1". Therefore,
RGB value (R 0, G0, B0) Far color
Pixel (RXY, GXY, BXY) Is the original pixel color (RXY, G
XY, BXY) Is close to the color. On the contrary, the RG of the color before the standard change
B value (R0, G0, B 0) Close to the pixel (RXY,
GXY, BXY) Is the color (R1, G1, B1)
Get closer.
【0050】また、画素色(RXY,GXY,BXY)と基準
変更前色のRGB値(R0 ,G0 ,B0 )との差Dが同
じ場合には、調整率aが小さくなるほどe-(1/a)D は”
0”に近づき、調整率aが大きくなるほどe
-(1/a)D は”1”に近づく。このため、調整率aを小さ
く設定すると、画素色(RXY,GXY,BXY)と基準変更
前色のRGB値(R0 ,G0 ,B0 )との差Dが実際の
差よりも大きくなったように見做されるので、基準変更
前色以外の画素色については色の変更度合いが小さくな
る。逆に、調整率aを大きく設定すると、画素色
(RXY,GXY,BXY)と基準変更前色のRGB値
(R0 ,G0 ,B0 )との差Dが実際の差よりも小さく
なったように見做されるので、基準変更前色以外の画素
色については色の変更度合いが大きくなる。When the difference D between the pixel color (R XY , G XY , B XY ) and the RGB value (R 0 , G 0 , B 0 ) of the color before the reference change is the same, the adjustment rate a is small. I see e- (1 / a) D is "
As the adjustment ratio a approaches 0 "and the adjustment rate a increases, e
-(1 / a) D approaches "1". Therefore, when the adjustment rate a is set small, the difference D between the pixel color (R XY , G XY , B XY ) and the RGB value (R 0 , G 0 , B 0 ) of the color before the reference change is smaller than the actual difference. Is also considered to be large, the degree of color change is small for pixel colors other than the reference pre-change color. On the contrary, when the adjustment rate a is set large, the difference D between the pixel color (R XY , G XY , B XY ) and the RGB value (R 0 , G 0 , B 0 ) of the color before the reference change is larger than the actual difference. Since it is considered that the pixel color becomes smaller, the degree of color change becomes larger for the pixel colors other than the pre-reference-change color.
【0051】したがって、基準変更前色に近い画素色の
み変更したい場合には、調整率aが小さく設定され、基
準変更前色から遠い画素色をも変更したい場合には、調
整率aが大きく設定される。Therefore, when only the pixel color close to the color before the reference change is desired to be changed, the adjustment rate a is set small, and when the pixel color far from the color before the reference change is also to be changed, the adjustment rate a is set large. To be done.
【0052】上記実施の形態では、非常に簡単な操作
で、所定の特定色(基準変更前色(R 0 ,G0 ,
B0 ))を、他の特定色(基準変更後色(R1 ,G1 ,
B1 ))に変更することができる。また、基準変更前色
以外の各画素色(RXY,GXY,BXY)も、当該画素色
(RXY,GXY,BXY)と基準変更前色(R0 ,G0 ,B
0 )との差に応じて変更されるので、色の境界部分にお
いて色が連続的に変化する画像が得られる。In the above embodiment, the operation is very simple.
Then, the predetermined specific color (the color before the standard change (R 0, G0,
B0)) To other specific colors (colors after changing the standard (R1, G1,
B1)) Can be changed. Also, the color before the standard change
Each pixel color other than (RXY, GXY, BXY) Is also the pixel color
(RXY, GXY, BXY) And the color before the standard change (R0, G0, B
0) Is changed according to the difference between the
An image with continuously changing colors is obtained.
【0053】[0053]
【発明の効果】この発明によれば、非常に簡単な操作
で、所定の特定色(基準変更前色)を、他の特定色(基
準変更後色)に変更することができ。しかも、基準変更
前色以外の画素色も、画素色と基準変更前色との差に応
じて変更されるので、色の境界部分において色が連続的
に変化する画像が得られる。According to the present invention, a predetermined specific color (color before reference change) can be changed to another specific color (color after reference change) by a very simple operation. Moreover, the pixel color other than the reference pre-change color is also changed according to the difference between the pixel color and the reference pre-change color, so that an image in which the color continuously changes at the color boundary portion can be obtained.
【図1】色調整装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a color adjustment device.
【図2】カラーエディタ画面の一例を示す模式図であ
る。FIG. 2 is a schematic diagram showing an example of a color editor screen.
【図3】調整率のグラフ表示を示す模式図である。FIG. 3 is a schematic diagram showing a graph display of an adjustment rate.
【図4】色調整手順を示すフローチャートである。FIG. 4 is a flowchart showing a color adjustment procedure.
1 画像表示手段 2 色調整領域選択手段 3 基準変更前色指定手段 4 基準変更前色RGB値測定手段 5 カラーエディタ表示手段 6 基準変更後色指定手段 7 基準変更後色RGB値算出手段 8 変更後画素色RGB値算出手段 9 色変更画像表示手段 1 image display means 2 color adjustment area selection means 3 pre-change color specification means 4 pre-change color RGB value measurement means 5 color editor display means 6 post-change color specification means 7 post-change color RGB value calculation means 8 after change Pixel color RGB value calculation means 9 color changed image display means
フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/46 G06F 15/66 310 H04N 1/46 C Continuation of front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location H04N 1/46 G06F 15/66 310 H04N 1/46 C
Claims (6)
を、基準変更前色としてポイント指定するための基準変
更前色指定手段、 ポイント指定された基準変更前色に対する変更後色を、
基準変更後色として設定するための基準変更後色設定手
段、ならびに対象画像の各画素色を、当該画素色、基準
変更前色、基準変更後色および当該画素色と基準変更前
色との差に基づいて変更する色変更手段、 を備えているディジタル画像の色調整装置。1. A pre-reference-change color designating means for designating points of a specific color to be color-changed from a target image as a pre-reference-change color, and a post-change color for the point-designated standard pre-change color,
After-reference-color setting means for setting as the after-reference-change color, and each pixel color of the target image, the pixel color, the before-reference-change color, the after-reference-change color, and the difference between the pixel color and the before-reference-change color A color adjusting device for a digital image, comprising:
当該画素色と基準変更前色との差が小さいほど、基準変
更後色に近づくように変更するものである請求項1に記
載のディジタル画像の色調整装置。2. The color changing means sets each pixel color of the target image to
2. The color adjusting device for a digital image according to claim 1, wherein the smaller the difference between the pixel color and the color before the reference change, the closer to the color after the reference change.
BXY、基準変更前色をR0 ,G0 ,B0 、基準変更後色
をR1 ,G1 ,B1 、調整率をa、上記任意の画素色に
対する変更後の画素色をRXY’,GXY’,BXY’とする
と、 色変更手段は、次の数式1、2および3に基づいて、上
記任意の画素色に対する変更後の画素色RXY’,
GXY’,BXY’を算出する手段、および上記任意の画素
色を算出された画素色RXY’,GXY’,BXY’に変更す
る手段を備えている請求項1および2のいずれかに記載
のディジタル画像の色調整装置。 【数1】 【数2】 【数3】 3. An arbitrary pixel color of a target image is set to R XY , G XY ,
B XY , R 0 , G 0 , B 0 for the color before the reference change, R 1 , G 1 , B 1 for the color after the reference change, the adjustment rate a, and the pixel color after the change for the arbitrary pixel color is R XY Assuming “, G XY ”, and B XY ”, the color changing means calculates the pixel color R XY ′, after the change with respect to the arbitrary pixel color, based on the following formulas 1, 2, and 3.
G XY ', B XY' means for calculating, and the arbitrary pixel pixel color R XY, which is calculated color ', G XY', one of the claims 1 and 2 is provided with a means for changing the B XY ' A digital image color adjustment apparatus according to claim 1. [Equation 1] [Equation 2] (Equation 3)
を、基準変更前色としてポイント指定する第1ステッ
プ、 ポイント指定された基準変更前色に対する変更後色を、
基準変更後色として設定する第2ステップ、ならびに対
象画像の各画素色を、当該画素色、基準変更前色、基準
変更後色および当該画素色と基準変更前色との差に基づ
いて変更する第3ステップ、 を備えているディジタル画像の色調整方法。4. A first step of designating points of a specific color to be color-modified from a target image as a standard pre-change color, and a post-modification color for the designated standard pre-change color,
The second step of setting as the color after the reference change, and each pixel color of the target image is changed based on the pixel color, the color before the reference change, the color after the reference change, and the difference between the pixel color and the color before the reference change. A color adjusting method for a digital image, comprising: a third step.
を、当該画素色と基準変更前色との差が小さいほど、基
準変更後色に近づくように変更するものである請求項4
に記載のディジタル画像の色調整方法。5. The third step is to change each pixel color of the target image so that the smaller the difference between the pixel color and the color before the reference change, the closer to the color after the reference change.
A method for color adjustment of a digital image according to.
BXY、基準変更前色をR0 ,G0 ,B0 、基準変更後色
をR1 ,G1 ,B1 、調整率をa、上記任意の画素色に
対する変更後の画素色をRXY’,GXY’,BXY’とする
と、 第3ステップは、次の数式4、5および6に基づいて、
上記任意の画素色に対する変更後の画素色RXY’,
GXY’,BXY’を算出するステップ、および上記任意の
画素色を算出された画素色RXY’,GXY’,BXY’に変
更するステップを備えている請求項4および5のいずれ
かに記載のディジタル画像の色調整方法。 【数4】 【数5】 【数6】 6. An arbitrary pixel color of a target image is set to R XY , G XY ,
B XY , R 0 , G 0 , B 0 for the color before the reference change, R 1 , G 1 , B 1 for the color after the reference change, the adjustment rate a, and the pixel color after the change for the arbitrary pixel color is R XY Assuming “, G XY ”, B XY ”, the third step is based on the following equations 4, 5 and 6:
The pixel color R XY 'after the change with respect to the arbitrary pixel color,
G XY ', B XY' step for calculating a, and the arbitrary pixel pixel color R XY, which is calculated color ', G XY', one of the claims 4 and 5 comprises a step of changing the B XY ' A method for adjusting the color of a digital image according to claim 1. (Equation 4) (Equation 5) (Equation 6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8066053A JPH09258706A (en) | 1996-03-22 | 1996-03-22 | Digital image color adjusting device and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8066053A JPH09258706A (en) | 1996-03-22 | 1996-03-22 | Digital image color adjusting device and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH09258706A true JPH09258706A (en) | 1997-10-03 |
Family
ID=13304756
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8066053A Pending JPH09258706A (en) | 1996-03-22 | 1996-03-22 | Digital image color adjusting device and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH09258706A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1998042142A1 (en) * | 1997-03-14 | 1998-09-24 | Sony Corporation | Color correction device, color correction method, picture processing device, and picture processing method |
| WO2006049290A1 (en) * | 2004-11-01 | 2006-05-11 | Canon Kabushiki Kaisha | Image processing apparatus and image processing method |
| US7599551B2 (en) | 2003-11-14 | 2009-10-06 | Mitsubishi Denki Kabushiki Kaisha | Color correction device and color correction method |
| US7715047B2 (en) | 2006-02-17 | 2010-05-11 | Seiko Epson Corporation | Image editing device |
-
1996
- 1996-03-22 JP JP8066053A patent/JPH09258706A/en active Pending
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1998042142A1 (en) * | 1997-03-14 | 1998-09-24 | Sony Corporation | Color correction device, color correction method, picture processing device, and picture processing method |
| US6504551B1 (en) | 1997-03-14 | 2003-01-07 | Sony Corporation | Color correction device, color correction method, picture processing device, and picture processing method |
| US7599551B2 (en) | 2003-11-14 | 2009-10-06 | Mitsubishi Denki Kabushiki Kaisha | Color correction device and color correction method |
| WO2006049290A1 (en) * | 2004-11-01 | 2006-05-11 | Canon Kabushiki Kaisha | Image processing apparatus and image processing method |
| JP2006157892A (en) * | 2004-11-01 | 2006-06-15 | Canon Inc | Image processing apparatus and image processing method |
| KR100899150B1 (en) * | 2004-11-01 | 2009-05-27 | 캐논 가부시끼가이샤 | Image processing apparatus and image processing method |
| US7859545B2 (en) | 2004-11-01 | 2010-12-28 | Canon Kabushiki Kaisha | Image processing apparatus and image processing method |
| US7715047B2 (en) | 2006-02-17 | 2010-05-11 | Seiko Epson Corporation | Image editing device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3219511B2 (en) | Graphic user interface device and color control correction system | |
| US5218671A (en) | Image color correction system and method | |
| US20080079746A1 (en) | Method and device of obtaining a color temperature point | |
| EP2056591B1 (en) | Image processing apparatus | |
| US20100259551A1 (en) | White balance correction method | |
| JP3708280B2 (en) | Nonlinearity calculation method, gamma correction method, and program recording medium | |
| JP2013239971A (en) | Color processing device and color adjustment method | |
| WO1999056088A1 (en) | Method to estimate the white point on a display device | |
| US20040104920A1 (en) | Image display method for mobile terminal in image distribution system, and image conversion apparatus and mobile terminal using the method | |
| US20060238832A1 (en) | Display system | |
| WO2011081362A2 (en) | Image-color-correcting method using a multi-touch screen | |
| US7671871B2 (en) | Graphical user interface for color correction using curves | |
| CN116486735B (en) | Color display correction method, device, equipment, medium and product for display screen | |
| JPH09258706A (en) | Digital image color adjusting device and method | |
| JP2009141803A (en) | Image processing apparatus and image processing method | |
| US20060125844A1 (en) | Method of automatically processing an image and an apparatus using the method | |
| KR100816635B1 (en) | Method for color management on a display device | |
| TW202018693A (en) | Method for adjusting uniformity of image color tones and system thereof | |
| JP2008147889A (en) | Image processing apparatus and method | |
| JP2950003B2 (en) | Image processing device | |
| JP2000231624A (en) | Image processing apparatus, image processing method, and storage medium | |
| JP6833304B2 (en) | Measurement method, measurement system, display device, computer program | |
| JPH03121571A (en) | Color picture processor | |
| KR20000010958A (en) | Color correction device, color correction method, picture processing device, and picture processing method | |
| JP2008139709A (en) | Color processing apparatus and method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040427 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20040907 |