JP2003162714A - Device and method for correcting color and medium with color correction control program recorded thereon - Google Patents

Device and method for correcting color and medium with color correction control program recorded thereon

Info

Publication number
JP2003162714A
JP2003162714A JP2002215373A JP2002215373A JP2003162714A JP 2003162714 A JP2003162714 A JP 2003162714A JP 2002215373 A JP2002215373 A JP 2002215373A JP 2002215373 A JP2002215373 A JP 2002215373A JP 2003162714 A JP2003162714 A JP 2003162714A
Authority
JP
Japan
Prior art keywords
color
chromaticity
color correction
pixels
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002215373A
Other languages
Japanese (ja)
Inventor
Naoki Kuwata
直樹 鍬田
Yoshihiro Nakami
至宏 中見
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002215373A priority Critical patent/JP2003162714A/en
Publication of JP2003162714A publication Critical patent/JP2003162714A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a color correcting device and method capable of automatically executing optimal color correction processing with stored colors taken into consideration and a medium with a color correction control program recorded thereon. <P>SOLUTION: A computer 21 constituting the center of color correction calculates the x-y chromaticity of each pixel by a step S110, and when the chromaticity is within the possible range of the chromaticity of a skin color, the computer 21 totals those pixels by steps S120 and S130, and calculates the mean value of the totaled results of all the pixels by a step S160, and calculates color correction quantity with the number of pixels taken into consideration by a step S170. Thus, it is possible to accurately total the pixels of colors to be corrected without being affected by the brightness, and to execute the optimal color correction without substantially affecting the colors of the peripheral pixels by adjusting the correction quantity with the number of pixels taken into consideration. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル写真画像
のような実写画像データに対して最適な色修正を実行す
る色修正装置、色修正方法および色修正制御プログラム
を記録した媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color correction device, a color correction method, and a medium having a color correction control program recorded therein, which performs optimum color correction on real image data such as a digital photographic image.

【0002】[0002]

【従来の技術】ディジタル画像データに対して各種の色
修正処理が行われている。例えば、RGBの各要素色ご
とに強調させたり、弱めたりするといった処理である。
なお、便宜上、強める処理も弱める処理も含めて強調処
理と呼ぶ。これらの処理は、通常、マイクロコンピュー
タで実行可能となっており、操作者がモニタ上で画像を
確認して修正を要する要素色を選択しつつ、強調程度の
パラメータなどを決定している。
2. Description of the Related Art Various color correction processes are performed on digital image data. For example, it is a process of emphasizing or weakening each of the RGB element colors.
For the sake of convenience, the process of strengthening and the process of weakening are both referred to as emphasis processing. Usually, these processes can be executed by a microcomputer, and the operator checks the image on the monitor and selects the element color that needs to be corrected, while determining parameters such as the degree of emphasis.

【0003】[0003]

【発明が解決しようとする課題】近年、画像処理で色修
正することが容易になり、広く利用されるようになって
きている。しかしながら、どの要素色をどの程度強調す
るかとなると、依然、人間が関与しなければならない。
これは、色修正処理の対象となるディジタル画像データ
において、色のずれが目立つ部分がどこであるのかを判
断することができなかったためである。
In recent years, color correction by image processing has become easy and has become widely used. However, when it comes to which element color and how much to emphasize, humans must still be involved.
This is because, in the digital image data that is the target of the color correction processing, it was not possible to determine where the portion where the color shift is noticeable was.

【0004】例えば、建物の色であれば本来の色が分か
らない限り色のずれは分からないものの、人の肌の色と
いうようなものは概ね想像がつき、操作者は写真画像の
中の人の肌の色が自然な感じとなるように色修正する。
For example, in the case of the color of a building, the color shift is not known unless the original color is known. However, the skin color of a person is almost imaginable, and the operator is the person in the photograph image. Correct the skin color so that it looks natural.

【0005】ここで、さらにやっかいなのは人間の記憶
色という要素である。レモンを被写体とした場合、測色
計で測定した実物の色と写真の色が一致していたとして
も、対比させない限り写真の色が少しくすんでいるよう
に見える。これは人間の感覚としてレモンの色は鮮やか
な色であると記憶されているのに対し、実物はそこまで
鮮やかでないからである。従って、たとえ本来の色調に
修正できたとしても、それだけでは満足できない。記憶
色としては肌色であるとか、木々の緑色であるとか青空
のブルーなどが上げられる。
What is more troublesome here is the element of human memory color. When the subject is a lemon, even if the actual color measured by the colorimeter and the color of the photograph match, the color of the photograph looks a little dull unless contrasted. This is because, as a human sense, the color of lemon is remembered to be vivid, whereas the real thing is not so vivid. Therefore, even if the original color tone can be corrected, that is not enough. Memories can be flesh tones, greens of trees, and blue sky.

【0006】一方、人間が関与して色修正する場合、肌
色を記憶色どおりに合わせてしまうと、他の色がずれて
くることになるので、肌色が記憶色どおりにならなくて
も妥当な範囲となるように強調程度を決定する。
On the other hand, in the case where human beings are involved in color correction, if the flesh color is matched with the memorized color, other colors will be displaced, so it is appropriate even if the flesh color does not match the memorized color. The degree of emphasis is determined so that it is within the range.

【0007】このように、従来の色修正処理では本来の
色との比較ができないので自動的に修正することもでき
ないし、たとえ、修正できたとしても人間の記憶色によ
って満足を得られにくく、結局は人間が関与しなければ
ならないという課題があった。
As described above, since the conventional color correction processing cannot compare with the original color, it cannot be automatically corrected, and even if it is corrected, it is difficult to satisfy the human color. In the end, there was the problem that humans had to be involved.

【0008】本発明は、上記課題にかんがみてなされた
もので、記憶色を考慮しながら自動的に最適な色修正処
理を実行することが可能な色修正装置、色修正方法およ
び色修正制御プログラムを記録した媒体の提供を目的と
する。
The present invention has been made in view of the above problems, and a color correction device, a color correction method, and a color correction control program capable of automatically executing optimum color correction processing in consideration of a memory color. The purpose is to provide a medium on which is recorded.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、カラー画像を所定の要素
色ごとに色分解するとともに強弱を表した色画像データ
に基づいて画像出力装置が各要素色ごとに画像出力を行
うことによりカラー画像を出力するにあたって画像出力
結果が好みの色となるように上記色画像データを修正す
る色修正装置であって、上記色画像データに基づいて各
画素の色度を求める色度判断手段と、この色度判断手段
によって求められた色度が所定範囲内である画素につい
て集計を行なう対象色度画素集計手段と、上記所定範囲
の色度の画素についての予め定められた最適値と上記集
計結果との差を解消するような色修正量を求めつつ、集
計した画素が全画素に占める割合に応じて同色修正量を
補正する色修正量判定手段と、補正して求められた色修
正量に基づいて上記画像データを色修正する色修正手段
とを具備する構成としてある。
In order to achieve the above object, the invention according to claim 1 separates a color image for each predetermined element color and at the same time outputs an image output device based on color image data representing strength and weakness. Is a color correction device that corrects the color image data so that the image output result becomes a desired color when a color image is output by performing image output for each element color, based on the color image data. Chromaticity determining means for obtaining the chromaticity of each pixel, target chromaticity pixel totalizing means for totalizing pixels whose chromaticity determined by the chromaticity determining means is within a predetermined range, and chromaticity within the predetermined range. A color correction amount judgment that corrects the same color correction amount according to the ratio of the totaled pixels to all pixels while obtaining the color correction amount that eliminates the difference between the predetermined optimum value for pixels and the above totalization result. And means, based on the color correction amount determined by correcting it is constituted comprising a color correction means for color correcting the image data.

【0010】上記のように構成した請求項1にかかる発
明においては、色度判断手段が色画像データに基づいて
各画素の色度を求める。色度は色の刺激値の絶対的な割
合を表しており、明るさには左右されない。従って、画
像の中の重要な部分(これをオブジェクトと呼ぶ)を色
度の取りうる範囲によって分けることができる。例え
ば、肌色の取りうる範囲であるとか、木々の緑色の取り
うる範囲といったものである。色度についてはこのよう
なことが言えるので、対象色度画素集計手段は色度判断
手段によって求められた色度が所定範囲内である場合に
ついてその画素について集計を行なう。上述した例でい
えば、求められた色度が肌色の取りうる色度の範囲内に
入っていればその画素を集計対象とする。集計の具体的
内容は平均値、メジアン等各種のものが可能であるが、
画像の中の全画素について色度が所定範囲に入っている
ものだけを集計することは、ちょうど、人間が肌色らし
い画素に注目してその平均的な色を判断するのに対応す
る。
In the invention according to claim 1 configured as described above, the chromaticity determining means determines the chromaticity of each pixel based on the color image data. Chromaticity represents the absolute ratio of color stimulus values and is independent of brightness. Therefore, an important part of the image (this is called an object) can be divided according to the range of chromaticity. For example, the range that can be taken by the skin color or the range that can be taken by the green color of the trees. Since this can be said about the chromaticity, the target chromaticity pixel totaling means totals the pixels when the chromaticity determined by the chromaticity determining means is within a predetermined range. In the above-mentioned example, if the obtained chromaticity is within the range of chromaticity that the skin color can take, the pixel is targeted for aggregation. The specific contents of the aggregation can be various values such as average value and median,
Summing up only the pixels whose chromaticity is within the predetermined range for all the pixels in the image corresponds to the fact that a person pays attention to a pixel that seems to be flesh color and judges its average color.

【0011】従って、次に行うのはそれが記憶色と一致
するか否かを判断することであり、色修正量判定手段は
所定範囲の色度の画素についての予め定められた最適値
と上記集計結果との差を解消するような色修正量を求め
る。ただし、この色修正量をそのまま適用したとする
と、肌色だけは記憶色どおりになるものの、他の色の部
分でのずれが許容できなくなる。従って、色修正量判定
手段は集計した画素が全画素に占める割合に応じて同色
修正量を補正する。これにより、肌色部分の色修正が他
の部分の色を過度に変えてしまわないような調整が行わ
れることになる。そして、色修正手段は補正して求めら
れた色修正量に基づいて上記画像データを色修正する。
Therefore, what is next to be done is to judge whether or not it matches the stored color, and the color correction amount judging means determines the optimum value and the predetermined optimum value for the pixels having the chromaticity within the predetermined range. A color correction amount that eliminates the difference from the count result is calculated. However, if this color correction amount is applied as it is, only the flesh color will be the same as the memorized color, but the deviation in the other color portions will be unacceptable. Therefore, the color correction amount determination means corrects the same color correction amount according to the ratio of the totaled pixels to all pixels. As a result, adjustment is performed so that the color correction of the skin color portion does not excessively change the color of other portions. Then, the color correction means corrects the color of the image data based on the color correction amount obtained by the correction.

【0012】色度判断手段は各画素の色画像データから
色度を求めるものであり、元の色画像データが採用する
色空間の座標系などを考慮して色度に変換すればよい。
この場合、色度自体が直接的な要素となっていればそれ
を利用すればよいし、直接的な要素でなければ変換す
る。変換は変換テーブルを利用するものであってもよい
し、変換式で求めるものであってもよい。この場合、必
ずしも正確である必要はなく、影響の少ない誤差を含む
ものであっても構わない。
The chromaticity determining means determines the chromaticity from the color image data of each pixel, and may be converted into the chromaticity in consideration of the coordinate system of the color space adopted by the original color image data.
In this case, if the chromaticity itself is a direct element, it may be used, or if it is not a direct element, it is converted. The conversion may use a conversion table or may be calculated by a conversion formula. In this case, it does not necessarily have to be accurate, and may include an error with a small influence.

【0013】対象色度画素集計手段は求められた色度が
所定範囲内であるか判断し、所定範囲内である画素につ
いて集計を行なえばよい。この場合、必ずしもある範囲
内であるか否かという二者択一の判断である必要はな
く、重み付けを変えて集計するものでも構わない。ま
た、集計手法は極めて多岐にわたるものの、演算量など
を考慮した一例として、請求項2にかかる発明は、請求
項1に記載の色修正装置において、上記対象色度画素集
計手段は、対象画素と判断された各画素について上記色
画像データの要素色毎について平均的値を集計し、上記
色修正量判定手段は、上記所定の範囲の色度となる色画
像データについて要素色毎の最適値を備えた構成として
ある。
The target chromaticity pixel totaling means may determine whether the calculated chromaticity is within a predetermined range, and totalize the pixels within the predetermined range. In this case, it is not always necessary to make a binary decision as to whether or not it is within a certain range, and weighting may be changed and aggregation may be performed. Further, although the totaling method is extremely diverse, as an example in which the calculation amount is taken into consideration, the invention according to claim 2 is the color correction device according to claim 1, wherein the target chromaticity pixel totaling means sets the target pixel as a target pixel. For each determined pixel, the average value is summed up for each element color of the color image data, and the color correction amount determination means determines the optimum value for each element color for the color image data having the chromaticity in the predetermined range. It is provided as a configuration.

【0014】上記のように構成した請求項2にかかる発
明においては、対象色度画素集計手段は対象画素と判断
された各画素について上記色画像データの要素色毎につ
いて平均的値を集計する。色度としての集計でも良いも
のの、色画像データの要素色を利用して集計する。一
方、色修正量判定手段についても、これに対応して上記
所定の範囲の色度となる色画像データについて要素色毎
の最適値を備えているので、要素色毎の比較をそのまま
行え、その差を要素色の修正量として利用できる。
In the invention according to claim 2 configured as described above, the target chromaticity pixel totaling means totals an average value for each element color of the color image data for each pixel determined to be the target pixel. Although it may be calculated as chromaticity, it is calculated using the element colors of the color image data. On the other hand, the color correction amount determining means also has the optimum value for each element color with respect to the color image data having the chromaticity in the predetermined range correspondingly, so that the comparison for each element color can be performed as it is. The difference can be used as the correction amount of the element color.

【0015】むろん、集計手法としては演算量は増える
もののこれ以外にもメジアンであったり、標準偏差など
を利用することも可能である。
Needless to say, although the amount of calculation increases as a totaling method, it is also possible to use median or standard deviation in addition to this.

【0016】対象色度画素集計手段が集計対象とする色
度の範囲について、請求項3にかかる発明は、請求項1
または請求項2のいずれかに記載の色修正装置におい
て、上記対象色度画素集計手段は、記憶色についての色
度が取りうる範囲を対象として画素の集計を行う構成と
してある。
With respect to the range of chromaticity to be aggregated by the target chromaticity pixel aggregating means, the invention according to claim 3 is directed to claim 1
Alternatively, in the color correction apparatus according to any one of claims 2 to 5, the target chromaticity pixel totaling unit is configured to total pixels for a range in which chromaticity of a memory color can be taken.

【0017】上記のように構成した請求項3にかかる発
明においては、いわゆる人間の記憶色が含まれる色度が
取りうる範囲を対象として画素の集計が行われる。この
場合、必ずしも一つの範囲だけで一つの集計結果を得る
必要はなく、複数の範囲を指定して複数の集計を個別に
行なうものでも構わない。
In the invention according to claim 3 configured as described above, pixels are aggregated in a range in which chromaticity that includes so-called human memory colors can be taken. In this case, it is not always necessary to obtain one totaling result in only one range, and a plurality of ranges may be designated and a plurality of totaling may be individually performed.

【0018】色修正量判定手段は所定範囲の色度の画素
についての予め定められた最適値と上記集計結果との差
を解消するような色修正量を求めるとともに、集計した
画素が全画素に占める割合に応じて同色修正量を補正す
る。この場合、必ずしも二段階の処理を行う必要はな
く、同様の結果が得られればよい。例えば、集計段階で
最適値と集計結果の差を反映するようなものを得るよう
にしておけばそれを利用したり、全画素に対する割合が
含まれた結果を得られていればそれを利用するだけでも
構わない。また、最適値と集計結果との差は必ずしも減
算という演算を要するものではなく、内在的にそのよう
な意図が含まれるものであればよい。
The color correction amount determination means obtains a color correction amount that eliminates a difference between a predetermined optimum value for pixels having a chromaticity within a predetermined range and the above-mentioned totaling result, and the totaled pixels are all pixels. The correction amount for the same color is corrected according to the proportion occupied. In this case, it is not always necessary to perform the two-step processing, and similar results may be obtained. For example, if you obtain something that reflects the difference between the optimum value and the aggregation result at the aggregation stage, use it, or use it if a result that includes the ratio to all pixels is obtained. I don't care. Further, the difference between the optimum value and the totalized result does not necessarily require a calculation of subtraction, and may be one that inherently includes such an intention.

【0019】色修正量についても各種の態様が可能であ
り、その一例として、請求項4にかかる発明は、請求項
1〜請求項3のいずれかに記載の色修正装置において、
上記色修正量判定手段は、各要素色の強弱程度を変化さ
せるにあたって入出力関係を表すトーンカーブを利用す
るとともに、上記修正量に応じたトーンカーブを形成す
る構成としてある。
Various modes are possible for the color correction amount. As an example, the invention according to claim 4 is the color correction device according to any one of claims 1 to 3,
The color correction amount determination means is configured to use a tone curve representing an input / output relationship when changing the intensity of each element color and to form a tone curve corresponding to the correction amount.

【0020】上記のように構成した請求項4にかかる発
明においては、色修正量判定手段が修正量に応じたトー
ンカーブを形成し、このトーンカーブに従って、色修正
手段は各要素色の入出力関係が同トーンカーブで表され
るような関係となるように強弱程度を変化させる。
In the invention according to claim 4 configured as described above, the color correction amount determination means forms a tone curve according to the correction amount, and the color correction means inputs and outputs each element color according to the tone curve. The strength is changed so that the relationship is represented by the same tone curve.

【0021】色度が所定範囲内にある画素について集計
し、集計結果を色修正量に反映させる手法は、必ずしも
実体のある装置に限られる必要もなく、その一例とし
て、請求項5にかかる発明は、カラー画像を所定の要素
色ごとに色分解するとともに強弱を表した色画像データ
に基づいて画像出力装置が各要素色ごとに画像出力を行
うことによりカラー画像を出力するにあたって画像出力
結果が好みの色となるように上記色画像データを修正す
る色修正方法であって、上記色画像データに基づいて各
画素の色度を求める工程と、この求められた色度が所定
範囲内である画素について集計を行なう工程と、上記所
定範囲の色度の画素についての予め定められた最適値と
上記集計結果との差を解消するような色修正量を求めつ
つ、集計した画素が全画素に占める割合に応じて同色修
正量を補正する工程と、補正して求められた色修正量に
基づいて上記画像データを色修正する工程とを具備する
構成としてある。
The method of totalizing pixels having chromaticity within a predetermined range and reflecting the totalized result in the color correction amount does not necessarily have to be limited to an actual apparatus, and an example thereof is the invention according to claim 5. Is a color image is separated into each predetermined element color, and the image output device outputs an image for each element color based on the color image data indicating the strength and weakness. A color correction method for correcting the color image data so as to obtain a desired color, the step of obtaining the chromaticity of each pixel based on the color image data, and the obtained chromaticity is within a predetermined range. While the step of totalizing the pixels and obtaining the color correction amount that eliminates the difference between the predetermined optimum value for the pixels having the chromaticity within the predetermined range and the total result, A step of correcting the amount of the same color modified according to a percentage of pixels, based on the corrected color correction amount determined by some as structure and a step of color correcting the image data.

【0022】すなわち、必ずしも実体のある装置に限ら
ず、その方法としても有効であることに相違はない。
That is, there is no difference that the method is not limited to a substantial device and is effective as a method.

【0023】ところで、上述したように色度を判断して
色修正処理する色修正装置は単独で存在する場合もある
し、ある機器に組み込まれた状態で利用されることもあ
るなど、発明の思想としては各種の態様を含むものであ
る。また、ハードウェアで実現されたり、ソフトウェア
で実現されるなど、適宜、変更可能である。
By the way, as described above, the color correction apparatus for judging the chromaticity and performing the color correction processing may exist alone or may be used in a state of being incorporated in a certain device. The idea includes various aspects. Further, it can be changed as appropriate, such as being realized by hardware or software.

【0024】発明の思想の具現化例として色修正装置を
制御するソフトウェアとなる場合には、かかるソフトウ
ェアを記録した記録媒体上においても当然に存在し、利
用されるといわざるをえない。
When it comes to software for controlling a color correction device as an example of embodying the idea of the invention, it must be said that it naturally exists on a recording medium recording such software and is used.

【0025】その一例として、請求項6にかかる発明
は、カラー画像を所定の要素色ごとに色分解するととも
に強弱を表した色画像データに基づいて画像出力装置が
各要素色ごとに画像出力を行うことによりカラー画像を
出力するにあたってコンピュータにて画像出力結果が好
みの色となるように上記色画像データを修正する色修正
制御プログラムを記録した媒体であって、上記色画像デ
ータに基づいて各画素の色度を求め、この求められた色
度が所定範囲内である画素について集計を行ない、上記
所定範囲の色度の画素についての予め定められた最適値
と上記集計結果との差を解消するような色修正量を求め
つつ、集計した画素が全画素に占める割合に応じて同色
修正量を補正し、補正して求められた色修正量に基づい
て上記画像データを色修正する構成としてある。
As an example thereof, in the invention according to claim 6, the color image is color-separated for each predetermined element color, and the image output device outputs the image for each element color based on the color image data showing the strength. A medium for recording a color correction control program for correcting the above-mentioned color image data so that the image output result becomes a desired color when outputting a color image by performing the above-mentioned, based on the above-mentioned color image data. The chromaticity of the pixel is obtained, and the pixels having the obtained chromaticity within a predetermined range are totalized to eliminate the difference between the predetermined optimum value and the totalized result for the pixels having the chromaticity within the predetermined range. While correcting the color correction amount as described above, the same color correction amount is corrected according to the ratio of the total pixels to all pixels, and the image data is corrected based on the corrected color correction amount. There is a configuration that you want to modify.

【0026】むろん、その記録媒体は、磁気記録媒体で
あってもよいし光磁気記録媒体であってもよいし、今後
開発されるいかなる記録媒体においても全く同様に考え
ることができる。また、一次複製品、二次複製品などの
複製段階については全く問う余地無く同等である。その
他、供給方法として通信回線を利用して行う場合でも本
発明が利用されていることには変わりないし、半導体チ
ップに書き込まれたようなものであっても同様である。
Of course, the recording medium may be a magnetic recording medium or a magneto-optical recording medium, and any recording medium developed in the future can be considered in exactly the same manner. In addition, the duplication stage of the primary duplication product, the secondary duplication product, and the like is absolutely the same. In addition, the present invention is used even when a communication line is used as a supply method, and the same applies to a case where the present invention is written in a semiconductor chip.

【0027】さらに、一部がソフトウェアであって、一
部がハードウェアで実現されている場合においても発明
の思想において全く異なるものはなく、一部を記録媒体
上に記憶しておいて必要に応じて適宜読み込まれるよう
な形態のものとしてあってもよい。
Further, even when a part is software and a part is realized by hardware, there is no difference in the idea of the invention, and it is necessary to store a part on a recording medium. It may be in such a form that it is read as appropriate.

【0028】[0028]

【発明の効果】以上説明したように本発明は、色度を利
用して集計することにより、人間の判断に近くなり、色
修正処理を自動化することが可能な色修正装置を提供す
ることができる。
As described above, the present invention can provide a color correction device which can approximate the judgment of a human and can automate the color correction processing by totaling using the chromaticity. it can.

【0029】また、請求項2にかかる発明によれば、色
度で集計対象か否かを判断するものの、集計するのは色
画像データの要素色であるので、集計結果を利用する場
合の演算などが行いやすくなる。
Further, according to the second aspect of the present invention, whether or not the object to be totalized is judged by the chromaticity, but since it is the element colors of the color image data that are totaled, the calculation when using the totalized result And so on.

【0030】さらに、請求項3にかかる発明によれば、
記憶色についての画素について集計することにより、修
正の反映度も画素数に応じた調整が行われ、より人間の
判断に近くなる。
Further, according to the invention of claim 3,
By summing up the pixels of the memory color, the reflection degree of the correction is adjusted according to the number of pixels, and becomes closer to human judgment.

【0031】さらに、請求項4にかかる発明によれば、
トーンカーブを利用するので他の要素の色修正などを総
合的に加味しやすくなる。この場合、記憶色の部分を理
想的な色に近づけるだけでなく、隣接した色領域を連続
的に変化させるので、トーンジャンプによる疑似輪郭が
生じることもない。
Further, according to the invention of claim 4,
Since the tone curve is used, it is easy to comprehensively add color corrections to other elements. In this case, not only the memory color portion is approximated to an ideal color, but also adjacent color areas are continuously changed, so that a pseudo contour due to a tone jump does not occur.

【0032】さらに、請求項5にかかる発明によれば、
同様の効果を発揮する色修正方法を提供でき、請求項6
にかかる発明によれば、色修正制御プログラムを記録し
た媒体を提供できる。
Further, according to the invention of claim 5,
A color correction method that exhibits the same effect can be provided, and
According to the present invention, it is possible to provide a medium in which the color correction control program is recorded.

【0033】[0033]

【発明の実施の形態】以下、図面にもとづいて本発明の
実施形態を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0034】図1は、本発明の一実施形態にかかる色修
正装置を適用した色修正システムをブロック図により示
しており、図2は具体的ハードウェア構成例を概略ブロ
ック図により示している。
FIG. 1 is a block diagram showing a color correction system to which a color correction device according to an embodiment of the present invention is applied, and FIG. 2 is a schematic block diagram showing a concrete hardware configuration example.

【0035】図1において、画像入力装置10は写真な
どをドットマトリクス状の画素として表した色画像デー
タを色修正装置20へ出力し、同色修正装置20は同色
画像データに応じた最適な色修正処理を実行する。同色
修正装置20は色修正処理した色画像データを画像出力
装置30へ出力し、画像出力装置は色修正された画像を
ドットマトリクス状の画素で出力する。ここにおいて、
色修正装置20が出力する色画像データは、各画素の色
度に基づいて画像の対象と色とを判断するとともに、全
体との兼ね合いで最適な色修正の方針と程度を決定して
色修正したものである。このため、色修正装置20は、
色度判断手段と、対象色度画素集計手段と、色修正量判
定手段と、色修正手段とを備えている。
In FIG. 1, an image input device 10 outputs color image data representing a photograph or the like as pixels in a dot matrix to a color correction device 20, and the same color correction device 20 performs optimum color correction according to the same color image data. Execute the process. The same-color correction device 20 outputs the color image data subjected to the color correction process to the image output device 30, and the image output device outputs the color-corrected image as pixels in a dot matrix. put it here,
The color image data output by the color correction device 20 determines the object and color of the image based on the chromaticity of each pixel, and determines the optimal color correction policy and degree in consideration of the overall color correction. It was done. Therefore, the color correction device 20
A chromaticity determination means, a target chromaticity pixel totalization means, a color correction amount determination means, and a color correction means are provided.

【0036】画像入力装置10の具体例は図2における
スキャナ11やデジタルスチルカメラ12あるいはビデ
オカメラ14などが該当し、色修正装置20の具体例は
コンピュータ21とハードディスク22とキーボード2
3とCD−ROMドライブ24とフレキシブルディスク
ドライブ25とモデム26などからなるコンピュータシ
ステムが該当し、画像出力装置30の具体例はプリンタ
31やディスプレイ32等が該当する。本実施形態の場
合、色画像データで表される画素の色が記憶色と比較し
てずれていないかを判断するものであるため、同色画像
データとしては写真などの実写データが好適である。な
お、モデム26については公衆通信回線に接続され、外
部のネットワークに同公衆通信回線を介して接続し、ソ
フトウェアやデータをダウンロードして導入可能となっ
ている。
A specific example of the image input device 10 corresponds to the scanner 11, the digital still camera 12 or the video camera 14 in FIG. 2, and a specific example of the color correction device 20 is a computer 21, a hard disk 22 and a keyboard 2.
3 corresponds to a computer system including a CD-ROM drive 24, a flexible disk drive 25, a modem 26, and the like, and a specific example of the image output device 30 includes a printer 31, a display 32, and the like. In the case of the present embodiment, since the color of the pixel represented by the color image data is compared with the stored color to determine whether or not there is a deviation, the photographed data such as a photograph is suitable as the same color image data. It should be noted that the modem 26 is connected to a public communication line and can be connected to an external network via the same public communication line so that software and data can be downloaded and introduced.

【0037】本実施形態においては、画像入力装置10
としてのスキャナ11やデジタルスチルカメラ12が色
画像データとしてRGB(緑、青、赤)の階調データを
出力するとともに、画像出力装置30としてのプリンタ
31は階調データとしてCMY(シアン、マゼンダ、イ
エロー)あるいはこれに黒を加えたCMYKの二値デー
タを入力として必要とするし、ディスプレイ32はRG
Bの階調データを入力として必要とする。一方、コンピ
ュータ21内ではオペレーティングシステム21aが稼
働しており、プリンタ31やディスプレイ32に対応し
たプリンタドライバ21bやディスプレイドライバ21
cが組み込まれている。また、色修正アプリケーション
21dはオペレーティングシステム21aにて処理の実
行を制御され、必要に応じてプリンタドライバ21bや
ディスプレイドライバ21cと連携して印刷及び表示処
理を実行する。従って、色修正装置20としてのこのコ
ンピュータ21の具体的役割は、RGBの階調データを
入力して最適な色修正を施したRGBの階調データを作
成し、ディスプレイドライバ21cを介してディスプレ
イ32に表示させるとともに、プリンタドライバ21b
を介してCMY(あるいはCMYK)の二値データに変
換してプリンタ31に印刷させることになる。
In the present embodiment, the image input device 10
While the scanner 11 or the digital still camera 12 as an output outputs the gradation data of RGB (green, blue, red) as the color image data, the printer 31 as the image output device 30 outputs the CMY (cyan, magenta, (Yellow) or CMYK binary data in which black is added to this is required as an input, and the display 32 displays RG.
B gradation data is required as an input. On the other hand, the operating system 21a is operating in the computer 21, and the printer driver 21b and the display driver 21 corresponding to the printer 31 and the display 32 are provided.
c is incorporated. The color correction application 21d is controlled by the operating system 21a to execute processing, and executes printing and display processing in cooperation with the printer driver 21b and the display driver 21c as necessary. Therefore, the specific role of the computer 21 as the color correction device 20 is to input RGB gradation data to create RGB gradation data that has been subjected to optimum color correction, and to display it via the display driver 21c. The printer driver 21b.
Is converted into binary data of CMY (or CMYK) via the printer and printed by the printer 31.

【0038】このように、本実施形態においては、画像
の入出力装置の間にコンピュータシステムを組み込んで
色修正を行うようにしているが、必ずしもかかるコンピ
ュータシステムを必要とするわけではなく、色画像デー
タを使用する各種のシステムに採用可能である。例え
ば、図3に示すようにデジタルスチルカメラ12a内に
各画素の色度に基づいて色修正する色修正装置を組み込
み、変換した色画像データを用いてディスプレイ32a
に表示させたりプリンタ31aに印字させるようなシス
テムであっても良い。また、図4に示すように、コンピ
ュータシステムを介することなく色画像データを入力し
て印刷するプリンタ31bにおいては、スキャナ11b
やデジタルスチルカメラ12bあるいはモデム26b等
を介して入力される色画像データから自動的に画像の対
象と色とを判断して色修正するように構成することも可
能である。
As described above, in this embodiment, the computer system is incorporated between the image input / output devices to perform the color correction. However, such a computer system is not necessarily required, and the color image is not necessarily required. It can be applied to various systems that use data. For example, as shown in FIG. 3, a color correction device that corrects the color based on the chromaticity of each pixel is incorporated in the digital still camera 12a, and the converted color image data is used to display the display 32a.
The system may be such that it is displayed on the screen or printed on the printer 31a. Further, as shown in FIG. 4, in the printer 31b for inputting and printing the color image data without going through the computer system, the scanner 11b is used.
It is also possible to automatically determine the object and color of the image from the color image data input via the digital still camera 12b, the modem 26b, or the like, and correct the color.

【0039】上述したオブジェクトの判断とそれに伴う
色修正は、具体的には上記コンピュータ21内にて図5
などに示すフローチャートに対応した色修正処理プログ
ラムで行っている。なお、このフローチャートはいわゆ
る肌色がきれいに見えるように色修正する。
The above-mentioned judgment of the object and the color correction accompanying it are concretely performed in the computer 21 as shown in FIG.
The color correction processing program corresponding to the flowchart shown in FIG. It should be noted that this flowchart corrects colors so that the so-called flesh color looks beautiful.

【0040】この色修正処理では、まず、各画素の色度
に基づいて肌色らしき画素についての集計を行う。な
お、集計を行なうにあたっては、図6に示すようにして
対象画素を移動させながら全画素について集計していく
ことにする。
In this color correction processing, first, the skin-like pixels are totalized based on the chromaticity of each pixel. In addition, when performing the totaling, the totaling is performed for all the pixels while moving the target pixel as shown in FIG.

【0041】まず、ステップS110では各画素につい
てのx−y色度を計算する。いま、対象画素のRGB表
色系におけるRGB階調データが(R,G,B)である
とするときに、 r=R/(R+G+B) …(1) g=G/(R+G+B) …(2) とおくとすると、XYZ表色系における色度座標x,y
との間には、 x=(1.1302+1.6387r+0.6215g)/(6.7846-3.0157r-0.3857g) …(3) y=(0.0601+0.9399r+4.5306g)/(6.7846-3.0157r-0.3857g) …(4) なる対応関係が成立する。ここにおいて、色度は明るさ
に左右されることなく色の刺激値の絶対的な割合を表す
ものであるから、色度からその画素がどのような対象物
かを判断することができるといえる。例えば、肌色を例
に取ると、 0.35<x<0.40 …(5) 0.33<y<0.36 …(6) というような範囲に含まれているから、各画素の色度を
求めたときにこの範囲内であればその画素は人間の肌を
示す画素と考えてもあながち誤っていないと言える。
First, in step S110, the xy chromaticity of each pixel is calculated. Now, assuming that the RGB gradation data in the RGB color system of the target pixel is (R, G, B), r = R / (R + G + B) (1) g = G / (R + G + B) ... (2), chromaticity coordinates x, y in the XYZ color system
X = (1.1302 + 1.6387r + 0.6215g) / (6.7846-3.0157r-0.3857g)… (3) y = (0.0601 + 0.9399r + 4.5306g) / (6.7846-3.0157r-0.3857) g)… (4) The corresponding relationship is established. Here, since the chromaticity represents the absolute ratio of the color stimulus values without being influenced by the brightness, it can be said that it is possible to determine what kind of object the pixel is from the chromaticity. . For example, taking the skin color as an example, it is included in the range 0.35 <x <0.40… (5) 0.33 <y <0.36… (6), so this range is obtained when the chromaticity of each pixel is calculated. If it is inside, it can be said that the pixel is not mistaken even if it is considered as a pixel showing human skin.

【0042】従って、ステップS120では、各画素の
RGB階調データに基づいて変換されたx−y色度が肌
色の範囲であるか否かを判断し、肌色であるならばステ
ップS130にて同画素の色画像データを集計する。こ
の集計はRGB階調データの単純な加算を意味してい
る。また、後述するように肌色と判断された画素につい
て平均値を求めるため、画素数もカウントする。
Therefore, in step S120, it is determined whether the converted xy chromaticity based on the RGB gradation data of each pixel is within the skin color range, and if it is the skin color, the same is performed in step S130. The color image data of the pixels is totaled. This aggregation means simple addition of RGB gradation data. In addition, as will be described later, the number of pixels is also counted in order to obtain an average value for pixels determined to be flesh color.

【0043】この後、肌色であると判断された場合もそ
うでない場合も、ステップS140にて対象画素を移動
させ、ステップS150にて全画素について終了したと
判断されるまで繰り返す。そして、全画素について終了
した時点で、ステップS160にて集計結果を画素数で
除算して平均値(Rs.ave,Gs.ave,Bs.ave)を求める。
After that, irrespective of whether the skin color is determined or not, the target pixel is moved in step S140, and the process is repeated until it is determined in step S150 that all the pixels are finished. Then, when the processing is completed for all the pixels, the total result is divided by the number of pixels in step S160 to obtain an average value (Rs.ave, Gs.ave, Bs.ave).

【0044】以上から明らかなように、ステップS11
0にてx−y色度を演算するソフトウェア処理とこれを
実行するハードウェアによって色度判断手段を構成す
る。また、ステップS120にて同色度が所定の対象範
囲内に入っているか否かを判断するとともに、入ってい
る場合にステップS130にて色画像データを集計する
という処理を、ステップS140とステップS150に
て対象画素を移動させながら全画素について行ない、ス
テップS160にて集計結果を画素数で除算して平均値
を求めるため、これらのソフトウェア処理とこれを実行
するハードウェア構成が対象色度画素集計手段を構成す
る。
As is clear from the above, step S11
The chromaticity determination means is composed of software processing for calculating xy chromaticity at 0 and hardware for executing the software processing. Further, in step S120, it is determined whether or not the same chromaticity is within a predetermined target range, and if the same chromaticity is within the predetermined target range, the process of totalizing the color image data in step S130 is performed in steps S140 and S150. Is performed for all pixels while moving the target pixel, and the total result is divided by the number of pixels to obtain an average value in step S160. Therefore, the software processing and the hardware configuration for executing the software processing are the target chromaticity pixel totaling means. Make up.

【0045】一方、予め好ましいと感じる肌色の画素に
ついては予め理想値(Rs.ideal,Gs.ideal,Bs.ideal)を
求めておく。この理想値は記憶色に関して言うならば測
色された結果とは異なっている。肌色の例で言えば測色
結果が一致する肌色よりも敢えてずれた肌色の方が正し
いように錯覚する。これは人間の感覚として写真などに
写った肌色に対する固定的な認識に基づくものであり、
記憶色と呼ばれるものである。本発明では、このような
記憶色をも含めた理想値を設定しておくことにより、こ
の理想値との差を無くすように色修正するものであるか
ら、理想値は現実の色にとらわれず、広くターゲットと
して期待される色であればよい。
On the other hand, ideal values (Rs.ideal, Gs.ideal, Bs.ideal) are obtained in advance for skin-colored pixels which are considered to be preferable. This ideal value is different from the colorimetric result when it comes to memory colors. In the case of flesh color, the illusion that the flesh color that is intentionally shifted is more correct than the flesh color that the colorimetric results match. This is based on a fixed perception of the skin color that appears in photographs as a human sense,
It is called memory color. In the present invention, the ideal value including such a memory color is set, and the color is corrected so as to eliminate the difference from the ideal value. Therefore, the ideal value is not limited to the actual color. Any color that is widely expected as a target may be used.

【0046】肌色の画素についてのRGB階調データの
平均値(Rs.ave,Gs.ave,Bs.ave)と、好ましい肌色の場
合に得られる理想値(Rs.ideal,Gs.ideal,Bs.ideal)と
の差は、本来、当該色画像データにおけるずれを指すこ
とになる。
The average value (Rs.ave, Gs.ave, Bs.ave) of the RGB gradation data for the skin tone pixel and the ideal value (Rs.ideal, Gs.ideal, Bs.ave) obtained in the case of a desirable skin tone. The difference from ideal) essentially means the deviation in the color image data.

【0047】ただし、この差をそのまま修正量として適
用するのは好ましくない。例えば、全画素に同じ修正量
を実行したとすると、肌色部分は好ましい色になるかも
しれないが、肌色以外の部分の画素の色が大きく影響を
受けてしまいかねない。
However, it is not preferable to directly apply this difference as the correction amount. For example, if the same correction amount is applied to all pixels, the flesh-colored portion may be a preferable color, but the color of the pixels other than the flesh-colored portion may be greatly affected.

【0048】このため、本実施形態においては、肌色の
画素数が全画素数に占める割合(肌色率)を求め、修正
量を調整している。すなわち、修正量ΔR,ΔG,ΔB
を、 ΔR=ks(Rs.ideal-Rs.ave) …(7) ΔG=ks(Gs.ideal-Gs.ave) …(8) ΔB=ks(Bs.ideal-Bs.ave) …(9) と表すものとし、ここにおいて肌色率ksは、ks=(肌色画
素数/全画素数)で求めている。
Therefore, in this embodiment, the ratio of the number of pixels of skin color to the total number of pixels (skin color ratio) is calculated and the correction amount is adjusted. That is, the correction amounts ΔR, ΔG, ΔB
ΔR = ks (Rs.ideal-Rs.ave) (7) ΔG = ks (Gs.ideal-Gs.ave) (8) ΔB = ks (Bs.ideal-Bs.ave) (9) Here, the skin color ratio ks is calculated by ks = (skin color pixel number / total pixel number).

【0049】このようにして求められた色修正量はその
ままでは色画像データの修正に利用できず、本実施形態
においては、ステップS180にて同修正量を使用して
トーンカーブを形成する。図7はトーンカーブの形成状
況を示す説明図である。
The color correction amount thus obtained cannot be used as it is for the correction of the color image data. In this embodiment, the tone curve is formed by using the correction amount in step S180. FIG. 7 is an explanatory diagram showing a tone curve formation state.

【0050】トーンカーブはRGB階調データを強調程
度を変えて変換する場合の入力−出力関係を意味してお
り、「0」〜「255」の256階調を例に取ると、階
調「0」と階調「255」とこれらの間のある階調とい
う所定のの三点について特定した出力値を通過するスプ
ライン曲線を利用している。一例として中間の階調を
「64」とおいたとすると、入力値がそれぞれ「0」、
「64」、「255」であって、出力値も「0」、「6
4」、「255」であるときには入出力関係は一致して
トーンカーブは直線となる。しかし、入力値「64」に
対する出力値が「64」でない場合には図7に示すよう
に緩やかに曲線を描いて入出力の対応関係を形成する。
本実施形態においては、中間の階調として上述したRG
B階調データの平均値(Rs.ave,Gs.ave,Bs.ave)をコン
トロールポイントとし、それぞれにおいて上述した修正
量ΔR,ΔG,ΔBがトーンカーブに反映されるように
している。このようにしてコントロールポイントを変化
させることにより、肌色率ksが「1」となるときに同コ
ントロールポイントで理想値(Rs.ideal,Gs.ideal,Bs.i
deal)と一致するようになる。
The tone curve means the input-output relationship when converting the RGB gradation data by changing the emphasizing degree, and taking 256 gradations of "0" to "255" as an example, the gradation " A spline curve that passes through the output values specified for three predetermined points of "0", gradation "255", and a gradation between them is used. As an example, assuming that the intermediate gradation is “64”, the input values are “0”,
"64" and "255", and output values are "0" and "6"
When it is "4" or "255", the input / output relationship is matched and the tone curve becomes a straight line. However, when the output value with respect to the input value “64” is not “64”, a gentle curve is drawn as shown in FIG. 7 to form the input / output correspondence.
In the present embodiment, the RG described above as the intermediate gradation is used.
The average values (Rs.ave, Gs.ave, Bs.ave) of the B gradation data are used as control points, and the above-mentioned correction amounts ΔR, ΔG, ΔB are reflected in the tone curve at each point. By changing the control point in this way, the ideal value (Rs.ideal, Gs.ideal, Bs.i
deal).

【0051】ステップS190では、このようにして求
められたトーンカーブを利用して再度全画素について色
画像データの要素色を変換することにより、色画像デー
タに対して色修正を実行することになる。
In step S190, the color correction is executed on the color image data by converting the element colors of the color image data for all pixels again using the tone curve thus obtained. .

【0052】むろん、このようにして集計結果と理想値
との差を求めつつ対象画素が全画素に示す割合に応じて
補正するステップS170の処理と、求められた色修正
量に基づいてトーンカーブを形成するステップS180
の処理、およびこれらを実行するハードウェア構成が色
修正量判定手段を構成すると言えるし、ステップS19
0で色画像データを変換する処理とこれを実行するハー
ドウェア構成が色修正手段を構成すると言える。
Of course, in this way, the difference between the totalization result and the ideal value is calculated, and the correction is performed according to the ratio of the target pixel to all the pixels, and the tone curve is calculated based on the calculated color correction amount. Forming step S180
It can be said that the processing of step S21 and the hardware configuration for executing these steps constitute the color correction amount determination means, and step S19
It can be said that the process of converting the color image data with 0 and the hardware configuration for executing the process configure the color correcting unit.

【0053】これまでは、理解の簡易のためにも修正す
る対象を肌色を例とした実施形態について説明している
が、色修正する対象は肌色に限るものではない。記憶色
を例に取ると、肌色の他、木々の緑を鮮やかにしたいと
いう希望や、青空を澄みきった青色にしたいという希望
が多い。図8は色修正の対象を選択可能とした変形例を
示している。
Up to now, an embodiment has been described in which the object to be modified is the skin color as an example for ease of understanding, but the object to be color-corrected is not limited to the skin color. Taking memory colors as an example, in addition to skin tones, there are many desires to make the green of trees vivid and to make the blue sky clear blue. FIG. 8 shows a modification in which the target of color correction can be selected.

【0054】この例では、最初のステップS205にて
色修正の対象を選択する。コンピュータ21ではディス
プレイ32の画面上に図9に示す画面を表示し、操作者
に対して色修正する対象を選択させる。この例では、肌
色をきれいにする肌色修正と、木々の緑色をさわやかに
する緑色修正と、澄み切った空の色にする青空色修正を
並べて表示するとともに、これらにチェックボックスを
設けてあり、それぞれ個別に選択できるようにしてい
る。この場合、重複して選択可能としている。そして、
所望のチェックボックスをチェックした後で「OK」ボ
タンをクリックするとチェックされたものを対象ごとに
用意されているフラグを立て、ステップS210〜S2
50のループ処理を開始する。
In this example, the target of color correction is selected in the first step S205. The computer 21 displays the screen shown in FIG. 9 on the screen of the display 32, and prompts the operator to select a color correction target. In this example, the flesh color correction that cleans the flesh tones, the green correction that refreshes the green of the trees, and the blue sky color correction that makes the clear sky color are displayed side by side, and a check box is provided for each You can choose to. In this case, they can be selected redundantly. And
If you click the "OK" button after checking the desired check boxes, the checked ones will be flagged as prepared for each target, and steps S210 to S2 will be performed.
The loop process of 50 is started.

【0055】このループ処理は、先の例と同様に対象画
素を移動させながら全画素について色度を求めつつ集計
するものであり、ステップS210では対象となってい
る画素について(1)〜(4)式に基づいてx−y色度
を求める。次なるステップS215ではステップS20
5にて設定したフラグを参照し、操作者が肌色修正を選
択したか否かを判断する。そして、選択している場合に
は、ステップS220にて肌色画素に対する集計処理を
実行する。この集計処理は、先の例におけるステップS
120,S130と同様であり、ステップS210にて
求められたx−y色度が肌色の取りうる色度の範囲内で
あればRGB階調データを要素色ごとに集計する。
This loop processing is to calculate the chromaticity of all the pixels while moving the target pixel in the same manner as in the previous example, and in step S210, (1) to (4) for the target pixel. ) Xy chromaticity is calculated based on the equation. In the next step S215, step S20
With reference to the flag set in step 5, it is determined whether the operator has selected the flesh color correction. Then, if it is selected, in step S220, the aggregation processing is performed on the skin color pixels. This counting process is performed in step S in the previous example.
Similar to steps 120 and S130, if the xy chromaticity obtained in step S210 is within the range of chromaticity that the skin color can take, RGB gradation data is totaled for each element color.

【0056】次の、ステップS225では操作者が緑色
修正を選択したか否かを肌色修正の場合と同様にフラグ
を参照して判断する。そして、選択している場合には、
この画素のx−y色度が木々の緑色が該当する色度の範
囲内であるか判断し、範囲内であればステップS230
にて集計する。この集計は、肌色集計で利用したエリア
とは別のエリアで集計する。
In the next step S225, it is determined whether or not the operator has selected the green correction by referring to the flag as in the case of the skin color correction. And if you have selected,
It is determined whether or not the xy chromaticity of this pixel is within the range of chromaticity corresponding to the green color of the trees, and if it is within the range, step S230.
Total at. This total is calculated in an area different from the area used for skin color total.

【0057】以下、ステップS235では青空色修正に
ついて同様の判断を行ない、ステップS240にて別の
エリアで集計を行う。
Thereafter, in step S235, the same judgment is performed for blue-sky color correction, and in step S240, another area is totaled.

【0058】そして、ステップS245では対象画素を
移動させ、ステップS250にて全画素について終了し
たと判断されるまで繰り返す。この例においては、色修
正となる対象が複数となる場合があるが、その場合でも
ステップS215〜S240にて対象画素の色度が所定
範囲内に入っていれば集計を行うという意味で対象色度
画素集計手段を構成すると言える。
Then, in step S245, the target pixel is moved, and the process is repeated until it is determined in step S250 that all pixels have been moved. In this example, there may be a plurality of objects to be color-corrected, but even in that case, if the chromaticity of the target pixel is within the predetermined range in step S215 to S240, the target color is calculated in the sense that the totaling is performed. It can be said that this constitutes a degree pixel aggregation means.

【0059】全画素についての色度を集計したら、ステ
ップS255〜S265では集計結果に基づいて各色ご
とに修正量を算出する。なお、この例では先の例と異な
って集計結果から平均値を求める処理をこの修正量の端
出処理の中で同時に行っており、かかる演算手順などは
適宜変更可能である。肌色修正については先の例で説明
したが、緑色修正と青空色修正についても処理は全く同
じである。すなわち、集計結果に基づいて平均値を算出
するとともに、好ましい画像について得られた理想値と
の差を求め、かつ、肌色率と同様に緑色率および青空色
率を乗算して修正量を補正する。
When the chromaticities of all the pixels are totaled, in steps S255 to S265, the correction amount is calculated for each color based on the totalized result. Note that in this example, unlike the previous example, the process of obtaining the average value from the totalization result is simultaneously performed in this correction amount end processing, and the calculation procedure and the like can be changed as appropriate. Although the flesh color correction has been described in the above example, the processing is exactly the same for the green color correction and the blue sky color correction. That is, the average value is calculated based on the totalized result, the difference from the ideal value obtained for the preferable image is obtained, and the correction amount is corrected by multiplying the green color ratio and the blue sky color ratio like the skin color ratio. .

【0060】ステップS265を終了した時点で、修正
量は三つ存在することになる。これは、肌色修正と緑色
修正と青空色修正について個別に集計して修正量を求め
たためである。このため、本実施形態においては、これ
らの集計結果が重ね合わせられるように加算する。すな
わち、処理対象をさらに広げたとして、それぞれの処理
対象に対する色修正量ΔR,ΔG,ΔBは、
When step S265 is completed, there are three correction amounts. This is because the flesh color correction, the green color correction, and the blue sky color correction are individually added up to obtain the correction amount. Therefore, in the present embodiment, these totalization results are added so as to be superposed. That is, assuming that the processing target is further expanded, the color correction amounts ΔR, ΔG, and ΔB for the respective processing targets are

【0061】[0061]

【数1】 [Equation 1]

【0062】[0062]

【数2】 [Equation 2]

【0063】[0063]

【数3】 [Equation 3]

【0064】として求められる。ここにおいて、Is calculated as put it here,

【0065】[0065]

【数4】 [Equation 4]

【0066】であり、重複したカウントはないものと考
える。
It is assumed that there is no duplicate count.

【0067】このようにして求められた色修正量ΔR,
ΔG,ΔBに基づいて図7に示すようにしてトーンカー
ブを形成するのがステップS270の処理である。この
場合、コントロールポイントは、Σki・Ri.ave,Σki・G
i.ave,Σki・Bi.aveとなる。むろん、ステップS255
〜S270の処理が色修正量判定手段を構成する。そし
て、トーンカーブが形成されたらステップS275にて
色画像データを修正する。
The color correction amount ΔR obtained in this way,
The process of step S270 is to form a tone curve as shown in FIG. 7 based on ΔG and ΔB. In this case, the control points are Σki ・ Ri.ave, Σki ・ G
i.ave, Σki · Bi.ave. Of course, step S255
The processing from S270 to S270 constitutes a color correction amount determination means. When the tone curve is formed, the color image data is modified in step S275.

【0068】なお、上述した色修正装置は、プリンタド
ライバとして適用されることも可能である。通常、プリ
ンタドライバは入力されたデータを加工して出力する過
程において、一時的に保存しておくといったことができ
ない。従って、所望量だけ領域分割して処理を変更する
といったことには制限がある。しかしながら、(11)
式〜(12)式に示すように、複数の要素に対する色修
正量を設定しておくことにより、このような制限の多い
プリンタドライバにおいても効果的な補正が行える。
The color correction device described above can also be applied as a printer driver. Normally, the printer driver cannot temporarily store the input data in the process of processing and outputting the data. Therefore, there is a limitation in dividing the area by a desired amount and changing the processing. However, (11)
By setting the color correction amounts for a plurality of elements as shown in Expressions (12), effective correction can be performed even in such a printer driver having many restrictions.

【0069】次に、上記構成からなる本実施形態の動作
を説明する。
Next, the operation of this embodiment having the above configuration will be described.

【0070】最初に、先の実施形態に沿って説明する。
図10に示すような写真画像をスキャナ11で読み込
み、プリンタ31にて印刷する場合を想定する。する
と、まず、コンピュータ21にてオペレーティングシス
テム21aが稼働しているもとで、色修正アプリケーシ
ョン21dを起動させ、スキャナ11に対して写真の読
み取りを開始させる。読み取られた色画像データが同オ
ペレーティングシステム21aを介して色修正アプリケ
ーション21dに取り込まれたら、処理対象画素を初期
位置に設定する。続いて、ステップS110にて(1)
式〜(4)式に基づいて当該画素のx−y色度を計算
し、ステップS120ではx値とy値とがそれぞれ肌色
の色度の範囲に入っているか否かを判断する。そして、
肌色の色度の範囲内であればステップS130にて当該
画素の色画像データについて要素色ごとに集計する。図
10に示すように、少なくとも手足と顔については明る
さにとらわれることなく肌色の画素と判断できるはずで
あり、この例では全画素に対して数%の画素が肌色の画
素として集計される。以上の処理をステップS140に
て対象画素を移動させながらステップS150にて全画
素について実行したと判断されるまで繰り返す。
First, a description will be given according to the above embodiment.
It is assumed that a photographic image as shown in FIG. 10 is read by the scanner 11 and printed by the printer 31. Then, first, while the operating system 21a is running on the computer 21, the color correction application 21d is activated to cause the scanner 11 to start reading a photo. When the read color image data is captured by the color correction application 21d via the operating system 21a, the pixel to be processed is set to the initial position. Then, in step S110 (1)
The xy chromaticity of the pixel is calculated based on Expressions (4), and in step S120, it is determined whether the x value and the y value are within the chromaticity range of the skin color. And
If it is within the chromaticity range of the skin color, the color image data of the pixel is totaled for each element color in step S130. As shown in FIG. 10, at least the limbs and the face should be determined to be flesh-colored pixels regardless of the brightness, and in this example, several percent of all pixels are tabulated as flesh-colored pixels. The above process is repeated while moving the target pixel in step S140 until it is determined in step S150 that all pixels have been executed.

【0071】全画素について実行し終えたら、ステップ
S160にて集計結果を肌色画素数で除算して平均値を
算出し、ステップS170にて肌色の画素における理想
値と同平均値との差を求めつつ、肌色画素数と全画素数
との割合に対応する肌色率を乗算し、ステップS180
にてトーンカーブを形成する。そして、ステップS19
0にてこのトーンカーブに基づいて色画像データの各要
素色ごとにデータを変換して色修正する。すると、肌色
を理想値に近づけようとしながらも、肌色画素数と全体
の画素数との割合を考慮して修正量を控え目に設定して
いるので、調整の取れた程良い色修正を実行できる。
When the execution is completed for all pixels, the total result is divided by the number of skin color pixels to calculate an average value in step S160, and the difference between the ideal value and the average value of the skin color pixels is calculated in step S170. Meanwhile, the flesh color ratio corresponding to the ratio between the flesh color pixel number and the total pixel number is multiplied, and step S180
To form a tone curve. Then, step S19
At 0, the data is converted for each element color of the color image data based on this tone curve to correct the color. Then, while trying to bring the flesh color closer to the ideal value, the correction amount is set conservatively in consideration of the ratio between the number of flesh color pixels and the total number of pixels. .

【0072】すなわち、図10に示す例で言えば、集計
された肌色画素の平均値と理想値との差に数%の肌色率
を乗算して修正量を補正し、この補正された修正量に見
合うトーンカーブを形成して色修正することになる。
In other words, in the example shown in FIG. 10, the correction amount is corrected by multiplying the difference between the average value of the totaled skin color pixels and the ideal value by a skin color ratio of several%, and the corrected correction amount is corrected. It will be necessary to correct the color by forming a tone curve suitable for.

【0073】また、後の例のように修正対象を選択でき
るものにおいて、肌色修正と緑色修正と青空色修正を選
択したものとすると、全画素を対象としてステップS2
10ではx−y色度を計算し、ステップS215〜S2
40にて修正対象ごとに個別に集計する。図10に示す
例では、人物像の肌色部分と、木の葉の部分と、バック
の青空部分においてx−y色度がそれぞれの対象範囲に
入ることになり、集計される。
Further, in the case where the correction target can be selected as in the later example, if flesh color correction, green correction and blue sky color correction are selected, step S2 is performed for all pixels.
In step 10, xy chromaticity is calculated, and steps S215 to S2 are performed.
At 40, the total is individually calculated for each correction target. In the example shown in FIG. 10, the xy chromaticity falls within the respective target ranges in the flesh-colored portion of the person image, the leaves of the tree, and the blue sky portion of the back, and is aggregated.

【0074】そして、全画素について終了したら、ステ
ップS255〜S265にてそれぞれの対象画素の占有
率を考慮しつつ対象処理ごとの色修正量を求め、ステッ
プS270にて修正量を重ね合わせたトーンカーブを形
成する。そして、最後にステップS275にて全画素の
色画像データに対して色修正を実行する。すると、肌色
をより理想値に近づける修正と、木の葉の緑をさわやか
に見せる修正と、青空を澄みきった色にする修正とがそ
れぞれの画素の占有率に応じて調整されて実行されるこ
とになる。
When all the pixels are finished, the color correction amount for each target process is calculated in consideration of the occupation ratio of each target pixel in steps S255 to S265, and the tone curve in which the correction amounts are superposed is calculated in step S270. To form. Finally, in step S275, color correction is executed on the color image data of all pixels. Then, the correction to make the skin color closer to the ideal value, the correction to make the green of the leaves look refreshing, and the correction to make the blue sky a clear color are adjusted and executed according to the occupancy of each pixel. .

【0075】むろん、それぞれの色修正をされた色画像
データはディスプレイドライバ21cを介してディスプ
レイ32に表示され、良好であればプリンタドライバ2
1bを介してプリンタ31にて印刷される。すなわち、
同プリンタドライバ21bは色修正されたRGBの階調
データを入力し、所定の解像度変換を経てプリンタ31
の印字ヘッド領域に対応したラスタライズを行なうとと
もに、ラスタライズデータをRGBからCMYKへ色変
換し、その後でCMYKの階調データから二値データへ
変換してプリンタ31へ出力する。
Of course, each color-corrected color image data is displayed on the display 32 via the display driver 21c, and if good, the printer driver 2
It is printed by the printer 31 via 1b. That is,
The printer driver 21b inputs the color-corrected RGB gradation data, and after a predetermined resolution conversion, the printer 31
The rasterization corresponding to the print head area is performed, the rasterized data is color-converted from RGB to CMYK, and then the CMYK gradation data is converted to binary data and output to the printer 31.

【0076】以上の処理により、スキャナ11を介して
読み込まれた写真の色画像データは自動的に最適な色修
正を施されてディスプレイ32に表示された後、プリン
タ31にて印刷される。
With the above processing, the color image data of the photograph read by the scanner 11 is automatically subjected to the optimum color correction, displayed on the display 32, and then printed by the printer 31.

【0077】このように、色修正の中枢をなすコンピュ
ータ21はステップS110にて各画素のx−y色度を
計算するとともに、ステップS120,S130にて同
色度が肌色の色度の取りうる範囲内であれば集計するこ
ととし、全画素について集計したらステップS160に
て平均値を求めるとともにステップS170では画素数
を考慮した色修正量を算出しているため、明るさにとら
われることなく色修正したい色の画素を正確に集計で
き、かつ、修正量は画素数を考慮して調整を図るため、
周りの画素の色に大きな影響を与えることのない最適な
色修正を実行することができる。
As described above, the computer 21, which is the center of the color correction, calculates the xy chromaticity of each pixel in step S110, and in steps S120 and S130, the same chromaticity is within the range in which the chromaticity of the skin color can be obtained. If it is within the range, the total is calculated, and when the total is calculated for all the pixels, the average value is obtained in step S160 and the color correction amount considering the number of pixels is calculated in step S170. Color pixels can be accurately aggregated, and the correction amount is adjusted in consideration of the number of pixels.
It is possible to execute optimum color correction without significantly affecting the colors of surrounding pixels.

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

【図1】本発明の一実施形態にかかる色修正装置を適用
した色修正システムのブロック図である。
FIG. 1 is a block diagram of a color correction system to which a color correction device according to an embodiment of the present invention is applied.

【図2】同色修正装置の具体的ハードウェアのブロック
図である。
FIG. 2 is a block diagram of specific hardware of the same color correction apparatus.

【図3】本発明の色修正装置の他の適用例を示す概略ブ
ロック図である。
FIG. 3 is a schematic block diagram showing another application example of the color correction apparatus of the present invention.

【図4】本発明の色修正装置の他の適用例を示す概略ブ
ロック図である。
FIG. 4 is a schematic block diagram showing another application example of the color correction apparatus of the present invention.

【図5】本発明の色修正装置における色修正処理を示す
フローチャートである。
FIG. 5 is a flowchart showing a color correction process in the color correction device of the present invention.

【図6】処理対象画素を移動させていく状態を示す図で
ある。
FIG. 6 is a diagram showing a state in which processing target pixels are moved.

【図7】階調データを所定の強度で変換するトーンカー
ブを示す説明図である。
FIG. 7 is an explanatory diagram showing a tone curve for converting gradation data with a predetermined intensity.

【図8】変形例にかかる色修正処理を示すフローチャー
トである。
FIG. 8 is a flowchart showing a color correction process according to a modified example.

【図9】同色修正処理で選択可能な色修正の対象を示す
図である。
FIG. 9 is a diagram showing a target of color correction that can be selected in the same color correction processing.

【図10】色修正となる元の写真画像を示す図である。FIG. 10 is a diagram showing an original photographic image for color correction.

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

10…画像入力装置 20…色修正装置 21…コンピュータ 21a…オペレーティングシステム 21b…プリンタドライバ 21c…ディスプレイドライバ 21d…色修正アプリケーション 22…ハードディスク 23…キーボード 24…CD−ROMドライブ 25…フレキシブルディスクドライブ 26…モデム 30…画像出力装置 10 ... Image input device 20 ... Color correction device 21 ... Computer 21a ... Operating system 21b ... printer driver 21c ... Display driver 21d ... Color correction application 22 ... Hard disk 23 ... Keyboard 24 ... CD-ROM drive 25 ... Flexible disk drive 26 ... Modem 30 ... Image output device

フロントページの続き Fターム(参考) 5B057 CA01 CA08 CA16 CB01 CB08 CB16 CE17 CE18 CH01 CH11 5C055 AA14 BA05 BA06 BA07 BA08 EA05 FA21 HA37 5C066 AA11 BA17 CA17 EB02 GA01 GB03 HA03 5C077 MP08 PP32 PP33 PP37 PP39 PP46 PQ12 PQ22 5C079 HB01 HB03 HB05 HB12 LA24 LB01 MA01 MA11 NA03 NA18Continued front page    F term (reference) 5B057 CA01 CA08 CA16 CB01 CB08                       CB16 CE17 CE18 CH01 CH11                 5C055 AA14 BA05 BA06 BA07 BA08                       EA05 FA21 HA37                 5C066 AA11 BA17 CA17 EB02 GA01                       GB03 HA03                 5C077 MP08 PP32 PP33 PP37 PP39                       PP46 PQ12 PQ22                 5C079 HB01 HB03 HB05 HB12 LA24                       LB01 MA01 MA11 NA03 NA18

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 カラー画像を所定の要素色ごとに色分解
するとともに強弱を表した色画像データに基づいて画像
出力装置が各要素色ごとに画像出力を行うことによりカ
ラー画像を出力するにあたって画像出力結果が好みの色
となるように上記色画像データを修正する色修正装置で
あって、 上記色画像データに基づいて各画素の色度を求める色度
判断手段と、 この色度判断手段によって求められた色度が所定範囲内
である画素について集計を行なう対象色度画素集計手段
と、 上記所定範囲の色度の画素についての予め定められた最
適値と上記集計結果との差を解消するような色修正量を
求めつつ、集計した画素が全画素に占める割合に応じて
同色修正量を補正する色修正量判定手段と、 補正して求められた色修正量に基づいて上記画像データ
を色修正する色修正手段とを具備することを特徴とする
色修正装置。
1. An image for outputting a color image by color-separating a color image for each predetermined element color and outputting an image for each element color by an image output device based on color image data representing strength and weakness. A color correction device that corrects the color image data so that the output result becomes a desired color, and a chromaticity determination means for determining the chromaticity of each pixel based on the color image data, and the chromaticity determination means. Target chromaticity pixel totalizing means for totaling pixels for which the obtained chromaticity is within a predetermined range, and eliminating the difference between the above-mentioned totaling result and a predetermined optimum value for pixels with chromaticity within the predetermined range. Color correction amount determining means for correcting the same color correction amount according to the ratio of the totalized pixels to all pixels while obtaining such color correction amount, and the image data based on the corrected color correction amount. Color correction apparatus characterized by comprising a color correction means for correcting color.
【請求項2】 上記請求項1に記載の色修正装置におい
て、上記対象色度画素集計手段は、対象画素と判断され
た各画素について上記色画像データの要素色毎について
平均的値を集計し、上記色修正量判定手段は、上記所定
の範囲の色度となる色画像データについて要素色毎の最
適値を備えていることを特徴とする色修正装置。
2. The color correction device according to claim 1, wherein the target chromaticity pixel totaling unit totalizes an average value for each element color of the color image data for each pixel determined to be a target pixel. The color correction device is characterized in that the color correction amount determination means has an optimum value for each element color with respect to the color image data having the chromaticity within the predetermined range.
【請求項3】 上記請求項1または請求項2のいずれか
に記載の色修正装置において、上記対象色度画素集計手
段は、記憶色についての色度が取りうる範囲を対象とし
て画素の集計を行うことを特徴とする色修正装置。
3. The color correction device according to claim 1 or 2, wherein the target chromaticity pixel totaling means totals pixels for a range of chromaticity of a memory color. A color correction device characterized by performing.
【請求項4】 上記請求項1〜請求項3のいずれかに記
載の色修正装置において、上記色修正量判定手段は、各
要素色の強弱程度を変化させるにあたって入出力関係を
表すトーンカーブを利用するとともに、上記修正量に応
じたトーンカーブを形成することを特徴とする色修正装
置。
4. The color correction apparatus according to any one of claims 1 to 3, wherein the color correction amount determination means displays a tone curve representing an input / output relationship when changing the intensity of each element color. A color correction device which is utilized and forms a tone curve corresponding to the correction amount.
【請求項5】 カラー画像を所定の要素色ごとに色分解
するとともに強弱を表した色画像データに基づいて画像
出力装置が各要素色ごとに画像出力を行うことによりカ
ラー画像を出力するにあたって画像出力結果が好みの色
となるように上記色画像データを修正する色修正方法で
あって、 上記色画像データに基づいて各画素の色度を求める工程
と、 この求められた色度が所定範囲内である画素について集
計を行なう工程と、 上記所定範囲の色度の画素についての予め定められた最
適値と上記集計結果との差を解消するような色修正量を
求めつつ、集計した画素が全画素に占める割合に応じて
同色修正量を補正する工程と、 補正して求められた色修正量に基づいて上記画像データ
を色修正する工程とを具備することを特徴とする色修正
方法。
5. An image for outputting a color image by color-separating a color image for each predetermined element color and outputting an image for each element color by an image output device based on the color image data showing the intensity. A color correction method for correcting the above-mentioned color image data so that an output result becomes a desired color, the step of obtaining the chromaticity of each pixel based on the above-mentioned color image data, and the obtained chromaticity is within a predetermined range. The step of totalizing the pixels within the range, and the totaling pixels while obtaining the color correction amount that eliminates the difference between the total value and the predetermined optimum value for the pixels having the chromaticity in the predetermined range. A color correction method comprising: a step of correcting the same color correction amount according to a ratio of all pixels; and a step of correcting the color of the image data based on the color correction amount obtained by the correction.
【請求項6】 カラー画像を所定の要素色ごとに色分解
するとともに強弱を表した色画像データに基づいて画像
出力装置が各要素色ごとに画像出力を行うことによりカ
ラー画像を出力するにあたってコンピュータにて画像出
力結果が好みの色となるように上記色画像データを修正
する色修正制御プログラムを記録した媒体であって、上
記色画像データに基づいて各画素の色度を求め、この求
められた色度が所定範囲内である画素について集計を行
ない、上記所定範囲の色度の画素についての予め定めら
れた最適値と上記集計結果との差を解消するような色修
正量を求めつつ、集計した画素が全画素に占める割合に
応じて同色修正量を補正し、補正して求められた色修正
量に基づいて上記画像データを色修正することを特徴と
する色修正制御プログラムを記録した媒体。
6. A computer for outputting a color image by color-separating a color image for each predetermined element color and outputting an image for each element color by an image output device based on the color image data showing the intensity. Is a medium in which a color correction control program for correcting the color image data is recorded so that the image output result becomes a desired color, and the chromaticity of each pixel is obtained based on the color image data. The chromaticity is aggregated for pixels that are within a predetermined range, while obtaining a color correction amount that eliminates the difference between the predetermined optimum value and the aggregated result for pixels with chromaticity within the predetermined range, A color correction control program characterized by correcting the same color correction amount according to the ratio of the totaled pixels to all pixels and performing color correction on the image data based on the corrected color correction amount. A medium that records grams.
JP2002215373A 2002-07-24 2002-07-24 Device and method for correcting color and medium with color correction control program recorded thereon Pending JP2003162714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002215373A JP2003162714A (en) 2002-07-24 2002-07-24 Device and method for correcting color and medium with color correction control program recorded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002215373A JP2003162714A (en) 2002-07-24 2002-07-24 Device and method for correcting color and medium with color correction control program recorded thereon

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP16015897A Division JP3893669B2 (en) 1997-06-17 1997-06-17 Image processing apparatus, image processing method, and medium on which image processing control program is recorded

Publications (1)

Publication Number Publication Date
JP2003162714A true JP2003162714A (en) 2003-06-06

Family

ID=19195967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002215373A Pending JP2003162714A (en) 2002-07-24 2002-07-24 Device and method for correcting color and medium with color correction control program recorded thereon

Country Status (1)

Country Link
JP (1) JP2003162714A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006059573A1 (en) * 2004-12-02 2006-06-08 Matsushita Electric Industrial Co., Ltd. Color adjusting device and method
JP2006166337A (en) * 2004-12-10 2006-06-22 Ikegami Tsushinki Co Ltd Skin detail circuit
CN102164287B (en) * 2006-01-10 2013-01-30 松下电器产业株式会社 Color correction device and color correction method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006059573A1 (en) * 2004-12-02 2006-06-08 Matsushita Electric Industrial Co., Ltd. Color adjusting device and method
CN101061704B (en) * 2004-12-02 2010-09-01 松下电器产业株式会社 Color adjusting device and method
JP2006166337A (en) * 2004-12-10 2006-06-22 Ikegami Tsushinki Co Ltd Skin detail circuit
CN102164287B (en) * 2006-01-10 2013-01-30 松下电器产业株式会社 Color correction device and color correction method

Similar Documents

Publication Publication Date Title
US6535301B1 (en) Image processing apparatus, image processing method, image processing program recording medium, color adjustment method, color adjustment device, and color adjustment control program recording medium
JP2830871B2 (en) Image color correction device and recording medium storing color correction program
JP4614016B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium recording image processing program
EP1898624B1 (en) Image processing device, image processing method, image processing program product, and image-capturing device
JP4345757B2 (en) Image data color correction
JP4210026B2 (en) COLOR CORRECTION DEVICE, COLOR CORRECTION METHOD, AND RECORDING MEDIUM CONTAINING COLOR CORRECTION CONTROL PROGRAM
US20090027732A1 (en) Image processing apparatus, image processing method, and computer program
JP2003274427A (en) Image processing apparatus, image processing system, image processing method, storage medium, and program
JP2000311243A (en) Image color correction method and device
JP4774757B2 (en) Image processing apparatus, image processing program, electronic camera, and image processing method
JP3918257B2 (en) Image processing apparatus, image processing method, and medium storing image processing program
JP3893669B2 (en) Image processing apparatus, image processing method, and medium on which image processing control program is recorded
JP2003162714A (en) Device and method for correcting color and medium with color correction control program recorded thereon
JP4539778B2 (en) Image data color correction
JP3817371B2 (en) Image processing method, apparatus, and recording medium
JP3956970B2 (en) Image processing apparatus, image processing method, and medium storing image processing program
JP3941810B2 (en) Image processing apparatus, image processing method, and medium storing image processing program
JP2004356796A (en) Image processor
JP2002281328A (en) Method for creating color conversion table
JP2623029B2 (en) Color image processing method
JP2023044689A (en) Image processing unit
JP2000067239A (en) Picture evaluation device/method, medium recording picture evaluation program and picture retouching device
JP2001313839A (en) Image-processing method and unit, and recording medium
JPH08139951A (en) Color conversion method
JP2003244460A (en) Image processor, image processing method, recording medium, and program