JP2014016534A - Imaging device and focus adjustment method of imaging device - Google Patents

Imaging device and focus adjustment method of imaging device Download PDF

Info

Publication number
JP2014016534A
JP2014016534A JP2012154431A JP2012154431A JP2014016534A JP 2014016534 A JP2014016534 A JP 2014016534A JP 2012154431 A JP2012154431 A JP 2012154431A JP 2012154431 A JP2012154431 A JP 2012154431A JP 2014016534 A JP2014016534 A JP 2014016534A
Authority
JP
Japan
Prior art keywords
image
unit
imaging
imaging device
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012154431A
Other languages
Japanese (ja)
Other versions
JP5993232B2 (en
Inventor
Satoru Ito
覚 伊東
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.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging 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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2012154431A priority Critical patent/JP5993232B2/en
Publication of JP2014016534A publication Critical patent/JP2014016534A/en
Application granted granted Critical
Publication of JP5993232B2 publication Critical patent/JP5993232B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide an imaging device capable of focusing on a main subject when performing panning, and a focus adjustment method of an imaging device.SOLUTION: A focus adjustment method of an imaging device comprises the steps of: calculating a spatial frequency related to a direction of movement (swing direction) of an image in an imaging screen for each of predetermined areas (S5); performing weighting of priority according to the calculated spatial frequency for each of the predetermined areas (S7); detecting a change in contrast between a plurality of image signals acquired in different times for each of the predetermined areas (S9); performing weighting of priority according to the calculated contrast change amount for each of the predetermined areas (S11); setting a predetermined area having higher weighted priority as an AF area (S19); and performing AF (S23).

Description

本発明は、焦点調節動作を行う焦点調節部を備えた撮像装置および撮像装置の焦点調節方法に関する。   The present invention relates to an image pickup apparatus including a focus adjustment unit that performs a focus adjustment operation, and a focus adjustment method for the image pickup apparatus.

移動する被写体に対して、被写体の移動方向と同一方向にカメラを移動しながら撮影する流し撮りという撮影手法が知られている。特許文献1には、光学装置が現在動かしながら使用されていることを検出すると、すなわち流し撮り中であることが検出されると、パンニング速度や方向あるいは光学系の焦点距離に応じて、複数の焦点検出領域に重み付けを行い、重み付けに基づいて選択した焦点検出領域の焦点検出情報に基づいて焦点調節を行うことが開示されている。   A shooting method called panning is known in which a moving subject is shot while moving the camera in the same direction as the moving direction of the subject. In Patent Document 1, when it is detected that the optical apparatus is currently being used while moving, that is, when it is detected that panning is being performed, a plurality of panning speeds, directions, or focal lengths of the optical system are detected. It is disclosed that a focus detection area is weighted and focus adjustment is performed based on focus detection information of a focus detection area selected based on the weight.

特開平11−271598号公報JP 11-271598 A

上述の特許文献1に開示の光学装置においては、中心の焦点検出領域を検出し易くなるような重み付けを行っているので、主要被写体が中心に位置しない時には、主要被写体でない雑被写体の位置する焦点検出領域が選択されてしまう場合がある。このため、流し撮りの際に、主要被写体にピントを合わせることができないおそれがある。   In the optical device disclosed in Patent Document 1 described above, weighting is performed so that the central focus detection region can be easily detected. Therefore, when the main subject is not located at the center, the focus at which the miscellaneous subject that is not the main subject is located. A detection area may be selected. For this reason, there is a possibility that the main subject cannot be focused during panning.

本発明は、このような事情を鑑みてなされたものであり、流し撮りを行う際に、主要被写体にピントを合わせることが可能な撮像装置および撮像装置の焦点調節方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object thereof is to provide an imaging apparatus capable of focusing on a main subject and a focus adjustment method of the imaging apparatus when performing panning. To do.

上記目的を達成するため第1の発明に係る撮像装置は、光学系による光学像を撮像素子に結像させて、上記光学像に基づく画像信号を生成する撮像部を有する撮像装置において、上記撮像装置の移動方向を検出する移動検出部と、上記移動検出部により検出された移動方向に基づき、上記画像信号の撮像画面内の像の上記移動方向に関する空間周波数を所定の領域毎に算出する空間周波数算出部と、上記空間周波数算出部により算出された空間周波数に応じて所定の領域毎に優先度を重み付けする重み付け部と、上記重み付け部により重み付けされた優先度がより高い上記所定の領域をAF領域に設定してAFを実行するAF制御部と、を有する。   In order to achieve the above object, an image pickup apparatus according to a first aspect of the present invention is the image pickup apparatus having an image pickup unit that forms an optical image by an optical system on an image pickup element and generates an image signal based on the optical image. A space for calculating, for each predetermined area, a spatial frequency related to the movement direction of the image in the imaging screen of the image signal based on the movement direction detected by the movement detection unit and a movement detection unit that detects the movement direction of the device A frequency calculation unit, a weighting unit that weights priority for each predetermined region in accordance with the spatial frequency calculated by the spatial frequency calculation unit, and the predetermined region that has a higher priority weighted by the weighting unit. An AF control unit that performs AF by setting the AF region.

第2の発明に係る撮像装置は、上記第1の発明において、上記重み付け部は、上記空間周波数が高いほど優先度を高く重み付けする。   In the imaging device according to a second invention, in the first invention, the weighting unit weights the priority higher as the spatial frequency is higher.

第3の発明に係る撮像装置は、光学系による光学像を撮像素子に結像させて、上記光学像に基づく画像信号を生成する撮像部を有する撮像装置において、上記撮像部により異なる時刻に取得された複数の画像信号の間の上記所定の領域毎のコントラストの変化を検出するコントラスト変化量算出部と、上記コントラスト変化量算出部により算出されたコントラスト変化量に応じて上記所定の領域毎に優先度を重み付けする重み付け部と、上記重み付け部により重み付けされた優先度がより高い上記所定の領域をAF領域に設定してAFを実行するAF制御部と、を有する。   An imaging apparatus according to a third aspect of the present invention is an imaging apparatus having an imaging unit that forms an optical image by an optical system on an imaging element and generates an image signal based on the optical image, and is acquired at different times by the imaging unit. A contrast change amount calculating unit that detects a change in contrast for each of the predetermined regions between the plurality of image signals, and for each predetermined region according to the contrast change amount calculated by the contrast change amount calculating unit. A weighting unit that weights the priority; and an AF control unit that performs AF by setting the predetermined region having a higher priority weighted by the weighting unit as an AF region.

第4の発明に係る撮像装置は、上記第3の発明において、上記重み付け部は、上記コントラスト変化量が小さいほど優先度を高く重み付けする。
第5の発明に係る撮像装置は、上記第1または3の発明において、上記重み付け部は、さらに上記移動検出部により検出された移動方向にて上記画像信号の撮影画面の端に近い上記所定の領域に優先度を高く重み付ける。
In the imaging device according to a fourth aspect, in the third aspect, the weighting unit weights the priority higher as the contrast change amount is smaller.
In the imaging device according to a fifth aspect of the present invention, in the first or third aspect of the invention, the weighting unit further includes the predetermined signal that is close to an end of the photographing screen of the image signal in the movement direction detected by the movement detection unit. Weight areas with higher priority.

第6の発明に係る撮像装置の焦点調節方法は、撮像装置内の光学系による光学像を撮像素子に結像させて、上記光学像に基づく画像信号を生成し、上記撮像装置の移動方向を検出し、検出された上記移動方向に基づき、上記画像信号の撮像画面内の像の上記移動方向に関する空間周波数を所定の領域毎に算出し、算出された上記空間周波数に応じて上記所定の領域毎に優先度を重み付けし、重み付けされた上記優先度がより高い上記所定の領域をAF領域に設定してAFを実行する。   According to a sixth aspect of the present invention, there is provided a focus adjustment method for an imaging apparatus, wherein an optical image by an optical system in the imaging apparatus is formed on an imaging element, an image signal based on the optical image is generated, and the moving direction of the imaging apparatus is changed. Based on the detected moving direction, a spatial frequency related to the moving direction of the image in the imaging screen of the image signal is calculated for each predetermined region, and the predetermined region is calculated according to the calculated spatial frequency. The priority is weighted every time, and the predetermined area having a higher weighted priority is set as the AF area, and AF is executed.

第7の発明に係る撮像装置の焦点調節方法は、撮像装置内の光学系による光学像を撮像素子に結像させて、上記光学像に基づく画像信号を生成し、異なる時刻に取得された複数の画像信号の間の所定の領域毎のコントラストの変化を検出し、算出された上記コントラスト変化量に応じて上記所定の領域毎に優先度を重み付けし、重み付けされた上記優先度がより高い上記所定の領域をAF領域に設定してAFを実行する。   According to a seventh aspect of the present invention, there is provided a focus adjustment method for an image pickup device, wherein an optical image by an optical system in the image pickup device is formed on an image pickup device, an image signal based on the optical image is generated, Detecting a change in contrast for each predetermined area between the image signals of the image, weighting the priority for each predetermined area according to the calculated contrast change amount, and the weighted priority is higher A predetermined area is set as an AF area and AF is executed.

本発明によれば、流し撮りを行う際に、主要被写体にピントを合わせることが可能な撮像装置および焦点調節方法を提供することができる。   According to the present invention, it is possible to provide an imaging apparatus and a focus adjustment method capable of focusing on a main subject when performing panning.

本発明の一実施形態に係るカメラの主として電気的構成を示すブロック図である。1 is a block diagram mainly showing an electrical configuration of a camera according to an embodiment of the present invention. 本発明の一実施形態に係るカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラにおいて、複数の焦点検出領域(AFエリア)毎の重み付けの例を示す図である。It is a figure which shows the example of the weighting for every some focus detection area (AF area) in the camera which concerns on one Embodiment of this invention. 本発明の一実施形態に係るカメラにおいて、流し撮りした写真画像とその空間周波数スペクトルの一例を示す図である。In the camera which concerns on one Embodiment of this invention, it is a figure which shows an example of the photographic image and the spatial frequency spectrum which were taken in the panning. 本発明の一実施形態におけるカメラにおいて、写真画像とその空間周波数スペクトルへの変換について説明する図である。It is a figure explaining the conversion to the photographic image and its spatial frequency spectrum in the camera in one Embodiment of this invention.

以下、図面に従って本発明を適用したカメラを用いて好ましい実施形態について説明する。本発明の好ましい一実施形態に係るカメラは、デジタルカメラであり、光学系による光学像を撮像素子に結像させて、光学像に基づく画像信号を生成する撮像部を有する撮像装置であって、撮像部からの画像信号に基づいて光学系を光軸方向に移動させて焦点調節を行う。すなわち、撮像部(後述する撮像素子13および撮像信号処理回路15が相当する)を有し、この撮像部によって被写体像を画像データに変換し、この変換された画像データに基づいて、所謂コントラストAF方式によって光学系の焦点調節を行う。   A preferred embodiment will be described below using a camera to which the present invention is applied according to the drawings. The camera according to a preferred embodiment of the present invention is a digital camera, and is an imaging device having an imaging unit that forms an optical image by an optical system on an imaging device and generates an image signal based on the optical image, Based on the image signal from the imaging unit, the optical system is moved in the optical axis direction to adjust the focus. That is, the imaging unit (which corresponds to an imaging element 13 and an imaging signal processing circuit 15 to be described later) has a subject image converted into image data by the imaging unit, and so-called contrast AF is performed based on the converted image data. The focus of the optical system is adjusted according to the method.

また、カメラの動きから流し撮りと判定された場合には、空間周波数、コントラストの変化量、スイング方向の画面端等の情報に基づいて、AFエリアの重み付けを行う。そして、重み付けに基づいて優先度が最大となるAFエリアを選択し、このAFエリアに対してピントが合うように焦点調節を行う。   In addition, when it is determined that panning is performed from the movement of the camera, the AF area is weighted based on information such as the spatial frequency, the amount of contrast change, and the screen edge in the swing direction. Then, an AF area having the highest priority is selected based on the weighting, and focus adjustment is performed so that the AF area is in focus.

図1は、本発明の一実施形態に係わるカメラの主として電気的構成を示すブロック図である。このカメラは、撮影レンズ11、撮像素子13、撮像信号処理回路15、この撮像信号処理回路15に接続されたAE評価値算出回路17、AF評価値算出回路19、および制御部21、この制御部21に接続されたモータドライブ回路25、操作部27、メモリ29、画像処理回路31、角速度検出回路33等を有する。   FIG. 1 is a block diagram mainly showing an electrical configuration of a camera according to an embodiment of the present invention. This camera includes a photographing lens 11, an image sensor 13, an image signal processing circuit 15, an AE evaluation value calculation circuit 17, an AF evaluation value calculation circuit 19 connected to the image signal processing circuit 15, a control unit 21, and this control unit. 21 includes a motor drive circuit 25, an operation unit 27, a memory 29, an image processing circuit 31, an angular velocity detection circuit 33, and the like.

撮影レンズ11は、被写体像を形成するための複数の光学レンズから構成され、単焦点レンズまたはズームレンズである。この撮影レンズ11の光軸上であって、被写体像が形成される位置に、撮像素子13が配置されている。撮像素子13は、撮影レンズ11によって形成された被写体像の撮像を行う。この撮像素子13は、各画素を構成するフォトダイオードが二次元的にマトリックス状に配置されており、各フォトダイオードは受光量に応じた光電変換電流を発生し、この光電変換電流は各フォトダイオードに接続するキャパシタによって電荷蓄積される。   The photographing lens 11 is composed of a plurality of optical lenses for forming a subject image, and is a single focus lens or a zoom lens. An image sensor 13 is disposed on the optical axis of the photographing lens 11 at a position where a subject image is formed. The image sensor 13 captures a subject image formed by the photographing lens 11. In the imaging device 13, photodiodes constituting each pixel are two-dimensionally arranged in a matrix, and each photodiode generates a photoelectric conversion current according to the amount of received light. Charges are accumulated by a capacitor connected to.

撮像信号処理回路15は、撮像素子13の電荷蓄積制御や画像信号の読み出し制御等を行う。撮像信号処理回路15は、撮像素子13から画像信号を繰り返し読出し、この読み出された画像信号(画像データとも称する)は、AE評価値算出回路17、AF評価値算出回路19、制御部21に出力される。   The imaging signal processing circuit 15 performs charge accumulation control of the imaging device 13 and image signal readout control. The imaging signal processing circuit 15 repeatedly reads out an image signal from the imaging element 13, and the read image signal (also referred to as image data) is sent to the AE evaluation value calculation circuit 17, the AF evaluation value calculation circuit 19, and the control unit 21. Is output.

AE評価値算出回路17は、撮像信号処理回路15からの画像データに基づいて、被写体輝度に応じたAE評価値を算出し、AE評価値を制御部21に出力する。   The AE evaluation value calculation circuit 17 calculates an AE evaluation value corresponding to the subject luminance based on the image data from the imaging signal processing circuit 15 and outputs the AE evaluation value to the control unit 21.

AF評価値算出回路19は、撮像信号処理回路15から画像データが出力されるたびに、画像データの中から高周波成分を抽出することによりコントラスト値を算出し、このコントラスト値を制御部21に出力する。コントラスト値としては、例えば、隣接する画素の輝度差等により算出することができる。また、コントラスト値の算出にあたっては、所定の領域毎(AFエリアともいう)に行う。所定の領域は複数の画素から構成され、後述する図3に示す例では、撮影画面が5×7=35分割されている。   The AF evaluation value calculation circuit 19 calculates a contrast value by extracting a high-frequency component from the image data every time image data is output from the imaging signal processing circuit 15, and outputs the contrast value to the control unit 21. To do. The contrast value can be calculated by, for example, a luminance difference between adjacent pixels. The contrast value is calculated for each predetermined area (also referred to as an AF area). The predetermined area is composed of a plurality of pixels, and in the example shown in FIG. 3 to be described later, the photographing screen is divided into 5 × 7 = 35.

モータドライブ回路25は、コントラスト値に基づいて制御部21が焦点制御信号を出力するので、この焦点制御信号に基づいて、レンズ駆動モータ23に対して正転、逆転、停止、および駆動速度等の制御を行う。レンズ駆動モータ23は、撮影レンズ11を光軸方向の前後に駆動可能であり、モータドライブ回路25からの制御信号に基づいて、撮影レンズ11を駆動する。   In the motor drive circuit 25, the control unit 21 outputs a focus control signal based on the contrast value. Based on the focus control signal, the lens drive motor 23 is rotated in the normal rotation, reverse rotation, stop, drive speed, and the like. Take control. The lens driving motor 23 can drive the photographing lens 11 back and forth in the optical axis direction, and drives the photographing lens 11 based on a control signal from the motor drive circuit 25.

操作部27は、カメラに設けられた各種の操作部材を含み、各種操作部材の操作状態を検知し、検知信号を制御部21に送信する。各種操作部材としては、電源釦、レリーズ釦、動画釦、メニュー釦、十字釦、OK釦、再生釦等を有する。   The operation unit 27 includes various operation members provided in the camera, detects operation states of the various operation members, and transmits a detection signal to the control unit 21. The various operation members include a power button, a release button, a moving image button, a menu button, a cross button, an OK button, a playback button, and the like.

操作部27の内のレリーズ釦は、1stレリーズスイッチと2ndレリーズスイッチの2段スイッチを有している。レリーズ釦が半押しされると1stレリーズスイッチがオンとなり、半押しから更に押し込まれ全押しされると2ndレリーズスイッチがオンとなる。1stレリーズスイッチがオンとなると、制御部21は、AE処理やAF処理等撮影準備シーケンスを実行する。また2ndレリーズスイッチがオンとなると、制御部21は、撮影シーケンスを実行し、撮影を行う。   The release button in the operation unit 27 has a two-stage switch including a 1st release switch and a 2nd release switch. When the release button is half-pressed, the 1st release switch is turned on. When the release button is further pushed down from the half-press and fully pressed, the 2nd release switch is turned on. When the 1st release switch is turned on, the control unit 21 executes a shooting preparation sequence such as AE processing and AF processing. When the 2nd release switch is turned on, the control unit 21 executes a shooting sequence and performs shooting.

メモリ29は、フラッシュROM等の不揮発性メモリであり、制御部21において実行するプログラムや、各種調整値等を記憶する。またメモリ29は、DRAMやSDRAM等の揮発性メモリも含み、画像データや制御命令等、種々のデータの一時記憶用に用いられる。   The memory 29 is a non-volatile memory such as a flash ROM, and stores programs executed in the control unit 21, various adjustment values, and the like. The memory 29 also includes a volatile memory such as a DRAM or SDRAM, and is used for temporary storage of various data such as image data and control instructions.

画像処理回路31は、画像データを入力し、画像処理を施し、この画像処理を施した画像データを制御部21に出力する。画像処理として、ノイズリダクション処理、ホワイトバランス補正、同時化処理、色変換、階調変換(ガンマ変換)、エッジ強調、YC変換を行う。また、YC変換された画像データの圧縮処理や、圧縮された画像データの伸張処理も行う。   The image processing circuit 31 inputs image data, performs image processing, and outputs the image data subjected to this image processing to the control unit 21. As image processing, noise reduction processing, white balance correction, synchronization processing, color conversion, gradation conversion (gamma conversion), edge enhancement, and YC conversion are performed. Also, compression processing of YC converted image data and decompression processing of compressed image data are performed.

角速度検出回路33は、ジャイロ等のセンサを有し、カメラの移動方向を検出し、制御部21に出力する。本実施形態においては5軸(x軸周りの回転、y軸周りの回転、z軸周り回転、x軸方向のシフト、y軸方向のシフト)方向の移動を検出可能なセンサが備えられているが、これに限らず、カメラの移動方向が検出可能なセンサであればよく、角速度センサに限らない。この角速度検出回路33は、撮像装置の移動方向を検出する移動検出部としての機能を有する。   The angular velocity detection circuit 33 includes a sensor such as a gyro, detects the moving direction of the camera, and outputs it to the control unit 21. In the present embodiment, a sensor capable of detecting movement in the direction of five axes (rotation around the x axis, rotation around the y axis, rotation around the z axis, shift in the x axis direction, shift in the y axis direction) is provided. However, the present invention is not limited to this, and any sensor that can detect the moving direction of the camera may be used. The sensor is not limited to the angular velocity sensor. The angular velocity detection circuit 33 has a function as a movement detection unit that detects the movement direction of the imaging apparatus.

制御部21は、カメラ全体を制御し、メモリ29に記憶されたプログラムに従って、操作部27からの検知信号やその他の回路からの信号に基づいて、各部の制御を行う。また、制御部21は、移動検出部として機能する角速度検出回路33により検出された移動方向に基づき、画像信号の撮像画面内の移動方向に関する空間周波数を所定の領域毎に算出する空間周波数算出部として機能する。この空間周波数算出部の機能は、制御部21によってソフトウエアによって処理されてもよく、また制御部21内でハードウエアによって処理してもよい。また、空間周波数算出部の機能は制御部21に限らず、AF評価値算出回路19、画像処理回路31等においてハードウエアによって処理するようにしてもよい。空間周波数の算出については、図2のステップS5、および図4(d)(e)、図5を用いて後述する。   The control unit 21 controls the entire camera, and controls each unit based on a detection signal from the operation unit 27 and signals from other circuits in accordance with a program stored in the memory 29. In addition, the control unit 21 calculates a spatial frequency related to the movement direction of the image signal in the imaging screen for each predetermined region based on the movement direction detected by the angular velocity detection circuit 33 functioning as a movement detection unit. Function as. The function of the spatial frequency calculation unit may be processed by software by the control unit 21, or may be processed by hardware in the control unit 21. The function of the spatial frequency calculation unit is not limited to the control unit 21 and may be processed by hardware in the AF evaluation value calculation circuit 19, the image processing circuit 31, and the like. The calculation of the spatial frequency will be described later with reference to step S5 of FIG. 2, and FIGS. 4D, 4E, and 5.

また、制御部21は、空間周波数算出部により算出された空間周波数に応じて所定の領域毎に優先度の重み付けを行う重み付け部としても機能する。この重み付け部は、空間周波数が高いほど優先度を高く重み付けを行う。この重み付けについては、図2のS7、図3(a)等を用いて後述する。   The control unit 21 also functions as a weighting unit that weights priority for each predetermined region according to the spatial frequency calculated by the spatial frequency calculation unit. This weighting unit weights higher priority as the spatial frequency is higher. This weighting will be described later using S7 in FIG. 2, FIG.

また、制御部21は、撮像部により異なる時刻に取得された複数の画像信号の間の所定の領域毎のコントラストの変化を検出するコントラスト変化量算出部としても機能する。すなわち、AF評価値算出回路19によって算出されたコントラストを異なる時刻で取得し、領域毎にコントラストの変化を検出する。コントラスト変化量の算出については、図2のS9を用いて説明する。   The control unit 21 also functions as a contrast change amount calculation unit that detects a change in contrast for each predetermined region between a plurality of image signals acquired at different times by the imaging unit. That is, the contrast calculated by the AF evaluation value calculation circuit 19 is acquired at different times, and a change in contrast is detected for each region. The calculation of the contrast change amount will be described with reference to S9 in FIG.

また、制御部21は、コントラスト変化量算出部により算出されたコントラスト変化量に応じて所定の領域毎に優先度の重み付けを行う重み付け部としても機能する。この重み付けは、コントラスト変化量が小さいほど優先度を高く重み付けを行う。この重み付けについては、図2のS11、S13、図3(c)等を用いて後述する。   The control unit 21 also functions as a weighting unit that weights priority for each predetermined region in accordance with the contrast change amount calculated by the contrast change amount calculation unit. This weighting is performed with higher priority as the contrast change amount is smaller. This weighting will be described later with reference to S11, S13, FIG.

また、制御部21は、重み付けを行うにあたって、移動検出部により検出された移動方向にて画像信号の撮影画面の端に近い所定の領域に優先度を高く重み付けを行う。本実施形態においては、一般に、流し撮りでは、移動方向の先端側に主要被写体があることから、このような重み付けを行うようにしている。この重み付けについては、図2のS15、図3(b)等を用いて後述する。   In addition, when performing the weighting, the control unit 21 weights a predetermined area close to the edge of the image signal shooting screen in the moving direction detected by the movement detecting unit with high priority. In the present embodiment, generally, in panning, since there is a main subject on the leading end side in the moving direction, such weighting is performed. This weighting will be described later with reference to S15 of FIG. 2, FIG.

また、制御部21は、前述のAF評価値算出回路19、モータドライブ回路25、レンズ駆動モータ23等と協働して、重み付け部により重み付けされた優先度がより高い所定の領域をAF領域に設定してAFを実行するAF制御部としても機能する。このAF制御部は、設定されたAF領域の画像データからコントラスト値を算出し、このコントラスト値がピークとなるように、撮影レンズ11のピント合わせを行う。AF制御については、図のS23等を用いて後述する。   In addition, the control unit 21 cooperates with the above-described AF evaluation value calculation circuit 19, the motor drive circuit 25, the lens drive motor 23, and the like as a predetermined region weighted by the weighting unit and having a higher priority. It also functions as an AF control unit that sets and executes AF. The AF control unit calculates a contrast value from the image data of the set AF area, and performs focusing of the photographing lens 11 so that the contrast value reaches a peak. The AF control will be described later using S23 in the figure.

次に、本発明の一実施形態に係るカメラの動作について、図2に示すフローチャートを用いて説明する。このフローチャートは、メモリ29に記憶されているプログラムに従って制御部21によって実行される。   Next, the operation of the camera according to an embodiment of the present invention will be described using the flowchart shown in FIG. This flowchart is executed by the control unit 21 in accordance with a program stored in the memory 29.

カメラに電源が入り、動作をスタートさせると、角速度の検出を行う(S1)。ここでは、流し撮り等がなされているかを検出するために、角速度検出回路33からの検知信号を入力し、カメラに加えられている動きを検出する。なお、このフローの動作にあたっては、カメラ内の撮影レンズ11によって被写体像を形成させて、この被写体像に基づく画像信号の生成を行っている。   When the camera is turned on and starts operating, angular velocity is detected (S1). Here, in order to detect whether panning or the like is being performed, a detection signal from the angular velocity detection circuit 33 is input to detect a motion applied to the camera. In the operation of this flow, a subject image is formed by the photographing lens 11 in the camera, and an image signal is generated based on the subject image.

角速度検出を行うと、次に、スイング状態か否かの判定を行う(S3)。ここでは、ステップS1において検出した角速度を用いて、カメラが右から左へ、左から右へ、右下から左上等、流し撮りによるスイング状態であるか否かを判定する。   Once the angular velocity is detected, it is next determined whether or not it is in a swing state (S3). Here, using the angular velocity detected in step S1, it is determined whether the camera is in a swing state by panning, such as from right to left, from left to right, from lower right to upper left.

ステップS3における判定の結果、スイング状態であった場合には、流し撮りに適したAFエリアを設定するための処理をステップS5〜S19において実行する。まず、現フレームのスイング方向空間周波数の解析を行う(S5)。空間周波数は、撮像素子13からの画像信号をフーリエ解析することにより行う。   If the result of determination in step S3 is that it is in a swing state, processing for setting an AF area suitable for panning is performed in steps S5 to S19. First, the spatial frequency in the swing direction of the current frame is analyzed (S5). The spatial frequency is determined by performing Fourier analysis on the image signal from the image sensor 13.

AFエリア毎の空間周波数の解析について、図4および図5を用いて説明する。図4(a)は、画面右手から左手方向に進行する電車を、この電車の動きに合わせて流し撮りした写真である。電車の動きに合わせて流し撮りを行っているので、電車の部分は静止しているように見えるが、背景の部分はブレている。   The analysis of the spatial frequency for each AF area will be described with reference to FIGS. FIG. 4A is a photograph of a train that travels in the direction from the right hand to the left hand of the screen according to the movement of the train. Since the panning is performed in accordance with the movement of the train, the part of the train seems to be stationary, but the background part is blurred.

本実施形態においては、撮像素子13の撮像領域の中のAFエリアを縦5分割、横7分割の合計、35領域に分割している。図4(b)は、図4(a)の画面中、AFエリアAを拡大した画像であり、この画像は、背景部分である。また、図4(c)はAFエリアBを拡大した画像であり、この画像は流し撮りの対象となった電車の先頭部である。図4(d)は、AFエリアA(拡大画像を図4(b)に示す)の空間周波数スペクトルを示し、図4(e)は、AFエリアB(拡大画像を図4(c)に示す)の空間周波数スペクトルを示す。   In the present embodiment, the AF area in the imaging area of the imaging device 13 is divided into 35 areas, ie, a total of 5 vertical divisions and 7 horizontal divisions. FIG. 4B is an image obtained by enlarging the AF area A in the screen of FIG. 4A, and this image is a background portion. FIG. 4C is an image obtained by enlarging the AF area B, and this image is the head of the train that is the subject of the panning. 4D shows a spatial frequency spectrum of the AF area A (enlarged image shown in FIG. 4B), and FIG. 4E shows the AF area B (enlarged image shown in FIG. 4C). ) Shows the spatial frequency spectrum.

空間周波数スペクトルは、図5(a)に示すような画像をフーリエ変換等により、図5(b)に示すような周波数領域に変換したものである。ここで、図5(a)はx軸およびy軸の二次元画像を示し、図5(b)の縦軸(v軸)はy方向の周波数成分[Hz]を示し、横軸(u軸)はx方向の周波数成分[Hz]を示し、原点は直流成分を示す。図5(a)に示す画像において、y軸に直交する成分は、y方向の周波数成分が検出されるため、周波数領域に変換すると、図5(b)に示すように、v軸上の該当周波数位置に白点がプロットされる。一方、x方向は殆ど直流成分しかないため、図5(b)に示すように、u軸上の高周波成分は白点のプロットがない。   The spatial frequency spectrum is obtained by converting an image as shown in FIG. 5A into a frequency domain as shown in FIG. 5B by Fourier transform or the like. Here, FIG. 5A shows a two-dimensional image of the x axis and the y axis, the vertical axis (v axis) of FIG. 5B shows the frequency component [Hz] in the y direction, and the horizontal axis (u axis). ) Indicates a frequency component [Hz] in the x direction, and the origin indicates a direct current component. In the image shown in FIG. 5A, since the frequency component in the y direction is detected as the component orthogonal to the y axis, when converted to the frequency domain, the corresponding component on the v axis is shown in FIG. 5B. A white point is plotted at the frequency position. On the other hand, since there is almost only a direct current component in the x direction, there is no white point plot for the high frequency component on the u-axis as shown in FIG.

