JP2013015571A - Imaging apparatus, program and shake correction method - Google Patents

Imaging apparatus, program and shake correction method Download PDF

Info

Publication number
JP2013015571A
JP2013015571A JP2011146398A JP2011146398A JP2013015571A JP 2013015571 A JP2013015571 A JP 2013015571A JP 2011146398 A JP2011146398 A JP 2011146398A JP 2011146398 A JP2011146398 A JP 2011146398A JP 2013015571 A JP2013015571 A JP 2013015571A
Authority
JP
Japan
Prior art keywords
blur
imaging
posture
correction
camera shake
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.)
Withdrawn
Application number
JP2011146398A
Other languages
Japanese (ja)
Inventor
Yuji Hasegawa
雄治 長谷川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2011146398A priority Critical patent/JP2013015571A/en
Publication of JP2013015571A publication Critical patent/JP2013015571A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus capable of improving correction accuracy of shake correction by properly determining the influence of the gravity component.SOLUTION: An imaging apparatus includes: an imaging element which takes a subject image; detection means which detects an angular speed and an acceleration in an apparatus body; determination means which determines the posture of the apparatus body; calculation means in which the shake amount including the shake of an angle rotating a photographic optical axis and the shake of shift parallely moving the photographic optical axis based on the detected angle speed and acceleration is calculated by adjusting the gravity component according to the degree of influence of the gravity in the direction where the shake correction is performed in accordance with the determined posture; correction means which corrects the shake on the basis of the calculated shake amount.

Description

本発明は、手振れを補正することで撮影画像の劣化を防止する撮像装置、プログラム及び手振れ補正方法に関する。   The present invention relates to an imaging apparatus, a program, and a camera shake correction method that prevent deterioration of a captured image by correcting camera shake.

デジタルカメラ等の撮像装置として、ピント合わせや露光量を自動的に決定する機構を搭載した撮像装置が普及している。また、近年では、手振れを補正することにより、手振れによる撮影画像の画質劣化を抑えることができる撮像装置も知られている。手振れは、撮像装置を把持する手や腕等が動いてしまうことによって生じる撮像装置の回転等の動きであり、概ね1〜10Hz程度の低周波振動で表される。このため、手振れを補正する撮像装置では、手振れによって生じる撮像装置の低周波数振動を検出し、これを打ち消すように、撮像素子や撮像レンズ、あるいは撮像レンズを構成する一部のレンズを移動させることにより、手振れによって撮影画像にあらわれる像のブレを低減する。   2. Description of the Related Art As imaging devices such as digital cameras, imaging devices equipped with a mechanism for automatically determining the focus and exposure amount are in widespread use. In recent years, there has also been known an imaging apparatus that can suppress image quality deterioration of a captured image due to camera shake by correcting camera shake. The hand shake is a movement such as rotation of the image pickup apparatus caused by movement of a hand, an arm or the like that holds the image pickup apparatus, and is represented by a low frequency vibration of about 1 to 10 Hz. For this reason, in an imaging device that corrects camera shake, low-frequency vibrations of the imaging device caused by camera shake are detected, and the imaging element, the imaging lens, or a part of the lenses constituting the imaging lens are moved so as to cancel the vibration. This reduces the blurring of the image that appears in the captured image due to camera shake.

また、手振れを防止する撮像装置では、手振れとして撮像装置の回転による角度ブレを緩和する。このため、角速度センサを搭載し、撮像装置の回転速度を計測することによって角度ブレを検出する。しかし、高撮影倍率のマクロモードによる撮影時に生じる手振れは、レリーズボタンの押圧等によって、撮像装置が平行にシフトするブレ(以下、シフトブレという)が角度ブレよりも支配的になり、角速度センサによって撮像装置の回転速度を計測するだけではシフトブレを正確に検出することが難しい。   In addition, in an imaging apparatus that prevents camera shake, angular blur due to rotation of the imaging apparatus is reduced as camera shake. For this reason, an angular velocity sensor is mounted and angular blur is detected by measuring the rotational speed of the imaging device. However, camera shake that occurs when shooting in macro mode with a high shooting magnification is controlled by the angular velocity sensor because blurring that shifts the imaging device in parallel (hereinafter referred to as shift blur) becomes more dominant than angular blur due to pressing of the release button or the like. It is difficult to accurately detect shift blur simply by measuring the rotational speed of the device.

こうしたことから、近年では、小型で機動性が高く、角度センサを用いて並進ブレ量の高精度な補正を行う防振制御装置が知られている(特許文献1参照)。この防振制御装置は、振れにより画像振れを補正する振れ補正手段と、振れの角速度を検出する第1振れ検出手段と、第1振れ検出手段と異なる方法で振れを検出する第2振れ検出手段とを有し、防振対象の撮像装置の撮影動作が開始されるまでに第1振れ検出手段の出力に基づく第1信号と第2振れ検出手段の出力に基づく第2信号とから補正値を演算し、補正値を用いて第1振れ検出手段の出力を補正し、補正された第1振れ検出手段の出力に基づいて振れ補正手段を駆動する装置である。   For these reasons, in recent years, there has been known an anti-vibration control device that is small in size and high in mobility and that performs highly accurate correction of translational blur using an angle sensor (see Patent Document 1). The image stabilization control apparatus includes a shake correction unit that corrects an image shake due to a shake, a first shake detection unit that detects an angular velocity of the shake, and a second shake detection unit that detects a shake by a method different from the first shake detection unit. And a correction value is obtained from the first signal based on the output of the first shake detection means and the second signal based on the output of the second shake detection means until the photographing operation of the image pickup apparatus to be image-stabilized is started. A device that calculates, corrects the output of the first shake detection means using the correction value, and drives the shake correction means based on the corrected output of the first shake detection means.

特開2010−25961号公報JP 2010-259591 A

特許文献1記載の防振制御装置は、手振れ補正を行う際、角度ブレとシフトブレの両方を考慮して行うが、角度ブレの回転半径を算出するにあたり重力成分を考慮しなければならないため、その際の補正の精度が悪化する可能性があった。   The anti-vibration control device described in Patent Document 1 considers both angle blur and shift blur when performing camera shake correction, but the gravity component must be taken into account when calculating the rotation radius of angle blur. There was a possibility that the accuracy of correction at the time would deteriorate.

すなわち、手振れ補正を行う際に、多くの場合、重力を加味したオフセット値を用いるが、カメラの姿勢を意識せずに統一された方法で手振れ補正を行うため、カメラの姿勢によっては重力を過大評価して手振れ補正を行ってしまう可能性があり、その場合には撮影画像の画質が劣化してしまうという問題があった。   In other words, when performing camera shake correction, offset values that take gravity into account are often used.However, because camera shake correction is performed in a unified manner without regard to the camera posture, gravity may be excessive depending on the camera posture. There is a possibility that camera shake correction may be performed after evaluation, and in this case, there is a problem that the image quality of the captured image deteriorates.

本発明は上記課題に鑑みてなされたものであり、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる撮像装置、プログラム及び手振れ補正方法を提供することを目的とする。   The present invention has been made in view of the above problems, and an object thereof is to provide an imaging apparatus, a program, and a camera shake correction method that can appropriately determine the influence of gravity components and improve the camera shake correction accuracy. To do.

上記目的を達成するために、本発明に係る撮像装置は、請求項1に記載したように、被写体像を撮像する撮像素子と、装置本体における角速度及び加速度を検出する検出手段と、装置本体の姿勢を判定する判定手段と、前記検出手段によって検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量を、前記判定手段によって判定された姿勢に応じて、手振れ補正を行う方向の重力の影響の度合いに応じて重力成分を調整して算出する算出手段と、前記算出手段によって算出されたブレ量に基づいて手振れを補正する補正手段と、を備えている。   In order to achieve the above object, an imaging apparatus according to the present invention includes, as described in claim 1, an imaging element that captures a subject image, a detection unit that detects angular velocity and acceleration in the apparatus body, Based on the angular velocity and acceleration detected by the detecting means, the determining means for determining the posture, and the blur amount including the angular blur that rotates the photographing optical axis and the shift blur that translates the photographing optical axis are determined. According to the posture determined by the calculation method, the calculation unit that adjusts and calculates the gravity component according to the degree of the gravitational effect in the direction in which the camera shake correction is performed, and the camera shake is corrected based on the shake amount calculated by the calculation unit And correction means for performing.

請求項1に記載の撮影装置によれば、撮像素子により、被写体像が撮像され、第1検出手段により、装置本体における角速度及び加速度が検出され、判定手段により、装置本体の姿勢が判定される。また、算出手段により、前記検出手段によって検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量が、前記判定手段により判定された姿勢に応じて、手振れ補正を行う方向の重力の影響の度合いに応じて重力成分を調整して算出され、補正手段により、前記算出手段によって算出されたブレ量に基づいて手振れが補正される。これにより、装置本体の姿勢を考慮することで、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   According to the first aspect of the present invention, the subject image is picked up by the image pickup device, the angular velocity and acceleration in the device main body are detected by the first detection means, and the posture of the device main body is determined by the determination means. . Further, the determining means determines the blur amount including angular blur for rotating the photographing optical axis and shift blur for translating the photographing optical axis based on the angular velocity and acceleration detected by the detecting means by the calculating means. The gravity component is adjusted according to the degree of gravitational force in the direction in which camera shake correction is performed according to the posture, and the shake is corrected based on the shake amount calculated by the calculation unit. The Thereby, by taking into consideration the posture of the apparatus main body, it is possible to appropriately determine the influence of the gravity component and to improve the correction accuracy of the camera shake correction.

また、本発明に係る撮像装置において、請求項2に記載したように、前記判定手段は、装置本体の前記撮像素子の撮像方向を中心軸とした横方向の傾斜方向が水平方向を含む予め定められた範囲内にある場合に横撮り姿勢であると判定し、当該傾斜方向が重力方向を含む予め定められた範囲内にある場合に縦撮り姿勢であると判定し、前記算出手段は、前記判定手段により前記横撮り姿勢であると判定された場合、前記横方向に対する前記重力成分を調整せずに前記ブレ量を算出するとともに、縦方向に対する前記重力成分を調整して前記ブレ量を算出し、前記判定手段により前記縦撮り姿勢であると判定された場合、前記横方向に対する前記重力成分を調整して前記ブレ量を算出するとともに、前記縦方向に対する前記重力成分を調整せずに前記ブレ量を算出するようにしても良い。これにより、装置本体の向きを考慮することで、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   Moreover, in the imaging device according to the present invention, as described in claim 2, the determination unit determines in advance that the lateral inclination direction with the imaging direction of the imaging element of the device body as the central axis includes the horizontal direction. Determining that it is a landscape orientation when it is within a predetermined range, determining that it is a portrait orientation when the tilt direction is within a predetermined range including the direction of gravity, and When the determination means determines that the posture is the horizontal shooting posture, the blur amount is calculated without adjusting the gravity component in the horizontal direction, and the blur amount is calculated by adjusting the gravity component in the vertical direction. When the determination unit determines that the posture is the vertical shooting posture, the gravity component with respect to the horizontal direction is adjusted to calculate the blur amount, and the gravity component with respect to the vertical direction is not adjusted. It may be calculated the shake amount. Thereby, by taking into consideration the orientation of the apparatus main body, it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of camera shake correction.

また、本発明に係る撮像装置において、請求項3に記載したように、前記判定手段は、前記撮像方向が重力方向を含む予め定められた範囲内にある場合に上下撮り姿勢であると更に判定し、前記算出手段は、前記判定手段により前記上下撮り姿勢であると判定された場合、前記横方向及び前記縦方向の重力成分を調整せずに前記ブレ量を算出するようにしても良い。これにより、撮像装置の撮像方向を考慮することで、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   Moreover, in the imaging device according to the present invention, as described in claim 3, the determination unit further determines that the posture is a vertical shooting posture when the imaging direction is within a predetermined range including a gravity direction. The calculating unit may calculate the blur amount without adjusting the gravity component in the horizontal direction and the vertical direction when the determining unit determines that the posture is the vertical shooting posture. Thereby, by taking into consideration the imaging direction of the imaging apparatus, it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

また、本発明に係る撮像装置において、請求項4に記載したように、前記算出手段は、前記撮像素子により撮像を行う際の撮像倍率が予め定められた閾値未満であった場合、前記横方向及び前記縦方向の重力成分を調整せずに前記ブレ量を算出するようにしても良い。これにより、撮像装置の撮像倍率を考慮することで、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   Moreover, in the imaging device according to the present invention, as described in claim 4, when the imaging magnification at the time of imaging with the imaging element is less than a predetermined threshold, The blur amount may be calculated without adjusting the vertical gravity component. Accordingly, by taking into consideration the imaging magnification of the imaging apparatus, it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

また、本発明に係る撮像装置において、請求項5に記載したように、前記算出手段は、マクロ撮影モードに設定されている場合、前記横方向及び前記縦方向の各々の重力成分を調整して前記ブレ量を算出するようにしても良い。これにより、撮像の際のモードを考慮することで、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   In the imaging device according to the present invention, as described in claim 5, the calculation unit adjusts the gravity component in each of the horizontal direction and the vertical direction when the macro shooting mode is set. The blur amount may be calculated. Thereby, by taking into consideration the mode at the time of imaging, there is an effect that it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

また、本発明に係る撮像装置において、請求項6に記載したように、前記判定手段は、装置本体の姿勢が、予め定められた時間以上継続した場合に、当該姿勢であると判定するようにしても良い。これにより、装置本体の姿勢をより精密に考慮して、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   In the imaging device according to the present invention, as described in claim 6, the determination unit determines that the posture of the device main body is the posture when the posture of the device body continues for a predetermined time. May be. Thereby, it is possible to improve the correction accuracy of the camera shake correction by appropriately determining the influence of the gravity component in consideration of the posture of the apparatus main body more precisely.

また、本発明に係る撮像装置において、請求項7に記載したように、前記補正手段は、駆動されることにより装置本体の手振れを補正するブレ補正レンズを駆動することにより、前記手振れを補正するようにしても良い。これにより、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   In the image pickup apparatus according to the present invention, as described in claim 7, the correction unit corrects the camera shake by driving a shake correction lens that corrects the camera shake of the apparatus body when driven. You may do it. Thereby, there is an effect that it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

一方、上記目的を達成するために、請求項8に記載のプログラムは、被写体像を撮像する撮像素子と、装置本体における角速度及び加速度を検出する検出手段とを備えたコンピュータにおいて実行されるプログラムであって、前記コンピュータを、装置本体の姿勢を判定する判定手段と、前記検出手段によって検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量を、前記判定手段により判定された姿勢に応じて、手振れ補正を行う方向の重力の影響の度合いに応じて重力成分を調整して算出する算出手段と、前記算出手段によって算出されたブレ量に基づいて手振れを補正する補正手段と、として機能させるためのプログラムである。   On the other hand, in order to achieve the above object, the program according to claim 8 is a program executed in a computer including an image pickup device that picks up a subject image and a detection unit that detects angular velocity and acceleration in the apparatus main body. Then, the computer is configured to determine the attitude of the apparatus main body, and based on the angular velocity and acceleration detected by the detection means, the angle blur that rotates the photographing optical axis and the shift blur that translates the photographing optical axis. A calculation unit that calculates and calculates a shake amount that includes a gravity component in accordance with a degree of influence of gravity in a direction in which camera shake correction is performed according to the posture determined by the determination unit; This is a program for functioning as a correction unit that corrects camera shake based on the shake amount.

従って、請求項8に記載のプログラムによれば、コンピュータを請求項1に記載の発明と同様に作用させることができるので、請求項1に記載の発明と同様に、装置本体の姿勢を考慮することで、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   Therefore, according to the program described in claim 8, since the computer can be operated in the same manner as in the invention described in claim 1, the posture of the apparatus main body is taken into consideration as in the invention described in claim 1. Thus, it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

また、上記目的を達成するために、請求項9に記載の手振れ補正方法は、被写体像を撮像する撮像素子と、装置本体における角速度及び加速度を検出する検出手段とを備えた撮像装置における手振れ補正方法であって、装置本体の姿勢を判定する判定ステップと、前記検出手段によって検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量を、前記判定ステップにより判定された姿勢に応じて、手振れ補正を行う方向の重力の影響の度合いに応じて重力成分を調整して算出する算出ステップと、前記算出ステップによって算出されたブレ量に基づいて手振れを補正する補正ステップと、を行う手振れ補正方法である。   In order to achieve the above object, a camera shake correction method according to claim 9 is a camera shake correction method in an image pickup apparatus including an image pickup element that picks up a subject image and a detection unit that detects angular velocity and acceleration in the apparatus main body. The method includes a determination step for determining the attitude of the apparatus main body, an angular blur that rotates the photographing optical axis based on the angular velocity and acceleration detected by the detection means, and a shift blur that translates the photographing optical axis. The amount of shake to be calculated is calculated by adjusting the gravity component according to the degree of gravity in the direction in which camera shake correction is performed according to the posture determined in the determination step, and calculated by the calculation step And a correction step of correcting camera shake based on the amount of shake.

従って、請求項9に記載の手振れ補正方法によれば、請求項1に記載の発明と同様に作用することができるので、請求項1に記載の発明と同様に、措置本体の姿勢を考慮することで、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   Therefore, according to the camera shake correction method according to the ninth aspect, since it can operate in the same manner as the invention according to the first aspect, the posture of the measure main body is taken into consideration as in the first aspect. Thus, it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

本発明によれば、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   According to the present invention, it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

実施形態に係る撮像装置の外観を示す図であり、(A)は上面図、(B)は正面図、(C)は背面図である。It is a figure which shows the external appearance of the imaging device which concerns on embodiment, (A) is a top view, (B) is a front view, (C) is a rear view. 実施形態に係る撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device which concerns on embodiment. 実施形態に係る撮像装置における角度ブレを説明するための概略図である。It is the schematic for demonstrating the angle blurring in the imaging device which concerns on embodiment. 実施形態に係る撮像装置におけるシフトブレを説明するための概略図である。It is the schematic for demonstrating the shift blur in the imaging device which concerns on embodiment. 第1実施形態に係る撮像装置におけるブレ補正処理に関連する要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part relevant to the blurring correction process in the imaging device which concerns on 1st Embodiment. 第1実施形態に係る撮像装置におけるブレ補正処理プログラムによる処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process by the blurring correction process program in the imaging device which concerns on 1st Embodiment. 第2実施形態に係る撮像装置におけるブレ補正処理に関連する要部の構成を示すブロック図である。It is a block diagram which shows the structure of the principal part relevant to the blurring correction process in the imaging device which concerns on 2nd Embodiment. 第2実施形態に係る撮像装置におけるブレ補正処理プログラムによる処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process by the blurring correction process program in the imaging device which concerns on 2nd Embodiment.

〔第1実施形態〕
以下、第1実施形態に係る撮像装置1について添付図面を用いて詳細に説明する。
[First Embodiment]
Hereinafter, the imaging device 1 according to the first embodiment will be described in detail with reference to the accompanying drawings.

図1は、本実施形態に係る撮像装置1の外観を示す図であり、図1(A)は上面図、図1(B)は正面図、図1(C)は背面図である。図2は、本実施形態に係る撮像装置1の構成を示すブロック図である。   1A and 1B are diagrams illustrating an appearance of an imaging apparatus 1 according to the present embodiment. FIG. 1A is a top view, FIG. 1B is a front view, and FIG. 1C is a rear view. FIG. 2 is a block diagram illustrating a configuration of the imaging apparatus 1 according to the present embodiment.

図1に示すように、撮像装置1は、内部に撮像に用いられる各種電子機器が収納された筐体2を有する。筐体2の正面には、複数のレンズからなる光学撮像系3、及び、発光するストロボ4が設けられている。また、筐体2の背面には、LCD(Liquid Crystal Display)等を有する表示部5、ユーザ操作により設定指示が入力されるメニュー操作部6Aが設けられている。一方で、筐体2の上面部には、ユーザ操作により撮影指示等を入力するレリーズボタン6B、ユーザ操作により電源のオン/オフ状態の切替指示を入力する電源ボタン6C、ユーザ操作によりモード切替指示を入力するモード切替ボタン6Dが設けられている。以下、メニュー操作部6A、レリーズボタン6B、電源ボタン6C、及びモード切替ボタン6Dをまとめて操作部6と言う。   As shown in FIG. 1, the imaging apparatus 1 has a housing 2 in which various electronic devices used for imaging are housed. An optical imaging system 3 including a plurality of lenses and a strobe 4 that emits light are provided on the front surface of the housing 2. Further, on the rear surface of the housing 2, a display unit 5 having an LCD (Liquid Crystal Display) and the like, and a menu operation unit 6A through which setting instructions are input by a user operation are provided. On the other hand, a release button 6B for inputting a shooting instruction or the like by a user operation, a power button 6C for inputting a power ON / OFF switching instruction by a user operation, and a mode switching instruction by a user operation are provided on the upper surface of the housing 2. A mode switching button 6D is provided. Hereinafter, the menu operation unit 6A, the release button 6B, the power button 6C, and the mode switching button 6D are collectively referred to as the operation unit 6.

表示部5には、静止画の撮像に先立って撮像される画素数の小さい画像がスルー画として表示され、これにより表示部5がファインダとして機能する。また、表示部5には、メモリカード等の記憶装置(図示しない)に記憶された画像が表示されたり、ユーザによる操作部6の操作に応じた操作メニューや設定メニュー等が表示されたりする。   On the display unit 5, an image with a small number of pixels to be captured prior to capturing a still image is displayed as a through image, whereby the display unit 5 functions as a viewfinder. Further, the display unit 5 displays an image stored in a storage device (not shown) such as a memory card, or displays an operation menu, a setting menu, or the like according to the operation of the operation unit 6 by the user.

モード切替ボタン6Dにより切り替えられるモードは、撮影を行う撮影モード、マクロモードで撮影を行うマクロ撮影モード、表示部5に既存の撮影画像を表示する再生モード、及び、各種設定を行う設定モード等である。マクロモードとは、被写体に接近して撮影するモードであり、近くの物にピントが合うような被写界深度が設定されたモードである。撮像装置1がマクロモードに設定されている場合、撮像装置1による撮影時の被写体深度が予め定められた範囲内に設定される。   The mode switched by the mode switching button 6D is a shooting mode for shooting, a macro shooting mode for shooting in macro mode, a playback mode for displaying an existing shot image on the display unit 5, a setting mode for performing various settings, and the like. is there. The macro mode is a mode in which a subject is photographed close to the subject, and is a mode in which a depth of field is set such that a nearby object is in focus. When the imaging device 1 is set to the macro mode, the subject depth at the time of shooting by the imaging device 1 is set within a predetermined range.

また、図1に示すように、撮像装置1において、筐体2の横方向をx方向、縦方向をy方向とする。   As shown in FIG. 1, in the imaging apparatus 1, the horizontal direction of the housing 2 is the x direction and the vertical direction is the y direction.

図2に示すように、撮像装置1は、上述した撮像光学系3,撮像素子12,第1ブレ補正部13A,第2ブレ補正部13B、角速度センサ14,加速度センサ15,AFE(Analog Front End)検出回路16,AE/AWB(Automatic Exposure/Automatic White Balance)検出回路17、AFE31、A/D変換機32、DSP(Digital Signal Processor)33、画像処理部34、メモリ35、CPU(Central Processing Unit)37を備えている。   As shown in FIG. 2, the imaging apparatus 1 includes the imaging optical system 3, the imaging element 12, the first blur correction unit 13A, the second blur correction unit 13B, the angular velocity sensor 14, the acceleration sensor 15, and an AFE (Analog Front End). ) Detection circuit 16, AE / AWB (Automatic Exposure / Automatic White Balance) detection circuit 17, AFE 31, A / D converter 32, DSP (Digital Signal Processor) 33, image processing unit 34, memory 35, CPU (Central Processing Unit) 37).

撮像光学系3は、レンズ21、絞り22、ブレ補正レンズ23等から構成される。レンズ21は、ズームや焦点調節時に光軸Lに沿って移動可能に設けられたレンズである。図2においては簡単のためにレンズ21を1つ図示しているが、レンズ21は、複数のレンズからなり、ズーム時に駆動されるズーミングレンズ、焦点調節時に駆動されるフォーカシングレンズ等を含んでいる。絞り22は、光軸L上に複数の絞り羽根で形成する開口を有し、絞り羽根の位置を移動させ、開口の大きさを調節することにより、露光量を調節する。   The imaging optical system 3 includes a lens 21, a diaphragm 22, a shake correction lens 23, and the like. The lens 21 is a lens provided so as to be movable along the optical axis L during zooming and focus adjustment. Although one lens 21 is shown in FIG. 2 for the sake of simplicity, the lens 21 includes a plurality of lenses, and includes a zooming lens driven during zooming, a focusing lens driven during focus adjustment, and the like. . The diaphragm 22 has an opening formed by a plurality of diaphragm blades on the optical axis L, and adjusts the exposure amount by moving the position of the diaphragm blade and adjusting the size of the opening.

ブレ補正レンズ23は、光軸Lに対して垂直な方向に移動可能に設けられ、撮像装置1に手振れ(角度ブレやシフトブレ)が発生したときに、手振れを打ち消す向きに移動される。ブレ補正レンズ23は、ボイスコイルモータ(VCM)やステッピングモータ等からなるアクチュエータ24によって駆動される。なお、ブレ補正レンズ23の移動方向や移動量は、第1ブレ補正部13A、第2ブレ補正部13Bによって制御される。   The shake correction lens 23 is provided so as to be movable in a direction perpendicular to the optical axis L, and is moved in a direction to cancel the shake when a shake (angle shake or shift shake) occurs in the imaging apparatus 1. The blur correction lens 23 is driven by an actuator 24 including a voice coil motor (VCM) and a stepping motor. Note that the movement direction and amount of movement of the blur correction lens 23 are controlled by the first blur correction unit 13A and the second blur correction unit 13B.

撮像素子12は、例えばCCD型撮像素子であり、撮像光学系3に撮像面を向けて配置される。撮像面には、複数の画素が所定の配列で設けられており、画素毎に被写体から入射した光を光電変換することにより、被写体の像を撮像する。撮像素子12が出力する撮像信号は、AFE31に入力され、相関二重サンプリングによってノイズが除去され、増幅される。こうしてAFE31でノイズが除去され、増幅された撮像信号はA/D変換器31によってデジタルな画像データに変換され、DSP33に入力される。   The imaging element 12 is, for example, a CCD type imaging element, and is arranged with the imaging surface facing the imaging optical system 3. A plurality of pixels are provided in a predetermined arrangement on the imaging surface, and an image of the subject is captured by photoelectrically converting light incident from the subject for each pixel. An imaging signal output from the imaging device 12 is input to the AFE 31, and noise is removed and amplified by correlated double sampling. In this way, noise is removed by the AFE 31, and the amplified imaging signal is converted into digital image data by the A / D converter 31 and input to the DSP 33.

DSP33は、入力された画像データに階調補正処理やガンマ補正処理等の信号処理を施す画質補正処理回路や、画像データをJPEG等の所定形式で圧縮/伸張する圧縮伸張処理回路として機能する。また、画像処理部34には、DSP33で各種補正処理等が施された画像データが入力され、さらに輪郭強調処理等の画像処理を施す。画像処理部34によって画像処理が施された画像データは、メモリ35に記憶されたり、表示部5に表示されたりする。   The DSP 33 functions as an image quality correction processing circuit that performs signal processing such as gradation correction processing and gamma correction processing on input image data, and a compression / decompression processing circuit that compresses / decompresses image data in a predetermined format such as JPEG. The image processing unit 34 receives image data that has been subjected to various types of correction processing by the DSP 33, and further performs image processing such as contour enhancement processing. Image data that has been subjected to image processing by the image processing unit 34 is stored in the memory 35 or displayed on the display unit 5.

AF検出回路16は、DSP33から出力される画像データに基づいて焦点距離を検出する回路であり、画像データ内の所定のAF検出領域から高周波成分を抽出し積算した評価値を出力する。そして、評価値に基づいて、AF検出領域内のコントラストが最大となるように、撮像光学系3のフォーカシングレンズ(レンズ21)を光軸Lに沿って移動させることにより、自動的にフォーカシングを行う。   The AF detection circuit 16 is a circuit that detects a focal length based on image data output from the DSP 33, and outputs an evaluation value obtained by extracting and integrating a high-frequency component from a predetermined AF detection area in the image data. Then, based on the evaluation value, the focusing lens (lens 21) of the imaging optical system 3 is moved along the optical axis L so that the contrast in the AF detection area is maximized, thereby automatically performing focusing. .

AE/AWB検出回路17は、DSP33から出力される画像データに基づいて、ホワイトバランスが撮影に適切か否かを検出するとともに、撮影に適切な露光量を検出する。そして、露光量が適切になるように、絞り22の開口の大きさや、撮像素子12の電子シャッタの速度等を調節する。   The AE / AWB detection circuit 17 detects whether or not the white balance is appropriate for shooting based on the image data output from the DSP 33, and detects an exposure amount appropriate for shooting. Then, the size of the aperture of the diaphragm 22 and the speed of the electronic shutter of the image sensor 12 are adjusted so that the exposure amount is appropriate.

第1ブレ補正部13A及び第2ブレ補正部13Bは、撮像装置1の回転によって生じる角速度ωと、平行移動によって生じる並進加速度Acc1に基づいて、撮像装置1に生じた手振れを算出して補正する。第1ブレ補正部13A及び第2ブレ補正部13Bが算出する手振れは、光軸Lが回転することによる角度ブレと、光軸Lに垂直な面内での平行移動によるシフトブレの2種類がある。また、ブレ補正部13A、13Bは、角速度ω及び並進加速度Acc1に基づいて角度ブレ及びシフトブレをそれぞれ算出すると、これらに基づいて、全体のブレ量δを算出する。   The first blur correction unit 13A and the second blur correction unit 13B calculate and correct camera shake generated in the imaging device 1 based on the angular velocity ω generated by the rotation of the imaging device 1 and the translational acceleration Acc1 generated by the parallel movement. . There are two types of camera shake calculated by the first blur correction unit 13A and the second blur correction unit 13B: angular blur due to rotation of the optical axis L and shift blur due to parallel movement in a plane perpendicular to the optical axis L. . Further, when the shake correction units 13A and 13B calculate the angular shake and the shift shake based on the angular velocity ω and the translational acceleration Acc1, respectively, the overall shake amount δ is calculated based on these.

ブレ量δは、後述するアクチュエータ54に入力され、アクチュエータ54は入力されたブレ量δを打ち消すようにブレ補正レンズ23を駆動する。したがって、撮像装置1では、ブレ補正レンズ23の移動により、角度ブレとシフトブレは共に補正される。なお、ブレ補正部13A、13Bは、角速度ωを角速度センサ14の出力値から取得し、並進加速度Acc1を加速度センサ15の出力値から取得する。   The blur amount δ is input to an actuator 54 described later, and the actuator 54 drives the blur correction lens 23 so as to cancel the input blur amount δ. Therefore, in the imaging apparatus 1, both the angle blur and the shift blur are corrected by the movement of the blur correction lens 23. Note that the blur correction units 13A and 13B acquire the angular velocity ω from the output value of the angular velocity sensor 14 and acquire the translational acceleration Acc1 from the output value of the acceleration sensor 15.

CPU37は、操作部6を介したユーザ操作にしたがって上述の撮像装置1の各部を統括的に制御する。CPU37は例えば、レリーズボタンが半押し操作されると、AF検出回路16によって自動焦点調節を行うとともに、AE/AWB検出回路17によって露光量を自動的に調節する。また、CPU37は、撮像装置1が撮影モードに設定されている際に、後述するブレ補正処理プログラムを実行する。   The CPU 37 comprehensively controls each unit of the above-described imaging device 1 in accordance with a user operation via the operation unit 6. For example, when the release button is pressed halfway, the CPU 37 performs automatic focus adjustment by the AF detection circuit 16 and also automatically adjusts the exposure amount by the AE / AWB detection circuit 17. Further, the CPU 37 executes a shake correction processing program to be described later when the imaging device 1 is set to the shooting mode.

以下、撮像装置1による手振れ補正の態様を説明する。撮像装置1は、前述のようにブレ補正部13A、13Bによって角度ブレとシフトブレを算出する。   Hereinafter, an aspect of camera shake correction by the imaging apparatus 1 will be described. The imaging device 1 calculates the angle blur and the shift blur by the blur correction units 13A and 13B as described above.

図3は、本実施形態に係る撮像装置1における角度ブレを説明するための概略図である。図3に示すように、角度θは、回転中心Cを中心として光軸Lが回転する角度であり、回転半径Rは例えば回転中心Cから角速度センサ14までの長さである。角度θは角速度ωを積分することにより算出され、回転半径Rは、後述するようにシフトブレによって発生する並進加速度Acc1と角速度ωに基づいて算出される。   FIG. 3 is a schematic diagram for explaining angle blurring in the imaging apparatus 1 according to the present embodiment. As shown in FIG. 3, the angle θ is an angle at which the optical axis L rotates around the rotation center C, and the rotation radius R is, for example, the length from the rotation center C to the angular velocity sensor 14. The angle θ is calculated by integrating the angular velocity ω, and the turning radius R is calculated based on the translational acceleration Acc1 generated by shift blur and the angular velocity ω, as will be described later.

また、図4は、本実施形態に係る撮像装置1におけるシフトブレを説明するための概略図である。図4に示すように、シフトブレは、光軸Lに垂直な面内での撮像装置1の平行移動によるブレであり、シフトブレによる並進ブレ量Yは、角度θと回転半径Rによって、Y=R・θの関係により表される。   FIG. 4 is a schematic diagram for explaining shift blur in the imaging apparatus 1 according to the present embodiment. As shown in FIG. 4, the shift blur is a blur due to the parallel movement of the imaging device 1 in a plane perpendicular to the optical axis L, and the translational blur amount Y due to the shift blur is Y = R depending on the angle θ and the rotation radius R.・ Represented by the relationship of θ.

本実施形態に係る撮像装置1では、図1に示すx方向及びy方向の各々について、角度ブレとシフトブレとを加算することでブレ量を算出して、x方向及びy方向の各々について手振れ補正を行う。   In the imaging apparatus 1 according to the present embodiment, the shake amount is calculated by adding the angle shake and the shift shake for each of the x direction and the y direction shown in FIG. 1, and the camera shake correction is performed for each of the x direction and the y direction. I do.

撮像光学系の主点の位置における並進ブレ量Yと角度θ及び撮像光学系の焦点距離fと撮影倍率βより撮像面に生ずる振れδは、以下の(1)式で求められる。
δ=(1+β)fθ+βY ………………(1)
From the translation blur amount Y and angle θ at the position of the principal point of the imaging optical system, the shake δ generated on the imaging surface from the focal length f of the imaging optical system and the imaging magnification β can be obtained by the following equation (1).
δ = (1 + β) fθ + βY (1)

ここで、撮像光学系3の主点位置における並進ブレ量Yと角度θと回転中心Cを定めた場合の回転半径Rの関係は、以下の(2)式で表せ、加速度信号を1回微分した並進速度Vと角速度ωと回転中心Cを定めた場合の回転半径Rとの関係は、(3)式で表せる。
Y=Rθ ………………(2)
V=Rω ………………(3)
Here, the relationship between the translational blur amount Y at the principal point position of the imaging optical system 3, the angle θ, and the rotation radius R when the rotation center C is defined can be expressed by the following equation (2), and the acceleration signal is differentiated once. The relationship between the translational velocity V, the angular velocity ω, and the rotation radius R when the rotation center C is determined can be expressed by equation (3).
Y = Rθ (2)
V = Rω ……………… (3)

そこで、本実施形態の撮像装置1では、重力方向においては、(1)式を、以下の(4)式の様に書き直したブレ量δに対して手振れ補正を行っている。
δ=(1+β)fθ+βRθ ………………(4)
Therefore, in the imaging apparatus 1 of the present embodiment, in the direction of gravity, camera shake correction is performed on the shake amount δ that is rewritten from Equation (1) as in Equation (4) below.
δ = (1 + β) fθ + βRθ (4)

即ち、(4)式では、シフトブレを求める際に、加速度センサ15により直接求まる並進ブレ量Yを用いるのではなく、一旦(2)式或いは式(3)式で求まる回転半径Rを求め、この回転半径Rと角度θとズーム、フォーカス及びそれにより得られる撮影倍率βを用いる。   That is, in the equation (4), when the shift blur is obtained, the translational blur amount Y obtained directly by the acceleration sensor 15 is not used, but the rotational radius R obtained by the equation (2) or the equation (3) is once obtained. A rotation radius R, an angle θ, zoom, focus, and an imaging magnification β obtained thereby are used.

ここで、加速度センサ15は撮像光学系3のレンズ主点位置に配置されており、回転半径Rは回転中心Cから撮像光学系3のレンズ主点位置までの距離に等しい。加速度計信号を2階積分すれば値Yが求まるので、式(1)式を利用してシフトブレ補正を行えば良いのに、(4)式を用いてシフトブレ補正を行う理由を以下に説明する。   Here, the acceleration sensor 15 is disposed at the lens principal point position of the imaging optical system 3, and the rotation radius R is equal to the distance from the rotation center C to the lens principal point position of the imaging optical system 3. The value Y can be obtained by second-order integration of the accelerometer signal. Therefore, the reason why the shift blur correction is performed using the equation (4), although the shift blur correction may be performed using the equation (1), will be described below. .

今、角度θが入力されると、加速度センサ15はその傾きによる重力成分の変動も検出する。そして、角度θが大きくない範囲では重力変動により出力される重力加速度(加速度センサ15による出力)は角度θに比例する。   Now, when the angle θ is input, the acceleration sensor 15 also detects the variation of the gravity component due to the inclination. In a range where the angle θ is not large, the gravitational acceleration (output by the acceleration sensor 15) output due to gravity fluctuation is proportional to the angle θ.

また、角度θに、回転半径Rを乗じた結果が並進ブレ量Y(加速度センサ15による出力)であり、この並進ブレ量Yを2階微分したシフトブレによる加速度が加速度センサ15から出力される。   Further, the result obtained by multiplying the angle θ by the rotation radius R is a translation blur amount Y (output from the acceleration sensor 15), and the acceleration due to the shift blur obtained by second-order differentiation of the translation blur amount Y is output from the acceleration sensor 15.

更に、加速度センサ15の出力にはノイズも重畳している。ノイズの種類は周波数によらず一定のノイズや周波数に関係するノイズなどがあるが、ここでは周波数に依存しないノイズであり、且つ角度θに比例するノイズとして取り扱うものとする。   Furthermore, noise is also superimposed on the output of the acceleration sensor 15. The types of noise include constant noise regardless of frequency and noise related to frequency. Here, the noise is not dependent on frequency and is treated as noise proportional to the angle θ.

上記の重力加速度及びシフトブレによる加速度の合計が加速度センサ15の出力に表れ、これが2階積分されることにより、並進ブレ量Yが得られる。   The sum of the acceleration due to the gravitational acceleration and the shift blur appears in the output of the acceleration sensor 15, and this is second-order integrated to obtain the translation blur amount Y.

今、重力加速度比例項をG、回転半径をR、ノイズ比例項をk、角周波数をωとすると、信号検出系は、以下の(5)式で表せる。

Figure 2013015571
右辺の第1項は加速度出力と重力加速度出力の項であり、第2項はノイズ項である。 Now, assuming that the gravitational acceleration proportional term is G, the radius of rotation is R, the noise proportional term is k, and the angular frequency is ω, the signal detection system can be expressed by the following equation (5).
Figure 2013015571
The first term on the right side is a term for acceleration output and gravity acceleration output, and the second term is a noise term.

ここで、加速度出力と重力加速度出力は共に角度θの位相と関連しており、ノイズに関しては角度θの位相と関連していないので、(5)式の右辺は2つの項に分けて示しているが、簡略化の為に各項の位相を無視すると以下の式(6)式となる。

Figure 2013015571
Here, both the acceleration output and the gravitational acceleration output are related to the phase of the angle θ, and noise is not related to the phase of the angle θ, so the right side of the equation (5) is divided into two terms. However, if the phase of each term is ignored for simplification, the following equation (6) is obtained.
Figure 2013015571

即ち、シフトブレの変位は(7)式の等式((6)式の結果がゼロになる各周波数)が成り立つ各周波数を境に低周波側は重力加速度とノイズが支配的になり、高周波側でのみ正確なシフトブレが計測できる。   In other words, the displacement of shift blur is dominated by gravitational acceleration and noise on the low frequency side at each frequency where the equation (7) equation (each frequency at which the result of equation (6) becomes zero) holds. Accurate shift blur can be measured only with.

一方、この周波数より高周波側では加速度信号の信頼性は高くなっている。   On the other hand, the reliability of the acceleration signal is higher on the higher frequency side than this frequency.

今、手振れの帯域は1Hzから10Hzであり、既に重力加速度やノイズの影響がある帯域になっているため、加速度センサ15を用いてシフトブレを検出することが出来ない。   Now, the hand shake band is from 1 Hz to 10 Hz, and since it is already a band affected by gravitational acceleration and noise, shift blur cannot be detected using the acceleration sensor 15.

そこで、本実施形態に係る撮像装置1では、重力の影響をあまり受けない水平方向(重力方向に垂直な方向)について手振れ補正を行う際には(1)式を用い、重力方向について手振れ補正を行う際には、加速度センサ15の信頼できる帯域を用いて並進ブレ量Yを検出する事を考慮し、(4)式を用いる。   Therefore, in the imaging apparatus 1 according to the present embodiment, when performing camera shake correction in the horizontal direction (a direction perpendicular to the gravity direction) that is not significantly affected by gravity, Equation (1) is used to correct the camera shake correction in the gravity direction. In performing, the equation (4) is used in consideration of detecting the translational blur amount Y using a reliable band of the acceleration sensor 15.

図5は、本実施形態に係る撮像装置1のブレ補正処理に関連する要部の構成を示すブロック図である。図5に示すように、本実施形態に係る撮像装置1は、上述したような手振れ補正を行うために、上記(1)式を用いて手振れ補正を行う第1ブレ補正部13A、及び、上記(4)式を用いて手振れ補正を行う第2ブレ補正部13Bを有していて、対象とする方向が重力方向であるか否かによっていずれかのブレ補正部に切り替えつつ手振れ補正を行う。本実施形態に係る撮像装置1は、上述したような手振れ補正を、x方向及びy方向の各々について行うために、各々の方向について第1ブレ補正部13A及び第2ブレ補正部13Bを有しているが、図5には、x方向あるいはy方向の一方のブロックのみを示している。   FIG. 5 is a block diagram illustrating a configuration of a main part related to the shake correction processing of the imaging apparatus 1 according to the present embodiment. As shown in FIG. 5, the imaging apparatus 1 according to the present embodiment includes a first shake correction unit 13 </ b> A that performs camera shake correction using the equation (1), and performs the above-described camera shake correction. The second camera shake correction unit 13B that performs camera shake correction using the equation (4) is provided, and the camera shake correction is performed while switching to one of the camera shake correction units depending on whether the target direction is the direction of gravity. The imaging apparatus 1 according to the present embodiment includes the first shake correction unit 13A and the second shake correction unit 13B in each direction in order to perform the above-described camera shake correction in each of the x direction and the y direction. However, FIG. 5 shows only one block in the x direction or the y direction.

また、図5に示すように、撮像装置1は、撮像装置1の姿勢に応じて加速度を加味するか否かを判断して切り替える切替部40を備えている。角速度センサ14、加速度センサ15から加速度信号及び加速度信号を入力する切替部40、ブレ補正部13Aは、重力を加味してブレ量を算出して補正し、ブレ補正部13Bは、重力成分を加味せずにブレ量を算出して補正する。なお、重力成分を加味するとは、上記(4)式を用いて重力成分を調整することを言う。   In addition, as illustrated in FIG. 5, the imaging device 1 includes a switching unit 40 that determines and switches whether to take acceleration into account according to the posture of the imaging device 1. The angular velocity sensor 14, the switching unit 40 that inputs the acceleration signal and the acceleration signal from the acceleration sensor 15, and the shake correction unit 13 </ b> A calculate and correct the shake amount in consideration of the gravity, and the shake correction unit 13 </ b> B takes the gravity component into account. Without correcting, the blur amount is calculated and corrected. In addition, adding a gravity component means adjusting a gravity component using said (4) Formula.

角速度センサ14の出力信号(以下、角速度信号と言う。)及び加速度センサ15の出力信号(以下、加速度信号と言う。)は、切替部40に入力する。切替部40は、加速度信号に基づいて撮像装置1の重力方向を判定し、判定結果によって撮像装置1の姿勢を判断する。そして、切替部40は、撮像装置1の姿勢を判定し、判定結果に基づいて、角速度信号及び加速度信号を第1ブレ補正部13Aに対して出力するか、第2ブレ補正部13Bに出力するかを決定する。角速度信号及び加速度信号を入力した第1ブレ補正部13Aまたは第2ブレ補正部13Bは、各々ブレ量を算出して、算出されたブレ量に基づいて補正レンズ23の移動方向や移動量を制御する。   An output signal from the angular velocity sensor 14 (hereinafter referred to as an angular velocity signal) and an output signal from the acceleration sensor 15 (hereinafter referred to as an acceleration signal) are input to the switching unit 40. The switching unit 40 determines the gravitational direction of the imaging device 1 based on the acceleration signal, and determines the posture of the imaging device 1 based on the determination result. Then, the switching unit 40 determines the attitude of the imaging device 1, and outputs an angular velocity signal and an acceleration signal to the first blur correction unit 13A or outputs to the second blur correction unit 13B based on the determination result. To decide. The first blur correction unit 13A or the second blur correction unit 13B that receives the angular velocity signal and the acceleration signal calculates the blur amount, and controls the moving direction and the moving amount of the correction lens 23 based on the calculated blur amount. To do.

まず、重力成分を加味したブレ量を算出する第1ブレ補正部13Aによるブレ量の算出手順について説明する。重力成分を加味したブレ量を算出する。ブレ補正部13Aは、角速度の変化量を算出するために、バンドパスフィルタ(BPF)41、A/D変換機42、ハイパスフィルタ(HPF)43,46,位相補正回路44、積分回路45を備えていて、加速度の変化量を算出するために、ローパスフィルタ(LPF)47、A/D変換機48、HPF49、位相補正回路50、積分回路51を備えていて、角速度及び加速度の変化量からブレ量を算出して補正するために、回転半径算出部52、ブレ量算出部53、及びアクチュエータ54を備えている。   First, the blur amount calculation procedure by the first blur correction unit 13A that calculates the blur amount in consideration of the gravity component will be described. Calculate the amount of shake with the gravitational component added. The blur correction unit 13A includes a band pass filter (BPF) 41, an A / D converter 42, high pass filters (HPF) 43 and 46, a phase correction circuit 44, and an integration circuit 45 in order to calculate the amount of change in angular velocity. In order to calculate the amount of change in acceleration, a low pass filter (LPF) 47, an A / D converter 48, an HPF 49, a phase correction circuit 50, and an integration circuit 51 are provided. In order to calculate and correct the amount, a rotation radius calculation unit 52, a shake amount calculation unit 53, and an actuator 54 are provided.

また、ブレ補正部13Bは、角速度の変化量を算出するために、バンドパスフィルタ(BPF)41、A/D変換機42、ハイパスフィルタ(HPF)43,46、位相補正回路44、積分回路45を備えていて、加速度の変化量を算出するために、ローパスフィルタ(LPF)47、A/D変換機48、位相補正回路50、積分回路51を備えていて、角速度及び加速度の変化量からブレ量を算出して補正するために、ブレ量算出部53、及びアクチュエータ54を備えている。   Further, the blur correction unit 13B calculates a change amount of the angular velocity in order to calculate a band pass filter (BPF) 41, an A / D converter 42, high pass filters (HPF) 43 and 46, a phase correction circuit 44, and an integration circuit 45. And a low-pass filter (LPF) 47, an A / D converter 48, a phase correction circuit 50, and an integration circuit 51 for calculating the amount of change in acceleration. In order to calculate and correct the amount, a blur amount calculation unit 53 and an actuator 54 are provided.

第1ブレ補正部13Aに入力した角速度信号は、BPF41に入力され、角速度センサ14の出力信号のうち、手振れ補正によって発生する角度θの周波数帯(例えば1〜10Hz程度)の成分がA/D変換器42に入力される。A/D変換器42は、入力された所定周波数帯の角速度信号を、デジタル信号に変換し、HPF43に入力する。HPF43は、角速度信号のDC成分を除去する。DC成分をカットされた角速度信号は、位相補償回路44に入力され、位相を整えられた後、角速度ωとして出力される。位相補償回路44が出力する角速度ωは、積分回路45と回転半径算出部52に入力される。積分回路45は、位相補償回路44から入力される角速度ωを積分し、HPF46によってDC成分を除去することによって角度θを算出する。こうして算出される角度θは、ブレ量算出部53に入力される。   The angular velocity signal input to the first blur correction unit 13A is input to the BPF 41. Among the output signals of the angular velocity sensor 14, the component in the frequency band (for example, about 1 to 10 Hz) of the angle θ generated by the camera shake correction is A / D. Input to the converter 42. The A / D converter 42 converts the input angular velocity signal in a predetermined frequency band into a digital signal and inputs the digital signal to the HPF 43. The HPF 43 removes the DC component of the angular velocity signal. The angular velocity signal from which the DC component has been cut is input to the phase compensation circuit 44, and after the phase is adjusted, it is output as the angular velocity ω. The angular velocity ω output from the phase compensation circuit 44 is input to the integration circuit 45 and the turning radius calculation unit 52. The integration circuit 45 integrates the angular velocity ω input from the phase compensation circuit 44 and calculates the angle θ by removing the DC component by the HPF 46. The angle θ thus calculated is input to the shake amount calculation unit 53.

一方、加速度センサ15の出力信号(以下、加速度信号という)は、LPF47に入力されノイズが除去されるとともに、A/D変換器48によってデジタル信号に変換し、HPF49に入力する。HPF49は、重力による加速度成分を除去するフィルタであり、カットオフ周波数fcは約10m/sである。HPF49によって重力加速度を除去された並進加速度Acc1は、位相補償回路50に入力する。 On the other hand, an output signal from the acceleration sensor 15 (hereinafter referred to as an acceleration signal) is input to the LPF 47 to remove noise, and is converted into a digital signal by the A / D converter 48 and input to the HPF 49. The HPF 49 is a filter that removes an acceleration component due to gravity, and the cut-off frequency fc is about 10 m / s 2 . The translational acceleration Acc1 from which the gravitational acceleration is removed by the HPF 49 is input to the phase compensation circuit 50.

位相補償回路50は、HPF49から入力される並進加速度Acc1の位相を整え、積分回路51に入力する。積分回路51は、入力された並進加速度Acc1を積分することにより、シフトブレによる並進速度Vを算出する。積分回路51によって算出されたシフトブレによる並進速度Vは、回転半径算出部52に入力される。   The phase compensation circuit 50 adjusts the phase of the translational acceleration Acc1 input from the HPF 49 and inputs it to the integration circuit 51. The integrating circuit 51 calculates the translational velocity V due to shift blur by integrating the input translational acceleration Acc1. The translational velocity V due to shift blur calculated by the integration circuit 51 is input to the turning radius calculation unit 52.

回転半径算出部52は、位相補償回路44から入力される角速度ωと、積分回路51から入力される並進速度Vに基づいて、撮像装置1に生じた角度θによる回転半径Rを算出する。具体的には、回転半径算出部52は、並進速度Vを角速度ωで割ることによって回転半径Rが算出される(R=V/ω)。回転半径算出部52が算出した回転半径Rは、ブレ量算出部53に入力される。   The turning radius calculation unit 52 calculates the turning radius R based on the angle θ generated in the imaging device 1 based on the angular velocity ω input from the phase compensation circuit 44 and the translation speed V input from the integration circuit 51. Specifically, the turning radius calculation unit 52 calculates the turning radius R by dividing the translation speed V by the angular speed ω (R = V / ω). The rotation radius R calculated by the rotation radius calculation unit 52 is input to the shake amount calculation unit 53.

ブレ量算出部53は、HPF46から角度θを、回転半径算出部52から回転半径Rを取得する。また、ブレ量算出部53は、撮像倍率β及び焦点距離fをCPU37から取得する。ブレ量算出部53は、取得した角度θ、回転半径R、撮像倍率β、焦点距離fから、ブレ量(δ=(1+β)fθ+βRθ)を算出する。このとき、ブレ量算出部53は、加速度センサ15の感度に基づいて回転半径Rとして、入力された回転半径Rの値をゲイン補正した値に補正する。ブレ量δの式の「(1+β)fθ」は角度ブレのブレ量、「βRθ」はシフトブレのブレ量である。アクチュエータ54は、ブレ量算出部53によって算出されたブレ量δが打ち消されるように、ブレ補正レンズ23を駆動する。これにより、手振れ(ブレ量δ)が補正される。   The shake amount calculation unit 53 acquires the angle θ from the HPF 46 and the rotation radius R from the rotation radius calculation unit 52. Further, the blur amount calculation unit 53 acquires the imaging magnification β and the focal length f from the CPU 37. The shake amount calculation unit 53 calculates the shake amount (δ = (1 + β) fθ + βRθ) from the acquired angle θ, rotation radius R, imaging magnification β, and focal length f. At this time, the shake amount calculation unit 53 corrects the value of the input rotation radius R to a gain-corrected value as the rotation radius R based on the sensitivity of the acceleration sensor 15. In the expression of the blur amount δ, “(1 + β) fθ” is the blur amount of angle blur, and “βRθ” is the blur amount of shift blur. The actuator 54 drives the blur correction lens 23 so that the blur amount δ calculated by the blur amount calculation unit 53 is canceled. As a result, camera shake (blur amount δ) is corrected.

次に、重力成分を加味しない第2ブレ補正部13Bによるブレ量の算出について説明する。第1ブレ補正部13Bに入力した角速度信号は、BPF41に入力され、角速度センサ14の出力信号のうち、手振れ補正によって発生する角度ブレの角度θの周波数帯(例えば1〜10Hz程度)の成分がA/D変換器42に入力される。A/D変換器42は、入力された所定周波数帯の角速度信号を、デジタル信号に変換し、HPF43に入力する。   Next, calculation of the shake amount by the second shake correction unit 13B that does not take gravity components into account will be described. The angular velocity signal input to the first blur correction unit 13B is input to the BPF 41, and the component of the frequency band (for example, about 1 to 10 Hz) of the angle blur angle θ generated by the camera shake correction is output from the angular velocity sensor 14. It is input to the A / D converter 42. The A / D converter 42 converts the input angular velocity signal in a predetermined frequency band into a digital signal and inputs the digital signal to the HPF 43.

HPF43は、角速度信号のDC成分を除去する。DC成分をカットされた角速度信号は、位相補償回路44に入力され、位相を整えられた後、角速度ωとして出力される。位相補償回路44が出力する角速度ωは、積分回路45に入力される。積分回路45は、位相補償回路44から入力される角速度ωを積分し、HPF46によってDC成分を除去することによって角度θを算出する。こうして算出される角度θは、ブレ量算出部53に入力される。   The HPF 43 removes the DC component of the angular velocity signal. The angular velocity signal from which the DC component has been cut is input to the phase compensation circuit 44, and after the phase is adjusted, it is output as the angular velocity ω. The angular velocity ω output from the phase compensation circuit 44 is input to the integration circuit 45. The integration circuit 45 integrates the angular velocity ω input from the phase compensation circuit 44 and calculates the angle θ by removing the DC component by the HPF 46. The angle θ thus calculated is input to the shake amount calculation unit 53.

一方、加速度センサ15の出力信号(以下、加速度信号という)は、LPF47に入力されノイズが除去されるとともに、A/D変換器48によってデジタル信号に変換され、位相補償回路50に入力する。   On the other hand, an output signal from the acceleration sensor 15 (hereinafter referred to as an acceleration signal) is input to the LPF 47 to remove noise, and is converted into a digital signal by the A / D converter 48 and input to the phase compensation circuit 50.

位相補償回路50は、A/D変換機48から入力される並進加速度Acc1の位相を整え、積分回路51に入力する。積分回路51は、入力された並進加速度Acc1を積分することにより、シフトブレによる並進速度Vを算出する。積分回路51によって算出されたシフトブレによる並進速度Vは、ブレ量算出部53に入力される。   The phase compensation circuit 50 adjusts the phase of the translational acceleration Acc1 input from the A / D converter 48 and inputs it to the integration circuit 51. The integrating circuit 51 calculates the translational velocity V due to shift blur by integrating the input translational acceleration Acc1. The translational speed V due to shift blur calculated by the integration circuit 51 is input to the blur amount calculation unit 53.

ブレ量算出部53は、HPF46から角度θを、積分回路51からシフトブレの並進速度Vを取得する。また、ブレ量算出部53は、撮像倍率β及び焦点距離fをCPU37から取得する。ブレ量算出部53は、取得した角度θ、並進ブレ量Y、撮像倍率β、焦点距離fから、ブレ量(δ=(1+β)fθ+βY)を算出する。ブレ量δの式の「(1+β)fθ」は角度ブレのブレ量、「βRθ」はシフトブレのブレ量である。アクチュエータ54は、ブレ量算出部53によって算出されたブレ量δが打ち消されるように、ブレ補正レンズ23を駆動する。これにより、手振れ(ブレ量δ)が補正される。   The shake amount calculation unit 53 acquires the angle θ from the HPF 46, and the shift blur translation speed V from the integration circuit 51. Further, the blur amount calculation unit 53 acquires the imaging magnification β and the focal length f from the CPU 37. The shake amount calculation unit 53 calculates a shake amount (δ = (1 + β) fθ + βY) from the acquired angle θ, translational shake amount Y, imaging magnification β, and focal length f. In the expression of the blur amount δ, “(1 + β) fθ” is the blur amount of angle blur, and “βRθ” is the blur amount of shift blur. The actuator 54 drives the blur correction lens 23 so that the blur amount δ calculated by the blur amount calculation unit 53 is canceled. As a result, camera shake (blur amount δ) is corrected.

