JP3893669B2 - Image processing apparatus, image processing method, and medium on which image processing control program is recorded - Google Patents

Image processing apparatus, image processing method, and medium on which image processing control program is recorded Download PDF

Info

Publication number
JP3893669B2
JP3893669B2 JP16015897A JP16015897A JP3893669B2 JP 3893669 B2 JP3893669 B2 JP 3893669B2 JP 16015897 A JP16015897 A JP 16015897A JP 16015897 A JP16015897 A JP 16015897A JP 3893669 B2 JP3893669 B2 JP 3893669B2
Authority
JP
Japan
Prior art keywords
color
pixels
pixel
image data
correction amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP16015897A
Other languages
Japanese (ja)
Other versions
JPH118773A (en
Inventor
直樹 鍬田
至宏 中見
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP16015897A priority Critical patent/JP3893669B2/en
Priority to DE69827703T priority patent/DE69827703T2/en
Priority to EP05077481A priority patent/EP1619875A1/en
Priority to EP05077482A priority patent/EP1619876A3/en
Priority to EP98304660A priority patent/EP0886437B1/en
Priority to EP04077594A priority patent/EP1489833A1/en
Priority to US09/097,828 priority patent/US6535301B1/en
Publication of JPH118773A publication Critical patent/JPH118773A/en
Priority to US10/270,485 priority patent/US7072074B2/en
Priority to US11/431,753 priority patent/US7286265B2/en
Priority to US11/431,752 priority patent/US7292371B2/en
Application granted granted Critical
Publication of JP3893669B2 publication Critical patent/JP3893669B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、デジタル写真画像のような実写画像データに対して最適な色修正を実行する画像処理装置、画像処理方法および画像処理制御プログラムを記録した媒体に関する。
【0002】
【従来の技術】
ディジタル画像データに対して各種の色修正処理が行われている。例えば、RGBの各要素色ごとに強調させたり、弱めたりするといった処理である。なお、便宜上、強める処理も弱める処理も含めて強調処理と呼ぶ。これらの処理は、通常、マイクロコンピュータで実行可能となっており、操作者がモニタ上で画像を確認して修正を要する要素色を選択しつつ、強調程度のパラメータなどを決定している。
【0003】
【発明が解決しようとする課題】
近年、画像処理で色修正することが容易になり、広く利用されるようになってきている。しかしながら、どの要素色をどの程度強調するかとなると、依然、人間が関与しなければならない。これは、色修正処理の対象となるディジタル画像データにおいて、色のずれが目立つ部分がどこであるのかを判断することができなかったためである。
【0004】
例えば、建物の色であれば本来の色が分からない限り色のずれは分からないものの、人の肌の色というようなものは概ね想像がつき、操作者は写真画像の中の人の肌の色が自然な感じとなるように色修正する。
【0005】
ここで、さらにやっかいなのは人間の記憶色という要素である。レモンを被写体とした場合、測色計で測定した実物の色と写真の色が一致していたとしても、対比させない限り写真の色が少しくすんでいるように見える。これは人間の感覚としてレモンの色は鮮やかな色であると記憶されているのに対し、実物はそこまで鮮やかでないからである。従って、たとえ本来の色調に修正できたとしても、それだけでは満足できない。記憶色としては肌色であるとか、木々の緑色であるとか青空のブルーなどが上げられる。
【0006】
一方、人間が関与して色修正する場合、肌色を記憶色どおりに合わせてしまうと、他の色がずれてくることになるので、肌色が記憶色どおりにならなくても妥当な範囲となるように強調程度を決定する。
【0007】
このように、従来の色修正処理では本来の色との比較ができないので自動的に修正することもできないし、たとえ、修正できたとしても人間の記憶色によって満足を得られにくく、結局は人間が関与しなければならないという課題があった。
【0008】
本発明は、上記課題にかんがみてなされたもので、記憶色を考慮しながら自動的に最適な色修正処理を実行することが可能な画像処理装置、画像処理方法および画像処理制御プログラムを記録した媒体の提供を目的とする。
【0009】
【課題を解決するための手段およびその作用・効果】
上記目的を達成するため、本発明の画像処理装置は、
複数の画素からなる多色の実写画像に対して所定の画像処理を行なう画像処理装置であって、
上記実写画像を構成する各画素についての色を表わす色画像データを入力し、該画素の色が所定範囲に入っている画素の色画像データを集計する対象色画素集計手段と、
上記対象色画素集計手段による集計の結果として得られた平均値、メジアン、標準偏差など、上記所定の範囲に入っている画素の色についての特性を表わす特性値と上記所定範囲の色について予め定められた理想値との差に相当する量を、上記集計した画素が全画素に占める割合に応じて補正して、色修正量を求める色修正量決定手段と、
該色修正量決定手段により求められた色修正量を用いて、上記実写画像を構成する画素のうち少なくとも上記画素の色が所定範囲に入っている画素を含む画素の色画像データを修正する色修正手段と
を備えたことを要旨としている。
【0010】
上記の発明では、対象色画素集計手段が、上記実写画像を構成する各画素についての色を表わす色画像データを入力し、該画素の色が所定範囲に入っている画素の色画像データを集計する。例えば、ある画素が肌色の取りうる色の範囲内に入っていればその画素を集計対象とする。集計の具体的内容は平均値、メジアン等各種のものが可能であるが、画像の中の全画素について色が所定範囲に入っているものだけを集計することは、ちょうど、人間が肌色らしい画素に注目してその平均的な色を判断するのに対応する。
【0011】
次に、色修正量決定手段は、上記対象色画素集計手段による集計の結果に基づいて求められた特性値と上記所定範囲の色について予め定められた理想値との差に相当する量を、上記集計した画素が全画素に占める割合に応じて補正して、色修正量を求める。即ち、まず、所定範囲の色の画素についての予め定められた理想値と上記集計結果との差を解消するような修正量を求める。ただし、この修正量をそのまま適用したとすると、例えば、肌色だけは適当な色になるものの、肌色以外の他の色の部分でのずれが許容できなくなる。そこで、色修正量決定手段は、上記求められた修正量を、集計した画素が全画素に占める割合に応じて補正して、色修正量を求める。これにより、肌色部分の色修正が他の部分の色を過度に変えてしまわないような調整が行われることになる。こうした補正により求められた色修正量に基づいて色修正手段が上記色画像データを修正する。
【0012】
色画像データに基づいて各画素の色を求める手法としては、例えば、各画素の色度を求める手法を考えることができる。色度は色の刺激値の絶対的な割合を表しており、明るさには左右されない。従って、画像の中の重要な部分(これをオブジェクトと呼ぶ)を色度の取りうる範囲によって分けることができる。例えば、肌色の取りうる範囲であるとか、木々の緑色の取りうる範囲といったものである。こうした各画素の色度を求める手法を上記発明に採用し、上記の対象色画素集計手段を、上記画素の色度が所定範囲内である画素について上記色画像データの集計を行なう手段としてもよい。各画素の色画像データから色度を求める際には、元の色画像データが採用する色空間の座標系などを考慮して色度に変換すればよい。この場合、色度自体が直接的な要素となっていればそれを利用すればよいし、直接的な要素でなければ変換する。変換は変換テーブルを利用するものであってもよいし、変換式で求めるものであってもよい。この場合、必ずしも正確である必要はなく、影響の少ない誤差を含むものであっても構わない。また、対象色画素集計手段は、各画素の色が所定範囲内であるか判断し、所定範囲内である画素について集計を行なってもよい。この場合、必ずしもある範囲内であるか否かという二者択一の判断である必要はなく、重み付けを変えて集計するものでも構わない。
【0013】
上記色修正量決定手段において用いられる理想値を、所定の対象物について人間が感覚的に記憶している色である記憶色を表わす値に定めることも好適である。
【0014】
また、所定範囲内の色を有する画素の色画像データを集計する手法は極めて多岐にわたるものの、演算量などを考慮した一例として、以下の構成を考えることができる。即ち、上記の対象色画素集計手段を、上記画素の色画像データを要素色毎に集計する手段とすると共に、上記の色修正量決定手段を、各要素色毎に集計された色画像データの平均的な値を上記特性値として決定する特性値決定手段と、上記所定範囲の色についての理想値を上記要素色毎に予め定める理想値規定手段とを備え、上記特性値決定手段により決定された特性値と上記理想値規定手段により予め定められた理想値との差に相当する量を各要素色毎に求め、該各要素色毎に求められた量を上記集計した画素が全画素に占める割合に応じて補正して、各要素色についての色修正量を求める手段とする構成である。換言すれば、対象色画素集計手段が、対象画素と判断された各画素について上記色画像データの要素色毎について平均的な値を集計し、色修正量決定手段が、上記所定の範囲の色度となる色画像データについて要素色毎の理想値を備えた構成である。上記の構成においては、対象色画素集計手段は、対象画素と判断された各画素について上記色画像データの要素色毎について平均的な値を集計する。色度としての集計でも良いものの、色画像データの要素色を利用して集計する。一方、色修正量決定手段についても、これに対応して上記所定の範囲の色となる色画像データについて要素色毎の理想値を備えているので、要素色毎の比較をそのまま行え、その差を要素色の修正量として利用できる。
【0015】
むろん、集計手法としては演算量は増えるもののこれ以外にもメジアンであったり、標準偏差などを利用することも可能である。
【0016】
対象色画素集計手段が集計対象とする色や色度の範囲に関し、対象色画素集計手段、記憶色についての色や色度が取りうる範囲を対象として画素の集計を行う構成としてもよい
【0017】
上記の構成においては、いわゆる人間の記憶色が含まれる色や色度が取りうる範囲を対象として画素の集計が行われる。この場合、必ずしも一つの範囲だけで一つの集計結果を得る必要はなく、複数の範囲を指定して複数の集計を個別に行なうものでも構わない。
【0018】
色修正量決定手段は、所定範囲の色や色度の画素についての予め定められた理想値と上記集計結果(具体的には、集計の結果として得られた平均値、メジアン、標準偏差など、上記所定の範囲に入っている画素の色についての特性を表わす特性値)との差を解消するような修正量を求めるとともに、集計した画素が全画素に占める割合に応じて同修正量を補正する。この場合、必ずしも二段階の処理を行なう必要はなく、同様の結果が得られればよい。例えば、集計段階で理想値と集計結果の差を反映するようなものを得るようにしておけばそれを利用したり、全画素に対する割合が含まれた結果を得られていればそれを利用するだけでも構わない。また、理想値と集計結果との差は必ずしも減算という演算を要するものではなく、内在的にそのような意図が含まれるものであればよい。
【0019】
色修正量についても各種の態様が可能であり、例えば、上記色修正量決定手段を、上記特性値と上記理想値との差に相当する量についての補正結果に基づいて、入出力関係を表すトーンカーブを作成するトーンカーブ作成手段を備える手段とすると共に、該トーンカーブ作成手段により作成されたトーンカーブに基づいて上記色修正量を求める手段としてもよい。より具体的には、上記色修正量決定手段が、各要素色の強弱程度を変化させるにあたって入出力関係を表すトーンカーブを利用するとともに、上記修正量に応じたトーンカーブを形成する構成を考えることができる。
【0020】
上記の構成においては、色修正量決定手段が修正量に応じたトーンカーブを形成し、このトーンカーブに従って、色修正手段は各要素色の入出力関係が同トーンカーブで表されるような関係となるように強弱程度を変化させる。
【0021】
色が所定範囲内にある画素について集計し、集計結果を色修正量に反映させる手法は、必ずしも実体のある装置に限られる必要もなく、その一例として、本発明の画像処理方法は、複数の画素からなる多色の実写画像に対して所定の画像処理を行なう方法であって、
上記実写画像を構成する各画素についての色を表わす色画像データを入力し、該画素の色が所定範囲に入っている画素の色画像データを集計し、
上記集計の結果に基づいて求められた特性値と上記所定範囲の色について予め定められた理想値との差に相当する量を、上記集計した画素が全画素に占める割合に応じて補正して、色修正量を求め、
該求められた色修正量を用いて、上記実写画像を構成する画素のうち少なくとも上記画素の色が所定範囲に入っている画素を含む画素の色画像データを修正すること
を要旨としている。
【0022】
すなわち、必ずしも実体のある装置に限らず、その方法としても有効であることに相違はない。
【0023】
ところで、上述したように色を判断して色修正処理する画像処理装置は単独で存在する場合もあるし、ある機器に組み込まれた状態で利用されることもあるなど、発明の思想としては各種の態様を含むものである。また、ハードウェアで実現されたり、ソフトウェアで実現されるなど、適宜、変更可能である。
【0024】
発明の思想の具現化例として画像処理装置を制御するソフトウェアとなる場合には、かかるソフトウェアを記録した記録媒体上においても当然に存在し、利用されるといわざるをえない。
【0025】
その一例として、本発明の記録媒体は、複数の画素からなる多色の実写画像に対して行なわれる所定の画像処理に対応したプログラムをコンピュータに読み取り可能に記録した記録媒体であって、
上記実写画像を構成する各画素についての色を表わす色画像データを入力し、該画素の色が所定範囲に入っている画素の色画像データを集計する機能と、
上記集計の結果として得られた平均値、メジアン、標準偏差など、上記所定の範囲に入っている画素の色についての特性を表わす特性値と上記所定範囲の色について予め定められた理想値との差に相当する量を、上記集計した画素が全画素に占める割合に応じて補正して、色修正量を求める機能と、
該求められた色修正量を用いて、上記実写画像を構成する画素のうち少なくとも上記画素の色が所定範囲に入っている画素を含む画素の色画像データを修正する機能と
をコンピュータにより実現するプログラムを記録したことを要旨としている。
【0026】
むろん、その記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体においても全く同様に考えることができる。また、一次複製品、二次複製品などの複製段階については全く問う余地無く同等である。その他、供給方法として通信回線を利用して行う場合でも本発明が利用されていることには変わりないし、半導体チップに書き込まれたようなものであっても同様である。
【0027】
さらに、一部がソフトウェアであって、一部がハードウェアで実現されている場合においても発明の思想において全く異なるものはなく、一部を記録媒体上に記憶しておいて必要に応じて適宜読み込まれるような形態のものとしてあってもよい。
【0028】
上説明したように本発明の画像処理装置によれば実写画像において色修正したい色の画素が自動的に集計され、かつ、集計された画素が全画素に占める割合を考慮して色修正量が決定される。従って、実写画像における特定の色についての色修正を、色修正しようとする画素の周りの画素の色に大きな影響を与えることなく実行することができる。また、画素の色度が所定範囲内である画素について色画像データの集計を行なう構成とすれば、色修正したい色の画素を、明るさにとらわれることなく正確に集計することができる。また、色修正量決定手段において用いられる理想値を記憶色を表わす値に定めれば、人間の判断に近いレベルの色修正処理を自動的に実現することができる。
【0029】
また、画素の色画像データを要素色毎に集計して各要素色についての色修正量を求める構成とすれば、集計結果を利用する場合の演算などが行いやすくなる。
【0030】
さらに、記憶色についての画素について集計することにより、修正の反映度も画素数に応じた調整が行われ、より人間の判断に近くなる。
【0031】
さらに、トーンカーブを利用する構成とすれば、他の要素の色修正などを総合的に加味しやすくなる。この場合、記憶色の部分を理想的な色に近づけるだけでなく、隣接した色領域を連続的に変化させるので、トーンジャンプによる疑似輪郭が生じることもない。
【0032】
さらに、本発明の画像処理方法によれば、同様の効果を発揮する色修正方法を提供でき、本発明の記録媒体によれば、色修正制御プログラムを記録した媒体を提供できる。
【0033】
【発明の実施の形態】
以下、図面にもとづいて本発明の実施形態を説明する。
【0034】
図1は、本発明の一実施形態にかかる色修正装置を適用した色修正システムをブロック図により示しており、図2は具体的ハードウェア構成例を概略ブロック図により示している。
【0035】
図1において、画像入力装置10は写真などをドットマトリクス状の画素として表した色画像データを色修正装置20へ出力し、同色修正装置20は同色画像データに応じた最適な色修正処理を実行する。同色修正装置20は色修正処理した色画像データを画像出力装置30へ出力し、画像出力装置は色修正された画像をドットマトリクス状の画素で出力する。ここにおいて、色修正装置20が出力する色画像データは、各画素の色度に基づいて画像の対象と色とを判断するとともに、全体との兼ね合いで最適な色修正の方針と程度を決定して色修正したものである。このため、色修正装置20は、対色画素集計手段と、色修正量決定手段と、色修正手段とを備えている。
【0036】
画像入力装置10の具体例は図2におけるスキャナ11やデジタルスチルカメラ12あるいはビデオカメラ14などが該当し、色修正装置20の具体例はコンピュータ21とハードディスク22とキーボード23とCD−ROMドライブ24とフロッピーディスクドライブ25とモデム26などからなるコンピュータシステムが該当し、画像出力装置30の具体例はプリンタ31やディスプレイ32等が該当する。本実施形態の場合、色画像データで表される画素の色が記憶色と比較してずれていないかを判断するものであるため、同色画像データとしては写真などの実写データが好適である。なお、モデム26については公衆通信回線に接続され、外部のネットワークに同公衆通信回線を介して接続し、ソフトウェアやデータをダウンロードして導入可能となっている。
【0037】
本実施形態においては、画像入力装置10としてのスキャナ11やデジタルスチルカメラ12が色画像データとしてRGB(緑、青、赤)の階調データを出力するとともに、画像出力装置30としてのプリンタ31は階調データとしてCMY(シアン、マゼンダ、イエロー)あるいはこれに黒を加えたCMYKの二値データを入力として必要とするし、ディスプレイ32はRGBの階調データを入力として必要とする。一方、コンピュータ21内ではオペレーティングシステム21aが稼働しており、プリンタ31やディスプレイ32に対応したプリンタドライバ21bやディスプレイドライバ21cが組み込まれている。また、色修正アプリケーション21dはオペレーティングシステム21aにて処理の実行を制御され、必要に応じてプリンタドライバ21bやディスプレイドライバ21cと連携して印刷及び表示処理を実行する。従って、色修正装置20としてのこのコンピュータ21の具体的役割は、RGBの階調データを入力して最適な色修正を施したRGBの階調データを作成し、ディスプレイドライバ21cを介してディスプレイ32に表示させるとともに、プリンタドライバ21bを介してCMY(あるいはCMYK)の二値データに変換してプリンタ31に印刷させることになる。
【0038】
このように、本実施形態においては、画像の入出力装置の間にコンピュータシステムを組み込んで色修正を行うようにしているが、必ずしもかかるコンピュータシステムを必要とするわけではなく、色画像データを使用する各種のシステムに採用可能である。例えば、図3に示すようにデジタルスチルカメラ12a内に各画素の色度に基づいて色修正する色修正装置を組み込み、変換した色画像データを用いてディスプレイ32aに表示させたりプリンタ31aに印字させるようなシステムであっても良い。また、図4に示すように、コンピュータシステムを介することなく色画像データを入力して印刷するプリンタ31bにおいては、スキャナ11bやデジタルスチルカメラ12bあるいはモデム26b等を介して入力される色画像データから自動的に画像の対象と色とを判断して色修正するように構成することも可能である。
【0039】
上述したオブジェクトの判断とそれに伴う色修正は、具体的には上記コンピュータ21内にて図5などに示すフローチャートに対応した色修正処理プログラムで行っている。なお、このフローチャートはいわゆる肌色がきれいに見えるように色修正する。
【0040】
この色修正処理では、まず、各画素の色度に基づいて肌色らしき画素についての集計を行う。なお、集計を行なうにあたっては、図6に示すようにして対象画素を移動させながら全画素について集計していくことにする。
【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)
というような範囲に含まれているから、各画素の色度を求めたときにこの範囲内であればその画素は人間の肌を示す画素と考えてもあながち誤っていないと言える。
【0042】
従って、ステップS120では、各画素のRGB階調データに基づいて変換されたx−y色度が肌色の範囲であるか否かを判断し、肌色であるならばステップS130にて同画素の色画像データを集計する。この集計はRGB階調データの単純な加算を意味している。また、後述するように肌色と判断された画素について平均値を求めるため、画素数もカウントする。
【0043】
この後、肌色であると判断された場合もそうでない場合も、ステップS140にて対象画素を移動させ、ステップS150にて全画素について終了したと判断されるまで繰り返す。そして、全画素について終了した時点で、ステップS160にて集計結果を画素数で除算して平均値(Rs.ave,Gs.ave,Bs.ave)を求める。
【0044】
以上から明らかなように、ステップS110にてx−y色度を演算するソフトウェア処理とこれを実行するハードウェア、および、ステップS120にて同色度が所定の対象範囲内に入っているか否かを判断するとともに、入っている場合にステップS130にて色画像データを集計するという処理を、ステップS140とステップS150にて対象画素を移動させながら全画素について行ない、ステップS160にて集計結果を画素数で除算して平均値を求めるため、これらのソフトウェア処理とこれを実行するハードウェア構成が対象色画素集計手段を構成する。
【0045】
一方、予め好ましいと感じる肌色の画素については予め理想値(Rs.ideal,Gs.ideal,Bs.ideal)を求めておく。この理想値は記憶色に関して言うならば測色された結果とは異なっている。肌色の例で言えば測色結果が一致する肌色よりも敢えてずれた肌色の方が正しいように錯覚する。これは人間の感覚として写真などに写った肌色に対する固定的な認識に基づくものであり、記憶色と呼ばれるものである。本発明では、このような記憶色をも含めた理想値を設定しておくことにより、この理想値との差を無くすように色修正するものであるから、理想値は現実の色にとらわれず、広くターゲットとして期待される色であればよい。
【0046】
肌色の画素についてのRGB階調データの平均値(Rs.ave,Gs.ave,Bs.ave)と、好ましい肌色の場合に得られる理想値(Rs.ideal,Gs.ideal,Bs.ideal)との差は、本来、当該色画像データにおけるずれを指すことになる。
【0047】
ただし、この差をそのまま修正量として適用するのは好ましくない。例えば、全画素に同じ修正量を実行したとすると、肌色部分は好ましい色になるかもしれないが、肌色以外の部分の画素の色が大きく影響を受けてしまいかねない。
【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=(肌色画素数/全画素数)
で求めている。
【0049】
このようにして求められた色修正量はそのままでは色画像データの修正に利用できず、本実施形態においては、ステップS180にて同修正量を使用してトーンカーブを形成する。図7はトーンカーブの形成状況を示す説明図である。
【0050】
トーンカーブはRGB階調データを強調程度を変えて変換する場合の入力−出力関係を意味しており、「0」〜「255」の256階調を例に取ると、階調「0」と階調「255」とこれらの間のある階調という所定の三点について特定した出力値を通過するスプライン曲線を利用している。一例として中間の階調を「64」とおいたとすると、入力値がそれぞれ「0」、「64」、「255」であって、出力値も「0」、「64」、「255」であるときには入出力関係は一致してトーンカーブは直線となる。しかし、入力値「64」に対する出力値が「64」でない場合には図7に示すように緩やかに曲線を描いて入出力の対応関係を形成する。本実施形態においては、中間の階調として上述したRGB階調データの平均値(Rs.ave,Gs.ave,Bs.ave)をコントロールポイントとし、それぞれにおいて上述した修正量ΔR,ΔG,ΔBがトーンカーブに反映されるようにしている。このようにしてコントロールポイントを変化させることにより、肌色率ksが「1」となるときに同コントロールポイントで理想値(Rs.ideal,Gs.ideal,Bs.ideal)と一致するようになる。
【0051】
ステップS190では、このようにして求められたトーンカーブを利用して再度全画素について色画像データの要素色を変換することにより、色画像データに対して色修正を実行することになる。
【0052】
むろん、このようにして集計結果と理想値との差を求めつつ対象画素が全画素に示す割合に応じて補正するステップS170の処理と、求められた色修正量に基づいてトーンカーブを形成するステップS180の処理、およびこれらを実行するハードウェア構成が色修正量決定手段を構成すると言えるし、ステップS190で色画像データを変換する処理とこれを実行するハードウェア構成が色修正手段を構成すると言える。
【0053】
これまでは、理解の簡易のためにも修正する対象を肌色を例とした実施形態について説明しているが、色修正する対象は肌色に限るものではない。記憶色を例に取ると、肌色の他、木々の緑を鮮やかにしたいという希望や、青空を澄みきった青色にしたいという希望が多い。図8は色修正の対象を選択可能とした変形例を示している。
【0054】
この例では、最初のステップS205にて色修正の対象を選択する。コンピュータ21ではディスプレイ32の画面上に図9に示す画面を表示し、操作者に対して色修正する対象を選択させる。この例では、肌色をきれいにする肌色修正と、木々の緑色をさわやかにする緑色修正と、澄み切った空の色にする青空色修正を並べて表示するとともに、これらにチェックボックスを設けてあり、それぞれ個別に選択できるようにしている。この場合、重複して選択可能としている。そして、所望のチェックボックスをチェックした後で「OK」ボタンをクリックするとチェックされたものを対象ごとに用意されているフラグを立て、ステップS210〜S250のループ処理を開始する。
【0055】
このループ処理は、先の例と同様に対象画素を移動させながら全画素について色度を求めつつ集計するものであり、ステップS210では対象となっている画素について(1)〜(4)式に基づいてx−y色度を求める。次なるステップS215ではステップS205にて設定したフラグを参照し、操作者が肌色修正を選択したか否かを判断する。そして、選択している場合には、ステップS220にて肌色画素に対する集計処理を実行する。この集計処理は、先の例におけるステップS120,S130と同様であり、ステップS210にて求められたx−y色度が肌色の取りうる色度の範囲内であればRGB階調データを要素色ごとに集計する。
【0056】
次の、ステップS225では操作者が緑色修正を選択したか否かを肌色修正の場合と同様にフラグを参照して判断する。そして、選択している場合には、この画素のx−y色度が木々の緑色が該当する色度の範囲内であるか判断し、範囲内であればステップS230にて集計する。この集計は、肌色集計で利用したエリアとは別のエリアで集計する。
【0057】
以下、ステップS235では青空色修正について同様の判断を行ない、ステップS240にて別のエリアで集計を行う。
【0058】
そして、ステップS245では対象画素を移動させ、ステップS250にて全画素について終了したと判断されるまで繰り返す。この例においては、色修正となる対象が複数となる場合があるが、その場合でもステップS215〜S240にて対象画素の色度が所定範囲内に入っていれば集計を行うという意味で対象色画素集計手段を構成すると言える。
【0059】
全画素についての色度を集計したら、ステップS255〜S265では集計結果に基づいて各色ごとに修正量を算出する。なお、この例では先の例と異なって集計結果から平均値を求める処理をこの修正量の端出処理の中で同時に行っており、かかる演算手順などは適宜変更可能である。肌色修正については先の例で説明したが、緑色修正と青空色修正についても処理は全く同じである。すなわち、集計結果に基づいて平均値を算出するとともに、好ましい画像について得られた理想値との差を求め、かつ、肌色率と同様に緑色率および青空色率を乗算して修正量を補正する。
【0060】
ステップS265を終了した時点で、修正量は三つ存在することになる。これは、肌色修正と緑色修正と青空色修正について個別に集計して修正量を求めたためである。このため、本実施形態においては、これらの集計結果が重ね合わせられるように加算する。すなわち、処理対象をさらに広げたとして、それぞれの処理対象に対する色修正量ΔR,ΔG,ΔBは、
【0061】
【数1】

