[go: up one dir, main page]

JP2010277033A - Imaging apparatus and shake correction method - Google Patents

Imaging apparatus and shake correction method Download PDF

Info

Publication number
JP2010277033A
JP2010277033A JP2009132013A JP2009132013A JP2010277033A JP 2010277033 A JP2010277033 A JP 2010277033A JP 2009132013 A JP2009132013 A JP 2009132013A JP 2009132013 A JP2009132013 A JP 2009132013A JP 2010277033 A JP2010277033 A JP 2010277033A
Authority
JP
Japan
Prior art keywords
correction
image
unit
shake
captured image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009132013A
Other languages
Japanese (ja)
Inventor
Masahiro Funakoda
昌広 鮒子田
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2009132013A priority Critical patent/JP2010277033A/en
Publication of JP2010277033A publication Critical patent/JP2010277033A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Adjustment Of Camera Lenses (AREA)
  • Studio Devices (AREA)

Abstract

【課題】振れ補正によって光学劣化が生じる場合でも、この光学劣化が補正された撮像画を得られるようにする。
【解決手段】撮像素子21は、レンズ部11により形成された光学像を撮像素子で光電変換して撮像画の画像信号を生成する。振れ検出部42は、振れの検出を行い、検出結果を示す振れ検出信号を生成する。ドライバ12は、レンズ部11と撮像素子21との相対的位置関係を光軸に対して変位することで、撮像素子11の撮像面上に結像される光学像の位置を撮像面上で変位させる。制御部50は、レンズ部11と撮像素子21との相対的位置関係を振れ検出信号に応じて変位させることにより、振れ検出部42で検出される振れによって生じる撮像面上での光学像の振れを補正する。光学劣化補正部25は、振れ補正によって光学劣化を生じた撮像画に対して、この撮像画よりも光学劣化の少ない撮像画を用いて光学劣化の補正を行う。
【選択図】 図1
Even when optical deterioration occurs due to shake correction, a captured image in which the optical deterioration is corrected can be obtained.
An image sensor 21 photoelectrically converts an optical image formed by a lens unit 11 with an image sensor to generate an image signal of a captured image. The shake detection unit 42 detects shake and generates a shake detection signal indicating the detection result. The driver 12 displaces the position of the optical image formed on the imaging surface of the imaging device 11 on the imaging surface by displacing the relative positional relationship between the lens unit 11 and the imaging device 21 with respect to the optical axis. Let The control unit 50 displaces the relative positional relationship between the lens unit 11 and the image sensor 21 according to the shake detection signal, thereby causing the shake of the optical image on the imaging surface caused by the shake detected by the shake detection unit 42. Correct. The optical degradation correction unit 25 corrects optical degradation for a captured image that has undergone optical degradation due to shake correction using a captured image with less optical degradation than the captured image.
[Selection] Figure 1

Description

この発明は、撮像装置と振れ補正方法に関する。詳しくは、光学劣化を生じるような振れ補正が行われても、この光学劣化が補正された撮像画を得られるようにする。   The present invention relates to an imaging apparatus and a shake correction method. Specifically, even if shake correction that causes optical deterioration is performed, a captured image in which the optical deterioration is corrected can be obtained.

近年、撮像装置の小型化、軽量化、光学ズームの高倍率化が進み、その使い勝手が格段に向上している。しかし、小型化、軽量化等が図られたことにより、撮像装置の扱いに習熟していないユーザーでも簡単に操作できることから、手振れを考慮することなく撮像が行われる機会が多くなっている。また、高倍率で撮像を行うと、手振れによる影響が撮像画に顕著に現れて、安定した画像が得られなくなってしまう。   In recent years, downsizing and weight reduction of image pickup apparatuses and high magnification of optical zooms have progressed, and their usability has been greatly improved. However, as a result of the reduction in size and weight, even a user who is not familiar with the handling of the imaging apparatus can easily operate, so there are many opportunities for imaging without considering camera shake. In addition, when imaging is performed at a high magnification, the influence of camera shake appears remarkably in the captured image, and a stable image cannot be obtained.

このため、手振れによる影響を防止できる手振れ補正装置を搭載する撮像装置が実用化されている。例えば特許文献1の発明では、補正レンズを光軸と直交する2方向に動かすことにより、ユーザーによる手振れを補正して、安定な画像を得る方法が提案されている。また、振れ補正では、振れに応じて撮像素子を光軸と直交する方向に動かす方法も用いられている。   For this reason, an imaging apparatus equipped with a camera shake correction apparatus that can prevent the influence of camera shake has been put into practical use. For example, the invention of Patent Document 1 proposes a method of obtaining a stable image by correcting camera shake by a user by moving a correction lens in two directions orthogonal to the optical axis. In shake correction, a method of moving the image sensor in a direction orthogonal to the optical axis according to the shake is also used.

このような振れ補正では、光学劣化の影響で撮像画の画質低下等が顕著とならないように振れ補正の補正角の制限が行われている。例えば、撮像画の解像度は、レンズのMTF(Modulation Transfer Function)特性に依存している。また、レンズの特性から、MTFは画像の中央よりも画面の端部側で劣化する。図23は、振れ補正とMTFの劣化の関係を例示している。例えば振れが生じておらず振れ補正の補正角が「0°」である場合、図23の(A)に示すように、画像の中央でMTFが最も良好な状態とされている。また、レンズは、撮像画の端部でも中央部に対して所定割合(例えば95%)よりもMTFが劣化しないように設計される。さらに、補正角が大きくなり補正レンズや撮像素子が移動されると、MTFが最も良好となる位置が、図23の(B)に示すように画像の中央から移動する。したがって、MTFの劣化を例えば許容範囲内に抑えることができるように、振れ補正の補正角に対して補正角制限範囲が設定される。   In such shake correction, the correction angle of shake correction is limited so that the degradation of the image quality of the captured image is not noticeable due to the effect of optical deterioration. For example, the resolution of the captured image depends on the MTF (Modulation Transfer Function) characteristic of the lens. Also, due to the characteristics of the lens, the MTF deteriorates on the edge side of the screen from the center of the image. FIG. 23 illustrates the relationship between shake correction and MTF degradation. For example, when there is no shake and the correction angle for shake correction is “0 °”, as shown in FIG. 23A, the MTF is in the best state at the center of the image. Further, the lens is designed so that the MTF does not deteriorate more than a predetermined ratio (for example, 95%) with respect to the central portion even at the end of the captured image. Further, when the correction angle is increased and the correction lens and the image sensor are moved, the position where the MTF is the best moves from the center of the image as shown in FIG. Therefore, the correction angle limit range is set with respect to the correction angle for shake correction so that the degradation of the MTF can be suppressed within an allowable range, for example.

特開平4−18515号公報Japanese Patent Laid-Open No. 4-18515

ところで、振れ補正の補正角に対して補正角制限範囲を設けた場合、振れが大きいと補正角が制限されて振れ補正を適切に行うことができない。このため、例えば歩きながら撮像を行ったとき、振れが大きいと振れ補正が行われないことになり、振れのない良好な撮像画を得ることができない。したがって、振れが大きいとき補正角を補正角制限範囲より大きくすれば、歩きながら撮像を行っても振れ補正を行うことができる。しかし、振れ補正の補正角を補正角制限範囲よりも大きくすると、図23の(C)に示すように、MTFの劣化が許容範囲を超えてしまい、撮像画は画質の劣化した画像となってしまう。   By the way, when the correction angle limit range is provided for the correction angle of shake correction, if the shake is large, the correction angle is limited and the shake correction cannot be performed appropriately. For this reason, for example, when imaging is performed while walking, if the shake is large, shake correction is not performed, and a good captured image without shake cannot be obtained. Therefore, if the correction angle is set larger than the correction angle limit range when the shake is large, the shake correction can be performed even when imaging is performed while walking. However, if the correction angle for shake correction is larger than the correction angle limit range, as shown in FIG. 23C, the degradation of the MTF exceeds the allowable range, and the captured image becomes an image with degraded image quality. End up.

そこで、この発明では、振れ補正によって光学劣化が生じる場合でも、この光学劣化が補正された撮像画を得ることができる撮像装置と振れ補正方法を提供することを目的とする。   Therefore, an object of the present invention is to provide an image pickup apparatus and a shake correction method capable of obtaining a picked-up image in which the optical deterioration is corrected even when the optical deterioration is caused by the shake correction.

この発明の第1の側面は、レンズ部により形成された光学像を光電変換して撮像画の画像信号を生成する撮像素子と、振れの検出を行い、検出結果を示す振れ検出信号を生成する振れ検出部と、前記レンズ部と前記撮像素子との相対的位置関係を前記振れ検出信号に応じて変位させることにより、前記振れ検出部で検出される振れによって生じる前記撮像素子の撮像面上での前記光学像の振れを補正する振れ補正制御部と、前記振れ補正によって光学劣化を生じた撮像画に対して、該撮像画よりも光学劣化の少ない撮像画を用いて前記光学劣化の補正を行う光学劣化補正部とを備える撮像装置にある。   According to a first aspect of the present invention, an image sensor that photoelectrically converts an optical image formed by a lens unit to generate an image signal of a captured image, and shake detection are performed, and a shake detection signal that indicates a detection result is generated. On the imaging surface of the image sensor that is caused by the shake detected by the shake detection unit by displacing the relative positional relationship between the shake detection unit, the lens unit, and the image sensor according to the shake detection signal. A shake correction control unit that corrects the shake of the optical image and an image that has undergone optical degradation due to the shake correction, and corrects the optical degradation using a captured image that has less optical degradation than the captured image. And an optical degradation correction unit that performs the imaging.

また、この発明の第2の側面は、振れ検出部において、振れの検出を行い、検出結果を示す振れ検出信号を生成するステップと、振れ補正制御部において、レンズ部と撮像素子との相対的位置関係を前記振れ検出信号に応じて変位させることにより、前記振れ検出部で検出される振れによって生じる前記前記撮像素子の撮像面上での前記光学像の振れを補正するステップと、光学劣化補正部において、前記振れ補正によって光学劣化を生じた撮像画に対して、該撮像画よりも光学劣化の少ない撮像画を用いて前記光学劣化の補正を行うステップとを有する振れ補正方法にある。   According to a second aspect of the present invention, a shake detection unit detects a shake and generates a shake detection signal indicating a detection result, and a shake correction control unit uses a relative relationship between the lens unit and the image sensor. Correcting the shake of the optical image on the imaging surface of the image sensor caused by the shake detected by the shake detection unit by displacing the positional relationship according to the shake detection signal; and optical deterioration correction And a step of correcting the optical deterioration using a captured image with less optical deterioration than the captured image, with respect to the captured image in which the optical deterioration is caused by the shake correction.

この発明においては、レンズ部と撮像素子との相対的位置関係を振れ検出信号に応じて変位させて撮像面上での光学像の振れを補正するとき、撮像画が前記光学劣化の補正対象の画像であるか補正不要の画像であるか判別される。例えば、撮像画の露光期間中にレンズ部と撮像素子との相対的位置関係が制限範囲を超えたとき、光学劣化の補正対象であると判別される。または、相対的位置関係が予め設定した位置関係を超えている期間と超過量に基づいて評価値を求め、該評価値が閾値を超えたとき、光学劣化の補正対象であると判別される。   In this invention, when correcting the shake of the optical image on the image pickup surface by displacing the relative positional relationship between the lens unit and the image pickup device in accordance with the shake detection signal, the picked-up image is the object of correction of the optical degradation. It is determined whether the image is an image or an image that does not require correction. For example, when the relative positional relationship between the lens unit and the image sensor exceeds the limit range during the exposure period of the captured image, it is determined that the optical deterioration correction target is to be determined. Alternatively, an evaluation value is obtained based on a period and an excess amount in which the relative positional relationship exceeds a preset positional relationship, and when the evaluation value exceeds a threshold value, it is determined that the optical degradation correction target is to be obtained.

また、光学劣化の補正が不要と判別された撮像画から補正用画像が抽出される。例えば、補正対象である撮像画の露光期間において、相対的位置関係の変位が最大となる最大時間が露光期間の前半であるとき、補正対象である撮像画よりも前に撮像された補正不要の撮像画から補正用画像が抽出される。また、最大時間が露光期間の後半であるとき、補正対象である撮像画よりも後に撮像された補正不要の撮像画から補正用画像が抽出される。補正対象である撮像画の後に撮像された補正不要の撮像画、あるいは補正対象である撮像画の前または後から補正不要の撮像画を抽出できないときは補正不要画記憶部に記憶されている補正不要の撮像画から補正用画像が抽出される。   In addition, a correction image is extracted from a captured image that is determined not to require correction of optical deterioration. For example, in the exposure period of the captured image that is the correction target, when the maximum time in which the displacement of the relative positional relationship is the maximum is the first half of the exposure period, no correction is required that is captured before the captured image that is the correction target. A correction image is extracted from the captured image. Further, when the maximum time is the second half of the exposure period, a correction image is extracted from a non-corrected captured image captured after the captured image to be corrected. When a captured image that is not required to be corrected after the captured image that is the correction target or a captured image that is not required to be corrected before or after the captured image that is the correction target cannot be extracted, the correction stored in the correction unnecessary image storage unit A correction image is extracted from an unnecessary captured image.

補正用画像は、例えば、補正対象と判別された撮像画の補正領域を振れ補正動作に基づいて決定して、この補正領域に対応する領域の画像が補正用画像として抽出される。補正領域は、例えば、補正対象と判別された撮像画の露光期間中に、相対的位置関係が制限範囲を超えている時間が予め設定した時間よりも長いとき、相対的位置関係の最大変位から補正領域が決定される。また、相対的位置関係が制限範囲を超えている時間が予め設定した時間よりも長いとき、所定の時間間隔となる相対的位置関係の変位から補正領域を決定される。このように補正用画像が抽出されて、この補正用画像を用いて補正対象と判別された撮像画における光学劣化の補正が行われる。   For the correction image, for example, a correction area of a captured image determined to be a correction target is determined based on a shake correction operation, and an image of an area corresponding to the correction area is extracted as a correction image. For example, when the time during which the relative positional relationship exceeds the limit range is longer than a preset time during the exposure period of the captured image determined to be the correction target, the correction region is determined from the maximum displacement of the relative positional relationship. A correction area is determined. Further, when the time when the relative positional relationship exceeds the limit range is longer than a preset time, the correction region is determined from the displacement of the relative positional relationship that becomes a predetermined time interval. In this way, the correction image is extracted, and optical deterioration in the captured image determined as the correction target is corrected using the correction image.

また、静止画モードにおいて撮像素子で生成された撮像画が、光学劣化の補正対象と判別されたとき、連続して撮像画の生成が行われて、生成された撮像画が補正不要の撮像画と判別されたとき、この撮像画から補正用画像が抽出される。   In addition, when a captured image generated by the image sensor in the still image mode is determined as an optical degradation correction target, a captured image is continuously generated, and the generated captured image does not require correction. Is determined, a correction image is extracted from the captured image.

この発明によれば、レンズ部と撮像素子との相対的位置関係を振れの検出結果に応じて変位させることで、レンズ部により撮像素子の撮像面上に形成された光学像の振れが補正される。また、振れ補正によって光学劣化を生じた撮像画に対して、該撮像画よりも光学劣化の少ない撮像画を用いて光学劣化の補正が行われる。このため、振れ補正によって光学劣化が生じる場合でも、この光学劣化が補正された撮像画を得ることができる。   According to the present invention, the shake of the optical image formed on the imaging surface of the image sensor by the lens unit is corrected by displacing the relative positional relationship between the lens unit and the image sensor in accordance with the shake detection result. The In addition, the optical degradation correction is performed on the captured image in which the optical degradation has occurred due to the shake correction, using the captured image with less optical degradation than the captured image. For this reason, even when optical deterioration occurs due to shake correction, a captured image in which this optical deterioration is corrected can be obtained.

撮像装置の構成を示す図である。It is a figure which shows the structure of an imaging device. 光学劣化補正部の構成を示す図である。It is a figure which shows the structure of an optical degradation correction | amendment part. 補正レンズ部の変位量に対する光学劣化を例示した図である。It is the figure which illustrated optical degradation with respect to the displacement amount of a correction lens part. 焦点距離と変位量の制限値の関係を例示した図である。It is the figure which illustrated the relationship between a focal distance and the limit value of displacement. 振れ補正動作を示すフローチャートである。It is a flowchart which shows shake correction operation | movement. 制限条件の判定を示すフローチャートである。It is a flowchart which shows determination of a limiting condition. パン・チルト判定処理を示すフローチャートである。It is a flowchart which shows a pan / tilt determination process. 焦点距離と変位範囲の関係の他の例を示した図である。It is the figure which showed the other example of the relationship between a focal distance and a displacement range. 振れ検出部から得られた検出信号に応じて制御部で行われる動作を例示した図である。It is the figure which illustrated the operation | movement performed by a control part according to the detection signal obtained from the shake detection part. 光学劣化補正動作を示すフローチャートである。It is a flowchart which shows optical degradation correction | amendment operation | movement. 補正対象判別処理の第1の動作を示すフローチャートである。It is a flowchart which shows the 1st operation | movement of a correction | amendment object discrimination | determination process. 補正対象判別処理の第1の動作を説明するための図である。It is a figure for demonstrating the 1st operation | movement of a correction | amendment object discrimination | determination process. 補正対象判別処理の第2の動作を示すフローチャートである。It is a flowchart which shows the 2nd operation | movement of a correction | amendment object discrimination | determination process. 補正対象判別処理の第2の動作を説明するための図である。It is a figure for demonstrating the 2nd operation | movement of a correction | amendment object discrimination | determination process. 画像抽出処理動作を示すフローチャートである。It is a flowchart which shows an image extraction process operation. 画像抽出処理動作を説明するための図である。It is a figure for demonstrating an image extraction process operation. 補正処理動作を示すフローチャートである。It is a flowchart which shows correction processing operation. 補正処理動作を説明するための図である。It is a figure for demonstrating correction | amendment process operation | movement. 振れ補正における補正角が小さい場合の補正処理動作を示す図である。It is a figure which shows the correction | amendment process operation | movement when the correction angle in shake correction is small. 振れ補正における補正角が大きい場合の補正処理動作を示す図である。It is a figure which shows the correction | amendment process operation | movement when the correction angle in shake correction is large. 静止画撮像時の第1の劣化補正動作を示す図である。It is a figure which shows the 1st degradation correction operation | movement at the time of still image imaging. 静止画撮像時の第2の劣化補正動作を示す図である。It is a figure which shows the 2nd degradation correction operation | movement at the time of still image imaging. 振れ補正とMTFの劣化の関係を説明するための図である。It is a figure for demonstrating the relationship between shake correction and deterioration of MTF.

以下、発明を実施するための形態について説明する。この発明では、レンズ部により形成された光学像を撮像素子で光電変換して撮像画の画像信号を生成する。また、振れの検出を行い、検出結果を示す振れ検出信号を生成する。この振れ検出信号に応じて、レンズ部と撮像素子との相対的位置関係を光軸に対して変位することで、振れによって生じる撮像面上での光学像の振れを補正する。さらに、振れ補正によって光学劣化を生じた撮像画に対して、この撮像画よりも光学劣化の少ない撮像画を用いて光学劣化の補正を行う。なお、説明は以下の順序で行い、光学劣化を生じる振れ補正について説明してから、この振れ補正によって生じた光学劣化の補正について説明する。
1.撮像装置の構成
2.光学劣化補正部の構成
3.振れ補正動作
4.光学劣化補正動作
5.動画撮像における光学劣化補正動作
6.静止画撮像における光学劣化補正動作
Hereinafter, modes for carrying out the invention will be described. In the present invention, the optical image formed by the lens unit is photoelectrically converted by the image sensor to generate an image signal of the captured image. Further, shake detection is performed, and a shake detection signal indicating a detection result is generated. In accordance with the shake detection signal, the relative positional relationship between the lens unit and the image sensor is displaced with respect to the optical axis, thereby correcting the shake of the optical image on the imaging surface caused by the shake. Further, the optical degradation is corrected using a captured image with less optical degradation than the captured image with respect to the captured image that has undergone optical degradation due to shake correction. The description will be given in the following order, and after explaining the shake correction that causes the optical deterioration, the correction of the optical deterioration caused by the shake correction will be described.
1. 1. Configuration of imaging apparatus 2. Configuration of optical deterioration correction unit 3. Shake correction operation 4. Optical degradation correction operation 5. Optical degradation correction operation in moving image capturing Optical degradation correction in still image capture

<1.撮像装置の構成>
図1は、撮像装置の構成を示している。撮像装置10は、レンズ部11、ドライバ12、位置センサ13、撮像素子21、タイミング信号発生(TG)部22、アナログフロントエンド(AFE)部23、信号処理部24、検波部31を備えている。さらに撮像装置10は、画像出力部32、表示部33、記録再生処理部34、操作部41、振れ検出部42、制御部50を備えている。
<1. Configuration of Imaging Device>
FIG. 1 shows the configuration of the imaging apparatus. The imaging apparatus 10 includes a lens unit 11, a driver 12, a position sensor 13, an imaging device 21, a timing signal generation (TG) unit 22, an analog front end (AFE) unit 23, a signal processing unit 24, and a detection unit 31. . Furthermore, the imaging apparatus 10 includes an image output unit 32, a display unit 33, a recording / playback processing unit 34, an operation unit 41, a shake detection unit 42, and a control unit 50.

レンズ部11は、変倍を行うズームレンズ111、フォーカシングを行うフォーカスレンズ112、後述する撮像素子21の撮像面上に形成される光学像の位置を撮像面上で移動させる補正レンズ部113を備えている。また、レンズ部11には、光量調節を行う絞り機構114が設けられている。   The lens unit 11 includes a zoom lens 111 that performs zooming, a focus lens 112 that performs focusing, and a correction lens unit 113 that moves the position of an optical image formed on the imaging surface of the imaging device 21 described later on the imaging surface. ing. Further, the lens unit 11 is provided with a diaphragm mechanism 114 for adjusting the light amount.

補正レンズ部113は、例えば光軸が撮像光学系の光軸と一致するように設けられた補正レンズと、この補正レンズを撮像光学系の光軸に対して直交する方向に変位させるアクチュエータ等で構成されている。このような構成の補正レンズ部は、補正レンズを撮像光学系の光軸に対して直交する方向に変位させて、撮像面上に形成される光学像の位置を撮像面上で移動させる。   The correction lens unit 113 includes, for example, a correction lens provided so that the optical axis coincides with the optical axis of the imaging optical system, and an actuator that displaces the correction lens in a direction orthogonal to the optical axis of the imaging optical system. It is configured. The correction lens unit having such a configuration displaces the correction lens in a direction orthogonal to the optical axis of the imaging optical system, and moves the position of the optical image formed on the imaging surface on the imaging surface.

また、補正レンズ部113は、可変頂角プリズムユニットを用いるようにしてもよい。可変頂角プリズムユニットは、ベローズ等の折り曲げ自在な筒の端面に透光性を有する入射端板と出射端板を設け、筒内に所望の屈折率を持った透光性の液体を封入したものである。可変頂角プリズムユニットを用いる場合、入射端板または出射端板の一方を固定して、他方をアクチュエータで駆動して光学楔を形成する。このような構成の補正レンズ部は、例えば入射端板に対する出射端板の傾斜角度を変位させて、撮像面上に形成される光学像の位置を撮像面上で移動させる。   The correction lens unit 113 may use a variable apex angle prism unit. The variable apex angle prism unit is provided with a translucent entrance end plate and an exit end plate on the end face of a bendable cylinder such as a bellows, and a translucent liquid having a desired refractive index is enclosed in the cylinder. Is. When the variable apex angle prism unit is used, one of the entrance end plate and the exit end plate is fixed, and the other is driven by an actuator to form an optical wedge. The correction lens unit having such a configuration moves the position of the optical image formed on the imaging surface on the imaging surface by, for example, displacing the inclination angle of the exit end plate with respect to the incident end plate.

このように、補正レンズ部113を設けて、レンズ部11と撮像素子21との相対的位置関係を光軸に対して変位させる。また、撮像素子21を光軸に対して直交する方向に変位させて、レンズ部11と撮像素子21との相対的位置関係を光軸に対して変位させるようにしてもよい。この場合には、撮像素子21を光軸に対して直交する方向に変位させるアクチュエータを設ける。   In this way, the correction lens unit 113 is provided to displace the relative positional relationship between the lens unit 11 and the image sensor 21 with respect to the optical axis. Alternatively, the image sensor 21 may be displaced in a direction orthogonal to the optical axis so that the relative positional relationship between the lens unit 11 and the image sensor 21 is displaced with respect to the optical axis. In this case, an actuator that displaces the image sensor 21 in a direction orthogonal to the optical axis is provided.

ドライバ12は、後述する制御部50からのレンズ制御信号に基づきズームレンズ111やフォーカスレンズ112および補正レンズ部113のアクチュエータを駆動する。また、ドライバ12は、制御部50からの絞り制御信号に基づき絞り機構114を駆動する。また、撮像素子21を光軸に対して直交する方向に変位させる場合、ドライバ12は制御部50からの制御信号に基づき撮像素子21のアクチュエータを駆動する。   The driver 12 drives actuators of the zoom lens 111, the focus lens 112, and the correction lens unit 113 based on a lens control signal from the control unit 50 described later. The driver 12 drives the diaphragm mechanism 114 based on the diaphragm control signal from the control unit 50. When the image sensor 21 is displaced in a direction orthogonal to the optical axis, the driver 12 drives the actuator of the image sensor 21 based on a control signal from the control unit 50.

位置センサ13は、ズームレンズ111やフォーカスレンズ112および補正レンズ部113のレンズ位置や絞り機構114の設定位置を検出して位置信号を制御部50に供給する。また、撮像素子21を光軸に対して直交する方向に変位させる場合、位置センサ13は、撮像素子21の位置を検出して位置信号を制御部50に供給する。   The position sensor 13 detects the lens positions of the zoom lens 111, the focus lens 112 and the correction lens unit 113 and the set position of the diaphragm mechanism 114 and supplies a position signal to the control unit 50. When the image sensor 21 is displaced in a direction orthogonal to the optical axis, the position sensor 13 detects the position of the image sensor 21 and supplies a position signal to the control unit 50.

撮像素子21は、例えばCCD(Charge Coupled Devices)、CMOS(Complementary Metal Oxide Semiconductor)型イメージセンサなどの撮像素子が用いられている。撮像素子21は、レンズ部11によって撮像面上に形成された被写体像を電気信号に変換してAFE部23に出力する。   For example, an image sensor such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) image sensor is used as the image sensor 21. The imaging device 21 converts the subject image formed on the imaging surface by the lens unit 11 into an electrical signal and outputs the electrical signal to the AFE unit 23.

TG部22は、撮像素子21で撮像画を示す電気信号の出力を行うために必要とする各種の駆動パルス、並びに撮像素子21の電荷蓄積時間を制御する電子シャッターパルスを生成する。   The TG unit 22 generates various drive pulses necessary for outputting an electrical signal indicating a captured image by the image sensor 21 and an electronic shutter pulse for controlling the charge accumulation time of the image sensor 21.

AFE部23は、撮像素子21から出力された電気信号(画像信号)に対して、ノイズ除去処理例えばCDS(Correlated Double Sampling)処理や、撮像信号を所望の信号レベルとするAGC(Automatic Gain Control)処理を行う。さらに、AFE部23は、ノイズ除去処理や利得制御が行われたアナログの撮像信号をディジタル信号に変換して信号処理部24に出力する。   The AFE unit 23 performs noise removal processing such as CDS (Correlated Double Sampling) processing on the electrical signal (image signal) output from the image sensor 21, and AGC (Automatic Gain Control) using the imaging signal as a desired signal level. Process. Further, the AFE unit 23 converts an analog image pickup signal subjected to noise removal processing and gain control into a digital signal and outputs the digital signal to the signal processing unit 24.

信号処理部24は、カメラ信号前処理やカメラ信号処理、光学劣化補正処理、解像度変換処理、圧縮伸張処理等を行う。   The signal processing unit 24 performs camera signal preprocessing, camera signal processing, optical deterioration correction processing, resolution conversion processing, compression / decompression processing, and the like.

カメラ信号前処理では、AFE部23から供給された画像信号に対して、撮像素子21における欠陥画素の信号を補正する欠陥補正処理、レンズの周辺光量落ちを補正するシェーディング補正処理などを行う。カメラ信号処理では、ホワイトバランス調整や輝度補正等の処理を行う。また、ディジタルカメラ等では、撮像素子の前面にカラー・フィルタ・アレイ(Color Filter Array)を設けることにより、1つの撮像素子で赤色,緑色,青色の各信号を得るように構成されている場合がある。このような場合、カメラ信号処理ではデモザイク(demozaic)処理を行い、周囲の画素の信号を用いた補間等によって、各画素において欠落している色の信号を生成する。   In the camera signal preprocessing, the image signal supplied from the AFE unit 23 is subjected to a defect correction process for correcting a signal of a defective pixel in the image sensor 21, a shading correction process for correcting a peripheral light loss of the lens, and the like. In camera signal processing, processing such as white balance adjustment and brightness correction is performed. In addition, a digital camera or the like may be configured to obtain red, green, and blue signals with a single image sensor by providing a color filter array in front of the image sensor. is there. In such a case, in the camera signal processing, demosaic processing is performed, and a signal of a color that is missing in each pixel is generated by interpolation or the like using signals of surrounding pixels.

光学劣化補正処理は、補正する振れが大きくても良好な画質の撮像画を得られるように光学劣化の補正を行う。なお、光学劣化補正処理は、光学劣化補正部25で行うものとして、光学劣化補正部25の構成を後述する。解像度変換処理では、光学劣化補正がなされた画像信号、あるいは伸張復号化された画像信号を所定の解像度に変換する。   In the optical deterioration correction process, optical deterioration is corrected so that a captured image with good image quality can be obtained even if the shake to be corrected is large. The optical deterioration correction process is performed by the optical deterioration correction unit 25, and the configuration of the optical deterioration correction unit 25 will be described later. In the resolution conversion process, the image signal that has been subjected to optical deterioration correction or the image signal that has been subjected to decompression decoding is converted to a predetermined resolution.

圧縮伸張処理では、光学劣化補正処理後の画像信号や解像度変換処理が行われた画像信号を圧縮符号化して、例えばJPEG方式の符号化信号を生成する。また、圧縮伸張処理では、JPEG方式の符号化信号を伸張復号化する。なお、圧縮伸張処理は、JPEG方式とは異なる方式で静止画の画像信号の圧縮符号化を行うようにしてもよい。また、圧縮伸張処理では、動画圧縮方式で動画の画像信号の圧縮符号化を行うようにしてもよい。   In the compression / decompression process, the image signal after the optical deterioration correction process or the image signal subjected to the resolution conversion process is compression-encoded to generate, for example, a JPEG encoded signal. In the compression / decompression process, a JPEG encoded signal is decompressed and decoded. Note that the compression / decompression process may be performed by compressing and encoding the image signal of a still image by a method different from the JPEG method. In the compression / decompression process, a moving image signal may be compressed and encoded by a moving image compression method.

検波部31は、信号処理部24に供給された撮像信号を用いて、撮像画の明るさレベルやフォーカス状態の検出を行い、明るさレベルやフォーカス状態を示す検波信号を生成して制御部50に供給する。   The detection unit 31 detects the brightness level and focus state of the captured image using the imaging signal supplied to the signal processing unit 24, generates a detection signal indicating the brightness level and focus state, and generates the detection signal. To supply.

画像出力部32は、信号処理部24で処理された画像信号を、撮像装置10と接続される外部機器に対応したフォーマットの画像信号に変換して出力する。   The image output unit 32 converts the image signal processed by the signal processing unit 24 into an image signal having a format corresponding to an external device connected to the imaging apparatus 10 and outputs the image signal.

表示部33は、撮像装置10によって撮像されている画像や、記録再生処理部34で再生された撮像画の表示を行う。また、表示部33は、撮像装置10の設定等を行うためのメニュー表示等も行う。   The display unit 33 displays an image captured by the imaging apparatus 10 and a captured image reproduced by the recording / reproduction processing unit 34. The display unit 33 also displays a menu for setting the imaging device 10 and the like.

記録再生処理部34では、例えば、フラッシュメモリ、光ディスク、磁気テープなどの記録媒体が用いられている。記録再生処理部34は、信号処理部24から出力された撮像画の画像信号や符号化信号を記録媒体に記録する。また、記録再生処理部34は、記録媒体に記録されている画像信号を読み出して画像出力部32や表示部33に供給する処理や、記録媒体に記録されている符号化信号を読み出して信号処理部24に供給する処理を行う。なお、記録再生処理部34は、記録媒体が着脱可能とされている構成に限られるものではない。例えば、記録再生処理部34としてハード・ディスク装置等を内蔵させるようにしてもよい。   In the recording / reproducing processor 34, for example, a recording medium such as a flash memory, an optical disk, or a magnetic tape is used. The recording / playback processing unit 34 records the image signal or the encoded signal of the captured image output from the signal processing unit 24 on a recording medium. The recording / playback processing unit 34 reads the image signal recorded on the recording medium and supplies the image signal to the image output unit 32 and the display unit 33, and reads the encoded signal recorded on the recording medium to perform signal processing. Processing to be supplied to the unit 24 is performed. Note that the recording / reproduction processing unit 34 is not limited to the configuration in which the recording medium is detachable. For example, a hard disk device or the like may be incorporated as the recording / playback processing unit 34.

操作部41は、操作ボタンや表示部33の画面上に設けられたタッチパネル等で構成されている。操作部41は、ユーザー操作に応じた操作信号を生成して制御部50に供給する。   The operation unit 41 includes operation buttons and a touch panel provided on the screen of the display unit 33. The operation unit 41 generates an operation signal corresponding to a user operation and supplies the operation signal to the control unit 50.

振れ検出部42は、撮像装置10の振れを検出する振れ検出センサ例えばジャイロセンサを用いて構成されている。振れ検出センサは、ヨーイング方向における振れに応じて例えば角速度を検出するヨーイング角速度センサと、ピッチング方向における振れに応じて例えば角速度を検出するピッチング角速度センサで構成されている。ヨーイング角速度センサやピッチング角速度センサから出力される振れ検出信号は、角速度が与えられない状態であるとき例えば基準値VL0となる。また、一方の方向(正方向)に回転するとき、角速度に応じて振れ検出信号の信号レベルは基準値VL0よりも高くなり、他方の方向(逆方向)に回転するとき、角速度に応じて振れ検出信号の信号レベルは基準値VL0よりも低くなる。   The shake detection unit 42 is configured using a shake detection sensor, for example, a gyro sensor, that detects the shake of the imaging apparatus 10. The shake detection sensor includes a yawing angular velocity sensor that detects, for example, an angular velocity according to shake in the yawing direction, and a pitching angular velocity sensor that detects, for example, an angular velocity according to shake in the pitching direction. The shake detection signal output from the yawing angular velocity sensor or the pitching angular velocity sensor is, for example, the reference value VL0 when the angular velocity is not given. Also, when rotating in one direction (forward direction), the signal level of the shake detection signal becomes higher than the reference value VL0 according to the angular velocity, and when rotating in the other direction (reverse direction), the shake depends on the angular velocity. The signal level of the detection signal is lower than the reference value VL0.

また、振れ検出部42には、振れ検出信号の信号処理を行う処理回路が設けられている。処理回路では例えば振れ検出信号のフィルタ処理を行い、ノイズ成分、角速度値の信号成分よりも高い周波数成分、共振周波数成分等の不要な信号成分を除去する。さらに、処理回路では温度変化や時間変化に伴って生じるドリフトの補正、振れ検出信号をディジタル信号に変換して制御部50に供給する処理等を行う。なお、振れ検出部42からの振れ検出信号がアナログ信号として出力される場合、制御部50は振れ検出信号をディジタル信号に変換して用いる構成としてもよい。   The shake detection unit 42 is provided with a processing circuit that performs signal processing of the shake detection signal. In the processing circuit, for example, the shake detection signal is filtered, and unnecessary signal components such as a noise component, a frequency component higher than the signal component of the angular velocity value, and a resonance frequency component are removed. Further, the processing circuit performs correction of drift caused by temperature change and time change, processing to convert the shake detection signal into a digital signal, and supply it to the control unit 50. When the shake detection signal from the shake detection unit 42 is output as an analog signal, the control unit 50 may be configured to convert the shake detection signal into a digital signal and use it.

なお、振れ検出部42は、角速度センサを用いて構成する場合に限られるものではない。例えば、加速度センサ等を用いて振れの検出を行うようにしてもよい。加速度センサを用いる場合、加速度センサの出力を積分して速度を算出できる。さらに速度を積分することで移動距離を算出できることから、加速度センサの出力に基づき振れの大きさを判別することが可能となる。   Note that the shake detection unit 42 is not limited to a configuration using an angular velocity sensor. For example, shake detection may be performed using an acceleration sensor or the like. When an acceleration sensor is used, the speed can be calculated by integrating the output of the acceleration sensor. Furthermore, since the moving distance can be calculated by integrating the speed, the magnitude of the shake can be determined based on the output of the acceleration sensor.

制御部50は、CPU(Central Processing Unit)やメモリ等で構成されている。メモリには、CPUが実行するプログラムや各種データが記憶されている。このメモリとしては、例えばEEPROM(Electronically Erasable and Programmable ROM)、フラッシュメモリなどの不揮発性メモリが用いられる。制御部50のCPUはメモリに記憶されているプログラムを実行して、メモリに記憶されている各種データや操作部41から供給された操作信号に基づき、撮像装置10の動作がユーザー操作に応じた動作となるように各部を制御する。例えば、制御部50は、静止画モードでシャッター操作が行われたとき、TG部22等の動作を制御して、所望のシャッター速度で撮像した静止画の符号化信号等を記録再生処理部34の記録媒体に記録させる。また、動画モードで記録開始操作が行われたときは、動画の符号化信号等を記録再生処理部34の記録媒体に記録させる。   The control unit 50 includes a CPU (Central Processing Unit), a memory, and the like. The memory stores programs executed by the CPU and various data. As this memory, for example, a nonvolatile memory such as an EEPROM (Electronically Erasable and Programmable ROM) or a flash memory is used. The CPU of the control unit 50 executes a program stored in the memory, and the operation of the imaging device 10 corresponds to a user operation based on various data stored in the memory and operation signals supplied from the operation unit 41. Each part is controlled so that it becomes operation. For example, when the shutter operation is performed in the still image mode, the control unit 50 controls the operation of the TG unit 22 and the like, and records and reproduces the encoded signal of the still image captured at a desired shutter speed. Recorded on a recording medium. When a recording start operation is performed in the moving image mode, a moving image encoded signal or the like is recorded on the recording medium of the recording / reproducing processor 34.

また、制御部50は、位置センサ13から供給された位置信号や、検波部31から供給された検波信号に基づき、レンズ制御信号や絞り制御信号を生成してドライバ12に供給する。したがって、ドライバ12によって、所望の明るさでピントの合った撮像画が得られるようにフォーカスレンズ112や絞り機構114が駆動される。また、制御部50は、ズーム操作をユーザーが行ったとき、レンズ制御信号を生成してドライバ12に供給することで、所望のズーム比の撮像画が得られるようにズームレンズ111を駆動する。   Further, the control unit 50 generates a lens control signal and an aperture control signal based on the position signal supplied from the position sensor 13 and the detection signal supplied from the detection unit 31 and supplies the lens control signal and the aperture control signal to the driver 12. Accordingly, the focus lens 112 and the aperture mechanism 114 are driven by the driver 12 so that a captured image with a desired brightness can be obtained. Further, when the user performs a zoom operation, the control unit 50 generates a lens control signal and supplies it to the driver 12 to drive the zoom lens 111 so that a captured image with a desired zoom ratio is obtained.

このように構成された撮像装置10において、制御部50は、振れ検出部42からの振れ検出信号や位置センサ13から供給された位置信号に基づき制御信号を生成してドライバ12に供給する。ドライバ12は、制御信号に基づきレンズ部11と撮像素子21との相対的位置関係を光軸に対して変位させて、振れ検出部42で検出される振れによって生じる撮像面上での光学像の振れを補正する。   In the imaging apparatus 10 configured as described above, the control unit 50 generates a control signal based on the shake detection signal from the shake detection unit 42 or the position signal supplied from the position sensor 13 and supplies the control signal to the driver 12. The driver 12 displaces the relative positional relationship between the lens unit 11 and the imaging element 21 with respect to the optical axis based on the control signal, and the optical image on the imaging surface caused by the shake detected by the shake detection unit 42 is detected. Correct the shake.

また、信号処理部24の光学劣化補正部は、光学劣化補正処理を行い、補正する振れが大きくても良好な画質の撮像画を得られるように光学劣化の補正を行う。   The optical degradation correction unit of the signal processing unit 24 performs optical degradation correction processing, and corrects optical degradation so that a captured image with good image quality can be obtained even if the shake to be corrected is large.

<2.光学劣化補正部の構成>
図2は、信号処理部24に設けられて光学劣化の補正を行う光学劣化補正部25の構成を示している。光学劣化補正部25は、メモリ部251、補正対象判別部255、補正不要画抽出部256、補正不要画記憶部257、補正処理部258を有している。
<2. Configuration of optical deterioration correction unit>
FIG. 2 shows a configuration of an optical deterioration correction unit 25 that is provided in the signal processing unit 24 and corrects optical deterioration. The optical degradation correction unit 25 includes a memory unit 251, a correction target determination unit 255, a correction unnecessary image extraction unit 256, a correction unnecessary image storage unit 257, and a correction processing unit 258.

メモリ部251は、例えば5つのメモリ251n-2,251n-1,251n,251n+1,251n+2で構成されている。5つのメモリは、例えばFIFO(First-In/First-Out)が用いられており、先入れ先出し方式で画像信号の書き込みや読み出しを行い、画像信号を一時的に記憶する。   The memory unit 251 includes, for example, five memories 251n-2, 251n-1, 251n, 251n + 1, and 251n + 2. For example, FIFO (First-In / First-Out) is used for the five memories, and image signals are written and read by a first-in first-out method, and the image signals are temporarily stored.

メモリ251n+2は、光学劣化補正部25に供給された画像信号を一時的に記憶する。また、メモリ251n+2は、記憶している画像信号を読み出してメモリ251n+1と補正不要画抽出部256に出力する。メモリ251n+1は、メモリ251n+2から供給された画像信号を一時的に記憶する。また、メモリ251n+1は、記憶している画像信号を読み出してメモリ251nと補正不要画抽出部256に出力する。メモリ251nは、メモリ251n+1または補正処理部258から供給された画像信号を一時的に記憶する。また、メモリ251nは、記憶している画像信号を読み出してメモリ251n-1または補正処理部258に出力する。メモリ251n-1は、メモリ251nから供給された画像信号を一時的に記憶する。また、メモリ251n-1は、記憶している画像信号を読み出してメモリ251n-2と補正不要画抽出部256に出力する。メモリ251n-2は、メモリ251n-1から供給された画像信号を一時的に記憶する。また、メモリ251n-2は、記憶している画像信号を読み出して補正不要画抽出部256に出力する。さらに、メモリ251n-2は、記憶している画像信号を読み出して光学劣化補正部25から出力する。   The memory 251n + 2 temporarily stores the image signal supplied to the optical deterioration correction unit 25. The memory 251n + 2 reads out the stored image signal and outputs it to the memory 251n + 1 and the correction unnecessary image extraction unit 256. The memory 251n + 1 temporarily stores the image signal supplied from the memory 251n + 2. In addition, the memory 251n + 1 reads out the stored image signal and outputs it to the memory 251n and the correction unnecessary image extraction unit 256. The memory 251n temporarily stores the image signal supplied from the memory 251n + 1 or the correction processing unit 258. The memory 251n reads out the stored image signal and outputs it to the memory 251n-1 or the correction processing unit 258. The memory 251n-1 temporarily stores the image signal supplied from the memory 251n. The memory 251n-1 reads out the stored image signal and outputs it to the memory 251n-2 and the correction unnecessary image extraction unit 256. The memory 251n-2 temporarily stores the image signal supplied from the memory 251n-1. Also, the memory 251n-2 reads out the stored image signal and outputs it to the correction unnecessary image extraction unit 256. Further, the memory 251n-2 reads out the stored image signal and outputs it from the optical deterioration correction unit 25.

このように、メモリ部251を5つのメモリ251n-2,251n-1,251n,251n+1,251n+2で構成したとき、メモリ部251では、メモリ251nに記憶されているフレームの2フレーム前から2フレーム後までの画像信号が一時的に記憶される。   As described above, when the memory unit 251 is configured by the five memories 251n-2, 251n-1, 251n, 251n + 1, and 251n + 2, the memory unit 251 is two frames before the frame stored in the memory 251n. The image signals from the second frame to the second frame are temporarily stored.

補正対象判別部255は、レンズ部11と撮像素子21との相対的位置関係から、撮像画が光学劣化の補正対象の画像であるか補正不要の画像であるか判別する。例えば、振れ補正を行うときの補正角や位置センサ13からの位置信号に基づいて判別した変位量は、レンズ部11と撮像素子21との相対的位置関係を示す情報である。したがって、補正対象判別部255は、これらの情報に基づきレンズ部11と撮像素子21との相対的位置関係を検出して、検出した相対的位置関係に基づいて、撮像画が光学劣化の補正対象の画像であるか補正不要の画像であるか判別する。   The correction target determination unit 255 determines whether the captured image is an image to be corrected for optical degradation or an image that does not require correction based on the relative positional relationship between the lens unit 11 and the image sensor 21. For example, the displacement amount determined based on the correction angle when shake correction is performed or the position signal from the position sensor 13 is information indicating the relative positional relationship between the lens unit 11 and the image sensor 21. Therefore, the correction target determination unit 255 detects the relative positional relationship between the lens unit 11 and the image sensor 21 based on these pieces of information, and the captured image is corrected for optical deterioration based on the detected relative positional relationship. It is discriminated whether the image is a non-correction image or an image that does not require correction.

また、補正対象判別部255は、撮像画が補正対象であると判別したとき、露光期間中の相対的位置関係の最大変位や最大変位となったときの時間情報を撮像画に関係付けて補正情報として情報テーブルに記録する。さらに、情報テーブルには、露光期間中における相対的位置関係の変化を把握できるように、露光期間中における時間を示す時間インデックスを相対的位置関係に関係付けて記録する。なお、補正対象判別部255は、情報テーブルから必要のない情報を順次削除する。例えば光学劣化補正処理後の撮像画に関する情報を情報テーブルから削除する。   In addition, when the correction target determination unit 255 determines that the captured image is the correction target, the maximum displacement of the relative positional relationship during the exposure period and the time information when the maximum displacement is reached are corrected in relation to the captured image. Record it in the information table as information. Further, in the information table, a time index indicating the time during the exposure period is recorded in relation to the relative positional relation so that the change in the relative positional relation during the exposure period can be grasped. The correction target determination unit 255 sequentially deletes unnecessary information from the information table. For example, information about the captured image after the optical deterioration correction process is deleted from the information table.

補正不要画抽出部256は、メモリ251nに記憶された撮像画が補正対象であると補正対象判別部255で判別されたとき、メモリ251nに記憶された撮像画よりも光学劣化の少ない撮像画をメモリ部251から抽出して、補正処理部258に出力する。   When the correction target determination unit 255 determines that the captured image stored in the memory 251n is a correction target, the correction unnecessary image extraction unit 256 selects a captured image with less optical deterioration than the captured image stored in the memory 251n. Extracted from the memory unit 251 and output to the correction processing unit 258.

また、補正不要画抽出部256は、補正対象判別部255で補正不要と判別された撮像画の画像信号を補正不要画記憶部257に記憶させる。補正不要画抽出部256は、補正不要画記憶部257に記憶している画像信号を補正不要と判別された新たな撮像画の画像信号で順次更新する。   Further, the correction unnecessary image extraction unit 256 causes the correction unnecessary image storage unit 257 to store the image signal of the captured image determined to be correction unnecessary by the correction target determination unit 255. The correction unnecessary image extraction unit 256 sequentially updates the image signal stored in the correction unnecessary image storage unit 257 with the image signal of a new captured image determined to be correction unnecessary.

さらに、補正不要画抽出部256は、メモリ251nに記憶された撮像画よりも光学劣化の少ない撮像画をメモリ部251から抽出できないとき、補正不要画記憶部257に記憶している撮像画の画像信号を読み出して補正処理部258に出力する。   Furthermore, when the unneeded image extraction unit 256 cannot extract from the memory unit 251 a captured image with less optical deterioration than the captured image stored in the memory 251n, the image of the captured image stored in the unneeded image storage unit 257 is extracted. The signal is read and output to the correction processing unit 258.

補正処理部258は、補正不要画抽出部256で抽出した補正不要の撮像画から補正用画像を抽出して、この補正用画像を用いてメモリ251nに記憶されている補正対象の撮像画における光学劣化を補正する。   The correction processing unit 258 extracts a correction image from the correction-unnecessary captured image extracted by the correction-unnecessary image extraction unit 256, and uses the correction image to correct the optical image in the correction target captured image stored in the memory 251n. Compensate for deterioration.

<3.振れ補正動作>
撮像装置では、補正レンズ部や撮像素子をその最大変位範囲まで変位させても全ズーム領域にわたって光学劣化が許容範囲内であることが望ましい。しかし、種々の制約により光学劣化を許容範囲内に抑えることは困難である。一方、振れ補正の必要性はワイド側よりもテレ側において重要であるので、撮像光学系の設計では、テレ側における光学劣化を少なくことが一般的であり、その結果ワイド側で振れ補正時の光学劣化が大きくなる。
<3. Shake correction operation>
In the imaging apparatus, it is desirable that the optical degradation is within an allowable range over the entire zoom region even if the correction lens unit and the imaging element are displaced to the maximum displacement range. However, it is difficult to suppress optical degradation within an allowable range due to various restrictions. On the other hand, since the necessity of shake correction is more important on the tele side than on the wide side, it is common to reduce optical degradation on the tele side in the design of the imaging optical system. Optical degradation increases.

次に、補正レンズ部113を駆動して振れ補正を行う場合の振れ補正動作について説明する。図3は、補正レンズ部の変位量に対する光学劣化を例示した図である。なお、図3において、横軸は変位量の絶対値Adを示しており、縦軸は画像劣化量Aeを示している。   Next, a shake correction operation when the correction lens unit 113 is driven to perform shake correction will be described. FIG. 3 is a diagram illustrating optical deterioration with respect to the displacement amount of the correction lens unit. In FIG. 3, the horizontal axis indicates the absolute value Ad of the displacement amount, and the vertical axis indicates the image deterioration amount Ae.

ここで、テレ端における変位量と画像劣化量の関係は例えば実線で示す特性となる。また、ワイド端における変位量と画像劣化量の関係は例えば破線で示す特性になる。すなわち、画像劣化量Aeを「RL」に抑えるためには、テレ端のときの変位量の絶対値を「dt」の変位範囲に制限する必要がある。また、ワイド端のときの変位量の絶対値は、テレ端のときの「dt」よりも狭い範囲である「dw」の変位範囲に制限する必要がある。   Here, the relationship between the displacement amount at the telephoto end and the image deterioration amount is, for example, a characteristic indicated by a solid line. Further, the relationship between the displacement amount at the wide end and the image deterioration amount has a characteristic indicated by a broken line, for example. That is, in order to suppress the image deterioration amount Ae to “RL”, it is necessary to limit the absolute value of the displacement amount at the tele end to the displacement range of “dt”. In addition, the absolute value of the displacement amount at the wide end needs to be limited to a displacement range of “dw” that is narrower than “dt” at the tele end.

図4は、画像劣化量Aeを「RL」に抑えるときの、焦点距離fと変位量の制限値Admの関係を例示している。なお、図4において、横軸は焦点距離f、縦軸は変位量の制限値Admを示している。   FIG. 4 illustrates the relationship between the focal length f and the displacement limit value Adm when the image degradation amount Ae is suppressed to “RL”. In FIG. 4, the horizontal axis represents the focal length f, and the vertical axis represents the displacement limit value Adm.

焦点距離fに対する変位量の制限値Admは、図4に示すように、ズーム位置がテレ側であるとき「dt」となる。また、焦点距離が短くなりワイド側に移動すると、変位量の制限値Admは減少する。さらに、焦点距離が短くなりワイド端に移動すると、変位量の制限値Admは「dw」となる。したがって、画像劣化量Aeを「RL」に抑えるためには、補正レンズ部113の最大変位範囲を「dt」として、図4に示す実線のように変位範囲をズーム位置に応じて制限する必要がある。また、変位範囲を制限すると、例えばズーム位置がワイド側とされているときに振れが大きい場合、変位範囲が制限されて振れ補正を行うことができなくなってしまう。したがって、振れが大きいときは、例えば図4の破線で示すように変位範囲の制限を解除して、変位範囲を最大変位範囲とすることにより、ワイド側における振れ補正性能を向上させて、振れ補正が行われた撮像画を得られるようにする。   As shown in FIG. 4, the displacement limit value Adm with respect to the focal distance f is “dt” when the zoom position is on the telephoto side. Further, when the focal length is shortened and moved to the wide side, the displacement limit value Adm decreases. Further, when the focal length becomes shorter and the lens moves to the wide end, the displacement limit value Adm becomes “dw”. Therefore, in order to suppress the image degradation amount Ae to “RL”, it is necessary to set the maximum displacement range of the correction lens unit 113 to “dt” and limit the displacement range according to the zoom position as shown by a solid line in FIG. is there. In addition, when the displacement range is limited, for example, when the shake is large when the zoom position is on the wide side, the displacement range is limited and shake correction cannot be performed. Therefore, when the shake is large, for example, as shown by the broken line in FIG. 4, the restriction on the displacement range is canceled and the displacement range is set to the maximum displacement range, thereby improving the shake correction performance on the wide side and the shake correction. To obtain a picked-up image.

図5は、振れ補正動作を示すフローチャートである。なお、振れ検出部42は、角速度センサを用いて構成されており、角速度データである振れ検出信号がディジタル信号とされて制御部50に供給されているとして以下の説明を行う。   FIG. 5 is a flowchart showing the shake correction operation. Note that the shake detection unit 42 is configured using an angular velocity sensor, and the following description will be made assuming that a shake detection signal that is angular velocity data is converted into a digital signal and supplied to the control unit 50.

ステップST1で制御部50は、振れ検出信号の高域通過フィルタ処理を行う。制御部50は、高域通過フィルタ処理を行うことで振れ検出信号から直流成分を除去してステップST2に進む。   In step ST1, the control unit 50 performs high-pass filter processing of the shake detection signal. The controller 50 removes the DC component from the shake detection signal by performing high-pass filter processing, and proceeds to step ST2.

ステップST2で制御部50は、振れ検出信号の積分処理を行う。制御部50は、振れ信号の積分処理を行い、角速度を角度に変換してステップST3に進む。   In step ST2, the control unit 50 performs an integration process of the shake detection signal. The controller 50 integrates the shake signal, converts the angular velocity into an angle, and proceeds to step ST3.

ステップST3で制御部50は、補正量の算出を行う。制御部50は、位置センサ13から供給された位置信号に基づいて焦点距離を判別する。さらに、制御部50は、判別した焦点距離とステップST2で求めた角度から、補正レンズ部113の補正量を算出してステップST4に進む。   In step ST3, the control unit 50 calculates a correction amount. The controller 50 determines the focal length based on the position signal supplied from the position sensor 13. Further, the control unit 50 calculates the correction amount of the correction lens unit 113 from the determined focal length and the angle obtained in step ST2, and proceeds to step ST4.

ステップST4で制御部50は、制限条件の判定を行う。図6は、制限条件の判定を示すフローチャートである。ステップST11で制御部50は、判定用角速度データ履歴の更新を行う。制御部50は、制限条件の判定を行うため、一定時間内の角速度データを判定用角速度データ履歴として保持してステップST12に進む。   In step ST4, the control unit 50 determines the limiting condition. FIG. 6 is a flowchart showing determination of the limiting condition. In step ST11, the control unit 50 updates the determination angular velocity data history. In order to determine the limiting condition, the control unit 50 retains the angular velocity data within a predetermined time as the determination angular velocity data history, and proceeds to step ST12.

ステップST12で制御部50は、パン・チルト判定処理を行う。図7は、パン・チルト判定処理を示すフローチャートである。ステップST31で制御部50は、角速度データが所定レベル以上であるか否か判別する。制御部50は、角速度データが予め設定されている所定レベル以上であるときはステップST32に進み、所定レベル以上でないときはステップST34に進む。   In step ST12, the control unit 50 performs pan / tilt determination processing. FIG. 7 is a flowchart showing the pan / tilt determination process. In step ST31, the control unit 50 determines whether the angular velocity data is equal to or higher than a predetermined level. The control unit 50 proceeds to step ST32 when the angular velocity data is equal to or higher than a predetermined level set in advance, and proceeds to step ST34 when it is not equal to or higher than the predetermined level.

ステップST32で制御部50は、継続時間が所定時間以上であるか否かを判別する。制御部50は、角速度データが所定レベル以上である状態が所定時間以上継続しているときはステップST33に進み、所定レベル以上である状態の継続時間が所定時間以上となっていないときはステップST34に進む。   In step ST32, the control unit 50 determines whether or not the duration time is equal to or longer than a predetermined time. The control unit 50 proceeds to step ST33 when the state where the angular velocity data is equal to or higher than the predetermined level continues for a predetermined time or longer, and proceeds to step ST33 when the duration of the state where the angular velocity data is higher than the predetermined level is not equal to or longer than the predetermined time. Proceed to

ステップST33で制御部50は、パン・チルト動作が行われていると判定してパン・チルト判定処理を終了する。制御部50は、所定のレベル以上の角速度で所定の時間以上例えば右方向や左方向に撮像方向が変更されているときパンニング動作が行われていると判定する。また、制御部50は、所定のレベル以上の角速度で所定の時間以上例えば上方向や下方向に撮像方向が変更されているときチルティング動作が行われていると判定して処理を終了する。   In step ST33, the control unit 50 determines that the pan / tilt operation is being performed, and ends the pan / tilt determination process. The control unit 50 determines that the panning operation is performed when the imaging direction is changed to the right direction or the left direction for a predetermined time or more at an angular velocity equal to or higher than a predetermined level. In addition, the control unit 50 determines that the tilting operation is being performed when the imaging direction is changed to an upward direction or a downward direction at an angular velocity equal to or higher than a predetermined level for a predetermined time or more, and ends the process.

ステップST34で制御部50は、パン・チルト動作が行われていないと判定してパン・チルト判定処理を終了する。制御部50は、撮像方向が所定のレベル以上の角速度で所定の時間以上継続して変更されていないことからパンニング動作やチルティング動作が行われていないと判定して処理を終了する。   In step ST34, the control unit 50 determines that the pan / tilt operation has not been performed, and ends the pan / tilt determination process. The control unit 50 determines that the panning operation or the tilting operation has not been performed since the imaging direction has not been continuously changed at an angular velocity equal to or higher than a predetermined level for a predetermined time, and ends the processing.

図6に戻り、ステップST13で制御部50は、パン・チルト動作が行われているか否か判別する。制御部50は、ステップST12のパン・チルト判定処理でパン・チルト動作が行われていると判定したとき、ステップST14に進む。また、制御部50は、ステップST12のパン・チルト判定処理でパン・チルト動作が行われていないと判定しているとき、ステップST15に進む。   Returning to FIG. 6, in step ST <b> 13, the control unit 50 determines whether a pan / tilt operation is being performed. When it is determined that the pan / tilt operation is being performed in the pan / tilt determination process of step ST12, the control unit 50 proceeds to step ST14. Further, when it is determined that the pan / tilt operation is not performed in the pan / tilt determination process of step ST12, the control unit 50 proceeds to step ST15.

ステップST14で制御部50は、判定用角速度データ履歴をクリアしてステップST17に進む。   In step ST14, the control unit 50 clears the determination angular velocity data history and proceeds to step ST17.

ステップST15で制御部50は、角速度データの閾値以上の比率が所定値以上であるか否か判別する。制御部50は、角速度データの閾値以上の比率が所定値以上であるときステップST16に進む。また、制御部50は、角速度データの閾値以上の比率が所定値以上でないときステップST17に進む。   In step ST15, the control unit 50 determines whether or not a ratio equal to or higher than the threshold value of the angular velocity data is equal to or greater than a predetermined value. The control unit 50 proceeds to step ST16 when the ratio of the angular velocity data equal to or greater than the threshold is equal to or greater than a predetermined value. Moreover, the control part 50 progresses to step ST17, when the ratio more than the threshold value of angular velocity data is not more than predetermined value.