図4の例において、AFエリアAでは、画像が流れ、ブレており(図4(a)(b)参照)、一方、AFエリアBでは、流し撮りによって主要被写体である電車は静止している(図4(a)(c)参照)。このため、AFエリアAのスイング方向の高周波成分41とAFエリアBのスイング方向の高周波成分43を比較すると、図4(d)(e)に示すように、AFエリアAの高周波成分41の方がAFエリアBの高周波成分43よりも小さい。したがって、スイング方向の高周波成分が大きいAFエリアに主要被写体が存在する可能性が高いことが分かる。   In the example of FIG. 4, the image is flowing and blurred in the AF area A (see FIGS. 4A and 4B), while in the AF area B, the train that is the main subject is stationary due to panning. (See FIGS. 4A and 4C). Therefore, when the high frequency component 41 in the swing direction of the AF area A is compared with the high frequency component 43 in the swing direction of the AF area B, as shown in FIGS. Is smaller than the high-frequency component 43 of the AF area B. Therefore, it can be seen that there is a high possibility that the main subject exists in the AF area where the high-frequency component in the swing direction is large.

図2に示すフローチャートに戻り、ステップS5において現フレームのスイング方向空間周波数を解析すると、次に、高周波のAFエリアに優先度重み付けを行う(S7)。空間周波数が低いと、露光中の被写体の変化が大であり、また主要被写体との速度差が大である。一方、空間周波数が高いと、露光中の被写体の変化が小であり、また主要被写体との速度差が小である。一般に、流し撮りの場合には、主要被写体を追いかけるように撮影することから、主要被写体の空間周波数は高くなる。したがって、このステップS7では、ステップS5におけるスイング方向の空間周波数解析結果が、高周波であったAFエリアに優先度の重み付けを高くする。図3(a)に空間周波数による重み付けの例を示す。図から分かるように、主要被写体である電車の部分の重み付けが高い数値となっている。   Returning to the flowchart shown in FIG. 2, if the spatial frequency in the swing direction of the current frame is analyzed in step S5, priority weighting is performed on the high-frequency AF area (S7). When the spatial frequency is low, the change of the subject during exposure is large, and the speed difference from the main subject is large. On the other hand, when the spatial frequency is high, the change of the subject during exposure is small, and the speed difference from the main subject is small. In general, in the case of panning, the spatial frequency of the main subject increases because the main subject is imaged so as to follow. Therefore, in this step S7, the priority weighting is increased in the AF area in which the spatial frequency analysis result in the swing direction in step S5 has a high frequency. FIG. 3A shows an example of weighting by the spatial frequency. As can be seen from the figure, the weight of the train part that is the main subject is high.

ステップS7において優先度の重み付けを行うと、次に、前・現フレームのコントラスト変化量を算出する(S9)。AF評価値算出回路19は、1フレーム分の画像信号が読み出されるたびにAFエリアごとのコントラストを算出し、制御部21に出力する。制御部21は、前回のフレームに対応したコントラストと今回のフレームに対応したコントラストを一時記憶し、同一のAFエリアについて両者の差分を求めることにより、前・現フレームのコントラスト変化量を算出する。   Once the priority is weighted in step S7, the amount of contrast change between the previous and current frames is calculated (S9). The AF evaluation value calculation circuit 19 calculates the contrast for each AF area each time an image signal for one frame is read, and outputs the contrast to the control unit 21. The control unit 21 temporarily stores the contrast corresponding to the previous frame and the contrast corresponding to the current frame, and calculates the difference in contrast between the previous and current frames by obtaining the difference between them for the same AF area.

コントラスト変化量を算出すると、次に、コントラスト変化量が少ないAFエリアほど重み付けを行う(S11)。コントラスト変化量が大の場合には、フレーム間での被写体変化が大であり、また主要被写体との速度差が大といえる。一方、コントラスト変化量が小の場合には、フレーム間での被写体変化が小であり、主要被写体との速度差が小である。一般に流し撮りの場合には、主要被写体を追いかけて撮影することから、主要被写体のコントラスト変化量は小さくなる。そこで、このステップ11では、ステップS9において算出した前・現フレームのコントラスト変化量が少ないAFエリアほど重み付けを高くする。   Once the contrast change amount is calculated, the AF area with the smaller contrast change amount is weighted (S11). When the amount of change in contrast is large, the subject change between frames is large, and the speed difference from the main subject is large. On the other hand, when the contrast change amount is small, the subject change between frames is small, and the speed difference from the main subject is small. In general, in the case of panning, the main subject is chased and shot, so the contrast change amount of the main subject is small. Therefore, in step 11, the AF area having a smaller contrast change amount of the previous and current frames calculated in step S9 is weighted higher.

コントラスト変化量が少ないAFエリアほど重み付けを行うと、次に、コントラスト値が所定以下のAFエリアは除外する(S13)。コントラスト値が小さい場合は、雑被写体の可能性が高い。そこで、このステップでは、AF評価値算出回路19によって算出されたAFエリア毎のコントラスト値が所定値よりも小さいエリアは除外する。具体的には、重み付け係数を0とする。また、所定値としては、雑被写体とみなせる程度の値を適宜、決めればよい。   When weighting is performed on an AF area having a smaller contrast change amount, an AF area having a contrast value equal to or less than a predetermined value is excluded (S13). If the contrast value is small, there is a high possibility of a miscellaneous subject. Therefore, in this step, areas where the contrast value for each AF area calculated by the AF evaluation value calculation circuit 19 is smaller than a predetermined value are excluded. Specifically, the weighting coefficient is set to 0. Further, as the predetermined value, a value that can be regarded as a miscellaneous subject may be appropriately determined.

ステップS11においてコントラスト変化量が少ないAFエリアほど重み付けを高くし、またステップS13においてコントラスト値が所定以下のAFエリアを除外した例を、図3(c)に示す。図から分かるように、主要被写体である電車の部分の重み付けが高い数値となっている。   FIG. 3C shows an example in which the weighting is increased for the AF area having a smaller contrast change amount in step S11, and the AF area having a contrast value equal to or less than a predetermined value is excluded in step S13. As can be seen from the figure, the weight of the train part that is the main subject is high.

ステップS13においてコントラスト値が所定以下のAFエリアを除外すると、次に、スイング方向の画面端に近いAFエリアほど優先度重み付けを行う(S15)。スイング方向の画面端に近いAFエリアは、主要被写体の先頭である可能性が高い。流し撮りの場合には、主要被写体を中心に位置させると、主要被写体全体が画面に入らないことが多く、一般的には、主要被写体の先頭を画面端側に位置させることが多い。そこで、ステップS15においては、スイング方向の画面端に近いAFエリアほど優先度を高くするようにしている。図3(b)にスイング方向の重み付けの例を示す。   If an AF area having a contrast value equal to or less than a predetermined value is excluded in step S13, priority weighting is performed on an AF area closer to the screen end in the swing direction (S15). The AF area close to the screen edge in the swing direction is likely to be the head of the main subject. In the case of panning, if the main subject is positioned at the center, the entire main subject often does not enter the screen, and generally the top of the main subject is often positioned on the screen end side. Therefore, in step S15, the priority is set higher in the AF area closer to the screen end in the swing direction. FIG. 3B shows an example of weighting in the swing direction.

スイング方向の画面端に近いAFエリアほど優先度の重み付けを行うと、次に、AFエリア毎に優先度を乗算する(S17)。ここでは、ステップS7、S11(S13)、S15における重み付けの結果を乗算する。   If the priority is weighted to the AF area closer to the screen end in the swing direction, the priority is then multiplied for each AF area (S17). Here, the weighting results in steps S7, S11 (S13), and S15 are multiplied.

例えば、図3に示した例において、AFエリアAは、空間周波数による重み付けが「0」であり、コントラスト変化量による重み付けが「0」であり、スイング方向の重み付けが「5」であることから、重み付けの乗算値は、0×0×5=0となる。また、AFエリアBは、空間周波数による重み付けが「5」であり、コントラスト変化量による重み付けが「5」であり、スイング方向の重み付けが「5」であることから、重み付けの乗算値は、5×5×5=125となる。なお、本実施形態においては、重み付けの乗算を演算したが、これに限らず、加算等、他の演算を行ってもよい。   For example, in the example shown in FIG. 3, in the AF area A, the weighting by the spatial frequency is “0”, the weighting by the contrast change amount is “0”, and the weighting in the swing direction is “5”. The weighted multiplication value is 0 × 0 × 5 = 0. In AF area B, the weighting by the spatial frequency is “5”, the weighting by the contrast change amount is “5”, and the weighting in the swing direction is “5”. × 5 × 5 = 125. In the present embodiment, weighted multiplication is calculated, but the present invention is not limited to this, and other calculations such as addition may be performed.

AFエリア毎に優先度を演算すると、次に、優先度最大のAFエリアを選択する(S19)。ここでは、ステップS17において演算したAFエリア毎の優先度に基づいて、優先度が最大となるAFエリアを選択する。図3に示す例では、AFエリアBが重み付けの最大値(=125)となり、AFエリアBが選択される。   Once the priority is calculated for each AF area, the AF area with the highest priority is then selected (S19). Here, based on the priority for each AF area calculated in step S17, the AF area with the highest priority is selected. In the example shown in FIG. 3, the AF area B has the maximum weighting value (= 125), and the AF area B is selected.

優先度最大のAFエリアを選択すると、次に、1stレリーズが押下げられたか否かを判定する(S21)。ここでは、操作部27の内のレリーズ釦が半押しされ、1stレリーズスイッチがオンとなったか否かを判定する。   If the AF area with the highest priority is selected, it is next determined whether or not the first release has been pressed (S21). Here, it is determined whether or not the release button in the operation unit 27 is half-pressed and the 1st release switch is turned on.

ステップS21における判定の結果、1stレリーズが押下げられていない場合には、ステップS1に戻り、前述の動作を繰り返す。すなわち、カメラがスイング状態になると、空間周波数やコントラスト変化量等に基づいて、優先度の高いAFエリアの選択を繰り返し行う。   If the result of determination in step S <b> 21 is that the first release has not been depressed, the process returns to step S <b> 1 and the above-described operation is repeated. That is, when the camera is in a swing state, the AF area having a high priority is repeatedly selected based on the spatial frequency, the contrast change amount, and the like.

ステップS21における判定の結果、1stレリーズが押下げられた場合、またはステップS3における判定の結果、スイング状態でなかった場合には、コントラストAFを実行する(S23)。ここでは、設定されているAFエリアからのコントラスト値がピークとなるように、AF評価値算出回路19、制御部21、モータドライブ回路25、レンズ駆動モータ23等によって、撮影レンズ11のフォーカス位置の制御を行う。   If the result of determination in step S21 is that the first release has been depressed, or if the result of determination in step S3 is that there is no swing state, contrast AF is executed (S23). Here, the focus position of the photographing lens 11 is adjusted by the AF evaluation value calculation circuit 19, the control unit 21, the motor drive circuit 25, the lens drive motor 23, and the like so that the contrast value from the set AF area becomes a peak. Take control.

なお、ステップS3においてスイング状態と判定された場合には、設定AFエリアは、ステップS19において選択された優先度最大のAFエリアとなる。したがって、スイング状態では、流し撮りの対象となった主要被写体に対してピントの合った写真が撮影可能となる。   If the swing state is determined in step S3, the set AF area is the AF area with the highest priority selected in step S19. Therefore, in the swing state, it is possible to take a photograph that focuses on the main subject that is the subject of the panning.

コントラストAFを行うと、次に、露出条件決定を行う(S25)。ここでは、AE評価値算出回路17によって算出された被写体輝度値に基づいて、シャッタ速度値、絞り値、ISO感度値等の露出制御値を決定する。   Once contrast AF has been performed, exposure conditions are next determined (S25). Here, based on the subject luminance value calculated by the AE evaluation value calculation circuit 17, exposure control values such as a shutter speed value, an aperture value, and an ISO sensitivity value are determined.

露出条件の決定を行うと、次に、2ndレリーズ押下げか否かの判定を行う(S27)。ここでは、操作部27の内のレリーズ釦が全押しされ、2ndレリーズスイッチがオンとなったか否かを判定する。2ndレリーズが押下げられていない場合には、待機状態となる。   Once the exposure conditions have been determined, it is next determined whether or not the 2nd release has been depressed (S27). Here, it is determined whether or not the release button in the operation unit 27 is fully pressed and the 2nd release switch is turned on. When the 2nd release is not pushed down, a standby state is entered.

一方、ステップS27における判定の結果、2ndレリーズが押下げられると、露光処理が実行される(S29)。ここでは、図示しないシャッタが開閉し、撮像素子13によって画像信号が取得され、画像処理回路31によって処理された画像データが図示しない記録媒体に記録される。なお、この時の撮影レンズ11のピント位置は、ステップS23において駆動されたピント位置である。露光処理が終わると、このフローを終了する。   On the other hand, if the result of determination in step S27 is that the 2nd release has been depressed, exposure processing is executed (S29). Here, a shutter (not shown) opens and closes, an image signal is acquired by the image sensor 13, and image data processed by the image processing circuit 31 is recorded on a recording medium (not shown). Note that the focus position of the photographic lens 11 at this time is the focus position driven in step S23. When the exposure process is finished, this flow is finished.

以上説明したように、本発明の一実施形態においては、撮像画面内の像の移動方向(スイング方向)に関する空間周波数を所定の領域毎に算出し(S5)、算出された空間周波数に応じて所定の領域毎に優先度の重み付けを行い(S7)、重み付けされた優先度がより高い領域をAF領域に設定し(S19)、AFを実行するようにしている(S23)。また、異なる時刻に取得された複数の画像信号の間の所定領域毎のコントラストの変化を検出し(S9)、この算出されたコントラスト変化量に応じて所定領域毎に優先度の重み付けを行い(S11)、重み付けされた優先度がより高い所定領域をAF領域に設定し(S19)、AFを実行するようにしている(S23)。このため、流し撮りを行う際に、主要被写体にピントを合わせることが可能となる。   As described above, in one embodiment of the present invention, the spatial frequency related to the moving direction (swing direction) of the image in the imaging screen is calculated for each predetermined region (S5), and according to the calculated spatial frequency. Priorities are weighted for each predetermined area (S7), an area having a higher weighted priority is set as an AF area (S19), and AF is executed (S23). Further, a change in contrast for each predetermined area between a plurality of image signals acquired at different times is detected (S9), and priority is weighted for each predetermined area in accordance with the calculated contrast change amount ( S11), a predetermined area having a higher weighted priority is set as an AF area (S19), and AF is executed (S23). For this reason, it is possible to focus on the main subject when performing panning.

なお、本発明の一実施形態においては、空間周波数、コントラスト変化量、コントラスト値、スイング方向の画面端等に基づいて、重み付けを行っている。しかし、これらの要素について全て検出し重み付けを行わなくてもよく、また他の要素を追加しても、勿論かまわない。   In one embodiment of the present invention, weighting is performed based on the spatial frequency, contrast change amount, contrast value, screen edge in the swing direction, and the like. However, all of these elements need not be detected and weighted, and other elements may be added as a matter of course.

また、本実施形態においては、撮影のための機器として、デジタルカメラを用いて説明したが、カメラとしては、デジタル一眼レフカメラでもコンパクトデジタルカメラでもよく、ビデオカメラ、ムービーカメラのような動画用のカメラでもよく、さらに、携帯電話、スマートフォーンや携帯情報端末(PDA:Personal Digital Assist)、ゲーム機器等に内蔵されるカメラでも構わない。いずれにしても、コントラストAFによって焦点調節を行う機器であれば、本発明を適用することができる。   In the present embodiment, the digital camera is used as the photographing device. However, the camera may be a digital single-lens reflex camera or a compact digital camera, and may be used for moving images such as video cameras and movie cameras. It may be a camera, or may be a camera built into a mobile phone, a smart phone, a personal digital assistant (PDA), a game machine, or the like. In any case, the present invention can be applied to any device that performs focus adjustment by contrast AF.

また、特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず」、「次に」等の順番を表現する言葉を用いて説明したとしても、特に説明していない箇所では、この順で実施することが必須であることを意味するものではない。   In addition, regarding the operation flow in the claims, the specification, and the drawings, even if it is described using words expressing the order such as “first”, “next”, etc. It does not mean that it is essential to implement in this order.

本発明は、上記実施形態にそのまま限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素の幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   The present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, you may delete some components of all the components shown by embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

11・・・撮影レンズ、13・・・撮像素子、15・・・撮像信号処理回路、17・・・AE評価値算出回路、19・・・AF評価値算出回路、21・・・制御部、23・・・レンズ駆動モータ、25・・・モータドライブ回路、27・・・操作部、29・・・メモリ、31・・・画像処理回路、33・・・角速度検出回路、41・・・スイング方向の高周波成分、43・・・スイング方向の高周波成分 DESCRIPTION OF SYMBOLS 11 ... Shooting lens, 13 ... Imaging device, 15 ... Imaging signal processing circuit, 17 ... AE evaluation value calculation circuit, 19 ... AF evaluation value calculation circuit, 21 ... Control part, DESCRIPTION OF SYMBOLS 23 ... Lens drive motor, 25 ... Motor drive circuit, 27 ... Operation part, 29 ... Memory, 31 ... Image processing circuit, 33 ... Angular velocity detection circuit, 41 ... Swing Direction high frequency component, 43... Swing direction high frequency component

Claims (7)

光学系による光学像を撮像素子に結像させて、上記光学像に基づく画像信号を生成する撮像部を有する撮像装置において、
上記撮像装置の移動方向を検出する移動検出部と、
上記移動検出部により検出された移動方向に基づき、上記画像信号の撮像画面内の像の上記移動方向に関する空間周波数を所定の領域毎に算出する空間周波数算出部と、
上記空間周波数算出部により算出された空間周波数に応じて所定の領域毎に優先度を重み付けする重み付け部と、
上記重み付け部により重み付けされた優先度がより高い上記所定の領域をAF領域に設定してAFを実行するAF制御部と、
を有することを特徴とする撮像装置。
In an imaging apparatus having an imaging unit that forms an optical image by an optical system on an imaging element and generates an image signal based on the optical image.
A movement detection unit for detecting a movement direction of the imaging device;
A spatial frequency calculating unit that calculates, for each predetermined region, a spatial frequency related to the moving direction of the image in the imaging screen of the image signal based on the moving direction detected by the movement detecting unit;
A weighting unit that weights the priority for each predetermined region according to the spatial frequency calculated by the spatial frequency calculation unit;
An AF control unit that performs AF by setting the predetermined region with higher priority weighted by the weighting unit as an AF region; and
An imaging device comprising:
上記重み付け部は、上記空間周波数が高いほど優先度を高く重み付けすることを特徴とする請求項1に記載の撮像装置。   The imaging device according to claim 1, wherein the weighting unit weights the priority higher as the spatial frequency is higher. 光学系による光学像を撮像素子に結像させて、上記光学像に基づく画像信号を生成する撮像部を有する撮像装置において、
上記撮像部により異なる時刻に取得された複数の画像信号の間の上記所定の領域毎のコントラストの変化を検出するコントラスト変化量算出部と、
上記コントラスト変化量算出部により算出されたコントラスト変化量に応じて上記所定の領域毎に優先度を重み付けする重み付け部と、
上記重み付け部により重み付けされた優先度がより高い上記所定の領域をAF領域に設定してAFを実行するAF制御部と、
を有することを特徴とする撮像装置。
In an imaging apparatus having an imaging unit that forms an optical image by an optical system on an imaging element and generates an image signal based on the optical image.
A contrast change amount calculation unit for detecting a change in contrast for each of the predetermined regions between a plurality of image signals acquired at different times by the imaging unit;
A weighting unit that weights the priority for each predetermined region according to the contrast change amount calculated by the contrast change amount calculation unit;
An AF control unit that performs AF by setting the predetermined region with higher priority weighted by the weighting unit as an AF region; and
An imaging device comprising:
上記重み付け部は、上記コントラスト変化量が小さいほど優先度を高く重み付けすることを特徴とする請求項3に記載の撮像装置。   The imaging apparatus according to claim 3, wherein the weighting unit weights the priority higher as the contrast change amount is smaller. 上記重み付け部は、さらに上記移動検出部により検出された移動方向にて上記画像信号の撮影画面の端に近い上記所定の領域に優先度を高く重み付けることを特徴とする請求項1または3に記載の撮像装置。   4. The weighting unit according to claim 1, wherein the weighting unit weights the predetermined region close to the end of the image screen of the image signal in the moving direction detected by the movement detecting unit with higher priority. The imaging device described. 撮像装置内の光学系による光学像を撮像素子に結像させて、上記光学像に基づく画像信号を生成し、
上記撮像装置の移動方向を検出し、
検出された上記移動方向に基づき、上記画像信号の撮像画面内の像の上記移動方向に関する空間周波数を所定の領域毎に算出し、
算出された上記空間周波数に応じて上記所定の領域毎に優先度を重み付けし、
重み付けされた上記優先度がより高い上記所定の領域をAF領域に設定してAFを実行する、
ことを特徴とする撮像装置の焦点調節方法。
An optical image by an optical system in the imaging device is formed on an imaging device, and an image signal based on the optical image is generated.
Detecting the moving direction of the imaging device,
Based on the detected moving direction, the spatial frequency related to the moving direction of the image in the imaging screen of the image signal is calculated for each predetermined region,
Priorities are weighted for each of the predetermined areas according to the calculated spatial frequency,
Set the weighted predetermined area with higher priority as an AF area and execute AF;
A focus adjustment method for an image pickup apparatus.
撮像装置内の光学系による光学像を撮像素子に結像させて、上記光学像に基づく画像信号を生成し、
異なる時刻に取得された複数の画像信号の間の所定の領域毎のコントラストの変化を検出し、
算出された上記コントラスト変化量に応じて上記所定の領域毎に優先度を重み付けし、
重み付けされた上記優先度がより高い上記所定の領域をAF領域に設定してAFを実行する、
ことを特徴とする撮像装置の焦点調節方法。
An optical image by an optical system in the imaging device is formed on an imaging device, and an image signal based on the optical image is generated.
Detecting a change in contrast for each predetermined region between a plurality of image signals acquired at different times;
Priorities are weighted for each of the predetermined areas according to the calculated contrast change amount,
Set the weighted predetermined area with higher priority as an AF area and execute AF;
A focus adjustment method for an image pickup apparatus.
JP2012154431A 2012-07-10 2012-07-10 Imaging apparatus and focus adjustment method of imaging apparatus Active JP5993232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012154431A JP5993232B2 (en) 2012-07-10 2012-07-10 Imaging apparatus and focus adjustment method of imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012154431A JP5993232B2 (en) 2012-07-10 2012-07-10 Imaging apparatus and focus adjustment method of imaging apparatus

Publications (2)

Publication Number Publication Date
JP2014016534A true JP2014016534A (en) 2014-01-30
JP5993232B2 JP5993232B2 (en) 2016-09-14

Family

ID=50111245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012154431A Active JP5993232B2 (en) 2012-07-10 2012-07-10 Imaging apparatus and focus adjustment method of imaging apparatus

Country Status (1)

Country Link
JP (1) JP5993232B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02116810A (en) * 1988-10-27 1990-05-01 Canon Inc Distance measurement region setting device
JPH11271598A (en) * 1998-03-18 1999-10-08 Canon Inc Optical device
JP2000284170A (en) * 1999-04-01 2000-10-13 Nikon Corp Range finder
JP2001021791A (en) * 1999-07-06 2001-01-26 Canon Inc Light receiving element, area sensor, and device having area sensor
JP2006079387A (en) * 2004-09-10 2006-03-23 Seiko Epson Corp Integrated circuit device, and microcomputer
JP2006165600A (en) * 2004-12-02 2006-06-22 Fuji Photo Film Co Ltd Photographing apparatus
JP2007133301A (en) * 2005-11-14 2007-05-31 Nikon Corp Autofocus camera
JP2009267834A (en) * 2008-04-25 2009-11-12 Olympus Corp Imaging device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02116810A (en) * 1988-10-27 1990-05-01 Canon Inc Distance measurement region setting device
JPH11271598A (en) * 1998-03-18 1999-10-08 Canon Inc Optical device
JP2000284170A (en) * 1999-04-01 2000-10-13 Nikon Corp Range finder
JP2001021791A (en) * 1999-07-06 2001-01-26 Canon Inc Light receiving element, area sensor, and device having area sensor
JP2006079387A (en) * 2004-09-10 2006-03-23 Seiko Epson Corp Integrated circuit device, and microcomputer
JP2006165600A (en) * 2004-12-02 2006-06-22 Fuji Photo Film Co Ltd Photographing apparatus
JP2007133301A (en) * 2005-11-14 2007-05-31 Nikon Corp Autofocus camera
JP2009267834A (en) * 2008-04-25 2009-11-12 Olympus Corp Imaging device

Also Published As

Publication number Publication date
JP5993232B2 (en) 2016-09-14

Similar Documents

Publication Publication Date Title
JP5523143B2 (en) Imaging apparatus and automatic focusing method
TWI422219B (en) Imaging device, imaging method and computer-readable recording medium
JP6457776B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP6137840B2 (en) Camera system
US9398230B2 (en) Imaging device and imaging method
JP2007215091A (en) Imaging apparatus and program therefor
JP2017116840A (en) Imaging device
US10298862B2 (en) Imaging apparatus and imaging method
JP2011135152A (en) Image pickup apparatus and method of picking up image
JP5133921B2 (en) Imaging apparatus and imaging method
KR20120071972A (en) Digital image signal processing apparatus and method for controlling the same
JP2017194558A (en) Imaging device and imaging method
JP2020017807A (en) Image processing apparatus, image processing method, and imaging apparatus
JP2008271024A (en) Image processing apparatus and method and program
JP2007225897A (en) Focusing position determination device and method
JP4949717B2 (en) In-focus position determining apparatus and method
JP2009017427A (en) Imaging device
JP5257969B2 (en) Focus position control device, focus position control method, focus position control program
JP2018011268A (en) Imaging apparatus, image superimposition method, and program
JP2010062987A (en) Imaging apparatus and method
JP6294607B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP5993232B2 (en) Imaging apparatus and focus adjustment method of imaging apparatus
JP5832618B2 (en) Imaging apparatus, control method thereof, and program
JP5345657B2 (en) Method and apparatus for automatic focusing of camera
JP2008028956A (en) Imaging apparatus and method for generating image signal for detecting target therein

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20150423

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150430

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160412

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160520

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160708

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160819

R151 Written notification of patent or utility model registration

Ref document number: 5993232

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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