JP4293508B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4293508B2
JP4293508B2 JP2002346621A JP2002346621A JP4293508B2 JP 4293508 B2 JP4293508 B2 JP 4293508B2 JP 2002346621 A JP2002346621 A JP 2002346621A JP 2002346621 A JP2002346621 A JP 2002346621A JP 4293508 B2 JP4293508 B2 JP 4293508B2
Authority
JP
Japan
Prior art keywords
image
subject image
main subject
color
gamma correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002346621A
Other languages
Japanese (ja)
Other versions
JP2004180173A (en
Inventor
誠 次田
幸治 市川
学 兵藤
浩一 坂本
寛和 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2002346621A priority Critical patent/JP4293508B2/en
Publication of JP2004180173A publication Critical patent/JP2004180173A/en
Application granted granted Critical
Publication of JP4293508B2 publication Critical patent/JP4293508B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Description

【0001】
【技術分野】
この発明は,撮影装置およびその制御方法ならびにその撮影装置に適する主被写体像判定装置に関する。
【0002】
【発明の背景】
ディジタル・スチル・カメラ,ディジタル・ムービ・ビデオ・カメラなどの撮影装置を用いて,風景撮影,人物撮影などが行われる。人物撮影には,風景を背景にして主被写体である人物を撮影するスナップ撮影,撮影範囲全体にわたって主被写体である人物を配置して撮影するポートレート撮影などがある。ポートレート撮影は,人物の顔が中心となるから,風景撮影,スナップ撮影などと異なる処理が必要となることがある。
【0003】
このために,顔の領域を抽出してポートレート撮影かどうかを判断するものがある(たとえば,特許文献1)。一般的な肌の色かどうかにもとづいて,顔の領域を抽出している。しかしながら,誤判断を起こすことがある。
【0004】
【特許文献1】
特開平9-233423号公報
【0005】
【発明の開示】
この発明は,誤判断を未然に防止することを目的とする。
【0006】
第1の発明による撮影装置は,被写体を撮影し,被写体像を表すカラー画像データを出力する撮影手段および上記撮影手段から出力されたカラー画像データをガンマ補正特性にもとづいてガンマ補正するガンマ補正手段を備えた撮像装置において,上記撮影手段から出力されたカラー画像データによって表されるカラー被写体像から人物の顔の色をもつ主被写体像を抽出する抽出手段,上記抽出手段によって抽出された主被写体像の大きさが一定以上かどうかを判定する第1の判定手段,上記第1の判定手段によって上記主被写体像の大きさが一定以上であると判定されたことに応じて,上記主被写体像が人物の顔の画像かどうかを判定する第2の判定手段,ならびに上記第2の判定手段によって,上記主被写体像が人物の顔の画像との判定に応じて,上記撮影手段から出力されたカラー画像データを軟調化処理するように上記ガンマ補正手段のガンマ補正特性を制御する手段を備えていることを特徴とする。
【0007】
第1の発明は,上記撮影装置に適した制御方法も提供している。すなわち,この方法は,被写体を撮影し,被写体像を表すカラー画像データを得,得られたカラー画像データをガンマ補正特性にもとづいてガンマ補正する撮影装置において,得られたカラー画像データによって表されるカラー被写体像から人物の顔の画像の色をもつ主被写体像を抽出し,抽出した主被写体像の大きさが一定以上かどうかを判定し,上記主被写体像の大きさが一定以上であると判定されたことに応じて,上記主被写体像が人物の顔の画像かどうかを判定し,上記主被写体像が人物の顔の画像との判定に応じて,上記撮影により得られたカラー画像データを軟調化処理を行うものである。
【0008】
第1の発明によると,被写体が撮影され,カラー被写体像を表すカラー画像データが得られる。得られたカラー画像データによって表されるカラー被写体像のうち人物の顔の画像の色をもつ主被写体像が抽出される。抽出された主被写体像の大きさが一定以上かどうかが判定される。主被写体像の大きさが一定以上の大きさであると判定されると,主被写体像が人物の顔の画像かどうかが判定される。
【0009】
主被写体像が人物の顔の画像との判定があると,撮影により得られた画像データに軟調化処理が行われる。
【0010】
第1の発明によると,主被写体像が人物の顔の画像であると判定されると,軟調化処理が行われる。主被写体像が人物の顔の場合には,スナップ撮影により得られた画像,風景撮影により得られた画像よりも軟調に処理される。このように主被写体像が人物の顔の場合には,軟調化処理が行われるので,比較的好ましい被写体像が得られる。
【0011】
とくに,人物の顔の画像の色をもつ主被写体像のの大きさが一定以上かどうかを判定したのちに,主被写体像が人物の顔の画像かどうかを判定しているので,主被写体像が人物の顔の画像で無いにも関わらず,人物の顔の画像と誤判断してしまうことを未然に防止できる。
【0012】
上記第2の判定手段は,たとえば,上記主被写体像が一人の人物の顔の画像かどうかをさらに判定するものである。この場合,上記制御手段は,上記第2の判定手段によって,上記主被写体像が一人の人物の顔の画像との判定に応じて,上記撮像手段から出力されたカラー画像データを軟調化処理するように上記ガンマ補正手段のガンマ補正特性を制御するものとなろう。
【0013】
主被写体像が複数人の場合には,それぞれの主被写体までの距離が異なってしまうことがあるので,軟調化処理が行われない。
【0014】
上記第2の判定手段は,たとえば,上記主被写体像の輝度分布(ヒストグラム)にもとづいて,上記主被写体像が人物の顔の画像かどうかを判定するものである。
【0015】
主被写体像が人物の顔の画像の場合には,陽の当たる箇所と陰になる箇所とがある。このために,輝度分布が広くなる。これに対して,土や木の色は顔の色と似ていることがあるが,一般的には,輝度分布は狭い。このように輝度分布にもづいて主被写体像が人物の顔の画像かどうかを判定できる。
【0016】
第2の発明による撮影装置は,被写体を撮影し,被写体像を表すカラー画像データを出力する撮影手段,被写体像を表すプレ・カラー画像データを出力するように上記撮影手段を制御する第1の撮影制御手段,上記第1の撮影制御手段の制御のもとに,上記撮影手段から出力されたプレ・カラー画像データによって表される被写体像から人物の顔の画像の色をもつ主被写体像を抽出する抽出手段,上記抽出手段によって抽出された主被写体像の大きさが一定以上かどうかを判定する第1の判定手段,上記第1の判定手段によって,上記主被写体像の大きさが一定以上であると判定されたことに応じて,上記主被写体像が人物の顔の画像かどうかを判定する第2の判定手段,与えられた画像データをガンマ補正特性にもとづいてガンマ補正するガンマ補正手段,上記第2の判定手段によって,上記主被写体像の人物の顔の画像との判定に応じて,軟調化処理を行うように上記ガンマ補正手段のガンマ補正特性を調整する調整手段,被写体像を表す本画像データを出力するように,上記撮像手段を制御する第2の撮影制御手段,および上記第2の撮影制御手段の制御のもとに上記撮影手段から出力された本画像データに,設定されたガンマ補正特性にもとづいて処理を行うように上記ガンマ補正手段を制御する制御手段を備えていることを特徴とする。
【0017】
第2の発明は,上記撮影装置に適した制御方法も提供している。すなわち,この方法は,与えられた画像データをガンマ補正特性にもとづいてガンマ補正するガンマ補正手段を備えた撮影装置において,被写体をプレ撮影し,被写体像を表すプレ・カラー画像データを得,得られたプレ・カラー画像データによって表される被写体像から人物の顔の画像の色をもつ主被写体像を抽出し,抽出された主被写体像の大きさが一定以上かどうかを判定し,上記主被写体像の大きさが一定以上であると判定されたことに応じて,上記主被写体像が人物の顔の画像かどうかを判定し,上記主被写体像の人物の顔の画像との判定に応じて,軟調化処理を行うように上記ガンマ補正手段のガンマ補正特性を調整し,被写体を本撮影し,被写体像を表す本カラー画像データを得,上記本撮影により得られた本カラー画像データに,設定されたガンマ補正特性にもとづく処理を行うように上記ガンマ補正手段を制御するものである。
【0018】
第2の発明によると,プレ撮影が行われる。プレ撮影により得られたカラー画像データによって表される被写体像のうち,主被写体像の色が人物の顔の画像の色かどうかが判定される。主被写体像の色が人物の顔の画像の色と判定されると,主被写体像が人物の顔の画像かどうかが判定される。
【0019】
主被写体像が人物の顔の画像であるとの判定があると,軟調化処理が行われるようにガンマ補正特性が調整される。本撮影が行われ,得られた本画像データについて軟調化処理が行われる。
【0020】
第2の発明においても,主被写体像が人物の顔の場合には,軟調化処理が行われるので,比較的好ましい被写体像が得られる。
【0021】
第3の発明による主被写体像判定装置は,カラー被写体像のうち,人物の顔の画像の色をもつ主被写体像の大きさが一定以上かどうかを判定する第1の判定手段,および上記第1の判定手段によって上記主被写体像の大きさが一定以上であると判定されたことに応じて,上記主被写体像が人物の顔の画像かどうかを判定する第2の判定手段を備えていることを特徴とする。
【0022】
第3の発明においても上記主被写体像判定装置に適した制御方法を提供するようにしてもよい。
【0023】
第3の発明によると,人物の顔の画像の色をもつ主被写体像の大きさが一定以上かどうかを判定し,一定以上と判定された場合に,主被写体像が人物の顔の画像かどうかを判定しているので,主被写体像を人物の顔の画像と誤判定することを未然に防止できる。
【0024】
第4の発明は,被写体を撮影し,被写体像を表す画像データを出力する撮影手段,上記撮影手段から出力された画像データによって表される被写体像の主被写体像が人物像かどうかを判定する判定手段,および上記判定手段により,上記主被写体像が人物像であると判定されたことに応じて,被写体像のうち主被写体像の背景画像をぼかす処理を上記撮影手段から出力された画像データについて行う画像処理手段を備えていることを特徴とする。
【0025】
第4の発明は,上記撮影装置に適した制御方法も提供している。すなわち,この方法は,被写体を撮影し,被写体像を表す画像データを得,上記撮影により得られた画像データによって表される被写体像の主被写体像が人物像かどうかを判定し,上記主被写体像が人物像であると判定されたことに応じて,被写体像のうち主被写体像の背景画像をぼかす処理を上記撮影手段から出力された画像データについて行うものである。
【0026】
第4の発明によると,主被写体像が人物像かどうかが判定される。人物像と判定されると,被写体像のうち背景画像をぼかす処理が行われる。主被写体像である人物像が見やすくなる。
【0027】
上記撮像手段は,たとえば,カラー被写体像を表すカラー画像データを出力するものである。この場合,上記判定手段は,上記カラー被写体像のうち上記主被写体像の色を検出する色検出手段,および上記主被写体像の大きさを検出する大きさ検出手段を備えるものとなろう。そして,上記色検出手段によって検出された色と上記大きさ検出手段によって検出された大きさとから主被写体像が人物像かどうかを判定するものとなろう。
【0028】
また,上記撮影手段の露光量を制御する露光装置(シャッタ制御装置,絞り,絞り制御装置など),および上記判定手段により主被写体像が人物像であると判定されたことにより人物像でないと判定されたときに比べて被写体深度が浅くなるように上記露光装置を制御する露光装置制御手段をさらに備えるようにしてもよい。
【0029】
【実施例の説明】
図1は,この発明の実施例を示すもので,ディジタル・スチル・カメラの電気的構成を示すブロック図である。
【0030】
ディジタル・スチル・カメラの全体の動作は,CPU6によって統括される。
【0031】
この実施例によるディジタル・スチル・カメラは,CPU6においてガンマ補正特性にもとづくガンマ補正が行われる。ガンマ補正特性には,通常撮影用(ポートレート撮影以外の撮影)の第1の特性とポートレート撮影用の第2の特性とがある。第1の特性は通常のガンマ補正特性であり,第2の特性は軟調化処理が行われる特性である。軟調化処理は,画像の高輝度部分と低輝度部分との差を軟調化特性にしたがって縮めるものである。
【0032】
図2は,通常撮影用の第1の特性とポートレート撮影用の第2の特性とを示している。
【0033】
第1の特性と第2の特性とを比較すると,第1の特性よりも第2の特性の方が高輝度レベルと低輝度レベルとのレベル差が小さくなっている。第2の特性を用いた補正処理が行われると軟調化処理が施されることとなる。
【0034】
図1に戻って,電源スイッチ,シャッタ・レリーズ・ボタン等の操作スイッチ8からの出力信号は,CPU6に入力する。
【0035】
ズーム・レンズ1のズーム位置は,レンズ駆動回路11によって制御される。また,絞り2の絞り値は,絞り駆動回路12によって制御される。さらに,シャッタ3のシャッタ速度は,シャッタ駆動回路13によって制御される。これらのレンズ駆動回路11,絞り駆動回路12およびシャッタ駆動回路13は,CPU6によって制御される。
【0036】
被写体像を表す光像は,絞り2およびシャッタ3を通ってズーム・レンズ1によって撮像素子4の受光面上に結像する。撮像素子4は,撮像素子駆動回路14によって制御される。撮像素子4から被写体像を表す映像信号が出力される。
【0037】
映像信号は,信号処理回路5において,アナログ/ディジタル変換,ガンマ補正,白バランス調整,輝度データ,色差データ生成処理などの信号処理が行われる。信号処理回路5から出力される輝度データおよび色差データは,CPU6に入力する。
【0038】
CPU6において,入力した輝度データおよび色差データにもとづいて通常撮影かポートレート撮影かが判断される。この判断について詳しくは,後述する。
【0039】
通常撮影と判断されると,上述したように,入力した輝度データについて第1の特性にしたがってガンマ補正処理が行われる。ポートレート撮影と判断されると,入力した輝度データについて第2の特性にしたがって軟調化処理が行われる。
【0040】
軟調化処理が行われた輝度データおよび色差データは,データ圧縮等が行われて記録制御回路7に与えられる。記録制御回路7によって,圧縮された輝度データおよび色差データがメモリ・カード9に記録される。
【0041】
図3は,顔の画像の輝度データのレベル分布を示し,図4は,土や木の画像の輝度データのレベル分布を示している。
【0042】
鼻の先,頬などには,光がよく当たり,小鼻の横などには光はあまり当たらない。これらのことから,顔を撮影した場合に得られる顔の画像は,比較的明るい部分や比較的暗い部分があり,顔の画像の輝度レベルは低輝度から高輝度まで全体的に分布している(図3参照)。これに対して,土や木などは光が当たっている部分と陰となる部分とが両方とも含まれていることはあまりない。このために土や木を撮影したときに得られる画像の輝度レベルは低輝度から高輝度まで全体に分布していることは少ない(図4参照)。
【0043】
この実施例によるディジタル・スチル・カメラにおいては,輝度レベルの分布状況にもとづいて顔の画像か否かを判定する。
【0044】
図5は,ディジタル・スチル・カメラの処理手順を示すフローチャートである。
【0045】
次に示すように,プレ撮影と本撮影との2回の撮影が行われるが必ずしも2回の撮影を行わなくともよい。
【0046】
まず,撮像素子4によって,被写体のプレ撮影が行われる(ステップ21)。プレ撮影によりプレ色差データおよびプレ輝度データが信号処理回路5において得られ,上述したようにCPU6に入力する。入力したプレ色差データおよびプレ輝度データにもとづいて,主被写体画像と判断される領域の輝度データおよび色差データが抽出される(ステップ22)。この実施例においてはポートレート撮影と通常撮影とで階調特性を変えるものであるから,顔の画像部分を抽出することができればよい。このために,たとえば,あらかじめ一般的な顔の色と考えられる輝度データのレベルの範囲および色差データのレベルの範囲を定めておき,定められた範囲内のデータによって表される画像部分が顔の画像部分と判断することができよう。
【0047】
つづいて,抽出された主被写体像の横方向の大きさが,撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさがある主被写体像が1つかどうかが確認される(ステップ23)。主被写体像の大きさが小さい場合には,人物撮影であっても必ずしもポートレート撮影とはいえない。また,主被写体像が複数ある場合には,ポートレート撮影ではない場合が多いので,軟調の程度が大きい軟調化処理が行われてしまうと違和感の生じる画像となってしまう。これらの理由から,抽出された主被写体像の横方向の大きさが,撮影範囲の横方向の大きさの1/10未満である,または1/10以上の大きさがある主被写体像が複数ある場合には(ステップ23でNO),通常撮影用の特性が設定される(ステップ27)。
【0048】
抽出された主被写体像の横方向の大きさが,撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさがある主被写体像が1つの場合には(ステップ23でYES),抽出された主被写体像のヒストグラムが算出される(ステップ24)。上述したように,主被写体像が顔の場合には輝度データの分布が広い。これに対して,主被写体像が土や木の場合には,輝度データの分布は狭い。算出されたヒストグラムの分布が輝度レンジの40%以上であれば(第2の判定:たとえば,輝度レンジが0から255で表されるとすると100以上:ステップ25でYES),抽出された主被写体像は人間の顔の画像と判定される。ポートレート撮影用軟調特性が設定される(ステップ26)。算出されたヒストグラムの分布が40%未満であれば(ステップ25でNO),主被写体像は,人間の顔以外の画像と判断される。通常撮影用の特性が設定される(ステップ27)。
【0049】
つづいて本撮影が行われ(ステップ27),上述したようにCPU6に本輝度データおよび本色差データが入力する。入力した本気度データについて,設定された軟調特性にもとづく軟調化処理が行われる。軟調化処理が行われた本輝度データおよび色差データが圧縮されてメモリ・カード9に記録されることとなる。
【0050】
たとえば,シャッタ・レリーズ・ボタンが二段ストローク・タイプのものであれば,第一段階の押下に応じてプレ撮影が行われ,第二段階の押下に応じて本撮影が行われることとなろう。
【0051】
図6から図9は,他の実施例を示している。
【0052】
図6は,ディジタル・スチル・カメラの電気的構成を示すブロック図である。この図において,図1に示すものと同一物には,同一符号を付して説明を省略する。
【0053】
ディジタル・スチル・カメラの全体の動作は,CPU16によって統括される。
【0054】
この実施例によるディジタル・スチル・カメラは,複数のプログラム線図のうち一つのプログラム線図の設定が可能である。第1のプログラム線図は,通常撮影用のものであり,第2のプログラム線図は,ポートレート撮影用のものである。
【0055】
図7は,通常撮影用プログラム線図である。
【0056】
通常撮影の場合には,EV値が10未満のときには,絞りはF2.8(開放)(AV3)となり,露光量はシャッタ速度により制御される。EV値が10以上12未満のときには,絞りはF4となる。EV値が12以上14未満のときには,絞りはF5.6となる。EV値が14以上17未満のときには,絞りはF8とされる。
【0057】
図8は,ポートレート撮影用プログラム線図である。
【0058】
ポートレート撮影の場合には,なるべく開いた絞りが使用されるような(被写体深度が浅くなるような)プログラム線図となっている。このために,EV値が12.5未満までは絞りはF2.8とされる。EV値が12.5以上14未満のときには,絞りはF4とされる。EV値が14以上15未満のときには,絞りはF5.6とされる。EV値が15以上17未満のときには,絞りはF8とされる。主被写体の背景画像がぼけ,主被写体がはっきりとした画像が得られるようになる。また,シャッタ速度が速めになるので,手ぶれが起きにくい。
【0059】
これらのプログラム線図にもとづいて,絞り駆動回路12およひシャッタ駆動回路13が制御され,絞り2の絞り値およびシャッタ3のシャッタ速度が決定される。
【0060】
図9は,ディジタル・スチル・カメラの処理手順を示すフローチャートである。
【0061】
被写体のプレ撮影が行われ(ステップ21),上述したように被写体像を表すプレ輝度データおよびプレ色差データが信号処理回路5からCPU16に入力する。CPU16において,入力したプレ輝度データおよびプレ色差データから主被写体像を表す輝度データおよび色差データが抽出される(ステップ22)。上述したのと同様に,抽出された主被写体像の横方向の大きさが撮影範囲の横方向の1/10以上であり,かつ1つかどうかが確認される(ステップ23)。
【0062】
抽出された主被写体像の横方向の大きさが撮影範囲の横方向の1/10以上であり,かつ1つであれば(ステップ23でYES),ポートレート撮影と判断され,ポートレート用プログラム線図が設定される(ステップ31)。抽出された主被写体像の横方向の大きさが撮影範囲の横方向の1/10未満である,または主被写体像が複数あると(ステップ23でNO),通常撮影と判断され,通常撮影用のプログラム線図が設定される(ステップ32)。
【0063】
また,入力したプレ輝度データにもとづいて,露光量が算出される。算出された露光量にもとづいて,設定されたプログラム線図を用いて絞り値およびシャッタ速度が決定される。絞り2が決定された絞り値となるように,絞り駆動回路12が制御される。また,シャッタ3のシャッタ速度が決定されたシャッタ速度となるように,シャッタ3がシャッタ駆動回路13により駆動される。
【0064】
設定された絞り値およびシャッタ速度で被写体の本撮影が行われる(ステップ28)。
【図面の簡単な説明】
【図1】ディジタル・スチル・カメラの電気的構成を示すブロック図である。
【図2】軟調化特性を示している。
【図3】顔の画像のヒストグラムを示している。
【図4】土や木の像のヒストグラムを示している。
【図5】ディジタル・スチル・カメラの処理手順を示すフローチャートである。
【図6】ディジタル・スチル・カメラの電気的構成を示すブロック図である。
【図7】通常撮影のプログラム線図を示している。
【図8】ポートレート撮影のプログラム線図を示している。
【図9】ディジタル・スチル・カメラの処理手順を示すフローチャートである。
【符号の説明】
2 絞り
3 シャッタ
4 撮像素子
5 信号処理回路
6,16 CPU
12 絞り駆動回路
13 シャッタ駆動回路
14 撮像素子駆動回路
[0001]
【Technical field】
The present invention relates to a photographing apparatus, a control method thereof, and a main subject image determination apparatus suitable for the photographing apparatus.
[0002]
BACKGROUND OF THE INVENTION
Using a photographing device such as a digital still camera or a digital movie video camera, landscape photography, portrait photography, etc. are performed. The person photography includes snap photography for photographing a person as a main subject against a landscape, portrait photography for arranging a person as a main subject over the whole photographing range, and the like. Since portrait photography is centered on the face of a person, processing different from landscape photography, snap photography, etc. may be required.
[0003]
For this purpose, there is one that extracts a face region and determines whether or not portrait photography is performed (for example, Patent Document 1). The face area is extracted based on whether the skin color is normal. However, it may cause misjudgment.
[0004]
[Patent Document 1]
JP-A-9-233423 [0005]
DISCLOSURE OF THE INVENTION
An object of the present invention is to prevent misjudgment in advance.
[0006]
According to a first aspect of the present invention, there is provided a photographing device for photographing a subject and outputting color image data representing a subject image, and a gamma correcting unit for performing gamma correction on the color image data output from the photographing unit based on gamma correction characteristics. In the imaging apparatus comprising: an extraction means for extracting a main subject image having a face color of a person from a color subject image represented by color image data output from the imaging means; and a main subject extracted by the extraction means A first determination means for determining whether or not the size of the image is greater than or equal to a certain value, and the main subject image when the first determination means determines that the size of the main subject image is greater than or equal to a certain value; Determining whether or not the main subject image is an image of a person's face by second determining means for determining whether or not the image is a person's face and the second determining means In response, characterized in that it comprises means for controlling the gamma correction characteristic of said gamma correction means to process soft the color image data output from the imaging means.
[0007]
The first invention also provides a control method suitable for the photographing apparatus. That is, this method is represented by the obtained color image data in a photographing apparatus that photographs a subject, obtains color image data representing the subject image, and performs gamma correction on the obtained color image data based on gamma correction characteristics. A main subject image having the color of the face image of a person is extracted from the color subject image, and it is determined whether or not the size of the extracted main subject image is greater than a certain value. If the main subject image is an image of a person's face, it is determined whether the main subject image is a person's face image. Data is softened.
[0008]
According to the first invention, a subject is photographed, and color image data representing a color subject image is obtained. A main subject image having the color of a human face image is extracted from the color subject images represented by the obtained color image data. It is determined whether or not the size of the extracted main subject image is greater than a certain level. If it is determined that the size of the main subject image is greater than a certain size, it is determined whether the main subject image is a human face image.
[0009]
When the main subject image is determined to be a human face image, softening processing is performed on the image data obtained by shooting.
[0010]
According to the first invention, when it is determined that the main subject image is an image of a person's face, softening processing is performed. When the main subject image is a human face, the image is processed more softly than an image obtained by snap photography or an image obtained by landscape photography. In this way, when the main subject image is a human face, a softening process is performed, so that a relatively preferable subject image can be obtained.
[0011]
In particular, since it is determined whether the main subject image is a human face image after determining whether the size of the main subject image having the color of the human face image is greater than or equal to a certain size, the main subject image is determined. Although it is not an image of a person's face, it can be prevented in advance that it is erroneously determined as an image of a person's face.
[0012]
The second determination means further determines, for example, whether or not the main subject image is a face image of one person. In this case, the control means softens the color image data output from the imaging means according to the determination by the second determination means that the main subject image is a face image of a single person. Thus, the gamma correction characteristic of the gamma correction means will be controlled.
[0013]
When there are a plurality of main subject images, the softening process is not performed because the distance to each main subject may be different.
[0014]
The second determination means determines, for example, whether or not the main subject image is a human face image based on the luminance distribution (histogram) of the main subject image.
[0015]
When the main subject image is an image of a person's face, there are a positive part and a negative part. For this reason, the luminance distribution becomes wide. On the other hand, the color of soil and wood may be similar to the color of the face, but generally the luminance distribution is narrow. In this way, it is possible to determine whether the main subject image is a human face image based on the luminance distribution.
[0016]
According to a second aspect of the present invention, there is provided a photographing device for photographing a subject and outputting color image data representing a subject image, and a first control unit for controlling the photographing unit to output pre-color image data representing a subject image. Under the control of the photographing control means and the first photographing control means, a main subject image having the color of a human face image from the subject image represented by the pre-color image data output from the photographing means is obtained. Extraction means for extracting, first determination means for determining whether or not the size of the main subject image extracted by the extraction means is greater than or equal to a certain level, and the size of the main subject image is greater than or equal to a certain level by the first determination means. Second determination means for determining whether or not the main subject image is an image of a person's face in response to the determination that the main subject image is a gamma correction characteristic based on gamma correction characteristics. Adjustment means for adjusting gamma correction characteristics of the gamma correction means so as to perform softening processing according to the determination of the main subject image with the human face image by the second determination means, Second image control means for controlling the image pickup means so as to output main image data representing a subject image, and main image data output from the image pickup means under the control of the second image pickup control means And a control means for controlling the gamma correction means so as to perform processing based on the set gamma correction characteristics.
[0017]
The second invention also provides a control method suitable for the photographing apparatus. That is, this method pre-photographs a subject in a photographing apparatus having gamma correction means for performing gamma correction on the given image data based on gamma correction characteristics to obtain pre-color image data representing the subject image. A main subject image having the color of a human face image is extracted from the subject image represented by the pre-color image data obtained, and it is determined whether or not the size of the extracted main subject image is greater than a certain level. In response to determining that the size of the subject image is greater than or equal to a certain level, it is determined whether the main subject image is a human face image, and the main subject image is determined to be a human face image. Then, the gamma correction characteristic of the gamma correction means is adjusted so as to perform the softening process, the subject is actually photographed, the main color image data representing the subject image is obtained, and the main color image data obtained by the main photographing is obtained. To, and controls the gamma correction unit to perform the process based on the set gamma correction characteristic.
[0018]
According to the second invention, pre-photographing is performed. Of the subject images represented by the color image data obtained by the pre-photographing, it is determined whether the color of the main subject image is the color of the human face image. If it is determined that the color of the main subject image is the color of the person's face image, it is determined whether the main subject image is an image of the person's face.
[0019]
If it is determined that the main subject image is a human face image, the gamma correction characteristic is adjusted so that the softening process is performed. Real photographing is performed, and softening processing is performed on the obtained main image data.
[0020]
Also in the second aspect of the invention, when the main subject image is a human face, a softening process is performed, so that a relatively preferable subject image can be obtained.
[0021]
A main subject image determination apparatus according to a third aspect of the present invention is a first determination means for determining whether or not a size of a main subject image having a color of a human face image out of color subject images is greater than or equal to a certain value. And a second determination unit that determines whether the main subject image is an image of a person's face in response to the determination that the size of the main subject image is greater than or equal to a certain level. It is characterized by that.
[0022]
Also in the third invention, a control method suitable for the main subject image determination apparatus may be provided.
[0023]
According to the third invention, it is determined whether or not the size of the main subject image having the color of the person's face image is greater than or equal to a certain value. Therefore, it is possible to prevent the main subject image from being erroneously determined as a human face image.
[0024]
According to a fourth aspect of the present invention, there is a photographing means for photographing a subject and outputting image data representing the subject image, and determining whether the main subject image of the subject image represented by the image data output from the photographing means is a person image. The image data output from the photographing unit performs a process of blurring the background image of the main subject image in the subject image when the determining unit and the determining unit determine that the main subject image is a person image. The image processing means to perform about is provided.
[0025]
The fourth invention also provides a control method suitable for the photographing apparatus. That is, this method shoots a subject, obtains image data representing the subject image, determines whether the main subject image of the subject image represented by the image data obtained by the photographing is a person image, and In response to the determination that the image is a human image, a process of blurring the background image of the main subject image among the subject images is performed on the image data output from the photographing unit.
[0026]
According to the fourth invention, it is determined whether or not the main subject image is a person image. If it is determined that the image is a person image, a process of blurring the background image of the subject image is performed. The person image as the main subject image is easy to see.
[0027]
The image pickup means outputs color image data representing a color subject image, for example. In this case, the determination means will include a color detection means for detecting the color of the main subject image among the color subject images, and a size detection means for detecting the size of the main subject image. Then, it will be determined whether the main subject image is a person image from the color detected by the color detection means and the size detected by the size detection means.
[0028]
Further, it is determined that the main subject image is a person image by an exposure apparatus (shutter control apparatus, aperture, aperture control apparatus, etc.) for controlling the exposure amount of the photographing means and the determination means is not a person image. An exposure apparatus control means for controlling the exposure apparatus so that the subject depth is shallower than when the exposure is performed may be further provided.
[0029]
[Explanation of Examples]
FIG. 1 shows an embodiment of the present invention and is a block diagram showing an electrical configuration of a digital still camera.
[0030]
The entire operation of the digital still camera is controlled by the CPU 6.
[0031]
In the digital still camera according to this embodiment, the CPU 6 performs gamma correction based on the gamma correction characteristics. The gamma correction characteristics include a first characteristic for normal photography (photographing other than portrait photography) and a second characteristic for portrait photography. The first characteristic is a normal gamma correction characteristic, and the second characteristic is a characteristic on which softening processing is performed. The softening process is to reduce the difference between the high luminance part and the low luminance part of the image according to the softening characteristic.
[0032]
FIG. 2 shows a first characteristic for normal photographing and a second characteristic for portrait photographing.
[0033]
Comparing the first characteristic and the second characteristic, the level difference between the high luminance level and the low luminance level is smaller in the second characteristic than in the first characteristic. When the correction process using the second characteristic is performed, the softening process is performed.
[0034]
Returning to FIG. 1, the output signal from the operation switch 8 such as a power switch, shutter release button or the like is input to the CPU 6.
[0035]
The zoom position of the zoom lens 1 is controlled by the lens driving circuit 11. The aperture value of the aperture 2 is controlled by the aperture drive circuit 12. Further, the shutter speed of the shutter 3 is controlled by the shutter drive circuit 13. The lens driving circuit 11, the aperture driving circuit 12, and the shutter driving circuit 13 are controlled by the CPU 6.
[0036]
The light image representing the subject image is formed on the light receiving surface of the image sensor 4 by the zoom lens 1 through the aperture 2 and the shutter 3. The image sensor 4 is controlled by an image sensor drive circuit 14. A video signal representing a subject image is output from the image sensor 4.
[0037]
The video signal is subjected to signal processing such as analog / digital conversion, gamma correction, white balance adjustment, luminance data, and color difference data generation processing in the signal processing circuit 5. Luminance data and color difference data output from the signal processing circuit 5 are input to the CPU 6.
[0038]
The CPU 6 determines whether normal shooting or portrait shooting is performed based on the input luminance data and color difference data. Details of this determination will be described later.
[0039]
When it is determined that the normal shooting is performed, as described above, the input luminance data is subjected to gamma correction processing according to the first characteristic. If it is determined that the portrait photography is performed, softening processing is performed on the input luminance data according to the second characteristic.
[0040]
The luminance data and the color difference data subjected to the softening process are subjected to data compression and the like, and are given to the recording control circuit 7. The recording control circuit 7 records the compressed luminance data and color difference data on the memory card 9.
[0041]
FIG. 3 shows the luminance data level distribution of the face image, and FIG. 4 shows the luminance data level distribution of the soil or tree image.
[0042]
Light hits the tip of the nose, cheeks, etc., and light does not hit the side of the small nose. Therefore, the face image obtained when the face is photographed has a relatively bright part and a relatively dark part, and the brightness level of the face image is distributed from low brightness to high brightness as a whole. (See FIG. 3). On the other hand, soils and trees do not often contain both a lighted part and a shaded part. For this reason, the brightness level of an image obtained when photographing soil and trees is rarely distributed from low brightness to high brightness (see FIG. 4).
[0043]
In the digital still camera according to this embodiment, it is determined whether or not the image is a face based on the distribution of luminance levels.
[0044]
FIG. 5 is a flowchart showing the processing procedure of the digital still camera.
[0045]
As shown below, the pre-shooting and the main shooting are performed twice, but the two shootings are not necessarily performed.
[0046]
First, the subject is pre-photographed by the image sensor 4 (step 21). Pre-color difference data and pre-luminance data are obtained in the signal processing circuit 5 by pre-photographing, and input to the CPU 6 as described above. Based on the input pre-color difference data and pre-brightness data, luminance data and color difference data of an area determined to be the main subject image are extracted (step 22). In this embodiment, since gradation characteristics are changed between portrait photography and normal photography, it is only necessary to be able to extract the face image portion. For this purpose, for example, a luminance data level range and a color difference data level range, which are considered to be general face colors, are determined in advance, and the image portion represented by the data within the determined range is the face image. It can be judged as an image part.
[0047]
Next, whether the size of the extracted main subject image in the horizontal direction is 1/10 or more of the horizontal size of the shooting range and whether there is one main subject image having a size of 1/10 or more. Is confirmed (step 23). When the size of the main subject image is small, portrait photography is not always true even for person photography. In addition, when there are a plurality of main subject images, portrait photography is often not performed. Therefore, when a softening process with a large degree of softening is performed, an image with a sense of incongruity is generated. For these reasons, there are a plurality of main subject images in which the horizontal size of the extracted main subject image is less than 1/10 of the horizontal size of the shooting range or 1/10 or more. If there is (NO at step 23), characteristics for normal photographing are set (step 27).
[0048]
When the horizontal size of the extracted main subject image is 1/10 or more of the horizontal size of the shooting range and there is one main subject image having a size of 1/10 or more ( YES in step 23), a histogram of the extracted main subject image is calculated (step 24). As described above, when the main subject image is a face, the distribution of luminance data is wide. On the other hand, when the main subject image is soil or wood, the distribution of luminance data is narrow. If the calculated histogram distribution is 40% or more of the luminance range (second determination: for example, if the luminance range is represented by 0 to 255, 100 or more: YES in step 25), the extracted main subject The image is determined to be an image of a human face. A softness characteristic for portrait photography is set (step 26). If the calculated histogram distribution is less than 40% (NO in step 25), the main subject image is determined to be an image other than a human face. Characteristics for normal shooting are set (step 27).
[0049]
Subsequently, actual photographing is performed (step 27), and the main luminance data and the main color difference data are input to the CPU 6 as described above. The inputted seriousness data is subjected to softening processing based on the set softening characteristics. The main luminance data and the color difference data subjected to the softening process are compressed and recorded in the memory card 9.
[0050]
For example, if the shutter release button is a two-stroke type, pre-photographing will be performed in response to the first stage depression, and main photographing will be performed in response to the second stage depression. .
[0051]
6 to 9 show another embodiment.
[0052]
FIG. 6 is a block diagram showing an electrical configuration of the digital still camera. In this figure, the same components as those shown in FIG.
[0053]
The entire operation of the digital still camera is controlled by the CPU 16.
[0054]
The digital still camera according to this embodiment can set one program diagram among a plurality of program diagrams. The first program diagram is for normal photography, and the second program diagram is for portrait photography.
[0055]
FIG. 7 is a program diagram for normal photographing.
[0056]
In normal shooting, when the EV value is less than 10, the aperture is F2.8 (open) (AV3), and the exposure amount is controlled by the shutter speed. When the EV value is 10 or more and less than 12, the aperture is F4. When the EV value is 12 or more and less than 14, the aperture is F5.6. When the EV value is 14 or more and less than 17, the aperture is set to F8.
[0057]
FIG. 8 is a program diagram for portrait photography.
[0058]
In the case of portrait photography, the program diagram is such that an aperture that is as open as possible is used (so that the subject depth becomes shallow). For this reason, the aperture is set to F2.8 until the EV value is less than 12.5. When the EV value is 12.5 or more and less than 14, the aperture is set to F4. When the EV value is 14 or more and less than 15, the aperture is set to F5.6. When the EV value is 15 or more and less than 17, the aperture is set to F8. The background image of the main subject is blurred, and an image with a clear main subject can be obtained. In addition, since the shutter speed is increased, camera shake is unlikely to occur.
[0059]
Based on these program diagrams, the aperture driving circuit 12 and the shutter driving circuit 13 are controlled, and the aperture value of the aperture 2 and the shutter speed of the shutter 3 are determined.
[0060]
FIG. 9 is a flowchart showing the processing procedure of the digital still camera.
[0061]
The subject is pre-photographed (step 21), and pre-luminance data and pre-color difference data representing the subject image are input from the signal processing circuit 5 to the CPU 16 as described above. In the CPU 16, luminance data and color difference data representing the main subject image are extracted from the input pre luminance data and pre color difference data (step 22). In the same manner as described above, it is confirmed whether the size of the extracted main subject image in the horizontal direction is 1/10 or more of the horizontal direction of the photographing range and only one (step 23).
[0062]
If the size of the extracted main subject image in the horizontal direction is 1/10 or more of the horizontal direction of the shooting range and is one (YES in step 23), it is determined that the portrait shooting is performed, and the portrait program A diagram is set (step 31). If the size of the extracted main subject image in the horizontal direction is less than 1/10 of the horizontal direction of the shooting range, or if there are a plurality of main subject images (NO in step 23), it is determined as normal shooting and for normal shooting. Is set (step 32).
[0063]
The exposure amount is calculated based on the input pre-luminance data. Based on the calculated exposure amount, the aperture value and shutter speed are determined using the set program diagram. The aperture driving circuit 12 is controlled so that the aperture 2 has the determined aperture value. Further, the shutter 3 is driven by the shutter drive circuit 13 so that the shutter speed of the shutter 3 becomes the determined shutter speed.
[0064]
The subject is actually photographed at the set aperture value and shutter speed (step 28).
[Brief description of the drawings]
FIG. 1 is a block diagram showing an electrical configuration of a digital still camera.
FIG. 2 shows a softening characteristic.
FIG. 3 shows a histogram of a face image.
FIG. 4 shows a histogram of soil and tree images.
FIG. 5 is a flowchart showing a processing procedure of the digital still camera.
FIG. 6 is a block diagram showing an electrical configuration of a digital still camera.
FIG. 7 shows a program diagram of normal shooting.
FIG. 8 shows a program diagram for portrait photography.
FIG. 9 is a flowchart showing a processing procedure of the digital still camera.
[Explanation of symbols]
2 Aperture 3 Shutter 4 Image sensor 5 Signal processing circuit 6, 16 CPU
12 Aperture drive circuit
13 Shutter drive circuit
14 Image sensor drive circuit

Claims (5)

被写体を撮影し,被写体像を表すカラー画像データを出力する撮影手段および上記撮影手段から出力されたカラー画像データをガンマ補正特性にもとづいてガンマ補正するガンマ補正手段を備えた撮像装置において,
上記撮影手段から出力されたカラー画像データによって表されるカラー被写体像から人物の顔の色をもつ主被写体像を抽出する抽出手段,
ポートレート撮影かどうかを判断するために,上記抽出手段によって抽出された主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つかどうかを判定する第1の判定手段,
上記第1の判定手段によって上記主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つと判定されたことに応じて,抽出された主被写体像についての輝度分布を算出する輝度分布算出手段,
ポートレート撮影かどうかを判断するために,上記輝度分布算出手段によって算出された輝度分布に基づいて,上記抽出された主被写体像が一人の人物の顔の画像かどうかを判定する第2の判定手段,ならびに
上記第2の判定手段によって,上記主被写体像が一人の人物の顔の画像と判定されたことに応じて,上記撮影手段から出力されたカラー画像データをポートレート撮影用に軟調化処理するように上記ガンマ補正手段のガンマ補正特性を制御する手段,
を備えた撮影装置。
In an imaging device comprising a photographing means for photographing a subject and outputting color image data representing a subject image, and a gamma correction means for performing gamma correction on the color image data output from the photographing means based on gamma correction characteristics,
Extraction means for extracting a main subject image having the color of a person's face from a color subject image represented by color image data output from the photographing means;
In order to determine whether or not portrait shooting is to be performed, the horizontal size of the main subject image extracted by the extraction unit is 1/10 or more of the horizontal size of the shooting range, and 1/10 or more. First determination means for determining whether or not there is one main subject image having a size;
The first determination means determines that the main subject image has a horizontal size that is 1/10 or more of the horizontal size of the shooting range and one main subject image that is 1/10 or more in size. A luminance distribution calculating means for calculating a luminance distribution for the extracted main subject image in accordance with the determination;
Second determination for determining whether or not the extracted main subject image is an image of a face of a person based on the luminance distribution calculated by the luminance distribution calculating means in order to determine whether or not it is portrait photography. And the second determination means soften the color image data output from the photographing means for portrait photography when the main subject image is judged to be an image of a person's face. Means for controlling the gamma correction characteristics of the gamma correction means to process,
An imaging device with
被写体を撮影し,被写体像を表すカラー画像データを出力する撮影手段,
被写体像を表すプレ・カラー画像データを出力するように上記撮影手段を制御する第1の撮影制御手段,
上記第1の撮影制御手段の制御のもとに,上記撮影手段から出力されたプレ・カラー画像データによって表される被写体像から人物の顔の画像の色をもつ主被写体像を抽出する抽出手段,
ポートレート撮影かどうかを判断するために,上記抽出手段によって抽出された主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つかどうかを判定する第1の判定手段,
上記第1の判定手段によって,上記主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つと判定されたことに応じて,抽出された主被写体像についての輝度分布を算出する輝度分布算出手段,
ポートレート撮影かどうかを判断するために,上記輝度分布算出手段によって算出された輝度分布に基づいて,上記抽出された主被写体像が一人の人物の顔の画像かどうかを判定する第2の判定手段,
与えられた画像データをガンマ補正特性にもとづいてガンマ補正するガンマ補正手段,
上記第2の判定手段によって,上記主被写体像が一人の人物の顔の画像と判定されたことに応じて,ポートレート撮影用に軟調化処理を行うように上記ガンマ補正手段のガンマ補正特性を調整する調整手段,
被写体像を表す本画像データを出力するように,上記撮像手段を制御する第2の撮影制御手段,および
上記第2の撮影制御手段の制御のもとに上記撮影手段から出力された本画像データに,設定されたガンマ補正特性にもとづいて処理を行うように上記ガンマ補正手段を制御する制御手段,
を備えた撮影装置。
Photographing means for photographing a subject and outputting color image data representing the subject image;
First photographing control means for controlling the photographing means so as to output pre-color image data representing a subject image;
Extracting means for extracting a main subject image having the color of a human face image from a subject image represented by pre-color image data output from the photographing means under the control of the first photographing control means. ,
In order to determine whether or not portrait shooting is to be performed, the horizontal size of the main subject image extracted by the extraction unit is 1/10 or more of the horizontal size of the shooting range, and 1/10 or more. First determination means for determining whether or not there is one main subject image having a size;
By the first determination means, the main subject image having a horizontal size of 1/10 or more of the horizontal size of the photographing range and a size of 1/10 or more of the main subject image is 1 A luminance distribution calculating means for calculating a luminance distribution for the extracted main subject image in accordance with
Second determination for determining whether or not the extracted main subject image is an image of a face of a person based on the luminance distribution calculated by the luminance distribution calculating means in order to determine whether or not it is portrait photography. means,
Gamma correction means for gamma correcting the given image data based on gamma correction characteristics;
The gamma correction characteristic of the gamma correction means is set so as to perform softening processing for portrait photography in response to the fact that the main subject image is determined to be a face image of a single person by the second determination means. Adjusting means to adjust,
Second image pickup control means for controlling the image pickup means so as to output main image data representing a subject image, and main image data output from the image pickup means under the control of the second image pickup control means. Control means for controlling the gamma correction means so as to perform processing based on the set gamma correction characteristics;
An imaging device with
ポートレート撮影かどうかを判断するために,カラー被写体像のうち,人物の顔の画像の色をもつ主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つかどうかを判定する第1の判定手段,
上記第1の判定手段によって上記主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つと判定されたことに応じて,上記主被写体像についての輝度分布を算出する輝度分布算出手段,および
ポートレート撮影かどうかを判断するために,上記輝度分布算出手段によって算出された輝度分布に基づいて,上記主被写体像が一人の人物の顔の画像かどうかを判定する第2の判定手段,
を備えた主被写体像判定装置。
In order to determine whether or not portrait shooting is to be performed, the horizontal size of the main subject image having the color of the human face image is 1/10 or more of the horizontal size of the shooting range. A first determination means for determining whether or not there is one main subject image having a size of 1/10 or more;
The first determination means determines that the main subject image has a horizontal size that is 1/10 or more of the horizontal size of the shooting range and one main subject image that is 1/10 or more in size. A luminance distribution calculating means for calculating a luminance distribution for the main subject image according to the determination, and
Second determination means for determining whether or not the main subject image is an image of a face of a person based on the luminance distribution calculated by the luminance distribution calculation means in order to determine whether or not it is portrait photography ;
A main subject image determination apparatus.
被写体を撮影し,被写体像を表すカラー画像データを得,得られたカラー画像データをガンマ補正特性にもとづいてガンマ補正する撮影装置において,
得られたカラー画像データによって表されるカラー被写体像から人物の顔の画像の色をもつ主被写体像を抽出し,
ポートレート撮影かどうかを判断するために,抽出した主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つかどうかを判定し,
上記主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つと判定されたことに応じて,抽出された主被写体像についての輝度分布を算出し,
ポートレート撮影かどうかを判断するために,算出された輝度分布に基づいて,上記抽出された主被写体像が一人の人物の顔の画像かどうかを判定し,
上記主被写体像が一人の人物の顔の画像と判定されたことに応じて,上記撮影により得られたカラー画像データをポートレート撮影用に軟調化処理するように上記ガンマ補正特性を調整する,
撮影装置の制御方法。
In a photographing device that photographs a subject, obtains color image data representing the subject image, and performs gamma correction on the obtained color image data based on gamma correction characteristics.
Extracting the main subject image having the color of the human face image from the color subject image represented by the obtained color image data,
In order to determine whether or not the portrait shooting is to be performed, the extracted main subject image has a horizontal size that is 1/10 or more of the horizontal size of the shooting range and 1/10 or more. Determine whether there is one subject image,
In response to the fact that the horizontal size of the main subject image is 1/10 or more of the horizontal size of the shooting range and that there is one main subject image having a size of 1/10 or more. , Calculate the luminance distribution for the extracted main subject image,
In order to determine whether it is portrait photography , based on the calculated luminance distribution, it is determined whether the extracted main subject image is a face image of a person,
Adjusting the gamma correction characteristic so that the color image data obtained by the shooting is softened for portrait shooting in response to the main subject image being determined to be a face image of a person.
Control method of photographing apparatus.
与えられた画像データをガンマ補正特性にもとづいてガンマ補正するガンマ補正手段を備えた撮影装置において,
被写体をプレ撮影し,被写体像を表すプレ・カラー画像データを得,
得られたプレ・カラー画像データによって表される被写体像から人物の顔の画像の色をもつ主被写体像を抽出し,
ポートレート撮影かどうかを判断するために,抽出された主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つかどうかを判定し,
上記主被写体像の横方向の大きさが撮影範囲の横方向の大きさの1/10以上であり,かつ1/10以上の大きさをもつ主被写体像が1つと判定されたことに応じて,抽出された主被写体像についての輝度分布を算出し,
ポートレート撮影かどうかを判断するために,算出された輝度分布に基づいて,上記抽出された主被写体像が一人の人物の顔の画像かどうかを判定し,
上記主被写体像が一人の人物の顔の画像と判定されたことに応じて,ポートレート撮影用に軟調化処理を行うように上記ガンマ補正手段のガンマ補正特性を調整し,
被写体を本撮影し,被写体像を表す本カラー画像データを得,
上記本撮影により得られた本カラー画像データに,設定されたガンマ補正特性にもとづく処理を行うように上記ガンマ補正手段を制御する,
撮影装置の制御方法。
In a photographing apparatus having gamma correction means for performing gamma correction based on gamma correction characteristics for given image data,
Pre-photograph the subject to obtain pre-color image data representing the subject image,
Extracting the main subject image having the color of the human face image from the subject image represented by the obtained pre-color image data,
In order to determine whether or not the portrait shooting is to be performed, the horizontal size of the extracted main subject image is 1/10 or more of the horizontal size of the shooting range and has a size of 1/10 or more. Determine whether there is one main subject image,
In response to the fact that the horizontal size of the main subject image is 1/10 or more of the horizontal size of the shooting range and that there is one main subject image having a size of 1/10 or more. , Calculate the luminance distribution for the extracted main subject image,
In order to determine whether it is portrait photography , based on the calculated luminance distribution, it is determined whether the extracted main subject image is a face image of a person,
Adjusting the gamma correction characteristic of the gamma correction means so as to perform softening processing for portrait photography in response to the main subject image being determined to be an image of a person's face,
Take a real shot of the subject, get the color image data representing the subject image,
Controlling the gamma correction means so as to perform processing based on the set gamma correction characteristics on the main color image data obtained by the main shooting.
Control method of photographing apparatus.
JP2002346621A 2002-11-29 2002-11-29 Imaging device Expired - Fee Related JP4293508B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002346621A JP4293508B2 (en) 2002-11-29 2002-11-29 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002346621A JP4293508B2 (en) 2002-11-29 2002-11-29 Imaging device

Publications (2)

Publication Number Publication Date
JP2004180173A JP2004180173A (en) 2004-06-24
JP4293508B2 true JP4293508B2 (en) 2009-07-08

Family

ID=32707442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002346621A Expired - Fee Related JP4293508B2 (en) 2002-11-29 2002-11-29 Imaging device

Country Status (1)

Country Link
JP (1) JP4293508B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072506A (en) * 2004-08-31 2006-03-16 Noritsu Koki Co Ltd Photographic processor
JP2007013666A (en) * 2005-06-30 2007-01-18 Victor Co Of Japan Ltd Image processor
JP4934326B2 (en) 2005-09-29 2012-05-16 富士フイルム株式会社 Image processing apparatus and processing method thereof
JP5321308B2 (en) * 2009-07-16 2013-10-23 株式会社ニコン Image processing apparatus and image processing program
US9697642B2 (en) 2012-11-19 2017-07-04 Sony Corporation Image processing device and image processing method
KR102623989B1 (en) 2016-08-01 2024-01-11 삼성전자주식회사 Image processing method and electronic device supporting the same

Also Published As

Publication number Publication date
JP2004180173A (en) 2004-06-24

Similar Documents

Publication Publication Date Title
JP4217698B2 (en) Imaging apparatus and image processing method
JP4826028B2 (en) Electronic camera
JP5141733B2 (en) Imaging apparatus, imaging method, and program
JP4687492B2 (en) Camera, imaging method, exposure calculation device, and program
US8937677B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable medium
US9542734B2 (en) Information processing apparatus, image processing method, and storage medium that determine tone characteristics for respective object signals
US8294795B2 (en) Image capturing apparatus and medium storing image processing program
JP2012119858A (en) Imaging device, imaging method, and program
US7375758B2 (en) Electronic camera
JP7129520B2 (en) Image processing device, image processing method, and program
KR20120071192A (en) Digital photographing apparatus and control method thereof
JP2010072619A (en) Exposure operation device and camera
JP5316070B2 (en) Imaging device
JP5149055B2 (en) Imaging device
JP4293508B2 (en) Imaging device
JP2014179920A (en) Imaging apparatus, control method thereof, program, and storage medium
US8982244B2 (en) Image capturing apparatus for luminance correction, a control method therefor, and a recording medium
JP2010183460A (en) Image capturing apparatus and method of controlling the same
JP2014121079A (en) Image processing device, image processing method, program, and storage medium
JP5849515B2 (en) Exposure calculation device and camera
JP2007104200A (en) Imaging apparatus
JP2004173251A (en) Camera
JP2011135379A (en) Imaging apparatus, imaging method and program
JP4077217B2 (en) Automatic exposure control device and program thereof
JP4810440B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050318

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070413

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070417

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080729

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080917

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20081008

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: 20090401

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: 20090403

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

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130417

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130417

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140417

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees