[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP5506374B2 - Imaging apparatus and control method thereof - Google Patents

Imaging apparatus and control method thereof Download PDF

Info

Publication number
JP5506374B2
JP5506374B2 JP2009294625A JP2009294625A JP5506374B2 JP 5506374 B2 JP5506374 B2 JP 5506374B2 JP 2009294625 A JP2009294625 A JP 2009294625A JP 2009294625 A JP2009294625 A JP 2009294625A JP 5506374 B2 JP5506374 B2 JP 5506374B2
Authority
JP
Japan
Prior art keywords
motion vector
value
reliability
image
interpolation
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.)
Active
Application number
JP2009294625A
Other languages
Japanese (ja)
Other versions
JP2011135463A (en
Inventor
英夫 河原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2009294625A priority Critical patent/JP5506374B2/en
Publication of JP2011135463A publication Critical patent/JP2011135463A/en
Application granted granted Critical
Publication of JP5506374B2 publication Critical patent/JP5506374B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

本発明は、動画像のぶれから得られる動きベクトル検出情報を用いて、手ぶれによる撮像画のぶれを補正する撮像装置、及び撮像装置の制御方法に関する。   The present invention relates to an imaging apparatus that corrects blurring of a captured image due to camera shake using motion vector detection information obtained from blurring of a moving image, and a control method for the imaging apparatus.

ビデオカメラ等の動画像を撮影する撮像装置では、レンズを望遠側にズームしたときの手ぶれによって画像にぶれが生じることが問題となる。このような手ぶれに起因する画像のぶれを防止する方法として、撮影した画像信号から画像の動きベクトルを検出し、この動きベクトルに基づいて画像のぶれを補正する技術が提案されている(例えば、特許文献1参照)。   In an imaging apparatus such as a video camera that captures a moving image, there is a problem that the image is blurred due to camera shake when the lens is zoomed to the telephoto side. As a method of preventing image blur due to such camera shake, a technique for detecting a motion vector of an image from a captured image signal and correcting the blur of the image based on the motion vector has been proposed (for example, Patent Document 1).

動画像の動きベクトルを検出する方法としては、従来より、相関演算に基づく相関法やブロックマッチング法等が知られているが、尾上守夫らにより詳しく論じられているので(例えば、非特許文献1参照)、ここでの説明は省略する。   As a method for detecting a motion vector of a moving image, a correlation method based on a correlation calculation, a block matching method, and the like have been conventionally known. However, since they are discussed in detail by Morio Onoe et al. Reference is omitted here.

しかしながら、従来の撮像装置では、動きベクトルを検出しにくい条件、例えば、被写体のコントラストが低い場合や大きなぶれが生じた場合には、画像の相関の検出精度が低下し、適正な代表ベクトルが求められなくなる。検出される動きベクトル値の誤差が大きくなり、動きベクトル値に誤差が生じると、ぶれ補正の精度の低下や誤補正が生じ、撮像画のぶれが不連続に発生してしまう可能性がある。   However, in the conventional imaging apparatus, when the motion vector is difficult to detect, for example, when the contrast of the subject is low or a large blur occurs, the detection accuracy of the correlation of the image decreases, and an appropriate representative vector is obtained. It becomes impossible. If an error in the detected motion vector value becomes large and an error occurs in the motion vector value, there is a possibility that the accuracy of blur correction is reduced or erroneous correction occurs, and the blur of the captured image occurs discontinuously.

この問題を解決する方法として、動きベクトルの検出精度が低下しているか否かを判定し、検出精度が低下したと判定された場合には、代表ベクトルの検出を中断し、ぶれ補正を停止する方法がある。   As a method of solving this problem, it is determined whether or not the detection accuracy of the motion vector is lowered. If it is determined that the detection accuracy is lowered, the detection of the representative vector is interrupted and the blur correction is stopped. There is a way.

特開平7−107367号公報JP-A-7-107367

尾上守夫,前田紀彦,斎藤優、「パターン情報処理:残差逐次検定法による画像の重ね合わせ」、情報処理、情報処理学会、1976年7月、vol.17、No.7、p.634〜640Morio Onoe, Norihiko Maeda, Yu Saito, “Pattern Information Processing: Superposition of Images Using Residual Sequential Test”, Information Processing, Information Processing Society of Japan, July 1976, vol. 17, no. 7, p. 634-640

しかし、動きベクトル値の信頼性が設定された基準以上の場合にぶれ補正を行い、信頼性の低いベクトル情報が得られた場合にぶれ補正を停止してしまうと、ぶれ補正が間欠的に実行されることになるため、撮像画のぶれ補正が不連続となってしまう。このようなぶれ補正が断続的に行われた動画像は、その動画像を観賞する人に対して、映像酔い等の症状を引き起こすことがある。   However, if the motion vector value is more reliable than the set standard and shake correction is performed, and if the low-reliability vector information is obtained and the shake correction is stopped, the shake correction is executed intermittently. Therefore, the blur correction of the captured image becomes discontinuous. A moving image in which such blur correction is intermittently performed may cause symptoms such as video sickness to a person who appreciates the moving image.

本発明は、ぶれ補正の不連続性を軽減し、十分且つ正確にぶれ補正された画像を安定して提供することができる撮像装置及びその制御方法を提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to provide an imaging apparatus that can reduce discontinuity of blur correction and can stably provide a sufficiently and accurately shake-corrected image, and a control method therefor.

上記課題を解決するため、本願発明に係る撮像装置は、撮光学系により結像された被写体像を画像信号に変換する撮像手段と、前記撮像手段により得られた画像信号を記憶する記憶手段と、前記撮像手段得られた2つの画像信号から画像の変位量を示す動きベクトル値を検出する動きベクトル検出手段と、前記動きベクトル値に基づいて前記記憶手段からの画像信号の読み出し位置を制御する読み出し位置制御手段と、前記動きベクトル値の信頼性を判定する信頼性判定手段とを有する撮像装置であって、記信頼性判定手段による判定結果に基づいて前記動きベクトル値を補間した動きベクトル補間値を決定する補間手段を備え、前記補間手段は、前記信頼性判定手段により判定された信頼性が所定値よりも低く、現フレーム又は現フィールドの画像の変位量を示す動きベクトル値を補間した動きベクトル補間値を生成する場合に、前記現フレーム又は前記現フィールドより前のフレーム又はフィールドの動きベクトル値の変化が増加傾向にあるときには、前記動きベクトル補間値を前記記憶手段に記憶された前回フレーム又は前回フィールドの動きベクトル値に比べて増加させ、前記現フレーム又は前記現フィールドより前のフレーム又はフィールドの動きベクトル値の変化が減少傾向にあるときには、前記動きベクトル補間値を前記記憶手段に記憶された前回フレーム又は前回フィールドの動きベクトル値に比べて減少させることを特徴とする。 To solve the above problem, an imaging apparatus according to the present invention includes an imaging means for converting an object image formed by the projection optical system Taking into image signals, storage means for storing the image signal obtained by said image pickup means And a motion vector detecting means for detecting a motion vector value indicating the amount of displacement of the image from the two image signals obtained by the imaging means , and a reading position of the image signal from the storage means based on the motion vector value. a read position control means for controlling, said a reliability determination means and the image pickup device that have a determining reliability of the motion vector value, the motion vector value based on the determination result by the pre-Symbol reliability judging means comprising an interpolation means to determine the interpolated motion vector interpolation value, said interpolation means, said reliability is determined by the reliability determination unit is lower than a predetermined value, the current frame or the current off When generating a motion vector interpolation value obtained by interpolating a motion vector value indicating a displacement amount of a field image, when a change in the motion vector value of the current frame or the frame or field before the current field tends to increase, The motion vector interpolation value is increased compared to the motion vector value of the previous frame or previous field stored in the storage means, and the change in the motion vector value of the current frame or previous frame or field tends to decrease The motion vector interpolation value is reduced when compared with the motion vector value of the previous frame or the previous field stored in the storage means .

本発明によれば、動画像のぶれから得られる動きベクトル検出情報を用いて、撮像画の手ぶれを補正する撮像装置において、ぶれ補正の不連続性を軽減することにより、十分且つ正確にぶれ補正された画像を安定して提供することが可能となる。   According to the present invention, in an imaging device that corrects camera shake of a captured image using motion vector detection information obtained from motion image blur, the blur correction is sufficiently and accurately corrected by reducing the blur discontinuity. It is possible to provide a stable image.

本発明の第1実施形態に係る撮像装置が備えるぶれ補正回路のブロック図である。1 is a block diagram of a shake correction circuit included in an imaging apparatus according to a first embodiment of the present invention. 本発明の第1実施形態に係る撮像装置の概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of an imaging apparatus according to a first embodiment of the present invention. 本発明の第1実施形態に係る撮像装置で実行されるぶれ補正のフローチャートである。3 is a flowchart of shake correction executed by the imaging apparatus according to the first embodiment of the present invention. ブロック単位のベクトル値の信頼性が低いと判定された場合に、本発明の第1実施形態に係る撮像装置で実行される動きベクトル補間値を用いてぶれ補正を行った場合の全体の動きベクトル値の変化と、ぶれ補正を停止させた場合の全体の動きベクトル値の変化とを対比して説明する図である。The overall motion vector when blur correction is performed using the motion vector interpolation value executed by the imaging apparatus according to the first embodiment of the present invention when it is determined that the reliability of the vector value in block units is low. It is a figure explaining the change of a value and contrast with the change of the whole motion vector value at the time of stopping blurring correction. 本発明の第2実施形態に係る撮像装置が備えるぶれ補正回路のブロック図である。It is a block diagram of the shake correction circuit with which the imaging device which concerns on 2nd Embodiment of this invention is provided. 本発明の第2実施形態に係る撮像装置で実行されるぶれ補正のフローチャートである。10 is a flowchart of shake correction executed by the imaging apparatus according to the second embodiment of the present invention. 本発明の第2実施形態における、動きベクトル補間値の算出処理を説明するためのグラフである。It is a graph for demonstrating the calculation process of the motion vector interpolation value in 2nd Embodiment of this invention. 本発明の第3実施形態における、現フレームと前フレームとの間の画像移動量と相関値との関係を示すグラフである。It is a graph which shows the relationship between the image movement amount and correlation value between the present frame and the previous frame in the third embodiment of the present invention. 本発明の第3実施形態おける、信頼性判定回路において行われる信頼性判定処理のフローチャートである。It is a flowchart of the reliability determination process performed in the reliability determination circuit in 3rd Embodiment of this invention. 本発明の第4実施形態に係るぶれ補正において、動きベクトル補間値を算出するための補間処理回路におけるベクトル値の変換特性を示すグラフである。It is a graph which shows the conversion characteristic of the vector value in the interpolation process circuit for calculating a motion vector interpolation value in the blurring correction which concerns on 4th Embodiment of this invention. 本発明の第4実施形態に係るぶれ補正において、動きベクトル補間値を算出するための補間処理回路におけるベクトル値の別の変換特性を示すグラフである。It is a graph which shows another conversion characteristic of a vector value in an interpolation processing circuit for calculating a motion vector interpolation value in blur correction concerning a 4th embodiment of the present invention. 本発明の第5実施形態に係る、動きベクトル補間値の補正方法を説明するためのグラフであるIt is a graph for demonstrating the correction method of the motion vector interpolation value based on 5th Embodiment of this invention. 本発明の第5実施形態に係る、動きベクトル補間値の補正方法のフローチャートである。It is a flowchart of the correction method of the motion vector interpolation value based on 5th Embodiment of this invention.

以下、本発明の実施の形態について図面を参照しながら詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<第1実施形態>
図1は、本発明の第1実施形態に係る撮像装置が備えるぶれ補正回路のブロック図である。このぶれ補正回路は、ベクトル検出法によりぶれを抑制する撮像装置に適用される。以下に説明するぶれ補正回路による処理は、中央演算処理装置(CPU)が、ROMに格納された各種処理を実行するためのプログラムをRAMに展開し、実行することにより実現される。
<First Embodiment>
FIG. 1 is a block diagram of a shake correction circuit provided in the imaging apparatus according to the first embodiment of the present invention. This shake correction circuit is applied to an imaging apparatus that suppresses shake by a vector detection method. The processing by the shake correction circuit described below is realized by a central processing unit (CPU) developing and executing programs for executing various processes stored in the ROM in the RAM.

図1に示したぶれ補正回路では、先ず、動きベクトルの検出対象となる画像信号(フィールド又はフレーム)が、入力端子101から画像メモリ110及びフィルタ102に入力される。以下の説明では、フィールド画像信号を取り上げることとする(第2実施形態についても同様)。   In the shake correction circuit shown in FIG. 1, first, an image signal (field or frame) to be detected as a motion vector is input from the input terminal 101 to the image memory 110 and the filter 102. In the following description, the field image signal is taken up (the same applies to the second embodiment).

画像メモリ110は画像信号を一時記憶し、フィルタ102は画像信号から動きベクトル検出に有用な空間周波数成分の抽出、即ち、画像信号からの低空間周波数成分と高空間周波数成分の除去を行う。フィルタ102を通過した画像信号は2値化回路103に入力される。2値化回路103は、ゼロレベルを基準として画像信号を2値化し、具体的には、出力信号の符号ビットを出力する。2値化回路103によって2値化された画像信号は、相関演算回路104と1フィールド期間遅延手段としてのメモリ105に入力される。相関演算回路104には、更に、メモリ105から前のフィールドの画像信号が入力されている。   The image memory 110 temporarily stores an image signal, and the filter 102 extracts a spatial frequency component useful for motion vector detection from the image signal, that is, removes a low spatial frequency component and a high spatial frequency component from the image signal. The image signal that has passed through the filter 102 is input to the binarization circuit 103. The binarization circuit 103 binarizes the image signal with reference to the zero level, and specifically outputs the sign bit of the output signal. The image signal binarized by the binarization circuit 103 is input to the correlation calculation circuit 104 and the memory 105 as a one-field period delay means. The correlation calculation circuit 104 further receives the image signal of the previous field from the memory 105.

相関演算回路104はブロックマッチング法に従い、画像領域を適当な大きさのブロックに分割し、ブロック単位で現フィールドと前フィールドとの相関演算を行う。なお、ブロックマッチング法については、先述の非特許文献1に詳細に説明されているので、ここでの説明を省略する。動きベクトル検出回路106は、算出された相関値からフィールド間の変位量である動きベクトル値をブロック単位で検出する。具体的には、相関値が最小(異なる符号bit数が最小)となる前フィールドのブロックを探索し、その相対的なずれを動きベクトル値とする。動きベクトル検出回路106で得られたブロック単位の動きベクトル値は、動きベクトル決定回路107と信頼性判定回路121に入力される。動きベクトル決定回路107は、ブロック単位の動きベクトル値から全体の動きベクトル値(フィールド間の代表ベクトル量)を決定する。具体的には、ブロック単位の動きベクトル値の中央値又は平均値が、画像全体の動きベクトル値とされる。   The correlation calculation circuit 104 divides the image area into blocks of an appropriate size according to the block matching method, and performs a correlation calculation between the current field and the previous field in units of blocks. Note that the block matching method is described in detail in Non-Patent Document 1 described above, and thus the description thereof is omitted here. The motion vector detection circuit 106 detects a motion vector value, which is a displacement amount between fields, from the calculated correlation value in units of blocks. Specifically, the block of the previous field where the correlation value is minimum (the number of different code bits is minimum) is searched, and the relative shift is set as the motion vector value. The block-by-block motion vector value obtained by the motion vector detection circuit 106 is input to the motion vector determination circuit 107 and the reliability determination circuit 121. The motion vector determination circuit 107 determines the entire motion vector value (representative vector amount between fields) from the motion vector value in units of blocks. Specifically, the median value or average value of motion vector values in units of blocks is used as the motion vector value of the entire image.

信頼性判定回路121は、動きベクトル決定回路107において得られる全体の動きベクトル値の信頼性(正確さの尺度)を求め、具体的には、ブロック単位の動きベクトル値の分散値を求め、その分散値に基づいて全体の動きベクトル値の信頼性を決定する。信頼性判定回路121は、分散値が小さい(つまり、分散していない)場合に、全体の動きベクトル値の信頼性は高いと判定し、逆に分散値が大きい(つまり、分散している)場合に、全体の動きベクトル値の信頼性は低いと判定する。これは、映像信号の動き方向が均一な場合には、その画像から得られるブロック単位の動きベクトル値は均一なベクトル量であることに基づいている。なお、信頼性判定回路121における信頼性の判定の基準となる基準値は、予め、定められる。信頼性判定回路121による信頼性の判定結果と、動きベクトル決定回路107で得られた全体の動きベクトル値は、補間処理回路122に入力される。   The reliability determination circuit 121 calculates the reliability (accuracy scale) of the entire motion vector value obtained by the motion vector determination circuit 107, specifically, calculates the variance value of the motion vector value in units of blocks, The reliability of the entire motion vector value is determined based on the variance value. The reliability determination circuit 121 determines that the reliability of the entire motion vector value is high when the variance value is small (that is, not distributed), and conversely the variance value is large (that is, distributed). In this case, it is determined that the reliability of the entire motion vector value is low. This is based on the fact that when the motion direction of the video signal is uniform, the motion vector value for each block obtained from the image is a uniform vector amount. Note that a reference value serving as a criterion for determining reliability in the reliability determining circuit 121 is determined in advance. The reliability determination result by the reliability determination circuit 121 and the entire motion vector value obtained by the motion vector determination circuit 107 are input to the interpolation processing circuit 122.

補間処理回路122は、動きベクトル決定回路107より出力された全体の動きベクトル値を用いるか、又は、動きベクトル補間値を用いるかを選択する。第1実施形態における“動きベクトル補間値”は、信頼性判定回路121によってブロック単位の動きベクトル値の信頼性が低いと判定された場合に用いられる値である。動きベクトル補間値としては、例えば、前のフィールドで用いた全体の動きベクトル値が用いられる。そのため、補間処理回路122は、用いた全体の動きベクトル値を逐次記憶する。   The interpolation processing circuit 122 selects whether to use the entire motion vector value output from the motion vector determination circuit 107 or the motion vector interpolation value. The “motion vector interpolation value” in the first embodiment is a value used when the reliability determination circuit 121 determines that the reliability of the motion vector value in units of blocks is low. As the motion vector interpolation value, for example, the entire motion vector value used in the previous field is used. Therefore, the interpolation processing circuit 122 sequentially stores the entire used motion vector values.

補間処理回路122が選択したベクトル値は、積分回路108に入力され、積分処理されて、積算された動きベクトル値に変換される。積算された動きベクトル値は、メモリ読み出し制御回路109に入力される。メモリ読み出し制御回路109は、積算された動きベクトル値に応じて画像の動きが相殺されるように、画像メモリ110の読み出し位置を制御し、これにより画像メモリ110からは、ぶれが補正された画像信号が出力される。   The vector value selected by the interpolation processing circuit 122 is input to the integration circuit 108, integrated, and converted into an integrated motion vector value. The accumulated motion vector value is input to the memory read control circuit 109. The memory readout control circuit 109 controls the readout position of the image memory 110 so that the motion of the image is canceled according to the accumulated motion vector value. A signal is output.

なお、上述したぶれ補正回路の構成要素のうち、フィルタ102、2値化回路103、相関演算回路104、メモリ105、動きベクトル検出回路106及び動きベクトル決定回路107が、代表ベクトル検出回路22を構成する。   Of the above-described components of the blur correction circuit, the filter 102, the binarization circuit 103, the correlation operation circuit 104, the memory 105, the motion vector detection circuit 106, and the motion vector determination circuit 107 constitute the representative vector detection circuit 22. To do.

図2は、上述したぶれ補正回路を備えたビデオカメラ等の撮像装置の概略構成を示すブロック図である。この撮像装置では、撮像光学系12を通してCCD等の撮像素子13の受光面に結像した被写体像は、撮像素子13によって電気信号に変換された後、カメラ信号処理回路14において、画像信号としての標準ビデオ信号等に変換される。   FIG. 2 is a block diagram illustrating a schematic configuration of an imaging apparatus such as a video camera provided with the above-described shake correction circuit. In this image pickup apparatus, a subject image formed on the light receiving surface of an image pickup device 13 such as a CCD through the image pickup optical system 12 is converted into an electric signal by the image pickup device 13 and then converted into an image signal by the camera signal processing circuit 14. It is converted into a standard video signal.

カメラ信号処理回路14で得られた画像信号は、1フィールド毎に画像メモリ110に入力されると共に、代表ベクトル検出回路22に入力される。代表ベクトル検出回路22では、図1を参照して説明した通りに、ブロック単位の動きベクトル値と全体の動きベクトル値が画像の動きに応じて算出される。そして、ブロック単位の動きベクトル値は信頼性判定回路121へと出力され、全体の動きベクトル値は補間処理回路122へと出力される。   The image signal obtained by the camera signal processing circuit 14 is input to the image memory 110 for each field and also input to the representative vector detection circuit 22. As described with reference to FIG. 1, the representative vector detection circuit 22 calculates the motion vector value in units of blocks and the entire motion vector value according to the motion of the image. Then, the motion vector value for each block is output to the reliability determination circuit 121, and the entire motion vector value is output to the interpolation processing circuit 122.

なお、信頼性判定回路121、補間処理回路122、積分回路108、メモリ読み出し制御回路109、画像メモリ110の制御は図1の説明と同じなので割愛する。こうして、ぶれが補正されたビデオ信号が、画像メモリ110からレコーダ17へと出力され、レコーダ17に記録される。   Note that the control of the reliability determination circuit 121, the interpolation processing circuit 122, the integration circuit 108, the memory readout control circuit 109, and the image memory 110 is the same as the description of FIG. In this way, the video signal whose blur has been corrected is output from the image memory 110 to the recorder 17 and recorded in the recorder 17.

図3は、図2に示した撮像装置で実行されるぶれ補正処理のフローチャートであり、ブロック単位の動きベクトル値の検出からぶれ補正されたビデオ信号の出力に至る処理を示している。   FIG. 3 is a flowchart of shake correction processing executed by the imaging apparatus shown in FIG. 2, and shows processing from detection of motion vector values in units of blocks to output of a shake-corrected video signal.

先ず、動きベクトル検出回路106が、ブロック単位の動きベクトル値を検出する(ステップS301)。このステップS301の処理は、ブロック単位の動きベクトル値が検出される毎に、同期して繰り返し実行される。続いて、ステップS301で検出されたブロック単位の動きベクトル値は、動きベクトル決定回路107と信頼性判定回路121に取り込まれる(ステップS302)。   First, the motion vector detection circuit 106 detects a motion vector value in units of blocks (step S301). The process of step S301 is repeatedly executed in synchronization every time a motion vector value in units of blocks is detected. Subsequently, the motion vector value for each block detected in step S301 is taken into the motion vector determination circuit 107 and the reliability determination circuit 121 (step S302).

次に、フィールド内のブロック単位のベクトル値の算出が全て完了したか否かが判定される(ステップS303)。算出が完了している場合(S303で“YES”)、処理はステップS304へ進み、算出が完了していない場合(S303で“NO”)、処理は終了する。   Next, it is determined whether or not the calculation of all vector values in units of blocks in the field has been completed (step S303). If the calculation is complete (“YES” in S303), the process proceeds to step S304. If the calculation is not complete (“NO” in S303), the process ends.

ステップS304では、動きベクトル決定回路107によって、複数のブロック単位の動きベクトル値から1つの全体の動きベクトル値が求められる。ステップS304の後、信頼性判定回路121によって、複数のブロック単位の動きベクトル値の分散値が求められ(ステップS305)、分散値が予め定められた基準値より大きいかが判定される(ステップS306)。分散値が基準値より大きい場合(S306で“YES”)、信頼性は低いと判定されて、処理はステップS307へ進められる。一方、分散値が基準値以下の場合(S306で“NO”)、信頼性は高いと判定されて、処理はステップS308へ進められる。なお、ステップS306で用いられる基準値は、例えば、1フィールドで求められるブロック単位の動きベクトル値の1/5〜1/3程度が一致する場合の分散値に相当する値でよい。但し、撮像装置の形状による揺れの違いや光学焦点距離を考慮して、適宜、適切な値に設定されることが望ましい。   In step S304, the motion vector determination circuit 107 calculates one overall motion vector value from the motion vector values in units of blocks. After step S304, the reliability determination circuit 121 obtains a variance value of a plurality of block-unit motion vector values (step S305), and determines whether the variance value is larger than a predetermined reference value (step S306). . If the variance value is larger than the reference value (“YES” in S306), it is determined that the reliability is low, and the process proceeds to step S307. On the other hand, if the variance value is less than or equal to the reference value (“NO” in S306), it is determined that the reliability is high, and the process proceeds to step S308. Note that the reference value used in step S306 may be, for example, a value corresponding to a variance value when about 1/5 to 1/3 of the motion vector values in units of blocks obtained in one field match. However, it is desirable to appropriately set an appropriate value in consideration of the difference in shaking depending on the shape of the imaging device and the optical focal length.

ステップS307では、補間処理回路122は、動きベクトル補間値(例えば、前回の全体の動きベクトル値)を動きベクトル値として採用して、ぶれ補正を行うことを決定し、その後、処理はステップS310へ進められる。一方、ステップS308に進んだ場合には、補間処理回路122は、今回の全体の動きベクトル値を採用して、ぶれ補正を行うことを決定する。今回の全体の動きベクトル値は信頼性が高いと判定されているので、次回の動きベクトル補間値として用いることができるように、補間処理回路122はその値を記憶し(ステップS309)、その後、処理はステップS310へ進められる。このとき、記憶されている前回の全体の動きベクトル値は消去してもよい。   In step S307, the interpolation processing circuit 122 adopts a motion vector interpolation value (for example, the previous entire motion vector value) as a motion vector value, and determines to perform blur correction, and then the process proceeds to step S310. It is advanced. On the other hand, when the process proceeds to step S308, the interpolation processing circuit 122 adopts the current overall motion vector value and determines to perform the shake correction. Since it is determined that the current motion vector value is highly reliable, the interpolation processing circuit 122 stores the value so that it can be used as the next motion vector interpolation value (step S309). The process proceeds to step S310. At this time, the previously stored entire motion vector value may be deleted.

ステップS310では、積分回路108による積分演算によってぶれ補正値が求められ、メモリ読み出し制御回路109により、得られたぶれ補正値に基づいて画像メモリ110からの読み出しが行われ(ステップS311)、その後、処理は終了する。   In step S310, a shake correction value is obtained by integration calculation by the integration circuit 108, and the memory read control circuit 109 reads out from the image memory 110 based on the obtained shake correction value (step S311). The process ends.

以上のようにして、検出された動きベクトル情報の信頼性に基づいて、ブロック単位の動きベクトル値の信頼性が低い場合には全体の動きベクトル値を補間することにより、連続性を損うことなく、円滑な補正を実現することができる。これにより、十分且つ正確にぶれ補正された画像が安定して得られる。   As described above, based on the reliability of the detected motion vector information, if the reliability of the motion vector value in units of blocks is low, the entire motion vector value is interpolated to impair continuity. Therefore, smooth correction can be realized. As a result, a sufficiently and accurately shake-corrected image can be stably obtained.

次に、ブロック単位のベクトル値の信頼性が低いと判定された場合に、図3のステップS307に従って動きベクトル補間値を用いてぶれ補正を実行する場合と、ぶれ補正を停止させた場合とを対比して説明する。   Next, when it is determined that the reliability of the vector value in units of blocks is low, the case where blur correction is performed using the motion vector interpolation value according to step S307 in FIG. 3 and the case where blur correction is stopped are The comparison will be described.

図4は、動きベクトル補間値を用いてぶれ補正を行った場合の全体の動きベクトル値の変化(実施例)と、ぶれ補正を停止させた場合の全体の動きベクトル値の変化(参考例)とを対比して説明する図である。図4(a)〜(c)の各図は、全体の動きベクトル値の時間変化を示しており、横軸には時間が、縦軸には画像の揺れ量(つまり、算出される全体の動きベクトル値)が取られている。   FIG. 4 shows changes in the overall motion vector value when the shake correction is performed using the motion vector interpolation value (example), and changes in the overall motion vector value when the shake correction is stopped (reference example). FIG. Each of FIGS. 4A to 4C shows the time change of the entire motion vector value. The horizontal axis represents time, and the vertical axis represents the amount of image shake (that is, the calculated total amount). Motion vector value).

図4(a)は、全体の動きベクトル値が、破線で示されている揺れ402に伴って検出されることを想定しており、ベクトル値の検出がエラー無く行われた場合を示している。なお、実際のぶれ補正に用いられる全体の動きベクトル値は2次元(2軸)であるが、ここでは、説明の便宜上、全体の動きベクトル値を1次元(縦1軸)で示している。   FIG. 4A assumes that the entire motion vector value is detected along with the shake 402 indicated by the broken line, and shows a case where the vector value is detected without error. . The entire motion vector value used for actual blur correction is two-dimensional (two axes), but here, for convenience of explanation, the entire motion vector value is shown one-dimensional (vertical one axis).

図4(a)〜(c)の横軸に示される単位時間401は、例えば、映像信号のフィールド周期等であり、単位時間401毎に全体の動きベクトル値が得られる。図4(a)において、矢印403のように黒い矢印は、信頼性が高いとされる全体の動きベクトル値を示しており、矢印404のように白抜きの矢印は信頼性が低いとされる全体の動きベクトル値を示している。なお、ここでは、信頼性が低い動きベクトル値として、単位時間当たりの変化率が大きいものを想定している。その理由は、単位時間当たりの変化量が大きい(、単位時間当たりの揺れ量が大きい)場合には、撮像素子に蓄積されている間にぶれが生じ、像ぶれによる撮像画のコントラストが低下していると考えらる。これにより、先に説明したブロックマッチング法による検出精度が低下するものと考えられるからである。   The unit time 401 shown on the horizontal axis in FIGS. 4A to 4C is, for example, the field period of the video signal, and the entire motion vector value is obtained for each unit time 401. In FIG. 4A, a black arrow like an arrow 403 indicates an entire motion vector value that is considered highly reliable, and a white arrow like an arrow 404 is assumed to be less reliable. The entire motion vector value is shown. Here, a motion vector value having low reliability is assumed to have a large rate of change per unit time. The reason for this is that when the amount of change per unit time is large (and the amount of fluctuation per unit time is large), blurring occurs while accumulating in the image sensor, and the contrast of the captured image due to image blurring decreases. I think. This is because it is considered that the detection accuracy by the block matching method described above is lowered.

図4(a)に示されるように、揺れ402に伴う全体の動きベクトル値が理想的に検出された場合には、全体の動きベクトル値は揺れ402に重なる。これに対し、図4(b)には、ブロック単位のベクトル値の信頼性が低いと判定された場合に、ぶれ補正を停止する(全体の動きベクトル値を算出せず、かつ動きベクトル補間値も用いない)従来の方法によって得られる全体の動きベクトル値の変化が示されている。より具体的には、図4(b)では、図4(a)の矢印404で示される信頼性が低いと判定された全体の動きベクトル値が、矢印405で示される値のようにゼロ(零)のベクトル値に置換されている。図4(b)から明らかなように、ある単位時間401の全体の動きベクトル値の信頼性が低いと判定された場合に、ベクトル値をゼロとしたときに得られる全体の動きベクトル値の変化の様子は、実際の揺れ量とは大きく異なるものとなる。つまり、十分なぶれ補正が実現されず、不連続な制御となってしまうことがわかる。   As shown in FIG. 4A, when the entire motion vector value accompanying the shake 402 is ideally detected, the entire motion vector value overlaps the shake 402. On the other hand, in FIG. 4B, when it is determined that the reliability of the vector value in units of blocks is low, the blur correction is stopped (the entire motion vector value is not calculated and the motion vector interpolation value is calculated). The overall motion vector value change obtained by the conventional method is also shown. More specifically, in FIG. 4B, the entire motion vector value determined to have low reliability indicated by the arrow 404 in FIG. 4A is zero (0) as indicated by the arrow 405. Zero) vector value. As is clear from FIG. 4B, the change in the overall motion vector value obtained when the vector value is zero when it is determined that the reliability of the overall motion vector value in a certain unit time 401 is low. The state of is greatly different from the actual amount of shaking. In other words, it can be seen that sufficient blur correction is not realized, resulting in discontinuous control.

これに対し、図4(c)には、図4(b)の値がゼロの矢印405で示されるベクトル値に代えて、動きベクトル補間値を示す矢印411を用いた場合の全体の動きベクトル値の変化の様子を示している。信頼性の低い全体の動きベクトル値(矢印404)に代えて、前回の全体の動きベクトル値402と同値である動きベクトル補間値を示す矢印411で補間する。これにより全体の動きベクトル値の変化の様子は、実際の揺れ402に近付き、滑らかに変化することがわかる。   On the other hand, in FIG. 4C, the entire motion vector in the case where the arrow 411 indicating the motion vector interpolation value is used in place of the vector value indicated by the arrow 405 whose value in FIG. It shows how the value changes. Instead of the entire motion vector value with low reliability (arrow 404), interpolation is performed with an arrow 411 indicating a motion vector interpolation value that is the same value as the previous entire motion vector value 402. As a result, it can be seen that the state of change of the entire motion vector value approaches the actual shake 402 and changes smoothly.

<第2実施形態>
第2実施形態では、概略、信頼性の判定方法において、ブロック単位で現フィールドと前フィールドとの相関値に基づいて信頼性を示す値(以下「信頼性指示値」という)を算出する。そして、この信頼性指示値に基いて定められた補正係数(補正係数については図7で詳細に説明する)を動きベクトル補間値に乗じることで動きベクトル補間値を補正し、ぶれ補正を行う。
Second Embodiment
In the second embodiment, in the outline and reliability determination method, a value indicating reliability (hereinafter referred to as “reliability indication value”) is calculated on the basis of the correlation value between the current field and the previous field in block units. Then, the motion vector interpolation value is corrected by multiplying the motion vector interpolation value by a correction coefficient (the correction coefficient will be described in detail in FIG. 7) determined based on the reliability instruction value, and shake correction is performed.

図5は、本発明の第2実施形態に係る撮像装置が備えるぶれ補正回路のブロック図である。同様に図5に示された構成を備えたぶれ補正回路が組み込まれたビデオカメラ等の撮像装置における構成及び動作は、図2に示した第1実施形態の撮像装置の構成及び動作に準ずる。そのため、第1実施形態と重複する説明は割愛する。   FIG. 5 is a block diagram of a shake correction circuit provided in the imaging apparatus according to the second embodiment of the present invention. Similarly, the configuration and operation of an imaging apparatus such as a video camera incorporating the shake correction circuit having the configuration shown in FIG. 5 is the same as the configuration and operation of the imaging apparatus of the first embodiment shown in FIG. Therefore, the description which overlaps with 1st Embodiment is omitted.

信頼性判定回路121aは、動きベクトル決定回路107において得られる、全体の動きベクトル値の信頼性(正確さの尺度)を求めるものである。信頼性判定回路121aは、相関演算回路104より得られるブロック単位の相関値の大小によりフィールド間の相関の大きさを求め、得られた相関の大きさに基づいて算出される動きベクトル値の信頼性を決定する。算出される動きベクトル値の信頼性はフィールド間の相関の大きさが小さい(フィールド間の符号Bitの差分が0近傍を取り得る)場合は高くなり、逆にフィールド間の相関の大きさが大きい(フィールド間の符号Bitの差分が所定量より大きい)場合は低くなる。   The reliability determination circuit 121a obtains the reliability (scale of accuracy) of the entire motion vector value obtained in the motion vector determination circuit 107. The reliability determination circuit 121a obtains the magnitude of the correlation between fields based on the magnitude of the correlation value in block units obtained from the correlation calculation circuit 104, and the reliability of the motion vector value calculated based on the obtained magnitude of the correlation. Determine sex. The reliability of the calculated motion vector value is high when the correlation between the fields is small (the difference in code bit between fields can be close to 0), and conversely, the correlation between the fields is large. It becomes low when the difference in the sign bit between fields is larger than a predetermined amount.

具体的には、コントラストの高い被写体では映像信号より得られる符号Bitの精度が高く得られ、かつ、フィールド間の被写体移動がブロック単位の検出エリアに対し十分小さい場合には、フィールド間の相関の大きさは小さくなる。そのため、算出される動きベクトル値の信頼性は高くなる。反対に、コントラストが低い場合やフィールド間での被写体の移動が大きく、撮像素子の蓄積時間中のぶれが生じている場合には、フィールド間の相関の大きさが大きくなる。そのため、算出される動きベクトル値の信頼性は低くなる。   Specifically, in a high-contrast subject, the accuracy of the code bit obtained from the video signal is obtained, and when the subject movement between fields is sufficiently small relative to the detection area in block units, the correlation between the fields is The size becomes smaller. Therefore, the reliability of the calculated motion vector value is increased. On the other hand, when the contrast is low or the movement of the subject between the fields is large and blurring occurs during the accumulation time of the image sensor, the correlation between the fields is large. Therefore, the reliability of the calculated motion vector value is low.

フィールド間の相関の大きさは、2値化回路103の精度が影響する。コントラストが高いほど、2値化回路103の変換特性や精度に依存することなく、2値化の処理結果が良好に得られるが、コントラストが低い場合には、2値化回路103の変換特性や精度の影響が大きく現れる。   The accuracy of the binarization circuit 103 affects the magnitude of the correlation between fields. The higher the contrast, the better the binarization processing result can be obtained without depending on the conversion characteristics and accuracy of the binarization circuit 103. However, when the contrast is low, the conversion characteristics of the binarization circuit 103 and The effect of accuracy appears greatly.

信頼性判定回路121aは、具体的には、相関演算回路104により求められた複数のブロック単位の相関値の最小値の平均値(以下「相関平均値」という)を1から減じた値を信頼性を示す値(以下「信頼性指示値」という)として算出する。即ち、
・信頼性指示値 = 1−相関平均値
となる。したがって、相関平均値が小さい、つまり、相関が高いという結果が得られれば、信頼性指示値は大きくなり、逆に、相関平均値が大きい、つまり、相関が低いという結果が得られれば、信頼性指示値は小さくなる。但し、“0≦ 1−相関平均値 = 信頼性指示値 ≦1”となる。
Specifically, the reliability determination circuit 121a trusts a value obtained by subtracting from 1 the average value of the minimum correlation values (hereinafter referred to as “correlation average value”) obtained by the correlation calculation circuit 104. It is calculated as a value indicating the reliability (hereinafter referred to as “reliability indication value”). That is,
-Reliability indication value = 1-Correlation average value. Therefore, if the correlation average value is small, that is, the result that the correlation is high is obtained, the reliability indication value is large. The sex indication value becomes smaller. However, “0 ≦ 1-correlation average value = reliability indication value ≦ 1”.

次に、図5を参照して説明したぶれ補正処理について、フローチャートを参照して説明する。図6は、第2実施形態に係る撮像装置で実行されるぶれ補正処理のフローチャートである。このフローチャートは、撮像画の入力からメモリ読み出しによるぶれ補正に至るまでの処理を示している。   Next, the blur correction process described with reference to FIG. 5 will be described with reference to a flowchart. FIG. 6 is a flowchart of shake correction processing executed by the imaging apparatus according to the second embodiment. This flowchart shows processing from input of a captured image to blur correction by memory reading.

先ず、被写体を撮像している画像信号がフィルタ102に入力されると、フィルタ102は先述のフィルタ信号処理を行う(ステップS401)。続いて、フィルタ信号処理された画像信号は、2値化回路103によって二値化処理される(ステップS402)。その後、相関演算回路104が、先述の相関演算(相関値算出)を行う(ステップS403)。続いて、動きベクトル検出回路106によりブロック単位の動きベクトル値が算出される(ステップS404)。   First, when an image signal capturing a subject is input to the filter 102, the filter 102 performs the above-described filter signal processing (step S401). Subsequently, the image signal subjected to the filter signal processing is binarized by the binarization circuit 103 (step S402). Thereafter, the correlation calculation circuit 104 performs the above-described correlation calculation (correlation value calculation) (step S403). Subsequently, a motion vector value for each block is calculated by the motion vector detection circuit 106 (step S404).

そして、1フィールドのベクトル算出が完了したか否かが判定される(ステップS405)。1フィールドのベクトル算出が完了した場合(S405で“YES”)、処理はステップS406へ進み、完了していない場合(S405で“NO”)は処理を終了する。   Then, it is determined whether or not the vector calculation for one field is completed (step S405). When the vector calculation for one field is completed (“YES” in S405), the process proceeds to step S406, and when it is not completed (“NO” in S405), the process ends.

ステップS406では、動きベクトル決定回路107によって、1つの全体の動きベクトル値が出力される。そしてステップS407においては、信頼性判定回路121aが、現フィールドにおける信頼性指示値を算出する。続いて、ステップS408においては信頼性指示値が信頼性基準値より小さいか否かが判定される。これは、信頼性指示値が値いさくなるほど、検出精度が低くなるため、本フィールドにおけるベクトルの検出精度が基準とした検出精度よりも高いか低いかを判定する。   In step S406, the motion vector determination circuit 107 outputs one overall motion vector value. In step S407, the reliability determination circuit 121a calculates a reliability instruction value in the current field. Subsequently, in step S408, it is determined whether or not the reliability instruction value is smaller than the reliability reference value. Since the detection accuracy decreases as the reliability instruction value becomes smaller, it is determined whether the vector detection accuracy in this field is higher or lower than the reference detection accuracy.

信頼性指示値が信頼性基準値より小さい場合(S408で“YES”)、得られる動きベクトル値の検出精度は低いと判定され、処理はステップS409へ進められる。   If the reliability instruction value is smaller than the reliability reference value (“YES” in S408), it is determined that the detection accuracy of the obtained motion vector value is low, and the process proceeds to step S409.

ステップS409では、補間処理回路122は、1フィールド前の動きベクトル値と1フィールド前の信頼性指示値から動きベクトル補間値を算出する。そして、算出された動きベクトルはぶれ補正の演算に用いる動きベクトル値とされる。第2実施形態における「動きベクトル補間値」とは、例えば、1フィールド前に決定された全体の動きベクトル値に、1フィールド前に信頼性判定回路121aで得られた信頼性指示値を乗じることにより得られるベクトル値である。即ち、
・動きベクトル補間値 = 信頼性指示値に基いて定められた所補正係数 × 1フィールド前に決定された全体の動きベクトル値
となる。
In step S409, the interpolation processing circuit 122 calculates a motion vector interpolation value from the motion vector value one field before and the reliability instruction value one field before. The calculated motion vector is used as a motion vector value used for blur correction calculation. The “motion vector interpolation value” in the second embodiment refers to, for example, multiplying the entire motion vector value determined one field before by the reliability instruction value obtained by the reliability determination circuit 121a one field before. Is a vector value obtained by That is,
Motion vector interpolation value = placement coefficient determined based on the reliability indication value × total motion vector value determined one field before.

一方、信頼性指示値が信頼性基準値以上である場合(S408で“NO”)、得られる動きベクトル値の検出精度は高いと判定され、処理はステップS410へ進められる。そしてステップS410では、補間処理回路122によって、今回のフィールドの全体の動きベクトル値が、ぶれ補正の演算に用いる動きベクトル値とされる。今回の全体の動きベクトル値の信頼性が高いため、補間処理回路122は、これを次の動きベクトル補間値として用いることができるように記憶する(ステップS411)。また、今回の相関平均値も、次の動きベクトル補関値を算出するために、記憶される(ステップS412)。なお、ステップS411では記憶されている前回の全体の動きベクトル値が、ステップS412では記憶されている前回の相関平均値が、それぞれ消去される。   On the other hand, when the reliability instruction value is equal to or higher than the reliability reference value (“NO” in S408), it is determined that the detection accuracy of the obtained motion vector value is high, and the process proceeds to step S410. In step S410, the interpolation processing circuit 122 sets the entire motion vector value of the current field as a motion vector value used for blur correction calculation. Since the reliability of the entire motion vector value this time is high, the interpolation processing circuit 122 stores it so that it can be used as the next motion vector interpolation value (step S411). Further, the current correlation average value is also stored in order to calculate the next motion vector complement value (step S412). In step S411, the previous entire motion vector value stored in step S411 and the previous correlation average value stored in step S412 are deleted.

ステップS409又はステップS412の後には、積分回路108による積分演算によってぶれ補正値が求められる(ステップS413)。そして、得られたぶれ補正値に基づいて、メモリ読み出し制御回路109による画像メモリ110からの読み出しが行われ(ステップS414)、こうして、ぶれ補正された画像信号が得られる。その後、処理は終了する。   After step S409 or step S412, a shake correction value is obtained by integration calculation by the integration circuit 108 (step S413). Then, reading from the image memory 110 is performed by the memory read control circuit 109 based on the obtained blur correction value (step S414), and thus a blur-corrected image signal is obtained. Thereafter, the process ends.

次に、図6におけるステップS409にて補間処理回路122が実行する動きベクトル補間値の算出処理について説明する。図7は、動きベクトル補間値の処理を説明するためのグラフである。   Next, the motion vector interpolation value calculation process executed by the interpolation processing circuit 122 in step S409 in FIG. 6 will be described. FIG. 7 is a graph for explaining processing of motion vector interpolation values.

図7のグラフにおいて、横軸は、信頼性判定回路121aによって求められた1フィールド前の信頼性指示値であり、縦軸は、動きベクトル補間値を求めるための補正係数である。図7では、信頼性指示値を100倍してパーセント(%)で表示している。   In the graph of FIG. 7, the horizontal axis is the reliability instruction value of the previous field obtained by the reliability determination circuit 121a, and the vertical axis is the correction coefficient for obtaining the motion vector interpolation value. In FIG. 7, the reliability instruction value is multiplied by 100 and displayed in percent (%).

上述の通り、補間処理回路122では、1フィールド前に検出、記憶された全体の動きベクトル値に、信頼性判定回路121aによって得られる信頼性指示値に基いて予め決められた所定の補正係数を乗じることにより補間ベクトル値を算出する。   As described above, the interpolation processing circuit 122 applies a predetermined correction coefficient determined in advance based on the reliability instruction value obtained by the reliability determination circuit 121a to the entire motion vector value detected and stored one field before. An interpolation vector value is calculated by multiplication.

図7のグラフに示されるように、例えば1次の相関特性501に基づいて、信頼性指示値が信頼性基準値である0.8、即ち80%であれば、補正係数を1倍とする。そして信頼性指示値が例えば0.2、即ち20%へと下がるにつれて補正係数を小さくして、20%以下では補正係数を0とする。なお、本実施例においては、信頼性指示値が0.2以下で補正係数を0としたが、補正係数を0となる点は信頼性指示値が0より大きく信頼性基準値未満であれば任意の値でよい。なお、本実施形態においては信頼性指示値が80%以上であるならば、動きベクトル補間値の演算自体が行われない(図6のステップS408でNoなのでステップS410へ進むため、ステップS409の処理が行われない)ので、補正係数は必要ない。   As shown in the graph of FIG. 7, for example, based on the first-order correlation characteristic 501, if the reliability indication value is 0.8, which is the reliability reference value, that is, 80%, the correction coefficient is multiplied by 1. . Then, the correction coefficient is decreased as the reliability indication value is reduced to, for example, 0.2, that is, 20%. In this embodiment, the reliability instruction value is 0.2 or less and the correction coefficient is 0. However, the correction coefficient is 0 if the reliability instruction value is greater than 0 and less than the reliability reference value. Any value is acceptable. In this embodiment, if the reliability instruction value is 80% or more, the motion vector interpolation value is not calculated itself (No in step S408 in FIG. 6 and the process proceeds to step S410, so the process in step S409 is performed). Correction factor is not necessary.

以上の説明の通り、全体の動きベクトル値の信頼性が低い場合に、信頼性判定回路121aにより得られる信頼性指示値を用いて求めた動きベクトル補間値を用いることにより、滑らかなぶれ補正を実現することができる。これにより、十分且つ正確にぶれ補正された画像が安定して得られる。なお、相関特性501は一次関数として説明したが、必ずしも一次関数である必要はない。   As described above, when the reliability of the entire motion vector value is low, smooth blur correction is performed by using the motion vector interpolation value obtained by using the reliability instruction value obtained by the reliability determination circuit 121a. Can be realized. As a result, a sufficiently and accurately shake-corrected image can be stably obtained. Although the correlation characteristic 501 has been described as a linear function, it is not necessarily a linear function.

<第3実施形態>
第3実施形態は、図5における第2実施形態に係るぶれ補正回路が備える信頼性判定回路121aにおける信頼性判定の仕組みを変更したものである。そのため、第3実施形態に係る撮像装置と、この撮像装置が備えるぶれ補正回路のブロック図について、図示を省略する。
<Third Embodiment>
In the third embodiment, the reliability determination mechanism in the reliability determination circuit 121a included in the shake correction circuit according to the second embodiment in FIG. 5 is changed. Therefore, illustration is abbreviate | omitted about the imaging device which concerns on 3rd Embodiment, and the block diagram of the blurring correction circuit with which this imaging device is provided.

第3実施形態に係る撮像装置が備える信頼性判定回路(図5の121aに相当)は、相関値の最小値(以下「相関最小値」という)と、この相関最小値を取り得る画素アドレスに隣接する画素の相関値との差分又は比率に基づいて信頼性を算出する。なお、第1,第2実施形態では、フィールド画像信号を取り上げたが、第3実施形態では、フレーム画像信号を取り上げる。勿論、第3実施形態は、フィールド画像信号に対しても、そのまま適用することができる。   A reliability determination circuit (corresponding to 121a in FIG. 5) included in the imaging apparatus according to the third embodiment uses a minimum correlation value (hereinafter referred to as “correlation minimum value”) and a pixel address that can take the minimum correlation value. Reliability is calculated based on the difference or ratio with the correlation value of adjacent pixels. In the first and second embodiments, the field image signal is taken up. In the third embodiment, the frame image signal is taken up. Of course, the third embodiment can be applied to a field image signal as it is.

図8は、相関演算回路104による現フレームと前フレームとの間の画像移動量(=動きベクトル量)と相関値との関係を示すグラフである。   FIG. 8 is a graph showing the relationship between the image movement amount (= motion vector amount) between the current frame and the previous frame by the correlation calculation circuit 104 and the correlation value.

図8において、実線で示される相関値551は、フレーム間の相関差分の小さい被写体を撮影した際の画像移動量に対する相関値を示している。また、破線で示される相関値555は、フレーム間の相関差分の大きい被写体を撮影した際の画像移動量に対する相関値を示している。   In FIG. 8, a correlation value 551 indicated by a solid line indicates a correlation value with respect to an image movement amount when a subject with a small correlation difference between frames is photographed. A correlation value 555 indicated by a broken line indicates a correlation value with respect to an image movement amount when a subject having a large correlation difference between frames is captured.

ブロックマッチングを用いた場合、はっきりした(明暗や色彩配置が明瞭な)絵柄等のコントラストの高い被写体像の場合、フレーム間の相関差分は小さくなり相関値551に示される最小値552を取る。はっきりした絵柄等のコントラストの高い被写体像の場合は、画像移動量に対する相関差分の変化が明瞭であるため、相関最小値が明確に求まる。このように相関値が明確に求まる被写体条件においては、画像移動量に対する相関値の変化が急峻であるため、最小値552を取る画素アドレスに隣接する両隣の画素が取る画像移動量の相関値553,554との差分も大きくなり、その先鋭度は鋭くなる。   When block matching is used, in the case of a subject image with a high contrast such as a clear pattern (bright and dark or color arrangement is clear), the correlation difference between frames becomes small and takes the minimum value 552 shown in the correlation value 551. In the case of a high-contrast subject image such as a clear picture, the change in the correlation difference with respect to the image movement amount is clear, and thus the minimum correlation value can be obtained clearly. In such a subject condition in which the correlation value is clearly obtained, since the change of the correlation value with respect to the image movement amount is steep, the correlation value 553 of the image movement amount taken by both adjacent pixels adjacent to the pixel address having the minimum value 552. , 554 also becomes larger and the sharpness becomes sharper.

一方、ピントがぼけた被写体等のコントラストの低い被写体像の場合は、画像移動量に対する相関差分の変化が小さいため、相関最小値が求め難くなる。さらに、相関値が求め難い被写体条件においては、画像移動量に対する相関値の変化が小さく、最小値556を取る画素アドレスに隣接する両隣の画素が取る画像移動量の相関値557,558との差分も小さくなり、先鋭度は鈍くなる。   On the other hand, in the case of a subject image with low contrast, such as a subject that is out of focus, since the change in the correlation difference with respect to the image movement amount is small, it is difficult to obtain the minimum correlation value. Furthermore, in subject conditions for which it is difficult to obtain a correlation value, the change in the correlation value with respect to the image movement amount is small, and the difference between the image movement amount correlation values 557 and 558 taken by the adjacent pixels adjacent to the pixel address having the minimum value 556. And the sharpness becomes dull.

したがって、画像移動量を求める際に求めた相関最小値を取る画素アドレスとその両隣の画素の相関値との差を求めたときに、その差が大きければ得られる全体の動きベクトル値の信頼性は高いと言える。反対に、その差が小さければ、得られる全体の動きベクトル値の信頼性は低いと言える。なお、上記説明は、一軸上の画像移動量と相関値との関係についてのものであるが、実際には撮像装置は2つの直交する画素配列を有するため、各画素配列軸上で同じ処理が行われることとなる。   Therefore, if the difference between the pixel address that takes the minimum correlation value obtained when calculating the image movement amount and the correlation value of the adjacent pixels is obtained, the reliability of the overall motion vector value obtained if the difference is large. Is expensive. On the contrary, if the difference is small, it can be said that the reliability of the obtained entire motion vector value is low. The above description is about the relationship between the image movement amount on one axis and the correlation value. However, since the imaging apparatus actually has two orthogonal pixel arrays, the same processing is performed on each pixel array axis. Will be done.

図9は、第3実施形態における信頼性判定回路において行われる信頼性判定処理のフローチャートである。このフローチャートに示される処理は、図6の一部を変更したものであり、第2実施形態についての説明で参照した図6のフローチャートに示されるステップS407,S408の処理に相当する。よって、図9の信頼性算出処理は、図6のフローチャートに示されるステップS406全体の動きベクトル値の算出)の後に開始される。   FIG. 9 is a flowchart of a reliability determination process performed in the reliability determination circuit according to the third embodiment. The process shown in this flowchart is obtained by changing a part of FIG. 6 and corresponds to the processes of steps S407 and S408 shown in the flowchart of FIG. 6 referred to in the description of the second embodiment. Therefore, the reliability calculation process of FIG. 9 is started after the calculation of the motion vector value of the entire step S406 shown in the flowchart of FIG.

信頼性算出処理では、先ず、相関演算回路104が、相関値をサーチして相関最小値を求める(ステップS601)。続いて、求められた相関最小値と、この相関最小値を取る画素に隣接する両隣の画素の相関値との差分を求める(ステップS602)。ステップS602における演算は、例えば、“差分=|相関最小値−(一方の隣接画素の相関値+他方の隣接画素の相関値)/2|”によって行うことができる。   In the reliability calculation process, first, the correlation calculation circuit 104 searches for a correlation value to obtain a minimum correlation value (step S601). Subsequently, the difference between the calculated minimum correlation value and the correlation value of the pixels adjacent to both pixels adjacent to the pixel having the minimum correlation value is determined (step S602). The calculation in step S602 can be performed by, for example, “difference = | minimum correlation value− (correlation value of one adjacent pixel + correlation value of the other adjacent pixel) / 2 |”.

こうして求めた差分が所定の基準値より大きいか否かが判定される(ステップS603)。ここでの所定の基準値とは、例えば相関値の最大値(即ち、ベクトル検出ブロック同士が一致しない時の値)の10%とする。差分が基準値より大きい場合(S603で“YES”)、信頼性は高いと判定される(ステップS604)。一方、差分が基準値以下の場合(S603で“NO”)、信頼性が低いと判定される(ステップS604)。ステップS604,605の判定がなされることで、信頼性判定処理は終了する。   It is determined whether or not the difference thus obtained is larger than a predetermined reference value (step S603). The predetermined reference value here is, for example, 10% of the maximum correlation value (that is, the value when the vector detection blocks do not match). If the difference is larger than the reference value (“YES” in S603), it is determined that the reliability is high (step S604). On the other hand, when the difference is equal to or smaller than the reference value (“NO” in S603), it is determined that the reliability is low (step S604). When the determinations in steps S604 and 605 are made, the reliability determination process ends.

なお、ステップS604の判定がなされた場合には、今回の全体の動きベクトル値がぶれ補正の演算に用いられ、ステップS605の判定がなされた場合には、動きベクトル補間値がぶれ補正の演算に用いられることとなる。   If the determination in step S604 is made, the current overall motion vector value is used for shake correction calculation. If the determination in step S605 is made, the motion vector interpolation value is used for shake correction calculation. Will be used.

このような第3実施形態の信頼性判定を行うことによっても、連続的で、滑らかなぶれ補正を実現することができる。これにより、十分且つ正確にぶれ補正された画像が安定して得られる。   By performing the reliability determination of the third embodiment as described above, continuous and smooth blur correction can be realized. As a result, a sufficiently and accurately shake-corrected image can be stably obtained.

なお、上記形態では、相関最小値と、相関最小値を取り得る画素アドレスに隣接する両隣の画素の相関値との差分を求めることにより信頼性を判定した。これに限られず、相関最小値と、相関最小値を取り得る画素アドレスに隣接する両隣の画素の相関値との比率を求めることによっても、同様な信頼性判定を行うことができる。その際の演算式としては、例えば、“比率=相関最小値/(一方の隣接画素の相関値+他方の隣接画素の相関値)”を用いることができる。   In the above embodiment, the reliability is determined by obtaining the difference between the correlation minimum value and the correlation value of the adjacent pixels adjacent to the pixel address at which the correlation minimum value can be obtained. However, the present invention is not limited to this, and the same reliability determination can be performed by determining the ratio between the correlation minimum value and the correlation value of the pixels adjacent to the pixel address that can take the correlation minimum value. As an arithmetic expression at that time, for example, “ratio = minimum correlation value / (correlation value of one adjacent pixel + correlation value of the other adjacent pixel)” can be used.

<第4実施形態>
第4実施形態は、第2実施形態に係るぶれ補正回路が備える補間処理回路122での補間処理に変更を加えるものであり、動きベクトル補間値の算出のために用いられる動きベクトル値の大きさに応じて、新たに算出される動きベクトル補間値を補正する。なお、第4実施形態に係る撮像装置と、この撮像装置が備えるぶれ補正回路のブロック図、ぶれ補正処理のフローチャートは、第2実施形態のものと同様(図5、図6)のため、図示を省略する。
<Fourth embodiment>
In the fourth embodiment, the interpolation processing in the interpolation processing circuit 122 included in the shake correction circuit according to the second embodiment is changed, and the magnitude of the motion vector value used for calculating the motion vector interpolation value is changed. Accordingly, the newly calculated motion vector interpolation value is corrected. Note that the image pickup apparatus according to the fourth embodiment, the block diagram of the shake correction circuit included in the image pickup apparatus, and the flowchart of the shake correction processing are the same as those in the second embodiment (FIGS. 5 and 6). Is omitted.

図10は、動きベクトル補間値を算出するための、補間処理回路におけるベクトル値の変換特性を示すグラフである。図10のグラフにおいて、横軸は、前回(前フィールド)に記憶された全体の動きベクトル値であり、縦軸は、横軸の全体の動きベクトル値に応じて実際に算出される動きベクトル補間値(補正された動きベクトル補間値)を示している。   FIG. 10 is a graph showing vector value conversion characteristics in the interpolation processing circuit for calculating a motion vector interpolation value. In the graph of FIG. 10, the horizontal axis represents the entire motion vector value stored in the previous (previous field), and the vertical axis represents the motion vector interpolation actually calculated according to the entire motion vector value on the horizontal axis. The value (corrected motion vector interpolation value) is shown.

図10のグラフに示される変換特性(入出力特性)561によれば、前回に記憶された全体の動きベクトル値が小さい場合には、前回に記憶された全体の動きベクトル値と同じ値で動きベクトル補間値が出力される。   According to the conversion characteristics (input / output characteristics) 561 shown in the graph of FIG. 10, when the entire motion vector value stored last time is small, the motion is the same value as the entire motion vector value stored last time. A vector interpolation value is output.

そして、前回に記憶された全体の動きベクトル値が所定値を越えると(図1では10画素)、前回に記憶された全体の動きベクトル値が大きくなるに従って、出力される動きベクトル値が前回に記憶された全体の動きベクトル値よりも小さくなるように補正される。このように、第4実施形態では、動きベクトル補間値の最大値を制限する。即ち、
・補正後の動きベクトル補間値 = 前回に記憶された全体の動きベクトル値 (前回に記憶された全体の動きベクトル値 ≦ 所定値)、
・補正後の動きベクトル補間値 < 前回に記憶された全体の動きベクトル値 (所定値 ≦ 前回に記憶された全体の動きベクトル値)
となる。
When the total motion vector value stored last time exceeds a predetermined value (10 pixels in FIG. 1), the output motion vector value becomes the previous value as the total motion vector value stored last time increases. Correction is made to be smaller than the entire stored motion vector value. Thus, in the fourth embodiment, the maximum value of the motion vector interpolation value is limited. That is,
-Motion vector interpolation value after correction = Total motion vector value stored last time (Total motion vector value stored last time ≤ Predetermined value),
-Motion vector interpolation value after correction <Overall motion vector value stored last time (predetermined value ≤ Overall motion vector value stored last time)
It becomes.

このような補正を行う理由は、以下の通りである。即ち、一般に大きな動きベクトル値は、先にも述べたように、撮像素子の蓄積時間中のぶれ量も大きく、検出精度が低下していると考えられる。そのため、正確な全体の動きベクトル値ではない可能性が大きく、また、補正範囲が有限であるという制約や、撮像素子での蓄積ぶれによる画質低下により、連続した大きな動きベクトル値の全てに対して必ずしもぶれ補正を行う必要はないと考えられる。   The reason for performing such correction is as follows. That is, in general, a large motion vector value has a large amount of blur during the accumulation time of the image sensor as described above, and it is considered that the detection accuracy is lowered. Therefore, there is a high possibility that it is not an accurate overall motion vector value, and due to the limitation that the correction range is finite and image quality degradation due to accumulated blur in the image sensor, all continuous large motion vector values are It is considered that it is not always necessary to perform blur correction.

動きベクトル補間値を算出するための、補間処理回路におけるベクトル値の変換特性は、図10に示される変換特性561に限定されない。図11は、動きベクトル補間値を算出するための、補間処理回路におけるベクトル値の別の変換特性を示すグラフである。   The conversion characteristic of the vector value in the interpolation processing circuit for calculating the motion vector interpolation value is not limited to the conversion characteristic 561 shown in FIG. FIG. 11 is a graph showing another conversion characteristic of the vector value in the interpolation processing circuit for calculating the motion vector interpolation value.

図11のグラフに示される変換特性566によれば、前回に記憶された全体の動きベクトル値が所定値以下の場合には、前回に記憶された全体の動きベクトル値と同じ値で動きベクトル補間値が出力される。そして、前回に記憶された全体の動きベクトル値が所定値より大きい場合には、出力される動きベクトル値はその所定値に置き換られる。即ち、
・補正後の動きベクトル補間値 = 前回に記憶された全体の動きベクトル値 (前回に記憶された全体の動きベクトル値 ≦ 所定値)”、
・補正後の動きベクトル補間値 = 所定値(所定値 ≦ 前回に記憶された全体の動きベクトル値)
となる。
According to the conversion characteristic 566 shown in the graph of FIG. 11, when the entire motion vector value stored last time is equal to or less than a predetermined value, motion vector interpolation is performed with the same value as the entire motion vector value stored last time. The value is output. When the entire motion vector value stored last time is larger than a predetermined value, the output motion vector value is replaced with the predetermined value. That is,
・ Motion vector interpolation value after correction = total motion vector value stored last time (total motion vector value stored last time ≦ predetermined value) ”,
-Motion vector interpolation value after correction = Predetermined value (predetermined value ≤ overall motion vector value stored in the previous time)
It becomes.

図10及び図11に示すいずれの変換特性561,566を用いても、連続的で、滑らかなぶれ補正を実現することができる。これにより、十分且つ正確にぶれ補正された画像が安定して得られる。   Even if any of the conversion characteristics 561 and 566 shown in FIGS. 10 and 11 is used, continuous and smooth blur correction can be realized. As a result, a sufficiently and accurately shake-corrected image can be stably obtained.

なお、実際のぶれ補正に用いられる全体の動きベクトル値は2次元(2軸)であるが、ここでも、説明の便宜上、全体の動きベクトル値を1次元(縦1軸)で示した。   Note that the entire motion vector value used for actual blur correction is two-dimensional (two axes), but here, for convenience of explanation, the entire motion vector value is shown one-dimensional (vertical one axis).

<第5実施形態>
第5実施形態は、第2実施形態に係るぶれ補正回路が備える補間処理回路122での補間処理に変更を加えるものであり、動きベクトル補間値の算出の際に用いる全体の動きベクトル値の時間軸に対する変化に応じ、新たに算出される動きベクトル補間値を補正する。なお、第5実施形態に係る撮像装置と、この撮像装置が備えるぶれ補正回路のブロック図は、第2実施形態のものと同様になるため、図示を省略する。
<Fifth Embodiment>
In the fifth embodiment, the interpolation processing in the interpolation processing circuit 122 included in the shake correction circuit according to the second embodiment is changed, and the time of the entire motion vector value used for calculating the motion vector interpolation value is changed. The newly calculated motion vector interpolation value is corrected according to the change with respect to the axis. The block diagram of the image pickup apparatus according to the fifth embodiment and the shake correction circuit included in the image pickup apparatus is the same as that of the second embodiment, and is not shown.

図12は、動きベクトル補間値の補正方法を説明するためのグラフである。このグラフの横軸は時間軸であり、全体の動きベクトル値が検出されるフィールド単位で、全体の動きベクトル値が示されており、縦軸は揺れ量(全体の動きベクトル値)を示している。よって、このグラフは、時間軸に対する全体の動きベクトル値の変化を示している。   FIG. 12 is a graph for explaining a method of correcting a motion vector interpolation value. The horizontal axis of this graph is the time axis, the entire motion vector value is shown for each field in which the entire motion vector value is detected, and the vertical axis indicates the amount of shaking (the entire motion vector value). Yes. Therefore, this graph shows the change of the entire motion vector value with respect to the time axis.

図12において、ベクトル570,571,572,573では、ベクトル値の変化量が増加傾向にある。一方、ベクトル580,581,582,583では、ベクトル値の変化量が減少傾向にある。   In FIG. 12, in the vectors 570, 571, 572, and 573, the amount of change in the vector value tends to increase. On the other hand, in the vectors 580, 581, 582, and 583, the amount of change in the vector value tends to decrease.

ここで、例えば、ベクトル573のベクトル値の信頼性が低いために、これを用いずに動きベクトル補間値を用いる場合、ベクトル値の変化が増加傾向にあるため、動きベクトル補間値も、前回記憶したベクトル572に相当するベクトル値に比べて増加する。   Here, for example, since the reliability of the vector value of the vector 573 is low, when the motion vector interpolation value is used without using it, the change in the vector value tends to increase, so the motion vector interpolation value is also stored in the previous time. It increases compared to the vector value corresponding to the vector 572.

逆に、ベクトル583のベクトル値の信頼性が低いために、これを用いずに動きベクトル補間値を用いる場合、ベクトル値の変化が減少傾向にあるため、動きベクトル補間値も、前回記憶したベクトル582に相当するベクトル値に比べて減少する。   On the contrary, since the reliability of the vector value of the vector 583 is low, when the motion vector interpolation value is used without using it, the change of the vector value tends to decrease. It decreases compared to the vector value corresponding to 582.

そのため、増加傾向が見られる場合には、動きベクトル補間値について、その増加量を見込んだ補正を行うことが好ましく、一方、減少傾向が見られる場合には、その減少量を見込んだ補正を行うこと画好ましい。   For this reason, when an increasing tendency is observed, it is preferable to correct the motion vector interpolated value in consideration of the increasing amount. On the other hand, when a decreasing trend is observed, the correction is performed in consideration of the decreasing amount. This is preferable.

以下に、このような補正を伴う補間処理について以下に説明する。図13は、動きベクトル補間値の補正方法のフローチャートである。この補正方法では、補間処理回路122が、連続した3つの動きベクトル値を2つ記憶する必要があり、この点で、図6に示したフローチャートでの処理と異なる。   Hereinafter, an interpolation process with such correction will be described below. FIG. 13 is a flowchart of a method for correcting a motion vector interpolation value. In this correction method, the interpolation processing circuit 122 needs to store two consecutive three motion vector values, and this is different from the processing in the flowchart shown in FIG.

動きベクトル補間値の算出の開始は、複数のブロック単位の動きベクトル値が算出されるタイミングに合わせて、繰り返し行われる。先ず、補間処理回路122に記憶されている連続した3つの動きベクトル値が時間軸順番で増加傾向にあるか否かが判定される(ステップS701)。例えば、ベクトル570<ベクトル571<ベクトル572、となるか否かが判定される。その結果、増加傾向にはないと判定された場合(S701で“NO”)、処理はステップS702へ進められる。一方、増加傾向であると判定された場合(S701で“YES”)、処理はステップS703へ進められる。   The calculation of the motion vector interpolation value is repeatedly performed in accordance with the timing at which the motion vector values of a plurality of blocks are calculated. First, it is determined whether or not three consecutive motion vector values stored in the interpolation processing circuit 122 tend to increase in time axis order (step S701). For example, it is determined whether or not vector 570 <vector 571 <vector 572. As a result, if it is determined that there is no tendency to increase (“NO” in S701), the process proceeds to step S702. On the other hand, if it is determined that the trend is increasing (“YES” in S701), the process proceeds to step S703.

ステップS702では、補間処理回路122に記憶されている連続した3つの動きベクトル値が時間軸順番で減少傾向にあるか否かが判定される。例えば、ベクトル580>ベクトル581>ベクトル582、となるか否かが判定される。その結果、減少傾向にはないと判定された場合(S702で“NO”)、処理はステップS704へ進められ、一方、減少傾向であると判定された場合(S702で“YES”)、処理はステップS705へ進められる。   In step S702, it is determined whether or not the three consecutive motion vector values stored in the interpolation processing circuit 122 tend to decrease in time axis order. For example, whether or not vector 580> vector 581> vector 582 is determined. As a result, if it is determined that the trend is not decreasing (“NO” in S702), the process proceeds to step S704. On the other hand, if it is determined that the trend is decreasing (“YES” in S702), the process is The process proceeds to step S705.

ステップS703では、連続した増加傾向があると判定されているので、動きベクトル補間値を、前回に記憶された動きベクトル値に対して増加傾向で補正する。この補正演算は、例えば、“動きベクトル補間値=前回に記憶された動きベクトル値+(前回に記憶された動きベクトル値−前々回に記憶された動きベクトル値)”の式を用いて行うことができる。   In step S703, since it is determined that there is a continuous increasing tendency, the motion vector interpolation value is corrected with an increasing tendency with respect to the previously stored motion vector value. This correction calculation can be performed using, for example, the equation “motion vector interpolation value = motion vector value stored last time + (motion vector value stored last time−motion vector value stored last time)”. it can.

ステップS704では、増加傾向も減少傾向もないため、前回に記憶された動きベクトル値をそのまま動きベクトル補間値として用いる。   In step S704, since there is neither an increase tendency nor a decrease tendency, the motion vector value stored last time is used as it is as a motion vector interpolation value.

ステップ705では、連続した減少傾向があると判定されているので、動きベクトル補間値を、前回に記憶された動きベクトル値に対して減少傾向で補正する。この補正演算は、例えば、
・動きベクトル補間値 = 前回に記憶された動きベクトル値 − (前々回に記憶された動きベクトル値 − 前回に記憶された動きベクトル値)
の式を用いて行うことができる。こうして、実際に用いる動きベクトル補間値が決定されて、処理は終了する。
In step 705, since it is determined that there is a continuous decreasing tendency, the motion vector interpolation value is corrected with a decreasing tendency with respect to the previously stored motion vector value. This correction calculation is, for example,
Motion vector interpolation value = previously stored motion vector value − (motion vector value stored last time − previously stored motion vector value)
The following equation can be used. Thus, the motion vector interpolation value to be actually used is determined, and the process ends.

このように、第5実施形態では、動きベクトル補間値に対して、動きベクトル値の時間軸に対する変化に応じた補正を行うことにより、連続的で、滑らかなぶれ補正を実現することができる。これにより、十分且つ正確にぶれ補正された画像が安定して得られる。   Thus, in the fifth embodiment, continuous and smooth blur correction can be realized by performing correction according to the change of the motion vector value with respect to the time axis with respect to the motion vector interpolation value. As a result, a sufficiently and accurately shake-corrected image can be stably obtained.

なお、実際のぶれ補正に用いられる全体の動きベクトル値は2次元(2軸)であるが、ここでも、説明の便宜上、全体の動きベクトル値を1次元(縦1軸)で示した。   Note that the entire motion vector value used for actual blur correction is two-dimensional (two axes), but here, for convenience of explanation, the entire motion vector value is shown one-dimensional (vertical one axis).

<その他の実施形態>
以上、本発明の実施の形態について説明したが、上述した実施の形態は本発明の一例を示すものであって、本発明はこれに限定されるものではなく、各実施の形態の構成及び動作は、本発明の趣旨の範囲内において、適宜変更が可能である。例えば、本発明は、以下の処理を実行することによっても実現される。
<Other embodiments>
The embodiment of the present invention has been described above. However, the above-described embodiment shows an example of the present invention, and the present invention is not limited to this, and the configuration and operation of each embodiment. These can be appropriately changed within the scope of the gist of the present invention. For example, the present invention can be realized by executing the following processing.

例えば、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施の形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPU、MPU等)がプログラムを読み出して実行する処理である。   For example, the present invention can be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and the computer (or CPU, MPU, etc.) of the system or apparatus reads the program. To be executed.

12 撮像光学系
22 代表ベクトル検出回路
121,121a 信頼性判定回路
122 補間処理回路
DESCRIPTION OF SYMBOLS 12 Imaging optical system 22 Representative vector detection circuit 121,121a Reliability determination circuit 122 Interpolation processing circuit

Claims (4)

光学系により結像された被写体像を画像信号に変換する撮像手段と、
前記撮像手段により得られた画像信号を記憶する記憶手段と、
前記撮像手段得られた2つの画像信号から画像の変位量を示す動きベクトル値を検出する動きベクトル検出手段と、
前記動きベクトル値に基づいて前記記憶手段からの画像信号の読み出し位置を制御する読み出し位置制御手段と、
前記動きベクトル値の信頼性を判定する信頼性判定手段とを有する撮像装置であって、
記信頼性判定手段による判定結果に基づいて前記動きベクトル値を補間した動きベクトル補間値を決定する補間手段を備え、
前記補間手段は、前記信頼性判定手段により判定された信頼性が所定値よりも低く、現フレーム又は現フィールドの画像の変位量を示す動きベクトル値を補間した動きベクトル補間値を生成する場合に、前記現フレーム又は前記現フィールドより前のフレーム又はフィールドの動きベクトル値の変化が増加傾向にあるときには、前記動きベクトル補間値を前記記憶手段に記憶された前回フレーム又は前回フィールドの動きベクトル値に比べて増加させ、前記現フレーム又は前記現フィールドより前のフレーム又はフィールドの動きベクトル値の変化が減少傾向にあるときには、前記動きベクトル補間値を前記記憶手段に記憶された前回フレーム又は前回フィールドの動きベクトル値に比べて減少させることを特徴とする撮像装置。
Imaging means for converting an object image formed on the image signals by the projection optical system shooting,
Storage means for storing an image signal obtained by the imaging means;
Motion vector detection means for detecting a motion vector value indicating the amount of displacement of the image from the two image signals obtained by the image pickup means,
Reading position control means for controlling the reading position of the image signal from the storage means based on the motion vector value ;
An imaging apparatus that have a reliable and judging means for judging the reliability of said motion vector values,
Comprising an interpolation means to determine the motion vector interpolation value interpolated with the motion vector value based on the determination result by the pre-Symbol reliability judging means,
The interpolating unit generates a motion vector interpolated value obtained by interpolating a motion vector value indicating a displacement amount of an image of the current frame or the current field when the reliability determined by the reliability determining unit is lower than a predetermined value. When the change in the motion vector value of the frame or field before the current frame or the current field tends to increase, the motion vector interpolation value is converted into the motion vector value of the previous frame or previous field stored in the storage means. When the change in the motion vector value of the current frame or the previous frame or field tends to decrease, the motion vector interpolation value of the previous frame or previous field stored in the storage means is increased. An imaging apparatus, characterized by being reduced compared to a motion vector value .
前記動きベクトル検出手段は、前記画像信号について、現フィールドと前フィールドとの間の相関値又は現フレームと前フレームとの間の相関値を求める相関演算手段を含み、
前記信頼性判定手段は、前記相関演算手段より得られる相関値の大きさに基づいて前記動きベクトル値の信頼性を算出することを特徴とする請求項1記載の撮像装置。
The motion vector detection means includes correlation calculation means for obtaining a correlation value between the current field and the previous field or a correlation value between the current frame and the previous frame for the image signal,
The imaging apparatus according to claim 1, wherein the reliability determination unit calculates the reliability of the motion vector value based on a magnitude of a correlation value obtained from the correlation calculation unit.
前記信頼性判定手段は、前記相関演算手段により得られる相関値の最小値と、前記相関値の最小値を取り得る画素アドレスに隣接する両隣の画素の相関値との差分又は比率に基づいて信頼性を判定することを特徴とする請求項記載の撮像装置。 The reliability determination means is based on a difference or a ratio between a minimum correlation value obtained by the correlation calculation means and a correlation value between pixels adjacent to a pixel address that can take the minimum correlation value. The imaging apparatus according to claim 2 , wherein the image is determined. 撮像手段が、撮光学系により結像された被写体像を画像信号に変換する撮像ステップと、
記憶手段が、前記撮像ステップで得られた画像信号を記憶する記憶ステップと、
動きベクトル検出手段が、前記撮像ステップで得られた2つの画像信号から画像の変位量を示す動きベクトル値を検出する動きベクトル検出ステップと、
読み出し位置制御手段が、前記動きベクトル値に基づいて前記記憶ステップで記憶された画像信号の読み出し位置を制御する読み出しステップと、
信頼性判定手段が、前記動きベクトル検出ステップで得られた前記動きベクトル値の信頼性を判定する判定ステップと、
補間手段が、前記判定ステップでの判定結果に基づいて前記動きベクトル値を補間した動きベクトル補間値を決定する補間ステップとを有し、
前記補間ステップでは、前記判定ステップで判定された信頼性が所定値よりも低く、現フレーム又は現フィールドの画像の変位量を示す動きベクトル値を補間した動きベクトル補間値を生成する場合に、前記現フレーム又は前記現フィールドより前のフレーム又はフィールドの動きベクトル値の変化が増加傾向にあるときには、前記動きベクトル補間値を前記記憶ステップで記憶された前回フレーム又は前回フィールドの動きベクトル値に比べて増加させ、前記現フレーム又は前記現フィールドより前のフレーム又はフィールドの動きベクトル値の変化が減少傾向にあるときには、前記動きベクトル補間値を前記記憶ステップで記憶された前回フレーム又は前回フィールドの動きベクトル値に比べて減少させることを特徴とする撮像装置の制御方法。
Imaging means, an imaging step for converting an object image formed by the projection optical system Taking into image signals,
Storage means, a storing step of storing an image signal obtained by the imaging step,
A motion vector detecting step for detecting a motion vector value indicating a displacement amount of the image from the two image signals obtained in the imaging step;
A reading step for reading position control means for controlling the reading position of the image signal stored in the storing step based on the motion vector value ;
A determination step in which reliability determination means determines the reliability of the motion vector value obtained in the motion vector detection step;
An interpolating step for determining a motion vector interpolated value obtained by interpolating the motion vector value based on a determination result in the determining step ;
In the interpolation step, when the reliability determined in the determination step is lower than a predetermined value and a motion vector interpolation value obtained by interpolating a motion vector value indicating a displacement amount of an image of the current frame or current field is generated, When the change in the motion vector value of the current frame or the frame or field before the current field tends to increase, the motion vector interpolation value is compared with the motion vector value of the previous frame or previous field stored in the storing step. When the change in the motion vector value of the current frame or the previous frame or field tends to decrease, the motion vector interpolation value is stored in the previous frame or previous field stored in the storing step. control of an imaging apparatus characterized by decreased as compared with the value Method.
JP2009294625A 2009-12-25 2009-12-25 Imaging apparatus and control method thereof Active JP5506374B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009294625A JP5506374B2 (en) 2009-12-25 2009-12-25 Imaging apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009294625A JP5506374B2 (en) 2009-12-25 2009-12-25 Imaging apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2011135463A JP2011135463A (en) 2011-07-07
JP5506374B2 true JP5506374B2 (en) 2014-05-28

Family

ID=44347690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009294625A Active JP5506374B2 (en) 2009-12-25 2009-12-25 Imaging apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP5506374B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016076838A (en) * 2014-10-07 2016-05-12 キヤノン株式会社 Image processing apparatus and control method of image processing apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4727621B2 (en) * 2007-05-22 2011-07-20 シャープ株式会社 Moving image blur detecting device, moving image blur correcting device, moving image blur detecting method, moving image blur correcting method, and electronic imaging device
JP4958756B2 (en) * 2007-12-13 2012-06-20 キヤノン株式会社 Imaging apparatus, control method thereof, and program
JP2009278350A (en) * 2008-05-14 2009-11-26 Olympus Imaging Corp Imaging apparatus, and imaging method in imaging apparatus

Also Published As

Publication number Publication date
JP2011135463A (en) 2011-07-07

Similar Documents

Publication Publication Date Title
CN102868858B (en) Image processing apparatus and image processing method
KR100968974B1 (en) Image Stabilizer
JP5764740B2 (en) Imaging device
WO2011129249A1 (en) Image processing device, image capture device, program, and image processing method
JP4639555B2 (en) Motion vector detection apparatus and method, camera shake correction apparatus and method, and imaging apparatus
CN102208098A (en) Image processing apparatus and method of controlling the same
US12243253B2 (en) Depth information generating apparatus, image capturing apparatus, depth information generating method, image processing apparatus, and image processing method
JP4754939B2 (en) Image processing device
CN103024302B (en) Carry out the image processing apparatus of image procossing
JPH08172566A (en) Camera-shake correction device and video camera using it
JP2007129587A (en) Imaging apparatus, interchangeable lens apparatus, imaging control method, data processing method for distortion aberration correction and computer program
JP2013165487A (en) Image processing apparatus, image capturing apparatus, and program
JP4985124B2 (en) Image processing apparatus, image processing method, and image processing program
JP4953770B2 (en) Imaging device
KR20160000423A (en) Image processing apparatus, control method thereof, and storage medium
WO2012147337A1 (en) Flicker detection device, flicker detection method, and flicker detection program
JP6652303B2 (en) Flash band determination device, control method thereof, control program, and imaging device
JP5506374B2 (en) Imaging apparatus and control method thereof
JP2003078808A (en) Device and method for detecting motion vector, device and method for correcting camera shake and imaging apparatus
JP5167614B2 (en) Distance image generating apparatus, distance image generating method and program
JP4052348B2 (en) Image processing apparatus and image processing method
JP5882785B2 (en) Imaging device
JP5228929B2 (en) Image processing apparatus, imaging apparatus, and image processing program
JP5489545B2 (en) Imaging system and imaging method
JP5057134B2 (en) Distance image generating apparatus, distance image generating method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140124

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140318

R151 Written notification of patent or utility model registration

Ref document number: 5506374

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151