Figure 0003893669
【0062】
【数2】
Figure 0003893669
【0063】
【数3】
Figure 0003893669
【0064】
として求められる。ここにおいて、
【0065】
【数4】
Figure 0003893669
【0066】
であり、重複したカウントはないものと考える。
【0067】
このようにして求められた色修正量ΔR,ΔG,ΔBに基づいて図7に示すようにしてトーンカーブを形成するのがステップS270の処理である。この場合、コントロールポイントは、Σki・Ri.ave,Σki・Gi.ave,Σki・Bi.aveとなる。むろん、ステップS255〜S270の処理が色修正量決定手段を構成する。そして、トーンカーブが形成されたらステップS275にて色画像データを修正する。
【0068】
なお、上述した色修正装置は、プリンタドライバとして適用されることも可能である。通常、プリンタドライバは入力されたデータを加工して出力する過程において、一時的に保存しておくといったことができない。従って、所望量だけ領域分割して処理を変更するといったことには制限がある。しかしながら、(11)式〜(12)式に示すように、複数の要素に対する色修正量を設定しておくことにより、このような制限の多いプリンタドライバにおいても効果的な補正が行える。
【0069】
次に、上記構成からなる本実施形態の動作を説明する。
【0070】
最初に、先の実施形態に沿って説明する。図10に示すような写真画像をスキャナ11で読み込み、プリンタ31にて印刷する場合を想定する。すると、まず、コンピュータ21にてオペレーティングシステム21aが稼働しているもとで、色修正アプリケーション21dを起動させ、スキャナ11に対して写真の読み取りを開始させる。読み取られた色画像データが同オペレーティングシステム21aを介して色修正アプリケーション21dに取り込まれたら、処理対象画素を初期位置に設定する。続いて、ステップS110にて(1)式〜(4)式に基づいて当該画素のx−y色度を計算し、ステップS120ではx値とy値とがそれぞれ肌色の色度の範囲に入っているか否かを判断する。そして、肌色の色度の範囲内であればステップS130にて当該画素の色画像データについて要素色ごとに集計する。図10に示すように、少なくとも手足と顔については明るさにとらわれることなく肌色の画素と判断できるはずであり、この例では全画素に対して数%の画素が肌色の画素として集計される。以上の処理をステップS140にて対象画素を移動させながらステップS150にて全画素について実行したと判断されるまで繰り返す。
【0071】
全画素について実行し終えたら、ステップS160にて集計結果を肌色画素数で除算して平均値を算出し、ステップS170にて肌色の画素における理想値と同平均値との差を求めつつ、肌色画素数と全画素数との割合に対応する肌色率を乗算し、ステップS180にてトーンカーブを形成する。そして、ステップS190にてこのトーンカーブに基づいて色画像データの各要素色ごとにデータを変換して色修正する。すると、肌色を理想値に近づけようとしながらも、肌色画素数と全体の画素数との割合を考慮して修正量を控え目に設定しているので、調整の取れた程良い色修正を実行できる。
【0072】
すなわち、図10に示す例で言えば、集計された肌色画素の平均値と理想値との差に数%の肌色率を乗算して修正量を補正し、この補正された修正量に見合うトーンカーブを形成して色修正することになる。
【0073】
また、後の例のように修正対象を選択できるものにおいて、肌色修正と緑色修正と青空色修正を選択したものとすると、全画素を対象としてステップS210ではx−y色度を計算し、ステップS215〜S240にて修正対象ごとに個別に集計する。図10に示す例では、人物像の肌色部分と、木の葉の部分と、バックの青空部分においてx−y色度がそれぞれの対象範囲に入ることになり、集計される。
【0074】
そして、全画素について終了したら、ステップS255〜S265にてそれぞれの対象画素の占有率を考慮しつつ対象処理ごとの色修正量を求め、ステップS270にて修正量を重ね合わせたトーンカーブを形成する。そして、最後にステップS275にて全画素の色画像データに対して色修正を実行する。すると、肌色をより理想値に近づける修正と、木の葉の緑をさわやかに見せる修正と、青空を澄みきった色にする修正とがそれぞれの画素の占有率に応じて調整されて実行されることになる。
【0075】
むろん、それぞれの色修正をされた色画像データはディスプレイドライバ21cを介してディスプレイ32に表示され、良好であればプリンタドライバ21bを介してプリンタ31にて印刷される。すなわち、同プリンタドライバ21bは色修正されたRGBの階調データを入力し、所定の解像度変換を経てプリンタ31の印字ヘッド領域に対応したラスタライズを行なうとともに、ラスタライズデータをRGBからCMYKへ色変換し、その後でCMYKの階調データから二値データへ変換してプリンタ31へ出力する。
【0076】
以上の処理により、スキャナ11を介して読み込まれた写真の色画像データは自動的に最適な色修正を施されてディスプレイ32に表示された後、プリンタ31にて印刷される。
【0077】
このように、色修正の中枢をなすコンピュータ21はステップS110にて各画素のx−y色度を計算するとともに、ステップS120,S130にて同色度が肌色の色度の取りうる範囲内であれば集計することとし、全画素について集計したらステップS160にて平均値を求めるとともにステップS170では画素数を考慮した色修正量を算出しているため、明るさにとらわれることなく色修正したい色の画素を正確に集計でき、かつ、修正量は画素数を考慮して調整を図るため、周りの画素の色に大きな影響を与えることのない最適な色修正を実行することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかる色修正装置を適用した色修正システムのブロック図である。
【図2】同色修正装置の具体的ハードウェアのブロック図である。
【図3】本発明の色修正装置の他の適用例を示す概略ブロック図である。
【図4】本発明の色修正装置の他の適用例を示す概略ブロック図である。
【図5】本発明の色修正装置における色修正処理を示すフローチャートである。
【図6】処理対象画素を移動させていく状態を示す図である。
【図7】階調データを所定の強度で変換するトーンカーブを示す説明図である。
【図8】変形例にかかる色修正処理を示すフローチャートである。
【図9】同色修正処理で選択可能な色修正の対象を示す図である。
【図10】色修正となる元の写真画像を示す図である。
【符号の説明】
10…画像入力装置
20…色修正装置
21…コンピュータ
21a…オペレーティングシステム
21b…プリンタドライバ
21c…ディスプレイドライバ
21d…色修正アプリケーション
22…ハードディスク
23…キーボード
24…CD−ROMドライブ
25…フロッピーディスクドライブ
26…モデム
30…画像出力装置[0001]
BACKGROUND OF THE INVENTION
  The present invention performs optimal color correction on live-action image data such as digital photographic imagesImage processingapparatus,Image processingMethod andImage processingThe present invention relates to a medium on which a control program is recorded.
[0002]
[Prior art]
Various color correction processes are performed on the digital image data. For example, it is a process of emphasizing or weakening each element color of RGB. For convenience, the enhancement process and the weakening process are called enhancement processes. These processes can usually be executed by a microcomputer, and an operator confirms an image on a monitor and selects an element color that needs to be corrected, and determines parameters such as an emphasis degree.
[0003]
[Problems to be solved by the invention]
In recent years, it has become easy to correct colors by image processing and has been widely used. However, humans must still be involved when it comes to highlighting which element colors to what extent. This is because it has not been possible to determine where the color deviation is conspicuous in the digital image data to be subjected to color correction processing.
[0004]
For example, if it is the color of a building, the color shift will not be known unless the original color is known, but the human skin color is generally imaginable, and the operator can see the human skin in the photographic image. Correct the colors so that the colors look natural.
[0005]
What is more troublesome here is the human memory color. When using lemon as a subject, even if the actual color measured with a colorimeter matches the color of the photo, the color of the photo appears to be slightly dull unless compared. This is because, as a human sensation, the color of lemon is remembered to be vivid, but the real thing is not so vivid. Therefore, even if it can be corrected to the original color tone, it cannot be satisfied by itself. As the memory color, skin color, green of trees, blue of blue sky, etc. are raised.
[0006]
On the other hand, when color correction is performed with human involvement, if the skin color is matched to the memory color, the other colors will shift, so the skin color is within the appropriate range even if it does not match the memory color. Determine the degree of emphasis.
[0007]
In this way, the conventional color correction processing cannot be compared with the original color and cannot be automatically corrected. Even if it can be corrected, it is difficult to achieve satisfaction with human memory colors, and eventually human There was a problem that had to be involved.
[0008]
  The present invention has been made in view of the above problems, and can automatically execute optimum color correction processing in consideration of memory colors.Image processingapparatus,Image processingMethod andImage processingAn object is to provide a medium on which a control program is recorded.
[0009]
[Means for solving the problems and their functions and effects]
  In order to achieve the above object, an image processing apparatus of the present invention provides:
  An image processing apparatus that performs predetermined image processing on a multicolor real image composed of a plurality of pixels,
  Target color pixel counting means for inputting color image data representing the color of each pixel constituting the photographed image and totalizing the color image data of the pixel whose color falls within a predetermined range;
  Characteristic values representing characteristics of the colors of pixels within the predetermined range, such as an average value, median, and standard deviation obtained as a result of counting by the target color pixel counting means, and colors in the predetermined range are determined in advance. A color correction amount determination means for correcting a quantity corresponding to a difference from the obtained ideal value according to a ratio of the totaled pixels to all the pixels to obtain a color correction amount;
  A color that corrects color image data of a pixel including a pixel in which at least the color of the pixel is included in a predetermined range among pixels constituting the photographed image, using the color correction amount obtained by the color correction amount determination unit Correction means and
  The gist is that
[0010]
  the aboveIn the invention ofTargetColor paintingElementary aggregation meansColor image data representing the color of each pixel constituting the photographed image is input, and the color image data of the pixels whose color falls within a predetermined range is totaled. For example, there isPixels can take skin colorcolorIf it falls within the range, the pixel is counted. The specific contents of aggregation can be various values such as average value, median, etc., but for all pixels in the imageColorAggregating only those that fall within a predetermined range corresponds to human beings paying attention to pixels that are likely to be skin-colored and determining their average color.
[0011]
  Next, the color correction amount determination means calculates an amount corresponding to the difference between the characteristic value obtained based on the result of the aggregation by the target color pixel aggregation means and an ideal value predetermined for the color in the predetermined range, Correction is performed according to the ratio of the totaled pixels to all the pixels, and the color correction amount is obtained. That is, first, a correction amount is calculated so as to eliminate the difference between a predetermined ideal value for pixels of a predetermined range of color and the above-described total result. However, if this correction amount is applied as it is, for example, although only the skin color becomes an appropriate color, a shift in a color portion other than the skin color cannot be allowed. Therefore, the color correction amount determination unit corrects the calculated correction amount according to the ratio of the total number of pixels to all the pixels to determine the color correction amount. As a result, adjustment is performed so that the color correction of the flesh-colored portion does not excessively change the color of other portions. The color correcting means corrects the color image data based on the color correction amount obtained by such correction.
[0012]
  As a method for obtaining the color of each pixel based on the color image data, for example, a method for obtaining the chromaticity of each pixel can be considered. Chromaticity represents the absolute proportion of color stimulus values and is not affected by brightness. Therefore, it is possible to divide an important part (called an object) in an image according to a range where chromaticity can be taken. For example, it is the range that the skin color can take, or the range that the trees can take green. Such a method for obtaining the chromaticity of each pixel may be adopted in the present invention, and the target color pixel counting means may be used as a means for counting the color image data for pixels whose chromaticity of the pixel is within a predetermined range. . eachObtain chromaticity from pixel color image dataSometimesThe chromaticity may be converted 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, and if it is not a direct element, conversion is performed. The conversion may use a conversion table or may be obtained by a conversion formula. In this case, it is not always necessary to be accurate, and an error that has little influence may be included.Further, the target color pixel totaling unit may determine whether the color of each pixel is within a predetermined range and perform totalization for pixels within the predetermined range. In this case, it is not always necessary to make an alternative determination as to whether or not the value is within a certain range, and the total may be calculated by changing the weight.
[0013]
  It is also preferable to determine the ideal value used in the color correction amount determining means as a value representing a memory color that is a color that humans sensuously store for a predetermined object.
[0014]
  Further, although there are a wide variety of methods for totalizing color image data of pixels having colors within a predetermined range, the following configuration can be considered as an example in consideration of the amount of calculation. That is, the target color pixel counting means is a means for counting the color image data of the pixel for each element color, and the color correction amount determining means is for the color image data collected for each element color. Characteristic value determining means for determining an average value as the characteristic value; and ideal value defining means for predetermining an ideal value for the color in the predetermined range for each element color, and determined by the characteristic value determining means. For each element color, an amount corresponding to the difference between the characteristic value and the ideal value predetermined by the ideal value defining means is obtained for each element color. In this configuration, the color correction amount for each element color is obtained by correction in accordance with the ratio of occupancy. In other words, the target color pixel totaling unit totalizes the average value for each element color of the color image data for each pixel determined to be the target pixel, and the color correction amount determination unit determines the color within the predetermined range. The color image data is a configuration having ideal values for each element color. In the above configuration, the target color pixel totaling unit totals average values for each element color of the color image data for each pixel determined to be the target pixel. Although totaling as chromaticity may be performed, totaling is performed by using element colors of color image data. On the other hand, the color correction amount determining means also has an ideal value for each element color for the color image data corresponding to the color in the predetermined range, so that the comparison for each element color can be performed as it is, and the difference between them. Can be used as the correction amount of the element color.
[0015]
Of course, although the amount of calculation increases as a totaling method, other than this, it is possible to use median or standard deviation.
[0016]
  TargetColor paintingElementary aggregation means are subject to aggregationColors andIn the chromaticity rangeRelated, SubjectColor paintingElementary aggregation meansBut, About memory colorColors andAs a configuration that aggregates pixels for the range of chromaticityGood.
[0017]
  the aboveTo the configuration ofContains so-called human memory colorsColors andPixels are counted for a range that can be taken by chromaticity. In this case, it is not always necessary to obtain one tabulation result with only one range, and a plurality of tabulations may be specified individually by specifying a plurality of ranges.
[0018]
  The color correction amount determination means includes a predetermined ideal value for the pixels of a predetermined range of colors and chromaticities and the above-described total result (specifically, an average value, median, standard deviation, etc. obtained as a result of the totalization, Find the correction amount that eliminates the difference from the characteristic value of the pixel color within the specified range) and correct the correction amount according to the proportion of the total pixels To do. In this case, it is not always necessary to perform a two-stage process, and it is sufficient if a similar result is obtained. For example, if you get something that reflects the difference between the ideal value and the result of the aggregation at the aggregation stage, you can use it, or use it if you get a result that includes the percentage of all pixels. It does n’t matter. Further, the difference between the ideal value and the total result does not necessarily require an operation of subtraction, and it is sufficient if such intention is included inherently.
[0019]
  Various modes are also possible for the color correction amount. For example, the color correction amount determination means represents the input / output relationship based on the correction result for the amount corresponding to the difference between the characteristic value and the ideal value. A means including a tone curve creating means for creating a tone curve and a means for obtaining the color correction amount based on the tone curve created by the tone curve creating means may be used. More specifically, a configuration is considered in which the color correction amount determining means uses a tone curve representing an input / output relationship when changing the degree of intensity of each element color, and forms a tone curve corresponding to the correction amount. be able to.
[0020]
  the aboveTo the configuration ofColor correction amountDecisionThe means forms a tone curve corresponding to the correction amount, and the color correction means changes the strength level so that the input / output relationship of each element color is represented by the same tone curve according to the tone curve.
[0021]
  The method of summing up pixels whose colors are within a predetermined range and reflecting the summation result in the color correction amount is not necessarily limited to an actual apparatus. As an example, the image processing method of the present invention includes a plurality of methods. A method for performing predetermined image processing on a multicolored photographed image composed of pixels,
  Input color image data representing the color of each pixel constituting the live-action image, and totalize the color image data of pixels whose color falls within a predetermined range,
  The amount corresponding to the difference between the characteristic value obtained based on the result of the aggregation and the ideal value predetermined for the color in the predetermined range is corrected according to the ratio of the aggregated pixels to all the pixels. Find the color correction amount,
  Using the obtained color correction amount, correcting color image data of a pixel including at least a pixel in which the color of the pixel is within a predetermined range among pixels constituting the photographed image.
  Is the gist.
[0022]
That is, it is not necessarily limited to a substantial apparatus, and there is no difference that the method is also effective.
[0023]
  By the way, as mentioned aboveColorJudgment and color correction processingImage processingThe idea of the invention includes various aspects, such as a case where the device exists alone or a case where the device is incorporated in a certain device. Further, it can be changed as appropriate, for example, by hardware or by software.
[0024]
  As an embodiment of the idea of the inventionImage processingIn the case of software for controlling the apparatus, it naturally exists on a recording medium in which such software is recorded, and must be used.
[0025]
  As an example thereof, the recording medium of the present invention is a recording medium in which a program corresponding to predetermined image processing performed on a multicolor real image composed of a plurality of pixels is recorded in a computer-readable manner,
  A function of inputting color image data representing a color for each pixel constituting the live-action image, and aggregating the color image data of pixels whose color falls within a predetermined range;
  A characteristic value representing a characteristic of the color of the pixel falling within the predetermined range, such as an average value, a median, or a standard deviation obtained as a result of the totalization, and a predetermined ideal value for the color within the predetermined range A function for correcting the amount corresponding to the difference in accordance with the ratio of the total pixel to the total pixels and obtaining a color correction amount;
  A function of correcting color image data of a pixel including a pixel in which at least the color of the pixel is in a predetermined range among pixels constituting the photographed image, using the obtained color correction amount;
  The main point is that a program for realizing the above is recorded by a computer.
[0026]
Of course, the recording medium may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium that will be developed in the future. In addition, the duplication stages such as the primary duplication product and the secondary duplication product are equivalent without any question. In addition, even when the communication method is used as a supply method, the present invention is not changed, and the same applies to the case where data is written on a semiconductor chip.
[0027]
Further, even when a part is software and a part is realized by hardware, there is nothing completely different in the idea of the invention, and a part is stored on a recording medium, and it is appropriately changed as necessary. It may be in the form of being read.
[0028]
  Less thanAs explained above,The present inventionAccording to the image processing device,Pixels of the color to be color corrected in the photographed image are automatically totaled, and the color correction amount is determined in consideration of the ratio of the totaled pixels to all the pixels. Therefore, the color correction for a specific color in the photographed image can be executed without greatly affecting the colors of the pixels around the pixel to be color corrected. Further, if the configuration is such that the color image data is totaled for pixels whose chromaticity is within a predetermined range, the pixels of the color whose color is desired to be corrected can be accurately totaled regardless of the brightness. Further, if the ideal value used in the color correction amount determining means is set to a value representing the memory color,Close to human judgmentLevel of colorAutomatic correction processRealizationTo doInwear.
[0029]
  Also,If the color image data of the pixel is aggregated for each element color and the color correction amount for each element color is obtained,This makes it easier to perform calculations when using the aggregated results.
[0030]
  further,RecordBy summing up the pixels for the memory color, the reflection degree of the correction is adjusted according to the number of pixels, and it becomes closer to human judgment.
[0031]
  In addition, use the tone curveAs a configuration,It becomes easy to add color correction of other elements comprehensively. In this case, not only the portion of the memory color is brought close to the ideal color, but also the adjacent color region is continuously changed, so that a pseudo contour due to tone jump does not occur.
[0032]
  further,Image processing method of the present inventionCan provide a color correction method that exhibits the same effect,Recording medium of the present inventionAccording to this, it is possible to provide a medium on which a color correction control program is recorded.
[0033]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0034]
FIG. 1 is a block diagram illustrating a color correction system to which a color correction apparatus according to an embodiment of the present invention is applied. FIG. 2 is a schematic block diagram illustrating a specific hardware configuration example.
[0035]
  In FIG. 1, an image input device 10 outputs color image data representing a photograph or the like as a pixel in a dot matrix to the color correction device 20, and the same color correction device 20 executes an optimal color correction process according to the same color image data. To do. The same color correction device 20 outputs the color image data subjected to the color correction processing to the image output device 30, and the image output device outputs the color-corrected image as a dot matrix pixel. Here, the color image data output from the color correction device 20 determines the target and color of the image based on the chromaticity of each pixel, and determines the optimum color correction policy and degree in consideration of the whole. The color is corrected. Therefore, the color correction device 20,versuselephantColor paintingElementary aggregation means and color correction amountDecisionMeans and color correction means.
[0036]
A specific example of the image input apparatus 10 corresponds to the scanner 11, the digital still camera 12, or the video camera 14 in FIG. 2, and specific examples of the color correction apparatus 20 include a computer 21, a hard disk 22, a keyboard 23, and a CD-ROM drive 24. A computer system including a floppy disk drive 25 and a modem 26 is applicable, and a specific example of the image output device 30 is a printer 31, a display 32, or the like. In the case of this embodiment, since it is determined whether the color of the pixel represented by the color image data is not shifted from the stored color, actual photograph data such as a photograph is suitable as the same color image data. The modem 26 is connected to a public communication line, connected to an external network via the public communication line, and can be installed by downloading software and data.
[0037]
In the present embodiment, the scanner 11 or the digital still camera 12 as the image input device 10 outputs RGB (green, blue, red) gradation data as color image data, and the printer 31 as the image output device 30 As the gradation data, CMY (cyan, magenta, yellow) or CMYK binary data obtained by adding black to this is required as input, and the display 32 requires RGB gradation data as input. On the other hand, an operating system 21a operates in the computer 21, and a printer driver 21b and a display driver 21c corresponding to the printer 31 and the display 32 are 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, create RGB gradation data subjected to optimal color correction, and display the display 32 via the display driver 21c. And is converted into binary data of CMY (or CMYK) via the printer driver 21b and printed on the printer 31.
[0038]
As described above, in the present embodiment, a computer system is incorporated between image input / output devices to perform color correction. However, such a computer system is not necessarily used, and color image data is used. It can be used in various systems. For example, as shown in FIG. 3, a color correction device for correcting the color based on the chromaticity of each pixel is incorporated in the digital still camera 12a, and the converted color image data is displayed on the display 32a or printed on the printer 31a. Such a system may be used. As shown in FIG. 4, in the printer 31b for inputting and printing color image data without using a computer system, the color image data input via the scanner 11b, the digital still camera 12b, the modem 26b or the like is used. It is also possible to configure so as to correct the color by automatically determining the object and color of the image.
[0039]
Specifically, the above-described object determination and the accompanying color correction are performed by the color correction processing program corresponding to the flowchart shown in FIG. This flowchart corrects the color so that the so-called skin color looks beautiful.
[0040]
In this color correction process, first, the totalization is performed for pixels that appear to be skin-colored based on the chromaticity of each pixel. Note that, when totaling, all the pixels are totaled while moving the target pixel as shown in FIG.
[0041]
First, in step S110, the xy chromaticity for each pixel is calculated. Now, when 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)
Then, between the chromaticity coordinates x and 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.3857g) ... (4)
The corresponding relationship is established. Here, the chromaticity represents the absolute ratio of the stimulus value of the color without being influenced by the brightness, so it can be said that it is possible to determine what kind of object the pixel is based on the chromaticity. . For example, taking skin color as an example,
0.35 <x <0.40 (5)
0.33 <y <0.36 (6)
Therefore, if the chromaticity of each pixel is obtained within this range, it can be said that the pixel is not erroneous even if it is considered as a pixel representing human skin.
[0042]
Therefore, in step S120, it is determined whether or not the xy chromaticity converted based on the RGB gradation data of each pixel is within the skin color range. If it is the skin color, the color of the same pixel is determined in step S130. Aggregate image data. 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 skin color.
[0043]
Thereafter, whether or not the skin color is determined, the target pixel is moved in step S140, and the process is repeated until it is determined in step S150 that all pixels have been completed. Then, when all the pixels are completed, the total value is divided by the number of pixels in step S160 to obtain an average value (Rs.ave, Gs.ave, Bs.ave).
[0044]
  As is apparent from the above, software processing for calculating xy chromaticity in step S110 and hardware for executing the software processing,and,In step S120, it is determined whether or not the same chromaticity is within the predetermined target range, and if it is, the process of counting the color image data in step S130 is performed in steps S140 and S150. This is performed for all the pixels while moving the pixels, and the total result is divided by the number of pixels in step S160 to obtain the average value. Therefore, these software processes and the hardware configuration for executing these software processes are targeted.Color paintingConstructs an element totaling means.
[0045]
On the other hand, ideal values (Rs.ideal, Gs.ideal, Bs.ideal) are obtained in advance for skin-colored pixels that are preferentially preferred. This ideal value is different from the colorimetric result in terms of the memory color. In the example of skin color, the illusion is that the skin color deliberately deviated from the skin color whose colorimetric results match. This is based on a fixed recognition of the skin color in a photograph or the like as a human sense, and is called a memory color. In the present invention, by setting an ideal value including such a memory color, 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]
Average values of RGB gradation data (Rs.ave, Gs.ave, Bs.ave) for skin color pixels, and ideal values (Rs.ideal, Gs.ideal, Bs.ideal) obtained for preferred skin colors The difference between the two points essentially indicates a shift in the color image data.
[0047]
However, it is not preferable to apply this difference as a correction amount as it is. For example, if the same correction amount is executed for all pixels, the flesh color portion may be a preferable color, but the color of the pixels other than the flesh color may be greatly affected.
[0048]
For this reason, in this embodiment, the ratio (skin color rate) that the number of skin color pixels occupies in the total number of pixels is obtained, and the correction amount is adjusted. That is, the correction amounts ΔR, ΔG, ΔB are
ΔR = ks (Rs.ideal-Rs.ave) (7)
ΔG = ks (Gs.ideal-Gs.ave) (8)
ΔB = ks (Bs.ideal-Bs.ave) (9)
Where skin color rate ks is
ks = (skin color pixel count / total pixel count)
Seeking in.
[0049]
The color correction amount obtained in this way cannot be used for correcting the color image data as it is, and in this embodiment, a tone curve is formed using the correction amount in step S180. FIG. 7 is an explanatory diagram showing a tone curve formation state.
[0050]
  The tone curve means an input-output relationship when the RGB gradation data is converted by changing the degree of emphasis. Taking 256 gradations “0” to “255” as an example, the gradation “0” is obtained. The gradation “255” and a certain gradation between themDefiniteA spline curve that passes through the output values specified for the three points is used. As an example, assuming that the intermediate gradation is “64”, the input values are “0”, “64”, and “255”, respectively, and the output values are “0”, “64”, and “255”. Sometimes the input / output relations match and the tone curve becomes a straight line. However, when the output value for the input value “64” is not “64”, the input / output correspondence is formed by gently drawing a curve as shown in FIG. In the present embodiment, the average values (Rs.ave, Gs.ave, Bs.ave) of the above-described RGB gradation data as intermediate gradations are used as control points, and the above-described correction amounts ΔR, ΔG, ΔB are respectively set as control points. It is reflected in the tone curve. By changing the control point in this way, when the skin color rate ks becomes “1”, the control point matches the ideal value (Rs.ideal, Gs.ideal, Bs.ideal).
[0051]
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 the pixels again using the tone curve thus obtained.
[0052]
  Of course, the tone curve is formed based on the processing in step S170 in which the target pixel is corrected according to the ratio indicated by all the pixels while obtaining the difference between the total result and the ideal value in this way, and the obtained color correction amount. The process of step S180 and the hardware configuration that executes these processes are color correction amounts.DecisionIn other words, it can be said that the process of converting color image data in step S190 and the hardware configuration for executing this constitute the color correction means.
[0053]
So far, for the sake of easy understanding, an embodiment has been described in which the object to be corrected is skin color as an example, but the object to be color corrected is not limited to the skin color. Taking the memory color as an example, in addition to the skin color, there are many desires to make the trees green vividly and to make the blue sky clear blue. FIG. 8 shows a modification in which a color correction target can be selected.
[0054]
In this example, a color correction target 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 allows the operator to select a target for color correction. In this example, the skin color correction to clean the skin color, the green correction to refresh the green of the trees, and the blue sky color correction to clear the sky color are displayed side by side, and check boxes are provided for each. To be able to choose. In this case, it is possible to select them in duplicate. When the “OK” button is clicked after checking the desired check box, a flag prepared for each target is set for the checked one, and the loop processing of steps S210 to S250 is started.
[0055]
This loop processing is performed while calculating the chromaticity of all the pixels while moving the target pixel in the same manner as in the previous example, and in step S210, the target pixel is expressed by equations (1) to (4). Based on this, the xy chromaticity is obtained. In the next step S215, the flag set in step S205 is referred to and it is determined whether or not the operator has selected skin color correction. If it is selected, a tabulation process is performed on the skin color pixels in step S220. This aggregation processing is the same as steps S120 and S130 in the previous example. If the xy chromaticity obtained in step S210 is within the range of chromaticity that can be taken by the skin color, the RGB gradation data is converted into the element color. Aggregate every.
[0056]
In the next step S225, whether or not the operator has selected green correction is determined by referring to the flag in the same manner as in the case of skin color correction. If it is selected, it is determined whether the xy chromaticity of this pixel falls within the chromaticity range corresponding to the green color of the trees. This total is calculated in an area different from the area used in the skin color totalization.
[0057]
Thereafter, in step S235, the same determination is made regarding blue sky color correction, and tabulation is performed in another area in step S240.
[0058]
  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 completed. In this example, there may be a plurality of targets for color correction, but even in that case, if the chromaticity of the target pixel is within a predetermined range in steps S215 to S240, the target is calculated in the sense that the summation is performed.Color paintingIt can be said that it constitutes an elementary aggregation means.
[0059]
When the chromaticities for all the pixels are totaled, in steps S255 to S265, a correction amount is calculated for each color based on the totaling result. In this example, unlike the previous example, the process of obtaining the average value from the total result is performed simultaneously in the correction amount determination process, and the calculation procedure can be changed as appropriate. Although the skin color correction has been described in the previous example, the process is the same for the green color correction and the blue sky color correction. That is, the average value is calculated based on the total result, the difference from the ideal value obtained for the preferable image is obtained, and the correction amount is corrected by multiplying the green rate and the blue sky color rate in the same manner as the skin color rate. .
[0060]
When the step S265 is completed, there are three correction amounts. This is because the correction amount is obtained by individually collecting the skin color correction, the green correction, and the blue sky color correction. For this reason, in this embodiment, it adds so that these total results may be overlapped. That is, assuming that the processing targets are further expanded, the color correction amounts ΔR, ΔG, ΔB for the respective processing targets are
[0061]
[Expression 1]
Figure 0003893669
[0062]
[Expression 2]
Figure 0003893669
[0063]
[Equation 3]
Figure 0003893669
[0064]
As required. put it here,
[0065]
[Expression 4]
Figure 0003893669
[0066]
It is assumed that there are no duplicate counts.
[0067]
  In step S270, the tone curve is formed as shown in FIG. 7 based on the color correction amounts ΔR, ΔG, and ΔB thus obtained. In this case, the control points are Σki · Ri.ave, Σki · Gi.ave, Σki · Bi.ave. Of course, the process of steps S255 to S270 is the color correction amount.DecisionConfigure the means. When the tone curve is formed, the color image data is corrected in step S275.
[0068]
Note that the color correction apparatus described above can also be applied as a printer driver. Normally, a printer driver cannot temporarily store input data in the process of processing and outputting the input data. Therefore, there is a limitation in changing the processing by dividing the region by a desired amount. However, as shown in the equations (11) to (12), by setting color correction amounts for a plurality of elements, effective correction can be performed even in such a printer driver with many restrictions.
[0069]
Next, the operation of the present embodiment configured as described above will be described.
[0070]
First, it demonstrates along previous embodiment. Assume that a photographic image as shown in FIG. 10 is read by the scanner 11 and printed by the printer 31. Then, first, the color correction application 21d is activated while the operating system 21a is running on the computer 21, and the scanner 11 is started to read a photograph. When the read color image data is taken into the color correction application 21d via the operating system 21a, the processing target pixel is set to the initial position. Subsequently, in step S110, the xy chromaticity of the pixel is calculated based on the equations (1) to (4). In step S120, the x value and the y value are within the skin color chromaticity range. Judge whether or not. If it is within the skin color chromaticity range, the color image data of the pixel is tabulated for each element color in step S130. As shown in FIG. 10, at least limbs and the face should be able to be determined as skin-colored pixels without being constrained by brightness. In this example, several percent of all the pixels are counted as skin-colored pixels. The above processing is repeated while moving the target pixel in step S140 until it is determined that all pixels are executed in step S150.
[0071]
When all the pixels have been executed, the total value is divided by the number of skin color pixels in step S160 to calculate an average value. In step S170, the difference between the ideal value and the average value of the skin color pixels is obtained, and the skin color is calculated. The skin color rate corresponding to the ratio between the number of pixels and the total number of pixels is multiplied, and a tone curve is formed in step S180. In step S190, the color correction is performed by converting the data for each element color of the color image data based on the tone curve. Then, while trying to bring the skin color closer to the ideal value, the correction amount is conservatively set in consideration of the ratio between the number of skin color pixels and the total number of pixels, so that it is possible to perform color correction that is as good as possible. .
[0072]
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 aggregated skin color pixels and the ideal value by a skin color rate of several percent, and the tone corresponding to the corrected correction amount is obtained. A curve is formed to correct the color.
[0073]
Further, in the case where the correction target can be selected as in the following example, if skin color correction, green correction, and blue sky color correction are selected, xy chromaticity is calculated in step S210 for all pixels, In S215 to S240, the correction is individually performed for each correction target. In the example illustrated in FIG. 10, the xy chromaticities are included in the respective target ranges in the skin color portion, the leaf portion, and the blue sky portion of the person image, and are totalized.
[0074]
When all the pixels are completed, the color correction amount for each target process is obtained in consideration of the occupancy of each target pixel in steps S255 to S265, and a tone curve in which the correction amounts are superimposed is formed in step S270. . Finally, in step S275, color correction is executed on the color image data of all pixels. Then, the correction that brings the skin color closer to the ideal value, the correction that makes the leaves green look refreshing, and the correction that makes the blue sky clearer are adjusted according to the occupancy of each pixel and executed. .
[0075]
Of course, the color image data after the respective color corrections are displayed on the display 32 via the display driver 21c, and if good, they are printed by the printer 31 via the printer driver 21b. That is, the printer driver 21b receives RGB color data whose color has been corrected, performs rasterization corresponding to the print head area of the printer 31 through predetermined resolution conversion, and color-converts the rasterized data from RGB to CMYK. Thereafter, the CMYK gradation data is converted into binary data and output to the printer 31.
[0076]
Through the above processing, the color image data of the photograph read through the scanner 11 is automatically subjected to optimum color correction, displayed on the display 32, and then printed by the printer 31.
[0077]
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 if the same chromaticity is within the range that the skin color chromaticity can take in steps S120 and S130. If all the pixels are summed, the average value is obtained in step S160, and the color correction amount considering the number of pixels is calculated in step S170. Therefore, the pixel of the color whose color is desired to be corrected regardless of the brightness. Since the correction amount is adjusted in consideration of the number of pixels, optimal color correction that does not greatly affect the color of surrounding pixels can be executed.
[Brief description of the drawings]
FIG. 1 is a block diagram of a color correction system to which a color correction apparatus according to an embodiment of the present invention is applied.
FIG. 2 is a block diagram of specific hardware of the same color correcting apparatus.
FIG. 3 is a schematic block diagram showing another application example of the color correction apparatus of the present invention.
FIG. 4 is a schematic block diagram showing another application example of the color correction apparatus of the present invention.
FIG. 5 is a flowchart showing color correction processing in the color correction apparatus of the present invention.
FIG. 6 is a diagram illustrating a state in which a processing target pixel is moved.
FIG. 7 is an explanatory diagram showing a tone curve for converting gradation data with a predetermined intensity.
FIG. 8 is a flowchart showing color correction processing according to a modification.
FIG. 9 is a diagram illustrating color correction targets that can be selected in the same color correction processing;
FIG. 10 is a diagram showing an original photographic image for color correction.
[Explanation of symbols]
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. Floppy disk drive
26 Modem
30. Image output device

Claims (7)

