JP2009278255A - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
JP2009278255A
JP2009278255A JP2008126034A JP2008126034A JP2009278255A JP 2009278255 A JP2009278255 A JP 2009278255A JP 2008126034 A JP2008126034 A JP 2008126034A JP 2008126034 A JP2008126034 A JP 2008126034A JP 2009278255 A JP2009278255 A JP 2009278255A
Authority
JP
Japan
Prior art keywords
color
tooth
correction
tooth color
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008126034A
Other languages
Japanese (ja)
Inventor
Makoto Kaneda
田 真 金
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 JP2008126034A priority Critical patent/JP2009278255A/en
Publication of JP2009278255A publication Critical patent/JP2009278255A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing device and an image processing method, for generating correction image data by which a photograph display result or a printing result which can provide a favorable impression based on a balance between a facial color and a tooth color, with respect to the tooth color of a subject figure in a photograph image. <P>SOLUTION: The image processing device 20 has a face detection unit 21 detecting a face of a figure included in image data, an organ detection unit 22 detecting an organ including a tooth included in a face area detected, a face color/tooth color evaluation unit 23 evaluating a face color and a tooth color of a face and a tooth detected, determining the tooth color as a correction target based on an evaluation result, and determining an application or nonapplication of a tooth color correction based on the correction target, and an image data correction unit 24 correcting the tooth color based on the correction target and generating correction image data when the application of correction is determined. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、画像処理装置及び画像処理方法に係り、特に、写真画像中の被写体人物の歯色を、顔色とのバランスという観点から最適に補正した表示結果又は印刷結果を得られる補正画像データを生成するための画像処理装置及び画像処理方法に関する。   The present invention relates to an image processing apparatus and an image processing method, and in particular, corrected image data for obtaining a display result or a print result obtained by optimally correcting the tooth color of a subject person in a photographic image from the viewpoint of balance with the face color. The present invention relates to an image processing apparatus and an image processing method for generation.

一般に、人の歯色は、清潔感のある白色が好ましいと感じられる。これは、人の顔を直接見る場合でも、写真画像中で間接的に見る場合でも、同様である。但し、好ましいと感じられる歯色としての白色は、人工的な完全な白色ではなく、人の歯色として不自然さを感じさせない範囲の適度な白色である。   Generally, it is felt that a white color with a clean feeling is preferable as a human tooth color. This is the same whether the person's face is viewed directly or indirectly in the photographic image. However, the white as a tooth color that is perceived as preferable is not an artificial white color, but an appropriate white color in a range that does not cause unnaturalness as a human tooth color.

写真画像やCG画像等の各種画像データに対しては従来より様々な画像処理が行われており、そのうちの一つに、写真画像中の被写体人物の歯色を、好印象を与え得る白色に補正する画像処理技術がある(例えば、特許文献1を参照。)。
特開2007−223189号公報
Various types of image processing have been performed on various types of image data such as photographic images and CG images, and one of them is the white color of the subject person in the photographic image that can give a good impression. There is an image processing technique for correction (see, for example, Patent Document 1).
JP 2007-223189 A

一方、通常の日常生活の中では、見る人に好ましい印象を与え得る適度な白色の歯色であっても、例えば、祭り等で舞妓のような極端な白塗りの化粧をする場合や、結婚式における白無垢衣装着用の際の通常よりかなり白い化粧をする場合等、顔色が通常よりも白くなるような条件の下では、顔色とのバランスにおいて、歯色が人の目には黄色味がかって見えてしまう等、好ましい白色の歯色とは感じられなくなってしまうことがある。   On the other hand, in normal daily life, even if it is a moderate white tooth color that can give a positive impression to the viewer, for example, when applying extreme white paint such as maiko at a festival, etc., or marriage Under the condition that the face color becomes whiter than usual, such as when applying white makeup rather than usual when wearing solid white costumes in the ceremony, the tooth color is yellowish to the human eye in terms of balance with the face color In some cases, it may not be felt as a preferable white tooth color.

特に結婚式における白無垢姿を撮影した写真画像等において、顔色とのバランスにおける歯色が原因で好印象を損なう写真画像が出来上がった場合には、被写体人物本人及び関係者にとって不満を感じる結果となる。   In particular, in the case of a photographic image of an innocent white figure at a wedding, when a photographic image that impairs a good impression due to the tooth color in balance with the face color is produced, the subject person and the concerned person feel dissatisfied. Become.

上述の特許文献1に記載された画像処理技術は、予め設定しておいた目標データと一致するように歯の部分の画像データを補正したり、又は、写真画像中の歯の部分の色を基準として写真画像全体の色調を補正したりするものであり、顔色とのバランスを考慮して歯色の補正を行うものではない。   The image processing technique described in Patent Document 1 described above corrects the image data of the tooth portion so as to match the preset target data, or changes the color of the tooth portion in the photographic image. The color tone of the entire photographic image is corrected as a reference, and the tooth color is not corrected in consideration of the balance with the face color.

従って、当該画像処理技術では、顔色との対比の結果として好印象が損なわれている歯色を、好印象を与え得る最適な歯色に補正することはできない。   Therefore, the image processing technique cannot correct a tooth color that has lost a good impression as a result of comparison with the face color to an optimum tooth color that can give a good impression.

本発明は、以上の問題点に鑑みてなされたものであり、その目的は、写真画像中の被写体人物の歯色に関し、顔色とのバランスという観点からも好印象を与え得る写真表示結果又は印刷結果を得られる補正画像データを生成するための画像処理装置及び画像処理方法を提供することである。   The present invention has been made in view of the above problems, and its purpose is related to the tooth color of a subject person in a photographic image, and a photographic display result or print that can give a good impression from the viewpoint of balance with the face color. An object of the present invention is to provide an image processing apparatus and an image processing method for generating corrected image data from which results can be obtained.

本発明に係る画像処理装置の一態様によれば、画像データ中に含まれている人物の顔を検出する顔検出ユニットと、検出された顔領域中に包含される歯を含む器官を検出する器官検出ユニットと、検出された顔及び歯の顔色及び歯色を評価し、その評価結果に基づいて補正目標としての歯色を決定すると共に上記補正目標に基づく歯色の補正の適用又は不適用を決定する顔色及び歯色評価ユニットと、上記補正の適用が決定された場合に、上記補正目標に基づく歯色の補正を行って補正画像データを生成する画像データ補正ユニットと、を備えていることを特徴とする画像処理装置が提供される。   According to one aspect of the image processing apparatus of the present invention, a face detection unit for detecting a human face included in image data and an organ including teeth included in the detected face area are detected. An organ detection unit, evaluates the face color and tooth color of the detected face and teeth, determines a tooth color as a correction target based on the evaluation result, and applies or does not apply the correction of the tooth color based on the correction target A facial color and tooth color evaluation unit that determines the correction, and an image data correction unit that corrects the tooth color based on the correction target and generates corrected image data when the application of the correction is determined. An image processing apparatus is provided.

本発明に係る画像処理装置の上記一態様において、上記顔色及び歯色評価ユニットは、検出された顔の顔色の評価結果に基づいて補正目標としての歯色を決定すると共に、検出された歯の歯色の評価結果に基づいて、上記補正目標に基づく歯色の補正の適用又は不適用を決定するものとするとよい。   In the above aspect of the image processing apparatus according to the present invention, the face color and tooth color evaluation unit determines a tooth color as a correction target based on the evaluation result of the face color of the detected face and detects the detected tooth color. The application or non-application of the tooth color correction based on the correction target may be determined based on the evaluation result of the tooth color.

また、上記顔色及び歯色評価ユニットは、検出された顔の顔色の評価結果に基づいて補正目標としての歯色を決定すると共に、上記補正目標における歯色の白さが、検出された歯の歯色の白さよりも低減されていないか否かを判断し、上記補正目標に基づく歯色の補正の適用又は不適用を決定するものとするとよい。   Further, the face color and tooth color evaluation unit determines a tooth color as a correction target based on the evaluation result of the detected face color of the face, and the white color of the tooth color in the correction target indicates the detected tooth color. It is preferable to determine whether or not the whiteness of the tooth color is reduced, and to determine whether to apply or not apply the tooth color correction based on the correction target.

また、上記顔色及び歯色評価ユニットは、検出された顔の顔色の彩度Sf及び明度Lfに基づいて補正目標としての歯色の彩度St’及び明度Lt’を算出すると共に、検出された歯の歯色の彩度St及び明度Ltと上記補正目標としての歯色の彩度St’及び明度Lt’とを比較して、上記補正目標に基づく歯色の補正の適用又は不適用を決定するものとするとよい。   Further, the face color and tooth color evaluation unit calculates and detects the tooth color saturation St ′ and lightness Lt ′ as correction targets based on the detected face color saturation Sf and lightness Lf of the face. The tooth color saturation St and lightness Lt are compared with the tooth color saturation St ′ and lightness Lt ′ as the correction target, and the application or non-application of the tooth color correction based on the correction target is determined. You should do it.

この場合、上記顔色及び歯色評価ユニットは、検出された歯の歯色の彩度St及び明度Ltと上記補正目標としての歯色の彩度St’及び明度Lt’とに関し、St<St’かつLt>Lt’の関係が成立するか否かを判断し、上記関係が成立する場合には、上記補正目標に基づく歯色の補正の不適用を決定し、上記関係が成立しない場合には、上記補正目標に基づく歯色の補正の適用を決定するものとするとよい。   In this case, the facial color and tooth color evaluation unit relates to the detected tooth color saturation St and lightness Lt and the tooth color saturation St ′ and lightness Lt ′ as the correction target, St <St ′. In addition, it is determined whether or not the relationship of Lt> Lt ′ is established. When the relationship is established, it is determined that the correction of the tooth color based on the correction target is not applied, and when the relationship is not established. The application of the tooth color correction based on the correction target may be determined.

本発明に係る画像処理装置の上記一態様において、上記画像データ補正ユニットから出力された画像データのデータ形式を変換して、プリンタで処理可能な印刷画像データを生成する印刷データ生成ユニットをさらに備えているものとするとよい。   The image processing apparatus according to the aspect of the invention further includes a print data generation unit that converts the data format of the image data output from the image data correction unit and generates print image data that can be processed by a printer. It is good to have it.

また、本発明に係る画像処理方法の一態様によれば、画像データ中に含まれている人物の顔を検出する顔検出過程と、検出された顔領域中に包含される歯を含む器官を検出する器官検出過程と、検出された顔及び歯の顔色及び歯色を評価し、その評価結果に基づいて補正目標としての歯色を決定すると共に上記補正目標に基づく歯色の補正の適用又は不適用を決定する顔色及び歯色評価過程と、上記補正の適用が決定された場合に、上記補正目標に基づく歯色の補正を行って補正画像データを生成する画像データ補正過程と、を含むことを特徴とする画像処理方法が提供される。   Further, according to one aspect of the image processing method of the present invention, a face detection process for detecting a human face included in image data, and an organ including a tooth included in the detected face region are provided. An organ detection process to be detected, and a face color and a tooth color of the detected face and teeth are evaluated, a tooth color as a correction target is determined based on the evaluation result, and a tooth color correction based on the correction target is applied or A face color and tooth color evaluation process for determining non-application, and an image data correction process for generating correction image data by correcting the tooth color based on the correction target when application of the correction is determined. An image processing method is provided.

さらに、本発明に係るコンピュータプログラムの一態様によれば、画像データ中に含まれている人物の顔を検出する顔検出機能と、検出された顔領域中に包含される歯を含む器官を検出する器官検出機能と、検出された顔及び歯の顔色及び歯色を評価し、その評価結果に基づいて補正目標としての歯色を決定すると共に上記補正目標に基づく歯色の補正の適用又は不適用を決定する顔色及び歯色評価機能と、上記補正の適用が決定された場合に、上記補正目標に基づく歯色の補正を行って補正画像データを生成する画像データ補正機能と、をコンピュータに実現させるためのコンピュータプログラムが提供される。   Further, according to one aspect of the computer program according to the present invention, a face detection function for detecting a human face included in image data and an organ including a tooth included in the detected face region are detected. An organ detection function, and the detected face color and tooth color of the detected face and teeth, determine a tooth color as a correction target based on the evaluation result, and apply or not apply the correction of the tooth color based on the correction target. A face color and tooth color evaluation function for determining application, and an image data correction function for generating correction image data by correcting tooth color based on the correction target when application of the correction is determined in a computer. A computer program for implementation is provided.

本発明に係る画像処理装置及び画像処理方法の一態様は、上記各構成により、写真画像中の被写体人物の歯色に関し、顔色とのバランスという観点からも好印象を与え得る写真表示結果又は印刷結果を得られる補正画像データを生成することができる。   One aspect of the image processing apparatus and the image processing method according to the present invention is a photographic display result or print that can give a good impression from the viewpoint of the balance with the face color of the subject person in the photographic image. It is possible to generate corrected image data that can obtain a result.

本発明に係る画像処理装置及び画像処理方法の構成の概要は、人物が被写体として含まれている写真画像を表示又は印刷するに際し、当該写真画像データ中に含まれている人物の顔及びその顔領域中の歯を検出して顔色及び歯色を評価し、その評価結果に基づいて補正目標としての最適な歯色を決定して、歯色を補正した補正画像データを生成するものである。   The outline of the configuration of the image processing apparatus and the image processing method according to the present invention is as follows. When a photographic image including a person as a subject is displayed or printed, the face of the person included in the photographic image data and the face Teeth in the region are detected, the face color and the tooth color are evaluated, an optimum tooth color as a correction target is determined based on the evaluation result, and corrected image data in which the tooth color is corrected is generated.

即ち、本発明に係る画像処理装置及び画像処理方法は、写真画像中の被写体人物の歯色を、顔色との対比における最適な歯色に補正することによって、顔色とのバランスという観点からも好印象を与え得る写真表示結果又は印刷結果を提供することができる。   That is, the image processing apparatus and the image processing method according to the present invention are preferable from the viewpoint of balance with the face color by correcting the tooth color of the subject person in the photographic image to the optimum tooth color in comparison with the face color. Photo display results or print results that can give an impression can be provided.

但し、顔色の評価結果に基づいて一律に歯色の補正を行ったのでは、補正後の歯色の白さが補正前の歯色の白さよりも低減されてしまう場合もあり得るので、好ましくない。   However, if the tooth color is uniformly corrected based on the evaluation result of the face color, the white color of the tooth color after correction may be reduced as compared with the white color of the tooth color before correction. Absent.

そこで、本発明に係る画像処理装置及び画像処理方法においては、顔色の評価結果に基づいて決定された補正目標における歯色の白さが補正前の歯色の白さよりも低減されると判断される場合には、当該補正を適用せず、元の歯色を維持することとする。それにより、写真画像中の被写体人物の歯色に関し、好印象を損なわない写真表示結果又は印刷結果を提供することができる。   Therefore, in the image processing apparatus and the image processing method according to the present invention, it is determined that the white of the tooth color in the correction target determined based on the evaluation result of the face color is reduced than the whiteness of the tooth color before correction. In this case, the original tooth color is maintained without applying the correction. Thereby, it is possible to provide a photographic display result or a print result that does not impair a good impression regarding the tooth color of the subject person in the photographic image.

以下、本発明に係る画像処理装置及び画像処理方法の実施の一形態について、図面を参照しながら詳細に説明する。   Hereinafter, an embodiment of an image processing apparatus and an image processing method according to the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施の一形態に係る画像処理装置を含むプリンタ複合機の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a printer multifunction machine including an image processing apparatus according to an embodiment of the present invention.

図1に示す本発明の実施の一形態に係る画像処理装置20は、ホストコンピュータへの接続が必須ではなく、メモリカード等に記録された写真画像データを単体で印刷可能なプリンタ複合機1の一部を構成する装置として具現化された例である。尚、プリンタ複合機とは、プリンタの機能の他にスキャナ、コピー機等の機能を備えたものをいう。   The image processing apparatus 20 according to the embodiment of the present invention shown in FIG. 1 is not necessarily connected to a host computer, and is a printer multifunction device 1 capable of printing photographic image data recorded on a memory card or the like alone. It is the example embodied as an apparatus which comprises some. Note that a printer multifunction device is a device having functions of a scanner, a copier, etc. in addition to the functions of a printer.

図1に示すプリンタ複合機1は、画像データを入力するためのデータ入力装置10と、入力された画像データを一時的に保持するメモリ30と、画像データに対し画像処理を行う画像処理装置20と、操作に必要な情報表示及び入力を行うためのユーザインタフェース40と、画像処理の結果として生成された印刷画像データに基づき印刷を行うプリンタユニット50とを備えている。   1 includes a data input device 10 for inputting image data, a memory 30 that temporarily stores input image data, and an image processing device 20 that performs image processing on the image data. And a user interface 40 for displaying and inputting information necessary for operation, and a printer unit 50 for performing printing based on print image data generated as a result of image processing.

データ入力装置10は、メモリカードからの画像データの読み込みを行うメモリカードリーダ11と、原稿からの画像データの読み込みを行うスキャナユニット12と、コンピュータ等の外部機器からの画像データの入力を行うための外部インタフェースユニット13とを備えている。   The data input device 10 inputs image data from an external device such as a memory card reader 11 that reads image data from a memory card, a scanner unit 12 that reads image data from a document, and a computer. The external interface unit 13 is provided.

データ入力装置10を介して入力された画像データは、メモリ30に一時的に保持される。   Image data input via the data input device 10 is temporarily stored in the memory 30.

ユーザインタフェース40は、操作に必要な情報表示を行う液晶ディスプレイ(LCD)41と、ユーザからの指示を入力するためのスイッチ若しくはボタン42又はタッチパネル43とを備えている。   The user interface 40 includes a liquid crystal display (LCD) 41 that displays information necessary for operation, and a switch or button 42 or a touch panel 43 for inputting an instruction from the user.

本発明の実施の一形態に係る画像処理装置20は、画像データ中に含まれている人物の顔を検出する顔検出ユニット21と、検出された顔領域中に包含される歯を含む器官を検出する器官検出ユニット22と、検出された顔及び歯の顔色及び歯色を評価し、その評価結果に基づいて補正目標としての歯色を決定すると共に当該補正目標に基づく歯色の補正の適用又は不適用を決定する顔色及び歯色評価ユニット23と、補正の適用が決定された場合に、当該補正目標に基づく歯色の補正を行って補正画像データを生成する画像データ補正ユニット24と、画像データ補正ユニット24から出力された画像データのデータ形式を変換して、プリンタユニット50で処理可能な印刷画像データを生成する印刷データ生成ユニット25とを備えている。   An image processing apparatus 20 according to an embodiment of the present invention includes a face detection unit 21 that detects a face of a person included in image data, and an organ including teeth included in the detected face area. The organ detection unit 22 to detect, the face color and the tooth color of the detected face and teeth are evaluated, the tooth color as a correction target is determined based on the evaluation result, and the correction of the tooth color based on the correction target is applied Alternatively, the face color and tooth color evaluation unit 23 that determines non-application, and the image data correction unit 24 that performs correction of the tooth color based on the correction target and generates corrected image data when correction application is determined, A print data generation unit 25 that converts the data format of the image data output from the image data correction unit 24 and generates print image data that can be processed by the printer unit 50 is provided. .

本発明の実施の一形態に係る画像処理装置20は、上記各ユニット21乃至25の順次動作によって、メモリ30に一時的に保持されている写真画像データに対する画像処理を行う。   The image processing apparatus 20 according to an embodiment of the present invention performs image processing on photographic image data temporarily stored in the memory 30 by the sequential operation of each of the units 21 to 25.

プリンタユニット50は、生成された印刷画像データに基づき画像印刷を行う。   The printer unit 50 performs image printing based on the generated print image data.

次に、本発明の実施の一形態に係る画像処理装置の動作、即ち、本発明の実施の一形態に係る画像処理方法の手順について、より詳細に説明する。   Next, the operation of the image processing apparatus according to the embodiment of the present invention, that is, the procedure of the image processing method according to the embodiment of the present invention will be described in more detail.

図2は、本発明の実施の一形態に係る画像処理装置の動作、即ち、本発明の実施の一形態に係る画像処理方法の手順を示すフローチャートである。また、図3は、検出された写真画像データ中の顔を順次選択して表示する様子を模式的に示す説明図である。   FIG. 2 is a flowchart showing the operation of the image processing apparatus according to the embodiment of the present invention, that is, the procedure of the image processing method according to the embodiment of the present invention. FIG. 3 is an explanatory diagram schematically showing how faces in the detected photographic image data are sequentially selected and displayed.

本発明の実施の一形態に係る画像処理装置及び画像処理方法では、先ず最初に、処理対象となる写真画像データに対し顔検出ユニット21による顔検出処理を行って、写真画像データ中に含まれている人物の顔を検出し、顔の数、各顔の位置及び大きさを特定する(ステップS101)。顔検出処理は、既存の顔検出技術を含む任意の顔検出技術を用いて行うことができる。また、歯色の補正は、写真画像全体の大きさに対してある程度以上の大きさに写っている顔の歯色に適用しなければ実質的な効果が得られないので、顔検出ユニット21による顔検出処理では、写真画像全体の大きさに対して所定の大きさ以上に写っている顔のみ検出するように、予め設定を行っておくとよい。斯かる設定は、例えば、顔検出ユニット21の動作制御プログラムに使用する学習サンプル用顔画像データとして、写真画像全体の大きさに対して所定の大きさ以上に写っている顔画像データのみを用いることにより、写真画像データ中に含まれている人物の顔のなかから所定の大きさ以上に写っている顔のみを抽出して検出することができる。   In the image processing apparatus and the image processing method according to the embodiment of the present invention, first, face detection processing by the face detection unit 21 is performed on photographic image data to be processed, and the photographic image data is included in the photographic image data. The number of faces and the position and size of each face are specified (step S101). The face detection process can be performed using any face detection technique including an existing face detection technique. Further, since the correction of the tooth color is not applied to the tooth color of the face that is larger than a certain size with respect to the size of the entire photographic image, a substantial effect cannot be obtained. In the face detection process, it is preferable to set in advance so as to detect only faces that are larger than a predetermined size with respect to the size of the entire photographic image. Such a setting uses, for example, only face image data that is reflected in a predetermined size or more with respect to the size of the entire photographic image as the learning sample face image data used in the operation control program of the face detection unit 21. As a result, it is possible to extract and detect only a face reflected in a predetermined size or more from the faces of persons included in the photographic image data.

顔検出処理の結果、人物の顔が検出されたか否かを識別し(ステップS102)、人物の顔が検出されなかった場合は、本発明の実施の一形態に係る画像処理装置及び画像処理方法による画像処理を実施する必要がないので、印刷データ生成ユニット25により、写真画像データのデータ形式を変換して、プリンタユニット50で処理可能な印刷画像データを生成する(ステップS115)。   As a result of the face detection process, it is determined whether or not a person's face has been detected (step S102), and if no person's face is detected, the image processing apparatus and the image processing method according to one embodiment of the present invention Therefore, the print data generation unit 25 converts the data format of the photographic image data to generate print image data that can be processed by the printer unit 50 (step S115).

一方、人物の顔が検出された場合は、本発明の実施の一形態に係る画像処理装置及び画像処理方法による画像処理の適用又は不適用を順次決定するため、適用又は不適用が未決定の残りの顔があるか否かを識別し(ステップS106)、適用又は不適用が未決定の残りの顔がある場合には、そのうちの一つを選択して(ステップS107)、選択した顔領域中に包含される器官、即ち、ここでは歯を器官検出ユニット22により検出する(ステップS108)。   On the other hand, when a person's face is detected, application or non-application is not determined yet in order to sequentially determine application or non-application of image processing by the image processing apparatus and the image processing method according to the embodiment of the present invention. Whether or not there is a remaining face is identified (step S106). If there is a remaining face that has not yet been applied or not applied, one of them is selected (step S107), and the selected face area is selected. The organs contained therein, that is, here, the teeth are detected by the organ detection unit 22 (step S108).

上記ステップS107では、例えば、ユーザインタフェース40の液晶ディスプレイ41を使用して、図3(a)、図3(b)、図3(c)に示すように、写真画像中の選択した顔に枠状カーソルを重ねて表示し、現在選択している顔がどの顔であるかをユーザに対して示すようにしてもよい。   In step S107, for example, the liquid crystal display 41 of the user interface 40 is used to frame a selected face in the photographic image as shown in FIGS. 3 (a), 3 (b), and 3 (c). A cursor may be displayed in an overlapping manner to indicate to the user which face is currently selected.

上記ステップS108における器官検出ユニット22による歯の検出は、既存の器官検出技術を含む任意の器官検出技術を用いて行うことができる。例えば、前述の特許文献1の段落0072乃至0075に記載された器官検出技術を用いて、歯の検出を行うことができる。   The detection of teeth by the organ detection unit 22 in step S108 can be performed using any organ detection technique including existing organ detection techniques. For example, teeth can be detected using the organ detection technique described in paragraphs 0072 to 0075 of Patent Document 1 described above.

器官検出ユニット22による歯の検出処理を行った後、現在選択している顔領域中に歯が検出されたか否かを識別する(ステップS109)。   After performing the tooth detection process by the organ detection unit 22, it is identified whether or not a tooth has been detected in the currently selected face area (step S109).

歯が検出されなかった場合には、歯色の補正を行う必要がないので、ステップS106へ戻って、本発明の実施の一形態に係る画像処理装置及び画像処理方法による画像処理の適用又は不適用が未決定の残りの顔があるか否かを識別し、以後の各ステップを順次同様に行う。   If no tooth is detected, there is no need to correct the tooth color, so the process returns to step S106 to apply or not apply image processing by the image processing apparatus and image processing method according to the embodiment of the present invention. It is identified whether there are remaining faces that have not yet been applied, and the subsequent steps are sequentially performed in the same manner.

一方、歯が検出された場合には、顔色及び歯色評価ユニット24によって、現在選択中の顔の顔色及びその顔領域中の歯の歯色を評価し、顔色の評価結果に基づいて補正目標としての歯色を決定すると共に、補正目標における歯色の白さが補正前の歯色の白さよりも低減されていないか否かを、歯色の評価結果と補正目標における歯色とを比較して判断する(ステップS110)。   On the other hand, when a tooth is detected, the face color and tooth color evaluation unit 24 evaluates the face color of the currently selected face and the tooth color of the tooth in the face area, and corrects the correction target based on the evaluation result of the face color. The tooth color of the correction target is determined and whether or not the white color of the tooth color at the correction target is less than the white color of the tooth color before correction is compared with the tooth color at the correction target. (Step S110).

歯色の評価結果と補正目標における歯色とを比較した結果、補正目標における歯色の白さが補正前の歯色の白さよりも低減されていると判断された場合には、顔色及び歯色評価ユニット24は、当該補正目標に基づく歯色の補正の不適用を決定し(ステップS111)、ステップS106へ戻って、本発明の実施の一形態に係る画像処理装置及び画像処理方法による画像処理の適用又は不適用が未決定の残りの顔があるか否かを識別し、以後の各ステップを順次同様に行う。   As a result of comparing the evaluation result of the tooth color with the tooth color in the correction target, if it is determined that the white color of the tooth color in the correction target is less than the white color of the tooth color before correction, the facial color and the tooth The color evaluation unit 24 determines the non-application of the tooth color correction based on the correction target (step S111), returns to step S106, and the image by the image processing apparatus and the image processing method according to the embodiment of the present invention. It is determined whether there is a remaining face for which application or non-application of the process has not been determined, and the subsequent steps are sequentially performed in the same manner.

本発明の実施の一形態に係る画像処理装置及び画像処理方法においては、顔色の評価結果に基づいて補正目標としての歯色を決定しているため、対象画像データにおける被写体人物の顔色が地肌の色若しくは日焼け、特徴的な化粧、又は、撮影時の光の加減(陰、逆光)等に起因して彩度の高い顔色又は明度の低い顔色であった場合、補正目標における歯色の白さが補正前の歯色の白さよりも低減される場合があり得る。それにも拘わらず、当該補正を適用してしまうと、補正後の歯色の白さが補正前の歯色の白さよりも低減されてしまい、従って、補正後の歯色の白さが実際の被写体人物の歯色の白さよりも低減されて見える結果となり、好ましくない。   In the image processing apparatus and the image processing method according to the embodiment of the present invention, since the tooth color as the correction target is determined based on the evaluation result of the face color, the face color of the subject person in the target image data is the background color. If the face color has high saturation or low brightness due to color or tanning, characteristic makeup, or light intensity (shadow, backlight) during shooting, etc., the whiteness of the tooth color at the correction target May be reduced from the whiteness of the tooth color before correction. Nevertheless, if the correction is applied, the white color of the tooth color after correction is reduced more than the white color of the tooth color before correction. The result is that the white color of the tooth color of the subject person appears to be unfavorable.

そこで、本発明の実施の一形態に係る画像処理装置及び画像処理方法においては、歯色の評価結果と補正目標における歯色とを比較した結果、補正目標における歯色の白さが補正前の歯色の白さよりも低減されていると判断された場合には、当該補正目標に基づく歯色の補正の不適用を決定し、元の歯色を維持することとしている。   Therefore, in the image processing apparatus and the image processing method according to the embodiment of the present invention, as a result of comparing the evaluation result of the tooth color with the tooth color in the correction target, the whiteness of the tooth color in the correction target is not corrected. When it is determined that the whiteness of the tooth color is reduced, the non-application of the tooth color correction based on the correction target is determined and the original tooth color is maintained.

他方、歯色の評価結果と補正目標における歯色とを比較した結果、補正目標における歯色の白さが補正前の歯色の白さよりも低減されていないと判断された場合には、顔色及び歯色評価ユニット24は、当該補正目標に基づく歯色の補正の適用を決定する(ステップS111)。   On the other hand, as a result of comparing the evaluation result of the tooth color with the tooth color in the correction target, if it is determined that the white of the tooth color in the correction target is not reduced than the whiteness of the tooth color before correction, the facial color The tooth color evaluation unit 24 determines the application of the tooth color correction based on the correction target (step S111).

顔色及び歯色評価ユニット24による以上の顔色及び歯色の評価並びに補正の適用又は不適用の決定の過程については、さらに詳細に後述する。   The process of evaluating the face color and the tooth color and determining whether to apply or not apply the correction by the face color and tooth color evaluation unit 24 will be described in detail later.

顔色及び歯色評価ユニット24によって補正の適用が決定されると、画像データ補正ユニット24は、当該補正目標に基づいて歯色を変更する画像データ補正を行って補正画像データを生成する(ステップS112)。即ち、当該補正目標に基づいて歯色を、補正前の歯色よりも白く補正する画像データ補正を行って補正画像データを生成する。   When the application of correction is determined by the face color and tooth color evaluation unit 24, the image data correction unit 24 performs image data correction for changing the tooth color based on the correction target to generate corrected image data (step S112). ). That is, corrected image data is generated by performing image data correction that corrects the tooth color to be whiter than the tooth color before correction based on the correction target.

その後、ステップS106へ戻って、本発明の実施の一形態に係る画像処理装置及び画像処理方法による画像処理の適用又は不適用が未決定の残りの顔があるか否かを識別し、適用又は不適用が未決定の残りの顔がある場合には、以後の各ステップを順次同様に行う。   Thereafter, the process returns to step S106 to identify whether there is a remaining face for which application or non-application of image processing by the image processing apparatus and image processing method according to an embodiment of the present invention has not yet been determined. If there is a remaining face that has not yet been determined to be unapplied, the subsequent steps are sequentially performed in the same manner.

一方、適用又は不適用が未決定の残りの顔がない場合には、画像データ補正ユニット24から出力された写真画像データのデータ形式を印刷データ生成ユニット25により変換して、プリンタユニット50で処理可能な印刷画像データを生成する(ステップS115)。ここで行う印刷画像データへのデータ形式の変換は、例えば、RGBデータからCMYKデータへの色データ変換やハーフトーニング処理等の既知のデータ変換処理であり、本発明の本質的構成とは関係がないので、詳細な説明は省略する。   On the other hand, if there is no remaining face for which application or non-application has not been determined, the data format of the photographic image data output from the image data correction unit 24 is converted by the print data generation unit 25 and processed by the printer unit 50. Possible print image data is generated (step S115). The conversion of the data format into the print image data performed here is a known data conversion process such as color data conversion from RGB data to CMYK data and halftoning process, and is related to the essential configuration of the present invention. Since there is no detailed explanation, it is omitted.

尚、画像データ補正ユニット24から出力される写真画像データは、検出された人物の顔のうちの一つでも歯色の補正が行われている場合には、補正画像データであり、検出された人物の顔の総てについて補正の不適用が決定された場合又は人物の顔が検出されなかった場合には、元のままの写真画像データである。   Note that the photographic image data output from the image data correction unit 24 is corrected image data when any one of the detected human faces has been corrected for tooth color. When it is determined that the correction is not applied to all the faces of the person or when the face of the person is not detected, the photographic image data remains unchanged.

ここで、本発明の実施の一形態に係る画像処理方法における顔色及び歯色評価ステップ(過程)のさらに詳細な手順、即ち、本発明の実施の一形態に係る画像処理装置に備えられた顔色及び歯色評価ユニット24のさらに詳細な動作の内容について説明する。   Here, a more detailed procedure of the facial color and tooth color evaluation step (process) in the image processing method according to the embodiment of the present invention, that is, the facial color provided in the image processing apparatus according to the embodiment of the present invention. The details of the operation of the tooth color evaluation unit 24 will be described.

図4は、本発明の実施の一形態に係る画像処理方法における顔色及び歯色評価ステップ(過程)のさらに詳細な手順、即ち、本発明の実施の一形態に係る画像処理装置に備えられた顔色及び歯色評価ユニットのさらに詳細な動作を示すフローチャートである。   FIG. 4 is a detailed procedure of the face color and tooth color evaluation step (process) in the image processing method according to the embodiment of the present invention, that is, provided in the image processing apparatus according to the embodiment of the present invention. It is a flowchart which shows the further detailed operation | movement of a face color and a tooth color evaluation unit.

図4に示すフローチャートの各ステップは、図2に示すフローチャートのステップS110及びステップS111の内容をさらに詳細に示したものである。従って、図4に示すフローチャートの開始の時点で、既に、写真画像データ中に含まれている人物の顔及びその顔領域中の歯が検出されており、かつ、顔色及び歯色の評価対称としていずれかの顔が選択されていることが前提となっている。   Each step of the flowchart shown in FIG. 4 shows details of steps S110 and S111 of the flowchart shown in FIG. Therefore, at the time of the start of the flowchart shown in FIG. 4, the face of the person included in the photographic image data and the teeth in the face area have already been detected and the evaluation symmetry of the face color and the tooth color is It is assumed that one of the faces has been selected.

本発明の実施の一形態に係る画像処理装置及び画像処理方法においては、先ず、現在選択されている顔の顔色を評価すべく、その顔色の彩度Sf及び明度Lfをその顔領域の画像データから取得する(ステップS201)。   In the image processing apparatus and the image processing method according to the embodiment of the present invention, first, in order to evaluate the face color of the currently selected face, the saturation Sf and lightness Lf of the face color are used as the image data of the face area. (Step S201).

また、現在選択されている顔領域中に包含される歯の歯色を評価すべく、その歯色の彩度St及び明度Ltをその歯部分の画像データから取得する(ステップS202)。   Further, in order to evaluate the tooth color of the tooth included in the currently selected face area, the saturation St and lightness Lt of the tooth color are acquired from the image data of the tooth part (step S202).

そして、顔色の評価結果、即ち、顔色の彩度Sf及び明度Lfに基づいて補正目標としての歯色を決定すべく、顔色の彩度Sf及び明度Lfを所定の関数に適用し、最適な歯色であると考えられる補正目標としての歯色の彩度St’及び明度Lt’を算出する(ステップS203)。   Then, in order to determine the tooth color as the correction target based on the evaluation result of the face color, that is, the saturation Sf and the brightness Lf of the face color, the saturation Sf and the brightness Lf of the face color are applied to a predetermined function, and the optimum tooth Saturation St ′ and lightness Lt ′ of the tooth color as a correction target considered to be a color are calculated (step S203).

補正目標としての歯色の彩度St’及び明度Lt’を算出するための所定の関数としては、少なくとも顔色の彩度Sf及び明度Lfに基づいて、白いと感じられる歯色の彩度St’及び明度Lt’を算出する関数であれば、任意の関数を用いることができる。   The predetermined function for calculating the saturation St ′ and the brightness Lt ′ of the tooth color as the correction target is a saturation St ′ of the tooth color that is felt white based on at least the saturation Sf and the brightness Lf of the facial color. As long as the function calculates the brightness Lt ′, any function can be used.

即ち、顔色の彩度Sf及び明度Lfとの対比において白いと感じられる歯色の彩度St’及び明度Lt’を、少なくとも顔色の彩度Sf及び明度Lfに基づいて算出する関数を予め用意して設定しておく。   That is, a function is prepared in advance to calculate the tooth color saturation St ′ and lightness Lt ′ that are felt white in contrast with the face color saturation Sf and lightness Lf based on at least the face color saturation Sf and lightness Lf. To set.

補正目標としての歯色の彩度St’及び明度Lt’を算出した後、St<St’かつLt>Lt’の関係が成立するか否かを判断する(ステップS204)。即ち、補正目標としての歯色の彩度St’が元の歯色の彩度Stより高く、かつ、補正目標としての歯色の明度Lt’が元の歯色の明度Ltより低いという関係が成立するか否かを判断する。   After calculating the saturation St ′ and lightness Lt ′ of the tooth color as the correction target, it is determined whether or not the relationship of St <St ′ and Lt> Lt ′ is established (step S204). That is, the relationship that the saturation St ′ of the tooth color as the correction target is higher than the saturation St of the original tooth color, and the lightness Lt ′ of the tooth color as the correction target is lower than the lightness Lt of the original tooth color. It is determined whether or not it is established.

補正目標としての歯色の彩度St’が元の歯色の彩度Stより高く、かつ、補正目標としての歯色の明度Lt’が元の歯色の明度Ltより低いという関係が成立するのは、補正目標としての歯色の白さが元の歯色の白さよりも低減される場合である。   The relationship that the saturation St ′ of the tooth color as the correction target is higher than the saturation St of the original tooth color, and the lightness Lt ′ of the tooth color as the correction target is lower than the lightness Lt of the original tooth color. This is a case where the white of the tooth color as the correction target is reduced more than the whiteness of the original tooth color.

従って、St<St’かつLt>Lt’の関係が成立する場合は、補正目標としての歯色の彩度St’及び明度Lt’に基づく歯色の補正の不適用を決定して元の歯色を維持することとし(ステップS205)、図2のフローチャートのステップS106へ戻る。   Therefore, when the relationship of St <St ′ and Lt> Lt ′ is established, the non-application of the tooth color correction based on the tooth color saturation St ′ and the lightness Lt ′ as the correction target is determined and the original tooth The color is maintained (step S205), and the process returns to step S106 in the flowchart of FIG.

一方、St<St’かつLt>Lt’の関係が成立しない場合は、補正目標としての歯色の彩度St’及び明度Lt’に基づく歯色の補正の適用を決定し(ステップS205)、図2のフローチャートのステップS112へ進む。   On the other hand, if the relationship of St <St ′ and Lt> Lt ′ is not established, the application of tooth color correction based on the tooth color saturation St ′ and lightness Lt ′ as a correction target is determined (step S205). It progresses to step S112 of the flowchart of FIG.

以上が、本発明の実施の一形態に係る画像処理装置及び画像処理方法における顔色及び歯色評価のさらに詳細な動作及び手順の内容である。   The above is the details of the operation and procedure of the face color and tooth color evaluation in the image processing apparatus and the image processing method according to the embodiment of the present invention.

本発明の実施の一形態に係る画像処理装置及び画像処理方法は、以上のように、顔色の評価結果に基づいて補正目標としての歯色を決定すると共に、補正目標における歯色の白さが補正前の歯色の白さよりも低減されていないか否かを、歯色の評価結果と補正目標における歯色とを比較し判断して当該補正目標に基づく歯色の補正の適用又は不適用を決定しているので、写真画像中の被写体人物の歯色を、顔色との対比における最適な歯色に補正することができる。即ち、写真画像中の被写体人物の歯色に関し、顔色とのバランスという観点からも好印象を与え得る写真表示結果又は印刷結果を得られる補正画像データを生成することができる。   As described above, the image processing apparatus and the image processing method according to the embodiment of the present invention determine the tooth color as the correction target based on the evaluation result of the face color and the whiteness of the tooth color in the correction target. Applying or not applying tooth color correction based on the correction target by comparing the evaluation result of the tooth color with the tooth color in the correction target to determine whether the whiteness of the tooth color before correction is not reduced. Therefore, the tooth color of the subject person in the photographic image can be corrected to the optimum tooth color in comparison with the face color. That is, it is possible to generate corrected image data that can obtain a photographic display result or a print result that can give a good impression regarding the tooth color of the subject person in the photographic image from the viewpoint of the balance with the face color.

尚、上述の本発明の実施の一形態に係る画像処理装置及び画像処理方法においては、処理対象となる写真画像データに基づいて印刷画像データが生成されて最終的に印刷が行われるものとして、本発明の実施の一形態に係る画像処理装置20が印刷データ生成ユニット25を備え且つプリンタ複合機1の一部を構成する装置として具現化された例について説明した。   In the image processing apparatus and the image processing method according to the embodiment of the present invention described above, print image data is generated based on photographic image data to be processed and finally printed. The example in which the image processing apparatus 20 according to the embodiment of the present invention is embodied as an apparatus including the print data generation unit 25 and constituting a part of the printer multifunction device 1 has been described.

しかし、印刷を行わない場合、即ち、歯色の補正を行って生成された補正画像データに基づいて表示装置に補正写真画像を表示させるだけで足りる場合は、印刷データ生成ユニット25及び印刷データ生成ステップ(過程)は、本発明の実施の一形態に係る画像処理装置及び画像処理方法の構成として必要な構成ではない。   However, when printing is not performed, that is, when it is sufficient to display the corrected photographic image on the display device based on the corrected image data generated by correcting the tooth color, the print data generation unit 25 and the print data generation The step (process) is not a necessary configuration as a configuration of the image processing apparatus and the image processing method according to the embodiment of the present invention.

尚、前述の本発明の実施の一形態に係る画像処理装置及び上記本発明の他の実施の形態に係る画像処理装置が備える各構成の機能は、ソフトウェア即ちコンピュータプログラムによりコンピュータにおいて実現されるようにしてもよい。斯かる機能を実現するコンピュータプログラムは、コンピュータによる読み出しが可能な記録媒体に記録された形態で提供される。コンピュータは、直接又は間接に記録媒体から読み出した当該コンピュータプログラムを演算処理装置によって実行することにより、上記各構成の機能を実現することができる。   The functions of the components included in the image processing apparatus according to the embodiment of the present invention described above and the image processing apparatus according to the other embodiment of the present invention described above are realized in a computer by software, that is, a computer program. It may be. A computer program that realizes such a function is provided in a form recorded on a recording medium that can be read by a computer. The computer can realize the functions of the above-described components by executing the computer program read from the recording medium directly or indirectly by the arithmetic processing unit.

本発明の実施の一形態に係る画像処理装置を含むプリンタ複合機の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a printer multifunction peripheral including an image processing apparatus according to an embodiment of the present invention. 本発明の実施の一形態に係る画像処理装置及び画像処理方法の動作及び手順を示すフローチャートである。It is a flowchart which shows the operation | movement and procedure of the image processing apparatus and image processing method which concern on one Embodiment of this invention. 検出された写真画像データ中の顔を順次選択して表示する様子を模式的に示す説明図である。It is explanatory drawing which shows typically a mode that the face in the detected photographic image data is selected and displayed sequentially. 本発明の実施の一形態に係る画像処理装置及び画像処理方法における顔色及び歯色評価のさらに詳細な動作及び手順を示すフローチャートである。It is a flowchart which shows the further detailed operation | movement and procedure of face color and tooth color evaluation in the image processing apparatus and image processing method which concern on one Embodiment of this invention.

符号の説明Explanation of symbols

1 プリンタ複合機
10 データ入力装置
11 メモリカードリーダ
12 スキャナユニット
13 外部インタフェースユニット
20 画像処理装置
21 顔検出ユニット
22 器官検出ユニット
23 顔色及び歯色評価ユニット
24 画像データ補正ユニット
25 印刷データ生成ユニット
30 メモリ
40 ユーザインタフェース
41 液晶ディスプレイ(LCD)
42 スイッチ又はボタン
43 タッチパネル
50 プリンタユニット
DESCRIPTION OF SYMBOLS 1 Printer multifunction device 10 Data input device 11 Memory card reader 12 Scanner unit 13 External interface unit 20 Image processing device 21 Face detection unit 22 Organ detection unit 23 Facial color and tooth color evaluation unit 24 Image data correction unit 25 Print data generation unit 30 Memory 40 User Interface 41 Liquid Crystal Display (LCD)
42 Switch or button 43 Touch panel 50 Printer unit

Claims (8)

画像データ中に含まれている人物の顔を検出する顔検出ユニットと、
検出された顔領域中に包含される歯を含む器官を検出する器官検出ユニットと、
検出された顔及び歯の顔色及び歯色を評価し、その評価結果に基づいて補正目標としての歯色を決定すると共に前記補正目標に基づく歯色の補正の適用又は不適用を決定する顔色及び歯色評価ユニットと、
前記補正の適用が決定された場合に、前記補正目標に基づく歯色の補正を行って補正画像データを生成する画像データ補正ユニットと、
を備えていることを特徴とする画像処理装置。
A face detection unit for detecting a human face included in the image data;
An organ detection unit for detecting an organ including a tooth included in the detected face region;
A facial color that evaluates the facial color and tooth color of the detected face and teeth, determines a tooth color as a correction target based on the evaluation result, and determines whether to apply or not apply the correction of the tooth color based on the correction target; Tooth color evaluation unit,
An image data correction unit that corrects a tooth color based on the correction target and generates corrected image data when application of the correction is determined;
An image processing apparatus comprising:
前記顔色及び歯色評価ユニットは、検出された顔の顔色の評価結果に基づいて補正目標としての歯色を決定すると共に、検出された歯の歯色の評価結果に基づいて、前記補正目標に基づく歯色の補正の適用又は不適用を決定するものであることを特徴とする請求項1に記載の画像処理装置。   The face color and tooth color evaluation unit determines a tooth color as a correction target based on the evaluation result of the face color of the detected face, and determines the correction target based on the evaluation result of the tooth color of the detected tooth. The image processing apparatus according to claim 1, wherein application or non-application of correction based on tooth color is determined. 前記顔色及び歯色評価ユニットは、検出された顔の顔色の評価結果に基づいて補正目標としての歯色を決定すると共に、前記補正目標における歯色の白さが、検出された歯の歯色の白さよりも低減されていないか否かを判断し、前記補正目標に基づく歯色の補正の適用又は不適用を決定するものであることを特徴とする請求項1又は2に記載の画像処理装置。   The face color and tooth color evaluation unit determines a tooth color as a correction target based on the evaluation result of the detected face color, and the white color of the tooth color in the correction target is the tooth color of the detected tooth 3. The image processing according to claim 1, wherein it is determined whether the whiteness of the tooth is not reduced or not, and whether to apply or not apply the tooth color correction based on the correction target is determined. apparatus. 前記顔色及び歯色評価ユニットは、検出された顔の顔色の彩度Sf及び明度Lfに基づいて補正目標としての歯色の彩度St’及び明度Lt’を算出すると共に、検出された歯の歯色の彩度St及び明度Ltと前記補正目標としての歯色の彩度St’及び明度Lt’とを比較して、前記補正目標に基づく歯色の補正の適用又は不適用を決定するものであることを特徴とする請求項1乃至3のいずれかに記載の画像処理装置。   The face color and tooth color evaluation unit calculates the saturation St ′ and the brightness Lt ′ of the tooth color as the correction target based on the saturation Sf and the brightness Lf of the detected face color, and the detected tooth color Comparison of tooth color saturation St and lightness Lt with tooth color saturation St ′ and lightness Lt ′ as the correction target to determine whether to apply or not apply tooth color correction based on the correction target The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus. 前記顔色及び歯色評価ユニットは、検出された歯の歯色の彩度St及び明度Ltと前記補正目標としての歯色の彩度St’及び明度Lt’とに関し、St<St’かつLt>Lt’の関係が成立するか否かを判断し、前記関係が成立する場合には、前記補正目標に基づく歯色の補正の不適用を決定し、前記関係が成立しない場合には、前記補正目標に基づく歯色の補正の適用を決定するものであることを特徴とする請求項4に記載の画像処理装置。   The facial color and tooth color evaluation unit relates to the detected tooth color saturation St and lightness Lt and the tooth color saturation St ′ and lightness Lt ′ as the correction target, St <St ′ and Lt>. It is determined whether or not the relationship of Lt ′ is established, and when the relationship is established, it is determined that tooth color correction based on the correction target is not applied, and when the relationship is not established, the correction is performed. The image processing apparatus according to claim 4, wherein application of tooth color correction based on a target is determined. 前記画像データ補正ユニットから出力された画像データのデータ形式を変換して、プリンタで処理可能な印刷画像データを生成する印刷データ生成ユニットをさらに備えていることを特徴とする請求項1乃至5のいずれかに記載の画像処理装置。   6. The print data generation unit according to claim 1, further comprising a print data generation unit that converts the data format of the image data output from the image data correction unit to generate print image data that can be processed by a printer. The image processing apparatus according to any one of the above. 画像データ中に含まれている人物の顔を検出する顔検出過程と、
検出された顔領域中に包含される歯を含む器官を検出する器官検出過程と、
検出された顔及び歯の顔色及び歯色を評価し、その評価結果に基づいて補正目標としての歯色を決定すると共に前記補正目標に基づく歯色の補正の適用又は不適用を決定する顔色及び歯色評価過程と、
前記補正の適用が決定された場合に、前記補正目標に基づく歯色の補正を行って補正画像データを生成する画像データ補正過程と、
を含むことを特徴とする画像処理方法。
A face detection process for detecting a human face included in the image data;
An organ detection process for detecting an organ including a tooth included in the detected face region;
A facial color that evaluates the facial color and tooth color of the detected face and teeth, determines a tooth color as a correction target based on the evaluation result, and determines whether to apply or not apply the correction of the tooth color based on the correction target; Tooth color evaluation process,
When the application of the correction is determined, an image data correction process for generating corrected image data by correcting the tooth color based on the correction target;
An image processing method comprising:
画像データ中に含まれている人物の顔を検出する顔検出機能と、
検出された顔領域中に包含される歯を含む器官を検出する器官検出機能と、
検出された顔及び歯の顔色及び歯色を評価し、その評価結果に基づいて補正目標としての歯色を決定すると共に前記補正目標に基づく歯色の補正の適用又は不適用を決定する顔色及び歯色評価機能と、
前記補正の適用が決定された場合に、前記補正目標に基づく歯色の補正を行って補正画像データを生成する画像データ補正機能と、
をコンピュータに実現させるためのコンピュータプログラム。
A face detection function for detecting a human face included in the image data;
An organ detection function for detecting an organ including a tooth included in the detected face region;
A facial color that evaluates the facial color and tooth color of the detected face and teeth, determines a tooth color as a correction target based on the evaluation result, and determines whether to apply or not apply the correction of the tooth color based on the correction target; Tooth color evaluation function,
An image data correction function for generating correction image data by correcting the tooth color based on the correction target when application of the correction is determined;
A computer program for realizing a computer.
JP2008126034A 2008-05-13 2008-05-13 Image processing device and image processing method Pending JP2009278255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008126034A JP2009278255A (en) 2008-05-13 2008-05-13 Image processing device and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008126034A JP2009278255A (en) 2008-05-13 2008-05-13 Image processing device and image processing method

Publications (1)

Publication Number Publication Date
JP2009278255A true JP2009278255A (en) 2009-11-26

Family

ID=41443291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008126034A Pending JP2009278255A (en) 2008-05-13 2008-05-13 Image processing device and image processing method

Country Status (1)

Country Link
JP (1) JP2009278255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014021782A (en) * 2012-07-19 2014-02-03 Canon Inc Image processor, control method thereof and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014021782A (en) * 2012-07-19 2014-02-03 Canon Inc Image processor, control method thereof and program

Similar Documents

Publication Publication Date Title
US8624922B2 (en) Image composition apparatus, and storage medium with program stored therein
WO2017090454A1 (en) Information processing device, information processing method, and program
US20090231628A1 (en) Image Processing Apparatus, Image Processing Method, Computer Program for Image Processing
JP2004274720A (en) Data conversion apparatus and data conversion program
JP2000261650A (en) Image processing unit
JP2017220078A (en) Image processing device, image processing method and program
JP4739256B2 (en) Image processing apparatus and method, and program
KR20150051085A (en) Method for obtaining high dynamic range image,Computer readable storage medium of recording the method and a digital photographing apparatus.
JP2006262000A (en) Image processing apparatus and its processing method
CN107018277B (en) Image processing apparatus that reads an image of an original when light is emitted to the original
JP5141259B2 (en) projector
KR20180138530A (en) Detection apparatus, image processing apparatus, detection method, and image processing method
JP2009231879A (en) Image processing unit and image processing method
JP2006350769A (en) Image processing device, method and program
JP2009223524A (en) Image processor, image processing method, and computer program for image processing
JP2008140107A (en) Image processor, image processing method, control program, and recording medium
JP2009253324A (en) Image processing unit, image processing method, and program
JP2009278255A (en) Image processing device and image processing method
JP2006114006A (en) Gradation conversion apparatus, program, electronic camera, and method therefor
JP2006121416A (en) Method and apparatus of processing image, program and printer
JP7277156B2 (en) IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND PROGRAM
JP2011128676A (en) Image processing apparatus, image processing method, and image processing program
JP2008252227A (en) Image processor, imaging apparatus, and image processing program
JP2001061071A (en) Image correction device and image correction method
JP2016206379A (en) Image processing device and image processing method