ステップST16で制御部50は、振れ補正性能優先モードの変位範囲に設定する。ここで、ステップST13とステップST15の処理を行ってステップST16に進む場合は、振れが大きい場合である。したがって、制御部50は、振れ補正性能を優先した動作を行うため、図4の破線で示すように変位範囲の制限を解除した変位範囲を、補正レンズ部113の変位範囲に設定する。   In step ST16, the control unit 50 sets the displacement range in the shake correction performance priority mode. Here, when the process of step ST13 and step ST15 is performed and the process proceeds to step ST16, the shake is large. Therefore, the control unit 50 sets the displacement range in which the restriction on the displacement range is canceled as the displacement range of the correction lens unit 113 as shown by the broken line in FIG.

ステップST17で制御部50は、画質優先モードの変位範囲に設定する。すなわち、制御部50は、振れが小さいことから、またはパン・チルト動作が行われていることから、振れ補正性能を優先する必要がないと判別する。したがって、制御部50は、光学劣化の少ない良好な撮像画を得られるように画質を優先した動作を行うため、図4の実線で示すように制限がなされた変位範囲を、補正レンズ部113の変位範囲に設定する。   In step ST17, the control unit 50 sets the displacement range in the image quality priority mode. That is, the control unit 50 determines that it is not necessary to prioritize the shake correction performance because the shake is small or the pan / tilt operation is performed. Therefore, the control unit 50 performs an operation that prioritizes image quality so that a good captured image with little optical deterioration can be obtained. Therefore, the limited displacement range as shown by the solid line in FIG. Set the displacement range.

図5に戻り、ステップST5で制御部50は、判定結果の反映処理を行う。制御部50はステップST3で算出した補正量がステップST4の制限条件の判定によって設定した変位範囲を超えているとき、補正量を設定した変位範囲に制限する。また、制御部50はステップST3で算出した補正量がステップST4の制限条件の判定によって設定した変位範囲を超えていないとき、補正量を制限することなくそのまま用いる。   Returning to FIG. 5, in step ST <b> 5, the control unit 50 performs determination result reflection processing. When the correction amount calculated in step ST3 exceeds the displacement range set by the determination of the restriction condition in step ST4, the control unit 50 limits the correction amount to the set displacement range. Further, when the correction amount calculated in step ST3 does not exceed the displacement range set by the determination of the limiting condition in step ST4, the control unit 50 uses the correction amount without limitation.

ステップST6で制御部50は、防振目標位置の出力を行う。制御部50は、撮像面上に結像される光学像の振れを補正する方向に、ステップST5で決定した補正量だけ移動した位置を、補正レンズ部113における補正レンズの防振目標位置とする。さらに、制御部50は、補正レンズ部113の補正レンズが防振目標位置となるようにレンズ制御信号を生成してドライバ12に出力する。ドライバ12は、制御部50から供給されたレンズ制御信号に基づき補正レンズ部113のアクチュエータを駆動して補正レンズを防振目標位置に移動させる。   In step ST6, the control unit 50 outputs the image stabilization target position. The control unit 50 sets the position moved by the correction amount determined in step ST5 in the direction of correcting the shake of the optical image formed on the imaging surface as the vibration correction target position of the correction lens in the correction lens unit 113. . Further, the control unit 50 generates a lens control signal so that the correction lens of the correction lens unit 113 is at the image stabilization target position, and outputs the lens control signal to the driver 12. The driver 12 drives the actuator of the correction lens unit 113 based on the lens control signal supplied from the control unit 50 to move the correction lens to the image stabilization target position.

このような処理を行うと、振れが大きいことを制御部50で検出したとき、振れ補正性能優先モードに設定されて、変位範囲の制限が解除されて変位範囲が拡大される。したがって、例えばズーム位置をワイド側として歩きながら撮像を行ったとき、振れを補正した撮像動作を行うことができる。   When such processing is performed, when the control unit 50 detects that the shake is large, the shake correction performance priority mode is set, the restriction on the displacement range is released, and the displacement range is expanded. Therefore, for example, when imaging is performed while walking with the zoom position set to the wide side, an imaging operation in which shake is corrected can be performed.

歩きながら撮像を行う場合、ズーム位置がテレ側とされていると、所望の被写体が常に画面中央位置となるように撮像装置を保持することが困難である。このため、歩きながら撮像を行う場合、ズーム位置は一般的にワイド側とされる。ここで、振れが大きいとき、補正レンズ部113の変位範囲を図4に示す実線の特性から破線の特性に切り換えると、補正レンズ部113の変位範囲はワイド側で広くされる。したがって、撮像を行ったとき、振れを補正した撮像動作を行うことができる。   When imaging while walking, if the zoom position is set to the tele side, it is difficult to hold the imaging apparatus so that a desired subject is always at the center position of the screen. For this reason, when taking an image while walking, the zoom position is generally set to the wide side. If the displacement range of the correction lens unit 113 is switched from the solid line characteristic shown in FIG. 4 to the broken line characteristic when the shake is large, the displacement range of the correction lens unit 113 is widened on the wide side. Therefore, when imaging is performed, an imaging operation in which shake is corrected can be performed.

なお、ズーム位置がテレ側とされているときにも振れ補正性能を向上させる場合には、図8に示すように、最大変位範囲を「dt」よりも広い「du」に設定して、図8に示す破線のように、ワイド端からテレ端の範囲で変位範囲を拡大するように補正レンズ部113の変位範囲を切り換えればよい。   In order to improve the shake correction performance even when the zoom position is on the tele side, the maximum displacement range is set to “du” wider than “dt” as shown in FIG. As shown by a broken line in FIG. 8, the displacement range of the correction lens unit 113 may be switched so as to expand the displacement range from the wide end to the tele end.

また、振れが大きいことを制御部50で検出していないときは、画質優先モードに設定されて、変位範囲がズーム位置に応じて制限される。したがって、例えばズーム位置をワイド側として撮像を行ったとき、振れ補正による画質の劣化を抑制することができる。さらに、パンニング動作やチルティング動作が行われていることを制御部50で検出したときは、画質優先モードに設定されて、変位範囲がズーム位置に応じて制限される。したがって、パンニング動作やチルティング動作中に振れ補正が行われてしまい、パンニング動作やチルティング動作に応じて被写体が滑らかに移動しなくなってしまうことも防止できる。   Further, when the control unit 50 does not detect that the shake is large, the image quality priority mode is set, and the displacement range is limited according to the zoom position. Therefore, for example, when imaging is performed with the zoom position set to the wide side, it is possible to suppress deterioration in image quality due to shake correction. Further, when the control unit 50 detects that a panning operation or a tilting operation is being performed, the image quality priority mode is set, and the displacement range is limited according to the zoom position. Therefore, it is possible to prevent the shake from being corrected during the panning operation or the tilting operation and the subject from moving smoothly according to the panning operation or the tilting operation.

すなわち、振れの大きさに基づき補正レンズ部113の変位範囲の切り換えが行われるので、画像の劣化の緩和と振れ補正性能の向上を両立させた振れ補正を行うことができる。また、パンニング動作やチルティング動作が行われていても、振れ補正による弊害を防止できる。   In other words, since the displacement range of the correction lens unit 113 is switched based on the magnitude of the shake, it is possible to perform shake correction that achieves both mitigation of image degradation and improvement of shake correction performance. Further, even if a panning operation or a tilting operation is performed, it is possible to prevent an adverse effect due to shake correction.

図9は、振れ検出部から得られた振れ検出信号に応じて、制御部50で行われる動作を例示した図である。   FIG. 9 is a diagram illustrating an operation performed by the control unit 50 in accordance with the shake detection signal obtained from the shake detection unit.

図9の(A)は、振れ検出信号の信号レベルの変化を時間の経過に対応させて示している。この図において、振れが検出されていないときの振れ検出信号の信号レベルは、上述のように基準値「VL0」とする。閾値レベル「VLth1」は、補正レンズ部113の変位範囲を、振れ補正性能優先モードまたは画質優先モードの変位範囲に切り換えるために用いる閾値である。閾値レベル「VLth2」は、パンニング動作やチルティング動作が行われているか否か判別するための閾値である。   FIG. 9A shows a change in the signal level of the shake detection signal in correspondence with the passage of time. In this figure, the signal level of the shake detection signal when no shake is detected is the reference value “VL0” as described above. The threshold level “VLth1” is a threshold used for switching the displacement range of the correction lens unit 113 to the displacement range of the shake correction performance priority mode or the image quality priority mode. The threshold level “VLth2” is a threshold for determining whether a panning operation or a tilting operation is being performed.

図9の(B)は、パンニング動作やチルティング動作が行われているか否かの判別結果を示している。なお、パンニング動作やチルティング動作が行われていると判別されているときは「YES」、パンニング動作やチルティング動作が行われていると判別されていないときは「NO」と示している。   FIG. 9B shows a determination result of whether or not a panning operation or a tilting operation is being performed. When it is determined that the panning operation or the tilting operation is being performed, “YES” is indicated. When it is not determined that the panning operation or the tilting operation is being performed, “NO” is indicated.

図9の(C)は、振れ検出信号が閾値レベル「VLth1」を超えている比率を示している。この図において、閾値レベル「VRth」は、補正レンズ部113の変位範囲を、振れ補正性能優先モードまたは画質優先モードの変位範囲に切り換えるために用いる閾値である。   FIG. 9C shows a ratio at which the shake detection signal exceeds the threshold level “VLth1”. In this figure, the threshold level “VRth” is a threshold used for switching the displacement range of the correction lens unit 113 to the displacement range of the shake correction performance priority mode or the image quality priority mode.

図9の(D)は、補正レンズ部113の変位範囲を示しており、変位範囲が画質優先モードまたは振れ補正性能優先モードのいずれの変位範囲とされているかを示している。   FIG. 9D shows the displacement range of the correction lens unit 113, and shows whether the displacement range is the image quality priority mode or the shake correction performance priority mode.

なお、制御部50では、例えばパンニング動作やチルティング動作が行われているか否かの判別結果を「NO」、補正レンズ部113の変位範囲を画質優先モードの変位範囲として動作を開始する。   For example, the control unit 50 starts the operation by setting “NO” as a determination result of whether or not the panning operation or the tilting operation is performed, and setting the displacement range of the correction lens unit 113 as the displacement range of the image quality priority mode.

ユーザーが例えば時点t1で歩行を開始して撮像装置10の振れが大きくなると、図9の(A)に示すように、振れ検出信号は基準値「VL0」に対する信号レベルの変化量が増加する。また、振れが大きいために、閾値レベル「VLth1」を超える振れ検出信号の割合が多くなると、振れ検出信号が閾値レベル「VLth1」を超えている比率が図9の(C)に示すように増加する。   For example, when the user starts walking at time t1 and the shake of the imaging device 10 increases, the shake detection signal increases in the amount of change in the signal level with respect to the reference value “VL0” as shown in FIG. Further, when the ratio of the shake detection signal exceeding the threshold level “VLth1” increases due to the large shake, the ratio of the shake detection signal exceeding the threshold level “VLth1” increases as shown in FIG. To do.

時点t2で比率が閾値レベル「VRth」を超えたとき、図9の(B)に示すように、パンニング動作やチルティング動作が行われているか否かの判別結果は「NO」の状態とされている。したがって、制御部50は、パンニング動作やチルティング動作が行われていないときに比率が閾値レベル「VRth」を超えたことから、図9の(D)に示すように、補正レンズ部113の変位範囲を振れ補正性能優先モードの変位範囲に切り換える。   When the ratio exceeds the threshold level “VRth” at time t2, as shown in FIG. 9B, the determination result as to whether or not the panning operation or the tilting operation is being performed is “NO”. ing. Therefore, since the ratio exceeds the threshold level “VRth” when the panning operation and the tilting operation are not performed, the control unit 50 moves the displacement of the correction lens unit 113 as illustrated in FIG. Switch the range to the displacement range of shake correction performance priority mode.

振れ補正性能優先モードの変位範囲は、図4の破線で示すように制限が解除された変位範囲とされている。したがって、画質優先モードの変位範囲に設定した場合に比べて振れ補正範囲が広くされるので、例えば歩行時の振れ等によって撮像素子の撮像面上に形成される光学像の振れが大きくなっても補正することが可能となる。このため、歩きながらでも振れが補正された撮像動作を行うことができる。   The displacement range in the shake correction performance priority mode is a displacement range in which the restriction is released as indicated by a broken line in FIG. Therefore, since the shake correction range is widened compared to the case where the displacement range is set in the image quality priority mode, even if the shake of the optical image formed on the image pickup surface of the image pickup device increases due to, for example, shake during walking. It becomes possible to correct. For this reason, it is possible to perform an imaging operation in which shake is corrected while walking.

その後、時点t3で例えばユーザーが歩行を停止してパンニング動作やチルティング動作を開始する。パンニング動作やチルティング動作が行われて、図9の(A)に示すように、振れ検出信号の信号レベルが閾値レベル「VLth2」を超えると、制御部50は継続時間の測定を開始する。制御部50は、信号レベルが閾値レベル「VLth2」を超えた時点t4から、振れ検出信号の信号レベルが閾値レベル「VLth2」を超えている状態の継続時間について測定を開始する。   Thereafter, at time t3, for example, the user stops walking and starts a panning operation or a tilting operation. When the panning operation or the tilting operation is performed and the signal level of the shake detection signal exceeds the threshold level “VLth2” as shown in FIG. 9A, the control unit 50 starts measuring the duration time. The controller 50 starts measurement for the duration of the state in which the signal level of the shake detection signal exceeds the threshold level “VLth2” from the time t4 when the signal level exceeds the threshold level “VLth2”.

時点t5で継続時間が所定の時間以上となったとき、制御部50は、パンニング動作やチルティング動作が行われていると判断して、図9の(B)に示すように、パンニング動作やチルティング動作が行われているか否かの判別結果を「YES」とする。さらに、制御部50は、判定用角速度データ履歴をクリアする。判定用角速度データ履歴がクリアされると、振れ検出信号が閾値レベル「VLth1」を超えている比率は、図9の(C)に示すように「0」となる。したがって、制御部50は、比率が閾値レベル「VRth」以下となったことから、図9の(D)に示すように、補正レンズ部113の変位範囲を画質優先モードの変位範囲に切り換える。   When the duration time becomes equal to or longer than a predetermined time at time t5, the control unit 50 determines that the panning operation or the tilting operation is performed, and as shown in FIG. The determination result as to whether or not the tilting operation is being performed is “YES”. Furthermore, the control unit 50 clears the determination angular velocity data history. When the determination angular velocity data history is cleared, the ratio at which the shake detection signal exceeds the threshold level “VLth1” is “0” as shown in FIG. Accordingly, since the ratio is equal to or lower than the threshold level “VRth”, the control unit 50 switches the displacement range of the correction lens unit 113 to the displacement range of the image quality priority mode, as shown in FIG.

その後、パンニング動作やチルティング動作が終了されると、図9の(A)に示すように、振れ検出信号の信号レベルは、例えば時点t6で閾値レベル「VLth2」以下となる。このとき、制御部50は、パンニング動作やチルティング動作が終了したと判断して、図9の(B)に示すように、パンニング動作やチルティング動作が行われているか否かの判別結果を「NO」とする。   After that, when the panning operation and the tilting operation are finished, as shown in FIG. 9A, the signal level of the shake detection signal becomes, for example, a threshold level “VLth2” or less at time t6. At this time, the control unit 50 determines that the panning operation or the tilting operation is finished, and determines whether or not the panning operation or the tilting operation is performed as shown in FIG. “NO”.

このように、振れ検出信号に応じて振れの大きさの判別やパンニング動作やチルティング動作が行われているか否かの判別が行われて、判別結果に基づき補正レンズ部113の変位範囲の切り換えが行われる。したがって、振れ補正性能を向上させることができる。   As described above, according to the shake detection signal, the magnitude of the shake, whether the panning operation or the tilting operation is performed are determined, and the displacement range of the correction lens unit 113 is switched based on the determination result. Is done. Therefore, shake correction performance can be improved.

なお、図9の(A)では、振れ検出信号の信号レベルと閾値レベル「VLth1」「VLth2」を比較したが、振れ検出信号の基準値「VL0」からの変化量の絶対値を算出して、この絶対値と閾値を比較してもよい。このように、絶対値を用いれば、動きの方向に関係なく振れの大きさの判別やパンニング動作やチルティング動作が行われているか否かの判別を行うことができる。   In FIG. 9A, the signal level of the shake detection signal is compared with the threshold levels “VLth1” and “VLth2”, but the absolute value of the amount of change from the reference value “VL0” of the shake detection signal is calculated. The absolute value may be compared with a threshold value. As described above, by using the absolute value, it is possible to determine the magnitude of the shake, whether or not the panning operation or the tilting operation is performed regardless of the direction of movement.

また、変位範囲の切り換えは、振れが大きいときに振れ補正性能優先モードの変位範囲に切り換えればよく、振れ検出信号が閾値レベル「VLth1」を超えている比率に基づいて行う場合に限られるものではない。例えば、振れ検出信号の信号レベルが閾値を超えた回数が単位時間内で所定回数を超えたとき、振れ補正性能優先モードの変位範囲に切り換えるようにしてもよい。   The displacement range may be switched to the displacement range of the shake correction performance priority mode when the shake is large, and is limited to the case where the shake detection signal is performed based on the ratio exceeding the threshold level “VLth1”. is not. For example, when the number of times that the signal level of the shake detection signal exceeds the threshold value exceeds a predetermined number of times within the unit time, the displacement range of the shake correction performance priority mode may be switched.

さらに、振れ補正の動作モードは、ユーザーが選択できるようにしてもよい。例えば、動作モードとして、オフモードとスタンダードモードとアクティブモードを設ける。オフモードは、振れ補正を行わない動作モードである。スタンダードモードは、振れにかかわらず補正レンズ部の変位範囲を最大変位範囲よりも狭い範囲に制限して振れ補正を行う動作モードである。アクティブモードは、振れに応じて補正レンズ部の変位範囲を切り換えて振れ補正を行う動作モードである。このようにすれば、例えば三脚等を使用して撮像を行うとき、ユーザーはオフモードを選択することで振れ補正機能を停止させて撮像を行うことができる。また、静止した状態で撮像装置を手で構えて撮像を行うとき、ユーザーはスタンダードモードを選択することで、手振れ等を補正して画質を優先した撮像を行うことができる。さらに、手振れよりも大きな振れを生じる状態で撮像を行うとき、例えば歩きながら撮像を行うときや動いている車の中で撮像を行うとき、ユーザーはアクティブモードを選択すればよい。アクティブモードが選択された場合、振れ補正性能を向上させた振れ補正が行われるので、スタンダードモードでは補正しきれない振れも補正することが可能となる。   Further, the shake correction operation mode may be selected by the user. For example, an off mode, a standard mode, and an active mode are provided as operation modes. The off mode is an operation mode in which no shake correction is performed. The standard mode is an operation mode in which shake correction is performed by limiting the displacement range of the correction lens unit to a range narrower than the maximum displacement range regardless of the shake. The active mode is an operation mode in which shake correction is performed by switching the displacement range of the correction lens unit according to shake. In this way, for example, when imaging using a tripod or the like, the user can perform imaging by stopping the shake correction function by selecting the off mode. In addition, when performing imaging while holding the imaging apparatus with a hand in a stationary state, the user can perform imaging that prioritizes image quality by correcting camera shake and the like by selecting the standard mode. Furthermore, when taking an image in a state where a shake larger than the hand shake occurs, for example, when taking an image while walking or taking an image in a moving car, the user may select the active mode. When the active mode is selected, shake correction with improved shake correction performance is performed. Therefore, shake that cannot be corrected in the standard mode can be corrected.

<4.光学劣化補正動作>
上述のように振れ補正を行うと、振れが大きいことを制御部50で検出したとき、振れ補正性能優先モードに設定されて、変位範囲の制限が解除されて変位範囲が拡大される。また、ユーザーがアクティブモードを選択すると、変位範囲の制限が解除されて変位範囲が拡大される。このように、変位範囲が拡大されるとレンズ部11と撮像素子21との相対的位置関係が光学劣化許容範囲を超えて、撮像画の光学劣化を招いてしまう場合が生じる。例えば、MTFの劣化が許容範囲を超えてしまい、撮像画は画質の劣化した画像となってしまう。したがって、光学劣化が許容範囲を超えてしまうような振れ補正が行われる場合、例えば動作モードが振れ補正性能優先モードやアクティブモードとされる場合、光学劣化補正動作を行う。
<4. Optical degradation correction operation>
When the shake correction is performed as described above, when the control unit 50 detects that the shake is large, the shake correction performance priority mode is set, the restriction on the displacement range is released, and the displacement range is expanded. When the user selects the active mode, the restriction on the displacement range is released and the displacement range is expanded. As described above, when the displacement range is enlarged, the relative positional relationship between the lens unit 11 and the image pickup device 21 may exceed the optical deterioration allowable range, resulting in optical deterioration of the captured image. For example, the degradation of the MTF exceeds an allowable range, and the captured image becomes an image with degraded image quality. Therefore, when shake correction is performed such that the optical deterioration exceeds the allowable range, for example, when the operation mode is set to the shake correction performance priority mode or the active mode, the optical deterioration correction operation is performed.

図10は、光学劣化補正動作を示すフローチャートである。ステップST41で光学劣化補正部25は、補正対象判別処理を行う。光学劣化補正部25は、レンズ部11と撮像素子21との相対的位置関係に基づいて、光学劣化の補正が必要な補正対象の撮像画を判別してステップST42に進む。   FIG. 10 is a flowchart showing the optical deterioration correction operation. In step ST41, the optical deterioration correction unit 25 performs a correction target determination process. Based on the relative positional relationship between the lens unit 11 and the image sensor 21, the optical degradation correction unit 25 determines a captured image to be corrected that needs to be corrected for optical degradation, and proceeds to step ST42.

ステップST42で光学劣化補正部25は、補正不要画抽出処理を行う。光学劣化補正部25は、補正対象の撮像画よりも光学劣化の少ない補正不要の撮像画を抽出してステップST43に進む。   In step ST42, the optical deterioration correction unit 25 performs a correction-unnecessary image extraction process. The optical deterioration correction unit 25 extracts a correction-free captured image that has less optical deterioration than the correction target captured image, and proceeds to step ST43.

ステップST43で光学劣化補正部25は、補正処理を行う。光学劣化補正部25は、ステップST42で抽出した画像信号から、補正対象と判別された撮像画において光学劣化が顕著となる画像領域(画像劣化領域)に対応する補正用画像の画像信号を抽出する。また、光学劣化補正部25は、抽出した補正用画像の画像信号を用いて、補正対象と判別された撮像画における光学劣化の補正を行い、光学劣化が補正された画像信号を生成してステップST41に戻る。   In step ST43, the optical deterioration correction unit 25 performs a correction process. The optical degradation correction unit 25 extracts, from the image signal extracted in step ST42, an image signal of a correction image corresponding to an image region (image degradation region) in which optical degradation is noticeable in the captured image determined as the correction target. . In addition, the optical degradation correction unit 25 corrects optical degradation in the captured image determined to be the correction target using the extracted image signal of the correction image, and generates an image signal in which the optical degradation is corrected. Return to ST41.

<5.動画撮像における光学劣化補正動作>
次に、動画撮像における光学劣化補正動作について説明する。なお、以下の説明では、レンズ部11と撮像素子21との相対的位置関係を示す情報として例えば振れ補正の補正角を用いている。
<5. Optical degradation correction operation for video imaging>
Next, an optical deterioration correction operation in moving image capturing will be described. In the following description, for example, a correction angle for shake correction is used as information indicating the relative positional relationship between the lens unit 11 and the image sensor 21.

[補正対象判別処理動作]
図11は、補正対象判別処理の第1の動作を示すフローチャートである。ステップST51で補正対象判別部255は、フレーム開始であるか否か判別する。補正対象判別部255は、フレームの開始でないときステップST51に戻り、フレームが開始したときステップST52に進む。
[Correction target discrimination processing operation]
FIG. 11 is a flowchart showing a first operation of the correction target discrimination process. In step ST51, the correction target determination unit 255 determines whether it is a frame start. The correction target determination unit 255 returns to step ST51 when the frame is not started, and proceeds to step ST52 when the frame is started.

ステップST52で補正対象判別部255は、初期化を行う。補正対象判別部255は、補正対象判別処理で用いるパラメータ等の初期化を行う。補正対象判別部255は、例えば補正対象のフレームであるか補正不要のフレームであるかを示す補正フラグをクリアする。また、補正対象判別部255は、撮像画の露光期間内における振れ補正角の最大値を示す補正角最大値や、露光期間内で補正角が最大値となった時間を示す補正角最大値時間をクリアしてステップST53に進む。   In step ST52, the correction target determination unit 255 performs initialization. The correction target determination unit 255 initializes parameters and the like used in the correction target determination process. For example, the correction target determination unit 255 clears a correction flag indicating whether the frame is a correction target frame or a frame that does not require correction. Further, the correction target determination unit 255 corrects a maximum correction angle value that indicates the maximum value of the shake correction angle within the exposure period of the captured image, and a correction angle maximum value time that indicates the time when the correction angle reaches the maximum value within the exposure period Is advanced to step ST53.

ステップST53で補正対象判別部255は、補正角を検出する。補正対象判別部255は、位置センサ13からの位置信号や振れ検出部42からの振れ検出信号に応じて振れ補正の補正角を検出してステップST54に進む。なお、補正対象判別部255は、制御部50から振れ補正の補正角を取得するようにしてもよい。   In step ST53, the correction target determining unit 255 detects a correction angle. The correction target determination unit 255 detects a correction angle for shake correction according to the position signal from the position sensor 13 and the shake detection signal from the shake detection unit 42, and proceeds to step ST54. Note that the correction target determination unit 255 may acquire a correction angle for shake correction from the control unit 50.

ステップST54で補正対象判別部255は、補正角が閾値角度を超えているか否か判別する。補正対象判別部255は、補正角が閾値角度を超えているときステップST55に進み、補正角が閾値角度を超えていないときステップST60に進む。閾値角度は、光学劣化が例えば許容範囲を超えない角度に予め設定しておく。   In step ST54, the correction target determination unit 255 determines whether or not the correction angle exceeds the threshold angle. The correction target determination unit 255 proceeds to step ST55 when the correction angle exceeds the threshold angle, and proceeds to step ST60 when the correction angle does not exceed the threshold angle. The threshold angle is set in advance to an angle at which optical deterioration does not exceed the allowable range, for example.

ステップST55で補正対象判別部255は、補正フラグをセットする。補正対象判別部255は、補正角が閾値角度を超えたことから、撮像画を補正対象と判別して補正フラグをセットしてステップST56に進む。   In step ST55, the correction target determination unit 255 sets a correction flag. Since the correction angle exceeds the threshold angle, the correction target determination unit 255 determines the captured image as a correction target, sets a correction flag, and proceeds to step ST56.

ステップST56で補正対象判別部255は、フレーム番号を記憶する。補正対象判別部255は、補正角が閾値角度を超えたフレーム、すなわち補正フラグをセットしたフレームのフレーム番号を記憶してステップST57に進む。   In step ST56, the correction target determining unit 255 stores the frame number. The correction target determination unit 255 stores the frame number of the frame whose correction angle exceeds the threshold angle, that is, the frame for which the correction flag is set, and proceeds to step ST57.

ステップST57で補正対象判別部255は、補正角が補正角最大値よりも大きいか否か判別する。補正対象判別部255は、補正角が補正角最大値よりも大きいときステップST58に進み、補正角が補正角最大値よりも大きくないときステップST60に進む。   In step ST57, the correction target determination unit 255 determines whether the correction angle is larger than the maximum correction angle value. The correction target determination unit 255 proceeds to step ST58 when the correction angle is larger than the maximum correction angle value, and proceeds to step ST60 when the correction angle is not larger than the maximum correction angle value.

ステップST58で補正対象判別部255は、補正角最大値の設定を行う。補正対象判別部255はステップST53で検出した補正角を補正角最大値に設定してステップST59に進む。   In step ST58, the correction target determination unit 255 sets a correction angle maximum value. The correction target discriminating unit 255 sets the correction angle detected in step ST53 to the maximum correction angle value, and proceeds to step ST59.

ステップST59で補正対象判別部255は、補正角最大値時間の設定を行う。補正対象判別部255は、露光期間内における現在時間を補正角最大値時間に設定してステップST60に進む。   In step ST59, the correction target determination unit 255 sets a correction angle maximum value time. The correction target determination unit 255 sets the current time within the exposure period to the correction angle maximum value time, and proceeds to step ST60.

ステップST60で補正対象判別部255は、フレーム終了であるか否か判別する。補正対象判別部255は、フレームが終了していないときステップST53に戻り、フレームが終了したときステップST61に進む。   In step ST60, the correction target determination unit 255 determines whether or not it is the end of the frame. The correction target determination unit 255 returns to step ST53 when the frame has not ended, and proceeds to step ST61 when the frame has ended.

ステップST61で補正対象判別部255は、補正情報を情報テーブルに記録する。補正対象判別部255は、補正フラグ、フレーム番号、補正角最大値、補正角最大値時間を補正情報として情報テーブルに記録する。また、補正対象判別部255は、補正対処のフレームと判別されたとき、検出した補正角を時間インデックスに関係付けて、補正情報として情報テーブルに記録する。なお、補正情報は、補正対処のフレームであるか補正不要のフレームであるかにかかわらず、補正角最大値や補正角最大値時間が更新されたとき、情報テーブルに記録してもよい。また、補正角を検出したとき時間インデックスと補正角を関係付けて、順次情報テーブルに記録してもよい。   In step ST61, the correction target determination unit 255 records the correction information in the information table. The correction target determination unit 255 records the correction flag, frame number, correction angle maximum value, and correction angle maximum value time as correction information in the information table. Further, when the correction target determination unit 255 determines that the frame is a frame to be corrected, the correction target determination unit 255 associates the detected correction angle with the time index and records it as correction information in the information table. The correction information may be recorded in the information table when the correction angle maximum value or the correction angle maximum value time is updated, regardless of whether the frame is a correction handling frame or a frame that does not require correction. Further, when the correction angle is detected, the time index and the correction angle may be related and sequentially recorded in the information table.

このような処理をフレーム毎に行うと、補正角が閾値角度を超えるフレームを補間対象のフレームとして判別できる。また、補正対象の各フレームについて、フレーム内における補正角最大値や補正角最大値時間等を情報テーブルに記録しておくことができる。さらに、補正対処のフレームと判別されたとき、検出した補正角を時間インデックスに関係付けて、補正情報として情報テーブルに記録しておくことができる。なお、情報テーブルは、少なくともメモリ部251に記憶されるフレームの補正情報を記録できるようにする。また、情報テーブルでは、最新の情報が記録されているように、順次新たな情報で情報テーブルにおける最も古い補正情報を更新するようにしてもよい。   When such processing is performed for each frame, a frame whose correction angle exceeds the threshold angle can be determined as a frame to be interpolated. Further, for each correction target frame, the maximum correction angle value, the maximum correction angle value time, and the like in the frame can be recorded in the information table. Furthermore, when it is determined that the frame is to be corrected, the detected correction angle can be related to the time index and recorded in the information table as correction information. The information table enables at least the correction information of the frame stored in the memory unit 251 to be recorded. In the information table, the oldest correction information in the information table may be sequentially updated with new information so that the latest information is recorded.

図12は、補正対象判別処理の第1の動作を説明するための図である。なお、図12の(A)は、撮像時における補正角の時間変化を例示している。また、図12の(B)は撮像動作を行うことにより得られた3フレーム分の撮像画を例示している。ここで、3フレーム分の撮像画は、振れ補正が行われていることから、撮像範囲が等しい画像となる。また、撮像画における斜線部は、光学劣化を生じた画像部分を簡略化して示している。   FIG. 12 is a diagram for explaining a first operation of the correction target determination process. In addition, (A) of FIG. 12 has illustrated the time change of the correction angle at the time of imaging. FIG. 12B illustrates a captured image for three frames obtained by performing the imaging operation. Here, since the captured images for three frames are subjected to shake correction, the images having the same imaging range are obtained. Further, the hatched portion in the captured image shows a simplified image portion in which optical degradation has occurred.

補正対象判別部255は、位置センサ13からのセンサ信号や振れ検出部42からの振れ検出信号に基づき、露光期間中の補正角を検出する。補正対象判別部255は、露光期間中に補正角が閾値角度を超えたとき、すなわち補正角が補正角制限範囲を超えたとき、この撮像画を補正対象とする。ここで図12に示すフレームF1,F3は、露光期間中に補正角が補正角制限範囲を超えていないことから補正不要のフレームとする。また、フレームF2は、露光期間中に補正角が補正角制限範囲を超えていることから補正対象とする。補正対象判別部255は、フレームF2に対して補正フラグをセットする。また、補正対象判別部255は、補正角最大値と補正角最大値時間を情報テーブルに記録する。さらに、補正対象判別部255は、補正対象であるフレームF2について、補正角に時間インデックスを関係付けて情報テーブルに記録する。   The correction target determination unit 255 detects the correction angle during the exposure period based on the sensor signal from the position sensor 13 and the shake detection signal from the shake detection unit 42. The correction target determination unit 255 sets this captured image as a correction target when the correction angle exceeds the threshold angle during the exposure period, that is, when the correction angle exceeds the correction angle limit range. Here, frames F1 and F3 shown in FIG. 12 are frames that do not require correction because the correction angle does not exceed the correction angle limit range during the exposure period. The frame F2 is a correction target because the correction angle exceeds the correction angle limit range during the exposure period. The correction target determination unit 255 sets a correction flag for the frame F2. Further, the correction target determination unit 255 records the correction angle maximum value and the correction angle maximum value time in the information table. Further, the correction target determination unit 255 records the correction target frame F2 in the information table by associating the correction index with the time index.

図13は、補正対象判別処理の第2の動作を示すフローチャートである。ステップST71で補正対象判別部255は、フレーム開始であるか否か判別する。補正対象判別部255は、フレームが開始したときステップST72に進み、フレームの開始でないときステップST71に戻る。   FIG. 13 is a flowchart illustrating a second operation of the correction target determination process. In step ST71, the correction target determination unit 255 determines whether it is a frame start. The correction target determination unit 255 proceeds to step ST72 when the frame is started, and returns to step ST71 when the frame is not started.

ステップST72で補正対象判別部255は、初期化を行う。補正対象判別部255は、補正対象判別処理で用いるパラメータ等の初期化を行う。補正対象判別部255は、例えば補正対象のフレームであるか補正不要のフレームであるかを示す補正フラグをクリアする。また、補正対象判別部255は、撮像画の露光期間内における振れ補正角の最大値を示す補正角最大値や、露光期間内で補正角が最大値となった時間を示す補正角最大値時間をクリアする。さらに補正対象判別部255は、補正角を積分した補正角積分値をクリアしてステップST73に進む。   In step ST72, the correction target determination unit 255 performs initialization. The correction target determination unit 255 initializes parameters and the like used in the correction target determination process. For example, the correction target determination unit 255 clears a correction flag indicating whether the frame is a correction target frame or a frame that does not require correction. Further, the correction target determination unit 255 corrects a maximum correction angle value that indicates the maximum value of the shake correction angle within the exposure period of the captured image, and a correction angle maximum value time that indicates the time when the correction angle reaches the maximum value within the exposure period. To clear. Further, the correction target determination unit 255 clears the correction angle integral value obtained by integrating the correction angle, and proceeds to step ST73.

ステップST73で補正対象判別部255は、補正角を検出する。補正対象判別部255は、位置センサ13からの位置信号や振れ検出部42からの振れ検出信号に応じて振れ補正の補正角を検出してステップST74に進む。なお、補正対象判別部255は、制御部50から振れ補正の補正角を取得するようにしてもよい。   In step ST73, the correction target determination unit 255 detects a correction angle. The correction target determination unit 255 detects a correction angle for shake correction according to the position signal from the position sensor 13 and the shake detection signal from the shake detection unit 42, and proceeds to step ST74. Note that the correction target determination unit 255 may acquire a correction angle for shake correction from the control unit 50.

ステップST74で補正対象判別部255は、補正角が閾値角度を超えているか否か判別する。補正対象判別部255は補正角が閾値角度を超えているときステップST75に進み、補正角が閾値角度を超えていないとき、ステップST83に進む。   In step ST74, the correction target determination unit 255 determines whether or not the correction angle exceeds the threshold angle. The correction target determination unit 255 proceeds to step ST75 when the correction angle exceeds the threshold angle, and proceeds to step ST83 when the correction angle does not exceed the threshold angle.

ステップST75で補正対象判別部255は、補正角の閾値角度を超える部分を補正積分値に加算してステップST76に進む。   In step ST75, the correction target determination unit 255 adds a portion of the correction angle exceeding the threshold angle to the correction integrated value, and proceeds to step ST76.

ステップST76で補正対象判別部255は、補正角と現在時間を記憶してステップST77に進む。   In step ST76, the correction target determination unit 255 stores the correction angle and the current time, and proceeds to step ST77.

ステップST77で補正対象判別部255は、補正積分値が積分値用閾値を超えているか否か判別する。補正対象判別部255は、補正積分値が積分値用閾値を超えているときステップST78に進み、補正積分値が積分値用閾値を超えていないときステップST80に進む。   In step ST77, the correction target determination unit 255 determines whether or not the correction integrated value exceeds the integral value threshold. The correction target determination unit 255 proceeds to step ST78 when the corrected integral value exceeds the integral value threshold value, and proceeds to step ST80 when the corrected integral value does not exceed the integral value threshold value.

ステップST78で補正対象判別部255は、補正フラグをセットする。補正対象判別部255は、補正積分値が積分値用閾値を超えたことから、補正対象と判別して補正フラグをセットしてステップST79に進む。   In step ST78, the correction target determining unit 255 sets a correction flag. Since the correction integrated value exceeds the integral value threshold, the correction target determination unit 255 determines that the correction target is a correction target, sets a correction flag, and proceeds to step ST79.

ステップST79で補正対象判別部255は、フレーム番号を記憶する。補正対象判別部255は、補正角が閾値角度を超えたフレーム、すなわち補正フラグをセットしたフレームのフレーム番号を記憶してステップST80に進む。   In step ST79, the correction target determination unit 255 stores the frame number. The correction target determination unit 255 stores the frame number of the frame whose correction angle exceeds the threshold angle, that is, the frame for which the correction flag is set, and proceeds to step ST80.

ステップST80で補正対象判別部255は、補正角が補正角最大値よりも大きいか否か判別する。補正対象判別部255は、補正角が補正角最大値よりも大きいときステップST81に進み、補正角が補正角最大値よりも大きくないときステップST83に進む。   In step ST80, the correction target determination unit 255 determines whether or not the correction angle is larger than the maximum correction angle value. The correction target determination unit 255 proceeds to step ST81 when the correction angle is larger than the maximum correction angle value, and proceeds to step ST83 when the correction angle is not larger than the maximum correction angle value.

ステップST81で補正対象判別部255は、補正角最大値の設定を行う。補正対象判別部255はステップST73で検出した補正角を補正角最大値に設定してステップST82に進む。   In step ST81, the correction target determination unit 255 sets a correction angle maximum value. The correction target determination unit 255 sets the correction angle detected in step ST73 to the maximum correction angle value, and proceeds to step ST82.

ステップST82で補正対象判別部255は、補正角最大値時間の設定を行う。補正対象判別部255は、露光期間内における現在時間を補正角最大値時間に設定してステップST83に進む。   In step ST82, the correction target determination unit 255 sets the correction angle maximum value time. The correction target determination unit 255 sets the current time within the exposure period to the correction angle maximum value time, and proceeds to step ST83.

ステップST83で補正対象判別部255は、フレーム終了であるか否か判別する。補正対象判別部255は、フレームが終了していないときステップST73に戻り、フレームが終了したときステップST84に進む。   In step ST83, the correction target determination unit 255 determines whether or not it is the end of the frame. The correction target determination unit 255 returns to step ST73 when the frame has not ended, and proceeds to step ST84 when the frame has ended.

ステップST84で補正対象判別部255は、補正情報を情報テーブルに記録する。補正対象判別部255は、補正フラグ、フレーム番号、補正角最大値、補正角最大値時間を補正情報として情報テーブルに記録する。また、補正対象判別部255は、補正対象のフレームと判別されたとき、検出した補正角を時間インデックスに関係付けて、補正情報として情報テーブルに記録する。なお、補正情報は、補正対象のフレームであるか補正不要のフレームであるかにかかわらず、補正角最大値や補正角最大値時間が更新されたとき、情報テーブルに記録してもよい。また、補正角を検出したとき時間インデックスと補正角を関係付けて、順次情報テーブルに記録してもよい。   In step ST84, the correction target determining unit 255 records the correction information in the information table. The correction target determination unit 255 records the correction flag, frame number, correction angle maximum value, and correction angle maximum value time as correction information in the information table. Further, when the correction target determination unit 255 determines that the frame is a correction target frame, the correction target determination unit 255 associates the detected correction angle with the time index and records it as correction information in the information table. The correction information may be recorded in the information table when the correction angle maximum value or the correction angle maximum value time is updated regardless of whether the frame is a correction target frame or a frame that does not require correction. Further, when the correction angle is detected, the time index and the correction angle may be related and sequentially recorded in the information table.

このような処理をフレーム毎に行うと、補正角の閾値角度を超える部分の積分値が積分値用閾値を超えるフレームを、補間対象のフレームとして判別できる。また、補間対象の各フレームについて、フレーム内における補正角最大値や補正角最大値時間等を、補正情報として情報テーブルに記録しておくことができる。さらに、補正対処フレームと判別されたとき、検出した補正角を時間インデックスに関係付けて、補正情報として情報テーブルに記録しておくことができる。   When such processing is performed for each frame, a frame in which the integral value of the portion exceeding the threshold value of the correction angle exceeds the integral value threshold value can be determined as a frame to be interpolated. Further, for each frame to be interpolated, the correction angle maximum value, the correction angle maximum value time, and the like in the frame can be recorded in the information table as correction information. Further, when it is determined that the frame is a correction handling frame, the detected correction angle can be related to the time index and recorded in the information table as correction information.

図14は、補正対象判別処理の第2の動作を説明するための図である。なお、図14の(A)は、撮像時における補正角の時間変化を例示している。また、図14の(B)は撮像動作を行うことにより得られた3フレーム分の撮像画を例示している。また、撮像画における斜線部は、光学劣化を生じた画像部分を簡略化して示している。   FIG. 14 is a diagram for explaining a second operation of the correction target determination process. FIG. 14A illustrates the change in correction angle with time during imaging. FIG. 14B illustrates a captured image for three frames obtained by performing the imaging operation. Further, the hatched portion in the captured image shows a simplified image portion in which optical degradation has occurred.

補正対象判別部255は、位置センサ13からのセンサ信号や振れ検出部42からの振れ検出信号に基づき、露光期間中の補正角を検出する。補正対象判別部255は、補正角の閾値角度を超える部分を補正積分値に加算して、補正積分値が積分値用閾値を超える撮像画を補正対象とする。ここで、補正角の閾値角度「θth」を超える部分をフレーム内で順次加算した補正積分値が、フレームF11,F12では積分値用閾値を超えていないとき、このフレームを補正不要のフレームとする。また、フレームF13において、補正角の閾値角度「θth」を超える部分をフレーム内で順次加算した補正積分値が、フレームF13で積分値用閾値を超えるとき、この撮像画を補正対象とする。補正対象判別部255は、補正対象と判別された撮像画であるフレームF13に対して補正フラグをセットする。また、補正対象判別部255は、補正角最大値と補正角最大値時間を情報テーブルに記録する。さらに、補正対象判別部255は、フレームF13について、補正角に時間インデックスを関係付けて情報テーブルに記録する。   The correction target determination unit 255 detects the correction angle during the exposure period based on the sensor signal from the position sensor 13 and the shake detection signal from the shake detection unit 42. The correction target determination unit 255 adds a portion of the correction angle that exceeds the threshold angle to the correction integral value, and sets a captured image whose correction integration value exceeds the integral value threshold as a correction target. Here, when the corrected integral value obtained by sequentially adding the portions of the correction angle exceeding the threshold angle “θth” within the frame does not exceed the integral value threshold in the frames F11 and F12, this frame is determined as a frame that does not require correction. . In addition, in the frame F13, when the corrected integral value obtained by sequentially adding the portions exceeding the threshold angle “θth” of the correction angle within the frame exceeds the integral value threshold value in the frame F13, this captured image is set as a correction target. The correction target determination unit 255 sets a correction flag for the frame F13 that is a captured image that has been determined as a correction target. Further, the correction target determination unit 255 records the correction angle maximum value and the correction angle maximum value time in the information table. Further, the correction target determination unit 255 records the frame F13 in the information table in association with the correction angle and the time index.

[画像抽出処理動作]
図15は、画像抽出処理動作を示すフローチャートである。ステップST91で補正不要画抽出部256は、撮像画に対して補正フラグがセットされているか否かを判別する。補正不要画抽出部256は、撮像画に関する補正情報において、補正フラグがセットされているときステップST92に進み、補正フラグがセットされていないとき処理を終了する。
[Image extraction processing operation]
FIG. 15 is a flowchart showing the image extraction processing operation. In step ST91, the correction unnecessary image extraction unit 256 determines whether a correction flag is set for the captured image. The correction unnecessary image extraction unit 256 proceeds to step ST92 when the correction flag is set in the correction information regarding the captured image, and ends the process when the correction flag is not set.

ステップST92で補正不要画抽出部256は、前後のフレームの補正フラグがクリアであるか否か判別する。補正不要画抽出部256は、撮像画に関する補正情報で示されたフレーム番号に基づき、前後のフレームの補正情報を検索する。ここで、前後のフレームに関する補正情報において、補正フラグがクリアであるときステップST93に進み、前後のフレームの補正フラグがセットされているとき、または一方のフレームのみ補正フラグがクリアされているときステップST94に進む。   In step ST92, the unnecessary image extraction unit 256 determines whether or not the correction flags of the previous and subsequent frames are clear. The correction unnecessary image extraction unit 256 searches the correction information of the previous and subsequent frames based on the frame number indicated by the correction information regarding the captured image. Here, in the correction information regarding the previous and subsequent frames, the process proceeds to step ST93 when the correction flag is clear, and when the correction flag for the previous and subsequent frames is set, or when the correction flag is cleared only for one frame, step. Proceed to ST94.

ステップST93で補正不要画抽出部256は、補正角最大時間が露光期間の中央より遅れている否か判別する。補正不要画抽出部256は、補正角最大時間が露光期間の中央より遅れているときステップST96に進み、補正角最大時間が露光期間の中央より遅れていないときステップST97に進む。   In step ST93, the correction unnecessary image extracting unit 256 determines whether or not the maximum correction angle time is delayed from the center of the exposure period. The correction unnecessary image extraction unit 256 proceeds to step ST96 when the maximum correction angle time is delayed from the center of the exposure period, and proceeds to step ST97 when the maximum correction angle time is not delayed from the center of the exposure period.

ステップST94で補正不要画抽出部256は、前後のフレームの補正フラグがセットされているか否か判別する。補正不要画抽出部256は、前後のフレームのいずれか1つがクリアであるとき、ステップST95に進み、前後のフレームの補正フラグが共にセットされているときステップST98に進む。   In step ST94, the correction unnecessary image extraction unit 256 determines whether the correction flags of the previous and subsequent frames are set. The correction unnecessary image extraction unit 256 proceeds to step ST95 when any one of the preceding and succeeding frames is clear, and proceeds to step ST98 when both the correction flags of the preceding and following frames are set.

ステップST95で補正不要画抽出部256は、後フレームの補正フラグがセットされているか否か判別する。補正不要画抽出部256は、前フレームの補正フラグがセットされているときステップST96に進み、後フレームの補正フラグがセットされているときステップST97に進む。   In step ST95, the unnecessary image extraction unit 256 determines whether the correction flag of the subsequent frame is set. The correction unnecessary image extraction unit 256 proceeds to step ST96 when the correction flag of the previous frame is set, and proceeds to step ST97 when the correction flag of the subsequent frame is set.

ステップST96で補正不要画抽出部256は、後フレームの撮像画を抽出して画像抽出処理を終了する。   In step ST96, the correction unnecessary image extraction unit 256 extracts the captured image of the subsequent frame, and ends the image extraction process.

ステップST97で補正不要画抽出部256は、前フレームの撮像画を抽出して画像抽出処理を終了する。   In step ST97, the correction unnecessary image extraction unit 256 extracts the captured image of the previous frame and ends the image extraction process.

ステップST98で補正不要画抽出部256は、補正不要画記憶部の撮像画を抽出して画像抽出処理を終了する。   In step ST98, the correction unnecessary image extraction unit 256 extracts the captured image stored in the correction unnecessary image storage unit, and ends the image extraction process.

このような画像抽出処理をフレーム毎に行うと、撮像画が補正対象であるとき、この撮像画よりも光学劣化の少ない前フレームまたは後フレームの撮像画あるいは補正不要画記憶部の撮像画が補正不要画抽出部256で抽出される。   When such image extraction processing is performed for each frame, when the captured image is a correction target, the captured image of the previous frame or the subsequent frame with less optical deterioration than the captured image or the captured image in the correction unnecessary image storage unit is corrected. Unnecessary image extraction unit 256 extracts the image.

図16は、画像抽出処理動作を説明するための図である。なお、図16の(A)は、撮像時における補正角の時間変化を例示している。また、図16の(B)は撮像動作を行うことにより得られた3フレーム分の撮像画を例示している。また、撮像画における斜線部は、光学劣化を生じた画像部分を簡略化して示している。   FIG. 16 is a diagram for explaining the image extraction processing operation. Note that FIG. 16A illustrates a change in correction angle with time during imaging. FIG. 16B illustrates a captured image for three frames obtained by performing the imaging operation. Further, the hatched portion in the captured image shows a simplified image portion in which optical degradation has occurred.

補正不要画抽出部256は、メモリ251nに記憶されているフレームF2の撮像画に関する補正情報において、補正フラグがセットされているとき、このフレームF2の撮像画よりも光学劣化の少ない撮像画の抽出を行う。補正不要画抽出部256は、図16の(A)(B)に示すように、フレームF2の前後であるフレームF1とフレームF3において、補正角が補正角制限範囲内となり補正不要と判別されているとき、フレームF2の撮像画に関する補正情報の補正角最大値時間が、前フレームに近いか後フレームに近いか判別する。ここで、フレームF2における補正角最大値時間が、図16の(A)に示すように前フレームに近いとき前フレームであるフレームF1の撮像画をメモリ251n-1から抽出して補正処理部258に出力する。   When the correction flag is set in the correction information related to the captured image of the frame F2 stored in the memory 251n, the correction unnecessary image extraction unit 256 extracts the captured image with less optical deterioration than the captured image of the frame F2. I do. As shown in FIGS. 16A and 16B, the correction-unnecessary image extraction unit 256 determines that the correction angle is within the correction angle limit range in the frames F1 and F3 before and after the frame F2, and that correction is unnecessary. When it is, it is determined whether the correction angle maximum value time of the correction information related to the captured image of the frame F2 is close to the previous frame or the rear frame. Here, when the maximum correction angle time in the frame F2 is close to the previous frame as shown in FIG. 16A, the captured image of the frame F1, which is the previous frame, is extracted from the memory 251n-1, and the correction processing unit 258 is performed. Output to.

また、図16の(C)は、前フレームであるフレームF1の撮像画が補正対象と判別されており、後フレームであるフレームF3の撮像画が補正不要と判別されている場合を示している。この場合、補正不要画抽出部256は、フレームF3の撮像画をメモリ251n+1から抽出して補正処理部258に出力する。   FIG. 16C shows a case where the captured image of the frame F1, which is the previous frame, is determined as a correction target, and the captured image of the frame F3, which is the subsequent frame, is determined to be unnecessary. . In this case, the correction unnecessary image extraction unit 256 extracts the captured image of the frame F3 from the memory 251n + 1 and outputs it to the correction processing unit 258.

さらに、図16の(D)は、メモリ部251に記憶されている撮像画が補正対象と判別された場合を示している。この場合、補正不要画抽出部256は、メモリ部251から光学劣化の少ない撮像画の抽出を行うことができないため、補正不要画記憶部257に記憶されている例えはフレームF-1の撮像画を抽出して補正処理部258に出力する。   Further, (D) of FIG. 16 illustrates a case where the captured image stored in the memory unit 251 is determined as a correction target. In this case, since the correction unnecessary image extraction unit 256 cannot extract a captured image with little optical deterioration from the memory unit 251, for example, the captured image of the frame F-1 stored in the correction unnecessary image storage unit 257. Is extracted and output to the correction processing unit 258.

[補正処理動作]
図17は、補正処理動作を示すフローチャートである。ステップST101で補正処理部258は、撮像画に対して補正フラグがセットされているか否かを判別する。補正処理部258は、補正フラグがセットされているときステップST102に進み、補正フラグがセットされていないときステップST103に進む。
[Correction processing operation]
FIG. 17 is a flowchart showing the correction processing operation. In step ST101, the correction processing unit 258 determines whether a correction flag is set for the captured image. The correction processing unit 258 proceeds to step ST102 when the correction flag is set, and proceeds to step ST103 when the correction flag is not set.

ステップST102で補正処理部258は、時間インデックスをクリアしてステップST103に進む。   In step ST102, the correction processing unit 258 clears the time index and proceeds to step ST103.

ステップST103で補正処理部258は、補正処理実施条件を満たしているか否か判別する。補正処理部258は、時間インデックスの補正角と時間インデックスに閾値時間を加算した時間インデックスの補正角が等しくなったとき補正処理を行う。閾値時間は、1フレームの露光時間よりも短い時間、例えば1フレームの露光時間の10%〜50%程度に設定する。補正処理部258は、時間インデックスの補正角と時間インデックスに閾値時間を加算した時間インデックスの補正角が等しくないときステップST104に進み、等しくなったときステップST106に進む。   In step ST103, the correction processing unit 258 determines whether the correction processing execution condition is satisfied. The correction processing unit 258 performs correction processing when the correction angle of the time index is equal to the correction angle of the time index obtained by adding the threshold time to the time index. The threshold time is set to a time shorter than the exposure time of one frame, for example, about 10% to 50% of the exposure time of one frame. The correction processing unit 258 proceeds to step ST104 when the correction angle of the time index and the correction angle of the time index obtained by adding the threshold time to the time index are not equal, and proceeds to step ST106 when they are equal.

ステップST104で補正処理部258は、時間インデックスが最後の時間インデックスであるか否か判別する。補正処理部258は、時間インデックスが露光期間内の最後の時間インデックスでないときステップST105に進み、時間インデックスが露光期間内の最後の時間インデックスであることを示しているとき、補正処理動作を終了する。   In step ST104, the correction processing unit 258 determines whether or not the time index is the last time index. When the time index is not the last time index in the exposure period, the correction processing unit 258 proceeds to step ST105, and when the time index indicates that it is the last time index in the exposure period, the correction processing operation ends. .

ステップST105で補正処理部258は、時間インデックスをインクリメントしてステップST103に戻る。   In step ST105, the correction processing unit 258 increments the time index and returns to step ST103.

ステップST106で補正処理部258は、補正処理の補正角を設定する。補正処理部258は、ステップST103で補正処理実施条件を満たしたときの時間インデックスの補正角を補正処理の補正角とする。   In step ST106, the correction processing unit 258 sets a correction angle for the correction processing. The correction processing unit 258 sets the correction angle of the time index when the correction process execution condition is satisfied in step ST103 as the correction angle of the correction process.

このようにステップST103からステップST105の処理を行うと、補正角が次に等しい補正角となるまでの期間が閾値時間と等しくなったとき補正処理の補正角が設定されてステップST107に進む。   When the processing from step ST103 to step ST105 is performed in this way, the correction angle for the correction processing is set when the period until the correction angle becomes the next equal correction angle is equal to the threshold time, and the process proceeds to step ST107.

ところで、1フレームの露光期間において、補正角が補正角制限範囲を超えている期間が短いと、光学劣化も少ない。したがって、補正角が補正角制限範囲を超えても、補正角制限範囲を超えている期間が短いときには光学劣化の補正を行う必要がない。ここで、ステップST103からステップST105の処理を行えば、補正角制限範囲を超えている期間が閾値時間よりも短いときに補正処理の補正角が設定されることがない。したがって、光学劣化の補正が不必要に行われてしまうことを防止できる。   By the way, if the period during which the correction angle exceeds the correction angle limit range is short in the exposure period of one frame, the optical deterioration is small. Therefore, even if the correction angle exceeds the correction angle limit range, it is not necessary to correct optical deterioration when the period during which the correction angle limit range is exceeded is short. Here, if the processing from step ST103 to step ST105 is performed, the correction angle of the correction processing is not set when the period exceeding the correction angle limit range is shorter than the threshold time. Therefore, unnecessary correction of optical deterioration can be prevented.

ステップST107で補正処理部258は、補正用画像を取得する。補正処理部258は、設定された補正角に応じて補正領域を決定する。さらに、補正処理部258は、補正不要画抽出部256で抽出された撮像画から、補正領域の画像を補正用画像として抽出してステップST108に進む。なお、補正領域は、補正角と光学劣化の関係を測定して補正角に対応する光学劣化の補正領域を予め決定して記憶させておけば、設定された補正角に応じた補正領域を容易に決定できる。   In step ST107, the correction processing unit 258 acquires a correction image. The correction processing unit 258 determines a correction area according to the set correction angle. Further, the correction processing unit 258 extracts the image of the correction area as a correction image from the captured image extracted by the correction unnecessary image extraction unit 256, and proceeds to step ST108. In addition, if the relationship between the correction angle and the optical deterioration is measured and the optical deterioration correction area corresponding to the correction angle is determined and stored in advance, the correction area can be easily set according to the set correction angle. Can be determined.

ステップST108で補正処理部258は、画像補正処理を行う。補正処理部258は、ステップST107で取得した補正領域の補正用画像を用いて、補正対象の撮像画における光学劣化の補正を行う。補正処理部258は、例えば抽出した補正用画像を補正対象の撮像画における補正領域に貼り付けて光学劣化を補正する。また、補正用画像と補正対象の撮像画における補正領域の画像をブレンドして光学劣化を補正するようにしてもよい。さらに、補正用画像と補正対象の撮像画をブレンドする場合、光学劣化の少ない領域では補正用画像の割合を小さくして、光学劣化が大きくなる領域では、補正用画像の割合を大きくする。このようにブレンド比を制御すれば、光学劣化の補正が行われている領域と光学劣化の補正が行われていない領域との境界を目立たなくできる。   In step ST108, the correction processing unit 258 performs image correction processing. The correction processing unit 258 corrects optical deterioration in the captured image to be corrected using the correction image in the correction area acquired in step ST107. The correction processing unit 258 corrects optical deterioration by pasting the extracted correction image, for example, on the correction region in the captured image to be corrected. Further, the optical deterioration may be corrected by blending the correction image and the image of the correction area in the correction target captured image. Further, when the correction image and the captured image to be corrected are blended, the ratio of the correction image is reduced in the area where the optical deterioration is small, and the ratio of the correction image is increased in the area where the optical deterioration is large. By controlling the blend ratio in this way, the boundary between the area where the optical deterioration is corrected and the area where the optical deterioration is not corrected can be made inconspicuous.

このような補正処理をフレーム毎に行うと、補正対象の撮像画において光学劣化が顕著となる領域の画像を、補正対象の撮像画よりも光学劣化の少ない撮像画から抽出した補正用画像を用いて光学劣化の補正を行うことができる。   When such correction processing is performed for each frame, an image in a region where the optical degradation is significant in the captured image to be corrected is extracted from the captured image with less optical degradation than the captured image to be corrected. Thus, optical deterioration can be corrected.

なお、フローチャートでは示していないが、露光期間よりも短い閾値時間を設定して、この閾値時間よりも補正角が補正角制限範囲を超えている時間が長いとき、補正角最大値を補正処理の補正角に設定して光学劣化の補正を行うようにしてもよい。この場合、補正処理の補正角は、図17に示す補正動作よりも大きくなることから、補正領域が広くなる。   Although not shown in the flowchart, when a threshold time shorter than the exposure period is set and the time during which the correction angle exceeds the correction angle limit range is longer than the threshold time, the correction angle maximum value is corrected. The correction of the optical deterioration may be performed by setting the correction angle. In this case, since the correction angle of the correction process is larger than that of the correction operation shown in FIG. 17, the correction area becomes wide.

図18は、補正処理動作を説明するための図である。なお、図18の(A)は、撮像時における補正角の時間変化を例示している。図18の(B)は撮像動作を行うことにより得られた3フレーム分の撮像画を例示している。図18の(C)は、補正不要画抽出部で抽出された撮像画から、補正領域の画像を抽出した補正用画像を示している。また、図18の(D)は補正処理後の撮像画を示している。なお、撮像画における斜線部は、光学劣化を生じた画像部分を簡略化して示している。   FIG. 18 is a diagram for explaining the correction processing operation. Note that FIG. 18A illustrates the change in the correction angle with time during imaging. FIG. 18B illustrates a captured image for three frames obtained by performing the imaging operation. FIG. 18C shows a correction image obtained by extracting the image of the correction area from the captured image extracted by the correction unnecessary image extraction unit. FIG. 18D shows a captured image after the correction process. Note that the shaded portion in the captured image shows a simplified image portion where optical degradation has occurred.

補正不要画抽出部256は、メモリ251nに記憶されているフレームF2の撮像画に関する補正情報において、補正フラグがセットされているとき、補正情報に基づき、補正処理実施条件を満たしているか否か判別する。ここで、時間インデックスTid-aの補正角と、この時間インデックスTid-aに閾値時間「Tth」を加算した時間インデックスTid-bの補正角が共に補正角「α」であるとき、この補正角「α」を光学補正処理の光学補正角とする。   When the correction flag is set in the correction information regarding the captured image of the frame F2 stored in the memory 251n, the correction unnecessary image extraction unit 256 determines whether or not the correction processing execution condition is satisfied based on the correction information. To do. Here, when both the correction angle of the time index Tid-a and the correction angle of the time index Tid-b obtained by adding the threshold time “Tth” to the time index Tid-a are the correction angle “α”, this correction angle “Α” is an optical correction angle of the optical correction process.

また、補正処理部258は、設定された補正角「α」に応じて補正領域を決定する。補正領域は、フレームF2の撮像画において光学劣化部分を含む領域となるように決定される。補正処理部258は、補正不要画抽出部256で抽出された撮像画から、補正領域の画像を補正用画像として抽出する。この補正用画像を例えばフレームF2の撮像画の補正領域に貼り付けることで、光学劣化の補正された撮像画の画像信号を生成できる。   Further, the correction processing unit 258 determines a correction region according to the set correction angle “α”. The correction area is determined so as to be an area including an optically deteriorated portion in the captured image of the frame F2. The correction processing unit 258 extracts an image of the correction area as a correction image from the captured image extracted by the correction unnecessary image extraction unit 256. For example, by pasting the correction image on the correction area of the captured image of the frame F2, it is possible to generate an image signal of the captured image in which the optical deterioration is corrected.

図19は、振れ補正における補正角が小さい場合の補正処理動作を示している。なお、図19の(A)は、撮像時における補正角の時間変化を例示している。図19の(B)は撮像動作を行うことにより得られた撮像画を例示している。   FIG. 19 shows a correction processing operation when the correction angle in shake correction is small. Note that (A) in FIG. 19 exemplifies a change in the correction angle with time during imaging. FIG. 19B illustrates a captured image obtained by performing the imaging operation.

図19に示すように、振れ補正の補正角が小さいと、時間インデックスの補正角と、この時間インデックスに閾値時間「Tth」を加算した時間インデックスの補正角が等しくなる場合を生じない。したがって、補正処理の補正角が設定されることがなく、補正処理が行われない。すなわち、光学劣化の少ない撮像画に対して補正処理が行われることを防止できる。   As shown in FIG. 19, if the correction angle for shake correction is small, the correction angle of the time index and the correction angle of the time index obtained by adding the threshold time “Tth” to this time index do not occur. Therefore, the correction angle of the correction process is not set and the correction process is not performed. That is, it is possible to prevent correction processing from being performed on a captured image with little optical deterioration.

図20は、振れ補正における補正角が大きい場合の補正処理動作を示している。なお、図20の(A)は、撮像時における補正角の時間変化を例示している。図20の(B)は撮像動作を行うことにより得られた撮像画を例示している。図20の(C)は、補正不要画抽出部で抽出された撮像画から、補正領域の画像を抽出した補正用画像を示している。また、図20の(D)は補正処理後の撮像画を示している。また、撮像画における斜線部は、光学劣化を生じた画像部分を簡略化して示している。   FIG. 20 shows the correction processing operation when the correction angle in shake correction is large. Note that FIG. 20A illustrates a change in the correction angle with time during imaging. FIG. 20B illustrates a captured image obtained by performing the imaging operation. FIG. 20C shows a correction image obtained by extracting an image of the correction area from the captured image extracted by the correction unnecessary image extraction unit. FIG. 20D shows a captured image after the correction process. Further, the hatched portion in the captured image shows a simplified image portion in which optical degradation has occurred.

図20に示すように、振れ補正の補正角が図18に示す場合に比べて大きいと、時間インデックスTid-cの補正角と、この時間インデックスTid-cに閾値時間「Tth」を加算した時間インデックスTid-dの補正角が補正角「β」で等しくなる。また、補正角「β」は補正角「α」よりも大きくなる。補正処理部258は、補正角「β」を補正処理の補正角として、補正対象の撮像画よりも光学劣化の少ない撮像画から補正角「β」に対応した補正領域の補正用画像を抽出する。このため、振れ補正における補正角が大きくなって光学劣化を生じた範囲が広い場合であっても、光学劣化を生じた範囲に対応した補正用画像が抽出されることになり、光学劣化が補正された撮像画の画像信号を生成できる。   As shown in FIG. 20, when the correction angle of shake correction is larger than that shown in FIG. 18, the correction angle of the time index Tid-c and the time obtained by adding the threshold time “Tth” to this time index Tid-c The correction angle of the index Tid-d is equal to the correction angle “β”. Further, the correction angle “β” is larger than the correction angle “α”. The correction processing unit 258 uses the correction angle “β” as the correction angle of the correction process, and extracts a correction image in the correction area corresponding to the correction angle “β” from the captured image with less optical deterioration than the captured image to be corrected. . For this reason, even when the correction angle in shake correction is large and the range in which optical degradation has occurred is wide, a correction image corresponding to the range in which optical degradation has occurred is extracted, and optical degradation is corrected. An image signal of the captured image can be generated.

このように、動画撮像時に光学劣化補正動作を行う場合、補正対象の撮像画が判別されたときには、連続している撮像画から補正対象の撮像画よりも光学劣化の少ない撮像画が抽出される。さらに、抽出された画像からレンズ部と撮像素子との相対的位置関係に応じて決定された補正領域の画像が補正用画像として抽出されて、この補正用画像を用いて補正対象の撮像画における光学劣化が補正される。このため、例えば歩きながら動画の撮像を行っても振れの動画を得られるように、レンズ部と撮像素子との相対的位置関係の変位範囲を広げても、変位範囲を広げたことによって生じる光学劣化を補正できる。すなわち、振れ補正特性を向上させたときに光学劣化が生じても、この光学劣化が補正された撮像画を得ることができる。   As described above, when performing the optical degradation correction operation when capturing a moving image, when a captured image to be corrected is determined, a captured image with less optical degradation than the captured image to be corrected is extracted from the consecutive captured images. . Further, an image of a correction area determined according to the relative positional relationship between the lens unit and the image sensor is extracted from the extracted image as a correction image, and the correction image is used in the captured image to be corrected. Optical degradation is corrected. For this reason, for example, even when the moving image is captured while walking, even if the displacement range of the relative positional relationship between the lens unit and the image sensor is expanded, the optical generated by expanding the displacement range Degradation can be corrected. That is, even if optical deterioration occurs when the shake correction characteristic is improved, a captured image in which this optical deterioration is corrected can be obtained.

<6.静止画撮像における光学劣化補正動作>
次に、静止画の撮像動作を行う場合について説明する。静止画の撮像では、シャッター操作に応じて1フレームの静止画の画像信号が生成される。このため、動画撮像時のように、補正対象の静止画に対して前後の撮像画が存在していないので、補正対象の静止画よりも光学劣化の少ない撮像画を抽出することができない。そこで、静止画撮像時の第1の光学劣化補正動作では、静止画が補正対象と判別されたとき、続けて撮像動作を行い、シャッター操作に応じて生成した静止画と連続する撮像画(以下「連続画」という)を例えば1枚生成する。また、生成した連続画が補正不要と判別されたとき、この連続画から補正用画像を抽出する。
<6. Optical degradation correction operation for still image capture>
Next, a case where a still image capturing operation is performed will be described. In still image capturing, a still image signal of one frame is generated according to a shutter operation. For this reason, there is no captured image before and after the still image to be corrected as in the case of moving image capturing, and thus it is not possible to extract a captured image with less optical deterioration than the still image to be corrected. Therefore, in the first optical deterioration correction operation at the time of still image capturing, when the still image is determined as the correction target, the image capturing operation is continuously performed, and the captured image that is continuous with the still image generated according to the shutter operation (hereinafter referred to as the captured image). For example, one “continuous image” is generated. Further, when it is determined that the generated continuous image does not require correction, a correction image is extracted from the continuous image.

図21は、静止画撮像における第1の劣化補正動作を説明するための図である。なお、図21の(A)は、撮像時における補正角の時間変化を例示している。図21の(B)は撮像動作を行うことにより得られた静止画と連続画を例示している。図21の(C)は、補正不要画抽出部で抽出した連続画から、補正領域の画像を抽出した補正用画像を示している。また、図21の(D)は補正処理後の静止画を示している。   FIG. 21 is a diagram for explaining a first deterioration correction operation in still image capturing. Note that (A) in FIG. 21 exemplifies a change in the correction angle with time during imaging. FIG. 21B illustrates still images and continuous images obtained by performing the imaging operation. FIG. 21C shows a correction image obtained by extracting an image of the correction area from the continuous image extracted by the correction unnecessary image extraction unit. FIG. 21D shows a still image after the correction process.

補正対象判別部255は、シャッター操作に応じて生成された静止画が補正対象であるか否かを判別して判別結果を制御部50に通知する。制御部50は、静止画が補正対象と判別されたとき、静止画のフレームFSに続いて撮像を行い、図21の(B)に示すように、フレームFCaである連続画の画像信号を生成する。補正不要画抽出部256は、連続画が補正不要と判別されたとき、この連続画を補正処理部258に供給する。補正処理部258は、図21の(C)に示すように、連続画から補正用画像を抽出して、この補正用画像を用いて補正対象と判別された静止画における光学劣化の補正を行い、図21の(D)に示す光学劣化が補正された静止画の画像信号を生成する。   The correction target determination unit 255 determines whether the still image generated in response to the shutter operation is a correction target and notifies the control unit 50 of the determination result. When it is determined that the still image is a correction target, the control unit 50 performs imaging after the still image frame FS, and generates a continuous image signal that is the frame FCa, as shown in FIG. To do. The correction unnecessary image extraction unit 256 supplies the continuous image to the correction processing unit 258 when it is determined that the continuous image does not need correction. As shown in FIG. 21C, the correction processing unit 258 extracts a correction image from the continuous image, and corrects optical deterioration in the still image determined to be a correction object using the correction image. Then, the image signal of the still image in which the optical deterioration shown in (D) of FIG. 21 is corrected is generated.

このように、静止画が補正対象と判別されたとき続けて撮像動作を行い、シャッター操作に応じて生成した静止画と連続する連続画から補正用画像を抽出して補正処理を行うことで、静止画の撮像動作においても、光学劣化の補正を行うことができる。   In this way, when the still image is determined as the correction target, the image capturing operation is performed continuously, and the correction image is extracted from the continuous image generated in response to the shutter operation and the correction process is performed. Even in the still image capturing operation, optical degradation can be corrected.

また、連続画のフレームFCaが補正対象と判別されたときは、連続画における光学劣化が大きいことから、連続画を用いて静止画の光学劣化を補正できない。したがって、光学劣化補正部25は、光学劣化の補正を行わないようにする。また、制御部50は、表示部33で光学劣化補正が行われていないことを示す識別表示、例えば「補正失敗」の表示を行う。また、光学劣化が生じた静止画の記録を行わないときには、「撮像失敗」等の表示を行うようにしてもよい。   Further, when the continuous image frame FCa is determined as the correction target, the optical degradation in the continuous image is large, and therefore the optical degradation in the still image cannot be corrected using the continuous image. Therefore, the optical deterioration correction unit 25 does not correct optical deterioration. In addition, the control unit 50 performs an identification display indicating that the optical deterioration correction is not performed on the display unit 33, for example, “correction failure”. Further, when recording of a still image in which optical deterioration has occurred is not performed, a display such as “imaging failure” may be performed.

次に、静止画撮像時における第2の光学劣化補正動作について説明する。第2の光学劣化補正動作では、光学劣化が少なくなるように連続画の生成を行い、この連続画から補正用画像を抽出して補正処理を行う。具体的には、連続画を生成する際に、補正角が補正角制限範囲内となるように補正角のオフセット処理を行う。例えば補正角を補正角制限範囲の中央位置にオフセットしてから撮像を行う。この場合、連続画の露光開始時には、補正角が補正角制限範囲の中央位置とされているので、補正角が連続画の露光期間中に補正角制限範囲を超えてしまう場合が少なくなる。すなわち、連続画の光学劣化を少なくできる。また、連続画の撮像範囲は、補正角のオフセット処理が行われていることからシャッター操作に応じて生成された静止画と異なる。したがって、連続画から補正用画像を抽出するとき、静止画の補正領域に対応する抽出範囲を補正角のオフセット量に応じて移動して、移動後の抽出範囲から画像を抽出する。   Next, the second optical deterioration correction operation when capturing a still image will be described. In the second optical deterioration correction operation, a continuous image is generated so as to reduce optical deterioration, and a correction image is extracted from the continuous image and correction processing is performed. Specifically, when a continuous image is generated, correction angle offset processing is performed so that the correction angle is within the correction angle limit range. For example, imaging is performed after the correction angle is offset to the center position of the correction angle limit range. In this case, since the correction angle is set to the center position of the correction angle limit range at the start of continuous image exposure, the correction angle is less likely to exceed the correction angle limit range during the continuous image exposure period. That is, optical degradation of continuous images can be reduced. Further, the imaging range of the continuous image is different from the still image generated according to the shutter operation because the correction angle offset processing is performed. Therefore, when extracting the correction image from the continuous image, the extraction range corresponding to the still image correction area is moved according to the offset amount of the correction angle, and the image is extracted from the moved extraction range.

図22は、静止画撮像時の第2の劣化補正動作を説明するための図である。なお、図22の(A)は、撮像時における補正角の時間変化を例示している。図22の(B)は撮像動作を行うことにより得られた静止画と連続画を例示している。図22の(C)は、補正不要画抽出部で抽出した連続画から、補正領域の画像を抽出した補正用画像を示している。また、図22の(D)は補正処理後の静止画を示している。   FIG. 22 is a diagram for explaining a second deterioration correction operation at the time of still image capturing. Note that (A) in FIG. 22 exemplifies the change over time of the correction angle during imaging. FIG. 22B illustrates still images and continuous images obtained by performing the imaging operation. FIG. 22C shows a correction image obtained by extracting an image of the correction area from the continuous image extracted by the correction unnecessary image extraction unit. FIG. 22D shows a still image after correction processing.

補正対象判別部255は、シャッター操作に応じて生成された静止画が補正対象であるか否かを判別して判別結果を制御部50に通知する。制御部50は、静止画が補正対象と判別されたとき、静止画のフレームFSに続いて撮像を行いフレームFCbである連続画の画像信号を生成する。また、制御部50は、連続画の撮像を行うとき、例えば補正角を補正角制限範囲の中央位置にオフセットしてから露光を開始する。したがって、図22の(B)に示すように、フレームFCbの連続画は、フレームFSの静止画と撮像範囲が異なる。   The correction target determination unit 255 determines whether the still image generated in response to the shutter operation is a correction target and notifies the control unit 50 of the determination result. When it is determined that the still image is a correction target, the control unit 50 performs imaging after the still image frame FS to generate a continuous image signal as the frame FCb. In addition, when capturing a continuous image, the control unit 50 starts exposure after offsetting the correction angle to the center position of the correction angle limit range, for example. Therefore, as illustrated in FIG. 22B, the continuous image of the frame FCb has a different imaging range from the still image of the frame FS.

補正不要画抽出部256は、連続画が補正不要と判別されたとき、この連続画を補正処理部258に供給する。補正処理部258は、連続画から補正用画像を抽出する。ここで、静止画と連続画は、図22の(B)に示すように撮像範囲が異なっている。したがって、連続画から補正用画像を抽出するとき、図22の(C)に示すように、静止画の補正領域に対応する抽出範囲を補正角のオフセット量に応じて移動して、移動後の抽出範囲から画像を抽出する。補正不要画抽出部256は、連続画から抽出した補正用画像を用いて補正対象と判別された静止画における光学劣化の補正を行い、図22の(D)に示すように、光学劣化が補正された静止画の画像信号を生成する。   The correction unnecessary image extraction unit 256 supplies the continuous image to the correction processing unit 258 when it is determined that the continuous image does not need correction. The correction processing unit 258 extracts a correction image from the continuous image. Here, the still image and the continuous image have different imaging ranges as shown in FIG. Therefore, when the correction image is extracted from the continuous image, the extraction range corresponding to the still image correction area is moved according to the offset amount of the correction angle as shown in FIG. An image is extracted from the extraction range. The correction unnecessary image extraction unit 256 corrects the optical deterioration in the still image determined as the correction target using the correction image extracted from the continuous image, and the optical deterioration is corrected as shown in FIG. An image signal of the still image thus generated is generated.

このように、静止画が補正対象と判別されたとき、続けて撮像動作を行い、シャッター操作に応じて生成した静止画に連続する連続画を生成する。また、連続画の撮像開始時に補正角のオフセットを行うことで、連続画の光学劣化を少なくすることで、静止画の撮像動作においても、光学劣化の補正を行うことができる。   As described above, when a still image is determined as a correction target, an image capturing operation is continuously performed, and a continuous image continuous with the still image generated according to the shutter operation is generated. Further, by performing correction angle offset at the start of continuous image capturing, optical deterioration of the continuous image can be reduced, so that optical deterioration can be corrected even in the still image capturing operation.

なお、本発明は、上述した発明の実施の形態に限定して解釈されるべきではない。例えば振れ補正機構は、レンズ部11と撮像素子21との相対的位置関係を光軸に対して変位することで、撮像素子21の撮像面上に結像される光学像の位置を撮像面上で変位させる構成であれば、上述の構成に限られるものではない。   It should be noted that the present invention should not be construed as being limited to the above-described embodiments of the invention. For example, the shake correction mechanism displaces the relative positional relationship between the lens unit 11 and the image pickup device 21 with respect to the optical axis, so that the position of the optical image formed on the image pickup surface of the image pickup device 21 is changed on the image pickup surface. If it is the structure displaced by this, it is not restricted to the above-mentioned structure.

また、図2に示す光学劣化補正部25では、補正対象の撮像画に対して前後それぞれ2フレーム分の撮像画をメモリ部251で記憶する構成を例示しているが、前後それぞれ1フレーム分の撮像画を記憶する構成としてもよい。また、補正不要の前フレームの撮像画を補正不要画記憶部257、後フレームの撮像画をメモリ部251に記憶するようにして、メモリ部251や補正不要画記憶部257から補正不要の撮像画を抽出する構成等としてもよい。   Further, in the optical degradation correction unit 25 shown in FIG. 2, the configuration is illustrated in which the memory unit 251 stores the captured images for two frames before and after the correction target captured image. It is good also as a structure which memorize | stores a captured image. In addition, the captured image of the previous frame that does not require correction is stored in the correction-unnecessary image storage unit 257, and the captured image of the subsequent frame is stored in the memory unit 251, so It is good also as a structure etc. which extract.

この発明の実施の形態は、例示という形態で本発明を開示したものであり、本発明の要旨を逸脱しない範囲で当業者が実施の形態の修正や代用をなし得ることは自明である。すなわち、本発明の要旨を判断するためには、特許請求の範囲を参酌すべきである。   The embodiment of the present invention discloses the present invention in the form of exemplification, and it is obvious that those skilled in the art can modify or substitute the embodiment without departing from the gist of the present invention. That is, in order to determine the gist of the present invention, the claims should be taken into consideration.

この発明の撮像装置と振れ補正方法では、レンズ部と撮像素子との相対的位置関係を振れの検出結果に応じて変位させることで、レンズ部により撮像素子の撮像面上に形成された光学像の振れを補正する。また、振れ補正によって光学劣化を生じた撮像画に対して、この撮像画よりも光学劣化の少ない撮像画を用いて光学劣化の補正を行う。このため、振れ補正によって光学劣化が生じる場合でも、この光学劣化が補正された撮像画を得ることができるようになる。したがって、ディジタルカメラやビデオカメラ等に適している。   In the image pickup apparatus and the shake correction method of the present invention, the optical image formed on the image pickup surface of the image pickup device by the lens portion is displaced by displacing the relative positional relationship between the lens portion and the image pickup device in accordance with the shake detection result. Correct the shake. In addition, the optical degradation is corrected using a captured image having optical degradation that is less than that of the captured image with respect to the captured image that has undergone optical degradation due to shake correction. For this reason, even when optical deterioration occurs due to shake correction, a captured image in which this optical deterioration is corrected can be obtained. Therefore, it is suitable for digital cameras and video cameras.

10・・・撮像装置、11・・・レンズ部、12・・・ドライバ、13・・・位置センサ、21・・・撮像素子、22・・・TG部、23・・・AFE部、24・・・信号処理部、25・・・光学劣化補正部、31・・・検波部、32・・・画像出力部、33・・・表示部、34・・・記録再生処理部、41・・・操作部、42・・・振れ検出部、50・・・制御部、111・・・ズームレンズ、112・・・フォーカスレンズ、113・・・補正レンズ部、114・・・絞り機構、251・・・メモリ部、251n-2,251n-1,251n,251n+1,251n+2・・・メモリ(FIFO)、255・・・補正対象判別部、256・・・補正不要画抽出部、257・・・補正不要画記憶部、258・・・補正処理部   DESCRIPTION OF SYMBOLS 10 ... Imaging device, 11 ... Lens part, 12 ... Driver, 13 ... Position sensor, 21 ... Image sensor, 22 ... TG part, 23 ... AFE part, 24. ..Signal processing unit 25... Optical deterioration correction unit 31. Detection unit 32. Image output unit 33. Display unit 34. Operation unit 42 ... shake detection unit 50 ... control unit 111 ... zoom lens 112 ... focus lens 113 ... correction lens unit 114 ... stop mechanism 251, ... Memory unit 251n-2, 251n-1, 251n, 251n + 1, 251n + 2 ... Memory (FIFO), 255 ... Correction target discriminating unit, 256 ... Uncorrected image extraction unit, 257 ..Unnecessary image storage unit, 258... Correction processing unit

Claims (15)

レンズ部により形成された光学像を光電変換して撮像画の画像信号を生成する撮像素子と、
振れの検出を行い、検出結果を示す振れ検出信号を生成する振れ検出部と、
前記レンズ部と前記撮像素子との相対的位置関係を前記振れ検出信号に応じて変位させることにより、前記振れ検出部で検出される振れによって生じる前記撮像素子の撮像面上での前記光学像の振れを補正する振れ補正制御部と、
前記振れ補正によって光学劣化を生じた撮像画に対して、該撮像画よりも光学劣化の少ない撮像画を用いて前記光学劣化の補正を行う光学劣化補正部と
を備える撮像装置。
An image sensor that photoelectrically converts an optical image formed by the lens unit to generate an image signal of a captured image;
A shake detection unit that detects shake and generates a shake detection signal indicating a detection result;
By displacing the relative positional relationship between the lens unit and the image sensor according to the shake detection signal, the optical image on the imaging surface of the image sensor caused by the shake detected by the shake detection unit. A shake correction control unit for correcting shake;
An image pickup apparatus comprising: an optical deterioration correction unit configured to correct the optical deterioration with respect to a picked-up image in which optical deterioration is caused by the shake correction using a picked-up image having less optical deterioration than the picked-up image.
前記光学劣化補正部は、
前記レンズ部と前記撮像素子との相対的位置関係から、前記撮像画が前記光学劣化の補正対象の画像であるか補正不要の画像であるか判別する補正対象判別部と、
前記補正対象判別部で補正不要と判別された撮像画を抽出する補正不要画抽出部と、
前記補正不要画抽出部で抽出した撮像画から補正用画像を抽出して、該補正用画像を用いて前記補正対象判別部で補正対象と判別された撮像画の光学劣化を補正する補正処理部とを有する
請求項1記載の撮像装置。
The optical deterioration correction unit is
A correction target determination unit that determines whether the captured image is an image to be corrected for optical degradation or an image that does not need to be corrected based on a relative positional relationship between the lens unit and the image sensor;
A correction-unnecessary image extracting unit that extracts a captured image that has been determined to be unnecessary for correction by the correction target determining unit;
A correction processing unit that extracts a correction image from the captured image extracted by the correction-unnecessary image extraction unit and corrects optical degradation of the captured image that is determined as a correction target by the correction target determination unit using the correction image. The imaging apparatus according to claim 1, further comprising:
前記補正対象判別部は、前記撮像画の露光期間中に前記レンズ部と前記撮像素子との相対的位置関係が制限範囲を超えたとき、前記光学劣化の補正対象であると判別する
請求項2記載の撮像装置。
The correction target determining unit determines that the optical degradation is to be corrected when a relative positional relationship between the lens unit and the image sensor exceeds a limit range during an exposure period of the captured image. The imaging device described.
前記補正対象判別部は、前記撮像画の露光期間中において、前記レンズ部と前記撮像素子との相対的位置関係が予め設定した位置関係を超えている期間と超過量に基づいて評価値を求め、該評価値が閾値を超えたとき、前記光学劣化の補正対象であると判別する
請求項2記載の撮像装置。
The correction target determination unit obtains an evaluation value based on a period during which the relative positional relationship between the lens unit and the imaging element exceeds a preset positional relationship and an excess amount during the exposure period of the captured image. The imaging apparatus according to claim 2, wherein when the evaluation value exceeds a threshold value, the imaging apparatus determines that the optical degradation correction target.
前記補正不要画抽出部は、前記補正対象である撮像画よりも前に撮像された補正不要の撮像画、または前記補正対象である撮像画の後に撮像された補正不要の撮像画を抽出する請求項2記載の撮像装置。   The correction-unnecessary image extraction unit extracts a correction-unnecessary captured image captured before the correction target captured image or a correction-unnecessary captured image captured after the correction target captured image. Item 3. The imaging device according to Item 2. 前記補正不要画抽出部は、補正不要の撮像画を補正不要画記憶部に記憶して、この補正不要画記憶部に記憶した撮像画を補正不要の撮像画で順次更新して、前記補正不要の撮像画の抽出ができないとき、前記補正不要画記憶部に記憶されている撮像画を抽出する
請求項5記載の撮像装置。
The correction-unnecessary image extraction unit stores a correction-unnecessary captured image in a correction-unnecessary image storage unit, and sequentially updates the captured image stored in the correction-unnecessary image storage unit with a correction-unnecessary captured image, so that the correction is unnecessary. The imaging apparatus according to claim 5, wherein when the captured image cannot be extracted, the captured image stored in the correction-unnecessary image storage unit is extracted.
前記補正対象判別部は、前記光学劣化の補正対象である撮像画の露光期間において、前記レンズ部と前記撮像素子との相対的位置関係の変位が最大となる最大時間の検出を行い、
前記補正不要画抽出部は、前記最大時間が前記露光期間の前半であるとき、前記補正対象である撮像画よりも前に撮像された補正不要の撮像画の抽出を行い、前記最大時間が前記露光期間の後半であるとき、前記補正対象である撮像画の後に撮像された補正不要の撮像画の抽出を行う
請求項5記載の撮像装置。
The correction target determination unit detects a maximum time during which the displacement of the relative positional relationship between the lens unit and the imaging element is maximum in an exposure period of a captured image that is a correction target of the optical degradation,
When the maximum time is the first half of the exposure period, the correction-unnecessary image extraction unit extracts a non-correction-captured image captured before the image to be corrected, and the maximum time The imaging apparatus according to claim 5, wherein when it is the second half of the exposure period, an uncorrected captured image captured after the captured image to be corrected is extracted.
前記補正処理部は、前記補正対象と判別された撮像画の補正領域を前記振れ補正動作に基づいて決定して、前記補正不要画抽出部で抽出された撮像画から、前記補正領域に対応する領域の画像を前記補正用画像として抽出する
請求項2記載の撮像装置。
The correction processing unit determines a correction area of the captured image determined to be the correction target based on the shake correction operation, and corresponds to the correction area from the captured image extracted by the correction unnecessary image extraction unit. The imaging apparatus according to claim 2, wherein an image of a region is extracted as the correction image.
前記補正処理部は、前記補正対象と判別された撮像画の露光期間中に、前記レンズ部と前記撮像素子との相対的位置関係が制限範囲を超えている時間が予め設定した時間よりも長いとき、前記レンズ部と前記撮像素子との相対的位置関係の最大変位から、前記補正領域を決定する
請求項8記載の撮像装置。
The correction processing unit is longer than a preset time during which the relative positional relationship between the lens unit and the imaging element exceeds a limit range during the exposure period of the captured image determined as the correction target. The imaging device according to claim 8, wherein the correction region is determined from a maximum displacement of a relative positional relationship between the lens unit and the imaging device.
前記補正処理部は、前記補正対象と判別された撮像画の露光期間中に、前記レンズ部と前記撮像素子との相対的位置関係が制限範囲を超えている時間が予め設定した時間よりも長いとき、所定の時間間隔となる前記レンズ部と前記撮像素子との相対的位置関係の変位から前記補正領域を決定する
請求項8記載の撮像装置。
The correction processing unit is longer than a preset time during which the relative positional relationship between the lens unit and the imaging element exceeds a limit range during the exposure period of the captured image determined as the correction target. The image pickup apparatus according to claim 8, wherein the correction region is determined from a displacement of a relative positional relationship between the lens unit and the image pickup device at a predetermined time interval.
静止画モードで前記撮像素子で生成された撮像画が、前記補正対象判別部で光学劣化の補正対象と判別されたとき、前記撮像素子で連続して撮像画の生成を行い、
前記補正不要画抽出部は、前記連続して生成された撮像画が補正不要の撮像画と判別されたとき、該連続して生成された撮像画から補正用画像の抽出を行う
請求項2記載の撮像装置。
When the captured image generated by the image sensor in the still image mode is determined as the optical degradation correction target by the correction target determination unit, the captured image is continuously generated by the image sensor,
The correction-unnecessary image extracting unit extracts a correction image from the continuously generated captured image when the continuously generated captured image is determined to be a corrected unnecessary captured image. Imaging device.
静止画モードで前記撮像素子で生成された撮像画が、前記補正対象判別部で光学劣化の補正対象と判別されたとき、前記レンズ部と前記撮像素子との相対的位置関係を所定の位置関係としてから前記撮像素子で連続して撮像画の生成を行い、
前記補正不要画抽出部は、前記連続して生成された撮像画が補正不要の撮像画と判別されたとき、該連続して生成された撮像画から補正用画像の抽出を行う
請求項11記載の撮像装置。
When a captured image generated by the image sensor in the still image mode is determined as an optical degradation correction target by the correction target determination unit, a relative positional relationship between the lens unit and the image sensor is determined to be a predetermined positional relationship. And then generate images continuously with the image sensor,
12. The correction-unnecessary image extracting unit extracts a correction image from the continuously generated captured image when the continuously generated captured image is determined to be a corrected unnecessary captured image. Imaging device.
前記連続して生成された撮像画が補正対象の撮像画と判別されたとき、前記静止画モードで生成された撮像画の前記光学劣化の補正が行われないことを示す表示部を有する
請求項12記載の撮像装置。
A display unit that indicates that the optical degradation of the captured image generated in the still image mode is not corrected when the continuously generated captured image is determined as a captured image to be corrected. 12. The imaging device according to 12.
前記振れ補正制御部は、前記振れ検出信号によって示される振れの大きさが所定レベルよりも大きいとき、変位範囲を拡大して、該拡大された変位範囲で前記レンズ部と前記撮像素子との相対的位置関係を前記振れ検出信号に応じて変位させて、
前記光学劣化補正部は、前記変位範囲が拡大されたとき前記光学劣化の補正を行う
請求項1記載の撮像装置。
The shake correction control unit enlarges a displacement range when the magnitude of shake indicated by the shake detection signal is larger than a predetermined level, and relative to the lens unit and the image sensor in the enlarged displacement range. The target positional relationship is displaced according to the shake detection signal,
The imaging apparatus according to claim 1, wherein the optical deterioration correction unit corrects the optical deterioration when the displacement range is expanded.
振れ検出部において、振れの検出を行い、検出結果を示す振れ検出信号を生成するステップと、
振れ補正制御部において、レンズ部と撮像素子との相対的位置関係を前記振れ検出信号に応じて変位させることにより、前記振れ検出部で検出される振れによって生じる前記前記撮像素子の撮像面上での前記光学像の振れを補正するステップと、
光学劣化補正部において、前記振れ補正によって光学劣化を生じた撮像画に対して、該撮像画よりも光学劣化の少ない撮像画を用いて前記光学劣化の補正を行うステップと
を有する振れ補正方法。
In the shake detection unit, detecting a shake and generating a shake detection signal indicating a detection result;
In the shake correction control unit, the relative positional relationship between the lens unit and the image sensor is displaced in accordance with the shake detection signal, thereby causing the image pickup surface of the image sensor to be generated by the shake detected by the shake detection unit. Correcting the shake of the optical image of
A shake correction method comprising: a step of correcting the optical degradation using a captured image with less optical degradation than the captured image for a captured image that has undergone optical degradation due to the shake correction in an optical degradation correction unit.
JP2009132013A 2009-06-01 2009-06-01 Imaging apparatus and shake correction method Pending JP2010277033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009132013A JP2010277033A (en) 2009-06-01 2009-06-01 Imaging apparatus and shake correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009132013A JP2010277033A (en) 2009-06-01 2009-06-01 Imaging apparatus and shake correction method

Publications (1)

Publication Number Publication Date
JP2010277033A true JP2010277033A (en) 2010-12-09

Family

ID=43424020

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009132013A Pending JP2010277033A (en) 2009-06-01 2009-06-01 Imaging apparatus and shake correction method

Country Status (1)

Country Link
JP (1) JP2010277033A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012255830A (en) * 2011-06-07 2012-12-27 Sony Corp Imaging devices and imaging method
JP2013015638A (en) * 2011-07-01 2013-01-24 Canon Inc Vibration-isolation control device, optical apparatus, imaging apparatus, and vibration isolation control method
JP2013064772A (en) * 2011-09-15 2013-04-11 Canon Inc Interchangeable lens and camera system including the same
JP2013088437A (en) * 2011-10-13 2013-05-13 Canon Inc Image blur correction device and optical instrument
JP2013120247A (en) * 2011-12-06 2013-06-17 Canon Inc Optical vibration-proof device and optical equipment
JP2013142771A (en) * 2012-01-11 2013-07-22 Canon Inc Image blur correction device and optical instrument
JP2014186149A (en) * 2013-03-22 2014-10-02 Sharp Corp Imaging device
JP2015096970A (en) * 2015-01-13 2015-05-21 キヤノン株式会社 Optical anti-vibration device, optical apparatus, and control method for optical anti-vibration device
JP2016200839A (en) * 2016-08-22 2016-12-01 キヤノン株式会社 Optical anti-vibration device, optical apparatus, and control method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04287578A (en) * 1991-03-18 1992-10-13 Canon Inc Photography equipment
JPH05328202A (en) * 1992-05-14 1993-12-10 Sony Corp Correction device for camera shake of picture
JPH10153809A (en) * 1996-11-22 1998-06-09 Sony Corp Image stabilization device
JP2001159768A (en) * 1999-12-02 2001-06-12 Matsushita Electric Ind Co Ltd Imaging device with image motion compensation function
JP2002131612A (en) * 2000-10-26 2002-05-09 Canon Inc camera
JP2005197862A (en) * 2004-01-05 2005-07-21 Sony Corp Image processing device
JP2006262220A (en) * 2005-03-18 2006-09-28 Seiko Epson Corp Imaging apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04287578A (en) * 1991-03-18 1992-10-13 Canon Inc Photography equipment
JPH05328202A (en) * 1992-05-14 1993-12-10 Sony Corp Correction device for camera shake of picture
JPH10153809A (en) * 1996-11-22 1998-06-09 Sony Corp Image stabilization device
JP2001159768A (en) * 1999-12-02 2001-06-12 Matsushita Electric Ind Co Ltd Imaging device with image motion compensation function
JP2002131612A (en) * 2000-10-26 2002-05-09 Canon Inc camera
JP2005197862A (en) * 2004-01-05 2005-07-21 Sony Corp Image processing device
JP2006262220A (en) * 2005-03-18 2006-09-28 Seiko Epson Corp Imaging apparatus

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9338436B2 (en) 2011-06-07 2016-05-10 Sony Corporation Imaging device and imaging method
US10595009B2 (en) 2011-06-07 2020-03-17 Sony Corporation Imaging device and imaging method
US10194141B2 (en) 2011-06-07 2019-01-29 Sony Corporation Imaging device and imaging method
US10045009B2 (en) 2011-06-07 2018-08-07 Sony Corporation Imaging device and imaging control method with adjustable frame frequency
JP2012255830A (en) * 2011-06-07 2012-12-27 Sony Corp Imaging devices and imaging method
JP2013015638A (en) * 2011-07-01 2013-01-24 Canon Inc Vibration-isolation control device, optical apparatus, imaging apparatus, and vibration isolation control method
JP2013064772A (en) * 2011-09-15 2013-04-11 Canon Inc Interchangeable lens and camera system including the same
US9392172B2 (en) 2011-10-13 2016-07-12 Canon Kabushiki Kaisha Image blur correction apparatus and optical apparatus
US9503646B2 (en) 2011-10-13 2016-11-22 Canon Kabushiki Kaisha Image blur correction apparatus, optical apparatus, and method thereof
JP2013088437A (en) * 2011-10-13 2013-05-13 Canon Inc Image blur correction device and optical instrument
JP2013120247A (en) * 2011-12-06 2013-06-17 Canon Inc Optical vibration-proof device and optical equipment
JP2013142771A (en) * 2012-01-11 2013-07-22 Canon Inc Image blur correction device and optical instrument
JP2014186149A (en) * 2013-03-22 2014-10-02 Sharp Corp Imaging device
JP2015096970A (en) * 2015-01-13 2015-05-21 キヤノン株式会社 Optical anti-vibration device, optical apparatus, and control method for optical anti-vibration device
JP2016200839A (en) * 2016-08-22 2016-12-01 キヤノン株式会社 Optical anti-vibration device, optical apparatus, and control method

Similar Documents

Publication Publication Date Title
JP5233631B2 (en) Shake correction apparatus, shake correction method, and imaging apparatus
KR101342477B1 (en) Imaging apparatus and imaging method for taking moving image
JP2010277033A (en) Imaging apparatus and shake correction method
JP5347707B2 (en) Imaging apparatus and imaging method
JP4558830B2 (en) Imaging device
JP4692620B2 (en) Shake correction apparatus, shake correction method, and imaging apparatus
JP2000341577A (en) Device and method for correcting camera shake
JP5543180B2 (en) Imaging apparatus, control method thereof, and program
JP2006186592A (en) Imaging apparatus and control method thereof
KR101108640B1 (en) Recording device, recording method, and computer-readable recording medium for recording motion pictures
JP4556195B2 (en) Imaging device, moving image playback device, and program
JP2009111518A (en) IMAGING DEVICE, IMAGE REPRODUCING DEVICE AND ITS PROGRAM, AND DATA FILE DATA STRUCTURE
US20170208264A1 (en) Image pickup apparatus, image pickup method, and non-transitory computer-readable medium storing computer program
JP2006186593A (en) Imaging apparatus and control method
JP2009141538A (en) IMAGING DEVICE, IMAGE REPRODUCING DEVICE, AND PROGRAM THEREOF
JP5002931B2 (en) Imaging apparatus and program thereof
JP2010021710A (en) Imaging device, image processor, and program
JP5091781B2 (en) Imaging apparatus and imaging method
JP6103481B2 (en) Imaging apparatus, and control method and program thereof
JP2006245999A (en) Imaging apparatus and program
JP2017123670A (en) Imaging control apparatus, and control method and program thereof
JP5012985B2 (en) Imaging apparatus and program thereof
JP2008205953A (en) Imaging device and image reproducing device
JP2008015097A (en) Imaging apparatus and imaging method
JP5300627B2 (en) Imaging apparatus, control method thereof, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120131

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121002

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130219