JP2013034154A - Region extraction device, imaging device, and region extraction program - Google Patents
Region extraction device, imaging device, and region extraction program Download PDFInfo
- Publication number
- JP2013034154A JP2013034154A JP2011170059A JP2011170059A JP2013034154A JP 2013034154 A JP2013034154 A JP 2013034154A JP 2011170059 A JP2011170059 A JP 2011170059A JP 2011170059 A JP2011170059 A JP 2011170059A JP 2013034154 A JP2013034154 A JP 2013034154A
- Authority
- JP
- Japan
- Prior art keywords
- region
- area
- priority
- image
- extracted
- 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
- 238000000605 extraction Methods 0.000 title claims abstract description 110
- 238000003384 imaging method Methods 0.000 title claims abstract description 40
- 239000000284 extract Substances 0.000 claims abstract description 64
- 238000000034 method Methods 0.000 claims description 39
- 230000003287 optical effect Effects 0.000 claims description 11
- 238000011156 evaluation Methods 0.000 description 33
- 238000003860 storage Methods 0.000 description 23
- 238000012545 processing Methods 0.000 description 17
- 238000006243 chemical reaction Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 238000009826 distribution Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000012805 post-processing Methods 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000004091 panning Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Abstract
Description
本発明は、画像から領域を抽出する領域抽出装置、撮像装置、及び領域抽出プログラムに関する。 The present invention relates to a region extraction device, an imaging device, and a region extraction program that extract a region from an image.
画像の特徴量のヒストグラムに基づいて、撮像された画像から領域を抽出し、抽出した領域を識別する画像処理装置が開示されている(特許文献1参照)。 An image processing apparatus that extracts a region from a captured image and identifies the extracted region based on a histogram of image feature values is disclosed (see Patent Document 1).
しかしながら、特許文献1に開示された画像処理装置は、入力された画像から、人が注目する領域を抽出すること、すなわち、主要被写体の領域を適切に抽出することができないという問題がある。 However, the image processing apparatus disclosed in Patent Document 1 has a problem in that it cannot extract an area that is noticed by a person from an input image, that is, cannot appropriately extract an area of a main subject.
本発明は、前記の点に鑑みてなされたものであり、入力された画像から主要被写体の領域を適切に抽出することができる領域抽出装置、撮像装置、及び領域抽出プログラムを提供することを目的とする。 The present invention has been made in view of the above points, and an object thereof is to provide a region extraction device, an imaging device, and a region extraction program that can appropriately extract a region of a main subject from an input image. And
本発明は、上記の課題を解決するためになされたものであり、入力された画像の画像データに含まれる色情報に基づいて、前記画像から所定領域を抽出する領域抽出部と、前記領域抽出部により抽出された領域に、予め定められた色情報応じて優先度を定める優先度設定部と、を備えることを特徴とする領域抽出装置である。 The present invention has been made to solve the above-described problem, and an area extraction unit that extracts a predetermined area from the image based on color information included in image data of the input image, and the area extraction A region extracting apparatus comprising: a priority setting unit that determines priority according to predetermined color information in a region extracted by the unit.
また、本発明は、入力された画像の画像データに含まれる彩度情報に基づいて、前記画像から所定領域を抽出する領域抽出部と、前記領域抽出部により抽出された領域に、予め定められた彩度に応じて優先度を定める優先度設定部と、を備えることを特徴とする領域抽出装置である。 Further, the present invention is preliminarily determined for a region extraction unit that extracts a predetermined region from the image and a region extracted by the region extraction unit based on saturation information included in image data of the input image. And a priority setting unit that determines priority according to saturation.
また、本発明は、入力された画像の画像データに含まれる輝度情報に基づいて、前記画像から所定領域を抽出する領域抽出部と、前記領域抽出部により抽出された領域に、予め定められた輝度に応じて優先度を定める優先度設定部と、を備えることを特徴とする領域抽出装置である。 Further, according to the present invention, a region extraction unit that extracts a predetermined region from the image and a region extracted by the region extraction unit based on luminance information included in the image data of the input image are predetermined. And a priority setting unit that determines priority according to luminance.
また、本発明は、入力された画像の画像データに含まれる色情報を表す均等色空間の座標系における、原点からの距離に基づいて、前記画像から所定領域を抽出する領域抽出部と、前記領域抽出部により抽出された領域に、前記距離に応じて優先度を定める優先度設定部と、を備えることを特徴とする領域抽出装置である。 Further, the present invention provides a region extraction unit that extracts a predetermined region from the image based on a distance from the origin in a coordinate system of a uniform color space that represents color information included in image data of the input image, A region extraction apparatus comprising: a priority setting unit that determines priority according to the distance in a region extracted by a region extraction unit.
また、本発明は、領域抽出装置と、前記領域抽出装置が抽出した領域のうち、優先度が高い領域に合焦するよう光学系により焦点を調節する焦点調節部と、前記優先度が高い領域に合焦した状態で、前記優先度が高い領域を含む画像を撮像する撮像部と、を備えることを特徴とする撮像装置である。 The present invention also provides a region extraction device, a focus adjustment unit that adjusts a focus by an optical system so as to focus on a region having a high priority among regions extracted by the region extraction device, and a region having a high priority. And an imaging unit that captures an image including an area having a high priority in a focused state.
また、本発明は、コンピュータに、入力された画像の画像データに含まれる色情報に基づいて、前記画像から所定領域を抽出する手順と、前記所定領域に、予め定められた色情報に応じて優先度を定める手順と、を実行させるための領域抽出プログラムである。 The present invention also provides a computer according to a procedure for extracting a predetermined area from the image based on color information included in image data of an image input to the computer, and color information predetermined for the predetermined area. An area extraction program for executing a procedure for determining priority.
また、本発明は、コンピュータに、入力された画像の画像データに含まれる彩度情報に基づいて、前記画像から所定領域を抽出する手順と、前記所定領域に、予め定められた彩度に応じて優先度を定める手順と、を実行させるための領域抽出プログラムである。 The present invention also provides a computer according to a procedure for extracting a predetermined area from the image based on the saturation information included in the image data of the input image, and a predetermined saturation for the predetermined area. And a procedure for determining the priority.
また、本発明は、コンピュータに、入力された画像の画像データに含まれる輝度情報に基づいて、前記画像から所定領域を抽出する手順と、前記所定領域に、予め定められた輝度に応じて優先度を定める手順と、を実行させるための領域抽出プログラムである。 Further, the present invention provides a procedure for extracting a predetermined area from the image based on the luminance information included in the image data of the image input to the computer, and gives priority to the predetermined area in accordance with a predetermined luminance. A region extracting program for executing the procedure for determining the degree.
また、本発明は、コンピュータに、入力された画像の画像データに含まれる色情報を表す均等色空間の座標系における、原点からの距離に基づいて、前記画像から所定領域を抽出する手順と、前記所定領域に、前記距離に応じて優先度を定める手順と、を実行させるための領域抽出プログラムである。 Further, the present invention provides a computer for extracting a predetermined area from the image based on the distance from the origin in the coordinate system of the uniform color space representing the color information included in the image data of the input image; And a procedure for determining a priority according to the distance in the predetermined area.
本発明によれば、領域抽出装置は、入力された画像から主要被写体の領域を適切に抽出することができる。 According to the present invention, the region extraction device can appropriately extract the region of the main subject from the input image.
本発明の一実施形態について図面を参照して詳細に説明する。図1には、レンズ鏡筒111と、領域抽出装置140を備える撮像装置100と、記憶媒体200との構成が、ブロック図により表されている。撮像装置100は、レンズ鏡筒111から入射される光学像を撮像し、得られた画像を静止画又は動画の画像として、記憶媒体200に記憶させる。
An embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram illustrating the configuration of the
まず、レンズ鏡筒111の構成を説明する。
レンズ鏡筒111は、焦点調整レンズ(以下、「AF(Auto Focus)レンズ」という)112と、レンズ駆動部116と、AFエンコーダ117と、鏡筒制御部118を備える。なお、レンズ鏡筒111は、撮像装置100に着脱可能に接続されてもよいし、撮像装置100と一体であってもよい。
First, the configuration of the
The
AFレンズ112は、レンズ駆動部116により駆動され、後述する撮像部110の撮像素子119の受光面(光電変換面)に、光学像を導く。
The AF lens 112 is driven by a
AFエンコーダ117は、AFレンズ112の移動を検出し、AFレンズ112の移動量に応じた信号を、鏡筒制御部118に出力する。ここで、AFレンズ112の移動量に応じた信号とは、例えば、AFレンズ112の移動量に応じて位相が変化するサイン(sin)波信号であってもよい。
The
鏡筒制御部118は、撮像装置100のCPU190から入力される駆動制御信号に応じて、レンズ駆動部116を制御する。ここで、駆動制御信号とは、AFレンズ112を光軸方向に駆動させる制御信号である。鏡筒制御部118は、駆動制御信号に応じて、例えば、レンズ駆動部116に出力するパルス電圧のステップ数を変更する。
The lens
また、鏡筒制御部118は、AFレンズ112の移動量に応じた信号に基づいて、レンズ鏡筒111におけるAFレンズ112の位置(フォーカスポジション)を、CPU190に出力する。ここで、鏡筒制御部118は、例えば、AFレンズ112の移動量に応じた信号を、AFレンズ112の移動方向に応じて積算することで、レンズ鏡筒111におけるAFレンズ112の移動量(位置)を算出してもよい。
Further, the lens
レンズ駆動部116は、鏡筒制御部118の制御に応じてAFレンズ112を駆動し、AFレンズ112をレンズ鏡筒111内で光軸方向に移動させる。
The
次に、撮像装置100の構成を説明する。
撮像装置100は、撮像部110と、領域抽出装置140と、表示部150と、バッファメモリ部130と、操作部180と、記憶部160と、CPU190と、通信部170とを備える。
Next, the configuration of the
The
撮像部110は、撮像素子119と、A/D(Analog/Digital)変換部120とを備える。撮像部110は、設定された撮像条件(例えば絞り値、露出値等)に従って、CPU190により制御される。
The
撮像素子119は、光電変換面を備え、レンズ鏡筒111(光学系)により光電変換面に結像された光学像を電気信号に変換して、A/D変換部120に出力する。撮像素子119は、例えば、CMOS(Complementary Metal Oxide Semiconductor)で構成されていてもよい。また、撮像素子119は、光電変換面の一部の領域について、光学像を電気信号に変換するようにしてもよい(画像切り出し)。
The
また、撮像素子119は、操作部180を介してユーザからの撮影指示を受け付けた際に得られる画像を、A/D変換部120を介して記憶媒体200に記憶させる。一方、撮像素子119は、操作部180を介してユーザからの撮影指示を受け付けていない状態において、連続的に得られる画像をスルー画像として、バッファメモリ部130及び表示部150に、A/D変換部120を介して出力する。
Further, the
A/D変換部120は、撮像素子119によって変換された電気信号をデジタル化して、デジタル信号である画像をバッファメモリ部130に出力する。
The A /
操作部180は、例えば、電源スイッチ、シャッタボタン、マルチセレクタ(十字キー)、又はその他の操作キーを備え、ユーザによって操作されることでユーザの操作入力を受け付け、受け付けた操作入力に応じた信号をCPU190に出力する。
The
領域抽出装置140は、記憶部160に記憶されている画像処理条件に基づいて、バッファメモリ部130に記憶されている画像を画像処理する。画像処理された画像は、通信部170を介して記憶媒体200に記憶される。
The
また、領域抽出装置140は、画像特徴量に基づいて、バッファメモリ部130に記憶されている画像から領域を抽出し、抽出した領域に優先度を定める。また、領域抽出装置140は、抽出した領域を示す情報を記憶部160に記憶させる。ここで、領域を示す情報とは、例えば、領域の分布を表す情報、領域の画像特徴量を表す情報、及び領域に定められた優先度を表す情報である。
Further, the
表示部150は、撮像部110によって得られた画像、及び操作画面等を表示する。表示部150は、例えば、液晶ディスプレイである。
The
バッファメモリ部130は、撮像部110によって撮像された画像を記憶する。
The
記憶部160は、シーン判定の際にCPU190によって参照される判定条件と、シーン判定によって判断されたシーン毎に対応付けられた撮像条件と、領域を示す情報等とを記憶する。
The
CPU190は、設定された撮像条件(例えば、絞り値、露出値)に従って、撮像部110を制御する。また、CPU190は、領域を示す情報を、領域抽出装置140から取得する。また、CPU190は、領域を示す情報に基づいてレンズ鏡筒111の鏡筒制御部118に駆動制御信号を出力することで、画像から抽出された領域のうち、領域抽出装置140が設定した優先度が高い領域に合焦させるよう焦点を調節する。これにより、優先度が高い領域を含む画像は、優先度が高い領域に光学系により合焦した状態で、撮像部110により撮像される。
The
また、CPU190は、領域を示す情報に基づいて、画像処理のプレ処理又はポスト処理として、焦点調整(AF)の設定、露出調整(AE)の設定、ホワイトバランス調整(AWB)の設定、被写体像(オブジェクト)の追尾の設定、夜景か否かの判定の設定、色補正処理の設定、被写体像の拡大表示の設定、パンニング表示の設定、ズーム倍率に連動した明るさの最適化の設定、などを制御する。
Also, the
また、CPU190は、領域を示す情報に基づいて、トーンカーブ(階調カーブ)の設定、静止画及び動画の同時撮影を実行するか否かの設定などを制御する。
Further, the
また、CPU190は、領域を示す情報に基づいて、プレ処理又はポスト処理として、連写するか否かの設定、及び、連写において、合焦させる被写体像の切り替えの設定、焦点距離の連続変更の設定、撮像装置100の発光部(不図示)が発光する閃光の発光量の変更の設定、露光量の変更の設定、又はシャッタスピードの変更を実行するか否かの設定などを制御する。
In addition, the
また、CPU190は、操作部180から入力された「操作入力に応じた信号」に基づいて、静止画形式又は動画形式の画像を、領域抽出装置140に画像処理させる。
In addition, the
通信部170は、カードメモリ等の取り外しが可能な記憶媒体200と接続され、この記憶媒体200への情報(画像データ、領域を示す情報など)の書込み、読み出し、あるいは消去を行う。
The
記憶媒体200は、撮像装置100に対して着脱可能に接続される記憶部であって、情報(画像データ、領域を示す情報など)を記憶する。なお、記憶媒体200は、撮像装置100と一体であってもよい。
The
次に、領域抽出装置140の詳細について説明する。
領域抽出装置140は、特徴量算出部141と、領域抽出部142と、優先度設定部143とを備える。
Next, details of the
The
特徴量算出部141は、撮像部110が撮像した画像を、バッファメモリ部130から取得する。また、特徴量算出部141は、バッファメモリ部130から取得した画像における複数の特徴(例えば、色情報、彩度情報、輝度(明度)情報、テクスチャ、エッジ)毎に、その画像特徴量を算出し、算出した画像特徴量を領域抽出部142に出力する。
The feature
領域抽出部142は、特徴量算出部141が算出した画像特徴量を取得する。また、領域抽出部142は、撮像部110が撮像した画像を、バッファメモリ部130から取得する。領域抽出部142は、撮像部110により撮像された画像から、画像特徴量(例えば、色情報、彩度情報、輝度情報)に基づいて領域を抽出する。ここで、領域抽出部142が抽出する領域とは、バッファメモリ部130から取得した画像に含まれる、被写体の領域である。
The
また、領域抽出部142は、画像特徴量に定められた一定範囲と、その範囲外とに2値化された画像(以下、「2値画像」という)から領域を抽出し、抽出した領域にラベルを割り当てる(ラベリング)。ここで、一定範囲は、予め定められた閾値の上限及び下限により、画像特徴量が区分されることで定められる。また、閾値は、画像における画像特徴量の平均値(Ave)及び標準偏差(σ)に基づいて、例えば、「平均値+係数×標準偏差」と定められてもよい。
In addition, the
図2には、画像から抽出された領域の例が表されている。領域抽出部142は、撮像部110が撮像した画像から、輝度に基づく画像(以下、「Y画像」という)を抽出する。領域抽出部142は、撮像部110が撮像した画像の輝度(入力値)を補正(例えば、ガンマ補正)し、補正した輝度(出力値)を算出する。
FIG. 2 shows an example of a region extracted from the image. The
領域抽出部142は、補正した輝度(出力値)を、複数の範囲に区分する。図2では、一例として、補正した輝度は、区分1〜4に区分されたとする。領域抽出部142は、区分毎に2値画像を生成する。これにより、区分1の範囲上限が「平均値+K1×標準偏差」であり、区分1の範囲下限が「平均値+K2×標準偏差」である場合、区分1の2値画像には、高輝度領域が含まれる。
The
領域抽出部142は、区分1の2値画像に含まれている高輝度領域の分布を探索することにより、探索結果を表す2値画像(領域画像)に、高輝度領域300を抽出する。同様に、領域抽出部142は、区分2の2値画像に含まれている中輝度領域を探索することにより、領域画像に中輝度領域310を抽出する。また、領域抽出部142は、区分4の2値画像に含まれている低輝度領域を探索することにより、領域画像に低輝度領域320を抽出する。
The
同様に、領域抽出部142は、補正した色情報Crを、複数の範囲に区分する。図2では、一例として、補正した色情報Crは、区分5〜8に区分されたとする。領域抽出部142は、区分毎に2値画像を生成する。これにより、区分5の範囲上限が「平均値+K3×標準偏差」であり、区分5の範囲下限が「平均値+K4×標準偏差」である場合、区分5の2値画像には、赤色系領域が含まれる。
Similarly, the
領域抽出部142は、区分5の2値画像に含まれる赤色系領域の分布を探索することにより、領域画像に、赤色系領域400を抽出する。同様に、領域抽出部142は、区分6の2値画像に含まれる桃色系領域を探索することにより、領域画像に桃色系領域410を抽出する。また、領域抽出部142は、区分8の2値画像に含まれる緑色系領域を探索することにより、領域画像に緑色系領域420を抽出する。
The
同様に、領域抽出部142は、補正した色情報Cbを、複数の範囲に区分する。図2では、一例として、補正した色情報Cbは、区分9〜12に区分されたとする。領域抽出部142は、区分毎に2値画像を生成する。これにより、区分9の範囲上限が「平均値+K5×標準偏差」であり、区分9の範囲下限が「平均値+K6×標準偏差」である場合、区分9の2値画像には、青色系領域が含まれる。
Similarly, the
領域抽出部142は、区分9の2値画像に含まれる青色系領域の分布を探索することにより、領域画像に青色系領域500を抽出する。同様に、領域抽出部142は、区分10の2値画像に含まれる水色系領域を探索することにより、領域画像に水色系領域510を抽出する。また、領域抽出部142は、区分12の2値画像に含まれる黄色系領域を探索することにより、領域画像に黄色系領域520を抽出する。
The
また、輝度領域については、輝度がより低い最低輝度領域を抽出するようにしてもよい。ここで、領域抽出部142は、閾値をより低い値に変更し、変更した閾値よりも低い輝度の領域を抽出する。このようにすれば、領域抽出部142は、例えば、影が撮像されている領域が含まれている低輝度領域320では無く、黒色の被写体が撮像されている最低輝度領域を抽出することができる。
As for the luminance region, the lowest luminance region having a lower luminance may be extracted. Here, the
図3には、変更された閾値に基づいて画像から抽出された領域の例が表されている。図3では、区分3と区分4との境界を定める閾値が、より低い値に変更されたとする。これにより、影が撮像されている領域が低輝度領域320から除外され、黒色の被写体のみが撮像されている最低輝度領域321が、領域画像に抽出される。 FIG. 3 shows an example of a region extracted from the image based on the changed threshold value. In FIG. 3, it is assumed that the threshold value that defines the boundary between the category 3 and the category 4 is changed to a lower value. Thereby, the area where the shadow is imaged is excluded from the low luminance area 320, and the lowest luminance area 321 where only the black subject is imaged is extracted as the area image.
図1に戻り、領域抽出装置140の構成の説明を続ける。優先度設定部143は、領域抽出部142により抽出された領域に、人がより注目しているであろう領域を示す優先度を定める。優先度設定部143は、領域毎に算出される評価値に応じて、領域に優先度を定める。
Returning to FIG. 1, the description of the configuration of the
例えば、優先度設定部143は、画角中心から領域の重心までの距離に応じて、領域毎に評価値を定める。ここで、評点算出部143は、画角中心の近くに分布する領域ほど、その領域に高い評価値を定める。また、例えば、優先度設定部143は、領域の慣性モーメントに応じて、その領域に評価値を定める。優先度設定部143は、慣性モーメントが小さい(重心に集中している)領域には、高い評価値を定める。また、例えば、優先度設定部143は、領域の面積(画素数)に応じて、領域に評価値を定める。評点算出部143は、予め定められた面積に近い領域ほど、その領域に高い評価値を定める。
For example, the
また、優先度設定部143は、領域抽出部142により抽出された領域に、予め定められた色相に応じて優先度を定める。ここで、優先度設定部143は、領域抽出部142により抽出された領域に、均等色空間(L*a*b*表色系)における色相角に応じて優先度を定める。
Further, the
図4には、均等色空間の座標系が表されている。L*は、明度指数である。また、a*及びb*は、色度指数(クロマティクネス指数)である。ここで、a*の正方向は赤色を表し、a*の負方向は緑色を表す。一方、b*の正方向は黄色を表し、b*の負方向は青色を表す。また、h(=tan−1(b*/a*))は、色相角(メトリック色相角)である。また、C*(=√((a*)2+(b*)2))は、彩度である。また、R(=√((L*)2+(a*)2+(b*)2)))は、原点からの距離(色差)である。 FIG. 4 shows a coordinate system of the uniform color space. L * is the brightness index. Moreover, a * and b * are chromaticity indices (chromicness indices). Here, the positive direction of the a * represents the red, the negative direction of the a * represents green. On the other hand, the positive direction of b * indicates yellow, negative direction b * represents blue. Further, h (= tan −1 (b * / a * )) is a hue angle (metric hue angle). C * (= √ ((a * ) 2 + (b * ) 2 )) is saturation. R (= √ ((L * ) 2 + (a * ) 2 + (b * ) 2 ))) is a distance (color difference) from the origin.
優先度設定部143は、赤色(図2では、赤色系領域400)、黄色(図2では、黄色系領域520)及び青色(図2では、青色系領域500)の抽出された領域に、他の色の抽出された領域と比較して高い優先度を定める。ここで、優先度設定部143は、赤色の抽出された領域、黄色の抽出された領域、青色の抽出された領域の順に高い優先度を、抽出された各領域に定めてもよい。
The
また、優先度設定部143は、領域抽出部142により抽出された領域に、彩度(C*)に応じて優先度を定める。例えば、優先度設定部143は、彩度の高い抽出された領域に、高い優先度を定める。
Further, the
また、優先度設定部143は、領域抽出部142により輝度(Y)に基づいて抽出された領域に、輝度に応じた明度(L*)に応じて優先度を定める。例えば、優先度設定部143は、明度の高い抽出された領域に、高い優先度を定める。
Further, the
また、優先度設定部143は、予め定められた第1閾値(図2では、区分1と区分2との境界となる閾値)よりも高い輝度の抽出された領域に、他の抽出された領域と比較して高い優先度を定める。また、優先度設定部143は、赤色の抽出された領域(図2では、赤色系領域400)、黄色の抽出された領域(図2では、黄色系領域520)、第1閾値よりも高い輝度の抽出された領域(図2では、高輝度領域300)、青色の抽出された領域(図2では、青色系領域500)の順に高い優先度を、抽出された各領域に定める。
In addition, the
また、優先度設定部143は、予め定められた第2閾値(図2では、区分3と区分4との境界となる閾値)よりも低い輝度の抽出された領域(図2では、最低輝度領域320)に、他の抽出された領域と比較して低い優先度を定める。
In addition, the
また、優先度設定部143は、領域抽出部142により変更された第2閾値よりも低い輝度の抽出された領域(図3では、低輝度領域320)に、他の抽出された領域と比較して低い優先度を定める。
In addition, the
また、優先度設定部143は、均等色空間の座標系における原点からの距離R(図4を参照)に応じて、抽出された領域に優先度を定める。例えば、優先度設定部143は、均等色空間の座標系において、原点からの距離(色差)が長い位置に在る抽出された領域に、高い優先度を定める。
Further, the
優先度設定部143は、領域毎に定めた優先度を、領域を示す情報として記憶部160に記憶させる。
The
次に、領域抽出装置の処理の手順を説明する。
図5は、領域に合焦させるまでの処理の手順を表すフローチャートである。特徴量算出部141は、撮像された画像(スルー画像、又はスルー画像列)を、バッファメモリ部130から取り込み(ステップS1)、取り込んだ画像に対して、基本的な画像処理を実行する(ステップS2)。
Next, the processing procedure of the region extraction apparatus will be described.
FIG. 5 is a flowchart showing a processing procedure until focusing on an area. The feature
領域抽出部142は、撮像された画像を、バッファメモリ部130を介して画像特徴量(例えば、YCrCb)毎に読み込む(ステップS3)。領域抽出部142は、読み込んだ画像における複数の画像特徴量に基づいて、2値化画像を作成する(ステップS4)。また、領域抽出部142は、2値化画像から領域を抽出し、抽出した領域にラベルを割り当てる(ステップS5)。
The
領域抽出部142は、ノイズと推定される領域が画像にある場合、それらの領域を画像から除去する。また、領域抽出部142は、背景と推定される領域が画像にある場合、その領域を画像から除去する(ステップS6)。
If there are regions that are estimated to be noise in the image, the
優先度設定部143は、領域抽出部142により抽出された領域に、優先度を定める(ステップS7)。また、領域抽出部142は、優先度設定部143が優先度を定めた領域を、AF評価領域に合うよう矩形に整形する(ステップS8)。CPU190は、AF評価領域のコントラスト値に基づいて、コントラスト・スキャン(焦点調整処理)を実行する(ステップS9)。また、CPU190は、コントラスト・スキャンの結果に基づいて、至近に在る被写体が撮像されている領域を優先し、その領域に合焦させる(ステップS10)。
The
次に、領域抽出装置が優先度を定める処理(図5のステップS7を参照)の手順を説明する。
<赤色系領域に高い優先度を定める場合について>
図6は、赤色系領域に高い優先度を定める処理の手順を表すフローチャートである。ここで、領域は、一例として予め定められた最大3個まで選択されるものとする。優先度設定部143は、2値画像に基づいて抽出された領域(図2を参照)に、赤色系領域が在るか否かを判定する(ステップSa1)。
Next, a procedure of processing (see step S7 in FIG. 5) in which the area extraction device determines priority will be described.
<When a high priority is set for the red area>
FIG. 6 is a flowchart showing a processing procedure for determining a high priority for the red-colored region. Here, it is assumed that a maximum of three areas are selected as an example. The
赤色系領域が無い場合(ステップSa1−NO)、優先度設定部143は、赤色系領域以外の領域を、評価値の高い順に選択する(ステップSa2)。そして、優先度設定部143は、赤色系領域(在る場合)と、選択した領域とを、被写体の領域として記憶部160(図1を参照)に登録する(ステップSa3)。一方、ステップSa1において、赤色系領域が在る場合(ステップSa1−YES)、優先度設定部143は、赤色系領域の優先度を優先度1に定め、ステップSa2に処理を進める。
When there is no red area (step Sa1-NO), the
これにより、図2に示された例では、赤色系領域400は、優先度1の主要被写体の領域と定められる。また、赤色系領域400以外の領域のうち、評価値が第1位である領域は、優先度2の主要被写体の領域と定められる。また、赤色系領域400以外の領域のうち、評価値が第2位である領域は、優先度3の主要被写体の領域と定められる。 Thereby, in the example shown in FIG. 2, the red area 400 is defined as the area of the main subject having the priority 1. Of the areas other than the red area 400, the area having the highest evaluation value is defined as the area of the main subject with priority 2. Of the areas other than the red area 400, the area having the second highest evaluation value is defined as the area of the main subject with priority 3.
<赤色系領域、黄色系領域及び青色系領域に、高い優先度を定める場合について>
図7は、赤色系領域、黄色系領域及び青色系領域に、高い優先度を定める処理の手順を表すフローチャートである。ここで、領域は、一例として予め定められた最大3個まで選択されるものとする。優先度設定部143は、2値画像に基づいて抽出された領域(図2を参照)に、赤色系領域、黄色系領域又は青色系領域が在るか否かを判定する(ステップSb1)。
<When high priority is set for the red, yellow and blue areas>
FIG. 7 is a flowchart showing a processing procedure for determining a high priority for the red area, the yellow area, and the blue area. Here, it is assumed that a maximum of three areas are selected as an example. The
赤色系領域、黄色系領域及び青色系領域がいずれも無い場合(ステップSb1−NO)、且つ、赤色系領域、黄色系領域、及び青色系領域の総数が3個未満である場合、優先度設定部143は、残りの領域を評価値の高い順に選択し、選択した領域に評価値順に高い優先度を定める(ステップSb2)。そして、優先度設定部143は、選択した全ての領域を、被写体の領域として記憶部160(図1を参照)に登録する(ステップSb3)。
Priority setting when there is no red area, yellow area, and blue area (step Sb1-NO), and the total number of red areas, yellow areas, and blue areas is less than 3 The
一方、ステップSb1において、赤色系領域、黄色系領域又は青色系領域が在る場合(ステップSb1−YES)、優先度設定部143は、これらの領域を評価値の高い順に選択し、選択した領域に評価値順に高い優先度を定め、ステップSb2に処理を進める(ステップSb4)。なお、赤色系領域、黄色系領域及び青色系領域には、同じ優先度が定められてもよい。
On the other hand, in step Sb1, when there is a red region, a yellow region, or a blue region (step Sb1-YES), the
これにより、図2に示された例では、赤色系領域400、黄色系領域520及び青色系領域500のうち最も評価値が高い領域、例えば、黄色系領域520は、優先度1の主要被写体の領域と定められる。また、赤色系領域400、黄色系領域520及び青色系領域500のうち評価値が2番目に高い領域、例えば、赤色系領域400は、優先度2の主要被写体の領域と定められる。また、赤色系領域400、黄色系領域520及び青色系領域500のうち評価値が3番目に高い領域、例えば、青色系領域500は、優先度3の主要被写体の領域と定められる。なお、例えば、青色系領域500が無い場合、最も評価値が高い領域が、優先度3の主要被写体の領域と定められてもよい。 Thus, in the example shown in FIG. 2, the region having the highest evaluation value among the red-based region 400, the yellow-based region 520, and the blue-based region 500, for example, the yellow-based region 520 is the main subject with priority 1. It is defined as an area. The second highest evaluation value among the red color region 400, the yellow color region 520, and the blue color region 500, for example, the red color region 400, is defined as a main subject region with priority 2. The third highest evaluation value among the red-based region 400, the yellow-based region 520, and the blue-based region 500, for example, the blue-based region 500 is defined as a main subject region with priority 3. For example, when there is no blue-based region 500, the region with the highest evaluation value may be determined as the region of the main subject with priority 3.
<赤色系領域、黄色系領域、青色系領域の順に、高い優先度を定める場合について>
図8は、赤色系領域、黄色系領域、青色系領域の順に高い優先度を定める処理の手順を表すフローチャートである。ここで、領域は、一例として予め定められた最大3個まで選択されるものとする。優先度設定部143は、2値画像に基づいて抽出された領域(図2を参照)に、赤色系領域が在るか否かを判定する(ステップSc1)。
<About the case where a high priority is set in the order of a red area, a yellow area, and a blue area>
FIG. 8 is a flowchart showing a processing procedure for determining a high priority in the order of the red area, the yellow area, and the blue area. Here, it is assumed that a maximum of three areas are selected as an example. The
赤色系領域が無い場合(ステップSc1−NO)、優先度設定部143は、2値画像に基づいて抽出された領域に、黄色系領域が在るか否かを判定する(ステップSc2)。黄色系領域が無い場合(ステップSc2−NO)、優先度設定部143は、2値画像に基づいて抽出された領域に、青色系領域が在るか否かを判定する(ステップSc3)。
When there is no red area (step Sc1-NO), the
青色系領域が無い場合(ステップSc3−NO)、且つ、赤色系領域、黄色系領域、及び青色系領域の総数が3個未満である場合、優先度設定部143は、残りの領域を評価値の高い順に選択し、選択した領域に評価値順に高い優先度を定める(ステップSc4)。そして、優先度設定部143は、選択した全ての領域を、被写体の領域として記憶部160(図1を参照)に登録する(ステップSc5)。
If there is no blue-based region (step Sc3-NO), and the total number of red-based regions, yellow-based regions, and blue-based regions is less than 3, the
一方、ステップSc1において、赤色系領域が在る場合(ステップSc1−YES)、優先度設定部143は、赤色系領域に優先度1を定め、ステップSc2に処理を進める(ステップSb6)。また、ステップSc2において、赤色系領域が在る場合(ステップSc1−YES)、優先度設定部143は、赤色系領域に優先度1を定め、ステップSc2に処理を進める(ステップSb6)。
On the other hand, if there is a red area in step Sc1 (step Sc1-YES),
また、ステップSc2において、黄色系領域が在る場合(ステップSc2−YES)、優先度設定部143は、黄色系領域に優先度1又は2を定め、ステップSc3に処理を進める(ステップSb7)。また、ステップSc3において、青色系領域が在る場合(ステップSc3−YES)、優先度設定部143は、青色系領域に優先度1、2又は3を定め、ステップSc4に処理を進める(ステップSb8)。
In step Sc2, if a yellow area exists (step Sc2-YES),
これにより、図2に示された例では、赤色系領域400は、優先度1の主要被写体の領域と定められる。また、黄色系領域520は、優先度2の主要被写体の領域と定められる。また、青色系領域500は、優先度3の主要被写体の領域と定められる。 Thereby, in the example shown in FIG. 2, the red area 400 is defined as the area of the main subject having the priority 1. The yellow area 520 is defined as the area of the main subject with priority 2. In addition, the blue area 500 is defined as the area of the main subject with priority 3.
<赤色系領域、黄色系領域、青色系領域及び高輝度領域に、高い優先度を定める場合について>
図9は、赤色系領域、黄色系領域、青色系領域及び高輝度領域に、高い優先度を定める処理の手順を表すフローチャートである。ここで、領域は、一例として予め定められた最大3個まで選択されるものとする。優先度設定部143は、2値画像に基づいて抽出された領域(図2を参照)に、赤色系領域、黄色系領域又は青色系領域が在るか否かを判定する(ステップSd1)。
<Regarding the case where high priority is set for the red area, the yellow area, the blue area, and the high luminance area>
FIG. 9 is a flowchart showing a procedure of processing for determining a high priority for the red area, the yellow area, the blue area, and the high luminance area. Here, it is assumed that a maximum of three areas are selected as an example. The
赤色系領域、黄色系領域、青色系領域及び高輝度領域がいずれも無い場合(ステップSd1−NO)、且つ、赤色系領域、黄色系領域、青色系領域及び高輝度領域の総数が3個未満である場合、優先度設定部143は、残りの領域を評価値の高い順に選択し、選択した領域に評価値順に高い優先度を定める(ステップSd2)。そして、優先度設定部143は、選択した全ての領域を、被写体の領域として記憶部160(図1を参照)に登録する(ステップSd3)。
When there is no red area, yellow area, blue area, and high brightness area (step Sd1-NO), and the total number of red areas, yellow area, blue area, and high brightness area is less than 3 In the case of, the
一方、ステップSd1において、赤色系領域、黄色系領域、青色系領域又は高輝度領域が在る場合(ステップSd1−YES)、優先度設定部143は、これらの領域を評価値の高い順に選択し、選択した領域に評価値順に高い優先度を定め、ステップSd2に処理を進める(ステップSd4)。なお、赤色系領域、黄色系領域、青色系領域及び高輝度領域には、同じ優先度が定められてもよい。
On the other hand, in step Sd1, when there is a red region, a yellow region, a blue region, or a high luminance region (step Sd1-YES),
これにより、図2に示された例では、赤色系領域400、黄色系領域520、青色系領域500及び高輝度領域300のうち最も評価値が高い領域、例えば、赤色系領域400は、優先度1の主要被写体の領域と定められる。また、赤色系領域400、黄色系領域520、青色系領域500及び高輝度領域300のうち評価値が2番目に高い領域、例えば、黄色系領域520は、優先度2の主要被写体の領域と定められる。また、赤色系領域400、黄色系領域520、青色系領域500及び高輝度領域300のうち評価値が3番目に高い領域、例えば、高輝度領域300は、優先度3の主要被写体の領域と定められる。 Accordingly, in the example shown in FIG. 2, the region having the highest evaluation value among the red region 400, the yellow region 520, the blue region 500, and the high luminance region 300, for example, the red region 400 is assigned a priority. 1 main subject area. Further, the second highest evaluation value among the red color region 400, the yellow color region 520, the blue color region 500, and the high luminance region 300, for example, the yellow color region 520, is defined as a main subject region of priority 2. It is done. The third highest evaluation value among the red color region 400, the yellow color region 520, the blue color region 500, and the high luminance region 300, for example, the high luminance region 300 is defined as a main subject region with priority 3. It is done.
<他の抽出された領域と比較して低い優先度を、低輝度領域に定める場合について>
図10は、他の抽出された領域と比較して低い優先度を、低輝度領域に定める処理の手順を表すフローチャートである。ここで、領域は、一例として予め定められた最大3個まで選択されるものとする。優先度設定部143は、低輝度領域以外の領域を評価値の高い順に選択し、選択した領域に評価値順に高い優先度を定める(ステップSe1)。
<Regarding the case where a low priority is set for a low-luminance area compared to other extracted areas>
FIG. 10 is a flowchart showing a processing procedure for determining a low priority as a low-luminance area as compared with other extracted areas. Here, it is assumed that a maximum of three areas are selected as an example. The
また、優先度設定部143は、低輝度領域以外の領域の総数が3個未満である場合、残りの領域を評価値の高い順に選択し、選択した領域に評価値順に高い優先度を定める(ステップSe2)。また、優先度設定部143は、選択した全ての領域を、被写体の領域として記憶部160(図1を参照)に登録する(ステップSe3)。
In addition, when the total number of areas other than the low-luminance area is less than 3, the
これにより、図2に示された例では、区分3に含まれる低輝度領域では無い、黒色の被写体が撮像されている最低輝度領域320は、他の領域が画像から抽出されない場合、被写体の領域として記憶部160に登録される。
Thus, in the example shown in FIG. 2, the lowest luminance area 320 in which a black subject is captured that is not a low luminance area included in the category 3 is the subject area when no other area is extracted from the image. Are registered in the
以上のように、領域抽出装置140は、入力された画像の画像データに含まれる色情報に基づいて、前記画像から所定領域を抽出する領域抽出部142と、領域抽出部142により抽出された前記領域に、予め定められた色情報に応じて優先度を定める優先度設定部143と、を備える。
この構成により、領域抽出装置140は、画像から抽出された領域に、予め定められた色情報に応じて優先度を定める。これにより、領域抽出装置は、入力された画像から主要被写体の領域を適切に抽出することができる。
As described above, the
With this configuration, the
また、優先度設定部143は、領域抽出部142により抽出された領域に、均等色空間(L*a*b*表色系、CIELab色空間)における色相角(h)に応じて、優先度を定める。これにより、領域抽出装置は、入力された画像から、色相角に応じて主要被写体の領域を適切に抽出することができる。
In addition, the
また、優先度設定部143は、領域抽出部142が、前記画像データに含まれる赤色成分、黄色成分及び青色成分の色情報に基づいて、前記画像から所定領域を抽出した場合、前記抽出された領域に、前記画像データに含まれる赤色成分、黄色成分及び青色成分以外の色情報に基づいて抽出された領域と比較して高い優先度を定める。これにより、領域抽出装置は、入力された画像から、赤色、黄色及び青色の主要被写体の領域を適切に抽出することができる。
In addition, the
また、優先度設定部143は、前記画像データに含まれる、赤色成分の色情報基づいて抽出された領域、黄色成分の色情報基づいて抽出された領域、青色成分の色情報基づいて抽出された領域の順に、高い優先度を定める。これにより、領域抽出装置は、入力された画像から、赤色成分、黄色成分、青色成分の順に高い優先度の主要被写体の領域を、適切に抽出することができる。
The
また、優先度設定部143は、領域抽出部142により抽出された領域の彩度(C*)に応じて、優先度を定める。これにより、領域抽出装置は、入力された画像から、彩度が高い主要被写体の領域を適切に抽出することができる。
Also, the
また、領域抽出部142は、前記画像データに含まれる輝度情報に基づいて、前記画像から所定領域を抽出し、優先度設定部143は、領域抽出部142により抽出された領域の輝度に応じて、優先度を定める。これにより、領域抽出装置は、入力された画像から、輝度が高い主要被写体の領域を適切に抽出することができる。
In addition, the
また、領域抽出部142は、予め定められた第1閾値よりも高い輝度の領域を抽出し、優先度設定部143は、前記第1閾値よりも高い輝度の前記抽出された領域に、他の抽出された領域と比較して高い優先度を定める。これにより、領域抽出装置は、入力された画像から、輝度が高い主要被写体の領域を適切に抽出することができる。
In addition, the
また、優先度設定部143は、前記赤色成分の色情報基づいて抽出された領域、前記黄色成分の色情報基づいて抽出された領域、前記第1閾値よりも高い輝度の領域、前記青色成分の色情報基づいて抽出された領域の順に、高い優先度を定める。これにより、領域抽出装置は、入力された画像から、赤色成分、黄色成分、高輝度、青色成分の順に高い主要被写体の領域を、適切に抽出することができる。
In addition, the
また、領域抽出部142は、予め定められた第2閾値よりも低い輝度の領域を抽出し、優先度設定部143は、前記第2閾値よりも低い輝度の前記抽出された領域に、他の抽出された領域と比較して低い優先度を定める。これにより、領域抽出装置は、入力された画像から、低い輝度の領域(例えば、影が撮像された領域)でない主要被写体の領域を適切に抽出することができる。
In addition, the
また、領域抽出部142は、前記第2閾値をより低い値に変更し、変更した前記第2閾値よりも低い輝度の領域を抽出し、優先度設定部143は、前記変更した第2閾値よりも低い輝度の前記抽出された領域に、他の抽出された領域と比較して低い優先度を定める。これにより、領域抽出装置は、入力された画像から主要被写体の領域を適切に抽出することができる。
In addition, the
また、優先度設定部143は、均等色空間の座標系における原点からの距離(色差)に応じて、優先度を定める。これにより、領域抽出装置は、入力された画像から、影が撮像された領域でない黒色の主要被写体の領域を、適切に抽出することができる。
The
また、領域抽出装置140は、入力された画像の画像データに含まれる彩度情報に基づいて、前記画像から所定領域を抽出する領域抽出部142と、領域抽出部142により抽出された領域に、予め定められた彩度に応じて優先度を定める優先度設定部143と、を備える。これにより、領域抽出装置は、入力された画像から主要被写体の領域を適切に抽出することができる。
Further, the
また、領域抽出装置140は、入力された画像の画像データに含まれる輝度情報に基づいて、前記画像から所定領域を抽出する領域抽出部142と、領域抽出部142により抽出された領域に、予め定められた輝度に応じて優先度を定める優先度設定部143と、を備える。これにより、領域抽出装置は、入力された画像から主要被写体の領域を適切に抽出することができる。
In addition, the
また、領域抽出装置140は、入力された画像の画像データに含まれる色情報を表す均等色空間(L*a*b*表色系)の座標系における、原点からの距離(色差)に基づいて、前記画像から所定領域を抽出する領域抽出部142と、領域抽出部142により抽出された前記領域に、前記距離に応じて優先度を定める優先度設定部143と、を備える。
これにより、領域抽出装置は、撮像された画像から、色相、彩度及び明度のうち少なくとも1つに応じて、主要被写体の領域を適切に抽出することができる。
Further, the
Thereby, the area extracting apparatus can appropriately extract the area of the main subject from the captured image according to at least one of hue, saturation, and brightness.
また、撮像装置100は、領域抽出装置140と、領域抽出装置140が抽出した領域のうち、優先度が高い領域に合焦するよう光学系(例えば、AFレンズ112)により焦点を調節するCPU190と、前記優先度が高い領域に合焦した状態で、前記優先度が高い領域を含む画像を撮像する撮像部110とを備える。
この構成により、領域抽出装置140は、入力された画像から主要被写体の領域を適切に抽出する。これにより、撮像装置100は、主要被写体の領域に合焦した状態で、主要被写体の領域を含む画像を撮像することができる。
In addition, the
With this configuration, the
以上、この発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes designs and the like that do not depart from the gist of the present invention.
また、上記に説明した領域抽出装置、撮像装置を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、実行処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。 Further, by recording a program for realizing the region extraction device and the imaging device described above on a computer-readable recording medium, causing the computer system to read and execute the program recorded on the recording medium, Execution processing may be performed. Here, the “computer system” may include an OS and hardware such as peripheral devices.
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。 Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used. The “computer-readable recording medium” means a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a CD-ROM, a hard disk built in a computer system, etc. This is a storage device.
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。
さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Further, the “computer-readable recording medium” refers to a volatile memory (for example, DRAM (Dynamic) in a computer system serving as a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. Random Access Memory)) that holds a program for a certain period of time is also included.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
The program may be for realizing a part of the functions described above.
Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
100…撮像装置、110…撮像部、111…レンズ鏡筒、140…領域抽出装置、141…特徴量算出部、142…領域抽出部、143…優先度設定部
DESCRIPTION OF
Claims (19)
前記領域抽出部により抽出された領域に、予め定められた色情報応じて優先度を定める優先度設定部と、
を備えることを特徴とする領域抽出装置。 An area extracting unit that extracts a predetermined area from the image based on color information included in the image data of the input image;
A priority setting unit that determines priority according to predetermined color information in the region extracted by the region extraction unit;
An area extracting apparatus comprising:
前記優先度設定部は、前記領域抽出部により抽出された領域の輝度に応じて、優先度を定めることを特徴とする請求項1から請求項5のいずれか一項に記載の領域抽出装置。 The region extraction unit extracts a predetermined region from the image based on luminance information included in the image data,
The region extraction device according to any one of claims 1 to 5, wherein the priority setting unit determines a priority according to luminance of the region extracted by the region extraction unit.
前記優先度設定部は、前記第1閾値よりも高い輝度の前記抽出された領域に、他の前記抽出された領域と比較して高い優先度を定めることを特徴とする請求項6に記載の領域抽出装置。 The region extraction unit extracts a region having a luminance higher than a predetermined first threshold,
The said priority setting part determines a high priority compared with the said other extracted area | region to the said extracted area | region of the brightness | luminance higher than the said 1st threshold value, Region extraction device.
前記優先度設定部は、前記第2閾値よりも低い輝度の前記抽出された領域に、他の前記抽出された領域と比較して低い優先度を定めることを特徴とする請求項6から請求項8のいずれか一項に記載の領域抽出装置。 The region extraction unit extracts a region having a luminance lower than a predetermined second threshold,
The said priority setting part determines a low priority compared with the other said extracted area | region to the said extracted area | region of the brightness | luminance lower than the said 2nd threshold value from Claim 6 characterized by the above-mentioned. The region extraction device according to claim 8.
前記優先度設定部は、前記変更した第2閾値よりも低い輝度の前記抽出された領域に、他の前記抽出された領域と比較して低い優先度を定めることを特徴とする請求項9に記載の領域抽出装置。 The region extraction unit changes the second threshold value to a lower value, extracts a region having a luminance lower than the changed second threshold value,
The priority setting unit sets a lower priority in the extracted area having a luminance lower than the changed second threshold value as compared with the other extracted areas. The region extraction device described.
前記領域抽出部により抽出された領域に、予め定められた彩度に応じて優先度を定める優先度設定部と、
を備えることを特徴とする領域抽出装置。 An area extraction unit that extracts a predetermined area from the image based on the saturation information included in the image data of the input image;
A priority setting unit that determines priority according to a predetermined saturation in the region extracted by the region extraction unit;
An area extracting apparatus comprising:
前記領域抽出部により抽出された領域に、予め定められた輝度に応じて優先度を定める優先度設定部と、
を備えることを特徴とする領域抽出装置。 An area extracting unit that extracts a predetermined area from the image based on luminance information included in the image data of the input image;
A priority setting unit that determines priority according to a predetermined luminance in the region extracted by the region extraction unit;
An area extracting apparatus comprising:
前記領域抽出部により抽出された領域に、前記距離に応じて優先度を定める優先度設定部と、
を備えることを特徴とする領域抽出装置。 An area extraction unit that extracts a predetermined area from the image based on a distance from the origin in a coordinate system of a uniform color space representing color information included in image data of the input image;
A priority setting unit that determines priority according to the distance to the region extracted by the region extraction unit;
An area extracting apparatus comprising:
前記領域抽出装置が抽出した領域のうち、優先度が高い領域に合焦するよう光学系により焦点を調節する焦点調節部と、
前記優先度が高い領域に合焦した状態で、前記優先度が高い領域を含む画像を撮像する撮像部と、
を備えることを特徴とする撮像装置。 The region extraction device according to any one of claims 1 to 14,
A focus adjusting unit that adjusts a focus by an optical system so as to focus on a high priority area among the areas extracted by the area extracting device;
An imaging unit that captures an image including the high priority area in a state in which the high priority area is focused;
An imaging apparatus comprising:
入力された画像の画像データに含まれる色情報に基づいて、前記画像から所定領域を抽出する手順と、
前記所定領域に、予め定められた色情報に応じて優先度を定める手順と、
を実行させるための領域抽出プログラム。 On the computer,
A procedure for extracting a predetermined region from the image based on color information included in the image data of the input image;
A procedure for determining priority in the predetermined area according to predetermined color information;
Extraction program to execute.
入力された画像の画像データに含まれる彩度情報に基づいて、前記画像から所定領域を抽出する手順と、
前記所定領域に、予め定められた彩度に応じて優先度を定める手順と、
を実行させるための領域抽出プログラム。 On the computer,
A procedure for extracting a predetermined region from the image based on the saturation information included in the image data of the input image;
In the predetermined area, a procedure for determining a priority according to a predetermined saturation;
Extraction program to execute.
入力された画像の画像データに含まれる輝度情報に基づいて、前記画像から所定領域を抽出する手順と、
前記所定領域に、予め定められた輝度に応じて優先度を定める手順と、
を実行させるための領域抽出プログラム。 On the computer,
A procedure for extracting a predetermined region from the image based on luminance information included in the image data of the input image;
In the predetermined area, a procedure for setting a priority according to a predetermined luminance;
Extraction program to execute.
入力された画像の画像データに含まれる色情報を表す均等色空間の座標系における、原点からの距離に基づいて、前記画像から所定領域を抽出する手順と、
前記所定領域に、前記距離に応じて優先度を定める手順と、
を実行させるための領域抽出プログラム。 On the computer,
A procedure for extracting a predetermined region from the image based on a distance from the origin in a coordinate system of a uniform color space representing color information included in image data of the input image;
In the predetermined area, a procedure for determining priority according to the distance;
Extraction program to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011170059A JP5899693B2 (en) | 2011-08-03 | 2011-08-03 | Region extraction device, imaging device, and region extraction program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011170059A JP5899693B2 (en) | 2011-08-03 | 2011-08-03 | Region extraction device, imaging device, and region extraction program |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016036942A Division JP6156532B2 (en) | 2016-02-29 | 2016-02-29 | Region extraction device, imaging device, and region extraction program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013034154A true JP2013034154A (en) | 2013-02-14 |
JP5899693B2 JP5899693B2 (en) | 2016-04-06 |
Family
ID=47789642
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011170059A Active JP5899693B2 (en) | 2011-08-03 | 2011-08-03 | Region extraction device, imaging device, and region extraction program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5899693B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015148904A (en) * | 2014-02-05 | 2015-08-20 | 株式会社ニコン | Subject detection device, imaging device, and program |
JP2015148906A (en) * | 2014-02-05 | 2015-08-20 | 株式会社ニコン | Image processing apparatus, imaging apparatus, and image processing program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04207767A (en) * | 1990-11-30 | 1992-07-29 | Sharp Corp | Autofocusing device |
JP2001148863A (en) * | 1999-11-19 | 2001-05-29 | Victor Co Of Japan Ltd | White balance adjustment method and adjustment device |
JP2005286427A (en) * | 2004-03-26 | 2005-10-13 | Sharp Corp | Image pickup device and focusing method, control program and recording medium |
JP2007312294A (en) * | 2006-05-22 | 2007-11-29 | Konica Minolta Opto Inc | Imaging apparatus, image processor, method for processing image, and image processing program |
JP2009059326A (en) * | 2007-08-06 | 2009-03-19 | Nikon Corp | Imaging apparatus |
-
2011
- 2011-08-03 JP JP2011170059A patent/JP5899693B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04207767A (en) * | 1990-11-30 | 1992-07-29 | Sharp Corp | Autofocusing device |
JP2001148863A (en) * | 1999-11-19 | 2001-05-29 | Victor Co Of Japan Ltd | White balance adjustment method and adjustment device |
JP2005286427A (en) * | 2004-03-26 | 2005-10-13 | Sharp Corp | Image pickup device and focusing method, control program and recording medium |
JP2007312294A (en) * | 2006-05-22 | 2007-11-29 | Konica Minolta Opto Inc | Imaging apparatus, image processor, method for processing image, and image processing program |
JP2009059326A (en) * | 2007-08-06 | 2009-03-19 | Nikon Corp | Imaging apparatus |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015148904A (en) * | 2014-02-05 | 2015-08-20 | 株式会社ニコン | Subject detection device, imaging device, and program |
JP2015148906A (en) * | 2014-02-05 | 2015-08-20 | 株式会社ニコン | Image processing apparatus, imaging apparatus, and image processing program |
Also Published As
Publication number | Publication date |
---|---|
JP5899693B2 (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8446488B2 (en) | Method and system for focal length-specific color enhancement | |
JP6156532B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP4640198B2 (en) | Electronic camera, multi-point simultaneous focusing frame display method, and program | |
JP2017201818A (en) | Area extraction device | |
US8334919B2 (en) | Apparatus and method for digital photographing to correct subject area distortion caused by a lens | |
JP5899693B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP5509621B2 (en) | Image processing apparatus, camera, and program | |
JP6089476B2 (en) | Image processing apparatus, imaging apparatus, and image processing program | |
JP5871175B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP6508259B2 (en) | Imaging device and program | |
JP2013042201A (en) | Image processing apparatus, imaging apparatus, and program | |
JP5899700B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP2019126090A (en) | Imaging apparatus and program | |
JP5786460B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP6350562B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP6131519B2 (en) | Image processing apparatus, imaging apparatus, and image processing program | |
JP5463688B2 (en) | Focus evaluation device, camera and program | |
JP5888069B2 (en) | Area determination apparatus, imaging apparatus, and area determination program | |
JP6248662B2 (en) | Image processing apparatus, imaging apparatus, and image processing program | |
JP2009205610A (en) | Image classification device, image classification method, image classification program, and recording medium | |
JP6326841B2 (en) | Image processing apparatus, imaging apparatus, and image processing program | |
JP5629562B2 (en) | Image processing apparatus, control method therefor, and program | |
JP2018181357A (en) | Region extraction device | |
JP4819737B2 (en) | Imaging apparatus and control method | |
JP2018206435A (en) | Image processing apparatus, imaging apparatus, and image processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140624 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150312 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150414 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150615 |
|
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: 20160209 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160222 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5899693 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |
|
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 |