JP4983479B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4983479B2
JP4983479B2 JP2007217218A JP2007217218A JP4983479B2 JP 4983479 B2 JP4983479 B2 JP 4983479B2 JP 2007217218 A JP2007217218 A JP 2007217218A JP 2007217218 A JP2007217218 A JP 2007217218A JP 4983479 B2 JP4983479 B2 JP 4983479B2
Authority
JP
Japan
Prior art keywords
intruder
image data
main subject
recording medium
distance information
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
JP2007217218A
Other languages
Japanese (ja)
Other versions
JP2009055093A (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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2007217218A priority Critical patent/JP4983479B2/en
Publication of JP2009055093A publication Critical patent/JP2009055093A/en
Application granted granted Critical
Publication of JP4983479B2 publication Critical patent/JP4983479B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、撮像装置におけるデータの記録制御に関する。   The present invention relates to data recording control in an imaging apparatus.

従来、被写界に設定された複数の焦点検出領域について、各焦点検出領域に対応する被写体までの距離に関する距離情報をそれぞれ取得する撮像装置が知られている。たとえば、特許文献1には、各焦点検出領域についてデフォーカス情報を取得し、撮影レンズのピント調節を行うカメラが開示されている。   2. Description of the Related Art Conventionally, there has been known an imaging apparatus that acquires distance information regarding a distance to a subject corresponding to each focus detection area for a plurality of focus detection areas set in the object scene. For example, Patent Document 1 discloses a camera that acquires defocus information for each focus detection region and adjusts the focus of the photographing lens.

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

特許文献1に開示されるような従来の撮像装置では、被写体までの距離情報は撮影レンズのピント調節のために利用される程度であり、あまり有効に活用されていない。   In the conventional imaging apparatus as disclosed in Patent Document 1, the distance information to the subject is only used for adjusting the focus of the photographing lens, and is not effectively used.

請求項1の発明による撮像装置は、撮影者の操作に応じて被写体像の撮影画像データを取得して記録媒体に記録することにより撮影を行う撮影手段と、被写界に設定された複数の焦点検出領域について、各焦点検出領域に対応する被写体までの距離に関する距離情報をそれぞれ取得する距離情報取得手段と、距離情報取得手段により取得された距離情報の時間に応じた変化に基づく距離変化データを撮影画像データに関連付けて記録媒体に記録する記録制御手段とを備えるものである。
An imaging apparatus according to a first aspect of the present invention includes an imaging unit that performs imaging by acquiring captured image data of a subject image in accordance with a photographer's operation and recording it on a recording medium, and a plurality of images set in an object scene For the focus detection area, distance information acquisition means for acquiring distance information related to the distance to the subject corresponding to each focus detection area, and distance change data based on time-dependent changes in the distance information acquired by the distance information acquisition means And recording control means for recording the image on the recording medium in association with the photographed image data .

本発明によれば、被写体までの距離が変化したときに、その変化に応じて撮影動作自体の制御及び/または撮影時に様々なデータ(画像データ自体も含む)の記録制御を行うことができる。   According to the present invention, when the distance to the subject changes, it is possible to control the photographing operation itself and / or control the recording of various data (including the image data itself) at the time of photographing according to the change.

1.構成
以下、図面を参照して本発明を実施するための最良の形態について説明する。図1は、本発明の一実施の形態による撮像装置の構成の一例を示すブロックダイアグラムである。図1において、撮像装置は、撮像素子1と、撮影レンズ2と、レンズ駆動回路3と、制御回路5と、操作部材7と、撮像素子駆動回路8と、信号処理回路9と、データ処理回路10と、圧縮/伸張回路11と、モニタ13と、表示制御回路14と、測光回路15と、振れ検出センサ16と、AFセンサ17とを有し、さらに記録媒体12が設けられている。
1. Configuration The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of an imaging apparatus according to an embodiment of the present invention. In FIG. 1, an imaging device includes an imaging device 1, a photographing lens 2, a lens driving circuit 3, a control circuit 5, an operation member 7, an imaging device driving circuit 8, a signal processing circuit 9, and a data processing circuit. 10, a compression / expansion circuit 11, a monitor 13, a display control circuit 14, a photometry circuit 15, a shake detection sensor 16, and an AF sensor 17, and a recording medium 12 is further provided.

記録媒体12は、メモリカード、小型ハードディスク、DVD等の光ディスクなどにより構成される。なお、記録媒体12は、撮像装置に内蔵されるものであっても、着脱可能に装着されるものであってもよい。また、撮像装置の外部に設けられるものであってもよい。その場合、記録媒体12と撮像装置とは有線または無線で電気的に接続される。   The recording medium 12 includes a memory card, a small hard disk, an optical disk such as a DVD, and the like. Note that the recording medium 12 may be built in the imaging apparatus or may be detachably mounted. Further, it may be provided outside the imaging apparatus. In that case, the recording medium 12 and the imaging device are electrically connected by wire or wirelessly.

撮影レンズ2は、AFセンサ17により検出されるデフォーカス量に応じて、撮影レンズ2のピント調節を行うフォーカスレンズを含む。なお、AFセンサ17は、周知の位相差検出方式によりデフォーカス量を検出する。また、撮影レンズ2は周知のズーム用操作部材の操作によって撮影レンズ2のズーム調節を行うズームレンズを含む。   The taking lens 2 includes a focus lens that adjusts the focus of the taking lens 2 in accordance with the defocus amount detected by the AF sensor 17. The AF sensor 17 detects the defocus amount by a known phase difference detection method. The taking lens 2 includes a zoom lens that adjusts the zoom of the taking lens 2 by operating a known zoom operation member.

さらに、撮影レンズ2は不図示の振れ補正用レンズを含む。この振れ補正用レンズは、振れ検出センサ16の出力に基づいて、レンズ駆動回路3により、撮影レンズ2の光軸に直交する方向に駆動される。これにより、撮像素子1上に結像される被写体像の位置が撮像装置の振れを打ち消す方向にシフトされ、振れ補正が行われる。   Further, the photographing lens 2 includes a shake correction lens (not shown). The shake correction lens is driven in a direction orthogonal to the optical axis of the photographic lens 2 by the lens driving circuit 3 based on the output of the shake detection sensor 16. Thereby, the position of the subject image formed on the image sensor 1 is shifted in a direction to cancel out the shake of the image pickup apparatus, and shake correction is performed.

周知のCCDやCMOSなどで構成される撮像素子1は、撮影レンズ2により結像された被写体像に基づいて、画素ごとに電荷を蓄積し、蓄積した電荷量に応じた電気信号を画像信号として信号処理回路9へ出力する。これにより、撮像素子1において被写体像の撮像が行われ、その被写体像が電気信号に変換されて出力される。   The imaging device 1 configured by a known CCD, CMOS, or the like accumulates charges for each pixel based on the subject image formed by the photographing lens 2, and uses an electrical signal corresponding to the accumulated charge amount as an image signal. The signal is output to the signal processing circuit 9. Thereby, the subject image is picked up by the image sensor 1, and the subject image is converted into an electrical signal and output.

撮像素子駆動回路8は、制御回路5から出力される指令に応じて、所定タイミングの駆動信号を発生し、発生した駆動信号を撮像素子1へ供給する。この駆動信号が供給されることにより、撮像素子1において、電荷の蓄積や、蓄積された電荷量の読み出しが制御される。   The image sensor drive circuit 8 generates a drive signal at a predetermined timing in response to a command output from the control circuit 5 and supplies the generated drive signal to the image sensor 1. By supplying this drive signal, the image sensor 1 controls the accumulation of charges and the reading of the accumulated amount of charges.

制御回路5は、測光回路15により検出された被写体の測光データに基づいて、被写界の明るさの情報を求め、この明るさの情報に基づいて、撮像素子1の電荷蓄積時間、撮影レンズ2の絞り、撮像素子1より出力される画像信号の増幅度などを決定する。なお、被写界の明るさの情報は、撮像素子1から出力される信号から求めるようにしてもよい。この場合には、撮像素子1が測光回路15として機能する。   The control circuit 5 obtains information on the brightness of the object field based on the photometric data of the subject detected by the photometry circuit 15, and based on the information on the brightness, the charge accumulation time of the image sensor 1 and the photographing lens. The aperture of 2 and the degree of amplification of the image signal output from the image sensor 1 are determined. Note that the brightness information of the object scene may be obtained from a signal output from the image sensor 1. In this case, the image sensor 1 functions as the photometric circuit 15.

撮像素子1から出力された画像信号は、信号処理回路9において入力される。信号処理回路9は、制御回路5からの指令に応じて、入力された画像信号に基づいて、増幅、直流再生、A/D変換、ホワイトバランス、ガンマ変換等の各種信号処理を行う。そして、信号処理後に得られたデータを撮影画像データとしてデータ処理回路10へ出力する。   The image signal output from the image sensor 1 is input in the signal processing circuit 9. The signal processing circuit 9 performs various signal processing such as amplification, direct current reproduction, A / D conversion, white balance, and gamma conversion based on the input image signal in response to a command from the control circuit 5. Then, the data obtained after the signal processing is output to the data processing circuit 10 as photographed image data.

データ処理回路10は、制御回路5からの指令に応じて、信号処理回路9から出力された撮影画像データを圧縮/伸張回路11に出力すると共に、モニタ13に再生画像を表示させるために必要な解像度変換処理、すなわち画素数の変換を行う。そして、解像度変換処理後の撮影画像データを表示制御回路14へ出力する。   The data processing circuit 10 is necessary for outputting the captured image data output from the signal processing circuit 9 to the compression / expansion circuit 11 and displaying the reproduced image on the monitor 13 in response to a command from the control circuit 5. Resolution conversion processing, that is, conversion of the number of pixels is performed. Then, the captured image data after the resolution conversion process is output to the display control circuit 14.

表示制御回路14は、制御回路5からの指令に応じて、データ処理回路10から出力された撮影画像データに所定の信号処理(たとえば撮影メニューやカーソルなど所定のオーバーレイ画像のデータを重畳する処理)を施した後、モニタ13へ出力する。   In response to a command from the control circuit 5, the display control circuit 14 performs predetermined signal processing (for example, processing for superimposing predetermined overlay image data such as a shooting menu or a cursor) on the captured image data output from the data processing circuit 10. Is output to the monitor 13.

圧縮/伸張回路11は、制御回路5からの指令に応じて、データ処理回路10から出力された撮影画像データに対して、所定の画像圧縮方式による圧縮処理を行い、圧縮後の撮影画像データを記録媒体12へ出力する。   The compression / decompression circuit 11 performs a compression process using a predetermined image compression method on the captured image data output from the data processing circuit 10 in response to a command from the control circuit 5, and stores the compressed captured image data. Output to the recording medium 12.

操作部材7は、レリーズボタンを含む。撮影者がこのレリーズボタンにより撮影操作を行うと、その撮影操作に応じて、制御回路5から撮像素子駆動回路8、信号処理回路9、データ処理回路10および圧縮/伸張回路11に対して、撮影指令が出力される。この撮影指令が制御回路5から出力されると、撮像素子駆動回路8、信号処理回路9、データ処理回路10および圧縮/伸張回路11において、上記のような処理や制御がそれぞれ実行される。これにより、撮像素子1により出力された画像信号に基づく被写体像の撮影画像データが取得され、記録媒体12に記録される。このようにして、撮像装置において被写体像が撮影される。なお、被写体像が撮影されて撮影画像データが記録媒体12に記録されたときには、上記のように表示制御回路14からモニタ13へ解像度変換処理後の撮影画像データが出力され、その被写体像の再生画像がモニタ13に表示される。   The operation member 7 includes a release button. When the photographer performs a photographing operation using the release button, the control circuit 5 performs photographing on the image sensor driving circuit 8, the signal processing circuit 9, the data processing circuit 10, and the compression / expansion circuit 11 in accordance with the photographing operation. A command is output. When this photographing command is output from the control circuit 5, the above-described processing and control are executed in the image sensor driving circuit 8, the signal processing circuit 9, the data processing circuit 10, and the compression / decompression circuit 11, respectively. As a result, the captured image data of the subject image based on the image signal output by the image sensor 1 is acquired and recorded in the recording medium 12. In this way, a subject image is taken by the imaging device. When the subject image is photographed and the photographed image data is recorded on the recording medium 12, the photographed image data after resolution conversion processing is output from the display control circuit 14 to the monitor 13 as described above, and the subject image is reproduced. An image is displayed on the monitor 13.

モニタ13には、記録媒体12において既に記録されている撮影画像データに基づいて、撮影済みの被写体像の再生画像を表示することもできる。このように撮影済みの被写体像の再生画像を表示するモードは、再生モードと呼ばれている。   On the monitor 13, a reproduced image of the captured subject image can be displayed based on the captured image data already recorded on the recording medium 12. A mode for displaying a reproduced image of a captured subject image in this way is called a reproduction mode.

撮像装置において再生モードが選択されると、圧縮/伸張回路11は、制御回路5からの指令に応じて記録媒体12に記録されている撮影画像データを読み出し、その読み出した撮影画像データに対して圧縮を解除するための復号化処理を施した上で、復号化後の撮影画像データをデータ処理回路10へ出力する。データ処理回路10は、圧縮/伸張回路11から出力された復号化後の撮影画像データに対して解像度変換処理を行い、表示制御回路14へ出力する。この解像度変換処理後の撮影画像データが表示制御回路14からモニタ13へ出力されることにより、モニタ13において撮影済みの被写体像の再生画像が表示される。   When the reproduction mode is selected in the image pickup apparatus, the compression / decompression circuit 11 reads the photographic image data recorded on the recording medium 12 in response to a command from the control circuit 5, and performs the read photographic image data on the read photographic image data. After performing a decoding process for releasing the compression, the captured image data after decoding is output to the data processing circuit 10. The data processing circuit 10 performs resolution conversion processing on the decoded image data output from the compression / decompression circuit 11 and outputs the result to the display control circuit 14. The captured image data after the resolution conversion processing is output from the display control circuit 14 to the monitor 13, so that a reproduced image of the captured subject image is displayed on the monitor 13.

振れ検出センサ16は、撮像装置の筺体内に設けられており、たとえば角速度センサ、ジャイロセンサ等により構成される。振れ検出センサ16は、撮像装置の動き、すなわち撮像装置の筺体の振れを少なくとも光軸と直交する二方向について検出し、検出した振れ量に応じた検出信号を制御回路5へ出力する。制御回路5は、この検出信号に基づいて、筺体の振れに伴って生じる撮像素子1の撮像面における被写体像の移動が打ち消されるように、前述のような振れ補正を行う。   The shake detection sensor 16 is provided in the housing of the imaging device, and is configured by, for example, an angular velocity sensor, a gyro sensor, or the like. The shake detection sensor 16 detects the movement of the imaging apparatus, that is, the shake of the housing of the imaging apparatus in at least two directions orthogonal to the optical axis, and outputs a detection signal corresponding to the detected shake amount to the control circuit 5. Based on this detection signal, the control circuit 5 performs the shake correction as described above so that the movement of the subject image on the image pickup surface of the image pickup device 1 caused by the shake of the housing is canceled.

2.全体動作
次に、以上説明した撮像装置が撮影を行う際の全体動作について説明する。操作部材7の操作により、撮影を行うための撮影モードに設定されると、制御回路5において、図2に示すフローチャートの処理が実行される。ステップS10において、制御回路5は、操作部材7のレリーズボタンが撮影者によって半押し操作されたか否かを判定する。半押し操作が行われ、その半押し操作に基づく半押し操作信号が操作部材7から制御回路5へ入力されると、制御回路5は次のステップS20へ進む。
2. Overall Operation Next, the overall operation when the imaging apparatus described above performs shooting will be described. When the photographing mode for photographing is set by the operation of the operation member 7, the control circuit 5 executes the process of the flowchart shown in FIG. In step S10, the control circuit 5 determines whether or not the photographer has pressed the release button of the operation member 7 halfway. When a half-push operation is performed and a half-push operation signal based on the half-push operation is input from the operation member 7 to the control circuit 5, the control circuit 5 proceeds to the next step S20.

ステップS20において、制御回路5は、被写界に設定された複数の焦点検出領域について、各焦点検出領域に対するデフォーカス情報をそれぞれ取得する。このデフォーカス情報は、AFセンサ17によって検出されたデフォーカス量に基づいて定められるものである。なお、デフォーカス量は、撮影レンズ2のピント位置に対する被写体位置のずれの大きさ、すなわちピント位置を基準とした被写体までの距離に関する量を表している。したがって、デフォーカス量に基づくデフォーカス情報を取得することにより、各焦点検出領域に対応する被写体までの距離に関する距離情報を取得することができる。取得したデフォーカス情報は、制御回路5に備えられたメモリにより一時的に記憶される。   In step S <b> 20, the control circuit 5 acquires defocus information for each focus detection area for a plurality of focus detection areas set in the object scene. This defocus information is determined based on the defocus amount detected by the AF sensor 17. The defocus amount represents the magnitude of the deviation of the subject position with respect to the focus position of the photographic lens 2, that is, the amount related to the distance to the subject with the focus position as a reference. Therefore, by acquiring defocus information based on the defocus amount, it is possible to acquire distance information regarding the distance to the subject corresponding to each focus detection region. The acquired defocus information is temporarily stored in a memory provided in the control circuit 5.

図5は、被写界に設定された焦点検出領域の例を示している。この例では、符号20a〜20kに示す合計11個の焦点検出領域が被写界に対して設定されている。この焦点検出領域のそれぞれについて、AFセンサ17によりデフォーカス量が検出され、デフォーカス情報が取得される。なお、ここで挙げたのは焦点検出領域の設定形態の一例であるため、他の形態により焦点検出領域を設定することとしてもよい。   FIG. 5 shows an example of a focus detection area set in the object scene. In this example, a total of 11 focus detection areas indicated by reference numerals 20a to 20k are set for the object scene. For each focus detection area, the AF sensor 17 detects the defocus amount and acquires defocus information. Note that the example given here is an example of a setting form of the focus detection area, and therefore the focus detection area may be set in another form.

ステップS30において、制御回路5は、ステップS20で取得したデフォーカス情報の時間に応じた変化に基づいて、動きベクトルの算出を行う。このとき、前述のメモリにより一時的に記憶された過去のデフォーカス情報と、現在のデフォーカス情報とに基づいて、各焦点検出領域におけるデフォーカス情報の時間に応じた変化が求められる。このデフォーカス情報の変化に基づいて、被写体像の動きの速さや方向と、被写体像の大きさとを表す動きベクトルを算出する。   In step S30, the control circuit 5 calculates a motion vector based on the change according to the time of the defocus information acquired in step S20. At this time, a change corresponding to the time of the defocus information in each focus detection region is obtained based on the past defocus information temporarily stored in the memory and the current defocus information. Based on the change in the defocus information, a motion vector representing the speed and direction of movement of the subject image and the size of the subject image is calculated.

ステップS30において動きベクトルを算出する方法を、図6の例により以下に説明する。被写体21を撮影しようとした際に、図6(a)〜(f)に示すように、侵入物22が被写界内を右から左に横切ったとする。なお、図6(a)〜(f)では、図5と同様の焦点検出領域20a〜20kが被写界に対して設定されており、全ての焦点検出領域20a〜20kから所定の検出タイミングでデフォーカス量が検出されている。   A method for calculating a motion vector in step S30 will be described below with reference to the example of FIG. Assume that when the subject 21 is photographed, the intruder 22 crosses the object scene from right to left as shown in FIGS. 6 (a) to 6 (f), focus detection areas 20a to 20k similar to those in FIG. 5 are set for the object scene, and from all the focus detection areas 20a to 20k at a predetermined detection timing. A defocus amount is detected.

上記のような状況において、図6(a)のときには、特に中央の焦点検出領域20fに対して検出されたデフォーカス量に基づいて、被写体21までの距離を表すデフォーカス情報が取得される。図6(b)のように、侵入物22が被写界内に進入したときには、被写体21までの距離を表すデフォーカス情報に加えて、特に右端の焦点検出領域20kに対して検出されたデフォーカス量に基づいて、侵入物22までの距離を表すデフォーカス情報が取得される。図6(c)のように、侵入物22が被写体21の前にいるときには、特に焦点検出領域20fおよび20gに対して検出されたデフォーカス量に基づいて、侵入物22までの距離を表すデフォーカス情報が取得される。   In the situation as described above, in the case of FIG. 6A, defocus information representing the distance to the subject 21 is acquired based on the defocus amount detected particularly with respect to the central focus detection region 20f. As shown in FIG. 6B, when the intruder 22 enters the object scene, in addition to the defocus information indicating the distance to the subject 21, the defocus detected particularly for the rightmost focus detection region 20 k. Based on the focus amount, defocus information indicating the distance to the intruder 22 is acquired. As shown in FIG. 6C, when the intruder 22 is in front of the subject 21, the defocusing distance representing the distance to the intruder 22 is determined based on the defocus amount detected with respect to the focus detection areas 20f and 20g. Focus information is acquired.

図6(d)のように、侵入物22が被写体21の前を通り過ぎたときには、特に焦点検出領域20cおよび20dに対して検出されたデフォーカス量に基づいて、侵入物22までの距離を表すデフォーカス情報が取得される。図6(e)のように、侵入物22が被写界の端にいるときには、特に焦点検出領域20aに対して検出されたデフォーカス量に基づいて、侵入物22までの距離を表すデフォーカス情報が取得される。図6(f)のように、侵入物22が被写界から消えたときには、図6(a)と同様に、特に焦点検出領域20fに対して検出されたデフォーカス量に基づいて、被写体21までの距離を表すデフォーカス情報が取得される。   As shown in FIG. 6D, when the intruder 22 passes in front of the subject 21, the distance to the intruder 22 is expressed based on the defocus amount detected with respect to the focus detection areas 20c and 20d. Defocus information is acquired. As shown in FIG. 6E, when the intruder 22 is at the end of the object scene, the defocus representing the distance to the intruder 22 based on the defocus amount detected with respect to the focus detection area 20a. Information is acquired. As shown in FIG. 6F, when the intruder 22 disappears from the object scene, the subject 21 is based on the defocus amount detected particularly with respect to the focus detection area 20f, as in FIG. 6A. Defocus information representing the distance to is acquired.

以上説明したように取得されたデフォーカス情報によれば、侵入物22が被写界内を移動するのにしたがって、その侵入物22に対応する焦点検出領域の位置が時間に応じて変化していることが分かる。したがって、このようなデフォーカス情報の時間に応じた変化から、侵入物22の動きの速さや光軸方向の位置変化を含めた3次元的な移動方向を求めることができる。さらに、侵入物22に対応する焦点検出領域の範囲から、侵入物22の大きさを求めることができる。ステップS30では、これらの情報を求めることにより、動きベクトルの算出を行う。   According to the defocus information acquired as described above, the position of the focus detection area corresponding to the intruder 22 changes with time as the intruder 22 moves in the object scene. I understand that. Therefore, the three-dimensional movement direction including the speed of movement of the intruder 22 and the position change in the optical axis direction can be obtained from the change according to the time of the defocus information. Further, the size of the intruder 22 can be obtained from the range of the focus detection area corresponding to the intruder 22. In step S30, a motion vector is calculated by obtaining these pieces of information.

なお、デフォーカス量を検出する際のAFセンサ17による焦点検出エリアの数は、撮像素子1が本撮影を行うときの画素数よりも少ない。したがって、本撮影により得られた撮影画像の時間に応じた変化に基づいて動きベクトルを算出する場合と比べて、ステップS30では、より高速な処理で動きベクトルを算出することができる。   Note that the number of focus detection areas by the AF sensor 17 when detecting the defocus amount is smaller than the number of pixels when the image sensor 1 performs the main photographing. Therefore, in step S30, the motion vector can be calculated at a higher speed than in the case where the motion vector is calculated based on the change according to the time of the captured image obtained by the main imaging.

あるいは、ステップS20において、被写体までの距離に関する距離情報としてデフォーカス情報を取得する代わりに、被写体までの距離情報そのものを取得することとしてもよい。すなわち、AFセンサ17によって検出されたデフォーカス量と、そのときの撮影レンズ2のピント位置とに基づいて、被写体までの距離を焦点検出領域ごとに算出することにより、各焦点検出領域に対応する被写体までの距離情報をそれぞれ取得することができる。ステップS30では、こうして取得された距離情報の時間に応じた変化に基づいて、上記と同様の方法により動きベクトルを算出することができる。   Alternatively, in step S20, instead of acquiring the defocus information as the distance information regarding the distance to the subject, the distance information itself to the subject may be acquired. That is, the distance to the subject is calculated for each focus detection area based on the defocus amount detected by the AF sensor 17 and the focus position of the photographing lens 2 at that time, thereby corresponding to each focus detection area. Information on the distance to the subject can be acquired. In step S30, the motion vector can be calculated by the same method as described above based on the change of the distance information thus obtained according to the time.

なお、以上説明したようにしてデフォーカス情報を取得し、そのデフォーカス情報に基づいて動きベクトルを算出しているときには、並行してオートフォーカス動作を行うことができる。すなわち、ステップS20で取得したデフォーカス情報に基づいて、動きベクトルの算出に加えて、前述のように撮影レンズ2のピント調節を行うことができる。このとき、シングルサーボAFとコンティニュアスAFのどちらを行ってもよい。なお、シングルサーボAFでは、ピントが合ったら焦点が固定される。一方、コンティニュアスAFでは、被写体の動きに応じてピント調節が継続して行われる。   In addition, when defocus information is acquired as described above and a motion vector is calculated based on the defocus information, an autofocus operation can be performed in parallel. That is, based on the defocus information acquired in step S20, in addition to the calculation of the motion vector, the focus adjustment of the photographic lens 2 can be performed as described above. At this time, either single servo AF or continuous AF may be performed. In the single servo AF, the focus is fixed when the focus is achieved. On the other hand, in continuous AF, focus adjustment is continuously performed according to the movement of the subject.

あるいは、上記のようなオートフォーカス動作を行わずに、撮影者が手動で焦点調節を行うマニュアルフォーカス動作としてもよい。この場合、AFセンサ17は、デフォーカス情報を取得して動きベクトルを算出するために利用され、オートフォーカス動作には用いられない。このようなフォーカス調整中の光学像は、不図示の光学ファインダで、撮影者が確認することができる。   Alternatively, a manual focus operation in which the photographer manually adjusts the focus may be performed without performing the autofocus operation as described above. In this case, the AF sensor 17 is used to acquire defocus information and calculate a motion vector, and is not used for an autofocus operation. Such an optical image during focus adjustment can be confirmed by a photographer using an optical finder (not shown).

ステップS40において、制御回路5は、操作部材7のレリーズボタンが撮影者により全押し操作されたか否かを判定する。全押し操作が行われ、その全押し操作に基づく全押し操作信号が操作部材7から制御回路5へ入力されると、制御回路5はステップS50へ進む。一方、全押し操作信号が入力されなかった場合には、制御回路5はステップS10へ戻る。   In step S40, the control circuit 5 determines whether or not the release button of the operation member 7 has been fully pressed by the photographer. When a full-press operation is performed and a full-press operation signal based on the full-press operation is input from the operation member 7 to the control circuit 5, the control circuit 5 proceeds to step S50. On the other hand, when the full-press operation signal is not input, the control circuit 5 returns to step S10.

以上説明したステップS10〜S40の処理により、半押し操作が行われている間は、デフォーカス情報が連続的に取得され、動きベクトルが算出される。なお、算出された動きベクトルは、制御回路5において予め定められたメモリ容量に応じた時間分が記憶される。このメモリ容量を超えると、古い動きベクトルから順に廃棄され、新しい内容に更新される。   Through the processes in steps S10 to S40 described above, defocus information is continuously acquired and a motion vector is calculated while a half-press operation is performed. The calculated motion vector stores a time corresponding to a predetermined memory capacity in the control circuit 5. When this memory capacity is exceeded, old motion vectors are discarded in order and updated with new contents.

ステップS50において、制御回路5は、被写体像を撮影するための撮影処理を行う。この撮影処理は、撮影者の全押し操作に応じて実行される。これにより、被写体像が撮影され、その撮影画像データが取得される。   In step S50, the control circuit 5 performs a photographing process for photographing a subject image. This photographing process is executed in response to the photographer's full pressing operation. Thereby, a subject image is photographed and the photographed image data is acquired.

制御回路5は、本撮影処理において取得した撮影画像データと、被写界内に存在する被写体や侵入物までの距離の時間的な変化を表す距離変化データとを、記録媒体12に記録する。この距離変化データは、ステップS30において算出した動きベクトルの内容に基づいて定められるものであり、撮影画像データに関連付けて記憶される。これにより、各焦点検出領域に対応する被写体までの距離に関する距離情報の変化に基づく距離変化データを、撮影画像データに関連付けて、記録媒体12に記録する。なお、撮影処理の具体的な内容については、後で図3のフローチャートにより詳しく説明する。   The control circuit 5 records, on the recording medium 12, the captured image data acquired in the main imaging process and distance change data representing a temporal change in the distance to the subject or intruder existing in the object scene. This distance change data is determined based on the content of the motion vector calculated in step S30, and is stored in association with the captured image data. Thereby, distance change data based on a change in distance information regarding the distance to the subject corresponding to each focus detection area is recorded in the recording medium 12 in association with the captured image data. The specific contents of the photographing process will be described later in detail with reference to the flowchart of FIG.

ステップS70において、制御回路5は、撮影時に被写界内に侵入物が検出されたか否かを判定する。後で説明する図3のステップS510を実行することにより、撮影時に侵入物が検出され、その侵入物の検出結果がステップS560において記録されていた場合は、ステップS80へ進む。一方、侵入物の検出結果が記録されていない場合は、撮影時に侵入物が検出されていないと判定して図2のフローチャートを終了する。   In step S70, the control circuit 5 determines whether or not an intruder has been detected in the object scene during shooting. By executing step S510 of FIG. 3 to be described later, if an intruder is detected at the time of photographing and the detection result of the intruder is recorded in step S560, the process proceeds to step S80. On the other hand, when the detection result of the intruder is not recorded, it is determined that the intruder is not detected at the time of shooting, and the flowchart of FIG.

ステップS80において、制御回路5は、撮影画像から検出された侵入物を取り除くための侵入物除去処理を実行する。この侵入物除去処理の具体的な内容は、後で図4のフローチャートにより詳しく説明する。ステップS80を実行したら、制御回路5は、図2のフローチャートを終了する。以上説明したようにして、撮影時の動作が行われる。   In step S80, the control circuit 5 executes intruder removal processing for removing the intruder detected from the captured image. The specific contents of the intruder removal process will be described later in detail with reference to the flowchart of FIG. If step S80 is performed, the control circuit 5 will complete | finish the flowchart of FIG. As described above, the operation at the time of shooting is performed.

3.撮影処理
次に、図2のステップS50で実行する撮影処理の内容について、図3のフローチャートにより説明する。ステップS505において、制御回路5は、被写界内で主要被写体領域を抽出する。この主要被写体領域の抽出は、たとえば、オートフォーカス用の焦点検出領域の設定位置に基づいて主要被写体の位置を判断し、所定値以下のデフォーカス量が検出された焦点検出領域の範囲を主要被写体領域として抽出することにより、行うことができる。または、人物の顔を認識する顔認識処理の結果などに基づいて主要被写体の領域を抽出しても良い。ステップS510において、制御回路5は、図2のステップS30で算出された動きベクトルに基づいて、被写界への侵入物の有無を判断する。すなわち、ステップS20においてデフォーカス情報として取得した被写体までの距離に関する距離情報の変化に基づいて、被写界への侵入物の有無を判断する。ここでは、主要被写体以外の物体について時間に応じて変化するデフォーカス情報が取得されることにより、その物体の動きベクトルが算出されていた場合には、その物体が侵入物として検出される。ステップS510で、被写界への侵入物があると判断された場合は、ステップS520の処理へ進む。一方、ステップS510で被写界への侵入物がないと判断された場合にはステップS550の処理へ進む。
3. Imaging Process Next, the contents of the imaging process executed in step S50 of FIG. 2 will be described with reference to the flowchart of FIG. In step S505, the control circuit 5 extracts a main subject area in the object scene. This extraction of the main subject area is performed, for example, by determining the position of the main subject based on the setting position of the focus detection area for autofocus, and using the range of the focus detection area in which the defocus amount equal to or less than a predetermined value is detected as the main subject This can be done by extracting as a region. Alternatively, the area of the main subject may be extracted based on the result of face recognition processing for recognizing a person's face. In step S510, the control circuit 5 determines the presence / absence of an intruding object in the scene based on the motion vector calculated in step S30 of FIG. That is, based on the change in the distance information regarding the distance to the subject acquired as the defocus information in step S20, the presence / absence of an intruder into the object scene is determined. Here, when defocus information that changes with time is acquired for an object other than the main subject, and the motion vector of the object is calculated, the object is detected as an intruder. If it is determined in step S510 that there is an intruder into the object scene, the process proceeds to step S520. On the other hand, if it is determined in step S510 that there is no intruder into the object scene, the process proceeds to step S550.

ステップS520において、制御回路5は、ステップS510において検出された侵入物に関して、その侵入物の存在領域と主要被写体領域との間における、撮影レンズ2の光軸方向での両者の位置関係や、撮影レンズ2の光軸と垂直な面内での両者の位置関係や、侵入物の動きベクトルなどが、予め定められた所定の条件を満たすか否かを判定する。
ここで所定の条件とは、侵入物が主要被写体を遮る状態である、またはそうなる可能性が高い両者(侵入物と主要被写体)の位置関係や動き関係を満たす条件のことであり、予めカメラ内のメモリに設定されているものである。
このステップS520の判定を行うことにより、撮影動作を行う時点で、主要被写体領域が侵入物の陰になる可能性があるか否か、あるいはステップS520の判断時点で、侵入物が実際に主要被写体の領域内に存在しているか否かを判断することができる。たとえばレンズ光軸方向における侵入物までの撮影距離が主要被写体までの撮影距離に比べて短く、且つレンズ光軸に垂直な面内において侵入物が主要被写体の領域に向かって進んでいる、という被写界状態での撮影において、その侵入物が撮影時点で主要被写体領域を隠す(主要被写体が侵入物の陰になる)可能性があるか否か、あるいは既に隠しているかを自動的に判断する。
ステップS520において、上記所定の条件を満たす、と判定されるのは、この判定動作に続く撮影動作によって得られる撮影画像(撮影画面)内にその侵入物が存在し、かつ当該侵入物による主要被写体の隠れが発生する、と推察される場合である。ステップS520で肯定判定された場合には、引き続くステップS540の動作に移行する。
一方、撮影される画像内に侵入物が存在するが、その侵入物による主要被写体の隠れは発生しないと推察される場合には、ステップS520で否定判定(所定の条件を満たさない)されて、ステップS550に移行する。
ステップS520における上記のような判定動作は、主要被写体と侵入物のそれぞれに対応して取得されたデフォーカス情報と、前述の動きベクトルとに基づいて行う。
なお、上記の所定の条件としては、撮影距離に関する条件を除外して、侵入物が主要被写体領域に向かって進んでおり、撮影時点で侵入物が主要被写体領域に侵入する可能性(主要被写体が侵入物の陰になる可能性)があるか否か、あるいはステップS520の判断時点で、侵入物が実際に主要被写体の領域内に存在するか否か、のみを判断するものであっても良い。
In step S520, with respect to the intruder detected in step S510, the control circuit 5 determines the positional relationship between the presence region of the intruder and the main subject region in the optical axis direction of the photographing lens 2, and the photographing. It is determined whether or not the positional relationship between the two in a plane perpendicular to the optical axis of the lens 2 and the motion vector of the intruder satisfy a predetermined condition.
Here, the predetermined condition is a condition in which the intruder is in a state of blocking the main subject or is highly likely to satisfy the positional relationship and the movement relationship of both (the intruder and the main subject). Is set in the internal memory.
By performing the determination in step S520, it is determined whether or not the main subject region may be shaded by the intruder when the photographing operation is performed, or the intruder is actually the main subject at the determination in step S520. It can be determined whether or not it exists in the area. For example, an object in which the shooting distance to the intruding object in the lens optical axis direction is shorter than the shooting distance to the main subject and the intruding object advances toward the main subject in a plane perpendicular to the lens optical axis. When shooting in the field condition, it is automatically determined whether or not the intruder may hide the main subject area at the time of shooting (the main subject is behind the intruder) or whether it is already hidden. .
In step S520, it is determined that the predetermined condition is satisfied because the intruder exists in the captured image (shooting screen) obtained by the shooting operation following the determination operation, and the main subject due to the intruder. It is a case where it is inferred that the hiding of the camera occurs. If an affirmative determination is made in step S520, the operation proceeds to the subsequent step S540.
On the other hand, if there is an intruder in the photographed image, but it is assumed that the main subject is not hidden by the intruder, a negative determination is made in step S520 (does not satisfy the predetermined condition), The process proceeds to step S550.
The determination operation as described above in step S520 is performed based on the defocus information acquired corresponding to each of the main subject and the intruder and the above-described motion vector.
As the above predetermined condition, the intruder is moving toward the main subject area except for the shooting distance condition, and the intruder may enter the main subject area at the time of shooting (the main subject is It may be determined whether or not there is a possibility of being in the shadow of an intruder, or whether or not the intruder actually exists in the area of the main subject at the time of determination in step S520. .

ステップS540において、制御回路5は、ステップS505でその領域を抽出された主要被写体が、ステップS510で検出した侵入物の陰に継続して隠れているか否か、あるいは、このステップS540の後で実行される撮影動作(撮影画像の取得動作)の時点で、その撮影画像の主要被写体領域に侵入物による隠れが発生する可能性が継続しているか否かを判定する。
侵入物までの撮影距離が主要被写体までの撮影距離よりも短く、且つその侵入物が主要被写体の領域内に向かって進んでおり、撮影時点に主要被写体領域が侵入物の陰に隠れる可能性がステップS520の判断時点から継続している場合、或いはステップS520の判断時点から侵入物が実際に主要被写体の領域内に存在する状態が継続しているような場合には、ステップS540での判断動作を繰り返し行う(すなわち次のステップS550における撮影動作への移行を禁止する)。
そして、主要被写体が侵入物の陰に隠れなくなったら、あるいはその可能性がなくなったら、ステップS540を否定判断して、次のステップS550へ進む。
なお、上記ステップS540での判定動作は、ステップS520での判定動作と同様に、主要被写体と侵入物のそれぞれに対応して取得されたデフォーカス情報と、前述の動きベクトルとに基づいて行う。
In step S540, the control circuit 5 determines whether or not the main subject whose area has been extracted in step S505 is continuously hidden behind the intruder detected in step S510, or is executed after step S540. At the time of the photographing operation (captured image acquisition operation) to be performed, it is determined whether or not there is a possibility that the main subject area of the photographed image is hidden by an intruder.
There is a possibility that the shooting distance to the intruder is shorter than the shooting distance to the main subject and the intruder is moving toward the main subject area, and the main subject area is hidden behind the intruder at the time of shooting. When the determination has been continued from the determination time of step S520, or when the state where the intruder actually exists in the area of the main subject continues from the determination time of step S520, the determination operation in step S540 Is repeated (that is, the transition to the photographing operation in the next step S550 is prohibited).
Then, if the main subject is not hidden behind the intruder or if the possibility is lost, a negative determination is made in step S540, and the process proceeds to the next step S550.
Note that the determination operation in step S540 is performed based on the defocus information acquired corresponding to each of the main subject and the intruder and the above-described motion vector, similarly to the determination operation in step S520.

以上説明したように、ステップS510において被写界への侵入物が検出されると、その検出結果に応じて、ステップS520およびS540の処理により、次のステップS550における被写体像の撮影が許可または禁止される。すなわち、検出された侵入物の進入方向や大きさが所定の条件を満たしており、さらにその侵入物の陰に主要被写体が隠れる場合は、主要被写体が隠れなくなるまで撮影が禁止される。それ以外の場合は、侵入物が検出されても撮影が許可される。これにより、撮影者がレリーズボタンを全押し操作したときに、記録媒体12への撮影画像データの記録が侵入物の状態に応じて許可または禁止される。   As described above, when an intruding object is detected in step S510, shooting of the subject image in the next step S550 is permitted or prohibited by the processing in steps S520 and S540 according to the detection result. Is done. That is, if the detected entry direction and size of the intruder satisfy predetermined conditions and the main subject is hidden behind the intruder, photographing is prohibited until the main subject is not hidden. In other cases, photographing is permitted even if an intruder is detected. As a result, when the photographer fully presses the release button, recording of the photographed image data on the recording medium 12 is permitted or prohibited according to the state of the intruder.

なお、ステップS520において、パンニングやチルティング時における撮像装置の動きに対応する進入方向については、撮影を禁止する進入方向から除外することが好ましい。すなわち、振れ検出センサ16によって撮像装置に例えば横方向の動きが生じていることが検出された場合、被写体が静止していたとしても、その被写体は被写界に対して横方向から進入してくるように動く。したがって、このような場合には、侵入物が撮像装置の移動方向から被写界へ進入してきた場合であっても、ステップS520の判定対象から除外して、撮影を許可するようにする。   In step S520, it is preferable to exclude the approach direction corresponding to the movement of the imaging device during panning or tilting from the approach direction in which shooting is prohibited. That is, when the shake detection sensor 16 detects that the imaging apparatus is moving in the horizontal direction, for example, even if the subject is stationary, the subject enters the scene from the horizontal direction. It moves like a knot. Therefore, in such a case, even if an intruder enters the object scene from the moving direction of the imaging device, it is excluded from the determination target in step S520 and photographing is permitted.

ステップS550において、制御回路5は、撮影を実行する。このとき、前述のように制御回路5は、撮像素子駆動回路8、信号処理回路9、データ処理回路10および圧縮/伸張回路11に対して、撮影指令をそれぞれ出力する。撮像素子駆動回路8は、この撮影指令に応じて、撮像素子1へ撮影を実行するための駆動信号を出力する。撮像素子1は、撮像素子駆動回路8からの駆動信号を受けて、測光回路15による測光データに基づいて決定された本撮影用の露出条件にしたがって電荷蓄積を行い、蓄積された電荷量に応じた画像信号を出力する。   In step S550, the control circuit 5 performs shooting. At this time, as described above, the control circuit 5 outputs imaging commands to the image sensor driving circuit 8, the signal processing circuit 9, the data processing circuit 10, and the compression / expansion circuit 11, respectively. The image sensor drive circuit 8 outputs a drive signal for executing imaging to the image sensor 1 in response to the imaging command. The image sensor 1 receives a drive signal from the image sensor drive circuit 8, performs charge accumulation according to the exposure conditions for main photographing determined based on the photometric data by the photometric circuit 15, and depends on the accumulated charge amount. Output the image signal.

信号処理回路9は、撮像素子1から出力された画像信号に対して前述のような信号処理を施し、それを撮影画像データとしてデータ処理回路10へ出力する。データ処理回路10は、信号処理回路9から出力された撮影画像データを圧縮/伸張回路11へ出力すると共に、解像度変換処理を行って表示制御回路14へ出力する。これにより、撮影によって得られた被写体像の撮影画像データが圧縮/伸張回路11から記録媒体12に出力され、記録媒体12において記録されると共に、その被写体像の撮影画像がモニタ13において表示される。   The signal processing circuit 9 performs the above-described signal processing on the image signal output from the image sensor 1 and outputs it to the data processing circuit 10 as photographed image data. The data processing circuit 10 outputs the captured image data output from the signal processing circuit 9 to the compression / expansion circuit 11, performs resolution conversion processing, and outputs the result to the display control circuit 14. As a result, the captured image data of the subject image obtained by photographing is output from the compression / expansion circuit 11 to the recording medium 12 and recorded on the recording medium 12, and the captured image of the subject image is displayed on the monitor 13. .

ステップS560において、制御回路5は、ステップS520の判定による判断の結果を、侵入物検出結果として撮影画像データに関連付けて記録媒体12に記録する。すなわち、ステップS520において、否定判定がなされた場合に、侵入物がある旨について、撮影画像データに関連付けて記録媒体12に記録する。このような構成とすれば、当該撮影画像データを読み出したときに、その撮影画像データに関連付けて記録された侵入物検出結果に基づいて、後述するクロップ処理を行う対象画像を特定することができる。   In step S560, the control circuit 5 records the determination result obtained in step S520 on the recording medium 12 in association with the captured image data as an intruder detection result. That is, when a negative determination is made in step S520, the fact that there is an intruder is recorded in the recording medium 12 in association with the captured image data. With such a configuration, when the captured image data is read out, it is possible to specify a target image to be subjected to a crop process to be described later based on the intruder detection result recorded in association with the captured image data. .

ステップS560を実行したら、制御回路5は、図3のフローチャートを終了する。以上説明したようにして、撮影処理が行われる。   When step S560 is executed, the control circuit 5 ends the flowchart of FIG. The shooting process is performed as described above.

4.侵入物除去処理
次に、図2のステップS80で実行する侵入物除去処理の内容について、図4のフローチャートにより説明する。ステップS810において、制御回路5は、図3のステップS560で記録された侵入物の検出結果に基づいて、本撮影により得られた撮影画像データにおいてクロップ領域を決定する。すなわち、主要被写体に侵入物による隠れが発生しないまでも、撮影画像内に侵入物が存在すると判定された場合(ステップS520が否定判定された場合)に、侵入物のうつっている領域を除外した画像を生成するクロップ処理を行う。なお、クロップ領域とは、撮影画像において侵入物が写ってしまっている不要な部分を除外した部分のこと(記録すべき部分のこと)である。
4). Intruder Removal Process Next, the contents of the intruder removal process executed in step S80 of FIG. 2 will be described with reference to the flowchart of FIG. In step S810, the control circuit 5 determines a crop area in the photographed image data obtained by the main photographing based on the detection result of the intruder recorded in step S560 in FIG. That is, even when the main subject is not hidden by the intruder, if it is determined that the intruder is present in the captured image (when the negative determination is made in step S520), the area where the intruder is depressed is excluded. Performs crop processing to generate images. Note that the crop area is a portion (a portion to be recorded) excluding an unnecessary portion in which an intruding object is reflected in a captured image.

ステップS810においてクロップ領域を決定する方法を、図7の例により以下に説明する。侵入物22が被写体21の前を通り過ぎた後に、図6(e)の状態で撮影を行うことにより、図7に示すような撮影画像が取得されたとする。この場合、図3のフローチャートに示す各処理が制御回路5によって撮影時に実行されることにより、焦点検出領域20aの位置において侵入物22が検出され、その検出結果が撮影画像データと関連付けて記録媒体12に記録される。   A method of determining the crop area in step S810 will be described below with reference to the example of FIG. Assume that a photographed image as shown in FIG. 7 is acquired by photographing in the state shown in FIG. 6E after the intruder 22 passes in front of the subject 21. In this case, each process shown in the flowchart of FIG. 3 is executed by the control circuit 5 at the time of shooting, whereby the intruder 22 is detected at the position of the focus detection area 20a, and the detection result is associated with the shot image data and the recording medium. 12 is recorded.

制御回路5は、ステップS810においてクロップ領域を決定する際に、上記のようにして記録された侵入物22の検出結果を記録媒体12から読み出すことで、侵入物22が焦点検出領域20aにおいて検出されたと判断することができる。その結果、例えば図7の斜線で示されるような侵入物22(焦点検出領域20a)を含む不要な領域を除いたクロップ領域23が決定される。なお、クロップ領域23は、不要な部分を除外する前の撮影画像のアスペクト比と同じアスペクト比となるように設定されることが望ましい。   When determining the cropping area in step S810, the control circuit 5 reads the detection result of the intruder 22 recorded as described above from the recording medium 12, so that the intruder 22 is detected in the focus detection area 20a. Can be judged. As a result, for example, the crop area 23 excluding unnecessary areas including the intruder 22 (focus detection area 20a) as indicated by the oblique lines in FIG. 7 is determined. Note that the crop area 23 is desirably set so as to have the same aspect ratio as the aspect ratio of the photographed image before excluding unnecessary portions.

ステップS820において、制御回路5は、クロップ処理を実行するか否かを判定する。この判定は、撮影者が予め設定したクロップ処理の実行条件にしたがって行われる。たとえば、クロップ処理を実行するか否かを撮影者に予め選択させることにより、クロップ処理の実行条件を設定することができる。あるいは、ステップS810においてクロップ領域が決定された場合は、自動的にクロップ処理を実行するように設定してもよい。クロップ処理を実行する場合はステップS830へ進み、実行しない場合はステップS850へ進む。   In step S820, the control circuit 5 determines whether or not to execute the cropping process. This determination is performed according to the crop processing execution conditions preset by the photographer. For example, the execution conditions for the cropping process can be set by allowing the photographer to select in advance whether or not to execute the cropping process. Alternatively, when the crop area is determined in step S810, the crop processing may be set to be automatically executed. If the crop processing is to be executed, the process proceeds to step S830, and if not, the process proceeds to step S850.

ステップS830へ進んだ場合、ステップS830において、制御回路5は、クロップ処理を実行する。こうしてクロップ処理を実行したら、次のステップS840において、制御回路5は、クロップ処理後の撮影画像データを記録媒体12に記録する。これにより、侵入物の存在する領域が取り除かれたクロップ領域の撮影画像データが、記録媒体12において記録される。なお、このときクロップ処理を実行する前の元の撮影画像データを記録媒体12にそのまま残してもよいし、消去してもよい。また、ステップS830において、クロップ処理を実行せずに、次のステップS840において、ステップS810で決定されたクロップ領域を特定するデータ(クロップ領域を示す撮影画面上の位置を特定するデータ)を、クロップ処理を実行する前の元の撮影画像データに関連づけて、記録媒体12に記録する構成としてもよい。   When the process proceeds to step S830, in step S830, the control circuit 5 executes a crop process. After the cropping process is executed in this way, in the next step S840, the control circuit 5 records the captured image data after the cropping process on the recording medium 12. Thereby, the captured image data of the crop area from which the area where the intruder exists is removed is recorded on the recording medium 12. At this time, the original photographed image data before the crop processing may be left in the recording medium 12 or may be deleted. In step S830, the cropping process is not executed, and in step S840, the data specifying the crop area determined in step S810 (data specifying the position on the shooting screen indicating the crop area) is cropped. A configuration may be adopted in which recording is performed on the recording medium 12 in association with the original photographed image data before the processing is executed.

一方、ステップS850へ進んだ場合、ステップS850において、制御回路5は、ステップS810で決定したクロップ領域を特定するデータを、撮影画像データに関連付けて記録媒体12に記録する。これにより、本実施形態の撮像装置、あるいはパーソナルコンピュータ等において当該撮影画像データを読み出したときに、クロップ処理が実行されていない撮影画像中にクロップ処理を行う候補領域を表示して、クロップ処理を行う領域をユーザに調整させることもできる。   On the other hand, when the process proceeds to step S850, in step S850, the control circuit 5 records the data specifying the crop area determined in step S810 on the recording medium 12 in association with the captured image data. As a result, when the captured image data is read out by the imaging apparatus or personal computer according to the present embodiment, the candidate region to be subjected to the crop process is displayed in the captured image that has not been subjected to the crop process, and the crop process is performed. The user can also adjust the area to be performed.

ステップS840またはS850を実行したら、制御回路5は、図4のフローチャートを終了する。以上説明したようにして、侵入物除去処理が行われる。   If step S840 or S850 is performed, the control circuit 5 will complete | finish the flowchart of FIG. As described above, the intruder removal process is performed.

以上説明した実施の形態によれば、次の作用効果が得られる。
(1)制御回路5は、撮影者の操作に応じて被写体像の撮影画像データを取得して記録媒体12に記録することにより撮影を行う(ステップS50)。この撮影を行う前に、制御回路5は、被写界に設定された複数の焦点検出領域について、デフォーカス情報を取得する(ステップS20)ことにより、各焦点検出領域に対応する被写体までの距離に関する距離情報をそれぞれ取得する。そして、このデフォーカス情報の時間に応じた変化に基づいて動きベクトルを算出し(ステップS30)、算出した動きベクトルに基づいて様々なデータの記録制御(例えば上述の如く、画像データの記録を許可したり禁止したり、更には侵入物の検出結果を記録したりしなかったり、など)を行うことにより、ステップS20においてデフォーカス情報として取得された距離情報の変化に基づくデータの記録を記録媒体12に対して行うこととした。このようにしたので、被写体までの距離が変化したときに、その変化に応じて撮影時に上述の如き様々なデータの記録制御を行うことができる。
According to the embodiment described above, the following operational effects can be obtained.
(1) The control circuit 5 performs photographing by acquiring photographed image data of a subject image in accordance with a photographer's operation and recording it on the recording medium 12 (step S50). Before performing this photographing, the control circuit 5 obtains defocus information for a plurality of focus detection areas set in the object field (step S20), whereby the distance to the subject corresponding to each focus detection area. Get distance information for each. Then, a motion vector is calculated based on the change of the defocus information according to the time (step S30), and various data recording control is performed based on the calculated motion vector (for example, recording of image data is permitted as described above). Recording the data based on the change of the distance information acquired as the defocus information in step S20 by performing or prohibiting, or even not recording the detection result of the intruder. 12 to be performed. As described above, when the distance to the subject changes, various data recording control as described above can be performed at the time of shooting according to the change.

(2)制御回路5は、動きベクトルの内容に基づいて定められる距離変化データを、撮影画像データに関連付けて記録媒体12に記録する(ステップS50)。こうすることにより、ステップS20においてデフォーカス情報として取得された距離情報の時間に応じた変化に基づく距離変化データを、撮影画像データに関連付けて記録媒体12に記録することとした。このようにしたので、撮影画像データを記録媒体12から読み出すときに、対応する距離変化データの内容から撮影時における被写体までの距離の変化の様子を容易に知ることができる。 (2) The control circuit 5 records distance change data determined based on the content of the motion vector on the recording medium 12 in association with the captured image data (step S50). By doing so, the distance change data based on the change according to the time of the distance information acquired as the defocus information in step S20 is recorded on the recording medium 12 in association with the captured image data. Since it did in this way, when reading picked-up image data from the recording medium 12, the mode of the change of the distance to the to-be-photographed object at the time of imaging | photography can be easily known from the content of corresponding distance change data.

(3)制御回路5は、ステップS30で算出した動きベクトルに基づいて被写界への侵入物を検出し(ステップS510)、その侵入物の動きベクトル、あるいは侵入物と主要被写体との位置関係が所定の条件を満たすか否かの判断結果を撮影画像データに関連付けて記録媒体12に記録する(ステップS560)。これにより、デフォーカス情報として取得された距離情報の変化に基づいて被写界への侵入物を検出し、その検出結果を記録することとした。このようにしたので、記録媒体12から撮影画像データを読み出す際に、撮影時に侵入物が検出されたか否かを容易に判断することができる。 (3) The control circuit 5 detects an intruder entering the scene based on the motion vector calculated in step S30 (step S510), and the motion vector of the intruder or the positional relationship between the intruder and the main subject. Is recorded on the recording medium 12 in association with the photographed image data (step S560). Thus, an intruder entering the object scene is detected based on a change in the distance information acquired as defocus information, and the detection result is recorded. Since it did in this way, when reading picked-up image data from the recording medium 12, it can be judged easily whether the intrusion object was detected at the time of imaging | photography.

(4)制御回路5は、ステップS520における侵入物に関する判定結果に応じて、被写体像の撮影を許可または禁止することとした。このようにしたので、侵入物によって主要被写体が遮られているときに撮影が誤って行われてしまうのを防止することができる。なお、ステップS540における侵入物に関する判定結果にかかわらず、撮影動作を行い、侵入物の検出結果に基づいて、記録媒体12への撮影画像データの記録を許可または禁止する構成としてもよい。 (4) The control circuit 5 permits or prohibits the photographing of the subject image according to the determination result regarding the intruder in step S520. Since it did in this way, it can prevent that imaging | photography is mistakenly performed when the main to-be-photographed object is obstruct | occluded by the intruder. Note that, regardless of the determination result regarding the intruder in step S540, a configuration may be adopted in which a photographing operation is performed and recording of the photographed image data on the recording medium 12 is permitted or prohibited based on the detection result of the intruder.

(5)制御回路5は、ステップS560で記録された侵入物の検出結果に基づいて、撮影画像データにおいてクロップ領域(侵入物を除外した領域)を決定し(ステップS810)、決定されたクロップ領域を撮影画像データに関連付けて記録媒体12に記録する(ステップS850)こととした。このようにしたので、当該撮影画像データを記録媒体12から読み出したときに、クロップ領域を抽出して撮影画像を表示することができる。 (5) The control circuit 5 determines a crop area (area excluding the intruder) in the captured image data based on the detection result of the intruder recorded in step S560 (step S810), and the determined crop area Is recorded on the recording medium 12 in association with the photographed image data (step S850). Since it did in this way, when the said picked-up image data are read from the recording medium 12, a crop area | region can be extracted and a picked-up image can be displayed.

(6)また、制御回路5は、ステップS810において決定されたクロップ領域を撮影画像データから抽出することにより、クロップ処理を行う(ステップS830)。このクロップ処理によりクロップ領域のみが抽出された撮影画像データを記録媒体12に記録する(ステップS840)こととした。このようにしたので、当該撮影画像データを記録媒体12から読み出して表示することにより、クロップ領域のみが抽出された撮影画像を表示することができる。 (6) Further, the control circuit 5 performs the crop processing by extracting the crop region determined in step S810 from the captured image data (step S830). The captured image data from which only the crop area has been extracted by this crop processing is recorded on the recording medium 12 (step S840). Since it did in this way, the said picked-up image data can be read from the recording medium 12, and the picked-up image from which only the crop area | region was extracted can be displayed.

<変形例>
(1)一般的に大きさ(被写界画面内での面積)の大きい侵入物の侵入方向(進行方向)は、被写界内での横方向であることが多い。このため、上記実施形態の図3のステップS510の被写界内への侵入物の検出方向を横方向のみに限定し、被写界の横方向から侵入する侵入物のみを検出する構成にしても良い。このような構成とすれば、侵入物の検出をより迅速に行うことができる。
<Modification>
(1) Generally, the intruding direction (traveling direction) of an intruding object having a large size (area in the object scene screen) is often the lateral direction in the object field. For this reason, the detection direction of the intruder into the object scene in step S510 of FIG. 3 in the above embodiment is limited to the horizontal direction, and only the intruder entering from the horizontal direction of the object scene is detected. Also good. With such a configuration, the intruder can be detected more quickly.

(2)上記実施形態の図3のステップS520で使用する所定の条件として、撮影画像に対する侵入物の影響の大きさ(度合い)を考慮するようにしても良い。即ち、主要被写体の大きさ(面積)に対する侵入物の相対的な大きさ(面積)や、主要被写体に対する侵入物の相対的な位置に基づいて、ステップS520での判定動作を行うようにしても良い。例えば侵入物が昆虫などのような比較的小さいもの(主要被写体に対して相対的にかなり小さい)ものである場合や、あるいは侵入物の存在位置が撮影画面内(被写界内)の端の方であって被写界内での主要被写体との相対距離が大きい場合には、撮影画像に対する侵入物の影響度が小さいと判断し、ステップS520を否定判定する構成にしても良い。 (2) As a predetermined condition used in step S520 of FIG. 3 in the above embodiment, the magnitude (degree) of the influence of the intruder on the captured image may be considered. That is, the determination operation in step S520 may be performed based on the relative size (area) of the intruder with respect to the size (area) of the main subject and the relative position of the intruder with respect to the main subject. good. For example, when the intruder is a relatively small object such as an insect (which is relatively small with respect to the main subject), or the position of the intruder is at the end of the shooting screen (in the field of view) If the relative distance from the main subject in the object field is large, it may be determined that the degree of influence of the intruder on the captured image is small and the determination in step S520 is negative.

(3)上記実施形態の図3のステップS520、S540の処理は、必ずしも実行する必要はなく、省略しても良い。例えば、カメラのドラフト状態ではS520、S540の動作を禁止するものとしておき、撮影者が、侵入物によって主要被写体が隠されている間は撮影を禁止したいと思って、切り替え操作(ステップS520、S540の動作が実行されるようにカメラの動作設定を切り替える操作)を行った場合のみS520、S540の動作を実行するように構成しても良い。なおステップS520、540の処理を禁止した場合には、後のステップS560ではステップS510の検出結果を記録することになる。
このような構成にした場合には、主要被写体上に侵入物による隠れが発生する場合であっても、撮影/記録動作が行われることになるが、ステップS520、S540の処理を行わない分、迅速な撮影/記録動作を行うことができる。なおステップS560で記録された侵入物の検出結果を使って、撮影/記録された画像の中から撮影失敗画像の候補として、侵入物の存在する画像を一括して容易に抽出することができる。
(3) The processing of steps S520 and S540 of FIG. 3 in the above embodiment is not necessarily executed and may be omitted. For example, in the draft state of the camera, it is assumed that the operations of S520 and S540 are prohibited, and the photographer wants to prohibit the shooting while the main subject is hidden by the intruder, and the switching operation (steps S520 and S540). The operation of S520 and S540 may be executed only when the operation of switching the camera operation setting is performed so that the above operation is executed. If the processing in steps S520 and 540 is prohibited, the detection result in step S510 is recorded in the subsequent step S560.
In such a configuration, even when the main subject is hidden by an intruder, the photographing / recording operation is performed, but the processing of steps S520 and S540 is not performed. A quick photographing / recording operation can be performed. In addition, using the detection result of the intruder recorded in step S560, it is possible to easily extract the images containing the intruder from the captured / recorded images as candidates for the imaging failure image.

(4)上記実施形態の図3のステップS520、S540では、例えば侵入物までの撮影距離が主要被写体までの撮影距離に比べて短く、且つ侵入物が主要被写体の領域に向かって進んでおり、撮影時点で主要被写体が侵入物の陰になる可能性があるか否か、或いはステップS520の判断時点で侵入物が実際に主要被写体の領域内に存在しているか否か、を判断する構成とした。
このような構成に代えて、侵入物までの撮影距離が主要被写体までの撮影距離に比べて短いか否かの情報のみに基づいてステップS520、S540での判断を行うようにしても良い。そしてこの場合には、この条件が満足されなくなるまでステップS540の処理を繰り返すことになる。
このような構成に代えたとしても、カメラのAFモードが、至近被写体に優先的に合焦する、いわゆる至近優先AFモードに設定されていたとしても、主要被写体に合焦せずにそれより至近距離に存在する侵入物に合焦した失敗画像を撮影してしまう、という虞を抑制することができる。
(4) In steps S520 and S540 of FIG. 3 in the above embodiment, for example, the shooting distance to the intruder is shorter than the shooting distance to the main subject, and the intruder advances toward the area of the main subject. A configuration for determining whether or not the main subject may be behind the intruder at the time of shooting, or whether or not the intruder is actually present in the area of the main subject at the time of determination in step S520; did.
Instead of such a configuration, the determination in steps S520 and S540 may be performed based only on information about whether or not the shooting distance to the intruder is shorter than the shooting distance to the main subject. In this case, the process of step S540 is repeated until this condition is not satisfied.
Even if the configuration is changed to this, even if the AF mode of the camera is set to the so-called close-priority priority AF mode in which the close-up subject is preferentially focused, the main subject is not in-focus but closer to it. It is possible to suppress a fear that a failure image focused on an intruder existing at a distance is captured.

(5)上記実施形態の図3において、ステップS520、S540を実行した上で、ステップS560において、ステップS510での侵入物の検出結果を記録媒体12に記録する構成にしても良い。この侵入物検出結果は、本撮影によって得られた撮影画像データに関連付けて記録媒体12に記録される。このような構成であれば、記録媒体12に記録された撮影画像データを読み出す際に、その画像の撮影の際に侵入物の検出がなされたか否か、を容易に識別することができ、且つ記録した画像の中から侵入物の存在する画像を容易に抽出することができる。 (5) In FIG. 3 of the above embodiment, after executing steps S520 and S540, the detection result of the intruder in step S510 may be recorded on the recording medium 12 in step S560. The intruder detection result is recorded on the recording medium 12 in association with the captured image data obtained by the actual imaging. With such a configuration, when the captured image data recorded on the recording medium 12 is read, it is possible to easily identify whether or not an intruder has been detected at the time of capturing the image, and It is possible to easily extract an image containing an intruder from the recorded image.

(6)上記実施形態の図3のステップS560において、制御回路5が、ステップS540の判定結果に基づいて、侵入物検出結果を記録するか否かを決定するようにしても良い。即ち、ステップS540において、主要被写体が侵入物の陰に隠れると判断された場合には、その侵入物の検出結果を撮影画像データに関連付けて記録媒体12に記録する。一方、そのステップS540において主要被写体が侵入物の陰に隠れないと判断された場合には、その侵入物の検出結果を記録媒体12に記録しないようにする。なおこの構成において、ステップS540の判断自体は実行するが、ここで肯定判定されても否定判定されてもステップS550に進むようにする。
このように構成すれば、当該撮影データを読み出したときに侵入物検出結果が記録されていれば、その撮影画像では主要被写体が侵入物の陰に隠れていると容易に判断することができ、記録画像の中で主要被写体が侵入物の陰に隠れている画像を容易に抽出することができる。
また上記実施形態の図3のステップS560において、制御回路5は、ステップS540の判定による判断の結果そのものを、侵入物検出結果として撮影画像データに関連付けて記録媒体12に記録する構成としても良い。なおこの場合も、ステップS540の判断結果に関わらず(肯定判定であっても)ステップS550に進むようにする。
このような構成にすれば、当該撮影データを読み出したときに、その撮影画像データに関連付けて記録された侵入物検出結果に基づいて、主要被写体が侵入物の陰に隠れているか否かの判断を容易に行うことができると共に、記録画像の中で主要被写体が侵入物の陰に隠れている画像を容易に抽出することができる。
(6) In step S560 of FIG. 3 in the above embodiment, the control circuit 5 may determine whether to record the intruder detection result based on the determination result of step S540. In other words, if it is determined in step S540 that the main subject is hidden behind the intruder, the detection result of the intruder is recorded on the recording medium 12 in association with the captured image data. On the other hand, if it is determined in step S540 that the main subject is not hidden behind the intruder, the detection result of the intruder is not recorded on the recording medium 12. In this configuration, the determination in step S540 is executed, but the process proceeds to step S550 regardless of whether the determination is affirmative or negative.
With this configuration, if the intruder detection result is recorded when the image data is read, it can be easily determined that the main subject is hidden behind the intruder in the captured image. It is possible to easily extract an image in which a main subject is hidden behind an intruder in a recorded image.
In step S560 of FIG. 3 in the above embodiment, the control circuit 5 may record the result of the determination in step S540 in the recording medium 12 in association with the captured image data as an intrusion detection result. In this case, the process proceeds to step S550 regardless of the determination result in step S540 (even if the determination is affirmative).
With such a configuration, when the captured data is read out, it is determined whether the main subject is hidden behind the intruder based on the intruder detection result recorded in association with the captured image data. Can be easily performed, and an image in which the main subject is hidden behind the intruder can be easily extracted from the recorded image.

(7)上記実施形態の図3のステップS560において、制御回路5は、ステップS510、S520、S540のそれぞれの判断の結果を、侵入物検出結果として撮影画像データに関連付けて記録媒体12に記録する構成としても良い。なおこの場合にも、ステップS540の判断結果に関わらずステップS550に進むようにする。
このように構成すれば、撮影画像データに関連付けられて記録されているステップS510、S520、S540の判断結果をもとに、侵入物が存在するが主要被写体には侵入物による隠れが発生していない撮影画像、主要被写体に侵入物による隠れが発生している撮影画像、などというように、上記各判断ステップで設定された判定条件に応じた撮影画像を、それぞれ分離して抽出することができる。
(7) In step S560 of FIG. 3 in the above embodiment, the control circuit 5 records the determination results of steps S510, S520, and S540 on the recording medium 12 in association with the captured image data as the intruder detection result. It is good also as a structure. In this case, the process proceeds to step S550 regardless of the determination result of step S540.
According to this configuration, there is an intruder based on the determination results of steps S510, S520, and S540 recorded in association with the captured image data, but the main subject is hidden by the intruder. The captured images corresponding to the determination conditions set in each of the above determination steps can be extracted separately, such as no captured images, captured images in which the main subject is hidden by intruders, etc. .

(8)ステップS510において侵入物が検出されても、ステップS520において所定の条件を満たさないと判定された場合や、ステップS540の処理により主要被写体が侵入物の陰に隠れなくなるまで撮影が禁止された場合には、その侵入物を検出結果の記録対象から除外するようにしてもよい。すなわち、被写界への進入方向や侵入物の大きさにより、その侵入物が主要被写体を遮らないと判断された場合や、ステップS550において被写体像が撮影される前に侵入物が被写界の外に移動した場合は、その侵入物を検出結果の記録対象から除外することができる。このようにすれば、撮影に影響しなかった侵入物の検出結果を記録対象から除外して、不要な侵入物検出結果の記録を避けることができる。 (8) Even if an intruder is detected in step S510, photographing is prohibited until it is determined in step S520 that the predetermined condition is not satisfied, or until the main subject is not hidden behind the intruder by the process in step S540. In such a case, the intruder may be excluded from the detection result recording target. That is, when it is determined that the intruder does not block the main subject due to the direction of entry into the scene or the size of the intruder, or before the subject image is captured in step S550, the intruder In the case of moving outside, the intruder can be excluded from the detection result recording target. In this way, it is possible to avoid the recording of unnecessary intruder detection results by excluding the detection results of intruders that did not affect imaging from the recording target.

(9)クロップ領域が設定不可能な場合、たとえば撮影時に検出された侵入物が主要被写体に重なっているような場合には、上記実施形態の図4のステップS810においてクロップ領域を設定せずにそのまま図4のフローチャートを終了して侵入物除去処理を中止するようにしても良い。あるいは、クロップ領域が設定できない旨を撮影画像データに関連付けて記録媒体に記録することとしても良い。なおこのように構成する際には、図3のステップS540での判断結果に関わらずステップS550に進むように、図3のフローチャートを構成しておく。 (9) When the crop area cannot be set, for example, when an intruder detected at the time of shooting overlaps the main subject, the crop area is not set in step S810 of FIG. 4 of the above embodiment. The flowchart of FIG. 4 may be ended as it is, and the intruder removal process may be stopped. Alternatively, the fact that the crop area cannot be set may be recorded on the recording medium in association with the captured image data. In such a configuration, the flowchart of FIG. 3 is configured to proceed to step S550 regardless of the determination result in step S540 of FIG.

(10)上記実施形態においては、撮像素子1とAFセンサ17とが別部品で構成される例について説明したが、例えば特開2000−156823号公報に開示されるように、撮像素子1とAFセンサ17とを同部品で構成するようにしても良い。 (10) In the above-described embodiment, the example in which the image sensor 1 and the AF sensor 17 are configured as separate components has been described. However, as disclosed in, for example, Japanese Patent Application Laid-Open No. 2000-156823, the image sensor 1 and the AF sensor 17 The sensor 17 may be composed of the same parts.

(11)撮影動作による撮影画像データ取得の後も、所定時間の間、デフォーカス情報の取得を行う構成としても良い。侵入物と主要被写体との距離が、撮影画像データの取得後に時間経過と共に離れている場合には、侵入物は、主要被写体とは無関係の被写界を横切る侵入物と判断する。一方、侵入物と主要被写体との間の距離が、撮影画像データの取得後に時間経過と共に離れておらず、主要被写体領域の近傍に留まっている場合には、侵入物は時間的に遅れて被写界に入ってきた主要被写体の一部であると判断し、上記ステップS510,S520,S540において侵入物がある旨の判断がなされていても、その判断結果を記録媒体12に記録しない構成とすることができる。 (11) The configuration may be such that the defocus information is acquired for a predetermined time after acquisition of the captured image data by the imaging operation. When the distance between the intruder and the main subject is increased with the passage of time after the captured image data is acquired, the intruder is determined to be an intruder that crosses the object field unrelated to the main subject. On the other hand, if the distance between the intruder and the main subject is not separated with the passage of time after acquisition of the captured image data and remains in the vicinity of the main subject area, the intruder is covered with a delay in time. Even if it is determined that the subject is part of the main subject that has entered the field and there is an intruder in steps S510, S520, and S540, the determination result is not recorded on the recording medium 12. can do.

なお、以上説明した実施の形態は、あくまで本発明の実施の形態の一例である。したがって、発明を解釈する際、上記の記載事項と特許請求の範囲の記載事項の対応関係には何ら限定も拘束もされない。また、発明の特徴が損なわれない限り、本発明は上記の記載内容に限定されるものでもない。   The embodiment described above is merely an example of the embodiment of the present invention. Therefore, when interpreting the invention, the correspondence between the above described items and the items described in the claims is not limited or restricted. In addition, the present invention is not limited to the above description unless the features of the invention are impaired.

撮像装置の構成の一例を示すブロックダイアグラムである。It is a block diagram which shows an example of a structure of an imaging device. 撮影モードに設定されたときに実行される処理のフローチャートである。It is a flowchart of the process performed when it sets to imaging | photography mode. 撮影処理を行う際に実行される処理のフローチャートである。It is a flowchart of the process performed when performing an imaging | photography process. 侵入物除去処理を行う際に実行される処理のフローチャートである。It is a flowchart of the process performed when performing an intrusion removal process. 被写界に設定された焦点検出領域の例を示す図である。It is a figure which shows the example of the focus detection area set to the object scene. 動きベクトルを算出する方法を説明するための図である。It is a figure for demonstrating the method of calculating a motion vector. クロップ領域を決定する方法を説明するための図である。It is a figure for demonstrating the method to determine a crop area | region.

符号の説明Explanation of symbols

1:撮像素子、2:撮影レンズ、3:レンズ駆動回路、5:制御回路、7:操作部材、
8:撮像素子駆動回路、9:信号処理回路、10:データ処理回路、
11:圧縮/伸張回路、12:記録媒体、13:モニタ、14:表示制御回路、
15:測光回路、16:振れ検出センサ、17、AFセンサ
1: imaging device, 2: photographing lens, 3: lens driving circuit, 5: control circuit, 7: operation member,
8: Image sensor driving circuit, 9: Signal processing circuit, 10: Data processing circuit,
11: compression / decompression circuit, 12: recording medium, 13: monitor, 14: display control circuit,
15: Photometry circuit, 16: Shake detection sensor, 17, AF sensor

Claims (9)

撮影者の操作に応じて被写体像の撮影画像データを取得して記録媒体に記録することにより撮影を行う撮影手段と、
被写界に設定された複数の焦点検出領域について、各焦点検出領域に対応する被写体までの距離に関する距離情報をそれぞれ取得する距離情報取得手段と、
前記距離情報取得手段により取得された距離情報の時間に応じた変化に基づく距離変化データを前記撮影画像データに関連付けて前記記録媒体に記録する記録制御手段とを備えることを特徴とする撮像装置。
Photographing means for photographing by acquiring photographed image data of a subject image in accordance with a photographer's operation and recording it on a recording medium;
Distance information acquisition means for acquiring distance information related to the distance to the subject corresponding to each focus detection area for a plurality of focus detection areas set in the object scene;
An image pickup apparatus comprising: a recording control unit that records distance change data based on a change according to time of distance information acquired by the distance information acquisition unit in association with the photographed image data and records the data on the recording medium .
請求項1に記載の撮像装置において、
前記距離情報の時間に応じた変化に基づいて、前記被写界への侵入物を検出する侵入物検出手段とをさらに備え、
前記記録制御手段は、前記侵入物検出手段による前記侵入物の検出結果を前記撮影画像データに関連付けて前記記録媒体に記録することを特徴とする撮像装置。
The imaging device according to claim 1,
An intruder detection means for detecting an intruder into the object scene based on a change according to time of the distance information;
The image recording apparatus, wherein the recording control unit records the detection result of the intruder by the intruder detection unit in association with the captured image data on the recording medium .
請求項に記載の撮像装置において、
前記被写界内で主要被写体の領域を抽出する抽出手段と、
前記抽出手段により領域を抽出された主要被写体について取得された距離情報と、前記侵入物について取得された距離情報とに基づいて、前記主要被写体が前記侵入物の陰に隠れるか否かを判断する隠れ判断手段とをさらに備え、
前記記録制御手段は、前記主要被写体が前記侵入物の陰に隠れると判断された場合には、前記侵入物の検出結果を前記撮影画像データに関連付けて前記記録媒体に記録し、前記主要被写体が前記侵入物の陰に隠れないと判断された場合には、前記侵入物の検出結果を前記記録媒体に記録しないことを特徴とする撮像装置。
The imaging device according to claim 2 ,
Extracting means for extracting a region of a main subject in the scene;
Whether the main subject is hidden behind the intruder is determined based on the distance information acquired for the main subject whose area has been extracted by the extraction unit and the distance information acquired for the intruder. And a hiding judgment means,
When it is determined that the main subject is hidden behind the intruder, the recording control unit records the detection result of the intruder on the recording medium in association with the captured image data, and the main subject When it is determined that the intruder is not hidden behind the intruder, the intruder detection result is not recorded on the recording medium .
請求項に記載の撮像装置において、
前記被写界内で主要被写体の領域を抽出する抽出手段と、
前記抽出手段により領域を抽出された主要被写体について取得された距離情報と、前記侵入物について取得された距離情報とに基づいて、前記侵入物が前記主要被写体よりも近い位置に存在するか否かを判断する判断手段とをさらに備え、
前記記録制御手段は、前記侵入物が前記主要被写体よりも近い位置に存在すると判断された場合には、前記侵入物の検出結果を前記撮影画像データに関連付けて前記記録媒体に記録し、前記侵入物が前記主要被写体よりも遠い位置に存在すると判断された場合には、前記侵入物の検出結果を前記記録媒体に記録しないことを特徴とする撮像装置。
The imaging device according to claim 2 ,
Extracting means for extracting a region of a main subject in the scene;
Whether or not the intruder is present at a position closer to the main subject based on the distance information acquired for the main subject whose area has been extracted by the extraction means and the distance information acquired for the intruder And a judging means for judging
When it is determined that the intruder is present at a position closer to the main subject , the recording control unit records the intruder detection result on the recording medium in association with the captured image data, and the intruder An imaging apparatus , wherein when it is determined that an object is present at a position farther than the main subject , the detection result of the intruder is not recorded on the recording medium.
請求項に記載の撮像装置において、
前記距離情報の時間に応じた変化に基づいて、前記被写界への侵入物を検出する侵入物検出手段と、
前記被写界内で主要被写体の領域を抽出する抽出手段と、
前記抽出手段により領域を抽出された主要被写体について取得された距離情報と、前記侵入物について取得された距離情報とに基づいて、前記主要被写体が前記侵入物の陰に隠れるか否かを判断する隠れ判断手段とをさらに備え、
前記記録制御手段は、前記隠れ判断手段による判断の結果を前記撮影画像データに関連付けて前記記録媒体に記録することを特徴とする撮像装置。
The imaging device according to claim 1 ,
An intruder detection means for detecting an intruder into the object scene based on a change according to time of the distance information;
Extracting means for extracting a region of a main subject in the scene;
Whether the main subject is hidden behind the intruder is determined based on the distance information acquired for the main subject whose area has been extracted by the extraction unit and the distance information acquired for the intruder. And a hiding judgment means,
The image recording apparatus, wherein the recording control unit records the result of determination by the hiding determination unit in association with the captured image data on the recording medium .
請求項1に記載の撮像装置において、
前記距離情報の時間に応じた変化に基づいて、前記被写界への侵入物を検出する侵入物検出手段をさらに備え、
前記記録制御手段は、前記侵入物検出手段による前記侵入物の検出結果に応じて、前記撮影手段による撮影動作及び/または前記撮影手段による前記記録媒体への撮影画像データの記録を許可または禁止することを特徴とする撮像装置。
The imaging device according to claim 1,
An intruder detection means for detecting an intruder into the object scene based on a change according to time of the distance information ;
The recording control unit permits or prohibits the photographing operation by the photographing unit and / or the recording of the photographed image data on the recording medium by the photographing unit according to the detection result of the intruder by the intruder detecting unit. An imaging apparatus characterized by that.
請求項に記載の撮像装置において、
前記記録制御手段は、前記侵入物の前記被写界への侵入方向または大きさに基づいて、前記撮影手段による撮影動作及び/または前記撮影手段による前記記録媒体への撮影画像データの記録を許可または禁止することを特徴とする撮像装置。
The imaging device according to claim 6 ,
The recording control means permits the photographing operation by the photographing means and / or the recording of the photographed image data on the recording medium by the photographing means based on the intrusion direction or size of the intruder into the object scene. Alternatively, an imaging device that is prohibited.
請求項に記載の撮像装置において、
前記距離情報の時間に応じた変化に基づいて、前記被写界への侵入物を検出する侵入物検出手段と、
前記侵入物検出手段による前記侵入物の検出結果に基づいて、前記撮影画像データにおいてクロップ領域を決定するクロップ領域決定手段とをさらに備え、
前記記録制御手段は、前記クロップ領域決定手段により決定されたクロップ領域を特定するデータを前記撮影画像データに関連付けて前記記録媒体に記録することを特徴とする撮像装置。
The imaging device according to claim 1 ,
An intruder detection means for detecting an intruder into the object scene based on a change according to time of the distance information;
A crop area determining means for determining a crop area in the photographed image data based on the detection result of the intruder by the intruder detection means;
The image recording apparatus, wherein the recording control means records data specifying the crop area determined by the crop area determination means on the recording medium in association with the captured image data .
請求項1に記載の撮像装置において、
前記距離情報の時間に応じた変化に基づいて、前記被写界への侵入物を検出する侵入物検出手段と、
前記侵入物検出手段による前記侵入物の検出結果に基づいて、前記撮影画像データにおいてクロップ領域を決定するクロップ領域決定手段と、
前記クロップ領域決定手段により決定されたクロップ領域を前記撮影画像データから抽出することにより、クロップ処理を行うクロップ処理手段とをさらに備え、
前記記録制御手段は、前記クロップ処理手段により抽出された前記クロップ領域に対応する撮影画像データを前記記録媒体に記録することを特徴とする撮像装置。
The imaging device according to claim 1,
An intruder detection means for detecting an intruder into the object scene based on a change according to time of the distance information;
Crop area determination means for determining a crop area in the captured image data based on the detection result of the intruder by the intruder detection means ;
A crop processing means for performing crop processing by extracting the crop area determined by the crop area determination means from the captured image data;
The image recording apparatus, wherein the recording control unit records photographed image data corresponding to the crop area extracted by the crop processing unit on the recording medium .
JP2007217218A 2007-08-23 2007-08-23 Imaging device Expired - Fee Related JP4983479B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007217218A JP4983479B2 (en) 2007-08-23 2007-08-23 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007217218A JP4983479B2 (en) 2007-08-23 2007-08-23 Imaging device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2011219262A Division JP5229371B2 (en) 2011-10-03 2011-10-03 Imaging device
JP2012099064A Division JP5168424B2 (en) 2012-04-24 2012-04-24 Imaging device

Publications (2)

Publication Number Publication Date
JP2009055093A JP2009055093A (en) 2009-03-12
JP4983479B2 true JP4983479B2 (en) 2012-07-25

Family

ID=40505800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007217218A Expired - Fee Related JP4983479B2 (en) 2007-08-23 2007-08-23 Imaging device

Country Status (1)

Country Link
JP (1) JP4983479B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5446035B2 (en) * 2009-04-16 2014-03-19 カシオ計算機株式会社 Imaging apparatus, imaging method, and program
JP5761323B2 (en) * 2013-12-17 2015-08-12 カシオ計算機株式会社 Imaging apparatus, imaging method, and program
JP6843558B2 (en) * 2016-08-31 2021-03-17 キヤノン株式会社 Lens control device, its control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3521637B2 (en) * 1996-08-02 2004-04-19 オムロン株式会社 Passenger number measurement device and entrance / exit number management system using the same
JP2002051255A (en) * 2000-07-31 2002-02-15 Olympus Optical Co Ltd Main object detectable camera
JP2005159856A (en) * 2003-11-27 2005-06-16 Nikon Corp Digital camera
JP2006041604A (en) * 2004-07-22 2006-02-09 Seiko Epson Corp Image processing apparatus, image processing method, and image processing program
JP2006157604A (en) * 2004-11-30 2006-06-15 Casio Comput Co Ltd Camera apparatus and automatic photographing control program

Also Published As

Publication number Publication date
JP2009055093A (en) 2009-03-12

Similar Documents

Publication Publication Date Title
JP5251215B2 (en) Digital camera
JP5246159B2 (en) Imaging device, image display device, program
JP5056061B2 (en) Imaging device
EP2168005B1 (en) Focus control apparatus, image sensing apparatus, and control method therefor
US9489747B2 (en) Image processing apparatus for performing object recognition focusing on object motion, and image processing method therefor
JP2008009263A (en) Imaging device and program therefor
JP2006317848A (en) Still picture imaging apparatus
JP2008129554A (en) Imaging device and automatic focusing control method
JP2007279601A (en) Camera
US8284994B2 (en) Image processing apparatus, image processing method, and storage medium
US11435550B2 (en) Camera for limiting shifting of focus adjustment optical system
JP5030022B2 (en) Imaging apparatus and program thereof
JP4645413B2 (en) Imaging device
JP4983479B2 (en) Imaging device
JP2009081530A (en) Imaging apparatus and imaging method
JP2008288797A (en) Imaging apparatus
JP2009075168A (en) Photographing device, control method and program
JP5229371B2 (en) Imaging device
JP2010193324A (en) Camera apparatus, photographing method thereof and program
JP2009020163A (en) Imaging apparatus and program therefor
JP5858658B2 (en) Imaging device
JP5168424B2 (en) Imaging device
JP4888829B2 (en) Movie processing device, movie shooting device, and movie shooting program
JP4665826B2 (en) Imaging apparatus and image processing program
JP6330283B2 (en) Subject tracking device, imaging device, and subject tracking program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110802

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111003

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20111003

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4983479

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

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

LAPS Cancellation because of no payment of annual fees