上述のように構成される撮像装置1は、回転半径算出部52によって算出された回転半径Rを用いて、ブレ量算出部53は重力成分が加味されたブレ量を算出する。そして撮像装置1は、撮像装置1の姿勢によらずに、より正確に手振れを補正することができる。   The imaging device 1 configured as described above uses the rotation radius R calculated by the rotation radius calculation unit 52, and the blur amount calculation unit 53 calculates the blur amount with the gravitational component added. The imaging apparatus 1 can correct camera shake more accurately regardless of the posture of the imaging apparatus 1.

ここで、本実施形態に係る撮像装置1は、撮影モードに設定されている間に、所定時間経過毎にブレ補正処理プログラムを実行する。そこで、まず、図6を参照して、ブレ補正処理プログラムを実行する際の撮像装置1の作用を説明する。なお、図6は、撮影モードに設定された際に、CPU37により実行されるブレ補正処理プログラムの処理の流れを示すフローチャートであり、当該プログラムはメモリ35に予め記憶されている。なお、ブレ補正処理プログラムは、メモリカード等の記録媒体に記憶されていて、当該記録媒体からメモリ35に記憶されることによりメモリ35にインストールされても良い。   Here, the imaging apparatus 1 according to the present embodiment executes the shake correction processing program every elapse of a predetermined time while the imaging mode is set. First, the operation of the imaging apparatus 1 when executing the shake correction processing program will be described with reference to FIG. FIG. 6 is a flowchart showing the flow of processing of the shake correction processing program executed by the CPU 37 when the shooting mode is set, and the program is stored in the memory 35 in advance. The blur correction processing program may be stored in a recording medium such as a memory card, and installed in the memory 35 by being stored in the memory 35 from the recording medium.

始めに、ステップS101において、CPU37は、撮像装置1がマクロモードに設定されているか否かを判定する。マクロモードのオン/オフ状態は、ユーザにより操作部6を介して予め設定され、予めメモリ35に記憶されている。   First, in step S101, the CPU 37 determines whether or not the imaging device 1 is set to the macro mode. The on / off state of the macro mode is preset by the user via the operation unit 6 and stored in the memory 35 in advance.

ステップS101においてマクロモードに設定されていないと判定された場合は、ステップS103において、CPU37は、倍率が0.2以上であるか否かを判定する。この際の倍率は、被写体の実物と同一の大きさを1とした場合の、撮影画像上の被写体の大きさの相対値である。   If it is determined in step S101 that the macro mode is not set, in step S103, the CPU 37 determines whether or not the magnification is 0.2 or more. The magnification at this time is a relative value of the size of the subject on the photographed image when the same size as the actual size of the subject is 1.

ステップS101においてマクロモードに設定されていると判定された場合、及び、ステップS103において倍率が0.2倍以上であると判定された場合は、手振れによる撮影画像のブレ量が大きいため、撮像装置1のX方向及びY方向においてブレ量の算出に重力成分を加味することが望ましく、ステップS105において、CPU37は、第1ブレ補正部13Aにより、重力成分を加味してX方向の手振れ補正を行う。また、ステップS107において、CPU37は、第1ブレ補正部13Aにより、重力成分を加味してY方向の手振れ補正を行い、ブレ補正処理プログラムを終了する。   If it is determined in step S101 that the macro mode is set, and if it is determined in step S103 that the magnification is 0.2 or more, the amount of blurring of the captured image due to camera shake is large. It is desirable to add a gravity component to the calculation of the shake amount in the X direction and the Y direction of 1. In step S105, the CPU 37 performs shake correction in the X direction by adding the gravity component by the first shake correction unit 13A. . In step S107, the CPU 37 performs shake correction in the Y direction by adding the gravity component to the first shake correction unit 13A, and ends the shake correction processing program.

ステップS105において倍率が0.2倍未満であると判定された場合は、ステップS109において、CPU37は、撮像装置1の姿勢の情報を取得する。この際、CPU37は、加速度信号に基づいて、撮像装置1の姿勢を判定すると良い。   If it is determined in step S105 that the magnification is less than 0.2, in step S109, the CPU 37 acquires information on the posture of the imaging device 1. At this time, the CPU 37 may determine the posture of the imaging device 1 based on the acceleration signal.

ステップS111において、CPU37は、撮像装置1の姿勢が横向きであるか否かを判定する。この際、CPU37は、撮像装置1のX方向が重力方向に対して垂直であった場合に、撮像装置1の姿勢が横向きであると判定する。   In step S <b> 111, the CPU 37 determines whether or not the orientation of the imaging device 1 is landscape. At this time, the CPU 37 determines that the orientation of the imaging device 1 is landscape when the X direction of the imaging device 1 is perpendicular to the direction of gravity.

ステップS111において撮像装置1の姿勢が横向きであると判定された場合は、ステップS113において、CPU37は、第2ブレ補正部13Bにより、撮像装置1のX方向は水平方向であるため、重力成分を加味せずX方向の手振れ補正を行う。また、ステップS115において、CPU37は、第1ブレ補正部13Aにより、撮像装置1のY方向は重力方向であるため、重力成分を加味してY方向の手振れ補正を行い、ブレ補正処理プログラムを終了する。   If it is determined in step S111 that the orientation of the imaging device 1 is horizontal, in step S113, the CPU 37 causes the second shake correction unit 13B to determine the gravity component because the X direction of the imaging device 1 is the horizontal direction. The camera shake correction in the X direction is performed without consideration. In step S115, since the Y direction of the imaging apparatus 1 is the gravity direction, the CPU 37 corrects the camera shake in the Y direction by adding the gravity component, and ends the shake correction processing program. To do.

ステップS111において撮像装置1の姿勢が横向きでないと判定された場合は、ステップS117において、CPU37は、ステップS123において撮像装置1の姿勢が縦向きであるか否かを判定する。この際、CPU37は、撮像装置1のY方向が重力方向に一致した場合に、撮像装置1の姿勢が縦向きであると判定する。   If it is determined in step S111 that the orientation of the imaging device 1 is not horizontal, in step S117, the CPU 37 determines whether the orientation of the imaging device 1 is vertical in step S123. At this time, the CPU 37 determines that the orientation of the imaging device 1 is vertical when the Y direction of the imaging device 1 matches the gravity direction.

ステップS117において撮像装置1が縦向きであると判定された場合は、ステップS119において、CPU37は、撮像装置1のX方向は重力方向であるため、第1ブレ補正部13Aにより、重力成分を加味してX方向の手振れ補正を行う。また、ステップS121において、CPU37は、撮像装置1のY方向は水平方向であるため、第2ブレ補正部13Bにより、重力成分を加味せずY方向の手振れ補正を行い、ブレ補正処理プログラムを終了する。   When it is determined in step S117 that the imaging device 1 is in the vertical orientation, in step S119, the CPU 37 adds the gravity component to the first shake correction unit 13A because the X direction of the imaging device 1 is the gravity direction. Then, camera shake correction in the X direction is performed. In step S121, since the Y direction of the imaging device 1 is the horizontal direction, the CPU 37 performs hand shake correction in the Y direction without adding the gravitational component by the second shake correction unit 13B, and ends the shake correction processing program. To do.

ステップS117において撮像装置1の姿勢が縦向きでないと判定された場合、ステップS123において、CPU37は、撮像装置1の姿勢が水平であるか否かを判定する。この際、CPU37は、撮像装置1のXY平面の法線方向が重力方向に一致した場合に、撮像装置1の姿勢が水平であると判定する。   If it is determined in step S117 that the orientation of the imaging device 1 is not vertical, in step S123, the CPU 37 determines whether the orientation of the imaging device 1 is horizontal. At this time, the CPU 37 determines that the orientation of the imaging device 1 is horizontal when the normal direction of the XY plane of the imaging device 1 matches the gravity direction.

ステップS123において撮像装置1の姿勢が水平であると判定された場合、ステップS125において、CPU37は、撮像装置1のX方向は水平方向であるため、第2ブレ補正部13Bにより、重力成分を加味せずX方向の手振れ補正を行う。また、ステップS127において、CPU37は、同様に撮像装置1のY方向も水平方向であるため、第2ブレ補正部13Bにより、重力成分を加味せずY方向の手振れ補正を行い、ブレ補正処理プログラムを終了する。   When it is determined in step S123 that the orientation of the imaging device 1 is horizontal, in step S125, the CPU 37 adds the gravity component to the second shake correction unit 13B because the X direction of the imaging device 1 is the horizontal direction. Without camera shake correction in the X direction. In step S127, since the Y direction of the imaging apparatus 1 is also the horizontal direction, the CPU 37 performs camera shake correction in the Y direction without adding the gravitational component by the second shake correction unit 13B. Exit.

ステップS123において撮像装置1の姿勢が水平でないと判定された場合、撮像装置1の姿勢が水平方向に対して斜め向きであることが考えられる。そこで、ステップS128において、CPU37は、HPF49において使用されるカットオフ周波数を、加速度信号から想定される撮像装置1の撮像方向の、水平方向に対する傾斜角度に基づいて調整する。   When it is determined in step S123 that the orientation of the imaging device 1 is not horizontal, it is conceivable that the orientation of the imaging device 1 is oblique with respect to the horizontal direction. Therefore, in step S128, the CPU 37 adjusts the cutoff frequency used in the HPF 49 based on the inclination angle of the imaging direction of the imaging device 1 assumed from the acceleration signal with respect to the horizontal direction.

そして、ステップS129において、CPU37は、第1ブレ補正部13Aにより、HPF49におけるオフセット値を変更した上でX方向の手振れ補正を行う。また、ステップS131において、CPU37は、第1ブレ補正部13Aにより、HPF49におけるオフセット値を変更した上でX方向の手振れ補正を行い、ブレ補正処理プログラムを終了する。   In step S129, the CPU 37 corrects the camera shake in the X direction by changing the offset value in the HPF 49 by the first blur correction unit 13A. In step S131, the CPU 37 changes the offset value in the HPF 49 by using the first shake correction unit 13A, performs camera shake correction in the X direction, and ends the shake correction processing program.

このようにして本実施形態に係る撮像装置1は、装置本体の姿勢を判定し、検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量を、判定された姿勢に応じて、手振れ補正を行う重力の影響の度合いに応じた重力成分を調整して算出し、算出されたブレ量に基づいてブレを補正する。これにより、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   In this manner, the imaging apparatus 1 according to the present embodiment determines the attitude of the apparatus body, and based on the detected angular velocity and acceleration, the angle blur that rotates the photographing optical axis and the shift blur that translates the photographing optical axis. Is calculated by adjusting the gravitational component according to the degree of the gravitational effect for which the camera shake correction is performed according to the determined posture, and the blur is corrected based on the calculated blur amount. Thereby, there is an effect that it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

〔第2実施形態〕
以下、第2実施形態に係る撮像装置1Aについて添付図面を参照して詳細に説明する。なお、第2実施形態に係る撮像装置1Aは、第1実施形態に係る撮像装置1と同様に、図1及び図2に示す構成を有しているため、当該構成に関して重複する説明を省略する。
[Second Embodiment]
Hereinafter, an imaging apparatus 1A according to the second embodiment will be described in detail with reference to the accompanying drawings. In addition, since the imaging apparatus 1A according to the second embodiment has the configuration illustrated in FIGS. 1 and 2, similarly to the imaging apparatus 1 according to the first embodiment, redundant description regarding the configuration is omitted. .

また、図7は、本実施形態に係る撮像装置1Aにおけるブレ補正処理に関連する要部の構成を示すブロック図である。なお、図5と同一の構成には同一の符号を付して、その説明を省略する。   FIG. 7 is a block diagram illustrating a configuration of a main part related to the blur correction process in the imaging apparatus 1A according to the present embodiment. In addition, the same code | symbol is attached | subjected to the structure same as FIG. 5, and the description is abbreviate | omitted.

図7に示すように、撮像装置1Aは、タイマー部55を備えている点で、第1実施形態に係る撮像装置1と異なっている。タイマー部55は、切替部40から開始指示を受信するとタイマー時間の計時を開始し、切替部40からリセット指示を受信するとタイマー時間を0に設定し直して再び計時を開始するとともに、切替部40からタイマー時間要求指示を受信すると切替部40に対して計時中のタイマー時間を送信する。   As illustrated in FIG. 7, the imaging device 1A is different from the imaging device 1 according to the first embodiment in that the imaging device 1A includes a timer unit 55. When the timer unit 55 receives a start instruction from the switching unit 40, the timer unit 55 starts measuring the timer time. When the timer unit 55 receives a reset instruction from the switching unit 40, the timer unit 55 resets the timer time to 0 and starts counting again. When the timer time request instruction is received, the timer time being measured is transmitted to the switching unit 40.

次に、本実施形態に係る撮像装置1Aにおけるブレ補正処理のルーチンを示すブレ補正処理プログラムに基づいて説明する。撮像装置1Aは、撮影モードに設定されている間に、所定時間経過毎にブレ補正処理プログラムを実行する。   Next, a description will be given based on a shake correction processing program showing a routine of shake correction processing in the imaging apparatus 1A according to the present embodiment. The imaging apparatus 1A executes the blur correction processing program every predetermined time while the imaging mode is set.

図8を参照して、ブレ補正処理プログラムを実行する際のCPU37の実行処理を説明する。なお、図8は、撮像装置1AのCPU37により実行されるブレ補正処理プログラムの処理の流れを示すフローチャートであり、当該ブレ補正処理プログラムもメモリ35に予め記憶されている。なお、ブレ補正処理プログラムは、メモリカード等の記録媒体に記憶されていて、当該記録媒体からメモリ35に記憶されることによりメモリ35にインストールされても良い。   With reference to FIG. 8, the execution process of the CPU 37 when executing the shake correction process program will be described. FIG. 8 is a flowchart showing the flow of processing of the shake correction processing program executed by the CPU 37 of the imaging apparatus 1A. The shake correction processing program is also stored in the memory 35 in advance. The blur correction processing program may be stored in a recording medium such as a memory card, and installed in the memory 35 by being stored in the memory 35 from the recording medium.

始めに、ステップS201において、CPU37は、切替部40にタイマー部55に対して開始指示を送信させることでタイマーを起動する。このタイマーのタイマー時間により、撮像装置1Aの姿勢が一定時間継続されているか否かが判定される。   First, in step S201, the CPU 37 starts a timer by causing the switching unit 40 to transmit a start instruction to the timer unit 55. Based on the timer time of this timer, it is determined whether or not the posture of the imaging apparatus 1A is maintained for a certain period of time.

次に、ステップS203において、CPU37は、ステップS101と同様の手順で、撮像装置1Aがマクロモードに設定されているか否かを判定する。   Next, in step S203, the CPU 37 determines whether or not the imaging apparatus 1A is set to the macro mode in the same procedure as in step S101.

ステップS203においてマクロモードに設定されていないと判定された場合は、ステップS205において、CPU37は、ステップS103と同様の手順で、倍率が0.2以上であるか否かを判定する。   If it is determined in step S203 that the macro mode is not set, in step S205, the CPU 37 determines whether the magnification is 0.2 or more in the same procedure as in step S103.

ステップS203においてマクロモードに設定されていると判定された場合、または、ステップS205において倍率が0.2倍以上であると判定された場合は、手振れによる撮影画像のブレ量が大きいため、撮像装置1Aのx方向及びy方向においてブレ量の算出に重力成分を加味することが望ましく、ステップS207において、CPU37は、ステップS207と同様の手順で、x方向に第1ブレ補正部13Aを設定することにより、第1ブレ補正部13Aにより、重力成分を加味してx方向の手振れ補正を行う。また、ステップS209において、CPU37は、y方向に第1ブレ補正部13Aを設定することにより、第1ブレ補正部13Aにより、重力成分を加味してy方向の手振れ補正を行い、ブレ補正処理プログラムを終了する。   If it is determined in step S203 that the macro mode is set, or if it is determined in step S205 that the magnification is 0.2 or more, the amount of blurring of the captured image due to camera shake is large. In the x direction and the y direction of 1A, it is desirable to add a gravity component to the calculation of the shake amount. In step S207, the CPU 37 sets the first shake correction unit 13A in the x direction in the same procedure as in step S207. Thus, the first shake correction unit 13A performs camera shake correction in the x direction in consideration of the gravity component. In step S209, the CPU 37 sets the first shake correction unit 13A in the y direction, and the first shake correction unit 13A performs shake correction in the y direction by taking the gravity component into account. Exit.

ステップS205において倍率が0.2倍未満であると判定された場合は、ステップS211において、CPU37は、ステップS109の手順と同様にして、撮像装置1Aの姿勢の情報を取得して、メモリ35に記憶する。   If it is determined in step S205 that the magnification is less than 0.2, in step S211, the CPU 37 acquires the posture information of the imaging apparatus 1A and stores it in the memory 35 in the same manner as in step S109. Remember.

ステップS213において、CPU37は、撮像装置1Aの姿勢が変更されたか否かを判定する。この際、CPU37、前回ステップS211において記憶された撮像装置1Aの姿勢と、今回ステップS207において記憶された撮像装置1Aの姿勢とを比較することで、姿勢が変更されたか否かを判定する。   In step S213, the CPU 37 determines whether or not the attitude of the imaging device 1A has been changed. At this time, the CPU 37 determines whether or not the orientation has been changed by comparing the orientation of the imaging device 1A stored in the previous step S211 with the orientation of the imaging device 1A stored in the current step S207.

ステップS213において撮像装置1Aの姿勢が変更されたと判定された場合は、ステップS215において、CPU37は、変更後の新たな姿勢が一定時間継続されることを判定するために、切替部40にタイマー部55に対してリセット指示を送信させることでタイマーを再起動して、ステップS203に移行する。   If it is determined in step S213 that the posture of the imaging apparatus 1A has been changed, in step S215, the CPU 37 determines whether the new posture after the change is continued for a predetermined time, The timer is restarted by transmitting a reset instruction to 55, and the process proceeds to step S203.

ステップS213において撮像装置1Aの姿勢が変更されていないと判定された場合は、ステップS217において、CPU37は、タイマー時間が所定値以上であるか否かを判定する。この際、CPU37は、切替部40にタイマー部55に対してタイマー時間要求指示を送信させてタイマー部55からタイマー時間を取得させることでタイマー時間を取得する。そして、CPU37は、取得したタイマー時間が所定値以上であるか否かを判定する。この所定値を示す情報は、予め設定されてメモリ35に記憶されている。   If it is determined in step S213 that the orientation of the imaging device 1A has not been changed, in step S217, the CPU 37 determines whether or not the timer time is equal to or greater than a predetermined value. At this time, the CPU 37 acquires the timer time by causing the switching unit 40 to transmit a timer time request instruction to the timer unit 55 and acquiring the timer time from the timer unit 55. Then, the CPU 37 determines whether or not the acquired timer time is a predetermined value or more. Information indicating the predetermined value is set in advance and stored in the memory 35.

ステップS217においてタイマー時間が所定値未満であると判定された場合は、CPU37は、撮像装置1Aの姿勢が一定時間継続していないものとし、ステップS203に移行する。   If it is determined in step S217 that the timer time is less than the predetermined value, the CPU 37 assumes that the posture of the imaging device 1A has not continued for a certain period of time, and proceeds to step S203.

ステップS217においてタイマー時間が所定値以上であると判定された場合は、CPU37は、撮像装置1Aの姿勢が一定時間継続しているものとして、x方向及びy方向の各々においてブレ補正処理を行う。すなわち、CPU37は、ステップS219乃至S241の処理(ステップS111乃至S131の各々の処理に対応)を行い、ブレ補正処理プログラムを終了する。   If it is determined in step S217 that the timer time is equal to or greater than the predetermined value, the CPU 37 performs blur correction processing in each of the x direction and the y direction, assuming that the attitude of the imaging device 1A has continued for a certain period of time. That is, the CPU 37 performs steps S219 to S241 (corresponding to steps S111 to S131) and ends the shake correction processing program.

このようにして本実施形態に係る撮像装置1Aは、装置本体の姿勢を判定し、検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量を、判定された姿勢に応じて、手振れ補正を行う重力の影響の度合いに応じた重力成分を調整して算出し、算出されたブレ量に基づいてブレを補正する。これにより、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   In this way, the imaging apparatus 1A according to the present embodiment determines the attitude of the apparatus body, and based on the detected angular velocity and acceleration, the angle blur that rotates the photographing optical axis and the shift blur that translates the photographing optical axis. Is calculated by adjusting the gravitational component according to the degree of the gravitational effect for which the camera shake correction is performed according to the determined posture, and the blur is corrected based on the calculated blur amount. Thereby, there is an effect that it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

また、本実施形態に係る撮像装置1Aは、装置本体の姿勢が予め定められた時間以上継続した場合にのみ、当該姿勢であると判定することで、装置本体の姿勢をより精密に考慮した上で、重力成分の影響を適切に判断して手振れ補正の補正精度を向上させることができる、という効果を奏する。   In addition, the imaging apparatus 1A according to the present embodiment considers the attitude of the apparatus main body more precisely by determining that the attitude of the apparatus main body is the attitude only when the attitude of the apparatus main body continues for a predetermined time or more. Thus, it is possible to appropriately determine the influence of the gravity component and improve the correction accuracy of the camera shake correction.

なお、本実施形態に係る撮像装置1は、撮像光学系3にブレ補正レンズ23を備え、ブレ補正レンズ23を光軸Lに垂直な面内で移動させることにより手振れの補正を行う例を説明したが、これに限らない。例えば、手振れの補正は、撮像光学系3の光軸Lに対して撮像素子12を移動させることによっても行うことができる。本実施形態に係る撮像装置1は、このように撮像素子12を移動させて手振れ補正を行う撮像装置にも好適である。   Note that the imaging apparatus 1 according to the present embodiment describes an example in which the imaging optical system 3 includes the shake correction lens 23 and the shake correction lens 23 is moved in a plane perpendicular to the optical axis L to correct camera shake. However, it is not limited to this. For example, camera shake correction can also be performed by moving the image sensor 12 with respect to the optical axis L of the imaging optical system 3. The imaging apparatus 1 according to the present embodiment is also suitable for an imaging apparatus that performs camera shake correction by moving the imaging element 12 in this way.

また、本実施形態では、撮像素子12がCCD型の撮像素子である例を説明したが、これに限らず、CMOS型の撮像素子を用いても良い。   In the present embodiment, the example in which the image sensor 12 is a CCD image sensor has been described. However, the present invention is not limited to this, and a CMOS image sensor may be used.

1…撮像装置,2…筐体,3…光学撮像系,4…ストロボ,5…表示部,6…操作部,6A…メニュー操作部,6B…レリーズボタン,6C…電源ボタン,6D…モード切替ボタン,12…撮像素子,13A、13B…ブレ補正部,14…角速度センサ,15…加速度センサ,16…AF検出回路,17…AE/AWB検出回路,21…レンズ,22…絞り,23…ブレ補正レンズ,31…AFE,32,42、52 …A/D変換機,33…DSP,34…画像処理部,35…メモリ,36…表示部,37…CPU,38…操作部,40…切替部,41…BPF,42…A/D変換機,43、46、49…HPF,44…位相補償回路,45…積分回路,47…LPF,48、50…位相補償回路,57、51…積分回路,52…回転半径算出部,53…ブレ量算出部,54…アクチュエータ。   DESCRIPTION OF SYMBOLS 1 ... Imaging device, 2 ... Housing | casing, 3 ... Optical imaging system, 4 ... Strobe, 5 ... Display part, 6 ... Operation part, 6A ... Menu operation part, 6B ... Release button, 6C ... Power button, 6D ... Mode switching Buttons 12, imaging devices 13 A, 13 B blur correction units 14 angular velocity sensors 15 acceleration sensors 16 AF detection circuits 17 AE / AWB detection circuits 21 lenses 22 apertures 23 blurs Correction lens, 31 ... AFE, 32, 42, 52 ... A / D converter, 33 ... DSP, 34 ... Image processing unit, 35 ... Memory, 36 ... Display unit, 37 ... CPU, 38 ... Operating unit, 40 ... Switch 41, BPF, 42, A / D converter, 43, 46, 49 ... HPF, 44 ... phase compensation circuit, 45 ... integration circuit, 47 ... LPF, 48, 50 ... phase compensation circuit, 57, 51 ... integration Circuit, 52 ... turning radius Out portion, 53 ... shake amount calculation unit, 54 ... actuator.

Claims (9)

被写体像を撮像する撮像素子と、
装置本体における角速度及び加速度を検出する検出手段と、
装置本体の姿勢を判定する判定手段と、
前記検出手段によって検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量を、前記判定手段によって判定された姿勢に応じて、手振れ補正を行う方向の重力の影響の度合いに応じて重力成分を調整して算出する算出手段と、
前記算出手段によって算出されたブレ量に基づいて手振れを補正する補正手段と、
を備えた撮像装置。
An image sensor for capturing a subject image;
Detecting means for detecting angular velocity and acceleration in the apparatus body;
Determination means for determining the posture of the apparatus body;
Based on the angular velocity and acceleration detected by the detection means, a blur amount including an angular blur that rotates the photographing optical axis and a shift blur that translates the photographing optical axis is determined according to the posture determined by the determination means. Calculating means for adjusting and calculating a gravity component according to the degree of the influence of gravity in the direction in which camera shake correction is performed;
Correction means for correcting camera shake based on the shake amount calculated by the calculation means;
An imaging apparatus comprising:
前記判定手段は、装置本体の前記撮像素子の撮像方向を中心軸とした横方向の傾斜方向が水平方向を含む予め定められた範囲内にある場合に横撮り姿勢であると判定し、当該傾斜方向が重力方向を含む予め定められた範囲内にある場合に縦撮り姿勢であると判定し、
前記算出手段は、前記判定手段により前記横撮り姿勢であると判定された場合、前記横方向に対する前記重力成分を調整せずに前記ブレ量を算出するとともに、縦方向に対する前記重力成分を調整して前記ブレ量を算出し、前記判定手段により前記縦撮り姿勢であると判定された場合、前記横方向に対する前記重力成分を調整して前記ブレ量を算出するとともに、前記縦方向に対する前記重力成分を調整せずに前記ブレ量を算出する
請求項1記載の撮像装置。
The determination means determines that the horizontal shooting posture is in the horizontal shooting direction when the horizontal inclination direction centering on the imaging direction of the imaging element of the apparatus main body is within a predetermined range including the horizontal direction, and the inclination When the direction is within a predetermined range including the direction of gravity, it is determined that the posture is vertical shooting,
The calculating means calculates the blur amount without adjusting the gravitational component with respect to the horizontal direction and adjusts the gravitational component with respect to the vertical direction when the determining means determines that the posture is horizontal shooting. And calculating the shake amount by adjusting the gravity component with respect to the horizontal direction, and calculating the blur amount with respect to the vertical direction. The imaging apparatus according to claim 1, wherein the blur amount is calculated without adjusting the image.
前記判定手段は、前記撮像方向が重力方向を含む予め定められた範囲内にある場合に上下撮り姿勢であると更に判定し、
前記算出手段は、前記判定手段により前記上下撮り姿勢であると判定された場合、前記横方向及び前記縦方向の重力成分を調整せずに前記ブレ量を算出する
請求項2記載の撮像装置。
The determination means further determines that the shooting direction is a vertical shooting posture when the imaging direction is within a predetermined range including a gravity direction,
The imaging device according to claim 2, wherein the calculating unit calculates the blur amount without adjusting the gravity component in the horizontal direction and the vertical direction when the determination unit determines that the posture is the vertical shooting posture.
前記算出手段は、前記撮像素子により撮像を行う際の撮像倍率が予め定められた閾値未満であった場合、前記横方向及び前記縦方向の重力成分を調整せずに前記ブレ量を算出する
請求項2または3のいずれか1項記載の撮像装置。
The calculation unit calculates the blur amount without adjusting the gravity component in the horizontal direction and the vertical direction when an imaging magnification at the time of imaging with the imaging element is less than a predetermined threshold. Item 4. The imaging device according to any one of Items 2 and 3.
前記算出手段は、マクロ撮影モードに設定されている場合、前記横方向及び前記縦方向の各々の重力成分を調整して前記ブレ量を算出する
請求項2乃至4のいずれか1項記載の撮像装置。
5. The imaging according to claim 2, wherein, when the macro imaging mode is set, the calculation unit calculates the blur amount by adjusting the gravity components in the horizontal direction and the vertical direction. 6. apparatus.
前記判定手段は、装置本体の姿勢が、予め定められた時間以上継続した場合に、当該姿勢であると判定する
請求項1乃至5のいずれか1項記載の撮像装置。
The imaging device according to any one of claims 1 to 5, wherein the determination unit determines that the posture of the apparatus main body is the posture when the posture of the device main body continues for a predetermined time or more.
前記補正手段は、駆動されることにより装置本体の手振れブレを補正するブレ補正レンズを駆動することにより、前記手振れを補正する
請求項1乃至6のいずれか1項記載の撮像装置。
The imaging apparatus according to claim 1, wherein the correction unit corrects the camera shake by driving a camera shake correction lens that corrects a camera shake of the apparatus main body when driven.
被写体像を撮像する撮像素子と、装置本体における角速度及び加速度を検出する検出手段とを備えたコンピュータにおいて実行されるプログラムであって、
前記コンピュータを、
装置本体の姿勢を判定する判定手段と、
前記検出手段によって検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量を、前記判定手段により判定された姿勢に応じて、手振れ補正を行う方向の重力の影響の度合いに応じて重力成分を調整して算出する算出手段と、
前記算出手段によって算出されたブレ量に基づいて手振れを補正する補正手段と、
として機能させるためのプログラム。
A program executed in a computer including an image sensor that captures a subject image and a detection unit that detects angular velocity and acceleration in the apparatus body,
The computer,
Determination means for determining the posture of the apparatus body;
Based on the angular velocity and acceleration detected by the detection means, a blur amount including an angular blur that rotates the photographing optical axis and a shift blur that translates the photographing optical axis is determined according to the posture determined by the determination means. Calculating means for adjusting and calculating a gravity component according to the degree of the influence of gravity in the direction in which camera shake correction is performed;
Correction means for correcting camera shake based on the shake amount calculated by the calculation means;
Program to function as.
被写体像を撮像する撮像素子と、
装置本体における角速度及び加速度を検出する検出手段とを備えた撮像装置における手振れ補正方法であって、
装置本体の姿勢を判定する判定ステップと、
前記検出手段によって検出された前記角速度及び加速度に基づいて、撮影光軸を回転させる角度ブレ及び撮影光軸を平行移動させるシフトブレが含まれるブレ量を、前記判定ステップにより判定された姿勢に応じて、手振れ補正を行う方向の重力の影響の度合いに応じて重力成分を調整して算出する算出ステップと、
前記算出ステップによって算出されたブレ量に基づいて手振れを補正する補正ステップと、
を行う手振れ補正方法。
An image sensor for capturing a subject image;
A camera shake correction method in an imaging apparatus including a detection unit that detects angular velocity and acceleration in the apparatus body,
A determination step for determining the posture of the apparatus body;
Based on the angular velocity and acceleration detected by the detection means, the amount of blur including angular blur that rotates the photographing optical axis and shift blur that translates the photographing optical axis is determined according to the posture determined by the determination step. A calculation step of adjusting and calculating a gravity component according to the degree of the influence of gravity in the direction in which camera shake correction is performed;
A correction step of correcting camera shake based on the blur amount calculated by the calculation step;
A camera shake correction method.
JP2011146398A 2011-06-30 2011-06-30 Imaging apparatus, program and shake correction method Withdrawn JP2013015571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011146398A JP2013015571A (en) 2011-06-30 2011-06-30 Imaging apparatus, program and shake correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011146398A JP2013015571A (en) 2011-06-30 2011-06-30 Imaging apparatus, program and shake correction method

Publications (1)

Publication Number Publication Date
JP2013015571A true JP2013015571A (en) 2013-01-24

Family

ID=47688331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011146398A Withdrawn JP2013015571A (en) 2011-06-30 2011-06-30 Imaging apparatus, program and shake correction method

Country Status (1)

Country Link
JP (1) JP2013015571A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018143006A (en) * 2018-06-07 2018-09-13 株式会社ニコン Lens unit
JP2019165344A (en) * 2018-03-20 2019-09-26 オリンパス株式会社 Shake correcting apparatus and shake correcting method
JP2021179617A (en) * 2017-06-27 2021-11-18 ローム株式会社 Imaging device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021179617A (en) * 2017-06-27 2021-11-18 ローム株式会社 Imaging device
JP2019165344A (en) * 2018-03-20 2019-09-26 オリンパス株式会社 Shake correcting apparatus and shake correcting method
JP7017961B2 (en) 2018-03-20 2022-02-09 Omデジタルソリューションズ株式会社 Blur correction device and blur correction method
JP2018143006A (en) * 2018-06-07 2018-09-13 株式会社ニコン Lens unit

Similar Documents

Publication Publication Date Title
JP6362556B2 (en) Control device, imaging device, control method, program, and storage medium
JP5519077B2 (en) Imaging device
US9170429B2 (en) Optical apparatus and image capturing apparatus, and method of controlling the same and storage medium
JP6341691B2 (en) Image shake correction apparatus, control method therefor, optical apparatus, and imaging apparatus
JP2010025962A (en) Image stabilization control apparatus and image capturing apparatus
JP2010025961A (en) Image stabilization control apparatus and image capturing apparatus
JP2007171786A (en) Vibration-proof control device and imaging apparatus
JP2010025963A (en) Image stabilization control apparatus and image capturing apparatus
JP2012058545A (en) Imaging device
JP2010054883A (en) Vibration-proofing control device and imaging apparatus
JP2012128356A (en) Shake correction device and optical apparatus
JP5460135B2 (en) Optical equipment
JP2012252213A (en) Imaging apparatus, program, and shake correction method of imaging apparatus
JP2013015571A (en) Imaging apparatus, program and shake correction method
JP2012247544A (en) Imaging device, program, and shake correction method of imaging device
JP5235542B2 (en) Image blur correction apparatus or lens apparatus including the same, image pickup apparatus, and image blur correction apparatus control method
JP2012163824A (en) Shake correction apparatus and optical device
JP2014191017A (en) Imaging device and method for controlling the same
EP2031440A1 (en) Image stabilization apparatus for camera
JP6024031B2 (en) Blur correction device and optical apparatus
JP2019216374A (en) Imaging apparatus and control method therefor
US10771701B2 (en) Blur detection device, imaging device, lens device, imaging device main body, blur detection method, and blur detection program
JP2012237884A (en) Blur correction device and optical instrument
JP2012159796A (en) Focus adjustment device and imaging apparatus
JP5207861B2 (en) Image shake correction apparatus, image pickup apparatus including the same, optical apparatus, and image shake correction apparatus control method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140902