JP2010022068A - Electron camera device, color control method, and program - Google Patents
Electron camera device, color control method, and program Download PDFInfo
- Publication number
- JP2010022068A JP2010022068A JP2009247211A JP2009247211A JP2010022068A JP 2010022068 A JP2010022068 A JP 2010022068A JP 2009247211 A JP2009247211 A JP 2009247211A JP 2009247211 A JP2009247211 A JP 2009247211A JP 2010022068 A JP2010022068 A JP 2010022068A
- Authority
- JP
- Japan
- Prior art keywords
- color
- skin
- subject image
- adjustment information
- adjusting
- 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.)
- Granted
Links
Images
Landscapes
- Image Processing (AREA)
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Studio Devices (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明は、電子カメラ装置、及び色調整方法に関するものである。 The present invention relates to an electronic camera device and a color adjustment method.
従来、CCD等の撮像素子を用いて被写体を撮像する際、人物の肌色をより綺麗に表現するための方法としては、例えば被写体の肌色部分が露出超過とならない露出制御を行うことにより、肌色部分の退色を防止し、結果的に肌色をより自然な色に再現するといった方法が公知である(特許文献1参照)。なお、係る方法では、映像信号の輝度信号レベルに応じた露出制御を行っているとき、映像信号に肌色の着色部分のある期間についは、肌色の色飽和度を検出し、かつそれを輝度信号レベルに混合することにより露出を抑え、肌色部分の退色を防止している。 Conventionally, when a subject is imaged using an imaging device such as a CCD, as a method for expressing the skin color of a person more clearly, for example, by performing exposure control so that the skin color portion of the subject is not overexposed, the skin color portion Is known, and as a result, the skin color is reproduced in a more natural color (see Patent Document 1). In this method, when exposure control is performed according to the luminance signal level of the video signal, the skin color saturation is detected and the luminance signal is detected for a period in which the video signal has a flesh-colored portion. Mixing with the level suppresses exposure and prevents fading of skin-colored parts.
しかしながら、上記方法においては、予め決められている肌色についてはそれを綺麗に表現することはできるが、人物の肌の色は一義的に決めることはできない。そのため被写体の肌の色によっては、それを適切な色に表現することができないという問題があった。 However, in the above method, the predetermined skin color can be clearly expressed, but the skin color of the person cannot be uniquely determined. Therefore, there is a problem that depending on the skin color of the subject, it cannot be expressed in an appropriate color.
本発明は、かかる従来の課題に鑑みてなされたものであり、人物撮影に際して、被写体によって異なる多様な肌の色を適切な色に表現することができる電子カメラ装置、及び色調整方法を提供することを目的とする。 The present invention has been made in view of such conventional problems, and provides an electronic camera device and a color adjustment method capable of expressing various skin colors that are different depending on a subject into appropriate colors when photographing a person. For the purpose.
前記課題を解決するため請求項1の発明にあっては、撮像手段により被写体画像を撮像する撮像装置において、複数種の肌の色の色見本、及び各色見本に対応する色調整情報を記憶する記憶手段と、表示手段と、前記記憶手段に記憶されている複数種の肌の色の色見本を前記表示手段に表示させて、使用者にいずれかの肌の色を選択させる制御手段と、この制御手段により使用者に選択させた肌の色に対応して前記記憶手段に記憶されている色調整情報に基づき、前記撮像手段により撮像された被写体画像の色を調整する色調整手段とを備えたものとした。 In order to solve the above-mentioned problem, in the invention of claim 1, in the imaging device for imaging a subject image by the imaging means, a color sample of a plurality of types of skin colors and color adjustment information corresponding to each color sample are stored. Storage means, display means, control means for causing the display means to display color samples of a plurality of types of skin colors stored in the storage means, and for allowing the user to select one of the skin colors; Color adjusting means for adjusting the color of the subject image captured by the imaging means based on the color adjustment information stored in the storage means corresponding to the skin color selected by the user by the control means; It was provided.
かかる構成においては、被写体画像の色が、使用者によって選択させた肌の色に対応した色調整情報に基づき調整されるため、異なる被写体の肌の色に適した色調整を行うことができる。 In such a configuration, since the color of the subject image is adjusted based on the color adjustment information corresponding to the skin color selected by the user, color adjustment suitable for the skin color of a different subject can be performed.
また、請求項2の発明にあっては、前記制御手段が表示手段に表示させる色見本は、肌の色の異なる人物の顔を示す色見本画像であるものとした。
In the invention of
かかる構成においては、使用者が、肌の色として、より被写体の肌の色に近い色を容易に選択することができる。 In such a configuration, the user can easily select a color closer to the skin color of the subject as the skin color.
また、請求項3の発明にあっては、前記色調整情報は所定の色成分の彩度の調整情報を含み、前記色調整手段は、前記色調整情報に基づき所定の色成分の彩度を調整することにより被写体画像の色を調整するものとした。 According to a third aspect of the present invention, the color adjustment information includes saturation adjustment information of a predetermined color component, and the color adjustment unit calculates the saturation of the predetermined color component based on the color adjustment information. The color of the subject image is adjusted by adjusting.
また、請求項4の発明にあっては、前記色調整情報は、色相の調整情報を含み、前記色調整手段は、前記色調整情報に基づき色相を調整することにより被写体画像の色を調整するものとした。 According to a fourth aspect of the present invention, the color adjustment information includes hue adjustment information, and the color adjustment unit adjusts the color of the subject image by adjusting the hue based on the color adjustment information. It was supposed to be.
また、請求項5の発明にあっては、前記色調整情報は、明度の調整情報を含み、前記色調整手段は、前記色調整情報に基づき明度を調整することにより被写体画像の色を調整するものとした。 According to a fifth aspect of the invention, the color adjustment information includes brightness adjustment information, and the color adjustment unit adjusts the color of the subject image by adjusting the brightness based on the color adjustment information. It was supposed to be.
また、請求項6の発明にあっては、電子カメラ装置における撮像手段により撮像した被写体画像の色調整方法であって、事前に用意してある複数種の肌の色の色見本を表示手段に表示させて、使用者にいずれかの肌の色を選択させる工程と、撮像した被写体画像の色を、使用者によって予め選択された肌の色に対応する調整内容で調整する工程とを含む方法とした。 According to a sixth aspect of the present invention, there is provided a method for adjusting the color of a subject image picked up by an image pickup means in an electronic camera device, wherein a plurality of skin color color samples prepared in advance are used as display means. Causing the user to select one of the skin colors, and adjusting the color of the captured subject image with adjustment contents corresponding to the skin color preselected by the user It was.
かかる方法によれば、被写体画像の色が、使用者によって選択させた肌の色に対応した色調整情報に基づき調整されることにより、異なる被写体の肌の色に適した色調整を行うことができる。 According to this method, the color of the subject image is adjusted based on the color adjustment information corresponding to the skin color selected by the user, so that color adjustment suitable for the skin color of a different subject can be performed. it can.
また、請求項7の発明にあっては、撮像手段により被写体画像を撮像する電子カメラ装置が有するコンピュータに、事前に用意してある複数種の肌の色の色見本を表示手段に表示させて、使用者にいずれかの肌の色を選択させる処理と、撮像した被写体画像の色を、使用者によって予め選択された肌の色に対応する調整内容で調整する処理とを実行させるためのプログラムとした。
Further, in the invention of
また、請求項8の発明にあっては、撮像手段により被写体画像を撮像する電子カメラ装置において、前記被写体画像をスルー画像として表示する表示手段と、複数種の肌の色に対応する色調整情報を記憶する記憶手段と、所定の撮影モードで前記撮像手段により撮像された被写体画像の肌の色の種類を特定する特定手段と、この特定手段により特定された種類の肌の色に対応して前記記憶手段に記憶されている色調整情報に基づき、前記撮像手段により撮像された被写体画像の色を調整する色調整手段とを備えたものとした。
In the invention according to
かかる構成において、所定の撮影モードでの撮影時には、スルー画像に表示された被写体画像における肌の色の種類が自動的に特定され、被写体画像の色が、自動的に特定された種類の肌の色に対応した色調整情報に基づき調整されることにより、異なる被写体の肌の色に適した色調整を行うことができる。 In such a configuration, when shooting in a predetermined shooting mode, the type of skin color in the subject image displayed in the through image is automatically specified, and the color of the subject image is automatically determined for the type of skin specified. By adjusting based on the color adjustment information corresponding to the color, color adjustment suitable for the skin color of different subjects can be performed.
また、請求項9の発明にあっては、さらに、前記所定の撮影モードで前記スルー画像に重ねて肌の色を検出する範囲を示すための構図枠前記表示手段に表示させる表示制御手段を備えたものとした。
Further, the invention of
かかる構成においては、被写体画像における肌の色の種類が、被写体画像における、スルー画像に表示された構図枠の表示部分から自動的に特定される。 In this configuration, the skin color type in the subject image is automatically specified from the display portion of the composition frame displayed in the through image in the subject image.
また、請求項10の発明にあっては、前記色調整情報は所定の色成分の彩度の調整情報を含み、前記色調整手段は、前記色調整情報に基づき所定の色成分の彩度を調整することにより被写体画像の色を調整するものとした。 According to a tenth aspect of the present invention, the color adjustment information includes saturation adjustment information of a predetermined color component, and the color adjustment means calculates the saturation of the predetermined color component based on the color adjustment information. The color of the subject image is adjusted by adjusting.
また、請求項11の発明にあっては、前記色調整情報は、色相の調整情報を含み、前記色調整手段は、前記色調整情報に基づき色相を調整することにより被写体画像の色を調整するものとした。
In the invention of
また、請求項12の発明にあっては、前記色調整情報は、明度の調整情報を含み、前記色調整手段は、前記色調整情報に基づき明度を調整することにより被写体画像の色を調整するものとした。
In the invention of
また、請求項13の発明にあっては、電子カメラ装置における撮像手段により撮像した被写体画像の色調整方法であって、所定の撮影モードで前記撮像手段により撮像された被写体画像の肌の色の種類を特定する工程と、特定した種類の肌の色に対応する調整内容で前記被写体画像の色を調整する工程とを含む方法とした。 According to a thirteenth aspect of the present invention, there is provided a method for adjusting the color of a subject image captured by an imaging unit in an electronic camera device, the skin color of the subject image captured by the imaging unit in a predetermined shooting mode. The method includes a step of specifying the type and a step of adjusting the color of the subject image with the adjustment content corresponding to the specified type of skin color.
かかる方法によれば、所定の撮影モードでの撮影時には、スルー画像に表示された被写体画像における肌の色の種類が自動的に特定され、被写体画像の色が、自動的に特定された種類の肌の色に対応した色調整情報に基づき調整されることにより、異なる被写体の肌の色に適した色調整を行うことができる。 According to this method, when shooting in a predetermined shooting mode, the type of skin color in the subject image displayed in the through image is automatically specified, and the color of the subject image is automatically specified. By adjusting based on the color adjustment information corresponding to the skin color, color adjustment suitable for the skin color of different subjects can be performed.
また、請求項14の発明にあっては、撮像手段により被写体画像を撮像する電子カメラ装置が有するコンピュータに、所定の撮影モードで前記撮像手段により撮像された被写体画像の肌の色の種類を特定する処理と、特定した種類の肌の色に対応する調整内容で前記被写体画像の色を調整する処理とを実行させるためのプログラムとした。 According to the fourteenth aspect of the present invention, the type of the skin color of the subject image captured by the imaging unit in a predetermined shooting mode is specified in a computer included in the electronic camera device that captures the subject image by the imaging unit. And a process for adjusting the color of the subject image with the adjustment content corresponding to the specified type of skin color.
以上のように本発明においては、被写体画像の色が、使用者によって選択させた肌の色に対応した色調整情報に基づき調整されることにより、異なる被写体の肌の色に適した色調整を行うことができるようにした。よって、人物撮影に際して、被写体によって異なる多様な肌の色を適切な色に表現することが可能となる。また、使用者が、肌の色として、より被写体の肌の色に近い色を容易に選択することができるようにしたことから、使い勝手を向上させることができる。 As described above, in the present invention, the color of the subject image is adjusted based on the color adjustment information corresponding to the skin color selected by the user, so that the color adjustment suitable for the skin color of a different subject is performed. To be able to do. Therefore, when photographing a person, various skin colors that differ depending on the subject can be expressed as appropriate colors. In addition, since the user can easily select a skin color that is closer to the skin color of the subject, the usability can be improved.
また、所定の撮影モードでの撮影時には、スルー画像に表示された被写体画像の色が、自動的に特定された種類の肌の色に対応した色調整情報に基づき調整されることにより、異なる被写体の肌の色に適した色調整を行うことができるようにした。よって、撮影時には、所定の撮影モードの設定により、煩雑な操作を必要とすることなく、被写体によって異なる多様な肌の色を適切な色に表現することが可能となる。さらに、被写体画像における肌の色の種類が、被写体画像における、スルー画像に表示された構図枠の表示部分から自動的に特定されるようにしたことから、肌の色の種類の特定を正確に行うことができる。その結果、被写体によって異なる多様な肌の色をより一層適切な色に表現することが可能となる。 In addition, when shooting in a predetermined shooting mode, the subject image color displayed in the through image is automatically adjusted based on color adjustment information corresponding to the specified skin color, so that different subjects Color adjustment suitable for the color of the skin can be performed. Therefore, at the time of shooting, it is possible to express various skin colors that are different depending on the subject into appropriate colors without requiring a complicated operation by setting a predetermined shooting mode. Furthermore, since the skin color type in the subject image is automatically specified from the display portion of the composition frame displayed in the through image in the subject image, the skin color type can be specified accurately. It can be carried out. As a result, various skin colors that differ depending on the subject can be expressed in a more appropriate color.
以下、本発明の一実施の形態を図にしたがって説明する。
(実施形態1)
図1は、第1及び第2の実施の形態に共通した本発明に係るデジタルカメラ1の電気的構成の概略を示すブロック図である。デジタルカメラ1は、撮像手段であるCCD2とCPU3を有している。CCD2は、図示しない撮影レンズ、フォーカスレンズ及びズームレンズを含む光学系を介して結像された被写体の光学像を光電変換し、被写体の光学像に応じたアナログの撮像信号を出力する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
(Embodiment 1)
FIG. 1 is a block diagram showing an outline of an electrical configuration of a digital camera 1 according to the present invention common to the first and second embodiments. The digital camera 1 has a
CPU3はデジタルカメラ1の各部を制御するとともに、JPEG方式による画像データの圧縮・伸張を含むデジタルの画像信号処理を行うワンチップマイコンである。CPU3には、CCD2の駆動信号を生成するTG(Timing Generator)4が接続されており、TG4の発生した駆動信号は、CCD2から出力される撮像信号が入力するユニット回路5にも送られる。ユニット回路5は、相関二重サンプリングによりCCD2の出力信号等のノイズを除去するCDS回路、ノイズが除去された撮像信号を増幅するゲイン調整用アンプ(AGC)、増幅後の撮像信号をデジタル信号に変換するA/D変換器(AD)から構成されており、CCD2の出力信号はユニット回路5でデジタル信号に変換されCPU3に送られる。
The
また、CPU3には、レンズ駆動部6、液晶モニタ7、キー入力部8、が接続されるとともに、アドレス・データバス9を介してDRAM10、内蔵フラッシュメモリ11、カード・インターフェイス12が接続されており、カード・インターフェイス12には、図示しないカメラ本体に設けられている図示しないカードスロットに着脱自在に装着されたメモリ・カード13が接続されている。
The
レンズ駆動部6は、前記フォーカスレンズ及びズームレンズのそれぞれを光軸方向に駆動するためのステッピングモータ、及びそれらをCPU3から送られる制御信号に応じて駆動するモータドライバから構成される。
The
液晶モニタ7はカラーLCDとその駆動回路とを含み、撮影待機モードではCCD2によって撮像された被写体画像をスルー画像として表示し、再生モードでは、メモリ・カード13から読み出され伸張された記録画像を表示する。また、液晶モニタ7は、必要に応じモード選択や各種設定を行うための、後述する色見本選択画面301(図5参照)を含む種々の操作画面を表示することにより本発明の表示手段として機能する。
The liquid crystal monitor 7 includes a color LCD and its drive circuit. In the photographing standby mode, the subject image captured by the
キー入力部8は、図示しないが記録(REC)モードと再生(PLAY)モードとを切り替えるモード切替キー、シャッターキー、ズームキー、各種の設定に際して設定内容の選択や変更を使用する方向キー及びセットキーからなる複合キー等、複数の操作キーを含み、使用者によるキー操作に応じたキー入力信号をCPU3に出力する。
Although not shown, the
DRAM10は、撮影待機状態においてCCD2により撮像されデジタル化された被写体の画像データを一時記憶するバッファであるとともに、CPU3のワーキングメモリとして使用される。DRAM10に一時記憶された画像データは圧縮され、最終的にはメモリ・カード13に記録される。
The
内蔵フラッシュメモリ11には、図2に示したように、CPU3にデジタルカメラ1の各部を制御させるための制御プログラム101と、CPU3に前述した画像データの圧縮・伸張や、色調整処理を含む各種の画像信号処理を行わせるための画像処理プログラム102、及びCPU3が上記プログラムに基づく動作に際して使用する各種データ103が記憶されている。そして、CPU3は、上記の各プログラムに従い動作することにより本発明の制御手段、表示制御手段、特定手段、色調整手段として機能する。
As shown in FIG. 2, the built-in
上記各種データ103には、AE(自動露出)、及びAF(オートフォーカス)、AWB(オートホワイトバランス)等の制御に使用される各種データと、予め用意されている複数の撮影シーンに応じた撮影モードでの撮影時に設定すべき撮影条件(シャッター速度、絞り値、フォーカスエリア等)の設定パラメータ等からなる撮影条件データとが含まれており、特に本実施の形態においては、撮影に対して後述する画像の色調整処理に使用される色調整データと、複数種の肌の色の色見本として使用される複数の色見本画像のデータとが含まれている。つまり内蔵フラッシュメモリ11が本発明の記憶手段である。
The
内蔵フラッシュメモリ11に記憶されている色調整データは、彩度に関する補正値を示す本発明の色調整情報である。図3は、色調整データ201の内容を示す模式図である。図示したように彩度用調整データ201は、異なる種類の肌の色201aと、各々の肌の色に対応する赤成分の増加率201bおよび黄成分の増加率201cとから構成されている。本実施の形態で用意されている肌の色201aは、国内での人物撮影に際して顔等の色である頻度が高い、白1,2、赤1,2,3の5色、すなわち白により近い肌色から徐々に赤みが強くなる肌色と、褐色1,2の2色、すなわち日焼け等によって黒みが強い肌色、および黒みが著しく強い肌色との計7種類である。
The color adjustment data stored in the built-in
また、赤成分および黄成分の増加率201b,201cは、撮影により得られる画像に対し、後述する肌色強調によって上記7種類の肌の色をより美しく(より自然に)表現するために用いる赤成分および黄成分の補正値である。逆に言えば、例えば「白1」は、赤成分を+50%、黄成分を+10%補正すれば、より美しく(より自然に)表現できる色となっている。一方、前述した色見本画像は、上記7種類の肌の色をユーザーに示すための色見本であって、上記肌の色にそれぞれが対応する、肌の色の異なる人物の顔を示す画像、すなわち顔の色が異なる7種類の顔写真の画像301a〜301g(図5参照)である。
The red component and the yellow
次に、以上の構成からなる第1の実施の形態における本発明に係る動作について説明する。図4は、記録(REC)モードにおいて、ユーザーが撮影シーンとして人物撮影用のシーンを選択することにより、それと対応する撮影モード、すなわち人物撮影モードを設定したときのCPU3の処理手順を示すフローチャートである。
Next, the operation according to the present invention in the first embodiment having the above configuration will be described. FIG. 4 is a flowchart showing the processing procedure of the
CPU3は、人物撮影モードが設定されると、まず内蔵フラッシュメモリ11から色見本画像301a〜301gのデータを読み出し、それらの画像を図5に示したように色見本選択画面301として液晶モニタ7に表示して、ユーザーに所望の肌の色を選択させる(ステップSA1)。ここでユーザーは、肌の色(顔の色)が、これから撮影する人物の例えば顔の色に最も近いと思われる色見本画像を所定のキー操作によって選択することとなる。
When the person photographing mode is set, the
そして、ユーザーによっていずれかの色見本画像が選択されたら(ステップSA2でYES)、選択された色見本画像すなわち肌の色に対応する赤成分および黄成分の彩度の増加率201b,201cをメモリ(DRAM10の作業領域等)に記憶することにより、それを前述した撮影条件の設定パラメータの1つである色強調用パラメータとして設定する(ステップSA3)。しかる後、一定周期でのCCD2による画像取り込み(撮像)を行い、取り込んだ画像に画素間引きを行うとともに、間引き後の画像をスルー画像として液晶モニタ7に表示し(ステップSA4,SA5)、それを繰り返す。
When one of the color sample images is selected by the user (YES in step SA2), the selected color sample image, that is, the
やがて、その間にユーザーによってシャッターキーが押されたら(ステップSA6でYES)、記録する画像の撮像処理を行うとともに(ステップSA7)、撮像した画像に対してステップSA3で設定した色強調用パラメータに基づく肌色強調を行う。つまり撮像した画像における赤成分および黄成分の彩度を、ユーザーによって選択された肌の色に対応する割合で増減する処理を行う(ステップSA8)。これにより肌の色がより美しく(より自然に)表現された画像が得られることとなる。しかる後、肌色強調後の画像を圧縮してメモリ・カード13に記録し(ステップSA9)、これにより1回の撮影処理を完了する。 Eventually, if the user presses the shutter key (YES in step SA6), the image to be recorded is captured (step SA7), and the captured image is based on the color enhancement parameters set in step SA3. Perform skin tone enhancement. That is, processing is performed to increase or decrease the saturation of the red component and the yellow component in the captured image at a rate corresponding to the skin color selected by the user (step SA8). As a result, an image in which the skin color is expressed more beautifully (more naturally) is obtained. Thereafter, the skin color-enhanced image is compressed and recorded on the memory card 13 (step SA9), thereby completing one photographing process.
以上のように本実施の形態においては、人物撮影モードによる撮影に際しては、撮影に先立ち、これから撮影する人物の例えば顔の色に最も近いと思われる肌の色をユーザーに予め選択させ、それに対応した異なる内容の肌色強調を行うことから、被写体によって肌の色が個々に異なったとしても、その色を適切な色に表現することができる。つまり人物撮影に際して、多様な肌の色を適切な色に表現することができる。しかも、肌の色の選択に対しては、色見本として色見本画像(顔写真)301a〜301gを表示させるため、ユーザーは、より被写体の肌の色に近い色を容易に選択することができ、使い勝手もよい。 As described above, in the present embodiment, when shooting in the person shooting mode, prior to shooting, for example, the user selects a skin color that seems to be closest to the face color of the person to be shot in advance. Since the skin color enhancement of the different contents is performed, even if the skin color is different depending on the subject, the color can be expressed as an appropriate color. That is, when photographing a person, various skin colors can be expressed in appropriate colors. Moreover, since the color sample images (face photographs) 301a to 301g are displayed as color samples for the selection of the skin color, the user can easily select a color closer to the skin color of the subject. It is also easy to use.
なお、本実施の形態においては、前述した色調整データ201が彩度に関する補正値を示すデータであって、彩度のみの補正により撮影した画像の色調整を行うようにしたが、彩度以外の色の3要素である色相や明度に関する補正値を示すデータを色調整データ201として記憶しておき、色相や明度の補正により撮影した画像の色調整を行ったり、彩度と色相、彩度と明度、色相と明度、彩度と色相と明度といった複数の要素についての補正を同時に実施することによって、撮影した画像の色調整を行うようにしてもよい。その場合においても本実施の形態と同様の効果を得ることができる。但し、複数の要素を補正する場合の各々の補正値には、単独での補正を行う場合の補正値とは異なる設定値とする必要がある。
In the present embodiment, the
また、本実施の形態においては、予め記憶(登録)されている肌の色が7種類である場合を示したが、その数は必要に応じて変更可能である。また、前述した色見本画像301a〜301gには、色調整データ201(図3)と対応する所定の肌の色を示すことができれば任意の画像でよく、例えば顔部分の肌の色が、それぞれ上記7種類の色に加工されている同一人物の顔写真や、女優等の有名人の顔写真を用いるようにしてもよい。 Moreover, in this Embodiment, although the case where there were seven types of skin colors stored (registered) in advance was shown, the number can be changed as necessary. Further, the color sample images 301a to 301g described above may be arbitrary images as long as they can indicate a predetermined skin color corresponding to the color adjustment data 201 (FIG. 3). You may make it use the same person's face photograph processed into the above-mentioned seven kinds of colors, or a famous person's face photograph such as an actress.
また、ユーザーが所定のキー操作を行うことにより、上述した人物撮影モードによる撮影によって記録した画像(トリミング等の編集後の画像を含む)を新たに色見本画像として、又は既存の色見本画像と置き換えるように、前述した色調整データ201と対応させて登録(記録)する登録モードを別途設けるようにすれば、使い勝手を向上させることができる。
In addition, when the user performs a predetermined key operation, an image (including an image after editing such as trimming) recorded by shooting in the above-described person shooting mode is newly used as a color sample image or an existing color sample image. If a registration mode for registering (recording) corresponding to the
さらには、上述した人物撮影モード以外の撮影モードによる撮影によって記録した画像、または記録前のスルー画像として表示している画像から、被写体である人物の肌の色を登録する登録モードを設けてもよい。その場合には、上記画像において色見本画像として登録する領域をユーザーに指定される一方、例えば予め多数の肌の色に対応する色調整データを用意しておき、上記画像内でユーザーに指定された部分の色に最も近い色調整データに対応付けて、指定された領域部分の画像を内蔵フラッシュメモリ11等に記憶させればよい。なお、画像における顔認識機能を有した構成であれば、上記画像から顔認識した領域から色見本画像と色調整データとを自動的に取得させるようにしてもよい。
Furthermore, a registration mode for registering the skin color of a person who is a subject from an image recorded by shooting in a shooting mode other than the above-described person shooting mode or an image displayed as a through image before recording may be provided. Good. In that case, an area to be registered as a color sample image in the image is designated by the user, while color adjustment data corresponding to a number of skin colors is prepared in advance and designated by the user in the image. The image of the specified area portion may be stored in the built-in
また、本実施の形態においては、本発明をデジタルカメラに採用した場合について説明したが、これ以外にも本発明はカメラ付き携帯電話機等の他の電子カメラにも採用することができる。特に、カメラ付き携帯電話機に採用する場合には、それが電話帳データとして顔の画像データを記録することができるものであれば、その顔の画像データに対応させて、個人の肌の色に関する色調整データを記録させておき、それを撮影時に利用するようにしてもよい。 In the present embodiment, the case where the present invention is applied to a digital camera has been described. However, the present invention can also be applied to other electronic cameras such as a camera-equipped mobile phone. In particular, when it is adopted for a camera-equipped mobile phone, if it can record face image data as telephone directory data, it corresponds to the face image data and relates to the skin color of the individual. Color adjustment data may be recorded and used when shooting.
(実施形態2)
次に、本発明の第2の実施の形態について説明する。本実施の形態は、図1に示したものと同様の構成において、次の異なる構成を備えたデジタルカメラに関するものである。
(Embodiment 2)
Next, a second embodiment of the present invention will be described. The present embodiment relates to a digital camera having the following different configuration in the same configuration as that shown in FIG.
すなわち本実施の形態では、前記キー入力部8のシャッターキーに、一般にハーフシャッターと呼ばれている撮影予告操作機能が設けられる一方、前記内蔵フラッシュメモリ11に記憶されている各種データ103(図2)には、前述した色調整データ201(図3)と、後述する人物撮影モードでの撮影時に人物の顔の配置を示すために使用される図7に示した人型の構図枠401の画像データとが含まれている。なお、各種データ103には前述した色見本画像301a〜301gのデータは存在せず、また、前述した色調整データ201を構成する肌の色201aのデータは前述した各々の色の特徴を示す所定のデータとなっている。
That is, in the present embodiment, the shutter key of the
以下、本実施の形態における本発明に係る動作について説明する。図6は、記録(REC)モードにおいて、ユーザーが撮影シーンとして人物撮影用のシーンを選択することにより、それと対応する所定の人物撮影モードを設定したときのCPU3の処理手順を示すフローチャートである。
The operation according to the present invention in this embodiment will be described below. FIG. 6 is a flowchart showing a processing procedure of the
CPU3は、人物撮影モードが設定されると、まず内蔵フラッシュメモリ11から構図枠401の画像データを読み出し、メモリ(DRAM10の作業領域等)に記憶した後(ステップSB1)、一定周期でのCCD2による画像取り込み(撮像)を行い(ステップSB2)、取り込んだ被写体画像に画素間引きを行うとともに、間引き後の画像にOSD(On Screen Display)機能により構図枠401を合成し(ステップSB3)、合成後の画像を、図7に示したようなスルー画像Sとして液晶モニタ7に表示する(ステップSB4)。なお、図7は、具体的な被写体画像を省略した画像である。そして、シャッターキーが半押しされるまでは(ステップSB5でNO)、ステップSB2〜SB4の処理を繰り返す。
When the person photographing mode is set, the
その後、シャッターキーが半押しされたら(ステップSB5でYES)、その時点で、被写体画像における図7に斜線で示した構図枠401の顔部分401aに相当する領域501を対象として肌の色を分析する(ステップSB6)。つまり肌の色の種類を特定する。なお、係る処理では、例えば上記領域501の全画素のうちから、その色情報の特徴が予め決められている範囲の肌の色に該当する画素のみを抽出し、抽出した画素の色情報から肌の色を分析(特定)する。しかる後、色調整データ201から、分析した肌の色と、その特徴が最も近い肌の色201aに対応する赤成分および黄成分の彩度の増加率201b,201cをメモリ(DRAM10の所定領域等)に記憶することにより、それを前述した撮影条件の設定パラメータの1つである色強調用パラメータとして設定する(ステップSB7)。そして、シャッターキーが全押しされるまでは(ステップSB8でNO)、ステップSB2〜SB7の処理を繰り返す。
After that, when the shutter key is half-pressed (YES in step SB5), at that time, the skin color is analyzed for the
やがて、その間にシャッターキーが全押しされたら(ステップSB8でYES)、記録する画像の撮像処理を行うとともに(ステップSB9)、撮像した画像に対してステップSB7で設定した色強調用パラメータに基づく肌色強調を行う。つまり撮像した画像における赤成分および黄成分の彩度を、人物の顔の色の違いに応じ、それに適した割合で増減する処理を行う(ステップSB10)。これにより肌の色すなわち顔の色がより美しく(より自然に)表現された画像が得られることとなる。しかる後、肌色強調後の画像を圧縮してメモリ・カード13に記録し(ステップSB11)、これにより1回の撮影処理を完了する。 Eventually, if the shutter key is fully pressed (YES in step SB8), the image to be recorded is imaged (step SB9), and the skin color based on the color enhancement parameters set in step SB7 for the captured image Emphasize. That is, processing is performed to increase or decrease the saturation of the red component and the yellow component in the captured image at a rate suitable for the color difference of the person's face (step SB10). As a result, an image in which the skin color, that is, the face color is expressed more beautifully (more naturally) is obtained. Thereafter, the skin color-enhanced image is compressed and recorded on the memory card 13 (step SB11), thereby completing one photographing process.
以上のように本実施の形態においては、人物撮影モードによる撮影時には、構図枠401の顔部分401aに相当する領域501、すなわち人物の顔の色を自動的に特定し、特定した肌の色毎に異なる内容の肌色強調を行うことから、被写体によって肌の色が個々に異なったとしても、その色を適切な色に表現することができる。つまり本実施の形態においても、人物撮影に際して、多様な肌の色を適切な色に表現することができる。また、ユーザーにあっては、自ら被写体の肌の色を選択する必要がないため、使い勝手がよい。しかも、構図枠401の顔部分401aに相当する領域501の画素のみから肌の色を特定するため、その特定精度が高く、被写体によって異なる肌の色を確実に適切な色に表現することができる。
As described above, in the present embodiment, at the time of shooting in the person shooting mode, the
なお、本実施の形態においては、シャッターキーが半押しされた時点で人物の顔の色を特定するようにしたが、それを特定するタイミングは、シャッターキーが全押しされた時点としても構わない。また、ステップSB10では、第1の実施の形態と同様に撮像した画像全体に対して肌色強調を行うようにしたが、構図枠401の顔部分401aに相当する領域501(人物の顔部分)のみに肌色強調を行うようにしてもよい。さらに、その場合、スルー画像に表示させる構図枠401を複数の人物の顔の配置を示すものとし、個々の人物の顔部分について肌の色を特定し、人物毎(顔部分毎)に、その肌の色に適した異なる内容の肌色強調を行うようにしてもよい。
In the present embodiment, the color of the person's face is specified when the shutter key is half-pressed. However, the timing for specifying the color may be the time when the shutter key is fully pressed. . In step SB10, skin color enhancement is performed on the entire captured image in the same manner as in the first embodiment. However, only the region 501 (a person's face) corresponding to the
また、人物撮影モードによる撮影時には構図枠401を表示させる場合について説明したが、例えば人物撮影モードとして、人物の顔を大きくアップで撮るためのモードが用意されている場合には、図示した構図枠401に代わる構図枠を表示させなくともよい。その場合には、被写体画像の全領域や、所定領域(例えば画面中央の所定領域)の全画素のうちから、その色情報の特徴が予め決められている範囲の肌の色に該当する画素のみを抽出し、抽出した画素の色情報から肌の色を分析して、人物の顔の色を自動的に特定するようにすればよい。
Further, the case where the
また、本実施の形態においても、彩度のみの補正により撮影した画像の色調整(肌色強調)を行うようにしたが、第1の実施の形態と同様、色相や明度の補正により撮影した画像の色調整を行ったり、彩度と色相、彩度と明度、色相と明度、彩度と色相と明度といった複数の色要素についての補正を同時に行うようにしてもよい。その場合においても本実施の形態と同様の効果を得ることができる。 Also, in this embodiment, color adjustment (skin color enhancement) of an image taken by correcting only the saturation is performed. However, as in the first embodiment, an image taken by correcting hue and brightness. Color adjustment or correction for a plurality of color elements such as saturation and hue, saturation and lightness, hue and lightness, saturation, hue and lightness may be performed simultaneously. Even in that case, the same effect as the present embodiment can be obtained.
また、本実施の形態においても、本発明をデジタルカメラに採用した場合について説明したが、これ以外にも本発明はカメラ付き携帯電話機等の他の電子カメラにも採用することができる。 In the present embodiment, the case where the present invention is applied to a digital camera has been described, but the present invention can also be applied to other electronic cameras such as a camera-equipped mobile phone.
1 デジタルカメラ
2 CCD
3 CPU
7 液晶モニタ
11 内蔵フラッシュメモリ
13 メモリ・カード
201 色調整データ
301 色見本選択画面
301a〜301g 色見本画像
401 構図枠
1
3 CPU
7
Claims (14)
複数種の肌の色の色見本、及び各色見本に対応する色調整情報を記憶する記憶手段と、
表示手段と、
前記記憶手段に記憶されている複数種の肌の色の色見本を前記表示手段に表示させて、使用者に、いずれかの肌の色を選択させる制御手段と、
この制御手段により使用者に選択させた肌の色に対応して前記記憶手段に記憶されている色調整情報に基づき、前記撮像手段により撮像された被写体画像の色を調整する色調整手段と
を備えたことを特徴とする電子カメラ装置。 In an imaging device that captures a subject image by an imaging means,
Storage means for storing color samples of multiple skin colors and color adjustment information corresponding to each color sample;
Display means;
Control means for causing the display means to display color samples of a plurality of types of skin colors stored in the storage means, and for allowing the user to select one of the skin colors;
Color adjusting means for adjusting the color of the subject image picked up by the image pickup means based on the color adjustment information stored in the storage means corresponding to the skin color selected by the user by the control means; An electronic camera device comprising:
事前に用意してある複数種の肌の色の色見本から、使用者に、いずれかの肌の色を選択させる工程と、
撮像した被写体画像の色を、使用者によって予め選択された肌の色に対応する調整内容で調整する工程と
を含むことを特徴とする色調整方法。 A method for adjusting the color of a subject image captured by an imaging means in an electronic camera device,
A step of allowing the user to select one of the skin colors from a plurality of skin color samples prepared in advance;
Adjusting the color of the captured subject image with adjustment contents corresponding to the skin color preselected by the user.
事前に用意してある複数種の肌の色の色見本から、使用者に、いずれかの肌の色を選択させる処理と、
撮像した被写体画像の色を、使用者によって予め選択された肌の色に対応する調整内容で調整する処理と
を実行させるためのプログラム。 In a computer of an electronic camera device that captures a subject image by an imaging means,
A process that allows the user to select one of the skin colors from a plurality of skin color samples prepared in advance;
A program for executing a process of adjusting the color of a captured subject image with adjustment contents corresponding to a skin color selected in advance by a user.
前記被写体画像をスルー画像として表示する表示手段と、
複数種の肌の色に対応する色調整情報を記憶する記憶手段と、
所定の撮影モードで前記撮像手段により撮像された被写体画像の肌の色の種類を特定する特定手段と、
この特定手段により特定された種類の肌の色に対応して前記記憶手段に記憶されている色調整情報に基づき、前記撮像手段により撮像された被写体画像の色を調整する色調整手段と
を備えたことを特徴とする電子カメラ装置。 In an electronic camera device that captures a subject image by an imaging means,
Display means for displaying the subject image as a through image;
Storage means for storing color adjustment information corresponding to a plurality of skin colors;
Specifying means for specifying the type of skin color of the subject image captured by the imaging means in a predetermined shooting mode;
Color adjustment means for adjusting the color of the subject image picked up by the image pickup means based on the color adjustment information stored in the storage means corresponding to the type of skin color specified by the specifying means. An electronic camera device characterized by that.
所定の撮影モードで前記撮像手段により撮像された被写体画像の肌の色の種類を特定する工程と、
特定した種類の肌の色に対応する調整内容で前記被写体画像の色を調整する工程と
を含むことを特徴とする色調整方法。 A method for adjusting the color of a subject image captured by an imaging means in an electronic camera device,
Identifying the type of skin color of the subject image captured by the imaging means in a predetermined shooting mode;
Adjusting the color of the subject image with the adjustment content corresponding to the specified type of skin color.
所定の撮影モードで前記撮像手段により撮像された被写体画像の肌の色の種類を特定する処理と、
特定した種類の肌の色に対応する調整内容で前記被写体画像の色を調整する処理と
を実行させるためのプログラム。 In a computer of an electronic camera device that captures a subject image by an imaging means,
A process of identifying the type of skin color of the subject image captured by the imaging means in a predetermined shooting mode;
A program for executing the process of adjusting the color of the subject image with the adjustment content corresponding to the specified type of skin color.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009247211A JP5077325B2 (en) | 2009-10-28 | 2009-10-28 | Electronic camera device, color adjustment method and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009247211A JP5077325B2 (en) | 2009-10-28 | 2009-10-28 | Electronic camera device, color adjustment method and program |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004199943A Division JP4475041B2 (en) | 2004-07-07 | 2004-07-07 | Electronic camera device and color adjustment method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010022068A true JP2010022068A (en) | 2010-01-28 |
| JP5077325B2 JP5077325B2 (en) | 2012-11-21 |
Family
ID=41706424
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009247211A Expired - Fee Related JP5077325B2 (en) | 2009-10-28 | 2009-10-28 | Electronic camera device, color adjustment method and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5077325B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10201306B2 (en) | 2016-08-30 | 2019-02-12 | Konica Minolta Laboratory U.S.A., Inc. | Method and system for capturing images for wound assessment with self color compensation |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11665273B2 (en) | 2020-03-03 | 2023-05-30 | Samsung Electronics Co., Ltd. | System and method for image color management |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001251530A (en) * | 1999-12-27 | 2001-09-14 | Fuji Photo Film Co Ltd | Image processing method, image processor and recording medium |
| JP2003299115A (en) * | 2002-03-29 | 2003-10-17 | Fuji Photo Film Co Ltd | Image signal processor |
-
2009
- 2009-10-28 JP JP2009247211A patent/JP5077325B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001251530A (en) * | 1999-12-27 | 2001-09-14 | Fuji Photo Film Co Ltd | Image processing method, image processor and recording medium |
| JP2003299115A (en) * | 2002-03-29 | 2003-10-17 | Fuji Photo Film Co Ltd | Image signal processor |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10201306B2 (en) | 2016-08-30 | 2019-02-12 | Konica Minolta Laboratory U.S.A., Inc. | Method and system for capturing images for wound assessment with self color compensation |
Also Published As
| Publication number | Publication date |
|---|---|
| JP5077325B2 (en) | 2012-11-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104365082B (en) | Camera device, image processing device, and recording method | |
| KR100942634B1 (en) | Image Correction Device, Image Correction Method and Computer-readable Media | |
| CN102131056A (en) | Camera and camera method | |
| KR101626004B1 (en) | Method and apparatus for selective support of the RAW format in digital imaging processor | |
| US9684988B2 (en) | Imaging device, image processing method, and recording medium | |
| JP6624889B2 (en) | Video processing apparatus, video processing method, and video processing program | |
| JP2006033241A (en) | Image pickup device and image acquiring means | |
| JP2004187124A (en) | Image pickup device | |
| CN105827947A (en) | Image processing apparatus and image processing method | |
| CN103685928B (en) | Image processing apparatus and image processing method | |
| CN107231517A (en) | Image processing method, image processing apparatus and recording medium | |
| JP2002305684A (en) | Imaging system and program | |
| JP2010041611A (en) | Digital camera and image processor, as well as image processing program | |
| JP4475041B2 (en) | Electronic camera device and color adjustment method | |
| JP5077325B2 (en) | Electronic camera device, color adjustment method and program | |
| JP2009253925A (en) | Imaging apparatus and imaging method, and imaging control program | |
| JP2009081786A (en) | Imaging apparatus, subject separation method, and program | |
| US10051200B2 (en) | Imaging apparatus and control method thereof | |
| JP2008172395A (en) | Imaging apparatus, image processing apparatus, method, and program | |
| JP2016046610A (en) | Imaging apparatus | |
| JP2006352229A (en) | Digital camera | |
| JP5083116B2 (en) | Imaging apparatus, image processing method, and program | |
| JP5289354B2 (en) | Imaging device | |
| US7965889B2 (en) | Imaging apparatus, imaging method, program and recording medium | |
| JP6074948B2 (en) | Digital camera |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091120 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091120 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120222 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120327 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120518 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120731 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120813 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150907 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5077325 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |