JP2014021373A - Imaging device, storage device, and imaging program - Google Patents
Imaging device, storage device, and imaging program Download PDFInfo
- Publication number
- JP2014021373A JP2014021373A JP2012161599A JP2012161599A JP2014021373A JP 2014021373 A JP2014021373 A JP 2014021373A JP 2012161599 A JP2012161599 A JP 2012161599A JP 2012161599 A JP2012161599 A JP 2012161599A JP 2014021373 A JP2014021373 A JP 2014021373A
- Authority
- JP
- Japan
- Prior art keywords
- subject
- image
- infinity
- imaging
- feature amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、撮像装置、記憶装置、及び撮像プログラムに関する。 The present invention relates to an imaging device, a storage device, and an imaging program.
画像特徴量のヒストグラムに基づいて、撮像された画像から領域を抽出し、抽出した領域を識別する画像処理装置が開示されている(特許文献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 amounts is disclosed (see Patent Document 1).
しかしながら、特許文献1に開示された画像処理装置を備える撮像装置は、無限遠に在る被写体(例えば、空、山)を適切に撮像することができない場合がある。例えば、前記撮像装置は、被写体までの距離を測距する必要があるので、無限遠に在る被写体に合焦させるまでの時間が長い。また、例えば、前記撮像装置は、無限遠に在る被写体であるか否かを識別するために、画像における被写体の位置を仮定する必要があり、仮定された位置以外に撮像された被写体を識別することができない。また、無限遠に在る被写体は、コントラストが低い場合が多いため、特にコントラスト式のオートフォーカスでは合焦させることが難しいという問題がある。
However, an imaging apparatus including the image processing apparatus disclosed in
本発明は、前記の点に鑑みてなされたものであり、無限遠に在る被写体を適切に撮像することができる撮像装置、記憶装置、及び撮像プログラムを提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides an imaging device, a storage device, and an imaging program capable of appropriately capturing an image of an object at infinity.
本発明は、上記の課題を解決するためになされたものであり、合焦レンズを介して撮像する撮像部と、撮像された被写体の画像特徴量を算出する特徴量算出部と、撮像された前記被写体のうち、無限遠に在る前記被写体を前記画像特徴量に基づいて検出する検出部と、無限遠に在る前記被写体が検出された場合、無限遠に合焦させる方向に前記合焦レンズを駆動させる制御部と、を備えることを特徴とする撮像装置である。 The present invention has been made to solve the above-described problem, and includes an imaging unit that captures an image through a focusing lens, a feature amount calculation unit that calculates an image feature amount of the captured subject, Among the subjects, a detection unit that detects the subject at infinity based on the image feature amount, and when the subject at infinity is detected, the focusing is performed in a direction to focus at infinity. And a control unit for driving the lens.
また、本発明は、無限遠に在る被写体に対するコントラストスキャンにより検出されたコントラストのピーク値を示すレンズ位置を記憶することを特徴とする記憶装置である。 According to another aspect of the present invention, there is provided a storage device that stores a lens position indicating a peak value of contrast detected by contrast scanning for a subject at infinity.
また、本発明は、合焦レンズを介して撮像する撮像部と、撮像された被写体の画像特徴量を算出する特徴量算出部と、自装置から前記被写体までの距離と前記画像特徴量とに基づいて、無限遠に在る前記被写体のうちから、予め定められた被写体を検出する検出部と、前記予め定められた被写体が検出された場合、無限遠に合焦させる方向に前記合焦レンズを駆動させる制御部と、を備えることを特徴とする撮像装置である。 The present invention also includes an imaging unit that captures an image through a focusing lens, a feature amount calculation unit that calculates an image feature amount of the captured subject, a distance from the device to the subject, and the image feature amount. Based on the detection unit that detects a predetermined subject out of the subjects at infinity, and the focusing lens in a direction to focus on infinity when the predetermined subject is detected And a control unit that drives the image pickup apparatus.
また、本発明は、コンピュータに、撮像部が、合焦レンズを介して撮像する手順と、特徴量算出部が、撮像された被写体の画像特徴量を算出する手順と、検出部が、撮像された前記被写体のうち、無限遠に在る前記被写体を前記画像特徴量に基づいて検出する手順と、制御部が、無限遠に在る前記被写体が検出された場合、無限遠に合焦させる方向に前記合焦レンズを駆動させる手順と、を実行させるための撮像プログラムである。 Further, according to the present invention, a procedure in which an imaging unit captures an image via a focusing lens, a procedure in which a feature amount calculation unit calculates an image feature amount of the captured subject, and a detection unit are captured in a computer. In addition, a procedure for detecting the subject at infinity among the subjects based on the image feature amount, and a direction in which the control unit focuses to infinity when the subject at infinity is detected. And a procedure for driving the focusing lens.
また、本発明は、コンピュータに、撮像部が、合焦レンズを介して撮像する手順と、特徴量算出部が、撮像された被写体の画像特徴量を算出する手順と、検出部が、自装置から前記被写体までの距離と前記画像特徴量とに基づいて、無限遠に在る前記被写体のうちから、予め定められた被写体を検出する手順と、制御部が、前記予め定められた被写体が検出された場合、無限遠に合焦させる方向に前記合焦レンズを駆動させる手順と、を実行させるための撮像プログラムである。 In addition, the present invention provides a computer in which an imaging unit captures an image via a focusing lens, a feature amount calculation unit calculates an image feature amount of a captured subject, and a detection unit A procedure for detecting a predetermined subject out of the subjects at infinity based on the distance from the subject to the subject and the image feature amount, and the control unit detects the predetermined subject. If so, an imaging program for executing the procedure of driving the focusing lens in a direction to focus at infinity.
本発明によれば、撮像装置は、無限遠に在る被写体を適切に撮像することができる。 According to the present invention, the imaging device can appropriately capture a subject at infinity.
[第1実施形態]
本発明の第1実施形態について図面を参照して詳細に説明する。図1には、レンズ鏡筒と、撮像装置と、記憶媒体との構成が、ブロック図により表されている。撮像装置100は、レンズ鏡筒111から入射される光学像を撮像し、静止画形式の画像、又は動画形式の画像列を、記憶媒体200に記憶させる。
[First Embodiment]
A first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram illustrating configurations of a lens barrel, an imaging device, and a storage medium. 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エンコーダ117は、AFレンズ112の移動を検出し、AFレンズ112の移動量に応じた信号を、鏡筒制御部118に出力する。ここで、AFレンズ112の移動量に応じた信号とは、例えば、AFレンズ112の移動量に応じて位相が変化するサイン(sin)波信号であってもよい。
The
鏡筒制御部118は、撮像装置100のCPU190(後述)から入力される駆動制御信号に応じて、レンズ駆動部116を制御する。ここで、駆動制御信号とは、至近に合焦させるAFレンズ112のレンズ位置から、無限遠に合焦させるAFレンズ112のレンズ位置までの範囲(以下、「レンズ駆動範囲」という)で、AFレンズ112を光軸方向に駆動させるための制御信号である。鏡筒制御部118は、駆動制御信号に応じて、例えば、レンズ駆動部116に出力するパルス電圧のステップ数を変更する。
The lens
また、鏡筒制御部118は、AFレンズ112の移動量に応じた信号に基づいて、レンズ鏡筒111におけるAFレンズ112の位置(フォーカスポジション)を、撮像装置100のCPU190に出力する。ここで、鏡筒制御部118は、例えば、AFレンズ112の移動量に応じた信号を、AFレンズ112の移動方向に応じて積算することで、レンズ鏡筒111におけるAFレンズ112の移動量(位置)を算出してもよい。
Further, the lens
レンズ駆動部116は、鏡筒制御部118による制御に応じてAFレンズ112を駆動し、レンズ鏡筒111内でAFレンズ112を光軸方向に移動させる。
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を介して出力する。
In addition, the
A/D変換部120は、撮像素子119によって変換された電気信号をデジタル化して、デジタル信号である画像をバッファメモリ部130に記憶させる。
The A / D conversion unit 120 digitizes the electric signal converted by the
操作部180は、例えば、電源スイッチ、シャッタボタン、マルチセレクタ(十字キー)、又はその他の操作キーを備え、ユーザによって操作されることでユーザの操作入力を受け付け、受け付けた操作入力に応じた信号をCPU190に出力する。
The
画像処理装置140は、記憶部160に記憶されている画像処理用情報に基づいて、バッファメモリ部130に一時的に記憶されている画像を画像処理する。ここで、画像処理装置140は、予め定められた露光量で被写体が撮像された画像から、画像特徴量に基づいて被写体領域を抽出する。画像処理された画像は、通信部170を介して記憶媒体200に記憶される。
The image processing apparatus 140 performs image processing on the image temporarily stored in the
また、画像処理装置140は、抽出した被写体領域を撮像するための撮像用情報、及び被写体領域を画像処理するための画像処理用情報の少なくとも一方を、被写体領域のタグ情報及びブラウズ用情報として記憶部160に記憶させる。
Further, the image processing apparatus 140 stores at least one of imaging information for imaging the extracted subject area and image processing information for image processing of the subject area as tag information and browsing information of the subject area. Stored in the
ここで、撮像用情報及び画像処理用情報とは、例えば、被写体領域の位置(例えば、画像の上側領域)を示す情報、被写体領域の画像特徴量(例えば、輝度、色情報)を示す情報、絞り値(Aperture Value:Av)、露光量(露出値)(EV)、画像のホワイトバランス(カラーバランス)、画像のシーン(例えば、ポートレート、風景シーン、夜景シーン、夕景シーン、朝焼けシーン、花火シーン)、画像の種別(タイプ)(例えば、晴天、曇天、雨天、夕景、朝焼け、夜景、花火)、撮像された画像の向きとしての縦横を示す情報、及び、被写体領域の優先度である。 Here, the imaging information and the image processing information are, for example, information indicating the position of the subject region (for example, the upper region of the image), information indicating the image feature amount (for example, luminance and color information) of the subject region, Aperture value (Av), exposure (exposure value) (EV), image white balance (color balance), image scene (eg, portrait, landscape scene, night scene, sunset scene, sunrise scene, fireworks) Scene), image type (for example, fine weather, cloudy weather, rainy weather, sunset, sunrise, night view, fireworks), information indicating the vertical and horizontal directions of the captured image, and the priority of the subject area.
また、画像処理装置140は、抽出された被写体領域のうち、予め定められた被写体(例えば、空、山、看板)による被写体領域を、露光量、絞り値/減光値(ND)すなわち被写体輝度BV値、領域の輝度(明るさ)又は色情報、及び画像における被写体領域の位置に基づいて検出する。画像処理装置140の詳細については後述する。 In addition, the image processing apparatus 140 determines a subject area based on a predetermined subject (for example, sky, mountain, signboard) among the extracted subject areas as an exposure amount, an aperture value / dimming value (ND), that is, subject brightness. Detection is based on the BV value, the luminance (brightness) or color information of the area, and the position of the subject area in the image. Details of the image processing apparatus 140 will be described later.
表示部150は、撮像部110によって得られた画像、及び操作画面等を表示する。表示部150は、例えば、液晶ディスプレイである。
The
バッファメモリ部130は、撮像部110によって撮像された画像を、一時的に記憶する。
The
記憶部160は、各種データ(例えば、撮像用情報、画像処理用情報)を、被写体領域のタグ情報及びブラウズ用情報として記憶する。また、記憶部160は、無限遠に在る被写体(例えば、空、山)に対するコントラストスキャンにより検出されたコントラストのピーク値を示すレンズ位置を記憶する。ここで、無限遠に在る被写体とは、例えば、予め定められた距離以上、撮像装置100から離れた位置に在る被写体である。
The
CPU190(制御部)は、撮像用情報に基づいて、撮像部110を制御する。また、CPU190は、撮像用情報に基づく撮像処理(プレ処理)として、例えば、焦点調整(AF)の設定、露出調整(AE)の設定、ホワイトバランス調整(AWB)の設定、被写体像(オブジェクト)の追尾の設定、画像の種別判定の設定、色補正処理の設定、被写体像の拡大表示の設定、パンニング表示の設定、ズーム倍率に連動した明るさの最適化の設定を制御する。
The CPU 190 (control unit) controls the
CPU190は、撮像用情報に基づく撮像処理(プレ処理)として、例えば、連写するか否かの設定、合焦させる被写体像の切り替えの設定、焦点距離の連続変更の設定、撮像装置100の発光部(不図示)が発光する閃光の発光量の変更の設定、露光量EVの変更の設定、及び、シャッタ速度Tvの変更を実行するか否かの設定を制御する。
As the imaging process (pre-process) based on the imaging information, the
CPU190は、画像処理用情報に基づくポスト処理として、例えば、トーンカーブ(階調カーブ)の設定を制御する。また、CPU190は、操作部180から入力された「操作入力に応じた信号」に基づいて、静止画形式又は動画形式の画像を、画像処理装置140に画像処理させる。
For example, the
CPU190は、無限遠に在る被写体による被写体領域を撮像するか否か、すなわち、コントラストスキャンを実行する対象の位置(AFポイント)と、無限遠に在る被写体による被写体領域の位置とが一致するか否かを判定する。
The
CPU190は、被写体が無限遠に在る場合、無限遠に合焦させるレンズ位置までAFレンズ112を駆動させる。ここで、CPU190は、撮像用情報に基づいてレンズ鏡筒111の鏡筒制御部118に駆動制御信号を出力することで、被写体領域に合焦させるよう焦点を調節する。
When the subject is at infinity, the
なお、CPU190は、無限遠に合焦させるレンズ位置の近傍で、AFレンズ112を駆動させてコントラストスキャンを実行し、このコントラストスキャンの結果に基づいて、被写体に合焦させてもよい。ここで、CPU190は、被写体に対して予め定められたピーク値以上のコントラストが、コントラストスキャンにより検出された場合、そのピーク値を示すレンズ位置までAFレンズ112を駆動させる。また、CPU190は、コントラストスキャンにより検出されたピーク値を示すレンズ位置を、記憶部160に記憶させる。
Note that the
また、CPU190は、撮像部110により撮像された画像の中心(画角中心)領域に対してコントラストスキャンを実行し、検出されたコントラストのピーク値が予め定められたピーク値未満である場合、その中心領域の周辺に対してコントラストスキャンを更に実行してもよい。ここで、中心領域の周辺とは、例えば、画角中心を含む予め定められた拡大領域でもよいし、画角中心を含まない予め定められた領域でもよい。これにより、CPU190は、画角中心に撮像された空が一様でエッジ(コントラスト)がない場合でも、画角中心の周辺に撮像された山などの遠景による被写体領域のコントラストのピーク値を検出することができる。
In addition, the
通信部170は、取り外し可能な記憶媒体200(カードメモリ等)と接続され、記憶媒体200に対する各種データ(例えば、画像データ、タグ情報、ブラウズ用情報)の書込み、読み出し又は消去を実行する。
The
記憶媒体200は、撮像装置100に対して着脱可能に接続される記憶部であって、各種データ(例えば、タグ情報、ブラウズ用情報)と、画像データとを対応付けて記憶する。なお、記憶媒体200は、撮像装置100と一体であってもよい。
The
次に、画像処理装置140の詳細について説明する。
画像処理装置140は、特徴量算出部141と、領域抽出部142と、検出部143とを備える。
Next, details of the image processing apparatus 140 will be described.
The image processing apparatus 140 includes a feature amount calculation unit 141, a region extraction unit 142, and a detection unit 143.
特徴量算出部141は、撮像部110が撮像した画像を、バッファメモリ部130から取得する。また、特徴量算出部141は、バッファメモリ部130から取得した画像における複数の特徴毎に、その画像特徴量(例えば、輝度(明るさ)、色情報(カラーバランス、色温度))を算出し、算出した画像特徴量を領域抽出部142に出力する。
The feature amount calculation unit 141 acquires the image captured by the
領域抽出部142は、特徴量算出部141が算出した画像特徴量を取得する。また、領域抽出部142は、予め定められた露光量で被写体が撮像された画像を、バッファメモリ部130から取得し、取得した画像から画像特徴量に基づいて被写体領域を抽出する。
The region extraction unit 142 acquires the image feature amount calculated by the feature amount calculation unit 141. In addition, the region extraction unit 142 acquires an image in which a subject is captured with a predetermined exposure amount from the
ここで、領域抽出部142は、画像特徴量の種別毎と、その画像特徴量のレベル毎とに応じて画像から生成された複数の分割画像から、被写体領域を抽出する。例えば、領域抽出部142は、「輝度信号Y、色差信号U及びV」毎と、その画像特徴量のレベル毎とに応じて画像から生成された、YUVの3種類×3レベル(=9枚)の画像から、被写体領域を抽出する。また、領域抽出部142は、被写体領域にラベルを割り当てる(ラベリング)。 Here, the region extraction unit 142 extracts a subject region from a plurality of divided images generated from an image for each type of image feature amount and for each level of the image feature amount. For example, the region extraction unit 142 generates three types of YUVs × 3 levels (= 9 images) generated from an image for each “luminance signal Y, color difference signals U and V” and for each level of the image feature amount. ) To extract the subject area. The area extraction unit 142 assigns a label to the subject area (labeling).
検出部143は、領域抽出部142により抽出された被写体領域のうち、無限遠に在る被写体による被写体領域を、画像特徴量に基づいて検出する。また、検出部143は、無限遠に在る被写体による被写体領域のうち、予め定められた被写体による被写体領域を、予め定められた輝度、及び画像における被写体領域の位置(座標)に基づいて検出する。ここで、予め定められた被写体とは、例えば、空、山、又は看板である。以下では、一例として、予め定められた被写体が空であるものとして説明を続ける。 The detection unit 143 detects a subject region due to a subject at infinity among the subject regions extracted by the region extraction unit 142 based on the image feature amount. In addition, the detection unit 143 detects a subject region by a predetermined subject among subject regions by a subject at infinity based on a predetermined luminance and the position (coordinates) of the subject region in the image. . Here, the predetermined subject is, for example, the sky, a mountain, or a signboard. Hereinafter, as an example, the description will be continued assuming that the predetermined subject is empty.
検出部143は、空による被写体領域(空マスク)を、空の画像特徴量に基づいて検出する。例えば、被写体領域が、空による被写体領域であると判定されるための条件には、
1A)予め定められた露光量、絞り値、減光値(ND)で撮像された場合、被写体領域の輝度(明るさ)が、空の画像特徴量として予め定められた輝度以上であること
がある。さらに、
2A)撮像された画像における被写体領域の位置が、予め定められた位置(例えば、画像の上側領域)にあること
3A)予め定められた露光量、絞り値、減光値で撮像された場合、被写体領域の色情報が、空の画像特徴量として固有範囲(既知範囲)であること
が条件に加えられてもよい。
The detection unit 143 detects a subject region (sky mask) due to the sky based on the sky image feature amount. For example, the conditions for determining that the subject area is a subject area due to the sky include:
1A) When an image is captured with a predetermined exposure amount, aperture value, and dimming value (ND), the luminance (brightness) of the subject area may be equal to or higher than a predetermined luminance as an empty image feature amount. is there. further,
2A) The position of the subject region in the captured image is in a predetermined position (for example, the upper region of the image) 3A) When the image is captured with a predetermined exposure amount, aperture value, and dimming value, It may be added as a condition that the color information of the subject area is a unique range (known range) as an empty image feature amount.
次に、撮像装置100の動作手順を説明する。
図2は、空による被写体領域を画像特徴量に基づいて撮像する動作手順を示すフローチャートである。特徴量算出部141は、撮像された画像(スルー画像、又はスルー画像列)を、バッファメモリ部130から取り込み(ステップS1)、取り込んだ画像に対して、基本的な画像処理を実行する(ステップS2)。
Next, an operation procedure of the
FIG. 2 is a flowchart illustrating an operation procedure for capturing an image of a subject area in the sky based on an image feature amount. The feature amount calculation unit 141 captures a captured image (through image or through image sequence) from the buffer memory unit 130 (step S1), and executes basic image processing on the captured image (step S1). S2).
領域抽出部142は、リサイズした画像を、バッファメモリ部130を介して画像特徴量(例えば、輝度Y,色差U,色差V)毎に読み込む(ステップS3)。領域抽出部142は、読み込んだ画像における複数の画像特徴量について、近似している画像特徴量に基づいて被写体領域を抽出する(ステップS4)。また、領域抽出部142は、抽出した被写体領域に対してラベリングを実行することにより、ラベルを割り当てる(ステップS5)。 The region extraction unit 142 reads the resized image for each image feature amount (for example, luminance Y, color difference U, color difference V) via the buffer memory unit 130 (step S3). The region extraction unit 142 extracts a subject region based on the approximate image feature amount for a plurality of image feature amounts in the read image (step S4). Further, the region extraction unit 142 assigns a label by executing labeling on the extracted subject region (step S5).
領域抽出部142は、ノイズと推定される領域が画像にある場合、それらの領域を画像から除去する。また、領域抽出部142は、背景と推定される領域が画像にある場合、その領域を画像から除去する(ステップS6)。 If there are regions that are estimated to be noise in the image, the region extraction unit 142 removes those regions from the image. In addition, when the region estimated to be the background is in the image, the region extraction unit 142 removes the region from the image (step S6).
検出部143は、無限遠に在る被写体による被写体領域を検出する(ステップS7)。検出部143は、被写体輝度BV値を測光した結果としての露光量(さらに、絞り値、減光値(ND)が考慮されてもよい)で撮像された被写体領域の輝度(明るさ)(又は、色情報が考慮されてもよい)、及び画像における被写体領域の位置に基づいて、無限遠に在る被写体による被写体領域のうちから、空による被写体領域を検出する(ステップS8)。 The detection unit 143 detects a subject area of a subject at infinity (step S7). The detection unit 143 detects the luminance (brightness) (or brightness) (or brightness) (or brightness) (or brightness) of the subject area (or the aperture value or the dimming value (ND) may be taken into account) as a result of photometry of the subject brightness BV value Color information may be taken into account), and the subject area due to the sky is detected from the subject areas due to the subject at infinity based on the position of the subject area in the image (step S8).
CPU190は、空による被写体領域を撮像するか否か、すなわち、コントラストスキャンを実行する対象の位置(AFポイント)と、空による被写体領域の位置とが一致するか否かを判定する。CPU190は、空による被写体領域を撮像する場合、無限遠に合焦させるレンズ位置までAFレンズ112を駆動させる(ステップS9)。撮像部110は、露光(撮像処理)を実行する(ステップS10)。
The
また、CPU190は、空による被写体領域を撮像する場合、ステップS9を実行する代わりに、無限遠に合焦させるレンズ位置の近傍(一定範囲)でAFレンズ112を駆動させて、コントラストスキャンを実行し、このコントラストスキャンの結果に基づいて、空による被写体領域に合焦させてもよい(ステップS11)。
In addition, when imaging a subject area in the sky, the
以上のように、撮像装置100は、撮像する撮像部110と、撮像された被写体の画像特徴量(例えば、輝度)を算出する特徴量算出部141と、無限遠に在る前記被写体を、被写体輝度BV値、前記画像特徴量(例えば、輝度)に基づいて検出する検出部143と、無限遠に在る前記被写体が検出された場合、無限遠に合焦させる方向にAFレンズ112を駆動させるCPU190(制御部)と、を備える。
As described above, the
この構成により、CPU190は、無限遠に在る前記被写体が検出された場合、無限遠に合焦させる方向にAFレンズ112を駆動させる。これにより、撮像装置100は、無限遠に在る被写体を適切に撮像することができる。例えば、撮像装置100は、無限遠に在る被写体(例えば、空、山)に合焦(AF)させるまでの時間を短くすることができる(スキャン時間及び撮像ラグの短縮)。また、撮像装置100は、被写体が低コントラストである場合でも、画角及びズーム倍率に関係なく無限遠に在る被写体に、コントラストスキャンすることなく合焦させることができる。また、被写体の抽出とその特徴量が無限被写体の性質を備えている場合、撮像装置100は、測距することなく、被写体領域に合焦させることができる。
With this configuration, when the subject at infinity is detected, the
また、撮像された画像から被写体領域(例えば、空による被写体領域)を抽出する領域抽出部142を備え、特徴量算出部141は、前記画像特徴量として、前記被写体領域の輝度を算出し、検出部143は、前記被写体領域のうち、前記被写体領域の輝度が予め定められた輝度以上である前記被写体領域を、前記被写体として検出する。
この構成により、検出部143は、前記被写体領域のうち、前記被写体領域の輝度が予め定められた輝度以上である前記被写体領域を、前記被写体(例えば、空、山)として検出する。これにより、撮像装置100は、無限遠に在る被写体を、被写体領域の輝度に基づいて適切に撮像することができる。
Further, the image processing apparatus includes an area extracting unit 142 that extracts a subject area (for example, a subject area in the sky) from the captured image, and the feature amount calculating unit 141 calculates and detects the luminance of the subject region as the image feature amount. The unit 143 detects, as the subject, the subject region in which the luminance of the subject region is equal to or higher than a predetermined luminance among the subject regions.
With this configuration, the detection unit 143 detects, as the subject (for example, sky or mountain), the subject region in the subject region in which the brightness of the subject region is equal to or higher than a predetermined brightness. As a result, the
また、特徴量算出部141は、撮像された空の画像特徴量を算出し、検出部143は、無限遠に在る前記被写体である空を、空の画像特徴量に基づいて検出する。
これにより、撮像装置100は、無限遠に在る空を適切に撮像することができる。
The feature amount calculation unit 141 calculates a captured sky image feature amount, and the detection unit 143 detects the sky that is the subject at infinity based on the sky image feature amount.
Thereby, the
また、CPU190は、無限遠に合焦させるレンズ位置の近傍(一定範囲)でAFレンズ112を駆動させてコントラストスキャンを実行し、該コントラストスキャンの結果に基づいて、前記被写体に合焦させる。
これにより、撮像装置100は、工場出荷時に調整済みのレンズ位置が、時間経過、温度特性、又は撮像装置の姿勢差により変化した場合でも、無限遠に在る被写体に合焦させることができる。また、撮像装置100は、被写体が無限遠より手前に在る場合でも、合焦の精度を確保することができる。
Further, the
Accordingly, the
また、CPU190は、撮像部110により撮像された画像に検出された、無限遠に在る被写体による領域(所定領域、例えば、中心領域、又は、任意の位置に在る領域)に対してコントラストスキャンを実行し、該コントラストスキャンの結果により検出されたコントラストのピーク値が、予め定められたピーク値未満である場合、前記所定領域の周辺に対してコントラストスキャンを更に実行する。
これにより、撮像装置100は、無限遠に在る被写体が低コントラストである場合(例えば、被写体である空が一様でエッジが無いために、コントラストの評価ができない場合)でも、前記中心領域の周辺のコントラストに基づいて、無限遠に在る被写体に合焦させることができる。但し、この場合、撮像装置100は、無限遠に無い直近の物体のエッジのコントラストを評価してしまうことが無いよう、合焦した際のレンズの位置に制限を設けることで、無限遠に無い直近の物体のエッジの影響を排除することが必要である。
Further, the
As a result, the
また、CPU190は、前記被写体に対して予め定められたピーク値以上のコントラストが、コントラストスキャンにより検出された場合、前記ピーク値を示すレンズ位置までAFレンズ112を駆動させる。
これにより、撮像装置100は、工場出荷時に調整済みのレンズ位置が、時間経過、温度特性、又は撮像装置の姿勢差により変化した場合でも、無限遠に在る被写体に合焦させることができる。なお、このレンズ位置は、工場出荷時の無限レンズ位置(初期値)を校正又は追加補正するための情報として、記憶される。また、記憶されたレンズ位置は、時間が経過した場合、又は、温度が変化した場合に、再度、更新されてもよい。
また、撮像装置100は、被写体が無限遠より手前に在る場合でも、合焦の精度を確保することができる。
Further, when a contrast equal to or higher than a predetermined peak value for the subject is detected by contrast scanning, the
Accordingly, the
Further, the
また、CPU190は、画像における予め定められた位置に前記被写体(例えば、空)が撮像されている場合、無限遠に合焦させる方向にAFレンズ112を駆動させる。
この構成により、撮像装置100は、例えば、空による被写体領域を撮像するか否か、すなわち、AFポイントの位置と空による被写体領域の位置とが一致するか否かを判定し、空による被写体領域を撮像する場合には、無限遠に合焦させる方向にAFレンズ112を駆動させる。これにより、撮像装置100は、無限遠に在る被写体(例えば、空、山)に合焦(AF)させるまでの時間を、被写体までの距離を測距する場合と比較して短くすることができる。
In addition, when the subject (for example, the sky) is imaged at a predetermined position in the image, the
With this configuration, the
[第2実施形態]
第2実施形態では、CPU190が、自装置から被写体までの距離(測距された奥行き)を測定する点が、第1実施形態と相違する。以下では、第1実施形態との相違点についてのみ説明する。
[Second Embodiment]
The second embodiment is different from the first embodiment in that the
撮像装置100の構成を説明する。
CPU190(制御部)は、表示部150にスルー画を表示させている状態で、自装置から被写体までの距離(奥行き)を測定する。ここで、CPU190は、自装置から被写体までの距離を、例えば、位相差検出方式又はコントラストスキャンにより測定する。CPU190は、予め定められた被写体が検出部143により検出された場合、無限遠に合焦させる方向にAFレンズ112を駆動させる。
A configuration of the
The CPU 190 (control unit) measures the distance (depth) from the own device to the subject in a state where the through image is displayed on the
なお、CPU190は、無限遠に合焦させるAFレンズ112のレンズ位置の近傍で、AFレンズ112を駆動させてコントラストスキャンを実行し、このコントラストスキャンの結果に基づいて、被写体に合焦させてもよい。ここで、無限遠に合焦させるAFレンズ112のレンズ位置の近傍とは、例えば、無限遠に合焦させるAFレンズ112のレンズ位置を含むレンズ駆動範囲の一部である。
It should be noted that the
記憶部160は、被写体領域を検出するために予め定められたプロファイルデータを記憶する。図3には、空による被写体領域を検出するためのプロファイル(以下、「空用プロファイル」という)の例が示されている(ISO感度100)。空用プロファイルの項目には、一例として、画像の種別と、露光量EVと、検知用カラーバランスCBと、設定用カラーバランスと、カラーマトリクスとがある。
The
画像の種別(タイプ)には、例えば、晴天シーンと、曇天シーンと、雨天シーンと、夕景シーンと、朝焼けシーンと、夜景シーンと、花火シーンとがある。さらに、画像の各種別には、被写体領域が撮像された緯度及び経度と、撮像装置に対する被写体の方位、被写体領域を撮像した際の日時と、撮像装置100が備えるセンサ(不図示)により測定された撮像装置のチルト角とが定められていてもよい。
Examples of the image type include a clear sky scene, a cloudy scene, a rainy scene, an evening scene, a morning glow scene, a night scene, and a fireworks scene. Furthermore, for each type of image, the latitude and longitude at which the subject area was imaged, the orientation of the subject with respect to the imaging device, the date and time when the subject area was imaged, and a sensor (not shown) included in the
露光量EVは、被写体領域が撮像された際(撮像時)の画像の種別毎の露光量である。露光量EVと、輝度 (Brightness Value:Bv)と、感度Sv (Speed Value:Sv)と、絞り値Avと、シャッタ速度(Time Value:Tv)とには、露光量EV=輝度Bv+感度Sv=絞り値Av+シャッタ速度Tvという関係がある。 The exposure amount EV is an exposure amount for each type of image when the subject area is imaged (at the time of imaging). The exposure amount EV = luminance Bv + sensitivity Sv = the exposure amount EV, the brightness (Brightness Value: Bv), the sensitivity Sv (Speed Value: Sv), the aperture value Av, and the shutter speed (Time Value: Tv). There is a relationship of aperture value Av + shutter speed Tv.
検知用カラーバランスCB(R:G:B)は、画像の種別毎に予め測定された、空による被写体領域として固有の色情報である。季節、緯度及び経度、撮像時刻、並びに、空の状態に応じて、空のカラーバランス(分光、色温度)は変化するものの、例えば、晴天の場合であれば、空のカラーバランスは、固有のカラーバランス範囲に概ね収まる。 The detection color balance CB (R: G: B) is color information unique to the sky subject area, measured in advance for each type of image. Although the sky color balance (spectrum, color temperature) changes according to the season, latitude and longitude, imaging time, and sky condition, for example, in the case of fine weather, the sky color balance is unique. Generally fits within the color balance range.
設定用カラーバランスは、画像の種別毎に予め定められたホワイトバランス係数(基準ホワイトバランス)である。空による被写体領域を撮像する際、CPU190は、撮像部110に基準ホワイトバランス係数を定める。これにより、撮像部110は、基準ホワイトバランス係数に基づいて、空による被写体領域を撮像することができる。
The setting color balance is a white balance coefficient (reference white balance) determined in advance for each type of image. The
カラーマトリクスは、画像の種別毎の画像処理用情報として予め定められたカラーマトリクスである。設定用カラーバランスは、カラーマトリクス代わりに、例えば、ルックアップテーブル(LUT)に基づいて適切に定められてもよい。 The color matrix is a color matrix predetermined as image processing information for each type of image. The setting color balance may be appropriately determined based on, for example, a lookup table (LUT) instead of the color matrix.
図1に戻り、撮像装置100の構成の説明を続ける。検出部143は、撮像用情報及び画像処理用情報として、画像の種別(例えば、晴天、曇天、雨天、夕景、朝焼け、夜景、花火)を定める。ここで、検出部143は、空用プロファイルの各項目と、撮像された被写体領域の各項目とをパターン照合することにより、画像の種別を定める。例えば、検出部143は、空用プロファイルの検知用カラーバランスと、撮像された被写体領域のカラーバランス(画像特徴量)とをパターン照合する。パターン照合により一致する項目が閾値以上である画像の種別が在る場合、検出部143は、一致する項目が閾値以上である画像の種別を、撮像された画像の種別と定める。
Returning to FIG. 1, the description of the configuration of the
また、検出部143は、撮像された画像の種別に基づいて、撮像用情報及び画像処理用情報として、画像のホワイトバランス(カラーバランス)を定める。例えば、検出部143は、空用プロファイルにおいて、撮像された空の種別に対応するホワイトバランス(カラーバランス)を、撮像用情報及び画像処理用情報として定める。 Further, the detection unit 143 determines the white balance (color balance) of the image as the imaging information and the image processing information based on the type of the captured image. For example, in the sky profile, the detection unit 143 determines white balance (color balance) corresponding to the captured sky type as image pickup information and image processing information.
また、検出部143は、撮像用情報及び画像処理用情報として、画像のシーンを定める。例えば、検出部143は、風景が撮像されている画像であるか否かを、空による被写体領域の面積に基づいて判定し、判定結果を表示部150に表示させる。検出部143は、例えば、空による被写体領域の面積が閾値以上である場合、風景が撮像されている画像(風景シーン)であると判定する。
In addition, the detection unit 143 determines an image scene as the imaging information and the image processing information. For example, the detection unit 143 determines whether or not the image is a landscape image based on the area of the subject area due to the sky, and causes the
また、検出部143は、全ての被写体領域が、無限遠に在る被写体による被写体領域である場合、風景が撮像されている画像(風景シーン)であると判定する。検出部143は、シーン判定の結果をCPU190に通知する。なお、シーン判定の結果は、画像処理に反映されてもよい。例えば、夕焼けシーンであると判定された場合、赤色の彩度を上げる画像処理が、画像に施されてもよい。風景シーンであると判定された場合、空気による霞を低減するため、コントラストがやや強調されてもよいし、エッジを強調する画像処理が、画像に施されてもよい。
In addition, when all the subject areas are subject areas formed by subjects at infinity, the detection unit 143 determines that the image is a landscape image (landscape scene). The detection unit 143 notifies the
図4には、被写体領域の例が示されている。図4(A)には、抽出された被写体領域の例が示されている。図4(A)では、被写体領域300、302、303及び304が画像に抽出されたとする。また、図4(B)には、抽出された被写体領域のうち、無限遠に在る被写体による被写体領域(背景マスク)の例が示されている。図4(B)では、無限遠に在る被写体による被写体領域として、被写体領域300、303及び304が画像に抽出されたとする。
FIG. 4 shows an example of the subject area. FIG. 4A shows an example of the extracted subject area. In FIG. 4A, it is assumed that the
検出部143は、画像特徴量と、自装置から被写体までの距離(奥行き)とに基づいて、予め定められた被写体(例えば、空)を検出する。例えば、検出部143は、被写体領域のカラーバランスが空用プロファイルデータの検知用カラーバランスと一致し、且つ、その被写体領域が無限遠に在る場合、その被写体領域が空による被写体領域であると判定する。これにより、空による被写体領域として、例えば、被写体領域304が検出される(雲の真ん中が空いている構図)。
The detection unit 143 detects a predetermined subject (for example, sky) based on the image feature amount and the distance (depth) from the device to the subject. For example, when the color balance of the subject area matches the detection color balance of the sky profile data and the subject area is at infinity, the detection unit 143 determines that the subject area is a subject area due to the sky. judge. Thereby, for example, the
次に、撮像装置100の動作手順を説明する。
図5は、空による被写体領域を画像特徴量と距離とに基づいて撮像する動作手順を示すフローチャートである。CPU190は、予め定められた基準露光量、及び基準ホワイトバランス(検知用カラーバランス)を撮像部110に設定し、撮像部110に撮像させる(ステップSa1)。撮像部110は、基準露光量及び基準ホワイトバランスに基づいて、スルー画を露光する(撮像処理)(ステップSa2)。
Next, an operation procedure of the
FIG. 5 is a flowchart illustrating an operation procedure for capturing an image of a subject area in the sky based on an image feature amount and a distance. The
領域抽出部142は、画像特徴量に基づいて被写体領域を抽出する。検出部143は、領域抽出部142により抽出された被写体領域のうち、無限遠に在る被写体による被写体領域を、画像特徴量に基づいて検出する。検出部143は、無限遠に在る被写体による被写体領域を示す情報(領域条件)を、記憶部160に記憶させる(ステップSa3)。
The region extraction unit 142 extracts a subject region based on the image feature amount. The detection unit 143 detects a subject region due to a subject at infinity among the subject regions extracted by the region extraction unit 142 based on the image feature amount. The detection unit 143 causes the
CPU190は、自装置から各被写体までの距離(奥行き)を測定する。ここで、測定した距離が無限遠である場合、CPU190は、その被写体による被写体領域の内側及び外側の両方について、その被写体までの距離を測定する(ステップSa4)。また、CPU190は、無限遠に在る被写体までの距離を測定する(ステップSa5)。
The
検出部143は、画像特徴量(例えば、カラーバランス)と、自装置から被写体までの距離(奥行き)とに基づいて、空による被写体領域を検出する(ステップSa6)。CPU190は、画像記憶指示(撮像トリガー)があるか否かを判定する(ステップSa7)。画像記憶指示がある場合(ステップSa7−Yes)、CPU190は、空による被写体領域を撮像するか否か、すなわち、コントラストスキャンを実行する対象の位置(AFポイント)と、空による被写体領域の位置とが一致するか否かを判定する(ステップSa8)。
The detection unit 143 detects a subject region due to the sky based on the image feature amount (for example, color balance) and the distance (depth) from the device to the subject (step Sa6). The
空による被写体領域を撮像する場合(ステップSa8−Yes)、CPU190は、無限遠に合焦させるレンズ位置を含む一定範囲内まで、AFレンズ112を駆動させる(ステップSa9)。CPU190は、この一定範囲内でAFレンズ112を駆動させるコントラストスキャンにより、予め定められた値(空用プロファイル内に格納されている値でもよい)に基づく閾値以上のコントラストのピーク値が検出されたか否かを判定する(ステップSa10)。
When imaging the subject area in the sky (step Sa8—Yes), the
閾値以上のコントラストのピーク値が検出されない場合(ステップSa10−No)、CPU190は、無限遠に合焦させるレンズ位置までAFレンズ112を駆動させる(ステップSa11)。撮像部110は、露光(撮像処理)を実行する(ステップSa12)。 一方、閾値以上のコントラストのピーク値が検出された場合(ステップSa10−Yes)、CPU190は、ピーク値を示すレンズ位置までAFレンズ112を駆動させる(ステップSa13)。そして、CPU190は、ステップSa12に処理を進める。
When the peak value of the contrast equal to or higher than the threshold is not detected (step Sa10-No), the
また、ステップSa8において、空による被写体領域を撮像しない場合(ステップSa8−No)、CPU190は、所定の通常撮像処理を実行する(ステップSa14)。
In step Sa8, when the subject area due to the sky is not imaged (step Sa8-No), the
以上のように、撮像装置100は、撮像する撮像部110と、撮像された被写体の画像特徴量(例えば、輝度、色情報)を算出する特徴量算出部141と、自装置から前記被写体までの距離(測距された奥行き)と前記画像特徴量(プロファイルデータ)とに基づいて、無限遠に在る前記被写体のうちから、予め定められた被写体(例えば、空、山)を検出する検出部143と、前記予め定められた被写体が検出された場合、無限遠に合焦させる方向にAFレンズ112を駆動させるCPU190と、を備える。
As described above, the
この構成により、CPU190は、前記予め定められた被写体が検出された場合、無限遠に合焦させる方向にAFレンズ112を駆動させる。これにより、撮像装置100は、無限遠に在る被写体を、適切に撮像することができる。例えば、撮像装置100は、無限遠に在る被写体(例えば、空、山)に合焦(AF)させるまでの時間を短くすることができる。また、撮像装置100は、低コントラストの遠景に対しても、低コントラスト閾値を利用して合焦させることができる。また、例えば、撮像装置100は、無限遠に在る被写体であるか否かを識別するために、画像における被写体の位置を限定(例えば、画像の上側領域に限定)しなくても、限定された位置以外に撮像された被写体を識別して撮像することができる。
With this configuration, when the predetermined subject is detected, the
また、撮像装置100は、無限遠に在る被写体を、適切に露出調整(AE)することができる。また、撮像装置100は、無限遠に在る被写体を含むシーンを、適切に判定することができる。また、撮像装置100は、遮蔽物の間に空が僅かに見えている(例えば、木々の真ん中が空いている)特異な構図を、適切に撮像することができる。また、空は無限遠に在るため、焦点を再度調整する必要性がないので、撮像装置100は、無限遠に焦点を固定すること(置きピン)が可能である。
In addition, the
[第3実施形態]
第3実施形態では、オンザフライ調整(ユーザの操作による現場調整)が実行される点が、第1実施形態及び第2実施形態と相違する。以下では、第1実施形態及び第2実施形態との相違点についてのみ説明する。
[Third Embodiment]
The third embodiment is different from the first embodiment and the second embodiment in that on-the-fly adjustment (on-site adjustment by a user operation) is executed. Hereinafter, only differences from the first embodiment and the second embodiment will be described.
無限遠に合焦させるAFレンズ112のレンズ位置の調整は、撮像装置100の工場出荷時に行われるのが一般的である。第3実施形態では、CPU190は、無限遠に在り且つコントラストが高い被写体(例えば、空とその直下の建物)を利用して、無限遠に合焦させるAFレンズ112のレンズ位置を再調整する。
Adjustment of the lens position of the
操作部180は、ユーザによる操作入力により、シーンモードの指定を受け付ける。以下では、一例として、風景を撮像するためのシーンモードである「風景シーン」が指定されたものとして説明を続ける。また、撮像部110は、撮像装置100が保持されていることにより、無限遠に在る空に向けられているとする。
The
検出部143は、空による被写体領域を、空の画像特徴量に基づいて検出する。ここで、検出部143は、領域抽出部142により抽出された被写体領域でなく、バッファメモリ部130から取得した画像から、空による被写体領域を、空の画像特徴量に基づいて検出してもよい。
The detection unit 143 detects the subject area due to the sky based on the sky image feature amount. Here, the detection unit 143 may detect the subject region due to the sky from the image acquired from the
被写体領域が、空による被写体領域であると判定されるための条件には、
1B)予め定められた露光量、絞り値、減光値(ND)で撮像された場合、すなわち、測光された被写体輝度BV値が所定値以上であり、且つ、被写体領域の輝度(明るさ)が、空の画像特徴量として予め定められた輝度以上であること
がある。さらに、
2B)撮像された画像における被写体領域の位置が、予め定められた位置(例えば、画像の上側領域)にあること
3B)予め定められた露光量、絞り値、減光値で撮像された場合、被写体領域の色情報が、空の画像特徴量として固有範囲(既知範囲)であること
が条件に加えられてもよい。
The conditions for determining that the subject area is a subject area due to the sky are:
1B) When an image is captured with a predetermined exposure amount, aperture value, and dimming value (ND), that is, the measured subject brightness BV value is equal to or greater than a predetermined value, and the brightness (brightness) of the subject area May be greater than or equal to a predetermined brightness as an empty image feature amount. further,
2B) The position of the subject region in the captured image is in a predetermined position (for example, the upper region of the image) 3B) When the image is captured with a predetermined exposure amount, aperture value, and dimming value, It may be added as a condition that the color information of the subject area is a unique range (known range) as an empty image feature amount.
また、CPU190は、空による被写体領域であると判定されるための条件を満たす被写体領域(マスク)と、その被写体領域の境界を含む領域とに対し、自装置から被写体までの距離を、例えば、位相差検出方式又はコントラストスキャンにより測定する。
Further, the
CPU190は、検出されたコントラストのピーク値を示すレンズ位置が、無限遠に合焦させるレンズ位置(再調整前)に対して無限側に在る場合、検出されたコントラストのピーク値を示すレンズ位置を、無限遠に合焦させるレンズ位置(再調整後)として、記憶部160に記憶させる。また、CPU190は、検出されたコントラストのピーク値を示すレンズ位置が、無限遠に合焦させるレンズ位置(再調整前)に対して至近側に在り、且つ、一定範囲内に在る場合、検出されたコントラストのピーク値を示すレンズ位置を、無限遠に合焦させるレンズ位置(再調整後)として、記憶部160に記憶させる。
If the lens position indicating the detected contrast peak value is on the infinity side with respect to the lens position focused on infinity (before readjustment), the
以上のように、記憶部160は、無限遠に在る被写体に対するコントラストスキャンにより検出されたコントラストのピーク値を示すレンズ位置を記憶する。
これにより、記憶部160を備える撮像装置100は、撮像装置100は、工場出荷時に調整済みのレンズ位置が、時間経過、温度特性、又は撮像装置の姿勢差により変化した場合でも、無限遠に在る被写体に合焦させることができる。また、記憶部160を備える撮像装置100は、被写体が無限遠より手前に在る場合でも、合焦の精度を確保することができる。また、記憶部160を備える撮像装置100は、撮像装置100及びレンズ鏡筒111が修理部門に戻されなくても、オンザフライ調整を実行することができる。
As described above, the
Thereby, 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.
例えば、検出部143は、被写体領域に他の被写体領域の色又は彩度が、どの程度混ざっているかに基づいて、被写体領域を識別してもよい。ここで、検出部143は、空色が混ざっている緑色の被写体領域を、山による被写体領域であると識別してもよい。 For example, the detection unit 143 may identify the subject region based on how much the subject region is mixed with the color or saturation of another subject region. Here, the detection unit 143 may identify a green subject region in which sky blue is mixed as a subject region due to mountains.
また、上記に説明した撮像装置を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより、実行処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。 In addition, the program for realizing the imaging apparatus described above is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed, thereby executing an execution process. May be. 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” means a volatile memory (for example, DRAM (Dynamic) in a computer system which becomes a server or a client when a program is transmitted through 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.
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…領域抽出部142…検出部、160…記憶部、190…CPU(制御部)
DESCRIPTION OF
Claims (12)
撮像された被写体の画像特徴量を算出する特徴量算出部と、
撮像された前記被写体のうち、無限遠に在る前記被写体を前記画像特徴量に基づいて検出する検出部と、
無限遠に在る前記被写体が検出された場合、無限遠に合焦させる方向に前記合焦レンズを駆動させる制御部と、
を備えることを特徴とする撮像装置。 An imaging unit for imaging through a focusing lens;
A feature amount calculation unit for calculating an image feature amount of the imaged subject;
A detection unit that detects the subject at infinity among the captured subjects based on the image feature amount;
A control unit that drives the focusing lens in a direction to focus on infinity when the subject at infinity is detected;
An imaging apparatus comprising:
を備え、
前記特徴量算出部は、前記画像特徴量として、前記被写体領域の輝度を算出し、
前記検出部は、前記被写体領域のうち、前記被写体領域の輝度が予め定められた輝度以上である前記被写体領域を、前記被写体として検出することを特徴とする請求項1に記載の撮像装置。 An area extraction unit that extracts a subject area from the captured image;
The feature amount calculation unit calculates a luminance of the subject area as the image feature amount,
The imaging apparatus according to claim 1, wherein the detection unit detects, as the subject, the subject region in which the luminance of the subject region is equal to or higher than a predetermined luminance among the subject regions.
前記制御部は、前記予め定められた被写体が検出された場合、無限遠に合焦させる方向に合焦レンズを駆動させることを特徴とする請求項1又は請求項2に記載の撮像装置。 The detection unit detects a predetermined subject from the subjects at infinity based on a distance from the device to the subject and the image feature amount,
The imaging apparatus according to claim 1, wherein the control unit drives a focusing lens in a direction to focus at infinity when the predetermined subject is detected.
撮像された被写体の画像特徴量を算出する特徴量算出部と、
自装置から前記被写体までの距離と前記画像特徴量とに基づいて、無限遠に在る前記被写体のうちから、予め定められた被写体を検出する検出部と、
前記予め定められた被写体が検出された場合、無限遠に合焦させる方向に前記合焦レンズを駆動させる制御部と、
を備えることを特徴とする撮像装置。 An imaging unit for imaging through a focusing lens;
A feature amount calculation unit for calculating an image feature amount of the imaged subject;
A detection unit that detects a predetermined subject from among the subjects at infinity based on a distance from the device to the subject and the image feature amount;
A controller that drives the focusing lens in a direction to focus at infinity when the predetermined subject is detected;
An imaging apparatus comprising:
撮像部が、合焦レンズを介して撮像する手順と、
特徴量算出部が、撮像された被写体の画像特徴量を算出する手順と、
検出部が、撮像された前記被写体のうち、無限遠に在る前記被写体を前記画像特徴量に基づいて検出する手順と、
制御部が、無限遠に在る前記被写体が検出された場合、無限遠に合焦させる方向に前記合焦レンズを駆動させる手順と、
を実行させるための撮像プログラム。 On the computer,
A procedure in which the imaging unit captures an image through a focusing lens;
A procedure in which the feature amount calculation unit calculates the image feature amount of the imaged subject;
A procedure for detecting, based on the image feature amount, the subject located at infinity among the photographed subjects;
When the control unit detects the subject at infinity, a procedure for driving the focusing lens in a direction to focus at infinity;
An imaging program for executing
撮像部が、合焦レンズを介して撮像する手順と、
特徴量算出部が、撮像された被写体の画像特徴量を算出する手順と、
検出部が、自装置から前記被写体までの距離と前記画像特徴量とに基づいて、無限遠に在る前記被写体のうちから、予め定められた被写体を検出する手順と、
制御部が、前記予め定められた被写体が検出された場合、無限遠に合焦させる方向に前記合焦レンズを駆動させる手順と、
を実行させるための撮像プログラム。 On the computer,
A procedure in which the imaging unit captures an image through a focusing lens;
A procedure in which the feature amount calculation unit calculates the image feature amount of the imaged subject;
A procedure for detecting a predetermined subject from among the subjects at infinity based on a distance from the device to the subject and the image feature amount;
When the control unit detects the predetermined subject, a procedure for driving the focusing lens in a direction to focus at infinity;
An imaging program for executing
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012161599A JP2014021373A (en) | 2012-07-20 | 2012-07-20 | Imaging device, storage device, and imaging program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012161599A JP2014021373A (en) | 2012-07-20 | 2012-07-20 | Imaging device, storage device, and imaging program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014021373A true JP2014021373A (en) | 2014-02-03 |
Family
ID=50196276
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012161599A Pending JP2014021373A (en) | 2012-07-20 | 2012-07-20 | Imaging device, storage device, and imaging program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014021373A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9832364B2 (en) | 2015-10-09 | 2017-11-28 | Canon Kabushiki Kaisha | Automatic focal adjustment apparatus and method of controlling automatic focal adjustment apparatus, and image capture apparatus |
-
2012
- 2012-07-20 JP JP2012161599A patent/JP2014021373A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9832364B2 (en) | 2015-10-09 | 2017-11-28 | Canon Kabushiki Kaisha | Automatic focal adjustment apparatus and method of controlling automatic focal adjustment apparatus, and image capture apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6701075B2 (en) | Focus adjusting apparatus, image sensing apparatus, focusing method, program, and storage medium | |
US20060181634A1 (en) | Imaging apparatus having an autofocus function | |
JP2013021658A (en) | Imaging device and control method of the same | |
US20140071318A1 (en) | Imaging apparatus | |
JP6518452B2 (en) | Imaging apparatus and imaging method | |
US8294785B2 (en) | Method for adjusting photosensitiveness of digital camera | |
JP4509081B2 (en) | Digital camera and digital camera program | |
TWI393981B (en) | Use the flash to assist in detecting focal lengths | |
JP2010072619A (en) | Exposure operation device and camera | |
US11808561B2 (en) | Electronic apparatus for controlling a projector to project an image onto a screen at an actual size length, control method thereof and computer readable storage medium | |
US9888189B2 (en) | Image capturing apparatus and storage medium for storing image capturing control program | |
JP4818130B2 (en) | Imaging apparatus and control method thereof | |
JP2014021373A (en) | Imaging device, storage device, and imaging program | |
JP2010258765A (en) | Imaging apparatus | |
JP5871175B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP6351255B2 (en) | Imaging apparatus, imaging method, program, and storage medium | |
JP5899700B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP2016085248A (en) | Exposure computation device | |
JP6350562B2 (en) | Region extraction device, imaging device, and region extraction program | |
JP2011253099A (en) | Focus detector | |
JP2018181357A (en) | Region extraction device | |
JP5981898B2 (en) | Imaging apparatus and control method thereof | |
JP5888069B2 (en) | Area determination apparatus, imaging apparatus, and area determination program | |
JP2017032754A (en) | Imaging device, control method for same, and program | |
JP2015045759A (en) | Imaging device and control method of the same |