JP2022170436A - Imaging apparatus and method for controlling the same, and program - Google Patents

Imaging apparatus and method for controlling the same, and program Download PDF

Info

Publication number
JP2022170436A
JP2022170436A JP2021076558A JP2021076558A JP2022170436A JP 2022170436 A JP2022170436 A JP 2022170436A JP 2021076558 A JP2021076558 A JP 2021076558A JP 2021076558 A JP2021076558 A JP 2021076558A JP 2022170436 A JP2022170436 A JP 2022170436A
Authority
JP
Japan
Prior art keywords
image
imaging
processing
resolution
imaging device
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
JP2021076558A
Other languages
Japanese (ja)
Inventor
智大 平間
Tomohiro Hirama
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 JP2021076558A priority Critical patent/JP2022170436A/en
Publication of JP2022170436A publication Critical patent/JP2022170436A/en
Pending legal-status Critical Current

Links

Images

Abstract

To accurately detect motion vectors for shake correction.SOLUTION: An imaging apparatus has: an image pickup device; an image memory that stores an image obtained through imaging performed by the image pickup device; a cut-out unit that cuts out a partial area of the image stored in the image memory as an output image; a detection unit that detects motion vectors by using a plurality of images obtained through the imaging performed by the image pickup device; and a processing unit that performs predetermined resolution improvement processing on the images obtained through the imaging performed by the image pickup device. The detection unit detects motion vectors for the partial area cut out by the cut-out unit by using high resolution images obtained through the predetermined resolution improvement processing.SELECTED DRAWING: Figure 1

Description

本発明は、高倍率撮影を要する撮像装置において、センサ領域から一部分を拡大・切り出しを行い撮影倍率の向上及び高解像度化アルゴリズムに関するものである。 The present invention relates to an image pickup apparatus that requires high-magnification photographing, and relates to an algorithm for improving photographing magnification and increasing resolution by enlarging and cutting out a portion of a sensor area.

撮像センサが搭載された監視用途などのカメラにおいては、数キロメートル先の画像情報が必要となることがあるため、撮像領域よりも望遠側の画角が必要となる。一般的に、撮像領域の一部を拡大・切り出して撮影することで、撮像領域全体よりも望遠側の画角を得ることができる。したがって、光学的に高倍率で高価格なレンズを使用せずとも望遠側の画角を得ることができる。一方で、撮像領域の一部を拡大・切り出すため、解像度の低下が発生する。当然解像度が低下することで、撮影画像から検出できる情報についても分解能が低下し、正しい情報が得られない。このため、撮影画像から情報を検出する際には画素を間引かない画像を用いて検出する方法がある。 Cameras equipped with an imaging sensor for monitoring purposes may require image information for several kilometers ahead, and thus require an angle of view on the telephoto side rather than the imaging area. In general, by enlarging/cutting out a part of the imaging area and photographing, it is possible to obtain an angle of view on the telephoto side of the entire imaging area. Therefore, the angle of view on the telephoto side can be obtained without using an optically high-magnification, expensive lens. On the other hand, since a part of the imaging area is enlarged and cut out, the resolution is lowered. Naturally, as the resolution decreases, the resolution of information that can be detected from the captured image also decreases, making it impossible to obtain correct information. For this reason, when detecting information from a captured image, there is a method of detecting using an image in which pixels are not thinned.

例えば、特許文献1では、被写体の大きさに応じて検出範囲を縮小し、かつ画素間引き無し画像限定でベクトル検出を行う方法が開示されている。 For example, Patent Document 1 discloses a method of reducing a detection range according to the size of an object and performing vector detection only on images without pixel thinning.

特開2019-125933号公報JP 2019-125933 A

しかしながら、特許文献1では以下のような問題があった。特許文献1では、被写体の大きさに応じて検出範囲を縮小し、かつ画素間引き無し画像限定で手ブレ補正制御に必要となる動きベクトル検出を行うが、電子ズームなどのために、撮像領域の一部を拡大・切り出した画像を使用して動きベクトルを検出する場合は、動きベクトルを検出する参照ブロックがわずかしか割り当たらないため、撮像画角に対する動きベクトルの信頼度が低くなってしまう。また、撮像領域の一部を拡大・切り出した画像から動きベクトルを検出するためにテンプレート枠を縮小すると、ベクトルの枠が撮像で使用する画素に対して小さくなるため、エラーベクトルが増加してしまう場合がある。 However, Patent Document 1 has the following problems. In Patent Document 1, the detection range is reduced according to the size of the subject, and the motion vector detection required for camera shake correction control is performed only for images without pixel thinning. When a motion vector is detected using a partially enlarged/cropped image, only a few reference blocks are assigned to detect the motion vector, so the reliability of the motion vector with respect to the angle of view of the image pickup decreases. Also, if the template frame is reduced in order to detect a motion vector from an image that is partially enlarged or cropped from the imaging area, the vector frame becomes smaller than the pixels used for imaging, resulting in an increase in error vectors. Sometimes.

本発明は上記問題に鑑みなされたものであり、撮像領域の一部を拡大・切り出した画像から動きベクトルを検出する際に、撮像で使用する画素が少ない場合においても高精度な動きベクトルを検出する技術を提供しようとするものである。 The present invention has been devised in view of the above problems, and when detecting a motion vector from an image obtained by enlarging or cutting out a part of the imaging area, highly accurate motion vector detection can be performed even when the number of pixels used for imaging is small. It is intended to provide the technology to

この課題を解決するため、例えば本発明の撮像装置は以下の構成を備える。すなわち、
撮像素子と、
前記撮像素子による撮像で得た画像を格納する画像メモリと、
前記画像メモリに格納された画像の一部領域を出力画像として切り出す切り出し手段と、
前記撮像素子による撮像で得た複数の画像を用いて動きベクトルを検出する検出手段と、
前記撮像素子による撮像で得た画像に対して所定の高解像度化処理を行う処理手段と、を有し、
前記検出手段は、前記所定の高解像度化処理された高解像度画像を用いて前記切り出し手段によって切り出される一部領域の動きベクトルを検出することを特徴とする。
In order to solve this problem, for example, the imaging device of the present invention has the following configuration. i.e.
an imaging device;
an image memory for storing an image obtained by imaging with the imaging element;
clipping means for clipping a partial area of the image stored in the image memory as an output image;
a detection means for detecting a motion vector using a plurality of images obtained by imaging with the imaging device;
and processing means for performing a predetermined resolution enhancement process on an image obtained by imaging with the imaging device,
The detecting means detects a motion vector of the partial area cut out by the cutting out means using the high-resolution image that has undergone the predetermined high-resolution processing.

本発明によれば、ブレ補正のための動きベクトルを高精度に検出できる。 According to the present invention, a motion vector for blur correction can be detected with high accuracy.

第1の実施形態に係る撮像装置の構成例を示すブロック図。1 is a block diagram showing a configuration example of an imaging device according to a first embodiment; FIG. 第1及び第2の実施形態に係る座標系を示す図。The figure which shows the coordinate system which concerns on 1st and 2nd embodiment. 第1の実施形態に係る画像変換動作を説明するためのフローチャート。4 is a flowchart for explaining an image conversion operation according to the first embodiment; 第1の実施形態に係る高解像度化処理を実施前の図。FIG. 4 is a view before execution of resolution enhancement processing according to the first embodiment; 第1の実施形態に係る高解像度化処理を実施後の図。FIG. 4 is a view after execution of resolution enhancement processing according to the first embodiment; 第1の実施形態に係る電子補正量変換動作を説明するためのフローチャート。4 is a flowchart for explaining an electronic correction amount conversion operation according to the first embodiment; 第2の実施形態に係る撮像装置の構成例を示すブロック図。FIG. 2 is a block diagram showing a configuration example of an imaging device according to a second embodiment; 第2の実施形態に係る画像変換動作を説明するためのフローチャート。9 is a flowchart for explaining image conversion operation according to the second embodiment;

以下、添付図面を参照して実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る発明を限定するものでない。実施形態には複数の特徴が記載されているが、これらの複数の特徴の全てが発明に必須のものとは限らず、また、複数の特徴は任意に組み合わせられてもよい。さらに、添付図面においては、同一若しくは同様の構成に同一の参照番号を付し、重複した説明は省略する。 Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments do not limit the invention according to the scope of claims. Although multiple features are described in the embodiments, not all of these multiple features are essential to the invention, and multiple features may be combined arbitrarily. Furthermore, in the accompanying drawings, the same or similar configurations are denoted by the same reference numerals, and redundant description is omitted.

[第1の実施形態]
まず、各実施形態に共通する事項について説明する。図1は、実施形態に係る画像処理装置の一例として、静止画像や動画像の撮影を行うためのレンズ交換式あるいはレンズ一体型のデジタルカメラ及び撮像装置の構成例を模式的に示した画像処理装置のブロック図である。実施形態は、撮像に係る構成を有する電子機器(例えばスマートフォン等)にも適用できるので、デジタルカメラ等の撮像装置に限定されず、各種画像処理装置に適用できるものである。
[First Embodiment]
First, matters common to each embodiment will be described. FIG. 1 is an image processing apparatus schematically showing a configuration example of a lens-interchangeable or lens-integrated digital camera and an imaging apparatus for capturing still images and moving images, as an example of an image processing apparatus according to an embodiment. 1 is a block diagram of an apparatus; FIG. The embodiments can also be applied to electronic devices (for example, smartphones) having a configuration related to imaging, and therefore are not limited to imaging devices such as digital cameras, and can be applied to various image processing devices.

なお、本実施形態の説明においては、撮像装置に加えられる振動を「振れ」とし、撮像装置に加えられる振れによって発生する撮像画像への影響を「像ブレ」と表現する。また、図2に示すように、本実施形態では、光軸に直交する一平面上で互いに直交した検出軸をなすように、水平方向の回転軸をYaw軸、垂直方向の回転軸をPitch軸、光軸方向の回転軸をRoll軸として説明する。 In the description of the present embodiment, the vibration applied to the imaging device is referred to as "shake", and the effect on the captured image caused by the vibration applied to the imaging device is referred to as "image blur". Further, as shown in FIG. 2, in this embodiment, the horizontal rotation axis is the Yaw axis and the vertical rotation axis is the Pitch axis so as to form mutually orthogonal detection axes on a plane orthogonal to the optical axis. , the rotation axis in the optical axis direction will be described as a Roll axis.

図1の画像処理装置100は、交換レンズ及びカメラ本体部あるいはレンズ一体型カメラで構成され、交換レンズはカメラ本体部に装着して使用される。図示における参照符号150は装置全体の制御を司る制御部である。この制御部150は、CPU、CPUが実行するプログラムや各種パラメータを記憶保持しているROM、並びに、ワークエリアとして使用するRAMで構成される。 The image processing apparatus 100 of FIG. 1 is composed of an interchangeable lens and a camera body or a lens-integrated camera, and the interchangeable lens is attached to the camera body for use. Reference numeral 150 in the drawing is a control unit that controls the entire apparatus. The control unit 150 is composed of a CPU, a ROM that stores programs executed by the CPU and various parameters, and a RAM that is used as a work area.

撮像レンズ101は、変倍を行うズームレンズ102、像ブレ補正を行うシフトレンズ等の補正光学系103(第1の像ブレ補正手段)、焦点調節を行うフォーカスレンズ104を含み、ズーム、フォーカシング、像ブレ補正等の動作を行い、被写体像を撮像素子105に結像する。 The imaging lens 101 includes a zoom lens 102 for changing magnification, a correction optical system 103 (first image blur correction means) such as a shift lens for image blur correction, and a focus lens 104 for focus adjustment. An image of the subject is formed on the imaging device 105 by performing operations such as image blur correction.

撮像素子105は、例えばXYアドレス方式のCMOS(Complementary Metal Oxide Semiconductor)イメージセンサ等で構成され、撮像レンズ101が形成する光学像を光電変換して電荷を蓄積し、その電荷を読み出すことで複数の画素からなる画像信号を信号処理部106へ供給する。 The imaging element 105 is composed of, for example, an XY addressing CMOS (Complementary Metal Oxide Semiconductor) image sensor or the like. An image signal composed of pixels is supplied to the signal processing unit 106 .

また撮像素子105は、後述するモータ129によって撮像素子105を駆動させることで、光軸に直交する一平面上で互いに直交した水平方向と垂直方向、また光軸方向の回転による像ブレを補正した上で画像信号を信号処理部106へ供給する(第2の像ブレ補正手段)。 In addition, the image sensor 105 is driven by a motor 129, which will be described later, to correct horizontal and vertical directions perpendicular to each other on a plane orthogonal to the optical axis, as well as image blur due to rotation in the optical axis direction. The above image signal is supplied to the signal processing unit 106 (second image blur correction means).

信号処理部106は、撮像素子105から出力された画像信号にホワイトバランス調整やガンマ補正などの信号処理を施し、その結果生成されたフレーム画像を画像メモリ107に格納する。 The signal processing unit 106 performs signal processing such as white balance adjustment and gamma correction on the image signal output from the image sensor 105 and stores the frame image generated as a result in the image memory 107 .

画像拡大処理部108は、画像メモリ107に格納されたフレーム画像を任意の倍率で拡大処理し、画像切り出し制御部109、画像変換部117へ供給する。画像拡大処理部108で用いられる拡大処理は、一例としてバイキュービック法やバイリニア法などがあり、拡大倍率はユーザーインターフェースから制御してもよいし、ズームキーなどに応じて制御してもよい。 The image enlargement processing unit 108 enlarges the frame image stored in the image memory 107 at an arbitrary magnification, and supplies it to the image clipping control unit 109 and the image conversion unit 117 . Examples of the enlargement processing used by the image enlargement processing unit 108 include the bicubic method and the bilinear method, and the enlargement magnification may be controlled from a user interface, or may be controlled according to a zoom key or the like.

画像切り出し制御部109は、画像拡大処理部108より提供されるフレーム画像の所定の領域を切り出して新たなフレーム画像を生成し、表示制御部110及び記録制御部112へ出力画像として供給する。このとき、画像切り出し制御部109は、所定の領域の切り出し位置を装置の振れに応じて移動させる。この結果、画像切り出し制御部109は、装置の振れによって生じるフレーム間の被写体位置の移動(像ブレ)を補正することが可能な電子式像ブレ補正手段(第3の像ブレ補正手段)として機能する。なお、信号処理部106、画拡大処理部108、画像切り出し制御部109で行われる一連の動作は、例えばNTSCフォーマットに準拠したビデオ信号の場合は60Hzの周期で実行され、動画像データが生成される。 The image cutout control unit 109 cuts out a predetermined area from the frame image provided by the image enlargement processing unit 108 to generate a new frame image, and supplies it to the display control unit 110 and the recording control unit 112 as an output image. At this time, the image clipping control unit 109 moves the clipping position of the predetermined area according to the shake of the apparatus. As a result, the image clipping control unit 109 functions as electronic image blur correction means (third image blur correction means) capable of correcting movement of the subject position between frames (image blur) caused by shake of the apparatus. do. A series of operations performed by the signal processing unit 106, the image enlargement processing unit 108, and the image clipping control unit 109 are executed at a cycle of 60 Hz in the case of a video signal conforming to the NTSC format, for example, and moving image data is generated. be.

表示制御部110は、画像切り出し制御部109から供給された映像信号に基づく画像(カメラスルー画)の他、設定メニュー画像、記録済みの画像など用途に応じて加工した映像信号を出力して表示デバイス111に画像を表示させる。表示制御部110は表示デバイス111を駆動し、表示デバイス111は液晶表示素子(LCD)等により画像を表示する。 The display control unit 110 outputs and displays an image (camera through image) based on the video signal supplied from the image clipping control unit 109, a setting menu image, a recorded image, and other video signals processed according to the application. An image is displayed on the device 111 . A display control unit 110 drives a display device 111, and the display device 111 displays an image using a liquid crystal display element (LCD) or the like.

記録制御部112は、記録媒体113を制御して記録開始や終了の指示に用いる操作部(不図示)によって映像信号の記録が指示された場合など、画像メモリ107や画像切り出し制御部109から供給された映像信号と動画データや静止画データあるいはメタデータなどの記録・読出しを行う。記録媒体113は、半導体メモリ等の情報記録媒体やハードディスク等の磁気記録媒体である。 The recording control unit 112 controls the recording medium 113 and supplies data from the image memory 107 and the image clipping control unit 109 when an operation unit (not shown) used for instructing the start or end of recording instructs recording of a video signal. It records and reads out the video signal, moving image data, still image data, metadata, and the like. The recording medium 113 is an information recording medium such as a semiconductor memory or a magnetic recording medium such as a hard disk.

光学パラメータ取得部114は、撮像レンズ101から、撮像レンズの焦点距離、絞り値、フォーカス位置、シフトレンズ移動量、歪曲量、有効像円など装着レンズの特性情報を取得する。これらの情報の取得は、撮像レンズ101から直接ではなく、ユーザーインターフェースなどを介して入力された値を取得しても良い。取得した情報は、像ブレ補正量演算部119へ供給され、像ブレ補正の制御に用いられる。 The optical parameter acquisition unit 114 acquires, from the imaging lens 101, characteristic information of the attached lens, such as the focal length of the imaging lens, the aperture value, the focus position, the amount of shift lens movement, the amount of distortion, and the effective image circle. These pieces of information may be obtained not directly from the imaging lens 101 but from values input via a user interface or the like. The acquired information is supplied to the image blur correction amount calculation unit 119 and used for image blur correction control.

角速度センサ115は、画像処理装置100に加わる振れを検出するためのセンサである。検出した振れ信号は、後述する像ブレ補正量演算部119へ供給され、像ブレ補正の制御に用いられる。角速度センサ115は、光軸に直交する一平面上で互いに直交した検出軸をなすように、水平方向の回転軸Yaw軸と垂直方向の回転軸Pitch軸、また光軸方向の回転軸Roll軸の3軸方向回りの振れを検出できるように3つの角速度センサを配置している。角速度センサ115は、画像処理装置100に加わる振れの角速度を検出し、その角速度に応じた電圧を出力する。 The angular velocity sensor 115 is a sensor for detecting shake applied to the image processing apparatus 100 . The detected shake signal is supplied to an image blur correction amount calculation unit 119, which will be described later, and used to control image blur correction. The angular velocity sensor 115 has a horizontal rotation axis Yaw axis, a vertical rotation axis Pitch axis, and a rotation axis Roll axis in the optical axis direction so as to form mutually orthogonal detection axes on a plane orthogonal to the optical axis. Three angular velocity sensors are arranged so as to detect shake in three axial directions. The angular velocity sensor 115 detects the angular velocity of shake applied to the image processing apparatus 100 and outputs a voltage corresponding to the angular velocity.

A/D変換器(1)116は、角速度センサ115から出力される電圧をデジタルデータに変換して角速度データとして取り込み、後述する像ブレ補正量演算部119へ供給する。 The A/D converter (1) 116 converts the voltage output from the angular velocity sensor 115 into digital data, fetches it as angular velocity data, and supplies it to the image blur correction amount calculator 119, which will be described later.

画像変換部117は、画像拡大処理部108から提供された画像に対し、電子拡大によって低解像度となった画像から高解像度画像へ変換する所定の高解像度化処理を施し、動きベクトル検出部118へ画像を提供する。この詳細については後述する。 The image conversion unit 117 performs predetermined resolution enhancement processing to convert the image provided from the image enlargement processing unit 108 from a low-resolution image due to electronic enlargement to a high-resolution image. Provide images. Details of this will be described later.

動きベクトル検出部118は、光軸に直交する一平面上で互いに直交した水平方向と、垂直方向のそれぞれ2方向の動きベクトルを検出する。具体的には、まず、動きベクトル検出法として相関法やブロックマッチング法等がある。ここでは、その一例として、ブロックマッチング法を動きベクトル検出部118に採用するものとする。このブロックマッチング法とは、複数の画像を用いるもので、まず入力画像信号を複数の適当な大きさのブロック(例えば、16×16画素)に分割し、ブロック単位に前のフィールド又はフレームの一定範囲の画素との差を計算する。そして、この差の絶対値の和が最小となる前のフィールド又はフレームのブロックを検索し、当該ブロックの相対的なずれをそのブロックの動きベクトルとして検出する方法である。結果、画素単位での垂直方向及び水平方向各々の移動量(即ち動きベクトル)が求められる。この動きベクトルは、連続した撮像画像の単位時間当たりの移動量、すなわち像ブレ補正装置の移動量を示すものである。また、動きベクトル検出部118は、動きベクトルがうまく検出できない場合は、動きベクトルエラー判定を行う。動きベクトルのエラー判定方法の一例として、輝度信号が小さい、検出値がピーク値である等の条件が考えられる。検出された動きベクトルは、水平方向ベクトル、垂直方向ベクトルとして後述する像ブレ補正量演算部119へ供給され、像ブレ補正の制御に用いられる。 The motion vector detection unit 118 detects motion vectors in two directions, the horizontal direction and the vertical direction, which are orthogonal to each other on a plane orthogonal to the optical axis. Specifically, motion vector detection methods include a correlation method, a block matching method, and the like. Here, as an example, it is assumed that the motion vector detection unit 118 adopts the block matching method. This block matching method uses a plurality of images. First, an input image signal is divided into a plurality of blocks of appropriate size (for example, 16×16 pixels), and each block unit is a fixed block of the previous field or frame. Compute the difference between pixels in the range. Then, the block of the previous field or frame in which the sum of the absolute values of the differences is the smallest is searched, and the relative displacement of the block is detected as the motion vector of that block. As a result, vertical and horizontal movement amounts (that is, motion vectors) are obtained in units of pixels. This motion vector indicates the amount of movement per unit time of successive captured images, that is, the amount of movement of the image blur correction device. Further, the motion vector detection unit 118 performs motion vector error determination when the motion vector cannot be successfully detected. As an example of the motion vector error determination method, conditions such as the luminance signal being small and the detected value being a peak value are conceivable. The detected motion vector is supplied as a horizontal vector and a vertical vector to an image blur correction amount calculator 119, which will be described later, and used for image blur correction control.

像ブレ補正量演算部119は、画像処理装置100に加わる振れによって生じる像ブレを補正するための補正量を演算し、補正量分割制御部120へ供給する。なお、像ブレ補正量演算部119で算出される像ブレ補正量は、複数の像ブレ補正手段のそれぞれの補正量を出力するのではなく、画像処理装置100の全体の像ブレ補正量を演算するものである。 The image blur correction amount calculation unit 119 calculates a correction amount for correcting image blur caused by shaking applied to the image processing apparatus 100 and supplies it to the correction amount division control unit 120 . Note that the image blur correction amount calculated by the image blur correction amount calculation unit 119 does not output the correction amount of each of the plurality of image blur correction means, but calculates the overall image blur correction amount of the image processing apparatus 100. It is something to do.

補正量分割制御部120は、像ブレ補正量演算部119で算出された装置全体の像ブレ補正量を、複数の像ブレ補正手段でそれぞれ補正するための補正量に分割する。本実施形態の補正量分割制御部120は、一例として、像ブレ補正量演算部119から供給された像ブレ補正量を、撮像素子105で補正するための補正量と、画像切り出し制御部109で補正するための補正量とに分割する。 A correction amount division control unit 120 divides the image blur correction amount of the entire apparatus calculated by the image blur correction amount calculation unit 119 into correction amounts to be corrected by a plurality of image blur correction units. As an example, the correction amount division control unit 120 of the present embodiment uses the image blur correction amount supplied from the image blur correction amount calculation unit 119 as a correction amount for correcting the image blur correction amount by the image sensor 105 and and a correction amount for correction.

撮像素子補正量変換部121は、補正量分割制御部120から供給された補正量を、撮像素子105で像ブレを適切に補正するための移動量に変換して、駆動目標位置として出力する。 The image sensor correction amount conversion unit 121 converts the correction amount supplied from the correction amount division control unit 120 into a movement amount for appropriately correcting image blur in the image sensor 105, and outputs it as a drive target position.

電子補正量変換部122は、補正量分割制御部120から供給された補正量を、画像切り出し制御部109で像ブレを適切に補正するための切り出し位置に変換して、画像切り出し制御部109に設定する。 The electronic correction amount conversion unit 122 converts the correction amount supplied from the correction amount division control unit 120 into a clipping position for appropriately correcting the image blur by the image clipping control unit 109 , and sends the image clipping control unit 109 to the clipping position. set.

位置検出部123は、撮像素子105の位置を検出して位置に応じた電圧を出力し、アンプ124で適切な電圧範囲の信号に増幅される。そしてA/D変換器(2)125によってデジタルデータ化され、位置データとして取り込まれる。 The position detection unit 123 detects the position of the imaging device 105 and outputs a voltage corresponding to the position, which is amplified by the amplifier 124 into a signal within an appropriate voltage range. Then, it is digitized by the A/D converter (2) 125 and taken in as position data.

制御フィルタ126は、撮像素子105の駆動目標位置と位置データの差分である偏差データを入力し、増幅及び位相補償等の種々の信号処理を施し、その結果をパルス幅変調部127へ提供する。 The control filter 126 inputs deviation data that is the difference between the drive target position of the imaging device 105 and the position data, performs various signal processing such as amplification and phase compensation, and provides the result to the pulse width modulation section 127 .

パルス幅変調部127は、制御フィルタ126からの出力を、パルス波のデューティー比を変化させる波形(即ちPWM波形)に変調して、モータ駆動部128へ供給する。 The pulse width modulation section 127 modulates the output from the control filter 126 into a waveform (that is, a PWM waveform) that changes the duty ratio of the pulse wave, and supplies the modulated waveform to the motor driving section 128 .

モータ129は、例えばボイス・コイル型モータであり、モータ駆動部128によって駆動されることにより、撮像素子105は光軸と垂直な方向に移動する。そして、移動した撮像素子105の位置は位置検出部123で検出されて次の偏差データが算出されるというフィードバックループが形成されており、駆動目標位置と位置データの差分が小さくなるように制御される。これにより、撮像素子105は駆動目標位置に追従するように駆動(振動もしくは移動)することができる。 The motor 129 is, for example, a voice coil type motor, and is driven by the motor driving section 128 to move the imaging device 105 in a direction perpendicular to the optical axis. A feedback loop is formed in which the position of the image sensor 105 that has moved is detected by the position detection unit 123 and the next deviation data is calculated. be. Thereby, the imaging element 105 can be driven (vibrated or moved) so as to follow the drive target position.

次に、図1の画像変換部117について、図3のフローチャートを参照しながら説明する。なお、図3に示される処理は、例えばNTSCフォーマットに準拠したビデオ信号の場合は60Hzなど、所定の周期で繰り返し実行されるものと理解されたい。 Next, the image conversion unit 117 in FIG. 1 will be described with reference to the flowchart in FIG. It should be understood that the processing shown in FIG. 3 is repeatedly executed at a predetermined cycle such as 60 Hz in the case of a video signal conforming to the NTSC format, for example.

まず、S201にて、画像変換部117は、画像拡大処理部108から電子拡大倍率等の情報を取得する。次にS202にて、画像変換部117は、高解像度化処理で必要となる、画像拡大処理部108で実施される画像拡大処理を施す前及び画像拡大を施した後の画像情報を取得する。画像情報の一例として、輝度情報が含まれる。次にS203にて、画像変換部117は、電子拡大倍率がある閾値以上か否かを判定する。画像変換部117は、閾値以上と判定した場合は、処理をS204へ、閾値以内であると判定した場合は処理をS205へ進める。 First, in S<b>201 , the image conversion unit 117 acquires information such as the electronic enlargement magnification from the image enlargement processing unit 108 . Next, in S202, the image conversion unit 117 acquires image information before and after the image enlargement processing performed by the image enlargement processing unit 108, which is necessary for the resolution enhancement processing. Brightness information is included as an example of image information. Next, in S203, the image conversion unit 117 determines whether or not the electronic enlargement magnification is greater than or equal to a certain threshold. The image conversion unit 117 advances the process to S<b>204 if it determines that it is equal to or greater than the threshold value, and advances the process to S<b>205 if it determines that it is within the threshold value.

S204にて、画像変換部117は、S202で取得した高解像度化処理に必要な画像情報を用いて高解像度化処理を施す。本実施形態では一例として、S202で取得した情報を用いて、高解像度化&フィルタリング処理を施し、高解像度画像を生成する。具体的には、画像変換部117は、バイキュービック法やバイリニア法を用いて、画素数を増加させ、単位面積当たりの画素数を増加させる。そして、画像変換部117は、輝度強調フィルタリング処理を実行し、輝度強調処理された画像を生成する。 In S204, the image conversion unit 117 performs resolution enhancement processing using the image information required for resolution enhancement processing acquired in S202. In this embodiment, as an example, the information acquired in S202 is used to perform resolution enhancement and filtering processing to generate a high-resolution image. Specifically, the image conversion unit 117 uses the bicubic method or the bilinear method to increase the number of pixels, thereby increasing the number of pixels per unit area. Then, the image conversion unit 117 executes a brightness enhancement filtering process to generate a brightness-enhanced image.

S205にて、画像変換部117は、S204で高解度像化処理を施す前よりも、動きベクトル検出を実施可能か否か判定する。一例として、輝度強調処理後の画像の画素値(輝度を示す値)が、高解像度化処理を施す前よりも強調されているか否かを判定する。否と判定された場合には、高解像度化処理に係るパラメータ(より高い強調処理を行う輝度強調フィルタを選択するための値)を変更したうえで高解像度化処理S204を再度実施し、S204で高解像度化処理を施す前よりも上記条件に対し効果があった場合には、高解像度化処理を施した画像を動きベクトル検出部118へ提供する。また、高解像度化処理を実施する場合には、焦点距離や動きベクトル検出に用いる画像サイズなどから高解像度化率を変更してもよい。 In S205, the image conversion unit 117 determines whether or not motion vector detection can be performed before performing the high-resolution imaging process in S204. As an example, it is determined whether or not the pixel values (values indicating luminance) of the image after the luminance enhancement process are more emphasized than before the resolution enhancement process. If it is determined to be no, then the resolution enhancement process S204 is performed again after changing the parameters related to the resolution enhancement process (values for selecting a luminance enhancement filter that performs a higher enhancement process). If the above conditions are more effective than before the resolution enhancement process is performed, the image subjected to the resolution enhancement process is provided to the motion vector detection unit 118 . Also, when performing the resolution enhancement process, the resolution enhancement rate may be changed according to the focal length, the image size used for motion vector detection, and the like.

ここで、本実施形態の課題としている撮像領域の一部領域を拡大し、その拡大した領域内の動きベクトルを検出する際に与える影響について説明する。まず、上述した通り、動きベクトルは拡大した領域内から検出する必要がある。拡大倍率が高い場合、撮像領域全体から動きベクトルを検出してしまうと出力画角外の動きベクトルを検出してしまう割合が多くなり、本来の動きベクトルを正しく検出できない。しかし、拡大した画像からそのまま動きベクトルを検出しようとしても、解像度の低下によって画像から検出できる情報の分解能が低下してしまい、正しい情報が得られない。図4は、高解像度化処理前の画像を示し、図5は輝度値を例に高解像度化処理を施した画像の例である。図4(a)、図4(b)、図4(c)にそれぞれ撮像領域全体の画像、撮像領域の一部領域を拡大した画像、1フレーム移動後に撮像領域の一部領域を拡大した画像を示す。図5(a)、図5(b)にそれぞれ高解像度化処理を施した撮像領域の一部領域を拡大した画像、1フレーム移動後に高解像度化処理を施した撮像領域の一部領域を拡大した画像を示す。図4(b)、図4(c)を用いて一番左の画素に対する動きベクトルを検出しようとした場合、図4(b)、図4(c)の各ピクセルの輝度値の差分に変化が少なく、動きベクトルを正しく検出できないが、図5(a)、図5(b)のように、高解像度化処理(高解像度化+輝度強調)を施した後に動きベクトルを検出しようとした場合には、図5(a)、図5(b)の一番左の画素に対する各ピクセルの輝度値に差分が生まれ、動きベクトルを検出できる。なお、図5におけるマス目(ブロックサイズ)が図4より小さいのは、高解像度化による画素数を増加したからであり、ブロックサイズ(画素数)自体が小さくなったわけではない点に注意されたい。また、検出した動きベクトルは画像拡大処理部による拡大処理、並びに、画像変換部117による高解像度化が適用された画像から検出されている。よって、動きベクトル検出部118は、検出した動きベクトルの水平、垂直成分を、「拡大率×高解像度率」で除算した値を、最終的な動きベクトルとして決定することになる。 Here, the effect of enlarging a partial area of the imaging area and detecting a motion vector in the enlarged area, which is a subject of the present embodiment, will be described. First, as described above, motion vectors must be detected from within the enlarged area. When the magnification is high, if the motion vector is detected from the entire imaging area, the motion vector outside the output angle of view is more likely to be detected, and the original motion vector cannot be detected correctly. However, even if a motion vector is detected directly from the enlarged image, the resolution of information that can be detected from the image is lowered due to the reduction in resolution, and correct information cannot be obtained. FIG. 4 shows an image before the resolution enhancement process, and FIG. 5 shows an example of an image subjected to the resolution enhancement process using luminance values as an example. 4(a), 4(b), and 4(c) show an image of the entire imaging area, an enlarged image of a partial area of the imaging area, and an enlarged image of a partial area of the imaging area after moving by one frame. indicates 5(a) and 5(b) are enlarged images of a partial area of the imaging area subjected to high resolution processing, and an enlarged partial area of the imaging area subjected to high resolution processing after moving by one frame. shows an image with When attempting to detect a motion vector for the leftmost pixel using FIGS. is small and the motion vector cannot be detected correctly, but as shown in FIGS. 5A and 5B, a difference is generated in the luminance value of each pixel with respect to the leftmost pixel in FIGS. 5A and 5B, and a motion vector can be detected. Note that the reason why the squares (block size) in FIG. 5 are smaller than in FIG. 4 is that the number of pixels has increased due to the increase in resolution, and that the block size (the number of pixels) itself has not decreased. . Also, the detected motion vector is detected from an image to which enlargement processing by the image enlargement processing unit and resolution enhancement by the image conversion unit 117 have been applied. Therefore, the motion vector detection unit 118 determines the final motion vector by dividing the horizontal and vertical components of the detected motion vector by the "magnification rate×high resolution rate".

上記では、高解像度化におけるフィルタリング処理として、輝度強調フィルタリングを適用する例を説明したが、画像変換部117が画像拡大処理部108より受信する画像情報は、エッジ情報、或いは、ノイズ情報であっても良い。エッジ情報を受信した場合、画像変換部117は、S205にて、エッジ強調フィルタリング処理を適用して得たエッジ強調処理後の画像の画素値(エッジ度を示す値)が、高解像度化処理を施す前のエッジ度を示す値よりも強調されているか否かを判定する。否と判定された場合には、高解像度化処理に係るパラメータ(より高いエッジ強調フィルタを選択するための値)を変更する。一方、ノイズ情報を受信する場合、画像変換部117は、S205にて、高解像度化処理を適用後の画素値(ノイズの程度を示す値)が、高解像度化処理を施す前のノイズ画像よりも低減されているか否かを判定する。否と判定された場合には、高解像度化処理に係るパラメータ(よりノイズ除去の高いフィルタを選択するための値)を変更する。 In the above description, an example of applying brightness enhancement filtering as filtering processing for increasing the resolution has been described. Also good. When the edge information is received, the image conversion unit 117, in S205, converts the pixel value (value indicating edge degree) of the image after the edge enhancement processing obtained by applying the edge enhancement filtering processing to the resolution enhancement processing. It is determined whether or not the edge is emphasized more than the value indicating the degree of edginess before applying. If it is determined to be no, the parameters (values for selecting a higher edge enhancement filter) related to resolution enhancement processing are changed. On the other hand, when noise information is received, the image conversion unit 117, in S205, determines that the pixel value (value indicating the degree of noise) after applying the high-resolution processing is higher than the noise image before the high-resolution processing. is also reduced. If it is determined to be no, the parameter (value for selecting a filter with higher noise reduction) related to resolution enhancement processing is changed.

次に、図1の補正量分割制御部120について説明する。補正量分割制御部120は、図1の像ブレ補正量演算部119で算出した像ブレ補正量H_Total、V_Totalから、第2の像ブレ補正手段に用いる補正量Yaw_Correct、Pithc_Correctと、第3の像ブレ補正手段に用いる補正量H_hom、V_homに分割する。そして、補正量分割制御部120は、補正量Yaw_Correct、Pithc_Correctを撮像素子補正量変換部121に、補正量H_hom、V_homを電子補正量変換部122へ提供する。なお、分割の手法については、角速度センサ115から算出した像ブレ補正量に応じて、撮像素子補正量と電子式補正量の比率を変更しても良いし、その他の手法を用いても良い。 Next, the correction amount division control section 120 in FIG. 1 will be described. The correction amount division control unit 120 determines the correction amounts Yaw_Correct and Pithc_Correct used in the second image blur correction means and the third image blur correction amount H_Total and V_Total calculated by the image blur correction amount calculation unit 119 in FIG. It is divided into correction amounts H_hom and V_hom used in the blur correction means. Then, the correction amount division control unit 120 provides the correction amounts Yaw_Correct and Pithc_Correct to the image sensor correction amount conversion unit 121 and the correction amounts H_hom and V_hom to the electronic correction amount conversion unit 122 . As for the dividing method, the ratio between the image sensor correction amount and the electronic correction amount may be changed according to the image blurring correction amount calculated from the angular velocity sensor 115, or another method may be used.

次に、図1の電子補正量変換部122について、図6のフローチャートを参照しながら説明する。なお、図4に示される処理は、例えばNTSCフォーマットに準拠したビデオ信号の場合は60Hzなど、所定の周期で繰り返し実行される。 Next, the electronic correction amount converter 122 in FIG. 1 will be described with reference to the flowchart in FIG. Note that the processing shown in FIG. 4 is repeatedly executed at a predetermined cycle such as 60 Hz in the case of a video signal conforming to the NTSC format, for example.

まず、S301にて、電子補正量変換部122は、補正量分割制御部120から供給された像ブレ補正量H_hom、V_homを取得する。そして、電子補正量変換部122は、S302にて、像ブレ補正範囲を演算する。像ブレ補正範囲は、図1の光学パラメータ取得部114で取得した有効像円情報や、撮像素子105の読み出し範囲、画像切り出し制御部109の可動範囲などから、端に突き当たらないように像ブレ補正量H_hom、V_homに制限をかける。制限がかけられた像ブレ補正量をそれぞれH_hom_final、V_hom_finalとする。S303にて、電子補正量変換部122は、S302で算出した像ブレ補正量H_hom_final、V_hom_finalを、画像切り出し制御部109で使用する像ブレ補正量に決定する。 First, in S<b>301 , the electronic correction amount conversion unit 122 acquires the image blur correction amounts H_hom and V_hom supplied from the correction amount division control unit 120 . Then, the electronic correction amount conversion unit 122 calculates the image blur correction range in S302. The image blur correction range is determined from the effective image circle information acquired by the optical parameter acquisition unit 114 in FIG. The correction amounts H_hom and V_hom are restricted. Let H_hom_final and V_hom_final be the limited image blur correction amounts. In S<b>303 , the electronic correction amount conversion unit 122 determines the image blur correction amounts H_hom_final and V_hom_final calculated in S<b>302 as image blur correction amounts to be used in the image clipping control unit 109 .

以上説明してきたように、撮像領域の一部領域を拡大・切り出し解像度が低下した画像から動きベクトルを検出する場合においても、高解像度化処理を施すことによって誤った動きベクトルの検出を防止し、適切な像ブレ補正が可能となる。これにより、電子拡大倍率が高倍率となる撮影においても適切な像ブレ補正制御を実現することが可能な像ブレ補正装置を提供することができる。 As described above, even when a motion vector is detected from an image in which a partial area of the imaging area is enlarged or cut out and the resolution is lowered, erroneous detection of the motion vector is prevented by applying resolution enhancement processing. Appropriate image blur correction becomes possible. As a result, it is possible to provide an image blur correction device capable of realizing appropriate image blur correction control even in photographing with a high electronic magnification.

また、本実施形態では、高解像度化処理の手法としてエッジ強調フィルタや輝度強調フィルタを用いる例を説明したが、強化学習技術を用いて高解像度化処理を実施するなど、その他の超解像技術を用いてもよい。また、輝度値以外の情報を用いて動きベクトルを検出する手段を用いてもよいし、動きベクトル検出画像に応じて動きベクトルの探索範囲や検出領域、高解像度化率を可変させてもよい。 In addition, in the present embodiment, an example of using an edge enhancement filter or a brightness enhancement filter as a method of high resolution processing has been described, but other super resolution techniques such as performing high resolution processing using reinforcement learning technology may be used. Alternatively, means for detecting a motion vector using information other than the luminance value may be used, or the motion vector search range, detection area, and resolution enhancement rate may be varied according to the motion vector detection image.

[第2の実施形態]
図7は、第2の実施形態に係る画像処理装置200の構成例を示すブロック図である。なお、図1と同様の構成には同じ符号を付し、説明は省略する。図7は、図1の構成に対し、画像拡大処理部108、画像変換部117を、画像拡大処理部130、画像変換部131で置き換えた構成となっている。これ以外は、第1の実施形態と同じである。
[Second embodiment]
FIG. 7 is a block diagram showing a configuration example of an image processing apparatus 200 according to the second embodiment. In addition, the same code|symbol is attached|subjected to the structure similar to FIG. 1, and description is abbreviate|omitted. 7 has a configuration in which the image enlargement processing unit 108 and the image conversion unit 117 are replaced with an image enlargement processing unit 130 and an image conversion unit 131 in the configuration of FIG. Other than this, it is the same as the first embodiment.

まず、本第2の実施形態における画像拡大処理部130について説明する。画像拡大処理部130は、例えばNTSCフォーマットに準拠したビデオ信号の場合は60Hzなど、所定の周期で繰り返し実行される。画像拡大処理部130は、画像メモリ107に格納されたフレーム画像を任意の倍率で拡大処理し、画像切り出し制御部109、画像変換部131へ供給する。画像拡大処理部108で用いられる拡大処理は、一例としてバイキュービック法やバイリニア法などがある。画像拡大処理部130が画像変換部131へ提供する画像は、光学中心から拡大処理された画像と、拡大中心座標を任意のピクセル数シフトし拡大処理した画像の複数枚からなる画像である。 First, the image enlargement processing unit 130 in the second embodiment will be described. The image enlargement processing unit 130 is repeatedly executed at a predetermined cycle such as 60 Hz in the case of a video signal conforming to the NTSC format, for example. The image enlargement processing unit 130 enlarges the frame image stored in the image memory 107 at an arbitrary magnification, and supplies the image clipping control unit 109 and the image conversion unit 131 with the enlarged image. Examples of enlargement processing used by the image enlargement processing unit 108 include a bicubic method and a bilinear method. The image provided by the image enlargement processing unit 130 to the image conversion unit 131 is composed of a plurality of images, an image enlarged from the optical center and an image enlarged by shifting the enlargement center coordinates by an arbitrary number of pixels.

次に、画像変換部131の処理を、図8のフローチャートを参照しながら説明する。なお、図8に示される処理は、例えばNTSCフォーマットに準拠したビデオ信号の場合は60Hzなど、所定の周期で繰り返し実行される。 Next, the processing of the image conversion unit 131 will be described with reference to the flowchart of FIG. Note that the processing shown in FIG. 8 is repeatedly executed at a predetermined cycle such as 60 Hz in the case of a video signal conforming to the NTSC format, for example.

まず、S401にて、画像変換部131は、画像拡大処理部130から、電子拡大倍率等の情報及び画像拡大を施した後の画像情報を複数枚分取得する。画像情報の一例として、輝度情報が含まれる。次にS402にて、画像変換部131は、電子拡大倍率がある閾値以上か否かを判定する。画像変換部131は、閾値以上と判定した場合は処理をS403に、閾値以内であると判定した場合は処理をS404に進める。 First, in S<b>401 , the image conversion unit 131 acquires from the image enlargement processing unit 130 information such as electronic enlargement magnification and image information after image enlargement for a plurality of images. Brightness information is included as an example of image information. Next, in S402, the image conversion unit 131 determines whether or not the electronic enlargement magnification is greater than or equal to a certain threshold. The image conversion unit 131 advances the process to S403 if it determines that it is equal to or greater than the threshold value, and advances the process to S404 if it determines that it is within the threshold value.

S403において、画像変換部131はS401で取得した高解像度化処理に必要な画像情報を用いて高解像度化処理を施す。本実施形態では一例として、S401で取得した複数画像の情報を用いて高解像度化処理を行う。詳細な説明は省略するが、画像変換部131は、画像拡大処理部130で光学中心から拡大処理された1枚目の画像には存在していない画素を、画像拡大処理部130で中心座標をシフトし拡大処理した際のシフト量を元に2枚目のフレームから画素を補間し、より画素数の多い画像を生成し、更に、輝度強調フィルタ処理を施すことで高解像度画像を生成する。 In S403, the image conversion unit 131 performs resolution enhancement processing using the image information required for resolution enhancement processing acquired in S401. In this embodiment, as an example, the information of the plurality of images acquired in S401 is used to perform resolution enhancement processing. Although detailed description is omitted, the image conversion unit 131 converts pixels that do not exist in the first image that has been enlarged from the optical center by the image enlargement processing unit 130 to center coordinates. Pixels are interpolated from the second frame based on the amount of shift when the image is shifted and enlarged, an image with a larger number of pixels is generated, and a high-resolution image is generated by performing luminance enhancement filter processing.

S404において、画像変換部131は、S403で高解像度化処理を施す前よりも、動きベクトル検出として使用可能か否かを判定する。一例として、生成した高解像度画像の輝度値が、高解像度化処理を施す前よりも強調されているか否かを判定する。否と判定された場合には、高解像度化処理に係るパラメータ(より強調度の高い輝度強調フィルタを選択するための値)を変更したうえで高解像度化処理S403を再度実施する。そして、画像変換部131は、S403で高解像度化処理を施す前よりも上記条件に対し効果があったと判定した場合は、高解像度化処理を施した画像を動きベクトル検出部118へ提供する。 In S404, the image conversion unit 131 determines whether or not the image can be used for motion vector detection before performing the high resolution processing in S403. As an example, it is determined whether or not the luminance value of the generated high-resolution image is emphasized compared to before performing the high-resolution processing. If it is determined no, the resolution enhancement processing S403 is performed again after changing the parameters related to the resolution enhancement processing (values for selecting a luminance enhancement filter with a higher degree of enhancement). Then, when the image conversion unit 131 determines in S403 that the above conditions are more effective than before the resolution enhancement processing is performed, the image conversion unit 131 provides the motion vector detection unit 118 with the image subjected to the resolution enhancement processing.

なお、上記例では、画像変換部131は、画像拡大処理部130より受信する情報が輝度情報であるものとして説明したが、エッジ情報、ノイズ情報であっても良い。エッジ情報を受信した場合、画像変換部131は、S404にて、エッジ強調処理後の画像の画素値(エッジ度を示す値)が、高解像度化処理を施す前の輝度画像よりも強調されているか否かを判定する。否と判定された場合には、高解像度化処理に係るパラメータ(よりエッジを強調するフィルタを選択するための値)を変更する。一方、受信するのはノイズ情報である場合、画像変換部131は、S404にて、ノイズ除去処理後の画像の画素値(ノイズの程度を示す値)が、高解像度化処理を施す前のノイズ画像よりも低減されているか否かを判定する。否と判定された場合には、高解像度化処理に係るパラメータ(よりノイズ除去の高いフィルタを選択するための値)を変更する。 In the above example, the information received by the image conversion unit 131 from the image enlargement processing unit 130 is brightness information, but may be edge information or noise information. When the edge information is received, in S404, the image conversion unit 131 detects that the pixel values (values indicating the degree of edge) of the image after the edge enhancement process are more enhanced than the luminance image before the resolution enhancement process. determine whether or not there is If it is determined to be no, the parameter (value for selecting a filter that emphasizes edges more) related to the resolution enhancement process is changed. On the other hand, if noise information is received, in S404 the image conversion unit 131 converts the pixel values (values indicating the degree of noise) of the image after the noise removal process to the noise information before the resolution enhancement process. It is determined whether or not it is reduced more than the image. If it is determined to be no, the parameter (value for selecting a filter with higher noise reduction) related to resolution enhancement processing is changed.

以上説明してきたように、撮像領域の一部領域を拡大・切り出し解像度が低下した画像から動きベクトルを検出する場合においても、高解像度化処理を施すことによって誤った動きベクトルの検出を防止し、適切な像ブレ補正が可能となる。これにより、電子拡大倍率が高倍率となる撮影においても適切な像ブレ補正制御を実現することが可能な像ブレ補正装置を提供することができる。なお、検出した動きベクトルの用途は像ブレ補正に限定されない。例えば、主被写体領域と背景領域とを区別する主被写体領域判別、動いている被写体の動きを予測する動体予測、それらの結果を用いた撮像制御など様々な用途に利用可能である。 As described above, even when a motion vector is detected from an image in which a partial area of the imaging area is enlarged or cut out and the resolution is lowered, erroneous detection of the motion vector is prevented by applying resolution enhancement processing. Appropriate image blur correction becomes possible. As a result, it is possible to provide an image blur correction device capable of realizing appropriate image blur correction control even in photographing with a high electronic magnification. Note that the application of the detected motion vector is not limited to image blur correction. For example, it can be used for various purposes such as main subject region discrimination for distinguishing between a main subject region and a background region, moving object prediction for predicting the motion of a moving subject, and imaging control using those results.

また、本実施形態では高解像度化処理の手法として2枚の画像を用いて高解像度化処理を実施する手法を説明したが、さらに複数枚の画像を用いて高解像度化処理を実施してもよい。また、輝度値以外の情報を用いて動きベクトルを検出する手段を用いてもよいし、動きベクトル検出画像に応じて動きベクトルの探索範囲や検出領域、高解像度化率を可変させてもよい。また、高解像度化処理された画像に対して動きベクトル検出を行うようにすればよく、高解像度化処理を施すタイミングは上記で説明したタイミングに限定されない。例えば、拡大処理される前の画像に高解像度化処理を施すようにしてもよいし、画像メモリ107に記憶される前の画像や一部領域が切り出された画像に高解像度化処理を施してもよい。このときの高解像度化処理は本実施形態の手法及び上記の手法と同種の手法を用いればよい。 Further, in the present embodiment, a method of performing resolution enhancement processing using two images has been described as a method of resolution enhancement processing. good. Alternatively, means for detecting a motion vector using information other than the luminance value may be used, or the motion vector search range, detection area, and resolution enhancement rate may be varied according to the motion vector detection image. Further, motion vector detection may be performed on an image that has undergone resolution enhancement processing, and the timing at which resolution enhancement processing is performed is not limited to the timing described above. For example, an image before being enlarged may be subjected to resolution enhancement processing, or an image before being stored in the image memory 107 or an image from which a partial region has been cut may be subjected to resolution enhancement processing. good too. The resolution enhancement process at this time may use the technique of this embodiment and the technique of the same kind as the above technique.

以上、本発明をその好適な実施形態に基づいて詳述してきたが、本発明はこれら特定の実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 Although the present invention has been described in detail based on its preferred embodiments, the present invention is not limited to these specific embodiments, and various forms without departing from the gist of the present invention can be applied to the present invention. included.

(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other examples)
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

発明は上記実施形態に制限されるものではなく、発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、発明の範囲を公にするために請求項を添付する。 The invention is not limited to the embodiments described above, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the claims are appended to make public the scope of the invention.

100…画像処理装置、101…レンズユニット、105…撮像素子、107…画像メモリ、108…画像拡大処理部、109…画像切り出し制御部、110…表示制御部、111…表示デバイス、112…記録制御部、113…記録媒体、114…光学パラメータ取得部、117…画像変換部、118…動きベクトル検出部、119…像ブレ補正量演算部、120…補正量分割制御部、121…撮像素子補正量変換部、122…電子補正量変換部 DESCRIPTION OF SYMBOLS 100... Image processing apparatus 101... Lens unit 105... Imaging element 107... Image memory 108... Image enlargement process part 109... Image clipping control part 110... Display control part 111... Display device 112... Recording control Unit 113 Recording medium 114 Optical parameter acquisition unit 117 Image conversion unit 118 Motion vector detection unit 119 Image blur correction amount calculation unit 120 Correction amount division control unit 121 Imaging element correction amount Conversion unit 122: electronic correction amount conversion unit

Claims (11)

撮像素子と、
前記撮像素子による撮像で得た画像を格納する画像メモリと、
前記画像メモリに格納された画像の一部領域を出力画像として切り出す切り出し手段と、
前記撮像素子による撮像で得た複数の画像を用いて動きベクトルを検出する検出手段と、
前記撮像素子による撮像で得た画像に対して所定の高解像度化処理を行う処理手段と、を有し、
前記検出手段は、前記所定の高解像度化処理された高解像度画像を用いて前記切り出し手段によって切り出される一部領域の動きベクトルを検出する
ことを特徴とする撮像装置。
an imaging device;
an image memory for storing an image obtained by imaging with the imaging device;
clipping means for clipping a partial area of the image stored in the image memory as an output image;
a detection means for detecting a motion vector using a plurality of images obtained by imaging with the imaging device;
and processing means for performing a predetermined resolution enhancement process on an image obtained by imaging with the imaging device,
The imaging apparatus, wherein the detection means detects a motion vector of the partial area cut out by the cutout means using the high-resolution image that has undergone the predetermined high-resolution processing.
前記処理手段は、画像サイズに基づき高解像度化率を決定することを特徴とする請求項1に記載の撮像装置。 2. The imaging apparatus according to claim 1, wherein said processing means determines a resolution enhancement rate based on an image size. 前記処理手段が行う前記所定の高解像度化処理は、画像の輝度強調フィルタリング処理であることを特徴とする請求項1又は2に記載の撮像装置。 3. The imaging apparatus according to claim 1, wherein said predetermined resolution enhancement processing performed by said processing means is brightness enhancement filtering processing of an image. 前記処理手段が行う前記所定の高解像度化処理は、画像のエッジ強調フィルタリング処理であることを特徴とする請求項1又は2に記載の撮像装置。 3. The imaging apparatus according to claim 1, wherein said predetermined resolution enhancement processing performed by said processing means is edge enhancement filtering processing of an image. 前記画像メモリに格納された画像を、設定された倍率に従って拡大する拡大手段を更に有し、
前記切り出し手段は、前記拡大手段の拡大後の画像を切り出しの対象とすることを特徴とする請求項1乃至4のいずれか1項に記載の撮像装置。
further comprising enlarging means for enlarging the image stored in the image memory according to a set magnification;
5. The imaging apparatus according to any one of claims 1 to 4, wherein the clipping means cuts out the image after being enlarged by the enlarging means.
前記処理手段は、前記拡大手段の拡大後の画像に対して前記所定の高解像度化処理を行うことを特徴とする請求項5に記載の撮像装置。 6. The imaging apparatus according to claim 5, wherein said processing means performs said predetermined high-resolution processing on the image after being enlarged by said enlarging means. 前記出力画像を前記画像メモリとは異なる記録媒体に記録する記録制御手段を更に有することを特徴とする請求項1乃至6のいずれか1項に記載の撮像装置。 7. The imaging apparatus according to claim 1, further comprising recording control means for recording said output image on a recording medium different from said image memory. 前記出力画像を前記表示部に表示させる表示制御手段を更に有することを特徴とする請求項1乃至7のいずれか1項に記載の撮像装置。 8. The imaging apparatus according to any one of claims 1 to 7, further comprising display control means for displaying the output image on the display unit. 前記検出手段によって検出された動きベクトルを用いて像ブレ補正を行う像ブレ補正手段を更に有することを特徴とする請求項1乃至8のいずれか1項に記載の撮像装置。 9. The imaging apparatus according to claim 1, further comprising image blur correction means for correcting image blur using the motion vector detected by said detection means. 撮像素子と前記撮像素子による撮像で得た画像を格納する画像メモリと備える撮像装置の制御方法であって、
前記画像メモリに格納された画像の一部を出力画像として切り出す切り出し工程と、
前記撮像素子による撮像で得た画像に対して所定の高解像度化処理を行う処理工程と、
前記所定の高解像度化処理された高解像度画像を用いて前記切り出し工程で切り出される一部領域の動きベクトルを検出する検出工程と、
を有する
ことを特徴とする撮像装置の制御方法。
A control method for an imaging device comprising an imaging device and an image memory for storing an image obtained by imaging with the imaging device, comprising:
a clipping step of clipping a portion of the image stored in the image memory as an output image;
a processing step of performing a predetermined resolution enhancement process on an image obtained by imaging with the imaging device;
a detection step of detecting a motion vector of the partial region cut out in the cutout step using the high-resolution image that has undergone the predetermined high-resolution processing;
A control method for an imaging device, comprising:
撮像素子と前記撮像素子による撮像で得た画像を格納する画像メモリと備える撮像装置におけるプロセッサが読み込み実行することで、前記プロセッサに、請求項10の方法の各工程を実行させるためのプログラム。 A program for causing the processor to execute each step of the method according to claim 10 by being read and executed by a processor in an imaging device provided with an imaging device and an image memory for storing an image obtained by imaging with the imaging device.
JP2021076558A 2021-04-28 2021-04-28 Imaging apparatus and method for controlling the same, and program Pending JP2022170436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021076558A JP2022170436A (en) 2021-04-28 2021-04-28 Imaging apparatus and method for controlling the same, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021076558A JP2022170436A (en) 2021-04-28 2021-04-28 Imaging apparatus and method for controlling the same, and program

Publications (1)

Publication Number Publication Date
JP2022170436A true JP2022170436A (en) 2022-11-10

Family

ID=83944697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021076558A Pending JP2022170436A (en) 2021-04-28 2021-04-28 Imaging apparatus and method for controlling the same, and program

Country Status (1)

Country Link
JP (1) JP2022170436A (en)

Similar Documents

Publication Publication Date Title
US8004570B2 (en) Image processing apparatus, image-pickup apparatus, and image processing method
JP5778998B2 (en) Imaging apparatus, image generation method, and computer program
JP5906028B2 (en) Image processing apparatus and image processing method
WO2014069632A1 (en) Image processing device, image processing method, image processing program, and storage medium
US11381740B2 (en) Image processing apparatus, image processing method, program, and image pickup system
JP2009193421A (en) Image processing device, camera device, image processing method, and program
JP2016058876A (en) Imaging apparatus, control method thereof, and imaging system
JP2011130383A (en) Image capturing apparatus and method of controlling the same
JP2008160300A (en) Image processor, and imaging apparatus
JP6336341B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP2017143354A (en) Image processing apparatus and image processing method
JP6282133B2 (en) Imaging device, control method thereof, and control program
WO2017104102A1 (en) Imaging device
EP3836540B1 (en) Image processing apparatus and image capturing apparatus
JP2022170436A (en) Imaging apparatus and method for controlling the same, and program
EP3783879B1 (en) Image stabilization apparatus, method of controlling the same, program and storage medium
RU2761187C1 (en) Image processing apparatus and image capturing apparatus
JP2021071516A (en) Imaging apparatus and method for controlling imaging apparatus
JP6016546B2 (en) Imaging device, control method thereof, and control program
JP2009027437A (en) Image processor, image processing method and imaging device
JP2014153517A (en) Image processing device, image processing method, program, and storage medium
JP2007243333A (en) Camera shake correction method, camera shake correction apparatus, and imaging apparatus
JP2022124464A (en) Image capturing apparatus, control method of the same, program, and storage medium
JP2021141421A (en) Image processing device and control method thereof, imaging device, program, and storage medium
JP2010193475A (en) Imaging device and image reproducing device