JP4822690B2 - Image processing method and apparatus, and print service system - Google Patents
Image processing method and apparatus, and print service system Download PDFInfo
- Publication number
- JP4822690B2 JP4822690B2 JP2004319499A JP2004319499A JP4822690B2 JP 4822690 B2 JP4822690 B2 JP 4822690B2 JP 2004319499 A JP2004319499 A JP 2004319499A JP 2004319499 A JP2004319499 A JP 2004319499A JP 4822690 B2 JP4822690 B2 JP 4822690B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- face
- color
- correction
- information
- 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
Links
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Image Analysis (AREA)
Description
本発明は画像処理方法及びその装置と、プリントサービスシステムに関し、特に、デジタルカメラ、ディスプレイ、スキャナ、プリンタなどのカラー画像機器、及び該カラー画像機器の画像処理ソフトウェアにおけるカラー画像の補正処理に関するものである。 The present invention relates to an image processing method and apparatus therefor, and a print service system, and more particularly to a color image device such as a digital camera, a display, a scanner, and a printer, and a color image correction process in image processing software of the color image device. is there.
従来より、デジタル画像に対して、彩度、色調、コントラストや階調の調整等の様々な画像処理を施すことが行われてきている。従来これらの画像処理を行うに際しては、画像に関して専門的な知識を持ったオペレータが、専門的または専用のソフトウェアを用いるとともに経験的な知識を駆使することにより、コンピュータのモニタ画面上でその画像処理結果を確認するなどしながらの試行錯誤を行って、好適な画像を得るようにしているというのが一般的であった。 Conventionally, various image processing such as adjustment of saturation, color tone, contrast, and gradation has been performed on digital images. Conventionally, when performing such image processing, an operator who has specialized knowledge about the image uses specialized or dedicated software and makes full use of empirical knowledge so that the image processing can be performed on a computer monitor screen. In general, trial and error are performed while confirming the result to obtain a suitable image.
近年、インターネットの普及に牽引されるようにしてデジタルカメラの普及が進んでいる。これは、デジタルカメラで撮影して得られる結果(データ)が、コンピュータにとって読み取ることが容易なファイル形式のデータであるためである。例えば、デジタルカメラによって撮影した画像をWWW (World Wide Web)のサーバ上に保存して第三者に対して公開する、といったことを容易に行えるからである。このようなデジタルカメラの普及によって、これまで画像とあまり縁のなかったユーザの周囲にもデジタル画像データが増加しているのもまた事実である。 In recent years, the popularity of digital cameras has been increasing, driven by the popularity of the Internet. This is because the result (data) obtained by photographing with a digital camera is data in a file format that can be easily read by a computer. For example, it is possible to easily store an image photographed by a digital camera on a WWW (World Wide Web) server and open it to a third party. With the spread of such digital cameras, it is also true that digital image data has increased around users who have never had much connection with images.
しかし、デジタルカメラのユーザは、旧来のアナログカメラを自在に使いこなすようなカメラに関して知識が十分といえるユーザというよりも、むしろコンピュータの知識には詳しいものの、カメラに関しての知識が十分でないユーザが多いと考えられる。したがって、デジタルカメラで撮影された画像は、必ずしも好適な条件で撮影された画像ばかりであるとは限らない。だからと言って、好適でない条件で撮影された画像であってもその内容が撮影者にとって重要であった場合などには、必ずしも廃棄できるものではない。このため、好適でない条件で撮影された画像であっても、この画像から適切な画像を得ることができる画像補正方式が望まれている。 However, users of digital cameras are not users who have sufficient knowledge about cameras that can freely use conventional analog cameras, but rather users who are familiar with computers but do not have enough knowledge about cameras. It is done. Therefore, images taken with a digital camera are not necessarily only images taken under suitable conditions. That said, even if an image was taken under unfavorable conditions, it may not always be discarded if the content is important to the photographer. For this reason, there is a demand for an image correction method that can obtain an appropriate image from this image even if the image is taken under unfavorable conditions.
例えば、カラーマッチング技術は、入出力機器の特性の影響を受けないように画像を補正するもので、実物に忠実な色補正が要求される。一方、デジタルカメラで撮影した写真画像を扱う場合、実物に忠実であるよりも人が好ましいと感じるような画像補正も重要である。人物写真の場合に主な注目領域は被写体となった人物の顔であって、その顔領域が適正な明るさ(肌色)となっているものが好ましいことから、適正な明るさで撮影されなかった場合には、良好な明るさ(肌色)に調整されるように補正されるのが好ましいと言える。 For example, the color matching technique corrects an image so as not to be affected by the characteristics of input / output devices, and requires color correction faithful to the actual product. On the other hand, when dealing with a photographic image taken with a digital camera, it is also important to perform image correction so that a person feels better than being true to the real thing. In the case of portraits, the main area of interest is the face of the person who is the subject, and it is preferable that the face area has the appropriate brightness (skin color). In such a case, it can be said that it is preferable that the correction is made so that the brightness (skin color) is adjusted.
そこで、特許文献1のように、ユーザが過去に行った補正方法を画像の特徴とともに記録しておき、新たな画像を補正するとき、この新たな画像の特徴でデータベースを検索し、対応する補正方法を適用することで、個人の好みを考慮した画像補正を行っていた。
しかしながら、上記特許文献1による方法では、画像処理装置のオペレータの好みを反映するものであって、画像の被写体本人の好みを反映するものではない。そのため、プリントサービスに利用することは出来ない。
However, the method according to
また、過去に画像補正を行っていない場合は、共通の補正用データベースを参照して一般的な補正を行うため、人によって異なる好みを反映することは出来ないという問題点があった。 In addition, when image correction has not been performed in the past, general correction is performed with reference to a common correction database, so that different preferences cannot be reflected depending on the person.
本発明は、上記従来の問題点に鑑み、ユーザ(画像の被写体本人)の好みを反映した画像補正を行なう画像処理方法及びその装置と、プリントサービスシステムを提供する。 In view of the above-described conventional problems, the present invention provides an image processing method and apparatus for performing image correction reflecting the preference of the user (the subject of the image), and a print service system.
上記目的を達成するために、本発明の画像処理装置は、画像情報を入力する画像入力手段と、前記画像入力手段から入力された画像情報において人物の顔が含まれる顔領域を設定する領域設定手段と、人物毎に、該人物の顔の特徴を表す顔情報と、該人物の顔の画像に対応する目標色を含む画像補正情報とを有するプロファイル情報を記憶するプロファイル情報記憶手段と、前記領域設定手段で設定された顔領域について、前記プロファイル情報中の顔情報と照合を行う照合手段と、前記照合手段の照合により合致した顔情報を含むプロファイル情報中の目標色と前記顔領域の代表色との差が大きいほど少ない色補正量によって当該顔領域に画像補正を行う画像補正手段とを有することを特徴とする。 In order to achieve the above object, an image processing apparatus according to the present invention includes an image input unit that inputs image information, and a region setting that sets a face region that includes a human face in the image information input from the image input unit. means, for each person, and face information representing a feature of the face of the person thereof, and profile information storage means for storing profile information and an image correction information including the target color corresponding to the image of the face of the person thereof, wherein A collation unit for collating face information in the profile information with respect to the face area set by the area setting unit, a target color in the profile information including face information matched by the collation by the collation unit, and a representative of the face area and having an image correcting means for performing image correction on the facial region by the smaller amount of color correction is large difference between the colors.
又、本発明のプリントサービスシステムは、複数のユーザ端末と、前記複数のユーザ端末に対して遠隔地に設置されてサーバとして機能し、ネットワークを介して前記複数のユーザと通信可能である請求項1乃至5のいずれか1つに記載の画像処理装置であって、ユーザが前記ネットワークを介して送信した所望の画像データを、該ユーザが送信したプロファイル情報に従って補正してプリントショップに送信する画像処理装置と、前記画像処理装置からのプリント指示に従って、前記補正された画像データを受信してプリントするプリントショップとを有することを特徴とする。 Further, the print service system of the present invention is installed in a remote place with respect to a plurality of user terminals and the plurality of user terminals, functions as a server, and can communicate with the plurality of users via a network. The image processing apparatus according to any one of 1 to 5 , wherein a desired image data transmitted by a user via the network is corrected in accordance with profile information transmitted by the user and transmitted to a print shop. And a print shop for receiving and printing the corrected image data in accordance with a print instruction from the image processing apparatus.
更に、本発明によれば、上記画像処理装置の画像処理に相当する画像処理方法、前記画像処理方法をコンピュータによって実現するためのプログラム、前記プログラムを格納した記録媒体が提供される。 Furthermore, according to the present invention, there are provided an image processing method corresponding to the image processing of the image processing apparatus, a program for realizing the image processing method by a computer, and a recording medium storing the program.
以上説明したように、本発明によれば、ユーザの好みを反映した画像補正ができるという効果がある。 As described above, according to the present invention, there is an effect that the image correction reflecting the user's preference can be performed.
以下、添付図面に従って、本発明の実施形態の画像処理装置の構成及び動作を詳細に説明する。 Hereinafter, the configuration and operation of an image processing apparatus according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.
<本実施形態の画像処理装置の概念的構成例>
図1は、本実施形態における画像処理装置の概念的構成を示す図である。
<Conceptual Configuration Example of Image Processing Apparatus of Present Embodiment>
FIG. 1 is a diagram illustrating a conceptual configuration of an image processing apparatus according to the present embodiment.
図1において、101は画像情報を入力する画像入力部である。本例の画像入力部101は、デジタルカメラやスキャナなどの画像入力機器やフロッピー(登録商標)ディスク、CD、メモリカードなどの画像記憶媒体からの入力、更にネットワークを介した受信を含む。
In FIG. 1,
102は画像入力部101から入力された画像情報に予め設定した対象が含まれるかどうかを検出し、検出した領域を設定する領域設定部である。本例では、予め設定した対象として人物の顔が設定される。人物の顔か否かは、例えば輪郭や構成要素(目や口など)の位置に基づいて検出する。
103は照合部であり、領域設定部102で設定された領域の部分画像と、後述のプロファイル情報記憶部106に記憶されたプロファイル情報とを照合して、一致したプロファイル情報のIDから画像補正方法を取得する。
104は、領域設定部102で設定された顔領域に対して、照合部103で取得した補正方法で画像補正を行う画像補正部である。
An
105は補正された画像を出力する画像出力部である。例えば、画像出力部107はディスプレイやプリンタなどの出力機器への出力、あるいはフロッピー(登録商標)ディスク、CD、メモリカードなどの画像記憶媒体への出力、更にネットワークを介した送信を含む。
An
106は、プロファイル情報を記憶するプロファイル情報記憶部である。プロファイル情報記憶部106については、図2乃至図4で更に説明する。
<本実施形態の画像処理装置の具体的構成例>
図2は、本実施形態における画像処理装置の具体的構成例を示すブロック図である。
<Specific Configuration Example of Image Processing Apparatus of Present Embodiment>
FIG. 2 is a block diagram illustrating a specific configuration example of the image processing apparatus according to the present embodiment.
画像処理装置は、ROM202やRAM203に格納されたプログラムに従って命令を実行する演算処理用のCPU201、本実施形態のプログラムやその他の制御に必要なプログラムやデータを格納したROM202、一時的なデータを格納するRAM203、IDEやSCSIなどの外部記憶装置とのインタフェースを実現するドライブI/F204、動画や動画検索のための特徴量やプログラムなどを記憶するHDD205、デジタルカメラやスキャナなどの装置から画像を入力する画像入力部206、一時的なデータを格納するバッファメモリ207、キーボードやマウスなどのオペレータからの入力を行う入力部208、ブラウン管や液晶ディスプレイなどの表示部209、インターネットやイントラネットなどのネットワークと接続を行うモデムやLANなどのネットワークI/F210、プリンタとのインタフェースを実現するプリンタI/F211、画像を印刷出力するプリンタ212、プロファイル情報を読み書きするUSBインタフェース216、プロファイル情報を記憶する記憶媒体217などで構成され、これらを接続するバス213を介して相互にデータの入出力を行う。
The image processing apparatus stores an
尚、図2では、プロファイル情報を、プロファイル情報を記憶する記憶媒体217から読み込む構成を示したが、プロファイル情報は他の入力手段、例えば画像入力部206から画像データで、あるいはネットワーク・インタフェース210を介して通信で入力されても良い。
2 shows a configuration in which the profile information is read from the
本画像処理装置はオペレーティングとしてマイクロソフト社のWINDOWS(登録商標)XPがインストールされ、その上で動作するアプリケーションとして実装されている。 In this image processing apparatus, WINDOWS (registered trademark) XP of Microsoft Corporation is installed as an operating system, and the image processing apparatus is installed as an application operating on the WINDOWS (registered trademark) XP.
本実施形態のRAM203は、CPU201の演算処理中に一時使用されるデータ記憶領域と、CPU201が実行する本実施形態のアプリケーションプログラムをHDD205などからロードするプログラムロード領域とを有する。
The
データ記憶領域は、入力された画像データを記憶する入力画像データ領域203aと、顔領域と検出された各検出顔領域iについて画像データ領域203b、算出尤度領域203c、照合結果のプロファイルID領域203d、補正方法情報領域203e、及び補正データ領域203fと、尤度の閾値領域203gと、出力画像データ領域203hとを含む。
The data storage area includes an input
又、プログラムロード領域には、画像処理プログラム203i(図5)、画像入力モジュール203j、顔領域検出モジュール203k(図6)、プロファイル判別モジュール203m(図8参照)、画像補正モジュール203n(図9)、画像出力モジュール203pがロードされて、CPU201により実行される。
The program load area includes an image processing program 203i (FIG. 5), an
<プロファイル情報例>
プロファイル情報を記憶する記憶媒体217の概観の一例を図3に示す。
<Example of profile information>
An example of an overview of the
汎用的なUSB端子に挿入でき、内部の不揮発性メモリにプロファイル情報が格納されている。 It can be inserted into a general-purpose USB terminal, and profile information is stored in an internal nonvolatile memory.
プロファイル情報記憶媒体に格納されるプロファイル情報40の構成例を図4に示す。この図を用いて各情報の内容について説明する。 A configuration example of the profile information 40 stored in the profile information storage medium is shown in FIG. The contents of each information will be described with reference to this figure.
プロファイルID41は、プロファイル情報を一意に識別する識別子である。更に、IDを他人が不正利用することを防ぐため、例えばチェックサムのようなIDから所定の演算をして得られる不正利用防止情報をIDに付加してもよい。このIDを生成するには、例えば端末を識別するMACアドレスなどの情報と作成時刻から所定の演算を行い、さらに不正利用防止情報を付加することで行う。
The
照合情報42は、補正対象の顔画像から個人を判別するものであり、先の照合情報タイプ421によって格納される情報が異なる。照合情報タイプ421は、続くタイプ別照合情報422のデータ構造種別を示すもので、異なる種類の照合情報を扱えるようにするためのものである。補正対象の画像と照合したときに検出性能の良し悪しと、撮影に必要な設備から適切な価格が設定され、オーナーが選択することが可能となっている。本実施形態では、照合情報タイプの例として"顔画像422−1"、"立体情報422−2"、"顔特徴量"を定義している。
The
照合情報タイプが顔画像の場合(422−1)、画像枚数422aとその枚数分の顔の画像422bが格納される。1枚の画像は本実施形態では横160ピクセル縦240ピクセルでJPEGで非可逆に符号化されたバイナリデータである。これはオーナー自身がデジタルカメラなどで撮影した顔画像であってもよい。当然、補正対象の画像上の顔領域から切り出した画像でも良い。
When the collation information type is a face image (422-1), the number of
照合する場合の特徴量は、プロファイルを作成してから画像補正時までの間の任意のタイミングで顔画像から生成される。特徴量の抽出方法は従来技術を用いることが出来、限定しない。例えばM.Turk and A.Pentland: Eigenfaces for recognition. Journal of Cognitive Neuroscience,Vol.3,No.1,PP.71−86,March 1991)にあるような手法を用いることが出来る。本実施形態では、顔画像を横48ピクセル縦64ピクセルの領域で表し、各画素の輝度値そのものを主成分分析を行って得た基底ベクトルによって特定される部分空間に射影して特徴量とする。 The feature amount in the case of collation is generated from the face image at an arbitrary timing between the creation of the profile and the time of image correction. A conventional technique can be used as the feature amount extraction method, and is not limited. For example, M.M. Turk and A.M. Pentland: Eigenfaces for recognition. Journal of Cognitive Neuroscience, Vol. 3, No. 1, PP. 71-86, March 1991). In this embodiment, a face image is represented by a region of horizontal 48 pixels and vertical 64 pixels, and the luminance value of each pixel is projected onto a partial space specified by a base vector obtained by performing principal component analysis to be a feature amount. .
照合情報タイプが立体情報の場合(422−2)、顔を3Dスキャナでスキャンし、ポーズ数422cと、形状情報(頂点情報422d)と、テクスチャ(テクスチャ情報422e)などの表面情報を格納する。その形式はDXF形式などのほか、アプリケーション固有のデータ形式でよい。表情を変えて複数のポーズでスキャンしても良く、複数のポーズの立体情報を格納することが出来る。
When the collation information type is stereoscopic information (422-2), the face is scanned with a 3D scanner, and surface information such as the number of
照合情報タイプが顔特徴量の場合(423)、顔特徴量は顔画像の場合と同様で、プロファイルを作成してから画像補正時までの間の任意のタイミングで顔画像から生成される。本実施形態では静止画から顔判別を行うので、立体情報から顔の向きや光源をさまざまな組み合わせで設定した上で画像化(レンダリング)したデータから特徴量化が行われる。照合情報タイプが特徴量の場合、さまざまなポーズで撮影した顔画像から、前述の方法で求めた特徴量のみを記録する。記録に必要なメモリが少ないのでコストが少なくなるが、将来、特徴量の再作成が出来ないというデメリットがある。 When the collation information type is a face feature amount (423), the face feature amount is generated from the face image at an arbitrary timing between the creation of the profile and the time of image correction, as in the case of the face image. In this embodiment, since face discrimination is performed from a still image, feature amounts are obtained from data that is imaged (rendered) after setting the face orientation and light source in various combinations from the three-dimensional information. When the collation information type is a feature amount, only the feature amount obtained by the above-described method is recorded from face images taken in various poses. Since the memory required for recording is small, the cost is reduced, but there is a demerit that the feature cannot be recreated in the future.
その他、レーザーの反射を利用したレーザー距離計などを用いた奥行き情報付き顔画像情報など、顔の表面的な特長を記録するものであれば本発明の主旨の範囲内である。 Other than the above, any feature that records facial features of the face, such as face image information with depth information using a laser distance meter using laser reflection, etc., is within the scope of the present invention.
判別情報43は、本プロファイルの特徴量との照合結果から、プロファイルのオーナー本人かを判別するための情報である。判別分析の基底ベクトル、特徴量間距離から尤度への変換テーブル、閾値からなる。
The
判別分析の基底ベクトル431は、本人か否かの2つのクラスに分けたトレーニング用の特徴データを用意し、クラス内の特徴量の分散とクラス間の特徴量の分散の比が最大になるような部分空間を求めて得るものである。トレーニング用のデータが多いほうが判別性能が向上するので、画像補正を行う時に識別した顔画像を照合情報の画像に追加し、判別分析を再度行うことで、更なる精度向上を行うことが可能である。また、立体情報の場合は顔画像の場合に比べて顔の向きや光源をさまざまな組み合わせで設定した上で画像化(レンダリング)を行うことで、豊富に生成できるため、個人識別性能が向上できる。
The
特徴量間距離から尤度への変換テーブル432は、特徴量のユークリッド距離を正規化された0から1までの尤度に変換するためのテーブルである。これは一般に収集した沢山の顔画像から得られた特徴量間距離の分布を求め、下記式によって求める。 The inter-feature amount distance to likelihood conversion table 432 is a table for converting the Euclidean distance of the feature amount into normalized likelihoods from 0 to 1. In general, the distribution of the distance between feature amounts obtained from many face images collected is obtained by the following formula.
ただし、h(i)は距離iの発生頻度である。過去の補正対象の画像から検出した顔を収集して特長量間距離分布を求めることで、判別精度が向上できる。
また、尤度の閾値433として初期値として0.95が設定されるが、プロファイルのオーナが所望する値を設定することが出来る。
However, h (i) is the occurrence frequency of the distance i. The accuracy of discrimination can be improved by collecting the faces detected from the past images to be corrected and obtaining the distance distribution between the feature amounts.
Further, 0.95 is set as an initial value as the
有効期限44は、本プロファイルの有効期間を示す情報である。これにより顔の経年変化による影響を少なくし、また、撮影時に課金することで長期的な売り上げ確保につなげることが出来る。
The
補正方法45は、このプロファイル情報と一致した場合の画像の補正方法を示す情報である。
The
補正方法45としては、肌色の目標輝度451、肌色の目標彩度452、肌色の目標色相453、肌色のソフトフォーカスの強さ454などから構成され、オーナーが好みの補正方法を選択することが出来るものである。一般向けにはこの補正項目や補正内容をそのまま提示することは好ましくない。性別や年齢層ごとに典型的な補正パラメタの組み合わせを10タイプ程度用意して、そこから選ばせるようにすれば良い。
The
尚、プロファイル情報を生成するためにはショップに出向いて撮影を行うか、クライアントの端末で上記プロファイル情報を設定する所定のアプリケーションを動作させることで生成することが出来る。プロファイル情報はプロファイルIDが付与されたデジタルデータであるので、プロファイルIDと図示しないオーナーに関する情報をリンクすることは簡単である。1人のオーナーが複数のプロファイルを所持したり、1つの記憶媒体に複数の人物のプロファイル情報を収めることも可能なのはいうまでもない。また、プロファイル情報はプログラムを格納可能な記憶媒体と同様な媒体に記憶することができる。ネットワークに接続されたシステムの場合には、サーバー、クライアントのどちらにあっても分散された状態で記録されてもよい。 The profile information can be generated by going to a shop for shooting or by operating a predetermined application for setting the profile information on a client terminal. Since the profile information is digital data to which a profile ID is assigned, it is easy to link the profile ID and information about an owner (not shown). Needless to say, one owner can have a plurality of profiles, and the profile information of a plurality of persons can be stored in one storage medium. The profile information can be stored in a medium similar to a storage medium that can store the program. In the case of a system connected to a network, it may be recorded in a distributed state regardless of whether it is a server or a client.
<本実施形態の画像処理装置の動作例>
次に、かかる構成の画像処理装置における画像補正処理の概要を、図5のフローチャートを用いて説明する。
<Example of Operation of Image Processing Apparatus of Present Embodiment>
Next, an outline of the image correction processing in the image processing apparatus having such a configuration will be described with reference to the flowchart of FIG.
画像データの入力後、ステップS301において、補正対象の画像から顔領域を検出する。ステップS302において、領域が検出されたか否かによって分岐する。領域が検出された場合はステップS303に進み、そうでない場合は処理を終了する。 After inputting the image data, a face area is detected from the image to be corrected in step S301. Processing branches at step S302 depending on whether an area has been detected. If an area is detected, the process proceeds to step S303, and if not, the process ends.
ステップS303において、検出された各顔領域に対して、顔領域を判別する。ここでは各顔領域についてプロファイルの照合情報と照合を行い、確定したプロファイルIDを出力する。ステップS304において、プロファイルIDが出力されたか否かによって分岐する。プロファイルIDが出力された場合はステップS305に進み、そうでない場合は処理を終了する。 In step S303, a face area is determined for each detected face area. Here, each face area is collated with the profile collation information, and the confirmed profile ID is output. Processing branches at step S304 depending on whether a profile ID has been output. If the profile ID is output, the process proceeds to step S305, and if not, the process ends.
ステップS305において、プロファイルIDに対応する画像補正方法を取得し、ステップS306において、入力された画像の顔領域に対して補正を行う。 In step S305, an image correction method corresponding to the profile ID is acquired, and in step S306, the face area of the input image is corrected.
当然のことながら、顔領域の明るさを補うような、一般に好ましいと感じられるようにするための補正や、カラーマッチングのような画像全体の彩度強調や輝度分布の調整、入出力装置ごとに異なる色再現特性を補償するための画像補正を本処理の前段、または後段に実施することは何ら本発明の主旨に反するものではない。 Naturally, correction to compensate for the brightness of the face area, correction to make it feel generally preferable, saturation enhancement of the entire image such as color matching and adjustment of luminance distribution, for each input / output device It is not contrary to the gist of the present invention that image correction for compensating for different color reproduction characteristics is performed before or after this processing.
以下、先述した各処理について詳細に述べていく。 Hereinafter, each process described above will be described in detail.
(顔領域検出処理:S301)
以下に、図5のステップS301の顔領域検出処理の一例を詳細に示す。
(Face region detection processing: S301)
Hereinafter, an example of the face area detection process in step S301 of FIG. 5 will be described in detail.
図6のフローチャートを用いて、顔領域検出処理の詳細を説明する。図7は顔領域検出処理を説明する図である。 Details of the face area detection processing will be described with reference to the flowchart of FIG. FIG. 7 is a diagram for explaining face area detection processing.
まず、ステップS401において、入力された画像を元に局所的に輝度が低い領域をマークしていく。ステップS402において、ステップS401でマークされた領域を2つずつ組にして、領域の大きさの均等性、輝度の差、水平に対する角度などから、組にした2つが目かどうかを判定する(図7(a))。 First, in step S401, an area having a low brightness is marked based on the input image. In step S402, two regions marked in step S401 are grouped, and it is determined whether the two groups are eyes from the uniformity of the size of the regions, the difference in luminance, the angle with respect to the horizontal, etc. (FIG. 7 (a)).
ステップS403において、顔領域か否かを検証する。すなわち、目と判定された組について、その2つを中心にした矩形領域を設定する(図7(b))。そして、その領域の境界付近のエッジおよび領域内の色情報を判定する。エッジは、顔の輪郭であるかどうかを判定する。また、色情報は矩形領域内のRGB値の平均値が、あらかじめ設定した肌色領域内に入っているかどうかを判定する(図7の(c))。このように顔の位置、大きさを検出して顔領域を確定する。顔領域は前記矩形(水平/垂直方向に平行な長方形)領域で与えられる。 In step S403, it is verified whether or not the face region. That is, for the group determined to be an eye, a rectangular area centering on the two is set (FIG. 7B). Then, the edge near the boundary of the region and the color information in the region are determined. It is determined whether the edge is a face outline. Further, the color information determines whether or not the average value of the RGB values in the rectangular area falls within a preset skin color area ((c) in FIG. 7). In this way, the face area is determined by detecting the position and size of the face. The face area is given by the rectangular area (rectangle parallel to the horizontal / vertical direction).
ステップS404において、確定した顔の領域の領域情報を作成する。領域情報は、本実施形態では、検出した顔領域の外接矩形の頂点の位置データの集合であるが、両目の中心の位置データでもよい。また、多角形や楕円などで近似しても良い。 In step S404, area information of the determined face area is created. In this embodiment, the area information is a set of position data of the vertices of the circumscribed rectangle of the detected face area, but may be position data of the center of both eyes. Moreover, you may approximate by a polygon, an ellipse, etc.
(顔領域判別処理:S303)
以下に、図5のステップS303の顔領域判別処理の一例を詳細に示す。
(Face region discrimination processing: S303)
Hereinafter, an example of the face area determination process in step S303 of FIG. 5 will be described in detail.
図8のフローチャートを用いて顔領域判定処理の詳細を説明する。 Details of the face area determination processing will be described with reference to the flowchart of FIG.
まず、ステップS601において、横48画素、縦64画素の領域に、左右の目の中心が横方向でそれぞれ左右の端から16画素目、また、上から24画素目の位置なるように顔領域をアフィン変換する。また、輝度分布、顔の向きに関して正規化を行う。プロファイル上の照合情報に奥行き情報や立体情報が存在する場合には、同じ条件で特徴抽出が出来るようにするため、補正対象と同じ顔の向きや光源の方向に変換させた上で照合することで精度を向上することが出来る。 First, in step S601, a face area is set in an area of horizontal 48 pixels and vertical 64 pixels so that the center of the left and right eyes is located at the 16th pixel from the left and right ends and the 24th pixel from the top in the horizontal direction. Affine transform. Also, normalization is performed with respect to the luminance distribution and the face orientation. When depth information or 3D information exists in the matching information on the profile, in order to enable feature extraction under the same conditions, the matching should be performed after conversion to the same face direction and light source direction as the correction target. Can improve accuracy.
ステップS602において、プロファイル情報を作成したときと同じ方法によって特徴量を抽出する。ステップS603において、各種別における代表的な特徴量とのユークリッド距離を射影された部分空間上で求める。部分空間は、特徴量の判別分析を行って予め基底ベクトルを求めておき、これによって特定される。 In step S602, feature amounts are extracted by the same method as when profile information is created. In step S603, the Euclidean distance from the representative feature amount in each type is obtained on the projected subspace. The partial space is specified by performing a discriminant analysis of the feature amount to obtain a base vector in advance.
判別分析は、特徴量のクラス内の距離とクラス間の距離の比が最大になるような射影空間を求めるもので、この手法を用いた顔の判別はPeter N. Belhumeur, Joao 〜 P. Hespanha, and David J. Kriegmanらの「Eigenfaces vs. Fisherfaces: Recognition Using Class Specific Linear Projection」IEEE TPAMI, VOL. 19, NO. 7, JULY 1997が詳しい。 Discriminant analysis is to obtain a projective space that maximizes the ratio of the distance within a class of feature quantities to the distance between classes. Face discrimination using this method is Peter N. Belhumeur, Joao-P. Hespanha, and David J.H. Kriegman et al., “Eigenfaces vs. Fisherfaces: Recognition Using Class Specific Linear Projection” IEEE TPAMI, VOL. 19, NO. 7, JULY 1997 is detailed.
次に、ステップS604において、プロファイル情報の変換テーブルを参照して距離から尤度に正規化する。 In step S604, the distance information is normalized from the distance by referring to the profile information conversion table.
次に、ステップS605において、すべての特徴量と照合したか終了判定を行い、終了した場合はステップS606に進む。まだ未照合の特徴量がある場合にはステップS603に戻って、特徴量照合の尤度の計算を繰り返す。ステップS606において、最も尤度が高く、かつ所定の閾値より大きなプロファイルIDを出力して記憶する。 Next, in step S605, it is determined whether or not all the feature values have been collated, and if it is completed, the process proceeds to step S606. If there are still unmatched feature amounts, the process returns to step S603 to repeat the feature amount likelihood calculation. In step S606, a profile ID having the highest likelihood and larger than a predetermined threshold is output and stored.
(画像補正処理:S306)
以下に、図5のステップS306の画像補正処理の一例を詳細に示す。図9乃至図13は画像補正処理の動作を示したものである。ここでは、先述した画像から検出した各顔領域について、判別された領域種別のうち尤度の高いものについて、それぞれの肌補正処理を行う。
(Image correction processing: S306)
Hereinafter, an example of the image correction process in step S306 in FIG. 5 will be described in detail. 9 to 13 show the operation of the image correction process. Here, with respect to each face area detected from the above-described image, each skin correction process is performed on the identified area type having a high likelihood.
図9のフローチャートを用いて画像補正処理の詳細を説明する。 Details of the image correction processing will be described with reference to the flowchart of FIG.
画像補正処理を開始すると、ステップS701において、図5のステップS301で検出した未処理の顔領域情報を1つ取得する。ステップS702において、取得した領域から図5のステップS303で判別した未処理の顔の種別の候補を尤度の高いものから1つ取得する。 When the image correction process is started, in step S701, one piece of unprocessed face area information detected in step S301 in FIG. 5 is acquired. In step S <b> 702, one unprocessed face type candidate determined in step S <b> 303 in FIG. 5 is acquired from the acquired region with the highest likelihood.
ステップS704において、RGB色空間の各値で表現されている前記入力画像を明度L、彩度C、色相Hの値に変換する。このLCHという色空間は、CIEL*a*b*色空間より、次の式(1)で算出される。 In step S704, the input image represented by each value in the RGB color space is converted into values of lightness L, saturation C, and hue H. This color space called LCH is calculated from the CIEL * a * b * color space by the following equation (1).
このLCHは明度、彩度、色相で色を表す色空間の一例で、この他、YCbCr、L*u*v*、HSV、HSL等々、他の色空間であっても良い。
(領域代表色抽出処理:S705)
ステップS705において、彩度C、色相Hで表された人肌領域内の画素について、各領域内の代表色を求める。
This LCH is an example of a color space that expresses a color in terms of brightness, saturation, and hue. In addition, other color spaces such as YCbCr, L * u * v *, HSV, and HSL may be used.
(Area representative color extraction processing: S705)
In step S705, a representative color in each region is obtained for pixels in the human skin region represented by saturation C and hue H.
ステップS705の処理について、図10のフローチャートを用いて詳しく説明する。 The process of step S705 will be described in detail with reference to the flowchart of FIG.
まず、ステップS801において、対象となる顔画像領域データを取得する。ステップS802からステップS805はこの領域内の各画素についての処理のループを構成している。 First, in step S801, target face image area data is acquired. Steps S802 to S805 constitute a processing loop for each pixel in this region.
ステップS802において、現在注目している画像領域に含まれる未処理の画素を決定する。次に、ステップS803において、画素の明度Lがある一定の値LTH以上であるかを判断する。もしステップS301で抽出された顔領域内に目、眉、髭、あるいは陰影が含まれていると、人肌領域から抽出した補正対象とする色の代表色が適切に得られない場合がある。前記人肌領域内の陰影、あるいは目、眉、髭といった領域は補正対象とする肌色などの所定色よりも明度が低いと考えられるので、前記条件を用いることにより、前記人肌領域内の陰影、あるいは目、眉、髭といった領域の画素を除外することできる。ステップS803の条件を満たした画素について、ステップS804にて同画素の彩度C及び色相Hの色データを集計する。この集計方法は補正対象の代表色として何を用いるかによって変わってくるが、例えば、補正対象の代表色を人肌領域内の画素の平均値とする場合には、ステップS804の集計は、彩度C及び色相Hの単純な加算を意味する。また、同時に画素数もカウントする。ステップS805で全画素について走査を終了したと判断されるまで、ステップS802からS805の前記集計処理を繰り返す。 In step S802, an unprocessed pixel included in the image area currently focused on is determined. Next, in step S803, it is determined whether the brightness L of the pixel is equal to or greater than a certain value L TH . If eyes, eyebrows, eyelids, or shadows are included in the face area extracted in step S301, the representative color of the color to be corrected extracted from the human skin area may not be obtained appropriately. Since the shadow in the human skin area or the area such as eyes, eyebrows, and eyelids is considered to have a lightness lower than a predetermined color such as a skin color to be corrected, the shadow in the human skin area can be obtained by using the condition. Alternatively, pixels in the area such as the eyes, eyebrows, and eyelids can be excluded. For the pixel that satisfies the condition in step S803, the color data of the saturation C and hue H of the pixel are totaled in step S804. This aggregation method varies depending on what is used as the representative color to be corrected. For example, when the representative color to be corrected is the average value of the pixels in the human skin region, Mean simple addition of degree C and hue H. At the same time, the number of pixels is counted. The counting process in steps S802 to S805 is repeated until it is determined in step S805 that scanning has been completed for all pixels.
入力画像の全画素について走査が終了したと判断された場合、ステップS806で現在注目している画像領域について、補正対象とする色の領域代表色を算出する。補正対象の代表色を人肌領域内画素の彩度及び色相の平均値で表す場合、ステップS806では前記集計処理での集計結果を集計画素数で除算した値(CR(k,l),HR(k,l))を領域代表色として設定する。ただし、kは顔領域のインデックス番号、また、lは各顔領域の判別結果における種別候補のインデックス番号である。このようにして求められた領域代表色を利用して、以下のステップS707で色補正のための補正係数を設定する。 If it is determined that scanning has been completed for all the pixels of the input image, an area representative color of the color to be corrected is calculated for the image area currently focused on in step S806. When the representative color to be corrected is expressed by the average value of the saturation and hue of the pixels in the human skin region, in step S806, a value ( CR (k, l), H R (k, l)) is set as the region representative color. Here, k is the index number of the face area, and l is the index number of the type candidate in the discrimination result of each face area. Using the region representative color thus obtained, a correction coefficient for color correction is set in the following step S707.
図9に戻って、ステップS706において、プロファイルIDに基づいて設定された補正目標色を取得する。 Returning to FIG. 9, in step S706, a correction target color set based on the profile ID is acquired.
(補正係数設定処理:S707)
次にステップS707において、先のステップS705で抽出した領域代表色とステップS706で取得した補正目標色を用いて、領域毎の補正量を制御する補正係数を求める。この補正係数設定処理では、前記領域代表色と目標色との差に応じて色補正量を制御する所定係数である。後述の色補正における補正量は色相と彩度毎に定めるため、補正係数も色相と彩度毎に設定する。本実施形態では、色相補性係数及び彩度補正係数は前記目標色を代表色の差が大きくなるとともに減少するように設定する。さらに、彩度補正係数は、彩度を下げるように補正する場合は、彩度を上げるように補正する場合に比べ、補正量が小さくなるように設定する。
(Correction coefficient setting process: S707)
In step S707, a correction coefficient for controlling the correction amount for each area is obtained using the area representative color extracted in the previous step S705 and the correction target color acquired in step S706. In the correction coefficient setting process, the correction coefficient is a predetermined coefficient for controlling the color correction amount according to the difference between the region representative color and the target color. Since a correction amount in color correction described later is determined for each hue and saturation, a correction coefficient is also set for each hue and saturation. In this embodiment, the color complementation coefficient and the saturation correction coefficient are set so that the target color decreases as the difference between the representative colors increases. Further, the saturation correction coefficient is set so that the correction amount is smaller when the saturation is corrected so as to decrease the saturation than when the saturation is corrected so as to increase the saturation.
ステップS707における補正係数設定処理について、以下より詳しく説明する。 The correction coefficient setting process in step S707 will be described in more detail below.
k,l番目(0≦k,l<N)の領域の色相補正係数Ph(k,l)は前記補正目標色の色相HTと前記k番目の領域のl番目の判別候補に対する領域代表色の色相HR(k,l)の差Hdist(k,l)が大きくなるとともに減少するように設定する。色相補正係数の設定方法の例として、式(2)ような式を用いる方法が示される。ただし、式(2)におけるK1およびt1は定数とする。 The hue correction coefficient P h (k, l) of the k, l-th (0 ≦ k, l <N) area is the area representative color for the hue HT of the correction target color and the l-th discrimination candidate of the k-th area. The difference H dist (k, l) between the hues H R (k, l) is set to decrease as it increases. As an example of a method for setting the hue correction coefficient, a method using an expression such as Expression (2) is shown. However, K 1 and t 1 in Equation (2) are constants.
つまり、補正対象とする色の代表色相が補正目標色相に近いほど代表色の色相を補正目標色の色相により近づけるような補正を行い、補正対象とする色の代表色相が補正目標色相から大きく離れている場合には、あまり補正を行わないように補正係数を設定する。このように補正係数の設定を行う理由として、補正対象とする色の代表色相が補正目標色相から大きく離れている場合に、代表色を補正目標色により近づけるような補正を行うと、入力画像全体のバランスが崩れてしまうということが挙げられる。
同様に、k番目の領域におけるl番目の判別候補の彩度補正係数PC(k,l)は前記補正目標色の彩度値CTと前記k番目の領域におけるl番目の判別候補の領域代表色の彩度値CR(k,l)の差Cdist(k,l)が大きくなるとともに減少するように設定する。つまり、補正対象とする色の代表彩度が補正目標彩度に近いほど代表色の彩度を補正目標色の彩度により近づけるような補正を行い、補正対象とする色の代表彩度が補正目標彩度から大きく離れている場合には、あまり補正を行わないように補正係数を設定する。ただし、彩度補正係数は彩度を下げるように補正する場合と彩度を上げるように補正をする場合で設定方法を異なるものとする。
That is, the closer the representative hue of the color to be corrected is to the correction target hue, the closer the hue of the representative color is closer to the hue of the correction target color, and the representative hue of the color to be corrected is far away from the correction target hue. If so, the correction coefficient is set so as not to make much correction. The reason for setting the correction coefficient in this way is that when the representative hue of the color to be corrected is far away from the correction target hue, the correction is performed so that the representative color is closer to the correction target color. Is unbalanced.
Similarly, the saturation correction coefficient l-th determination candidates in k-th region P C (k, l) is the region of l-th determination candidates in the k-th region and the chroma value C T of the correction target color The difference C dist (k, l) between the saturation values C R (k, l) of the representative colors is set so as to decrease as it increases. In other words, correction is performed so that the saturation of the representative color is closer to the saturation of the correction target color as the representative saturation of the color to be corrected is closer to the correction target saturation, and the representative saturation of the color to be corrected is corrected. When it is far from the target saturation, the correction coefficient is set so as not to make much correction. However, the method of setting the saturation correction coefficient is different depending on whether the correction is performed so as to decrease the saturation or the correction is performed so as to increase the saturation.
彩度を下げる補正をする場合は、補正をすることで画像の印象が地味になってしまうという現象を防ぐように補正係数を設定する方が望ましく、逆に彩度を上げる補正をする場合は、補正対象とする色の代表彩度が補正目標彩度から離れていても、目標彩度に近づけるような補正を行う方が、画像の印象が良くなるという効果が期待できるからである。このような彩度補正係数の設定方法の例として、彩度を下げる補正の場合は、式(3)ような設定式を、彩度を上げる補正の場合は式(4)を用いる方法が示される。式(3)のa1,b1および式(4)のK2,t2は定数とする。 When correcting to reduce saturation, it is desirable to set a correction coefficient so as to prevent the phenomenon that the impression of the image becomes plain by correcting, and conversely when correcting to increase saturation This is because, even if the representative saturation of the color to be corrected is far from the correction target saturation, the effect of improving the impression of the image can be expected by performing correction so as to approach the target saturation. As an example of a method for setting such a saturation correction coefficient, a method using a setting equation such as equation (3) in the case of correction for reducing saturation and a method using equation (4) in the case of correction for increasing saturation is shown. It is. It is assumed that a 1 and b 1 in equation (3) and K 2 and t 2 in equation (4) are constants.
図11に、式(3)、(4)を表したグラフを示す。図11において、横軸は前記補正目標色の彩度値CTと前記代表色の彩度値CR(k,l)の差Cdist(k,l)、縦軸は彩度補正係数PC(k,l)を示す。
前記補正目標彩度と前記代表色の彩度の差が等しい場合でも、彩度を下げる補正における彩度補正係数と彩度を上げる補正における彩度補正係数の値は異なり、彩度を下げる補正における補正係数がより小さくなっていることが、図11よりわかる。これは、彩度を下げるように補正する場合は彩度を上げるように補正をする場合に比べ、補正量が小さくなるようにすることを示している。
FIG. 11 shows a graph representing the expressions (3) and (4). In FIG. 11, the horizontal axis represents the difference C dist (k, l) between the saturation value CT of the correction target color and the saturation value C R (k, l) of the representative color, and the vertical axis represents the saturation correction coefficient P C. (k, l) is shown.
Even when the difference between the correction target saturation and the saturation of the representative color is equal, the saturation correction coefficient in the correction for decreasing the saturation is different from the saturation correction coefficient in the correction for increasing the saturation, and the correction for decreasing the saturation. It can be seen from FIG. 11 that the correction coefficient at is smaller. This indicates that when the correction is made to decrease the saturation, the correction amount is made smaller than when the correction is made to increase the saturation.
以上のように、ステップS707において算出した色相と彩度の補正係数を、後述する補正処理(ステップS710)において使用される色補正量を制御する係数として利用する。 As described above, the hue and saturation correction coefficients calculated in step S707 are used as coefficients for controlling the color correction amount used in the correction process (step S710) described later.
(色領域設定処理:S708)
図9に戻って、ステップS708では、領域代表色を含む補正処理の対象とする領域毎の色領域を求めるために、色領域設定処理をおこなう。ここでは前記人肌領域内の画素の色相に注目する。
(Color area setting processing: S708)
Returning to FIG. 9, in step S708, color area setting processing is performed in order to obtain a color area for each area to be subjected to correction processing including area representative colors. Here, attention is paid to the hue of the pixels in the human skin region.
本実施形態では、補正対象とする代表色を含む色領域を設定し、その領域について色補正を行う。なぜなら、例えば入力画像の全領域に対して、肌の色を好ましい肌色にする補正を行うと、元々好ましい色であった画像中の他領域の色が不自然になってしまうといった問題があるからである。ステップS707の補正係数処理において設定される補正対象とする色領域は特定色相で示され、前記特定色相で示される補正範囲と補正対象とする色の代表色によって、色領域重みを設定し、後述する色補正処理に用いる。 In the present embodiment, a color area including a representative color to be corrected is set, and color correction is performed for the area. This is because, for example, if correction is performed to make the skin color a preferable skin color for the entire area of the input image, there is a problem that the colors of other areas in the image that were originally preferable colors become unnatural. It is. The color area to be corrected set in the correction coefficient processing in step S707 is indicated by a specific hue, and color area weights are set according to the correction range indicated by the specific hue and the representative color of the color to be corrected, which will be described later. Used for color correction processing.
ステップS708の処理について、図12のフローチャートを用いて詳しく説明する。 The processing in step S708 will be described in detail using the flowchart in FIG.
まず、ステップS1001において、図9のステップS707で抽出されたk番目の画像領域に属する顔領域のデータを取得する。 First, in step S1001, face area data belonging to the k-th image area extracted in step S707 of FIG. 9 is acquired.
ステップS1002からステップS1006はこの領域内の各画素についての処理のループを構成している。 Steps S1002 to S1006 constitute a processing loop for each pixel in this region.
ステップS1002において、現在注目している画像領域に含まれる未処理の画素を決定する。次に、ステップS1003において、画素の明度Lが任意の明度を示すLTH以上であるかを判断する。もし図9のステップS707において抽出された人肌領域内に目、眉、髭、あるいは陰影が含まれていると、人肌領域から抽出した補正対象とする色の代表色が適切に得られない場合がある。前記人肌領域内の陰影、あるいは目、眉、髭といった領域は補正対象とする肌色などの所定色よりも明度が低いと考えられるので、前記条件を用いることにより、前記人肌領域内の陰影、あるいは目、眉、髭といった領域の画素を除外することできる。 In step S1002, an unprocessed pixel included in the currently focused image area is determined. Next, in step S1003, lightness L of the pixel to determine whether there are L TH than to indicate any brightness. If eyes, eyebrows, eyelids, or shadows are included in the human skin area extracted in step S707 of FIG. 9, the representative color of the correction target extracted from the human skin area cannot be obtained appropriately. There is a case. Since the shadow in the human skin area or the area such as eyes, eyebrows, and eyelids is considered to have a lightness lower than a predetermined color such as a skin color to be corrected, the shadow in the human skin area can be obtained by using the condition. Alternatively, pixels in the area such as the eyes, eyebrows, and eyelids can be excluded.
さらに、ステップS1004において、同画素の彩度Cが無彩色の彩度を示す所定の値CTH以上であるかを判断する。このとき同画素の彩度が前述の値CTH以下であるということは、同画素は無彩色に限りなく近いことを意味する。ここで無彩色領域の画素を除く理由は、無彩色領域においてはRGB値のわずかの差で色相が大きく変わり、人肌領域に対応する色相領域を高精度で求めることができなくなるためである。ステップS708における色領域設定処理では、色領域を人肌領域内画素の色相に注目し、特定色の色相によって設定する。 In step S1004, it is determined whether or not the saturation C of the pixel is equal to or greater than a predetermined value C TH indicating the saturation of the achromatic color. At this time, the fact that the saturation of the pixel is equal to or less than the above-mentioned value C TH means that the pixel is close to an achromatic color. Here, the reason for excluding the pixels in the achromatic color region is that in the achromatic color region, the hue changes greatly due to a slight difference in RGB values, and the hue region corresponding to the human skin region cannot be obtained with high accuracy. In the color area setting process in step S708, the color area is set with the hue of a specific color, paying attention to the hue of the pixel in the human skin area.
ステップS1004の条件を満たした画素について、ステップS1005にて同画素の色相Hの値を集計する。この集計方法は色領域を示す特定色相として何を用いるかによって変わってくるが、例えば、前記人肌領域内に存在し、ステップS1003及びS1004の条件を満たした画素の色相分布を解析し、最大色相Hmax(k,l)および最小色相Hmin(k,l)によって補正対象とする色領域を示す方法が例示される。ステップS1006で全画素について走査を終了したと判断されるまで前記集計処理を繰り返す。 For the pixel that satisfies the condition of step S1004, the value of the hue H of the pixel is tabulated in step S1005. This aggregation method varies depending on what is used as a specific hue indicating a color area. For example, the hue distribution of pixels that exist in the human skin area and satisfy the conditions of steps S1003 and S1004 is analyzed, and the maximum A method of indicating a color area to be corrected by the hue H max (k, l) and the minimum hue H min (k, l) is exemplified. The counting process is repeated until it is determined in step S1006 that scanning has been completed for all pixels.
入力画像の全画素について走査が終了したと判断された場合、ステップS1007で補正対象とする色領域を設定する。前記最大色相Hmax(k,l)および前記最小色相Hmin(k,l)によって補正対象とする色領域を示す場合、ステップS1007では前記集計処理での集計結果である最大色相Hmax(k,l)および最小色相Hmin(k,l)を用い、補正対象とする色の前記代表色相との差から補正対象とする色領域を設定する(式(5))。ここで、式(5)のHR(k,l)はk番目の領域におけるl番目の判別候補の補正対象とする色の前記領域代表色相であり、ΔH(k,l)は補正対象とするk番目の画像領域における色領域の色相範囲を示したものである。 If it is determined that scanning has been completed for all pixels of the input image, a color region to be corrected is set in step S1007. When the maximum hue H max (k, l) and the minimum hue H min (k, l) indicate the color area to be corrected, in step S1007, the maximum hue H max (k , L) and the minimum hue H min (k, l), the color area to be corrected is set from the difference between the color to be corrected and the representative hue (formula (5)). Here, H R (k, l) in the equation (5) is the region representative hue of the color to be corrected of the l th discrimination candidate in the k th region, and ΔH (k, l) is the correction target. The hue range of the color area in the kth image area is shown.
また、ここに示した前記色領域設定処理に限定されるものではなく、例えば任意の特定色相を手動で設定する方法なども挙げられる。この場合には、補正対象とする色領域は、図5のステップS301において抽出された人肌領域を包含するような、色相範囲として設定することが望ましい。
以上のような方法で設定された前記色領域に対して、後述の色補正処理において使用する色領域重みを色相範囲と彩度範囲毎に定める。補正対象とする画素の色相Hにおける重みWH(k,l)は、補正対象とする代表色では1、補正対象領域外では0となるように補正対象とする色領域を示す前記色相範囲ΔH(k,l)および補正対象とする色の代表色の色相HR(k,l)により、以下のように定める(式6)。
Further, the present invention is not limited to the color area setting process shown here, and for example, a method for manually setting an arbitrary specific hue may be used. In this case, it is desirable to set the color region to be corrected as a hue range that includes the human skin region extracted in step S301 in FIG.
For the color area set by the method as described above, a color area weight to be used in color correction processing described later is determined for each hue range and saturation range. The hue range ΔH indicating the color area to be corrected so that the weight W H (k, l) in the hue H of the pixel to be corrected is 1 for the representative color to be corrected and 0 outside the correction target area. Based on (k, l) and the hue H R (k, l) of the representative color of the color to be corrected, it is determined as follows (Formula 6).
ただし、補正対象とする色相領域の重みを設定する方法は、式(6)で表されるような方法に限らず、例えば、補正対象とする色領域を示す前記色相範囲ΔH(k,l)および補正対象とする色の代表色HR(k,l)および任意の定数を用いて非線形に変化するように設定する方法などが例示される。
このように、ステップS1008において補正対象とする色領域の重みをつける理由として、後述する色補間を行う場合に、補正対象とする色相領域内外で色の連続性が破綻するのを防ぐことが挙げられる。
However, the method of setting the weight of the hue area to be corrected is not limited to the method represented by the equation (6), and for example, the hue range ΔH (k, l) indicating the color area to be corrected is used. Further, a method of setting the color to be changed nonlinearly using the representative color H R (k, l) of the color to be corrected and an arbitrary constant is exemplified.
As described above, the reason why the color region to be corrected is weighted in step S1008 is to prevent the color continuity from breaking inside and outside the hue region to be corrected when performing color interpolation described later. It is done.
また、補正対象とする画素の彩度Cにおける重みWC(k,l)は、前記補正対象目標彩度CTおよびステップS1004で使用した無彩色の彩度を示す所定の値CTHにより、以下のように定める(式7)。 The weight W C (k, l) in the chroma C of the pixel to be corrected is by the corrected target color saturation C T and the predetermined value C TH showing the saturation of the achromatic used in step S1004, the It is determined as follows (Formula 7).
ただし、補正対象とする彩度領域の重みを設定する方法は、式(7)で表されるような方法に限らず、例えば、補正対象とする色の代表色の彩度CRおよび前記人肌領域を包含するような彩度範囲ΔC(k,l)を前記色相領域設定方法と同様な方法により求め、補正対象とする彩度領域の重みを設定方法なども挙げられる。
図9に戻って、次に、ステップS709において、前記入力画像における前記人肌領域の位置情報から、後述の色補正処理に用いる画像領域重みを設定する。
However, the method of setting the weight of the saturation region to be corrected is not limited to the method represented by the equation (7), and for example, the saturation C R of the representative color of the color to be corrected and the person A saturation range ΔC (k, l) that includes the skin region is obtained by the same method as the hue region setting method, and the weight of the saturation region to be corrected is set.
Returning to FIG. 9, next, in step S709, the image area weight used for the color correction process described later is set from the position information of the human skin area in the input image.
本実施形態では、後述する色補正処理において、ステップS708により設定した特定色領域に対しての重みを利用して肌色などの所定の色に対してのみ色補正を行うことで、元々好ましい色であった画像中の他領域の色が不自然になる現象を回避している。しかしながら、補正対象として色領域のみを設定した場合、例えば補正入力画像において、前記人肌領域外にステップS708において設定される色領域に含まれる人肌以外の画素が存在すると、同画素は色補間の対象となってしまう。このような問題を解決する方法として、ステップS709で設定する画像領域重みを利用する。 In the present embodiment, in a color correction process described later, color correction is performed only for a predetermined color such as a skin color using a weight for the specific color area set in step S708, so that an originally preferable color is obtained. This avoids the phenomenon of unnatural colors in other areas of the image. However, when only the color area is set as the correction target, for example, in the corrected input image, if a pixel other than the human skin included in the color area set in step S708 exists outside the human skin area, the pixel is color-interpolated. It becomes the target of. As a method for solving such a problem, the image area weight set in step S709 is used.
前記画像領域重みは、前記人肌領域内の画素を色補正対象とし、前記人肌領域に含まれない画素は色補正対象外となるように0以上、1以下の値をWP(k,l,x,y)として設定する。このとき後述の色補正処理により前記人肌領域の境界付近で色の連続性が破綻するのを防ぐように、前記画像領域重みを設定することが望ましい。 Wherein the image region weight, the skin and the color correction target pixels in the region, the human skin is not included in the region pixel color correction excluded to become as 0 above, the value of 1 or less W P (k, l, x, y). At this time, it is desirable to set the image area weight so as to prevent color continuity from breaking near the boundary of the human skin area by a color correction process described later.
前記画像領域重み設定方法は限定されるものではないが、前記人肌領域における重心を求め、重心からの各画素の距離に応じて重みをつける方法などが例示される。この設定方法を用いると、後述の色補正処理において、前記人肌領域の境界付近の画素は前記人肌領域の中心付近の画素に比べ補正量が小さくなり、前記人肌領域の境界付近で色の連続性が破綻するのを防ぐことができる。また、前記人肌領域にガウシアンフィルタなどによりローパス処理を行い、前記人肌領域の境界付近をぼかすことで、前記人肌領域内外での色の連続性の破綻を和らげる方法なども挙げられる。 The image area weight setting method is not limited, and examples include a method of obtaining a centroid in the human skin area and assigning a weight according to the distance of each pixel from the centroid. When this setting method is used, in the color correction processing described later, the correction amount of pixels near the boundary of the human skin region is smaller than that of the pixel near the center of the human skin region, and the color near the boundary of the human skin region Can be prevented from failing. In addition, there is a method in which the human skin area is subjected to low-pass processing using a Gaussian filter or the like, and the vicinity of the boundary of the human skin area is blurred, thereby relieving the failure of color continuity inside and outside the human skin area.
(補正処理:S710)
次に、ステップS710において、先に求めた各領域補正情報にしたがって画像補正を行う。この処理について図13のフローチャートを用いて詳しく説明する。
(Correction process: S710)
Next, in step S710, image correction is performed according to each area correction information obtained previously. This process will be described in detail with reference to the flowchart of FIG.
まず、ステップS1101において、ステップS707で抽出されたk番目の画像領域に属する顔領域のデータを取得する。 First, in step S1101, face area data belonging to the kth image area extracted in step S707 is acquired.
ステップS1102からステップS1105はこの領域内の各画素についての処理のループを構成している。 Steps S1102 to S1105 constitute a processing loop for each pixel in this region.
まず、ステップS1102において、未処理の画素を決定する。次に、ステップS1103において、色相補正処理を行う。まず補正対象の代表色における色相補正量Dh(j)を算出する。補正対象とする色の代表色における色相補正量は補正対象目標色相HTと補正対象とする色の代表色相HR(j)の差およびステップS707の補正係数設定処理において設定された前記色相補正係数PH(j)の積で表される(式(9))。次に、前記色相補正量DhにステップS9の色領域設定処理において設定した色相領域の重みWH(j)、彩度領域の重みWC(j)とステップS709の画像領域設定処理において設定した画像領域重みWP(j)をかけた分だけ、入力画像内の画素の色相を補正する(式(8))。ただし、式(8)においてHは前記色補正処理前の補正対象画素の色相、H′は前記色補正処理後の補正対象画素の色相を示す。 First, in step S1102, an unprocessed pixel is determined. Next, in step S1103, hue correction processing is performed. First, the hue correction amount Dh (j) for the representative color to be corrected is calculated. The hue correction amount in the representative color of the color to be corrected is the difference between the target hue HT to be corrected and the representative hue H R (j) of the color to be corrected, and the hue correction coefficient set in the correction coefficient setting process in step S707. It is represented by the product of P H (j) (Formula (9)). Next, the hue correction amount Dh is set in the hue region weight W H (j) and saturation region weight W C (j) set in the color region setting process in step S9 and in the image region setting process in step S709. The hue of the pixel in the input image is corrected by the amount multiplied by the image area weight W P (j) (formula (8)). In Equation (8), H represents the hue of the pixel to be corrected before the color correction process, and H ′ represents the hue of the pixel to be corrected after the color correction process.
同様に、ステップS1104では、ステップS707の補正係数設定処理で得られた彩度補正係数Pc(j)から代表色における彩度補正率Kc(j)を算出し、前記彩度補正率KcにステップS708の色領域設定処理において設定した色相領域の重みWH(j)、彩度領域の重みWC(j)とステップS709の画像領域設定処理において設定した画像領域重みWP(j)および前記色補正処理前の補正対象画素の彩度Cをかけた分だけ、入力画像内の画素の彩度を補正する(式(11))。
前記彩度補正率Kcは式(12)のように、前記補正目標彩度CTおよび補正対象の代表彩度CR(j)の差と前記補正代表彩度CR(j)の比と前記補正彩度係数Pc(j)の積で表される。ただし、式(11)でC′は前記色補正処理後の補正対象画素の彩度を示す。
Similarly, in step S1104, the saturation correction factor Kc (j) for the representative color is calculated from the saturation correction factor Pc (j) obtained in the correction factor setting process in step S707, and the saturation correction factor Kc is set in step S1104. The hue area weight W H (j), the saturation area weight W C (j) set in the color area setting process of S708, the image area weight W P (j) set in the image area setting process of step S709, and the above-mentioned The saturation of the pixels in the input image is corrected by the amount corresponding to the saturation C of the correction target pixel before the color correction processing (Formula (11)).
The saturation correction rate Kc is expressed by the ratio of the difference between the corrected target saturation C T and the correction target representative saturation C R (j) and the corrected representative saturation C R (j) as shown in Expression (12). It is represented by the product of the corrected saturation coefficient Pc (j). In Equation (11), C ′ represents the saturation of the correction target pixel after the color correction process.
次に、ステップS1105の判定により、全ての画素について上記処理が終了したかどうかを判定し、終了した場合には補正処理は終了し、そうでない場合は、処理はステップS1102に戻る。
図9に戻って、次に、ステップS711において、色空間をRGB空間に逆変換する。ステップS712において、すべての検出領域について処理を行ったかを判断し、まだの場合はステップS701に戻り、すべての領域について補正案作成を終了した場合には本処理を終了する。
Next, it is determined whether or not the above process has been completed for all the pixels based on the determination in step S1105. If completed, the correction process is terminated. If not, the process returns to step S1102.
Returning to FIG. 9, next, in step S711, the color space is inversely converted to the RGB space. In step S712, it is determined whether processing has been performed for all detection areas. If not, the process returns to step S701. If correction plan creation has been completed for all areas, the process ends.
<本実施形態の画像処理装置の他の具体的構成例>
図14は、本実施形態における画像処理装置の他の具体的構成例を示すブロック図である。上記実施形態と共通する部分には同じ番号を付与している。
<Another Specific Configuration Example of the Image Processing Apparatus of the Present Embodiment>
FIG. 14 is a block diagram illustrating another specific configuration example of the image processing apparatus according to the present embodiment. The same number is given to the part which is common in the said embodiment.
ブロック構成としては、ドライブインタフェース204にCD/DVDドライブ1101が接続されて、本実施形態のプログラムを記録したDVDまたはCDのような光ディスク215を追加しているところが上記実施形態と異なる。
The block configuration is different from the above embodiment in that a CD /
本実施形態のプログラムを記録した光ディスク215をCD/DVDドライブ204に挿入するとCPU201は記録媒体からプログラムを読み取って、RAM203に展開することで、上記実施形態と同様の処理を実現することができる。
When the
<本実施形態の画像処理システムの構成例>
図15は、本発明の画像補正方法をネットワークシステムに適用した、本実施形態の画像処理システムの構成例を示す図である。
<Example of Configuration of Image Processing System of Present Embodiment>
FIG. 15 is a diagram showing a configuration example of an image processing system according to this embodiment in which the image correction method of the present invention is applied to a network system.
図15には、複数のユーザ(発注端末1501a、1501b、1501c...)と、該複数のユーザに対して遠隔地に設置されたセンターサーバ1502とをネットワーク1504を通じて通信可能とし、各々のユーザが所望の画像データをネットワーク1504を通じてセンターサーバ1502に送信することを可能とし、センターサーバ1502の画像入力手段は送信された画像を受信してプリントショップ1503にプリント指示することで実現した、プリントサービスの形態を示す図である。発注端末1501は個人が所有するパソコンで実現可能である。尚、発注端末1501は携帯端末でも良い。また、発注、印刷および撮影機能を持つプリントショップ1503を各地に設置し、センターサー1502バと接続している。
In FIG. 15, a plurality of users (
図16は、ユーザがプリントサービスを発注してからプリントショップに画像が出力されるまでの情報通信のフローを示した図である。このなかでセンターサーバ1502が上記実施形態に相当する画像補正の処理を行う。
FIG. 16 is a diagram showing a flow of information communication from when a user orders a print service until an image is output to a print shop. Among these, the
まず、発注端末1501からプリントサービスのホームページにアクセスする(S11)。センターサーバ1502はプリントサービスの入力画面を返送する(S21)。ログイン(S12,S22)処理の後、発注端末1501から画像を送信し(S13)、センターサーバ1502は受信してユーザIDに対応して記憶保持する(S23)。発注端末1501からプロファイルを送信し(S14)、センターサーバ1502は受信してユーザIDに対応して記憶保持する(S24)。発注端末1501から印刷方法と印刷指示を送信し(S15)、センターサーバ1502は受信してユーザIDに対応して保持されたプロファイルに基づいて画像補正する(S25)。尚、図16では、画像送信(S13)、プロファイル送信(S14)、プリント指示(S15)を一連の手順で示したが、これらの処理は逆であっても、処理間に長時間の間隔が空いても良く、その場合は各処理をログインから開始することになる。
First, the homepage of the print service is accessed from the ordering terminal 1501 (S11). The
センターサーバ1502は、プリントの注文データを生成し、発注端末1501に送信する(S26)。この注文データと共に、補正した画像をユーザの確認にために送信するのが望ましい。ユーザは、注文内容を確認し、確定情報を発注端末1501からセンターサーバ1502に返す(S16)。
The
センターサーバ1502は注文確認を受けて、プリントショップ1503へ注文データを送信すると共に(S27)、ユーザが好ましいする補正をした印刷画像を送信する(S28)。その後、発注端末1501はログアウトし(S17)、センターサーバ1502はログアウト処理を行なう(S29)。
Upon receiving the order confirmation, the
プリントショップ1503では、注文データと印刷画像を受信して(S31,S32)、プリント出力する(S33)。印刷出力された画像は、発注したユーザに発送される。
In the
以上のように、センターサーバ1502がユーザIDに対応してプロファイル情報を保持しておき、印刷指示を受信するとプロファイル情報に基づく補正を行なって、プリント処理を行なう。尚、センターサーバ1502が保持するプロファイル情報の補正情報は、各々の画像に対応する補正情報であっても、ユーザの好みに対応して複数の画像に行なう補正情報であっても、過去の履歴からユーザの好みに対応するとして選択された補正情報であってもよい。
As described above, the
なお、本実施形態では、肌色補正処理に関して詳細に説明したが、その他の補正方法としてガウシアンフィルタを適用してぼかしたり、輪郭強調フィルタをなどを行っても良い。ガウシアンフィルタを首、頬や目の周辺の肌色領域に適用することにより、見かけの年齢を若くすることが可能である。この場合は、顔の種類ごとに効果の度合いを定義しておき、ステップS709と同様な画像領域重み設定を適切に行って、領域内の各画素について、ガウシアンフィルタをかけた画像を重みにしたがってオリジナルの画像のLHCの各チャンネルごとに加重平均を求めればよい。このような空間的な補正は動画や携帯性の高いカメラのような解像度が低い画像で特に有効である。 In the present embodiment, the skin color correction process has been described in detail. However, as another correction method, a Gaussian filter may be applied to perform blurring, an edge enhancement filter, or the like. By applying the Gaussian filter to the skin color area around the neck, cheeks and eyes, the apparent age can be made younger. In this case, the degree of effect is defined for each type of face, and image area weight setting similar to that in step S709 is appropriately performed, and an image on which a Gaussian filter is applied according to the weight for each pixel in the area. A weighted average may be obtained for each LHC channel of the original image. Such spatial correction is particularly effective for low resolution images such as moving images and highly portable cameras.
<その他の実施形態>
顔領域を判別する際、顔の特徴量抽出に関しては、第1実施形態で示した方法に限定するものではない。例えば、ISO/IEC15938−3に規定されている、顔識別の特徴記述子を用いてもよい。また、判別器として、判別分析のほかに、ブースト法、カーネルトリックと組み合わせたサポートベクターマシン、ニューラルネットワークなどの手法を用いても良い。いずれも領域種別にトレーニング用の画像を用意してトレーニングすることで、所望の領域種別への判別が可能である。また、本実施形態では人物の肌色を好ましく補正する場合について説明したが、他の記憶色である空の青、草木の緑などを好ましく補正する場合についても適用できることはいうまでもない。
<Other embodiments>
When discriminating the face area, the feature extraction of the face is not limited to the method shown in the first embodiment. For example, a face identification feature descriptor defined in ISO / IEC 15938-3 may be used. Further, as a discriminator, in addition to discriminant analysis, a boost method, a support vector machine combined with a kernel trick, a neural network, or the like may be used. In any case, by preparing a training image for each area type and performing training, it is possible to determine the desired area type. In the present embodiment, the case where the skin color of a person is preferably corrected has been described. However, it is needless to say that the present invention can also be applied to a case where other memory colors such as sky blue and green of plants are preferably corrected.
また、本実施形態のプログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク,ハードディスク,光ディスク,光磁気ディスク,CD、DVD,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。 Further, as a storage medium for supplying the program code of this embodiment, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD, a DVD, a magnetic tape, a nonvolatile memory card, a ROM, or the like is used. it can.
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
さらに、カメラやスキャナなどの画像入力装置やプリンタなどの画像出力装置、またこれらが複合または接続された装置において、両方またはいずれかの装置に備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Furthermore, in an image input device such as a camera or scanner, an image output device such as a printer, or a device in which these are combined or connected, a CPU or the like provided in both or any of the devices performs part or all of the actual processing. Needless to say, the process includes the case where the functions of the above-described embodiments are realized.
Claims (9)
前記画像入力手段から入力された画像情報において人物の顔が含まれる顔領域を設定する領域設定手段と、
人物毎に、該人物の顔の特徴を表す顔情報と、該人物の顔の画像に対応する目標色を含む画像補正情報とを有するプロファイル情報を記憶するプロファイル情報記憶手段と、
前記領域設定手段で設定された顔領域について、前記プロファイル情報中の顔情報と照合を行う照合手段と、
前記照合手段の照合により合致した顔情報を含むプロファイル情報中の目標色と前記顔領域の代表色との差が大きいほど少ない色補正量によって当該顔領域に画像補正を行う画像補正手段とを有することを特徴とする画像処理装置。 Image input means for inputting image information;
Area setting means for setting a face area including a human face in the image information input from the image input means;
Profile information storage means for storing, for each person, profile information including face information representing the characteristics of the person's face and image correction information including target colors corresponding to the face image of the person;
Collating means for collating face information in the profile information for the face area set by the area setting means;
And an image correcting means for performing image correction on the facial region by the smaller amount of color correction is large difference between the representative color of the face area and the target color in the profile information including the matched face information by collation of the collating means An image processing apparatus.
前記複数のユーザ端末に対して遠隔地に設置されてサーバとして機能し、ネットワークを介して前記複数のユーザと通信可能である請求項1乃至5のいずれか1つに記載の画像処理装置であって、ユーザが前記ネットワークを介して送信した所望の画像データを、該ユーザが送信したプロファイル情報に従って補正してプリントショップに送信する画像処理装置と、
前記画像処理装置からのプリント指示に従って、前記補正された画像データを受信してプリントするプリントショップとを有することを特徴とするプリントサービスシステム。 Multiple user terminals;
The image processing apparatus according to any one of claims 1 to 5, wherein the image processing apparatus is installed at a remote location with respect to the plurality of user terminals, functions as a server, and can communicate with the plurality of users via a network. An image processing apparatus that corrects desired image data transmitted by the user via the network according to the profile information transmitted by the user and transmits the corrected image data to the print shop;
A print service system comprising: a print shop that receives and prints the corrected image data in accordance with a print instruction from the image processing apparatus.
画像情報を入力する画像入力工程と、
前記画像入力工程で入力された画像情報において人物の顔が含まれる顔領域を設定する領域設定工程と、
前記領域設定工程で設定された顔領域について、前記プロファイル情報中の顔情報と照合を行う照合工程と、
前記照合工程での照合により合致した顔情報を含むプロファイル情報中の目標色と前記顔領域の代表色との差が大きいほど少ない色補正量によって当該顔領域に画像補正を行う画像補正工程とを有することを特徴とする画像処理方法。 For each person, and face information representing a feature of the face of the person thereof, stores the profile information and an image correction information including the target color corresponding to the image of the face of the person thereof, the input image based on said profile information An image processing method for performing
An image input process for inputting image information;
A region setting step for setting a face region including a human face in the image information input in the image input step;
A collation step for collating the face information set in the region setting step with face information in the profile information;
And an image correcting step of performing image correction on the facial region by the smaller amount of color correction having a large difference between the representative color of the target color and the face area in the profile information including the face information that matches the collation in the collation step An image processing method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004319499A JP4822690B2 (en) | 2004-11-02 | 2004-11-02 | Image processing method and apparatus, and print service system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004319499A JP4822690B2 (en) | 2004-11-02 | 2004-11-02 | Image processing method and apparatus, and print service system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2006133875A JP2006133875A (en) | 2006-05-25 |
| JP4822690B2 true JP4822690B2 (en) | 2011-11-24 |
Family
ID=36727403
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004319499A Expired - Fee Related JP4822690B2 (en) | 2004-11-02 | 2004-11-02 | Image processing method and apparatus, and print service system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4822690B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5354842B2 (en) | 2006-05-26 | 2013-11-27 | キヤノン株式会社 | Image processing method and image processing apparatus |
| WO2008075745A1 (en) | 2006-12-21 | 2008-06-26 | Panasonic Corporation | Development server, development client, development system, and development method |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3681145B2 (en) * | 1997-12-11 | 2005-08-10 | 株式会社東芝 | Utterance device and utterance method |
| JP2001209802A (en) * | 1999-11-15 | 2001-08-03 | Fuji Photo Film Co Ltd | Face extraction method and apparatus, and recording medium |
| JP3575679B2 (en) * | 2000-03-31 | 2004-10-13 | 日本電気株式会社 | Face matching method, recording medium storing the matching method, and face matching device |
| JP4291963B2 (en) * | 2000-04-13 | 2009-07-08 | 富士フイルム株式会社 | Image processing method |
| US7039222B2 (en) * | 2003-02-28 | 2006-05-02 | Eastman Kodak Company | Method and system for enhancing portrait images that are processed in a batch mode |
| JP2004280723A (en) * | 2003-03-18 | 2004-10-07 | Toyota Infotechnology Center Co Ltd | Face image recognition processing program, recording medium, and face image recognition processing method |
-
2004
- 2004-11-02 JP JP2004319499A patent/JP4822690B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2006133875A (en) | 2006-05-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Farid | Image forgery detection | |
| US7885477B2 (en) | Image processing method, apparatus, and computer readable recording medium including program therefor | |
| US7454040B2 (en) | Systems and methods of detecting and correcting redeye in an image suitable for embedded applications | |
| US6895112B2 (en) | Red-eye detection based on red region detection with eye confirmation | |
| US7916905B2 (en) | System and method for image facial area detection employing skin tones | |
| US7577290B2 (en) | Image processing method, image processing apparatus and image processing program | |
| US8391595B2 (en) | Image processing method and image processing apparatus | |
| US20020150291A1 (en) | Image colour correction based on image pattern recognition, the image pattern including a reference colour | |
| US20170357851A1 (en) | System and Method for Detecting Objects in an Image | |
| US20040228528A1 (en) | Image editing apparatus, image editing method and program | |
| US20070071347A1 (en) | Image processing method, image processing apparatus, and computer-readable recording medium storing image processing program | |
| US20090041347A1 (en) | Image processing method and image processing apparatus | |
| JP2001309225A (en) | Camera and method for face detection | |
| JP2004086891A (en) | Object detection method in digital image | |
| MX2012010602A (en) | Face recognizing apparatus, and face recognizing method. | |
| CN101236600A (en) | Image processing device and image processing method | |
| US7580169B2 (en) | Image processing apparatus and its method | |
| JPWO2005038716A1 (en) | Image collation system and image collation method | |
| JP2011145958A (en) | Pattern identification device and method of controlling the same | |
| US7468812B2 (en) | Image processing apparatus and its method for color correction | |
| US7672482B2 (en) | Shape detection using coherent appearance modeling | |
| WO2022222569A1 (en) | Target discrimation method and system | |
| CN112106102A (en) | Image processing method, system, device, movable platform and storage medium | |
| US20100254597A1 (en) | System and method for facial tone indexing | |
| JP4141090B2 (en) | Image recognition apparatus, shadow removal apparatus, shadow removal method, and recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071102 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20071102 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100902 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100906 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101104 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110304 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110428 |
|
| 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: 20110902 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110906 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140916 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |