JP2006059162A - Tooth image correction method and device - Google Patents

Tooth image correction method and device Download PDF

Info

Publication number
JP2006059162A
JP2006059162A JP2004241021A JP2004241021A JP2006059162A JP 2006059162 A JP2006059162 A JP 2006059162A JP 2004241021 A JP2004241021 A JP 2004241021A JP 2004241021 A JP2004241021 A JP 2004241021A JP 2006059162 A JP2006059162 A JP 2006059162A
Authority
JP
Japan
Prior art keywords
tooth
correction
image
tooth pixel
mouth area
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
JP2004241021A
Other languages
Japanese (ja)
Inventor
Ikuko Yoshida
伊公子 吉田
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.)
Noritsu Koki Co Ltd
Original Assignee
Noritsu Koki Co Ltd
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 Noritsu Koki Co Ltd filed Critical Noritsu Koki Co Ltd
Priority to JP2004241021A priority Critical patent/JP2006059162A/en
Publication of JP2006059162A publication Critical patent/JP2006059162A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To make a face image give a good impression and reduce time for correction processing by automatically correcting a tooth image to make the teeth whiter. <P>SOLUTION: The invention is composed of a mouth area selection step that selects a mouth area from an image, a tooth pixel candidate detection step that detects a tooth pixel candidate from the mouth area based on a predetermined brightness condition, a certification step that certifies the tooth pixel candidate that is distributed uninterruptedly over the predetermined range or more as a tooth pixel group, and a correction step that performs correction to change the brightness of the certified tooth pixel group. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像の歯を補正する歯画像補正技術に関する。   The present invention relates to a tooth image correction technique for correcting teeth of an image.

近年、デジタルカメラや写真フィルムをデジタル化するフィルムスキャナ等の普及により、撮影画像をデジタルデータとして扱うことが多くなっている。人物や動物等を撮影すると、撮影状況によって撮影画像の画質が異なることから、画質を向上させ画像の価値を高める技術が求められている。
撮影画像を補正する技術には、例えば、赤目を補正するために、虹彩領域と他の領域との接触度合いや包含関係に基づいて赤目領域を特定し、特定された赤目領域に対して赤目補正を行う画像処理装置がある(特許文献1参照)。これは、撮影角度等によりフラッシュの光が虹彩で反射されて瞳が赤若しくは金色に写る赤目現象を補正して、撮影画像の仕上がりを自然なものとするものである。
In recent years, with the widespread use of digital cameras and film scanners that digitize photographic film, photographed images are often handled as digital data. When a person, an animal, or the like is photographed, the image quality of the photographed image differs depending on the photographing situation. Therefore, a technique for improving the image quality and increasing the value of the image is required.
Techniques for correcting captured images include, for example, identifying red-eye areas based on the degree of contact between the iris area and other areas and the inclusion relationship in order to correct red-eye, and correcting red-eye for the specified red-eye area. There is an image processing apparatus that performs (see Patent Document 1). This corrects the red-eye phenomenon in which the light of the flash is reflected by the iris and the pupil appears red or gold depending on the shooting angle or the like, thereby making the finished image natural.

特開2002−247596号公報JP 2002-247596 A

人物の顔を撮影した場合、撮影画像の仕上がりは、眼の印象だけでなく口元の印象の影響も大きい。例えば、一般的に、歯がより白く写っている撮影画像の方が顔の印象が良くなり、画像の価値が高くなる。しかしながら、特許文献1の装置は、赤目を補正するものであるが、歯を補正することはできない。このため、歯をより白くなるように補正して画像の価値を高める技術が望まれている。尚、撮影画像の歯の補正を手作業で実施すると、適切に補正ができなかったり、作業に多くの時間を必要とするといった問題があった。   When a person's face is photographed, the finished image is greatly influenced not only by the impression of the eyes but also by the impression of the mouth. For example, in general, a captured image in which teeth appear whiter has a better facial impression, and the value of the image is higher. However, although the device of Patent Document 1 corrects red eyes, it cannot correct teeth. For this reason, a technique for increasing the value of an image by correcting teeth to become whiter is desired. If the correction of the teeth of the photographed image is performed manually, there is a problem that the correction cannot be performed properly or a long time is required for the operation.

本発明は上記の問題に鑑みてなされたものであり、その目的は、画像の歯をより白く補正して顔の印象を良くし、補正処理に係る手間を軽減することができる歯画像補正技術を提供する点にある。   SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a tooth image correction technique that can improve the impression of a face by correcting teeth of an image to be whiter and reduce the labor involved in correction processing. Is to provide

この目的を達成するための本発明に係る歯画像補正方法の特徴構成は、画像から口領域を選択する口領域選択ステップと、所定の輝度条件に基づいて、前記口領域から歯画素候補を検出する歯画素候補検出ステップと、所定の範囲以上連続分布している前記歯画素候補を歯画素群として認定する認定ステップと、認定された前記歯画素群の輝度を変更する補正を行う補正ステップとから構成される点にある。   To achieve this object, the tooth image correction method according to the present invention includes a mouth region selection step for selecting a mouth region from an image, and a tooth pixel candidate is detected from the mouth region based on a predetermined luminance condition. A tooth pixel candidate detecting step, a certification step for authorizing the tooth pixel candidates that are continuously distributed over a predetermined range as a tooth pixel group, and a correction step for performing correction to change the luminance of the certified tooth pixel group; It is in the point comprised from.

即ち、上記特徴構成によれば、輝度条件に基づいて歯画素候補を検出するので、口領域の他の画素に対し比較的明るい画素で構成される歯画素候補を適切に検出することができる。また、所定の範囲以上連続分布している歯画素候補を歯画素とするので、白跳び等、疎らに分布する歯画素ではない可能性の高い歯画素候補を補正対象から除くことができる。これによって、不要な処理が実施されるのを防止して、画像処理に係る手間及び時間を省力化することができる。更に、歯画素群の輝度値を変更する補正を行うので、補正後の補正画像を自然なものとすることができる。   That is, according to the above-described feature configuration, the tooth pixel candidate is detected based on the luminance condition, and thus the tooth pixel candidate composed of relatively bright pixels with respect to other pixels in the mouth area can be appropriately detected. In addition, since tooth pixel candidates that are continuously distributed over a predetermined range are used as tooth pixels, tooth pixel candidates that are not likely to be sparsely distributed tooth pixels, such as whiteout, can be excluded from correction targets. Thus, unnecessary processing can be prevented and labor and time for image processing can be saved. Furthermore, since the correction for changing the luminance value of the tooth pixel group is performed, the corrected image after correction can be made natural.

この目的を達成するための本発明に係る歯画像補正方法の他の特徴構成は、前記歯画素候補検出ステップは、前記口領域の全画素の平均輝度値より明るいことを前記輝度条件とする点にある。
即ち、上記特徴構成によれば、口領域の平均輝度値より大きい輝度値を持つ画素を歯画素候補として検出するので、口領域全体の明るさに応じて輝度条件を変化させることができる。このため、例えば、口領域全体の明るさが低く歯画素の明るさも低い場合等、画像の画質や撮影状況等に応じて適切に歯画素候補の検出を行うことができる。
Another feature of the tooth image correction method according to the present invention for achieving this object is that the tooth pixel candidate detection step uses the brightness condition that the brightness condition is brighter than an average brightness value of all pixels in the mouth area. It is in.
That is, according to the above feature configuration, pixels having a luminance value larger than the average luminance value of the mouth area are detected as tooth pixel candidates, so that the luminance condition can be changed according to the brightness of the entire mouth area. For this reason, for example, when the brightness of the entire mouth region is low and the brightness of the tooth pixel is low, the tooth pixel candidate can be appropriately detected according to the image quality of the image, the photographing situation, and the like.

更に、他の特徴構成は、前記補正ステップは、前記歯画素群の輝度の変更に先立って、前記歯画素群の彩度を変更する補正を行う点にある。
即ち、上記特徴構成によれば、彩度の変更を行うので、画像の歯の補正をより効果的にすることができ、補正画像の仕上がりを自然なものとすることができる。
Furthermore, another characteristic configuration is that the correction step performs correction to change the saturation of the tooth pixel group prior to the change of the luminance of the tooth pixel group.
That is, according to the above characteristic configuration, since the saturation is changed, the correction of the teeth of the image can be made more effective, and the finish of the corrected image can be made natural.

また、前記補正ステップは、所定の目標輝度及び補正率に基づいて前記歯画素群の輝度を変更する補正を行うように構成してもよく、この場合には、目標輝度値に向かうように補正するので、補正画像の仕上がりを自然なものとすることができる。   Further, the correction step may be configured to perform correction for changing the luminance of the tooth pixel group based on a predetermined target luminance and a correction factor, and in this case, correction is performed so as to be directed to the target luminance value. Therefore, it is possible to make the corrected image finish natural.

更に、前記補正率は、前記目標輝度と前記歯画素群の輝度との差分に応じて決定される構成としてもよく、この場合には、補正前の歯画素群の輝度に応じて補正するので、補正画像の歯が明るすぎたり暗すぎたりすることなくその仕上がりを良好なものとすることができる。   Furthermore, the correction rate may be determined according to the difference between the target luminance and the luminance of the tooth pixel group. In this case, the correction rate is corrected according to the luminance of the tooth pixel group before correction. The finish of the corrected image can be made good without being too bright or too dark.

また、本発明は、上述した歯画像補正方法をコンピュータに実行させるプログラムやそのプログラムを記録した媒体も権利の対象とするものであり、そのような歯画像補正プログラムは、画像から口領域を選択する口領域選択機能と、所定の輝度条件に基づいて、前記口領域から歯画素候補を検出する歯画素候補検出機能と、所定の範囲以上連続分布している前記歯画素候補を歯画素群として認定する認定機能と、認定された前記歯画素群の輝度を変更する補正を行う補正機能とを備えている。当然ながら、このような歯画像補正プログラムも上述した歯画像補正方法におけるすべての作用効果を得ることができる。また、歯画像補正方法において記載した従属項に係る機能を歯画像補正プログラムに追加するのも好適である。   The present invention also covers a program for causing a computer to execute the above-described tooth image correction method and a medium on which the program is recorded. Such a tooth image correction program selects a mouth region from an image. A mouth area selection function, a tooth pixel candidate detection function for detecting tooth pixel candidates from the mouth area based on a predetermined luminance condition, and the tooth pixel candidates continuously distributed over a predetermined range as tooth pixel groups An authorization function for authorization and a correction function for performing correction to change the luminance of the authorized tooth pixel group are provided. Naturally, such a tooth image correction program can also obtain all the effects of the above-described tooth image correction method. It is also preferable to add the function according to the dependent claim described in the tooth image correction method to the tooth image correction program.

本発明では、更に、上述した歯画像補正方法を実施する歯画像補正装置も権利の対象としており、そのような歯画像補正装置は、画像から口領域を選択する口領域選択部と、所定の輝度条件に基づいて、前記口領域から歯画素候補を検出する歯画素候補検出部と、所定の範囲以上連続分布している前記歯画素候補を歯画素群として認定する認定部と、認定された前記歯画素群の輝度を変更する補正を行う補正部とを備えている。当然ながら、このような歯画像補正装置も上述した歯画像補正方法におけるすべての作用効果を得ることができる。また、歯画像補正方法において記載した従属項に係る構成を歯画像補正装置に追加するのも好適である。
本発明によるその他の特徴及び利点は、以下図面を用いた実施形態の説明により明らかになるだろう。
In the present invention, a tooth image correction apparatus that performs the above-described tooth image correction method is also subject to the right. Such a tooth image correction apparatus includes a mouth area selection unit that selects a mouth area from an image, and a predetermined area. Based on the brightness condition, a tooth pixel candidate detection unit that detects a tooth pixel candidate from the mouth area, and a recognition unit that recognizes the tooth pixel candidates that are continuously distributed over a predetermined range as a tooth pixel group, A correction unit that performs correction to change the luminance of the tooth pixel group. Naturally, such a tooth image correction apparatus can also obtain all the effects of the above-described tooth image correction method. It is also preferable to add a configuration according to the dependent claim described in the tooth image correction method to the tooth image correction device.
Other features and advantages of the present invention will become apparent from the following description of embodiments using the drawings.

以下、本発明に係る歯画像補正技術の第一実施形態を図面に基づいて説明する。
図1は、本発明に係る写真プリント装置の外観図であり、この写真プリント装置は、印画紙Pに対して露光処理と現像処理とを行う写真プリンタとしてのプリントステーション1Bと、現像済み写真フィルム2aやデジタルカメラ用メモリカード2b等の画像入力メディアから取り込んだ撮影画像を処理してプリントステーション1Bで使用されるプリントデータの生成・転送等を行う操作ステーション1Aとから構成されている。
Hereinafter, a first embodiment of a tooth image correction technique according to the present invention will be described with reference to the drawings.
FIG. 1 is an external view of a photographic printing apparatus according to the present invention. This photographic printing apparatus includes a printing station 1B as a photographic printer that performs exposure processing and development processing on photographic paper P, and a developed photographic film. 2A, an operation station 1A that processes a captured image taken from an image input medium such as a digital camera memory card 2b and generates / transfers print data used in the print station 1B.

この写真プリント装置はデジタルミニラボとも称せられるものであり、図2からよく理解できるように、プリントステーション1Bは2つの印画紙マガジン11に納めたロール状の印画紙Pを引き出してシートカッター12でプリントサイズに切断すると共に、このように切断された印画紙Pに対し、バックプリント部13で色補正情報やコマ番号などのプリント処理情報を印画紙Pの裏面に印字するとともに、プリント露光部14で印画紙Pの表面(感光面)に撮影画像の露光を行い、この露光後の印画紙Pを複数の現像処理槽を有した処理槽ユニット15に送り込んで現像処理する。乾燥の後に装置上部の横送りコンベア16からソータ17に送られた印画紙P、つまり写真プリントPは、このソータ17の複数のトレイにオーダ単位で仕分けられた状態で集積される(図1参照)。   This photo printing apparatus is also called a digital minilab. As can be understood from FIG. 2, the printing station 1B pulls out the roll-shaped printing paper P stored in the two printing paper magazines 11 and prints it with the sheet cutter 12. The back print unit 13 prints print processing information such as color correction information and frame number on the back side of the photographic paper P, and the print exposure unit 14 cuts the print paper P into the size. The photographed image is exposed on the surface (photosensitive surface) of the photographic paper P, and the exposed photographic paper P is sent to a processing tank unit 15 having a plurality of development processing tanks for development processing. After drying, the photographic paper P, that is, the photographic prints P, sent to the sorter 17 from the transverse feed conveyor 16 at the upper part of the apparatus is accumulated in a plurality of trays of the sorter 17 in a state of being sorted in order units (see FIG. 1). ).

上述した印画紙Pに対する各種処理に合わせた搬送速度で印画紙Pを搬送するために印画紙搬送機構18が敷設されている。印画紙搬送機構18は、印画紙搬送方向に関してプリント露光部14の前後に配置されたチャッカー式印画紙搬送ユニット18aを含む複数の挟持搬送ローラ対から構成されている。   A photographic paper transport mechanism 18 is laid to transport the photographic paper P at a transport speed in accordance with various processes for the photographic paper P described above. The photographic paper transport mechanism 18 is composed of a plurality of nipping and transporting roller pairs including a chucker type photographic paper transport unit 18a disposed before and after the print exposure unit 14 in the photographic paper transport direction.

プリント露光部14には、副走査方向に搬送される印画紙Pに対して、主走査方向に沿って操作ステーション1Aからのプリントデータに基づいてR(赤)、G(緑)、B(青)の3原色のレーザ光線の照射を行うライン露光ヘッドが設けられている。処理槽ユニット15は、発色現像処理液を貯留する発色現像槽15aと、漂白定着処理液を貯留する漂白定着槽15bと、安定処理液を貯留する安定槽15cを備えている。   The print exposure unit 14 applies R (red), G (green), and B (blue) to the printing paper P conveyed in the sub-scanning direction based on print data from the operation station 1A along the main scanning direction. A line exposure head for irradiating laser beams of the three primary colors (1) is provided. The processing tank unit 15 includes a color developing tank 15a for storing a color developing processing liquid, a bleach-fixing tank 15b for storing a bleach-fixing processing liquid, and a stabilizing tank 15c for storing a stable processing liquid.

操作ステーション1Aのデスク状コンソールの上部位置には、写真フィルム2aの撮影画像コマから撮影画像を2000dpiを超える解像度でもって取得することができるフィルムスキャナ20が配置されており、デジタルカメラ等に装着される撮影画像記録媒体2bとして用いられている各種半導体メモリやCD−R等から撮影画像を取得するメディアリーダ21は、この写真プリント装置のコントローラ3として機能する汎用パソコンに組み込まれている。この汎用パソコンには、更に各種情報を表示するモニタ23、各種設定や調整を行う際に用いる操作入力部として利用される操作入力デバイスとしてのキーボード24やマウス25も接続されている。   At the upper position of the desk-like console of the operation station 1A, there is disposed a film scanner 20 capable of acquiring a photographed image from a photographed image frame of the photographic film 2a with a resolution exceeding 2000 dpi, and is attached to a digital camera or the like. A media reader 21 that acquires captured images from various semiconductor memories, CD-Rs, and the like used as the captured image recording medium 2b is incorporated in a general-purpose personal computer that functions as the controller 3 of the photographic printing apparatus. The general-purpose personal computer is also connected with a monitor 23 for displaying various information, and a keyboard 24 and a mouse 25 as operation input devices used as operation input units used for various settings and adjustments.

この写真プリント装置のコントローラ3は、CPUを中核部材として、写真プリント装置の種々の動作を行うための機能部をハードウエア又はソフトウエアあるいはその両方で構築しているが、図3に示すように、本発明に特に関係する機能部としては、フィルムスキャナ20やメディアリーダ21によって読み取られた撮影画像を取り込んで次の処理のために必要な前処理を行う画像入力部31と、各種ウインドウや各種操作ボタン等を含むグラフィック操作画面の作成やそのようなグラフィック操作画面を通じてのユーザ操作入力(キーボード24やマウス25などによる)から制御コマンドを生成するグラフィックユーザインターフェース(以下GUIと略称する)を構築するGUI部33と、GUI部33から送られてきた制御コマンドや直接キーボード24等から入力された操作命令に基づいて所望のプリントデータを生成するために画像入力部31からメモリ30に転送された撮影画像に対する画像処理等を行うプリント管理部32と、色補正等のプレジャッジプリント作業時にプリントソース画像や予想仕上がりプリント画像としてのシミュレート画像さらにはGUI部33から送られてきたグラフィックデータをモニタ23に表示させるためのビデオ信号を生成するビデオ制御部35と、画像処理が完了した処理済み撮影画像に基づいてプリントステーション1Bに装備されているプリント露光部14に適したプリントデータを生成するプリントデータ生成部36と、顧客の要望に応じて生の撮影画像や画像処理が完了した処理済み撮影画像等をCD−Rに書き込むための形式にフォーマットするフォーマッタ部37等が挙げられる。   The controller 3 of this photographic printing apparatus has a functional unit for performing various operations of the photographic printing apparatus using hardware and / or software, with the CPU as a core member, as shown in FIG. The function unit particularly related to the present invention includes an image input unit 31 that takes a photographed image read by the film scanner 20 or the media reader 21 and performs pre-processing necessary for the next processing, various windows, and various types. Creation of a graphic operation screen including operation buttons and the like and construction of a graphic user interface (hereinafter abbreviated as GUI) for generating a control command from a user operation input (via the keyboard 24, mouse 25, etc.) through such a graphic operation screen GUI unit 33 and control frames sent from GUI unit 33 A print management unit 32 that performs image processing on the captured image transferred from the image input unit 31 to the memory 30 in order to generate desired print data based on an operation command input directly from the keyboard 24 or the like; A video control unit 35 that generates a video signal for causing the monitor 23 to display graphic data sent from the GUI unit 33, or a simulated image as a print source image, an expected finished print image, or the like during pre-judge printing work such as correction. A print data generation unit 36 that generates print data suitable for the print exposure unit 14 installed in the print station 1B based on the processed captured image that has been subjected to image processing, and a raw capture according to the customer's request Write images and processed shots that have been processed to CD-R Etc. formatter 37 for formatting the like to form for.

画像入力部31は、撮影画像記録媒体がフィルム2aの場合プレスキャンモードと本スキャンモードとのスキャンデータを別々にメモリ30に送り込み、それぞれの目的に合わせた前処理を行う。また、撮影画像記録媒体がメモリカード2bの場合取り込んだ撮影画像にサムネイル(低解像度データ)が含まれている場合はモニタ23での一覧表示などの目的で使用するため撮影画像の本データ(高解像度データ)とは別にメモリ30に送り込むが、もしサムネイルが含まれていない場合は本データから縮小画像を作り出してサムネイルとしてメモリ30に送り込む。   When the photographic image recording medium is the film 2a, the image input unit 31 separately sends the scan data for the pre-scan mode and the main scan mode to the memory 30, and performs preprocessing according to each purpose. When the captured image recording medium is the memory card 2b, when the captured image includes thumbnails (low resolution data), the captured image main data (high data) is used for the purpose of displaying a list on the monitor 23. The thumbnail image is sent to the memory 30 separately from the resolution data. If a thumbnail is not included, a reduced image is created from this data and sent to the memory 30 as a thumbnail.

プリント管理部32は、プリントサイズやプリント枚数などを管理するプリント注文処理ユニット60、メモリ30に展開された撮影画像に対して各種画像処理を施す画像処理ユニット70、画像の歯をより白くなるように補正する歯画像補正手段80、及び、濃度補正や解像度変換などのフォトレタッチ機能を実現する手段等が含まれている。歯画像補正手段80は、プログラムとしてプリント管理部32に実装されている。   The print management unit 32 includes a print order processing unit 60 that manages the print size, the number of prints, and the like, an image processing unit 70 that performs various types of image processing on the captured image developed in the memory 30, and whitening the image teeth. A tooth image correcting means 80 for correcting the image and a means for realizing a photo retouching function such as density correction and resolution conversion. The tooth image correction means 80 is implemented in the print management unit 32 as a program.

歯画像補正手段80は、図4に示すように、口領域選択部82と、歯画素群候補検出部83と、認定部84と、補正部85とを備えている。口領域選択部82は、画像から口領域を選択する口領域選択ステップを実行する処理部であり、歯画素群候補検出部83は、所定の輝度条件に基づいて、前記口領域から歯画素候補を検出する歯画素候補検出ステップを実行する処理部であり、認定部84は、所定の範囲以上連続分布している前記歯画素候補を歯画素群として認定する認定ステップを実行する処理部であり、補正部85は、認定された前記歯画素群の輝度を変更する補正を行う補正ステップを実行する処理部である。本実施形態では、更に、画像の読み込み及びキーボード24やマウス25からの操作入力の受取りを行う入力部81と、補正画像をメモリ30に出力する出力部86を備えている。   As shown in FIG. 4, the tooth image correction unit 80 includes a mouth area selection unit 82, a tooth pixel group candidate detection unit 83, a recognition unit 84, and a correction unit 85. The mouth area selection unit 82 is a processing unit that executes a mouth area selection step of selecting a mouth area from an image, and the tooth pixel group candidate detection unit 83 determines a tooth pixel candidate from the mouth area based on a predetermined luminance condition. The recognition unit 84 is a processing unit that executes a recognition step of recognizing the tooth pixel candidates that are continuously distributed over a predetermined range as a tooth pixel group. The correction unit 85 is a processing unit that executes a correction step for performing correction to change the luminance of the certified tooth pixel group. In the present embodiment, an input unit 81 that reads an image and receives an operation input from the keyboard 24 and the mouse 25 and an output unit 86 that outputs a corrected image to the memory 30 are further provided.

次に、このように構成された歯画像補正手段80の歯画像補正処理手順を図5に基づいて説明する。先ず、フィルムスキャナ20やメディアリーダ21を通じて撮影画像、詳しくは撮影画像のデジタル画像データが取り込まれ、メモリ30に展開される。続いて、歯画像補正手段80は、モニタ23上に、画像を表示する画像表示枠と画像の口領域を表示する口領域表示枠とを備える補正操作画面を表示する。   Next, the tooth image correction processing procedure of the tooth image correcting means 80 configured as described above will be described with reference to FIG. First, a photographed image, specifically, digital image data of the photographed image is captured through the film scanner 20 and the media reader 21 and developed in the memory 30. Subsequently, the tooth image correcting unit 80 displays a correction operation screen including an image display frame for displaying an image and a mouth area display frame for displaying a mouth area of the image on the monitor 23.

入力手段は、先ず、メモリ30から歯の補正を行う画像を読み込む(#100)。この画像は、8bitカラー画像データとしてメモリ30に展開される。詳細には、キーボード24やマウス25からの操作入力により、モニタ23の補正操作画面上で歯の補正を行う画像が指定されると、指定された画像を読み込む。このとき、補正操作画面の画像表示枠に読み込んだ画像を表示する。   The input means first reads an image for tooth correction from the memory 30 (# 100). This image is developed in the memory 30 as 8-bit color image data. Specifically, when an image for tooth correction is specified on the correction operation screen of the monitor 23 by an operation input from the keyboard 24 or the mouse 25, the specified image is read. At this time, the read image is displayed in the image display frame of the correction operation screen.

口領域選択部82は、画像から歯を含む口領域を選択する(#200)。本実施形態では、キーボード24やマウス25からの操作入力により口領域を選択する。例えば、モニタ23の補正操作画面の画像表示枠上に円形の領域を設定し、これを口領域とするように構成する。円形の領域の設定は、キーボード24やマウス25により、画像表示枠に表示された画像上の所定の2点、中心及び周の一点を指定することで行う。更に、このようにして設定した口領域を画像から切り出して、補正操作画面の口領域表示枠に合わせて拡大表示する。本実施形態では、この切り出した口領域に対して補正を行う。
尚、キーボード24やマウス25による操作入力ではなく、自動的に口領域を検出する構成としても良い。この場合には、例えば、通信ネットワークを介して、ASP等の他の既知の手段を用いる構成としても良い。
The mouth area selection unit 82 selects a mouth area including teeth from the image (# 200). In the present embodiment, the mouth area is selected by an operation input from the keyboard 24 or the mouse 25. For example, a circular area is set on the image display frame of the correction operation screen of the monitor 23, and this is configured as a mouth area. The circular area is set by designating predetermined two points on the image displayed in the image display frame, the center, and one point on the periphery with the keyboard 24 and the mouse 25. Further, the mouth area set in this way is cut out from the image, and is enlarged and displayed in accordance with the mouth area display frame of the correction operation screen. In the present embodiment, correction is performed on the cut-out mouth area.
In addition, it is good also as a structure which detects a mouth area | region automatically instead of the operation input by the keyboard 24 or the mouse | mouth 25. FIG. In this case, for example, another known means such as ASP may be used via a communication network.

歯画素群候補検出部83は、所定の輝度条件に基づいて、口領域から歯画素候補を検出する(#300)。ここでは、口領域の画素のうち比較的明るい画素を歯画素候補として検出する。詳細には、口領域の全画素の平均輝度値を算出し、この平均輝度値より輝度値が大きい画素を歯画素候補とする。ここで、図6は、補正前の画像a及び補正後の補正画像bの一例を示している。この画像aの平均輝度値は130であり、輝度値が130以上の画素を歯画素候補として検出する。   The tooth pixel group candidate detection unit 83 detects a tooth pixel candidate from the mouth area based on a predetermined luminance condition (# 300). Here, a relatively bright pixel among the pixels in the mouth area is detected as a tooth pixel candidate. Specifically, the average luminance value of all the pixels in the mouth area is calculated, and pixels having a luminance value larger than the average luminance value are set as tooth pixel candidates. Here, FIG. 6 shows an example of the image a before correction and the corrected image b after correction. The average luminance value of the image a is 130, and pixels having a luminance value of 130 or more are detected as tooth pixel candidates.

認定部84は、所定の範囲以上連続分布している歯画素候補を歯画素群として認定する(#400)。詳細には、先ず、歯画素候補夫々の連続性を判断し、連続分布している歯画素候補を歯画素候補群としてまとめる。連続性の判断は、例えば、歯画素候補から注目画素を設定し、注目画素の周囲8近傍に歯画素候補がある場合に同一の歯画素候補群として判断する。そして、新たに同一の歯画素候補群と判断された歯画素候補夫々を注目画素として判断を行うことで、一つの歯画素候補群を設定する。同様にして、歯画素候補の全てについて連続性の判断を行い、歯画素候補群にまとめる。続いて、歯画素候補群夫々の口領域に対する面積比率を求め、この面積比率が一定の値より大きい歯画素候補群を歯画素群として認定する。これによって、歯画素ではない可能性の高い疎らに分布する歯画素候補を除去する。   The recognition unit 84 recognizes tooth pixel candidates continuously distributed over a predetermined range as a tooth pixel group (# 400). Specifically, first, the continuity of each tooth pixel candidate is determined, and the tooth pixel candidates that are continuously distributed are grouped as a tooth pixel candidate group. The determination of continuity is performed, for example, by setting a pixel of interest from tooth pixel candidates and when there are tooth pixel candidates in the vicinity of 8 around the pixel of interest and determining the same tooth pixel candidate group. Then, each tooth pixel candidate newly determined as the same tooth pixel candidate group is determined as a target pixel, thereby setting one tooth pixel candidate group. Similarly, continuity is determined for all tooth pixel candidates, and the tooth pixel candidate groups are collected. Subsequently, an area ratio with respect to the mouth region of each tooth pixel candidate group is obtained, and a tooth pixel candidate group having this area ratio larger than a certain value is recognized as a tooth pixel group. This removes sparsely distributed tooth pixel candidates that are not likely to be tooth pixels.

補正部85は、認定部84によって認定された歯画素群の輝度を変更する(#500)。本実施形態の補正部85は、所定の目標輝度及び補正率に基づいて歯画素群の輝度を変更する。ここでの補正率は、目標輝度と歯画素群の輝度との差分に応じて決定する。例えば、目標輝度を220、補正率を35%に設定し、補正後の歯画素の輝度を、目標輝度×補正率+歯画素の輝度×(1−補正率)として算出し、算出した値を用いて歯画素の輝度を変更する。更に、本実施形態の補正部85は、歯画素群の輝度の変更に先立って、歯画素群の彩度を変更する。ここでは、彩度を25%下げる補正を行う。最終的に、補正部85は、補正を行った口領域を画像に合成して、補正画像を作成する。   The correction unit 85 changes the luminance of the tooth pixel group certified by the certification unit 84 (# 500). The correction unit 85 of the present embodiment changes the luminance of the tooth pixel group based on a predetermined target luminance and a correction rate. The correction rate here is determined according to the difference between the target luminance and the luminance of the tooth pixel group. For example, the target brightness is set to 220 and the correction rate is set to 35%, and the corrected brightness of the tooth pixel is calculated as target brightness × correction rate + tooth pixel brightness × (1−correction rate). Use to change the brightness of the tooth pixel. Furthermore, the correction unit 85 of the present embodiment changes the saturation of the tooth pixel group prior to changing the luminance of the tooth pixel group. Here, correction is performed to lower the saturation by 25%. Finally, the correction unit 85 combines the corrected mouth area with the image to create a corrected image.

出力部86は、先ず、モニタ23において、補正前の画像に換えて、補正画像を補正操作画面の画像表示枠に表示する。そして、キーボード24やマウス25からの操作入力により補正が確定されると、補正画像をメモリ30に記憶する(#600)。更に、補正画像を写真プリント装置によりプリントする場合には、プリントデータを作成するために、補正画像をプリントデータ生成部36に対して出力する。   First, the output unit 86 displays the corrected image in the image display frame of the correction operation screen on the monitor 23 instead of the image before correction. When the correction is confirmed by an operation input from the keyboard 24 or the mouse 25, the corrected image is stored in the memory 30 (# 600). Further, when the corrected image is printed by the photo printing apparatus, the corrected image is output to the print data generating unit 36 in order to create print data.

図6に示すように、補正画像bは、補正前の画像aと比較して歯の部分が白く顔の印象が良好なものとなっており、本発明に係る歯画像補正技術を適用することで、画像の価値を高めることができる。   As shown in FIG. 6, the corrected image b has a white tooth part and a good facial impression as compared with the image a before correction, and the tooth image correction technique according to the present invention is applied. Thus, the value of the image can be increased.

本発明に係る歯画像補正技術を採用した写真プリント装置の外観図External view of photographic printing apparatus employing tooth image correction technology according to the present invention 写真プリント装置のプリントステーションの構成を示す模式図Schematic diagram showing the configuration of the print station of the photo printing device 写真プリント装置のコントローラ内に構築される機能要素を説明する機能ブロック図Functional block diagram explaining the functional elements built in the controller of the photo printing device 本発明に係る歯画像補正手段の構成を示すブロック図The block diagram which shows the structure of the tooth image correction means which concerns on this invention 本発明に係る歯画像補正技術の処理手順を示すフローチャートThe flowchart which shows the process sequence of the tooth image correction technique which concerns on this invention. 本発明に係る歯画像補正技術による補正処理の実施前及び実施後の画像の例を示す図The figure which shows the example of the image before and after implementation of the correction process by the tooth image correction technique which concerns on this invention

符号の説明Explanation of symbols

80 歯画像補正手段
82 口領域選択部
83 歯画素群候補検出部
84 認定部
85 補正部
80 Tooth image correction means 82 Mouth area selection unit 83 Tooth pixel group candidate detection unit 84 Authorization unit 85 Correction unit

Claims (7)

画像から口領域を選択する口領域選択ステップと、
所定の輝度条件に基づいて、前記口領域から歯画素候補を検出する歯画素候補検出ステップと、
所定の範囲以上連続分布している前記歯画素候補を歯画素群として認定する認定ステップと、
認定された前記歯画素群の輝度を変更する補正を行う補正ステップとから構成される歯画像補正方法。
A mouth area selection step for selecting a mouth area from an image;
A tooth pixel candidate detecting step for detecting a tooth pixel candidate from the mouth area based on a predetermined luminance condition;
A certification step of authorizing the tooth pixel candidates continuously distributed over a predetermined range as a tooth pixel group;
A tooth image correction method comprising: a correction step for performing correction for changing the luminance of the certified tooth pixel group.
前記歯画素候補検出ステップは、前記口領域の全画素の平均輝度値より明るいことを前記輝度条件とする請求項1に記載の歯画像補正方法。   The tooth image correction method according to claim 1, wherein the tooth pixel candidate detection step uses the brightness condition as being brighter than an average brightness value of all the pixels in the mouth area. 前記補正ステップは、前記歯画素群の輝度の変更に先立って、前記歯画素群の彩度を変更する補正を行う請求項1または2に記載の歯画像補正方法。   The tooth image correction method according to claim 1 or 2, wherein the correction step performs correction to change a saturation of the tooth pixel group prior to a change in luminance of the tooth pixel group. 前記補正ステップは、所定の目標輝度及び補正率に基づいて前記歯画素群の輝度を変更する補正を行う請求項1〜3のいずれか1項に記載の歯画像補正方法。   The tooth image correction method according to any one of claims 1 to 3, wherein the correction step performs correction by changing the luminance of the tooth pixel group based on a predetermined target luminance and a correction factor. 前記補正率は、前記目標輝度と前記歯画素群の輝度との差分に応じて決定される請求項3に記載の歯画像補正方法。   The tooth image correction method according to claim 3, wherein the correction rate is determined according to a difference between the target brightness and the brightness of the tooth pixel group. 画像から口領域を選択する口領域選択機能と、
所定の輝度条件に基づいて、前記口領域から歯画素候補を検出する歯画素候補検出機能と、
所定の範囲以上連続分布している前記歯画素候補を歯画素群として認定する認定機能と、
認定された前記歯画素群の輝度を変更する補正を行う補正機能とをコンピュータに実行させる歯画像補正プログラム。
Mouth area selection function to select the mouth area from the image,
Tooth pixel candidate detection function for detecting tooth pixel candidates from the mouth area based on a predetermined luminance condition;
An authorization function for authorizing the tooth pixel candidates continuously distributed over a predetermined range as a tooth pixel group;
A tooth image correction program for causing a computer to execute a correction function for performing correction for changing the luminance of the certified tooth pixel group.
画像から口領域を選択する口領域選択部と、
所定の輝度条件に基づいて、前記口領域から歯画素候補を検出する歯画素候補検出部と、
所定の範囲以上連続分布している前記歯画素候補を歯画素群として認定する認定部と、
認定された前記歯画素群の輝度を変更する補正を行う補正部とから構成される歯画像補正装置。
A mouth area selector for selecting a mouth area from an image;
A tooth pixel candidate detection unit that detects a tooth pixel candidate from the mouth region based on a predetermined luminance condition;
A recognition unit that certifies the tooth pixel candidates that are continuously distributed over a predetermined range as a tooth pixel group;
A tooth image correction apparatus including a correction unit that performs correction to change the luminance of the certified tooth pixel group.
JP2004241021A 2004-08-20 2004-08-20 Tooth image correction method and device Pending JP2006059162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004241021A JP2006059162A (en) 2004-08-20 2004-08-20 Tooth image correction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004241021A JP2006059162A (en) 2004-08-20 2004-08-20 Tooth image correction method and device

Publications (1)

Publication Number Publication Date
JP2006059162A true JP2006059162A (en) 2006-03-02

Family

ID=36106580

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004241021A Pending JP2006059162A (en) 2004-08-20 2004-08-20 Tooth image correction method and device

Country Status (1)

Country Link
JP (1) JP2006059162A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160474A (en) * 2006-12-22 2008-07-10 Canon Inc Image processor, and method thereof
JP2009231879A (en) * 2008-03-19 2009-10-08 Seiko Epson Corp Image processing unit and image processing method
KR101355454B1 (en) 2012-07-18 2014-02-12 (주)에스덴티 Computer-readable recording medium and the integrated dental bleaching apparatus using the same
JP2018156246A (en) * 2017-03-16 2018-10-04 大日本印刷株式会社 Image processing device, image processing method and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293689A (en) * 1999-04-02 2000-10-20 Secom Co Ltd Device and method for authenticating individual
JP2001186323A (en) * 1999-12-24 2001-07-06 Fuji Photo Film Co Ltd Identification photograph system and picture on processing method
JP2002197465A (en) * 2000-03-31 2002-07-12 Fujitsu Ltd Device for automatically detecting mouth shape, and device for automatically recognizing word by using the same
JP2004005660A (en) * 2002-05-31 2004-01-08 Eastman Kodak Co Method and system for enhancing portrait image
JP2004030007A (en) * 2002-06-24 2004-01-29 Digital Fashion Ltd Makeup simulation apparatus, makeup simulation method, makeup simulation program and recording medium with program recorded thereon

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293689A (en) * 1999-04-02 2000-10-20 Secom Co Ltd Device and method for authenticating individual
JP2001186323A (en) * 1999-12-24 2001-07-06 Fuji Photo Film Co Ltd Identification photograph system and picture on processing method
JP2002197465A (en) * 2000-03-31 2002-07-12 Fujitsu Ltd Device for automatically detecting mouth shape, and device for automatically recognizing word by using the same
JP2004005660A (en) * 2002-05-31 2004-01-08 Eastman Kodak Co Method and system for enhancing portrait image
JP2004030007A (en) * 2002-06-24 2004-01-29 Digital Fashion Ltd Makeup simulation apparatus, makeup simulation method, makeup simulation program and recording medium with program recorded thereon

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008160474A (en) * 2006-12-22 2008-07-10 Canon Inc Image processor, and method thereof
US8005298B2 (en) 2006-12-22 2011-08-23 Canon Kabushiki Kaisha Image processing apparatus and method thereof
JP2009231879A (en) * 2008-03-19 2009-10-08 Seiko Epson Corp Image processing unit and image processing method
KR101355454B1 (en) 2012-07-18 2014-02-12 (주)에스덴티 Computer-readable recording medium and the integrated dental bleaching apparatus using the same
JP2018156246A (en) * 2017-03-16 2018-10-04 大日本印刷株式会社 Image processing device, image processing method and program
JP7056003B2 (en) 2017-03-16 2022-04-19 大日本印刷株式会社 Image processing equipment, image processing methods and programs

Similar Documents

Publication Publication Date Title
US7298380B2 (en) Image processing method and apparatus for white eye correction
US7460707B2 (en) Image processing method and apparatus for red eye correction
JP4373828B2 (en) Specific area detection method, specific area detection apparatus, and program
JP4431949B2 (en) Red-eye correction method and apparatus for carrying out this method
JP2001148780A (en) Method for setting red-eye correction area and red-eye correction method
JP4655210B2 (en) Density correction curve generation method and density correction curve generation module
JP4441876B2 (en) Photographed image processing method, photographed image processing program, and photographed image processing apparatus
JP2005148915A (en) Proper face discrimination method and apparatus for implementing the method
JP2006059162A (en) Tooth image correction method and device
JP4441853B2 (en) Face selection method for density correction and apparatus for carrying out this method
JP4507082B2 (en) Catch light synthesis method
JP2005159387A (en) Method of determining density characteristic curve and density correction management apparatus for executing this method
JP4798446B2 (en) Photographed image correction method and photographed image correction module
JP2006072743A (en) Catch light composition method and device
JP4793648B2 (en) Image correction unit and image correction program
JP4284604B2 (en) Contrast adjustment method and contrast adjustment apparatus for implementing the method
JP2006072742A (en) Catch light composition method and device
JP2006074742A (en) Photographing scene correcting method, program, and photographing scene correction processing system implementing the method
JP2006146646A (en) Method and apparatus for processing photographic image
JPH06350914A (en) Pink-eye effect correction system
JP2008160704A (en) Density correction curve generation method and density correction curve generation module
JP2007034471A (en) Method, program and module for generating correction characteristic used for contrast correction
JP2008153756A (en) Method and module for generating density correction curve
JP2008079196A (en) Image correcting method, image correcting program and image correcting module
JP2008166963A (en) Image density correction method and image processing unit executing its method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070711

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100114

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100527