複数の画素からなる多色の実写画像に対して所定の画像処理を行なう画像処理装置であって、
上記実写画像を構成する各画素についての色を表わす色画像データを入力し、該画素の色が所定範囲に入っている画素の色画像データを集計する対象色画素集計手段と、
上記対象色画素集計手段による集計の結果として得られた平均値、メジアン、標準偏差など、上記所定の範囲に入っている画素の色についての特性を表わす特性値と上記所定範囲の色について予め定められた理想値との差に相当する量を、上記集計した画素が全画素に占める割合に応じて補正して、色修正量を求める色修正量決定手段と、
該色修正量決定手段により求められた色修正量を用いて、上記実写画像を構成する画素のうち少なくとも上記画素の色が所定範囲に入っている画素を含む画素の色画像データを修正する色修正手段と
を備えた画像処理装置。
An image processing apparatus that performs predetermined image processing on a multicolor real image composed of a plurality of pixels,
Target color pixel counting means for inputting color image data representing the color of each pixel constituting the photographed image and totalizing the color image data of the pixel whose color falls within a predetermined range;
Characteristic values representing characteristics of the colors of pixels within the predetermined range, such as an average value, median, and standard deviation obtained as a result of counting by the target color pixel counting means, and colors in the predetermined range are determined in advance. A color correction amount determination means for correcting a quantity corresponding to a difference from the obtained ideal value according to a ratio of the totaled pixels to all the pixels to obtain a color correction amount;
A color that corrects color image data of a pixel including a pixel in which at least the color of the pixel is included in a predetermined range among pixels constituting the photographed image, using the color correction amount obtained by the color correction amount determination unit An image processing apparatus comprising: correction means.
上記対象色画素集計手段は、上記画素の色度が所定範囲内である画素について上記色画像データの集計を行なう手段である請求項1に記載の画像処理装置。  The image processing apparatus according to claim 1, wherein the target color pixel totaling unit is a unit that totalizes the color image data for pixels whose chromaticity is within a predetermined range. 上記色修正量決定手段において用いられる理想値が、所定の対象物について人間が感覚的に記憶している色である記憶色を表わす値に定められた請求項1または2に記載の画像処理装置。  The image processing apparatus according to claim 1, wherein the ideal value used in the color correction amount determination unit is set to a value representing a memory color that is a color human-sensed for a predetermined object. . 請求項1ないし3のいずれかに記載の画像処理装置であって、
上記対象色画素集計手段は、上記画素の色画像データを要素色毎に集計する手段であり、
上記色修正量決定手段は、
各要素色毎に集計された色画像データの平均的な値を上記特性値として決定する特性値決定手段と、
上記所定範囲の色についての理想値を上記要素色毎に予め定める理想値規定手段とを備え、
上記特性値決定手段により決定された特性値と上記理想値規定手段により予め定められた理想値との差に相当する量を各要素色毎に求め、該各要素色毎に求められた量を上記集計した画素が全画素に占める割合に応じて補正して、各要素色についての色修正量を求める手段である
画像処理装置。
The image processing apparatus according to any one of claims 1 to 3,
The target color pixel counting means is a means for counting the color image data of the pixels for each element color,
The color correction amount determination means is
Characteristic value determining means for determining an average value of color image data aggregated for each element color as the characteristic value;
Ideal value defining means for predetermining an ideal value for the color in the predetermined range for each element color;
An amount corresponding to the difference between the characteristic value determined by the characteristic value determining means and the ideal value predetermined by the ideal value defining means is obtained for each element color, and the amount obtained for each element color is calculated. An image processing apparatus, which is a means for obtaining a color correction amount for each element color by correcting according to a ratio of the total pixel to the total pixels.
請求項1ないし4のいずれかに記載の画像処理装置であって、
上記色修正量決定手段は、
上記特性値と上記理想値との差に相当する量についての補正結果に基づいて、入出力関係を表すトーンカーブを作成するトーンカーブ作成手段を備え、
該トーンカーブ作成手段により作成されたトーンカーブと、上記集計した画素が全画素に占める割合に応じて補正して、上記色修正量を求める手段である
画像処理装置。
The image processing apparatus according to any one of claims 1 to 4,
The color correction amount determination means is
Based on the correction result for the amount corresponding to the difference between the characteristic value and the ideal value, a tone curve creating means for creating a tone curve representing an input / output relationship is provided,
An image processing apparatus which is a means for obtaining the color correction amount by correcting the tone curve created by the tone curve creating means and the ratio of the aggregated pixels to all the pixels.
複数の画素からなる多色の実写画像に対して所定の画像処理を行なう方法であって、
上記実写画像を構成する各画素についての色を表わす色画像データを入力し、該画素の色が所定範囲に入っている画素の色画像データを集計し、
上記集計の結果として得られた平均値、メジアン、標準偏差など、上記所定の範囲に入っている画素の色についての特性を表わす特性値と上記所定範囲の色について予め定められた理想値との差に相当する量を、上記集計した画素が全画素に占める割合に応じて補正して、色修正量を求め、
該求められた色修正量を用いて、上記実写画像を構成する画素のうち少なくとも上記画素の色が所定範囲に入っている画素を含む画素の色画像データを修正する
画像処理方法。
A method of performing predetermined image processing on a multicolored photographed image composed of a plurality of pixels,
Input color image data representing the color of each pixel constituting the live-action image, and totalize the color image data of pixels whose color falls within a predetermined range,
A characteristic value representing a characteristic of the color of the pixel falling within the predetermined range, such as an average value, a median, or a standard deviation obtained as a result of the totalization, and a predetermined ideal value for the color within the predetermined range The amount corresponding to the difference is corrected according to the ratio of the total pixel to the total pixels to obtain a color correction amount,
An image processing method for correcting color image data of a pixel including at least a pixel whose color falls within a predetermined range among pixels constituting the photographed image using the obtained color correction amount.
複数の画素からなる多色の実写画像に対して行なわれる所定の画像処理に対応したプログラムをコンピュータに読み取り可能に記録した記録媒体であって、
上記実写画像を構成する各画素についての色を表わす色画像データを入力し、該画素の色が所定範囲に入っている画素の色画像データを集計する機能と、
上記集計の結果として得られた平均値、メジアン、標準偏差など、上記所定の範囲に入っている画素の色についての特性を表わす特性値と上記所定範囲の色について予め定められた理想値との差に相当する量を、上記集計した画素が全画素に占める割合に応じて補正して、色修正量を求める機能と、
該求められた色修正量を用いて、上記実写画像を構成する画素のうち少なくとも上記画素の色が所定範囲に入っている画素を含む画素の色画像データを修正する機能と
をコンピュータにより実現するプログラムを記録した記録媒体。
A recording medium in which a program corresponding to predetermined image processing performed on a multicolor real image composed of a plurality of pixels is recorded in a computer-readable manner,
A function of inputting color image data representing a color for each pixel constituting the live-action image, and aggregating the color image data of pixels whose color falls within a predetermined range;
A characteristic value representing a characteristic of the color of the pixel falling within the predetermined range, such as an average value, a median, or a standard deviation obtained as a result of the totalization, and a predetermined ideal value for the color within the predetermined range A function for correcting the amount corresponding to the difference in accordance with the ratio of the total pixel to the total pixels and obtaining a color correction amount;
Using the obtained color correction amount, a computer realizes a function of correcting color image data of pixels including at least a pixel in which the color of the pixel is in a predetermined range among pixels constituting the photographed image. A recording medium that records the program.
JP16015897A 1997-06-17 1997-06-17 Image processing apparatus, image processing method, and medium on which image processing control program is recorded Expired - Fee Related JP3893669B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP16015897A JP3893669B2 (en) 1997-06-17 1997-06-17 Image processing apparatus, image processing method, and medium on which image processing control program is recorded
EP05077481A EP1619875A1 (en) 1997-06-17 1998-06-12 Image processing apparatus, image processing method, color adjustment method, and color adjusment system
EP05077482A EP1619876A3 (en) 1997-06-17 1998-06-12 Colour image processing apparatus and method
EP98304660A EP0886437B1 (en) 1997-06-17 1998-06-12 Method and apparatus for colour adjustment
EP04077594A EP1489833A1 (en) 1997-06-17 1998-06-12 Image processing apparatus, image processing method, color adjustment method, and color adjustment system
DE69827703T DE69827703T2 (en) 1997-06-17 1998-06-12 Method and device for adjusting the color
US09/097,828 US6535301B1 (en) 1997-06-17 1998-06-16 Image processing apparatus, image processing method, image processing program recording medium, color adjustment method, color adjustment device, and color adjustment control program recording medium
US10/270,485 US7072074B2 (en) 1997-06-17 2002-10-16 Image processing apparatus, image processing method, image processing program recording medium, color adjustment method, color adjustment device, and color adjustment control program recording medium
US11/431,753 US7286265B2 (en) 1997-06-17 2006-05-11 Image processing apparatus, image processing method, image processing program recording medium, color adjustment method, color adjustment device, and color adjustment control program recording medium
US11/431,752 US7292371B2 (en) 1997-06-17 2006-05-11 Image processing apparatus, image processing method, image processing program recording medium, color adjustment method, color adjustment device, and color adjustment control program recording medium

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
JPH118773A JPH118773A (en) 1999-01-12
JP3893669B2 true JP3893669B2 (en) 2007-03-14

Family

ID=15709131

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP3893669B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3931903B2 (en) 2002-09-26 2007-06-20 セイコーエプソン株式会社 Output image adjustment of image data
WO2005057908A1 (en) * 2003-12-11 2005-06-23 Fujitsu Limited Image processing method, program, and device
WO2008084544A1 (en) * 2007-01-11 2008-07-17 Fujitsu Limited Image correction program, image correction method, and image correction device
CN102265593A (en) * 2008-12-22 2011-11-30 皇家飞利浦电子股份有限公司 Method for changing image data signal, device for changing image data signal, display device
JP4539778B2 (en) * 2009-01-26 2010-09-08 セイコーエプソン株式会社 Image data color correction

Also Published As

Publication number Publication date
JPH118773A (en) 1999-01-12

Similar Documents

Publication Publication Date Title
US7822269B2 (en) Projector color correcting method
EP1898624B1 (en) Image processing device, image processing method, image processing program product, and image-capturing device
US6229580B1 (en) Image color correction apparatus and recording medium having color program recorded thereon
EP1619875A1 (en) Image processing apparatus, image processing method, color adjustment method, and color adjusment system
JP4210026B2 (en) COLOR CORRECTION DEVICE, COLOR CORRECTION METHOD, AND RECORDING MEDIUM CONTAINING COLOR CORRECTION CONTROL PROGRAM
JP2680375B2 (en) Method and apparatus for interactive image modification
US6657746B1 (en) Look-up table constructing method and color conversion apparatus
JP2011018354A (en) Medium recording image modifying program, image modifying apparatus and method
US5710872A (en) Color image recording device, system, and method
JP3273204B2 (en) Color separation image processing method and apparatus for four-color printer
US5943143A (en) Image processing system having color adjusting features
JPWO2002021849A1 (en) Image processing apparatus and color system conversion 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
JP2006115445A (en) Image processing device, image processing program, electronic camera, and image processing method
US7224833B2 (en) Method for fast color saturation control
US7679783B2 (en) System and method for extracting grayscale data within a prescribed tolerance
JP2003162714A (en) Device and method for correcting color and medium with color correction control program recorded thereon
US20030210430A1 (en) Image processing method, image processing apparatus and recording medium
JPH08116460A (en) Color masking parameter determining device
JPH10200777A (en) Image processing unit, image processing method, and medium recording image processing program
JP3824674B2 (en) Printing proof creation method and apparatus
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
JP3145878B2 (en) Color conversion method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040617

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060725

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060925

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061204

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121222

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131222

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees