WO2007026452A1 - Image processing apparatus, image processing method, and image processing program - Google Patents

Image processing apparatus, image processing method, and image processing program Download PDF

Info

Publication number
WO2007026452A1
WO2007026452A1 PCT/JP2006/310771 JP2006310771W WO2007026452A1 WO 2007026452 A1 WO2007026452 A1 WO 2007026452A1 JP 2006310771 W JP2006310771 W JP 2006310771W WO 2007026452 A1 WO2007026452 A1 WO 2007026452A1
Authority
WO
WIPO (PCT)
Prior art keywords
image data
motion vector
input image
image processing
reliability index
Prior art date
Application number
PCT/JP2006/310771
Other languages
French (fr)
Japanese (ja)
Inventor
Shuji Sotoda
Yoshiko Hatano
Original Assignee
Mitsubishi Electric Corporation
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 Mitsubishi Electric Corporation filed Critical Mitsubishi Electric Corporation
Priority to JP2006535880A priority Critical patent/JP4052348B2/en
Publication of WO2007026452A1 publication Critical patent/WO2007026452A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6811Motion detection based on the image signal

Definitions

  • Image processing apparatus image processing method, and image processing program
  • the present invention relates to an image processing device, an image processing method, and an image processing program that reduce the effects of camera shake during imaging and camera shake caused by movement of the imaging system itself.
  • the present invention is applicable to, for example, an imaging device, a digital still camera, a digital movie camera, and the like mounted on an information terminal device such as a mobile phone device or a PDA (Personal Digital Assistant).
  • Patent Document 1 describes a camera shake correction device that corrects camera shake by image processing.
  • the camera shake correction apparatus described in Patent Document 1 first obtains a motion vector for each block constituting image data. Next, if a predetermined number or more of the motion vectors in each block have the same direction and size, it is determined that the entire screen has moved, and this motion vector is used as the motion vector for the entire screen. Then, the cutout position of the image data is changed using the motion vector of the entire screen, and output as shake correction image data.
  • Patent Document 1 Japanese Patent Laid-Open No. 9-261530 (paragraphs 0034-0036, FIG. 1)
  • the present invention has been made to solve the above-described problems, and an object of the present invention is to provide an image processing apparatus and an image processing method capable of performing highly accurate shake correction processing.
  • An image processing apparatus provides:
  • a first motion vector output unit that outputs a motion vector and a reliability index indicating the reliability of each motion vector for each region constituting the input image data
  • a second motion vector output unit that outputs a motion vector of the input image data based on the motion vector for each region and a reliability index of the motion vector for each region; and the motion of the input image data
  • An image data processing unit for image processing the input image data based on the vector
  • FIG. 1 is a diagram showing a configuration of an image processing device according to Embodiment 1 of the present invention.
  • FIG. 2 is a diagram showing a state in which a motion vector of each block is detected.
  • FIG. 3 is a diagram showing SAD when a motion vector is detected.
  • FIG. 4 is a diagram showing a motion vector, a minimum value of SAD, and a reliability index of each block according to Embodiment 1 of the present invention.
  • FIG. 5 is a diagram for explaining image processing in Embodiment 1 of the present invention.
  • Second motion vector output unit 5 blur detection unit, 8 image data, 9 blocks, 10 motion vectors of each block, 11 upper left block, 12 lower right block, 100 image processing device, 101 image sensor , 102 Display element.
  • the image processing apparatus 100 detects a motion vector and a reliability index indicating the reliability of the motion vector for each region (hereinafter referred to as “block”) constituting the image data. Then, the motion vector of the entire image data is obtained based on the detected motion vector and the reliability index.
  • FIG. 1 is a block diagram showing the configuration of the image processing apparatus 100 according to the first embodiment.
  • solid line arrows indicate image data
  • broken line arrows indicate data other than image data.
  • image data output from the image sensor 101 such as a video camera is an image data processing unit 1, a frame memory 2, and a first motion vector output. Input to part 3.
  • the image data processing unit 1 performs image processing on the input image data, and outputs it to the display element 102 or the like as blur correction image data. Note that FIG. 1 shows an example in which the blur-corrected image data is output to the display element.
  • the image may be recorded on a recording medium such as a hard disk or a DVD, or may be transmitted to another terminal by communication means.
  • the frame memory 2 stores input image data output from the image sensor 101.
  • the first motion vector output unit 3 includes input image data from the image sensor 101 and image data that is stored in the frame memory 2 and temporally prior to the input image data (hereinafter referred to as “previous image data”). ) Is entered.
  • the first motion vector output unit 3 detects a motion vector for each block obtained by dividing the image data, and outputs the detected motion vector of each block to the second motion vector output unit 4.
  • the first motion vector output unit 3 also detects a reliability index indicating the reliability of each motion vector, and outputs the detected reliability index to the second motion vector output unit 4.
  • the second motion vector output unit 4 detects a motion vector indicating the motion of the entire input image data from the motion vector of each block output from the first motion vector output unit 3 and the reliability index. The detected motion vector is output to the shake determination unit 5.
  • the blur determination unit 5 analyzes the motion vector output from the second motion vector output unit 4, and determines whether or not the force of the input image data indicated by the motion vector is due to a shake such as a camera shake. To do. If it is determined that the input motion vector is due to shaking, the camera shake determination unit 5 outputs the reference position change information to the image data processing unit 1.
  • the image data processing unit 1 determines the reference position of the image data output to the display element 102 as shake correction image data from the image sensor 101.
  • the reference position force of the input image data to be output is also changed.
  • FIG. 2 is a diagram showing motion vectors in each block of image data divided into a predetermined number (12 in the figure).
  • the first motion vector output unit 3 detects the motion vector 10 for each block of the input image data.
  • the size of the image data 8 is 48 pixels by 64 pixels by 64 pixels
  • the size of the block 9 is 16 pixels by 16 pixels by 16 pixels.
  • image data of each block constituting the previous image data is acquired from the previous image data stored in the frame memory 2.
  • the block in the previous image data is called a “reference block”.
  • image data of a block at the same position as the reference block is acquired from the input image data. This is called an “input block”.
  • the sum of absolute differences (SAD) of the image data is calculated while moving the position of the reference block up, down, left, and right with respect to the input block.
  • SAD (X, y) which is the SAD when the position of the reference block relative to the input block is expressed by (x, y) and moved, is calculated as follows.
  • the amount of movement of the reference block may be one pixel unit or multiple pixel units! /.
  • Figure 3 shows SAD.
  • Figure 3 shows that SAD has the minimum sadmin value at (xmin, ymin).
  • the value of SAD means that the image data of the reference block and the image data of the input block are very close.
  • SAD takes the minimum value at (xmin, ymin)
  • the image data when the reference block is shifted by (xmin, ymin) and the image data of the input block are the most approximate. It is shown that. Therefore, in the case shown in FIG. 3, the first motion vector output unit 3 outputs ( xmin , ymin) as the motion vector of the current input block.
  • the first motion vector output unit 3 performs the processing of Equation 1 in all the blocks, detects the motion vectors of all the blocks, and outputs them to the second motion vector output unit 4.
  • FIG. 4 (a) shows how motion vectors are detected in the first embodiment.
  • Image data 8, block 9, and motion vector 10 for each block are the same as those in FIG. 2 described above. is there.
  • the number shown in each block is a value shown as “sadmin” in FIG. 3, which is the “minimum value of SAD” obtained when the motion vector is obtained.
  • the value "10” is shown as the “minimum value of SAD”
  • the minimum value of SAD is "50”. ”Is shown! /
  • the value of the image data of the block 12, which is the input block, and the value of the image data of the reference block are not relatively approximate. In other words, it is possible to consider that the image content of the block 12 and the reference block are approximate compared to the case of the block 11 and are not.
  • the motion vector 10 of the block 11 is more reliable than the motion vector 10 of the block 12.
  • a value obtained by subtracting the “minimum value of SAD” from 100 is changed.
  • Figure 4 (b) shows the reliability index of motion vector 10 of each block shown in Fig. 4 (a).
  • the reliability index of the motion vector in block 11 is “90”
  • the reliability index of the motion vector of block 12 is “50”.
  • the first motion vector output unit 3 detects the motion vector 10 and the reliability index of each block constituting the image data, and outputs the detected motion vector 10 to the second motion vector output unit 4.
  • the second motion vector output unit 4 detects the motion vector of the entire image data based on the motion vector and reliability index for each block output from the first motion vector output unit 3.
  • the second motion vector output unit 4 sets the motion vector 10 having the highest reliability index as the motion vector of the entire image data.
  • the reliability index of the motion vector of the upper left block and the lower left block is the highest value and the direction and size are the same, these motion vectors 10 are
  • the image data 8 is output to the motion detection unit 5 as the motion vector of the entire image data 8.
  • the shake determination unit 5 analyzes the motion vector output from the second motion vector output unit 4, and determines whether or not the motion vector is caused by a shake such as a camera shake. For example, if the motion vector output from the second motion vector output unit 4 points in the same direction for a certain period of time, this motion occurs because the user intentionally moved the camera instead of camera shake. You may judge. In addition, if the motion vector output from the second motion vector output unit 4 is observed for a certain period of time, and the screen motion frequency is slower than a certain value, this motion is not a camera shake. Even if it is determined that the error occurred because the user intended to power the camera.
  • a shake such as a camera shake
  • the camera shake determination unit 5 When it is determined that the input motion vector is due to camera shake, the camera shake determination unit 5 outputs the reference position change information to the image data processing unit 1. When it is determined that the input motion vector is due to something other than camera shake, the image stabilization determination unit 5 determines the reference position as Information that no change is made is output to the image data processing unit 1. In addition, do not output the information that V does not change the reference position!
  • FIG. 6 is a diagram for explaining image processing in the image data processing unit 1.
  • the image data processing unit 1 changes the reference position of the input image data 13 output from the image sensor 101 in the direction of the motion vector 15 based on the reference position change information.
  • the image data output to the display element 102 changes from the image data 16 before the image processing to the shake-corrected image data 14 after the image processing.
  • the image data processing unit 1 uses image data 16 from the image data 16 centered on the reference position of the input image data 13 output from the image sensor 101 as the blur-corrected image data output to the display element 102. Outputs image data 14 for image stabilization 14 that is moved in the direction of the entire motion vector 15.
  • the motion vector of each block also refers to the reliability index of each motion vector when detecting the motion vector of the entire image data. Therefore, the motion vector of the entire image data can be detected with high accuracy. Therefore, the blur correction process can be performed with high accuracy.
  • the motion vector of the block 11 in FIG. 4 (a) shows the same direction as the motion vector of the surrounding blocks, and is considered to be highly reliable.
  • the motion vector of block 12 is completely different from the motion vectors of the surrounding blocks, it seems that the reliability is low.
  • the closeness with the motion vectors of the surrounding blocks may be output as a reliability index.
  • the reliability index is the highest
  • the motion vector force is the force described for the method for obtaining the motion vector of the entire image data.
  • the motion vectors may be arranged in the descending order of the reliability index, and a predetermined number of motion vectors in the higher order may be used.
  • a motion vector having a reliability index of a predetermined value or more may be used.
  • a method may be used in which a motion vector is weighted using a motion vector reliability index, and then the weighted motion vector is averaged. For example, only block 11 and block 12 in FIG. The motion vector of block 11 is (2, 3), and the motion vector of block 12 is (1-1, 1).
  • a method of weighting motion vectors using the motion vector reliability index as "motion vector appearance frequency” may be used.
  • the motion vector appearance frequency of block 11 is assumed to be “90”
  • the motion vector appearance frequency of block 12 is assumed to be “50”.
  • a force including the image sensor 101 and the display element 102 in the image processing apparatus 100 may be configured to be outside the image processing apparatus.
  • the frame memory 2 may be configured outside the image processing device!
  • the image data used for calculating the SAD may be pixel data such as a luminance signal, a color difference signal, and an RGB signal for each pixel, or a combination thereof.
  • the pixel data of all the pixels in the block is not limited to the pixel data, and pixel data of a single pixel or a plurality of representative pixels may be used.
  • the configuration may be such that the motion vector output from the second motion vector output unit 4 that passes through the blur determination unit 5 is directly output to the image data processing unit 1.
  • the image data stored in the frame memory and the input image data output from the image sensor may be in units of frames or VOPs. Also, multiple frames or A frame memory capable of storing VOPs may be prepared, and the “reference block” may be present in the image data temporally after the input image data including only the image data temporally prior to the input image data. Further, the motion vector may be obtained by referring to both image data.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)

Abstract

[PROBLEMS] To obtain a highly accurate shake-corrected image. [MEANS FOR SOLVING PROBLEMS] An image processing apparatus comprises a first motion vector output unit, a second motion vector output unit, and an image data processing unit. The first motion vector output unit outputs motion vectors and reliability indicators indicating reliabilities of the motion vectors on a per-region basis constituting input image data. The second motion vector output unit outputs the motion vectors of the input image data according to the motion vectors in each of the regions and to the reliability indicators of the motion vectors in each of the regions. The image data processing unit performs image processing on the input image data according to the motion vectors of the input image data.

Description

明 細 書  Specification
画像処理装置、画像処理方法、及び画像処理プログラム  Image processing apparatus, image processing method, and image processing program
技術分野  Technical field
[0001] 本発明は、撮像時の手ぶれや撮像系自体が動いたことによるぶれ等の影響を低減 する画像処理装置、画像処理方法、及び画像処理プログラムに関するものである。 本発明は、例えば、携帯電話装置や PDA (Personal Digital Assistant)等の情 報端末装置に搭載される撮像装置や、デジタルスチルカメラ、デジタルムービーカメ ラ等に適応可能である。  The present invention relates to an image processing device, an image processing method, and an image processing program that reduce the effects of camera shake during imaging and camera shake caused by movement of the imaging system itself. The present invention is applicable to, for example, an imaging device, a digital still camera, a digital movie camera, and the like mounted on an information terminal device such as a mobile phone device or a PDA (Personal Digital Assistant).
背景技術  Background art
[0002] 従来より、銀塩フィルムカメラやデジタルスチルカメラを手で持って被写体を撮影す ると、手ぶれなどによりカメラが振れ、撮像画像が手ぶれ方向に流れた劣化を受ける 現象が知られている。  [0002] Conventionally, when shooting a subject with a silver salt film camera or digital still camera by hand, the camera shakes due to camera shake, etc., and the captured image is subject to deterioration that flows in the direction of camera shake. .
[0003] このような、ぶれによる画像劣化を補正するために、光学系を駆動して撮像を行い 、ぶれを低減する方法や、算出した手ぶれ量を用いて画像処理を行い、ぶれを低減 する方法が提案されている。  [0003] In order to correct such image degradation due to camera shake, imaging is performed by driving the optical system, and a method of reducing camera shake or image processing using the calculated amount of camera shake is performed to reduce camera shake. A method has been proposed.
[0004] 例えば特許文献 1には、画像処理により手ぶれを補正する手ぶれ補正装置につ!ヽ て記載されている。特許文献 1に記載の手ぶれ補正装置は、まず、画像データを構 成するブロック毎に動きベクトルを求める。次に、各ブロックの動きベクトル中、所定数 以上の動きベクトルが同様の方向、大きさの場合、画面全体が動いたと判断して、こ の動きベクトルを画面全体の動きベクトルとする。そして、画面全体の動きベクトルを 用いて画像データの切り出し位置を変え、ぶれ補正画像データとして出力する。  [0004] For example, Patent Document 1 describes a camera shake correction device that corrects camera shake by image processing. The camera shake correction apparatus described in Patent Document 1 first obtains a motion vector for each block constituting image data. Next, if a predetermined number or more of the motion vectors in each block have the same direction and size, it is determined that the entire screen has moved, and this motion vector is used as the motion vector for the entire screen. Then, the cutout position of the image data is changed using the motion vector of the entire screen, and output as shake correction image data.
[0005] 特許文献 1 :特開平 9— 261530号公報(段落 0034— 0036、図 1)  Patent Document 1: Japanese Patent Laid-Open No. 9-261530 (paragraphs 0034-0036, FIG. 1)
発明の開示  Disclosure of the invention
発明が解決しょうとする課題  Problems to be solved by the invention
[0006] しかし、従来の手ぶれ補正装置では、各ブロックの動きベクトルの検出精度は考慮 されていない。したがって、画面全体の動きベクトルを求める際に信頼性の低い動き ベクトルを用いる場合があり、その結果、画面全体の動きベクトルを正しく求めること ができない場合がある。 [0006] However, in the conventional camera shake correction device, the detection accuracy of the motion vector of each block is not taken into consideration. Therefore, when determining the motion vector for the entire screen, a motion vector with low reliability may be used, and as a result, the motion vector for the entire screen must be determined correctly. May not be possible.
[0007] 本発明は上記のような課題を解消するためになされたものであり、精度の高いぶれ 補正処理を行うことができる画像処理装置及び画像処理方法を提供することを目的 とする。  The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an image processing apparatus and an image processing method capable of performing highly accurate shake correction processing.
課題を解決するための手段  Means for solving the problem
[0008] 本発明に係る画像処理装置は、 [0008] An image processing apparatus according to the present invention provides:
入力画像データを構成する領域毎に、動きベクトルと、前記動きベクトル毎の信頼 性を示す信頼性指標とを出力する第 1の動きベクトル出力部と、  A first motion vector output unit that outputs a motion vector and a reliability index indicating the reliability of each motion vector for each region constituting the input image data;
前記領域毎の動きベクトルと、前記領域毎の動きベクトルの信頼性指標とに基づ 、 て、前記入力画像データの動きベクトルを出力する第 2の動きベクトル出力部と、 前記入力画像データの動きベクトルに基づ 、て、前記入力画像データを画像処理 する画像データ処理部と  A second motion vector output unit that outputs a motion vector of the input image data based on the motion vector for each region and a reliability index of the motion vector for each region; and the motion of the input image data An image data processing unit for image processing the input image data based on the vector;
を備える。  Is provided.
発明の効果  The invention's effect
[0009] 本発明によれば、精度の高!、ぶれ補正処理を行うことができる。  According to the present invention, it is possible to perform a shake correction process with high accuracy.
図面の簡単な説明  Brief Description of Drawings
[0010] [図 1]この発明の実施の形態 1に係る画像処理装置の構成を示す図である。 FIG. 1 is a diagram showing a configuration of an image processing device according to Embodiment 1 of the present invention.
[図 2]各ブロックの動きベクトルが検出された状態を示す図である。  FIG. 2 is a diagram showing a state in which a motion vector of each block is detected.
[図 3]動きベクトルが検出された場合の SADを示す図である。  FIG. 3 is a diagram showing SAD when a motion vector is detected.
[図 4]この発明の実施の形態 1における各ブロックの動きベクトル、 SADの最小値、信 頼性指標を示す図である。  FIG. 4 is a diagram showing a motion vector, a minimum value of SAD, and a reliability index of each block according to Embodiment 1 of the present invention.
[図 5]この発明の実施の形態 1における画像処理を説明する図である。  FIG. 5 is a diagram for explaining image processing in Embodiment 1 of the present invention.
符号の説明  Explanation of symbols
[0011] 1 画像データ処理部、 2 フレームメモリ、 3 第 1の動きベクトル出力部、  [0011] 1 image data processing unit, 2 frame memory, 3 first motion vector output unit,
4 第 2の動きベクトル出力部、 5 ぶれ判定部、 8 画像データ、 9 ブロッ ク、 10 各ブロックの動きベクトル、 11 最も左上のブロック、 12 最も右下 のブロック、 100 画像処理装置、 101 撮像素子、 102 表示素子。 発明を実施するための最良の形態 4 Second motion vector output unit, 5 blur detection unit, 8 image data, 9 blocks, 10 motion vectors of each block, 11 upper left block, 12 lower right block, 100 image processing device, 101 image sensor , 102 Display element. BEST MODE FOR CARRYING OUT THE INVENTION
[0012] 実施の形態 1.  [0012] Embodiment 1.
以下、この発明をその実施の形態を示す図に基づいて詳細に説明する。実施の形 態 1に係る画像処理装置 100は、画像データを構成する領域 (以下、「ブロック」と記 す。)毎に動きベクトルと、この動きベクトルの信頼性を示す信頼性指標とを検出し、 検出された動きベクトルと信頼性指標に基づいて画像データ全体の動きベクトルを求 める。  Hereinafter, the present invention will be described in detail with reference to the drawings showing embodiments thereof. The image processing apparatus 100 according to Embodiment 1 detects a motion vector and a reliability index indicating the reliability of the motion vector for each region (hereinafter referred to as “block”) constituting the image data. Then, the motion vector of the entire image data is obtained based on the detected motion vector and the reliability index.
[0013] <画像処理装置の構成 >  <Configuration of image processing apparatus>
図 1は、実施の形態 1に係る画像処理装置 100の構成を示すブロック図である。図 1において、実線矢印は画像データを、破線矢印は画像データ以外のデータをそれ ぞれ示している。  FIG. 1 is a block diagram showing the configuration of the image processing apparatus 100 according to the first embodiment. In Fig. 1, solid line arrows indicate image data, and broken line arrows indicate data other than image data.
[0014] まず、ビデオカメラなどの撮像素子 101から出力される画像データ(以下、「入力画 像データ」と記す。)は、画像データ処理部 1、フレームメモリ 2、第 1の動きベクトル出 力部 3に入力される。画像データ処理部 1は、入力画像データの画像処理し、ぶれ補 正画像データとして表示素子 102等へ出力する。なお、図 1では、ぶれ補正画像デ ータを表示素子へ出力する例を示している力 ハードディスクや DVD等の記録媒体 に記録したり、通信手段により他の端末に送信してもよい。  First, image data output from the image sensor 101 such as a video camera (hereinafter referred to as “input image data”) is an image data processing unit 1, a frame memory 2, and a first motion vector output. Input to part 3. The image data processing unit 1 performs image processing on the input image data, and outputs it to the display element 102 or the like as blur correction image data. Note that FIG. 1 shows an example in which the blur-corrected image data is output to the display element. The image may be recorded on a recording medium such as a hard disk or a DVD, or may be transmitted to another terminal by communication means.
[0015] フレームメモリ 2は、撮像素子 101から出力される入力画像データを蓄積する。第 1 の動きベクトル出力部 3には、撮像素子 101からの入力画像データと、フレームメモリ 2に蓄積されている、入力画像データよりも時間的に前の画像データ (以下、「前画像 データ」と記す。 )が入力される。  The frame memory 2 stores input image data output from the image sensor 101. The first motion vector output unit 3 includes input image data from the image sensor 101 and image data that is stored in the frame memory 2 and temporally prior to the input image data (hereinafter referred to as “previous image data”). ) Is entered.
[0016] 第 1の動きベクトル出力部 3は、画像データを分割したブロック毎に動きベクトルを 検出し、検出した各ブロックの動きベクトルを第 2の動きベクトル出力部 4に出力する。 また、第 1の動きベクトル出力部 3は、各動きベクトルの信頼性を示す信頼性指標も 検出し、検出した信頼性指標も第 2の動きべ外ル出力部 4に出力する。  [0016] The first motion vector output unit 3 detects a motion vector for each block obtained by dividing the image data, and outputs the detected motion vector of each block to the second motion vector output unit 4. The first motion vector output unit 3 also detects a reliability index indicating the reliability of each motion vector, and outputs the detected reliability index to the second motion vector output unit 4.
[0017] 第 2の動きベクトル出力部 4は、第 1の動きベクトル出力部 3から出力された各ブロッ クの動きベクトルと信頼性指標から、入力画像データ全体の動きを示す動きベクトル を検出し、検出した動きベクトルをぶれ判定部 5に出力する。 [0018] ぶれ判定部 5は、第 2の動きベクトル出力部 4から出力された動きベクトルを解析し、 この動きベクトルによって示される入力画像データの動き力 手ぶれ等のぶれによる もの力否かを判定する。入力された動きベクトルがぶれによるものであると判定した場 合、手ぶれ判定部 5は、基準位置変更情報を画像データ処理部 1に出力する。 [0017] The second motion vector output unit 4 detects a motion vector indicating the motion of the entire input image data from the motion vector of each block output from the first motion vector output unit 3 and the reliability index. The detected motion vector is output to the shake determination unit 5. [0018] The blur determination unit 5 analyzes the motion vector output from the second motion vector output unit 4, and determines whether or not the force of the input image data indicated by the motion vector is due to a shake such as a camera shake. To do. If it is determined that the input motion vector is due to shaking, the camera shake determination unit 5 outputs the reference position change information to the image data processing unit 1.
[0019] 画像データ処理部 1は、ぶれ判定手部 5から出力された基準位置変更情報に基づ いて、ぶれ補正画像データとして表示素子 102へ出力する画像データの基準位置を 、撮像素子 101から出力される入力画像データの基準位置力も変更する。  Based on the reference position change information output from the shake determination hand unit 5, the image data processing unit 1 determines the reference position of the image data output to the display element 102 as shake correction image data from the image sensor 101. The reference position force of the input image data to be output is also changed.
[0020] <第 1の動きベクトル出力部 >  [0020] <First motion vector output unit>
次に、画像処理装置 100を構成する各部の処理について、それぞれ詳細に説明 する。まず、図 2、図 3、図 4を用いて、第 1の動きベクトル出力部 3における動きべタト ルと信頼性指標の検出処理について説明する。図 2は、所定数 (図では 12個)に分 割された画像データの各ブロックにおける動きベクトルを示す図である。第 1の動きべ タトル出力部 3は、入力画像データの各ブロックについて動きベクトル 10の検出を行 う。なお、図 2において、例えば、画像データ 8の大きさは縦 48画素 X横 64画素であ り、ブロック 9の大きさは縦 16画素 X横 16画素である。  Next, processing of each unit constituting the image processing apparatus 100 will be described in detail. First, the motion beta and reliability index detection processing in the first motion vector output unit 3 will be described with reference to FIGS. FIG. 2 is a diagram showing motion vectors in each block of image data divided into a predetermined number (12 in the figure). The first motion vector output unit 3 detects the motion vector 10 for each block of the input image data. In FIG. 2, for example, the size of the image data 8 is 48 pixels by 64 pixels by 64 pixels, and the size of the block 9 is 16 pixels by 16 pixels by 16 pixels.
[0021] ここで、第 1の動きベクトル出力部 3における各ブロックの動きベクトル 10の検出処 理について説明する。まず、フレームメモリ 2に蓄積されている前画像データから、前 画像データを構成する各ブロックの画像データを取得する。ここで、前画像データ内 のブロックを「参照ブロック」と呼ぶ。さらに、入力画像データから、前記参照ブロックと 同じ位置にあるブロックの画像データを取得する。これを「入力ブロック」と呼ぶ。そし て、入力ブロックに対する参照ブロックの位置を上下左右に移動させながら、画像デ ータの差分絶対値和(Summation of Absolute Differences : SAD)を算出す る。入力ブロックに対する参照ブロックの位置を (x、 y)で表される量、移動したときの SADである SAD (X, y)は、以下のように計算される。  Here, the process of detecting the motion vector 10 of each block in the first motion vector output unit 3 will be described. First, image data of each block constituting the previous image data is acquired from the previous image data stored in the frame memory 2. Here, the block in the previous image data is called a “reference block”. Further, image data of a block at the same position as the reference block is acquired from the input image data. This is called an “input block”. Then, the sum of absolute differences (SAD) of the image data is calculated while moving the position of the reference block up, down, left, and right with respect to the input block. SAD (X, y), which is the SAD when the position of the reference block relative to the input block is expressed by (x, y) and moved, is calculated as follows.
[0022] [数 1] .D(x,
Figure imgf000006_0001
/ )| input image( j ):入力フ口ックのデータ
[0022] [Equation 1] .D (x,
Figure imgf000006_0001
/) | input image (j): Input hook data
rejerence imagei u ] )'. 照プロックのァータ [0023] なお、参照ブロックの移動量は 1画素単位、あるいは複数画素単位の!/、ずれでもよ い。 rejerence imagei u]) '. [0023] It should be noted that the amount of movement of the reference block may be one pixel unit or multiple pixel units! /.
[0024] 図 3に SADを示す。図 3では、(xmin、 ymin)のときに SADが最小値である sadmi nの値を持つことを示している。ここで、 SADの値力 、さいということは、参照ブロック の画像データと入力ブロックの画像データが非常に近似していることを示す。また、 ( xmin、 ymin)のときに SADが最小値を取るということは、参照ブロックを(xmin、 ymi n)だけずらした時の画像データと、入力ブロックの画像データが最も近似して 、るこ とを示している。したがって、図 3に示す場合、第 1の動きベクトル出力部 3は、現在の 入力ブロックの動きベクトルとして(xmin、 ymin)を出力する。 [0024] Figure 3 shows SAD. Figure 3 shows that SAD has the minimum sadmin value at (xmin, ymin). Here, the value of SAD means that the image data of the reference block and the image data of the input block are very close. In addition, when SAD takes the minimum value at (xmin, ymin), the image data when the reference block is shifted by (xmin, ymin) and the image data of the input block are the most approximate. It is shown that. Therefore, in the case shown in FIG. 3, the first motion vector output unit 3 outputs ( xmin , ymin) as the motion vector of the current input block.
[0025] 第 1の動きベクトル出力部 3は、全てのブロックにおいて上記式数 1の処理を行い、 全てのブロックの動きベクトルを検出し、第 2の動きベクトル出力部 4に出力する。  The first motion vector output unit 3 performs the processing of Equation 1 in all the blocks, detects the motion vectors of all the blocks, and outputs them to the second motion vector output unit 4.
[0026] 次に、第 1の動きベクトル出力部 3における各ブロックの動きベクトルの信頼性指標 の検出処理について説明する。  Next, the motion vector reliability index detection processing of each block in the first motion vector output unit 3 will be described.
[0027] 図 4 (a)は、実施の形態 1における動きベクトル検出の様子を示しており、画像デー タ 8、ブロック 9、ブロック毎の動きベクトル 10は、上記で説明した図 2と同じである。  FIG. 4 (a) shows how motion vectors are detected in the first embodiment. Image data 8, block 9, and motion vector 10 for each block are the same as those in FIG. 2 described above. is there.
[0028] ここで、各ブロックの中に示している数字は、図 3において「sadmin」として示されて いる値であり、動きベクトルを求めるときに得られた「SADの最小値」である。例えば、 図 4 (a)の最も左上のブロック 11では「SADの最小値」として「10」との値が示されて おり、最も右下のブロック 12では「S ADの最小値」として「50」との値が示されて!/、る。  Here, the number shown in each block is a value shown as “sadmin” in FIG. 3, which is the “minimum value of SAD” obtained when the motion vector is obtained. For example, in the upper left block 11 of Fig. 4 (a), the value "10" is shown as the "minimum value of SAD", and in the lower right block 12, "the minimum value of SAD" is "50". ”Is shown! /
[0029] これは、入力ブロックであるブロック 11の画像データの値と、参照ブロックの画像デ ータの値が近似していることを示している。すなわち、ブロック 11と参照ブロックの画 像内容が近似して 、ると考えることが可能である。  [0029] This indicates that the value of the image data of the block 11, which is an input block, is close to the value of the image data of the reference block. That is, it can be considered that the image contents of block 11 and the reference block are approximate.
[0030] 一方、入力ブロックであるブロック 12の画像データの値と、参照ブロックの画像デー タの値が比較的近似していないことを示している。すなわち、ブロック 12と参照ブロッ クの画像内容力 ブロック 11の場合と比較して近似して 、な 、と考えることが可能で ある。  [0030] On the other hand, it is shown that the value of the image data of the block 12, which is the input block, and the value of the image data of the reference block are not relatively approximate. In other words, it is possible to consider that the image content of the block 12 and the reference block are approximate compared to the case of the block 11 and are not.
[0031] つまり、ブロック 11の動きベクトル 10は、ブロック 12の動きベクトル 10よりも信頼性 が高いことを示している。ここで、例えば、 100から「SADの最小値」を引いた値を動 きベクトルの信頼性を示すの信頼性指標とし、図 4 (a)に示した各ブロックの動きべク トル 10の信頼性指標を図 4 (b)に示す。 In other words, the motion vector 10 of the block 11 is more reliable than the motion vector 10 of the block 12. Here, for example, a value obtained by subtracting the “minimum value of SAD” from 100 is changed. Figure 4 (b) shows the reliability index of motion vector 10 of each block shown in Fig. 4 (a).
[0032] 図 4 (b)に示すように、ブロック 11の動きベクトルの信頼性指標は「90」であり、一方[0032] As shown in FIG. 4 (b), the reliability index of the motion vector in block 11 is “90”,
、ブロック 12の動きベクトルの信頼性指標は「50」である。このように、第 1の動きべク トル出力部 3は、画像データを構成する各ブロックの動きベクトル 10と信頼性指標を 検出し、第 2の動きベクトル出力部 4に出力する。 The reliability index of the motion vector of block 12 is “50”. As described above, the first motion vector output unit 3 detects the motion vector 10 and the reliability index of each block constituting the image data, and outputs the detected motion vector 10 to the second motion vector output unit 4.
[0033] <第 2の動きベクトル出力部 > <Second motion vector output unit>
次に、第 1の動きベクトル出力部 4における動きベクトルの検出処理について説明 する。第 2の動きベクトル出力部 4は、第 1の動きベクトル出力部 3から出力されたプロ ック毎の動きベクトルと信頼性指標に基づ 、て、画像データ全体の動きベクトルを検 出する。  Next, the motion vector detection process in the first motion vector output unit 4 will be described. The second motion vector output unit 4 detects the motion vector of the entire image data based on the motion vector and reliability index for each block output from the first motion vector output unit 3.
[0034] 第 2の動きベクトル出力部 4は、例えば、最も信頼性指標が高い動きベクトル 10を 画像データ全体の動きベクトルとする。図 4 (b)に示す場合、最も左上のブロックと最 も左下のブロックの動きベクトルとの信頼性指標が最も高い値であり、かつ方向と大き さとも同じであるので、これら動きベクトル 10を画像データ 8全体の動きベクトルとして ぶれ判定部 5に出力する。  For example, the second motion vector output unit 4 sets the motion vector 10 having the highest reliability index as the motion vector of the entire image data. In the case shown in Fig. 4 (b), since the reliability index of the motion vector of the upper left block and the lower left block is the highest value and the direction and size are the same, these motion vectors 10 are The image data 8 is output to the motion detection unit 5 as the motion vector of the entire image data 8.
[0035] <ぶれ判定部 >  [0035] <Shake determination unit>
ぶれ判定部 5は、第 2の動きベクトル出力部 4から出力された動きベクトルを解析し、 この動きベクトルが手ぶれ等のぶれによるものかどうかを判定する。例えば、第 2の動 きベクトル出力部 4から出力された動きベクトルが一定時間同じ方向を向いていた場 合、この動きが手ぶれではなくユーザが意図してカメラを動かしたために発生したも のであると判断してもよい。また、第 2の動きベクトル出力部 4から出力された動きべク トルを一定時間観測した結果、画面の動きの周波数が一定の値以下のゆっくりしたも のであった場合、この動きが手ぶれではなくユーザが意図してカメラを動力したため に発生したものであると判断してもよ 、。  The shake determination unit 5 analyzes the motion vector output from the second motion vector output unit 4, and determines whether or not the motion vector is caused by a shake such as a camera shake. For example, if the motion vector output from the second motion vector output unit 4 points in the same direction for a certain period of time, this motion occurs because the user intentionally moved the camera instead of camera shake. You may judge. In addition, if the motion vector output from the second motion vector output unit 4 is observed for a certain period of time, and the screen motion frequency is slower than a certain value, this motion is not a camera shake. Even if it is determined that the error occurred because the user intended to power the camera.
[0036] 入力された動きベクトルが手ぶれによるものであると判定した場合、手ぶれ判定部 5 は、基準位置変更情報を画像データ処理部 1に出力する。入力された動きベクトル が手ぶれ以外によるものであると判定した場合、手ぶれ補正判定部 5は、基準位置を 変更しないという情報を画像データ処理部 1に出力する。なお、基準位置を変更しな V、との情報は出力しな!、構成としてもよ!、。 When it is determined that the input motion vector is due to camera shake, the camera shake determination unit 5 outputs the reference position change information to the image data processing unit 1. When it is determined that the input motion vector is due to something other than camera shake, the image stabilization determination unit 5 determines the reference position as Information that no change is made is output to the image data processing unit 1. In addition, do not output the information that V does not change the reference position!
[0037] <画像データ処理部 > [0037] <Image data processing unit>
図 6に、画像データ処理部 1における画像処理を説明する図である。画像データ処 理部 1は、撮像素子 101から出力される入力画像データ 13の基準位置を、基準位置 変更情報に基づいて動きベクトル 15の方向に変更する。これにより、表示素子 102 に出力する画像データが、画像処理前の画像データ 16から画像処理後のぶれ補正 画像データ 14となる。  FIG. 6 is a diagram for explaining image processing in the image data processing unit 1. The image data processing unit 1 changes the reference position of the input image data 13 output from the image sensor 101 in the direction of the motion vector 15 based on the reference position change information. As a result, the image data output to the display element 102 changes from the image data 16 before the image processing to the shake-corrected image data 14 after the image processing.
[0038] すなわち、画像データ処理部 1は、表示素子 102に出力するぶれ補正画像データ として、撮像素子 101から出力される入力画像データ 13の基準位置を中心とする画 像データ 16から、画像データ全体の動きベクトル 15の方向に移動させたぶれ補正 画像データ 14を出力する。  That is, the image data processing unit 1 uses image data 16 from the image data 16 centered on the reference position of the input image data 13 output from the image sensor 101 as the blur-corrected image data output to the display element 102. Outputs image data 14 for image stabilization 14 that is moved in the direction of the entire motion vector 15.
[0039] このように、本実施の形態 1に係る画像処理装置 100によれば、各ブロックの動きべ クトルカも画像データ全体の動きベクトルを検出する際に、各動きベクトルの信頼性 指標を参照するため、精度良く画像データ全体の動きベクトルを検出することができ る。したがって、ぶれ補正処理を精度良く行うことができる。  Thus, according to the image processing apparatus 100 according to the first embodiment, the motion vector of each block also refers to the reliability index of each motion vector when detecting the motion vector of the entire image data. Therefore, the motion vector of the entire image data can be detected with high accuracy. Therefore, the blur correction process can be performed with high accuracy.
[0040] なお、上記では、動きベクトルの信頼性指標として「SADの最小値」を利用する方 法について説明したが、これに限ることなぐ動きベクトルの信頼性を示すものであれ ばどのようなものでもよ!/ヽ。  In the above description, the method of using the “minimum value of SAD” as the motion vector reliability index has been described. However, any method that shows the reliability of the motion vector is not limited to this. Even things! / ヽ.
[0041] 例えば、図 4 (a)におけるブロック 11の動きベクトルは、周囲のブロックの動きべタト ルと同じような方向を示しているため、信頼性が高いと考えられる。一方、ブロック 12 の動きベクトルは、周囲のブロックの動きベクトルとは全く異なるため、信頼性が低い と思われる。このように、周囲のブロックの動きベクトルとの近似性を信頼性の指標と して出力しても良い。  [0041] For example, the motion vector of the block 11 in FIG. 4 (a) shows the same direction as the motion vector of the surrounding blocks, and is considered to be highly reliable. On the other hand, since the motion vector of block 12 is completely different from the motion vectors of the surrounding blocks, it seems that the reliability is low. Thus, the closeness with the motion vectors of the surrounding blocks may be output as a reliability index.
[0042] また、上記では、信頼性指標が最も高 、動きベクトル力も画像データ全体の動きべ タトルを求める方法について説明した力 これに限られるものではない。例えば、信頼 性指標が高い順番に動きベクトルに並べ、そのうちの上位の所定数の動きベクトルを 用いてもよい。また、信頼性指標が所定値以上の動きベクトルを用いてもよい。 [0043] また、動きベクトルの信頼性指標を用いて動きベクトルに重み付けを行 、、その後、 重み付けされた動きベクトルの平均化処理を行う方法を用いてもよい。例えば、図 4 ( b)のブロック 11とブロック 12だけが全体の画像データとする。そして、ブロック 11の 動きベクトルが(2、 3)、ブロック 12の動きベクトルが(一 1、 一2)の方向を示していると する。この場合、ブロック 11の動きベクトルの信頼性指標が「90」、ブロック 12の動き ベクトルの信頼性指標が「50」であるので、(90 X (2、 3) + 50 X (— 1、 一 2) ) Z (90 + 50) = (130、 170) /140= (0. 929、 1. 214)となり、画像データ全体の動きべ タトルは約(1、 1)となる。 [0042] In the above description, the reliability index is the highest, and the motion vector force is the force described for the method for obtaining the motion vector of the entire image data. For example, the motion vectors may be arranged in the descending order of the reliability index, and a predetermined number of motion vectors in the higher order may be used. A motion vector having a reliability index of a predetermined value or more may be used. [0043] Alternatively, a method may be used in which a motion vector is weighted using a motion vector reliability index, and then the weighted motion vector is averaged. For example, only block 11 and block 12 in FIG. The motion vector of block 11 is (2, 3), and the motion vector of block 12 is (1-1, 1). In this case, since the reliability index of the motion vector of block 11 is “90” and the reliability index of the motion vector of block 12 is “50”, (90 X (2, 3) + 50 X (—1, 1 2)) Z (90 + 50) = (130, 170) / 140 = (0. 929, 1. 214), and the motion vector of the entire image data is about (1, 1).
[0044] さらに他の方法として、動きベクトルの信頼性指標を「動きベクトルの出現頻度」とし て動きベクトルに重み付けを行う方法を用いてもよい。例えば、図 4 (b)において、ブ ロック 11の動きベクトルの出現頻度を「90」、ブロック 12の動きベクトル出現頻度を「5 0」と考える。その他のブロックの出現頻度 (信頼性指標)も確認し、同じベクトル毎に 出現頻度の和をとる。そして、出現頻度の和が最も高いベクトルを画像データ全体の 動きベクトルとする。  [0044] As another method, a method of weighting motion vectors using the motion vector reliability index as "motion vector appearance frequency" may be used. For example, in FIG. 4B, the motion vector appearance frequency of block 11 is assumed to be “90”, and the motion vector appearance frequency of block 12 is assumed to be “50”. Also check the appearance frequency (reliability index) of other blocks and sum the appearance frequency for each same vector. The vector having the highest sum of appearance frequencies is set as the motion vector of the entire image data.
[0045] さらに、信頼性指標が一定の値よりも大きな値を持つブロックのみを抽出し、これら に対してのみ「重み付けされた動きベクトルの平均化処理」や「動きベクトルの出現頻 度の和が最も高 、ベクトルの抽出処理」を行ってもよ!、。  [0045] Furthermore, only blocks whose reliability index is larger than a certain value are extracted, and only for these blocks, "weighted motion vector averaging process" or "sum of motion vector appearance frequencies" is extracted. It ’s the highest, you can do “vector extraction”!
[0046] また、構成として画像処理装置 100に撮像素子 101と表示素子 102を含めた力 こ れらが画像処理装置の外部にある構成としてもよい。さらに、フレームメモリ 2が画像 処理装置の外部にある構成としてもよ!、。 [0046] Further, as a configuration, a force including the image sensor 101 and the display element 102 in the image processing apparatus 100 may be configured to be outside the image processing apparatus. Furthermore, the frame memory 2 may be configured outside the image processing device!
[0047] また、 SADの算出に用いる画像データは、画素毎の輝度信号、色差信号、 RGB信 号等の画素データ、またはこれらの組合わせでもよ 、。 [0047] Further, the image data used for calculating the SAD may be pixel data such as a luminance signal, a color difference signal, and an RGB signal for each pixel, or a combination thereof.
[0048] また、ブロック内のすべての画素の画素データを用いる場合に限らず、単数、ある いは複数の代表画素の画素データを用いてもょ 、。 [0048] In addition, the pixel data of all the pixels in the block is not limited to the pixel data, and pixel data of a single pixel or a plurality of representative pixels may be used.
[0049] また、ぶれ判定部 5を経由することなぐ第 2の動きベクトル出力部 4から出力された 動きベクトルを画像データ処理部 1に直接出力する構成としてもょ 、。 [0049] Alternatively, the configuration may be such that the motion vector output from the second motion vector output unit 4 that passes through the blur determination unit 5 is directly output to the image data processing unit 1.
[0050] さらに、フレームメモリに蓄積される画像データや、撮像素子から出力される入力画 像データはフレーム単位、 VOP単位であってもよい。また、複数のフレームあるいは VOPを蓄積可能なフレームメモリを用意し、「参照ブロック」が入力画像データよりも 時間的に前の画像データだけでなぐ入力画像データよりも時間的に後の画像デー タにあるとしてもよい。また、両画像データを参照して動きベクトルを求めてもよい。 [0050] Furthermore, the image data stored in the frame memory and the input image data output from the image sensor may be in units of frames or VOPs. Also, multiple frames or A frame memory capable of storing VOPs may be prepared, and the “reference block” may be present in the image data temporally after the input image data including only the image data temporally prior to the input image data. Further, the motion vector may be obtained by referring to both image data.

Claims

請求の範囲 The scope of the claims
[1] 入力画像データを構成する領域毎に、動きベクトルと、前記動きベクトル毎の信頼 性を示す信頼性指標とを出力する第 1の動きベクトル出力部と、  [1] A first motion vector output unit that outputs a motion vector and a reliability index indicating the reliability of each motion vector for each region constituting input image data;
前記領域毎の動きベクトルと、前記領域毎の動きベクトルの信頼性指標とに基づ 、 て、前記入力画像データの動きベクトルを出力する第 2の動きベクトル出力部と、 前記入力画像データの動きベクトルに基づ 、て、前記入力画像データを画像処理 する画像データ処理部と  A second motion vector output unit that outputs a motion vector of the input image data based on the motion vector for each region and a reliability index of the motion vector for each region; and the motion of the input image data An image data processing unit for image processing the input image data based on the vector;
を備える画像処理装置。  An image processing apparatus comprising:
[2] 前記信頼性指標は、 [2] The reliability index is
前記信頼性指標に対応する動きベクトルを決定する際に参照した、前記入力画像 データよりも時間的に前にある前画像データ内の領域のいずれかの参照領域の画 像データと、  Image data of any reference area of the area in the previous image data that is temporally prior to the input image data, which is referred to when determining the motion vector corresponding to the reliability index;
前記入力画像データの前記動きベクトルに対応する領域の画像データと に基づいて決定されること  Determined based on the image data of the region corresponding to the motion vector of the input image data
を特徴とする請求項 1に記載の画像処理装置。  The image processing apparatus according to claim 1, wherein:
[3] 前記信頼性指標は、 [3] The reliability index is
前記参照領域を構成する画素の画素データと、前記動きベクトルに対応する領域 を構成する画素の画素データとの絶対値差分の総和であること  The sum of absolute value differences between pixel data of pixels constituting the reference area and pixel data of pixels constituting the area corresponding to the motion vector
を特徴とする請求項 2に記載の画像処理装置。  The image processing apparatus according to claim 2.
[4] 前記入力画像データの動きベクトルに基づいて、前記入力画像データにおけるぶ れの発生を判定するぶれ判定部を更に備え、 [4] A shake determination unit that determines the occurrence of shake in the input image data based on a motion vector of the input image data,
前記ぶれ判定部は、前記入力画像データにぶれが発生して!/ヽると判定した場合、 前記入力画像データの動きベクトルに基づく基準位置変更情報を出力し、  The blur determination unit has a blur in the input image data! When it is determined that the input / output is performed, the reference position change information based on the motion vector of the input image data is output,
前記画像データ処理部は、前記基準位置変更情報に基づ!、て前記入力画像デー タを画像処理すること  The image data processing unit performs image processing on the input image data based on the reference position change information!
を特徴とする請求項 1に記載の画像処理装置。  The image processing apparatus according to claim 1, wherein:
[5] 前記画像処理は、 [5] The image processing includes:
前記入力画像データの動きベクトルに基づ 、て、前記画像処理後の画像データの 基準位置を、前記入力画像データの基準位置力 変更すること Based on the motion vector of the input image data, the image data after the image processing is processed. Changing the reference position, the reference position force of the input image data
を特徴とする請求項 1に記載の画像処理装置。  The image processing apparatus according to claim 1, wherein:
[6] 入力画像データを構成する領域毎に、動きベクトルと、前記動きベクトル毎の信頼 性を示す信頼性指標とを出力する第 1の動きべ外ル出力ステップと、 [6] A first motion vector output step for outputting a motion vector and a reliability index indicating the reliability of each motion vector for each area constituting the input image data;
前記領域毎の動きベクトルと、前記領域毎の動きベクトルの信頼性指標とに基づ 、 て、前記入力画像データの動きベクトルを出力する第 2の動きベクトル出力ステップと 前記入力画像データの動きベクトルに基づ 、て、前記入力画像データを画像処理 する画像データ処理ステップと  A second motion vector output step for outputting a motion vector of the input image data based on the motion vector for each region and a reliability index of the motion vector for each region; and a motion vector of the input image data And an image data processing step for performing image processing on the input image data.
を備える画像処理方法。  An image processing method comprising:
[7] 前記信頼性指標は、 [7] The reliability index is
前記信頼性指標に対応する動きベクトルを決定する際に参照した、前記入力画像 データよりも時間的に前にある前画像データ内の領域のいずれかの参照領域の画 像データと、  Image data of any reference area of the area in the previous image data that is temporally prior to the input image data, which is referred to when determining the motion vector corresponding to the reliability index;
前記入力画像データの前記動きベクトルに対応する領域の画像データと に基づいて決定されること  Determined based on the image data of the region corresponding to the motion vector of the input image data
を特徴とする請求項 6に記載の画像処理方法。  The image processing method according to claim 6.
[8] 前記信頼性指標は、 [8] The reliability index is:
前記参照領域を構成する画素の画素データと、前記動きベクトルに対応する領域 を構成する画素の画素データとの絶対値差分の総和であること  The sum of absolute value differences between pixel data of pixels constituting the reference area and pixel data of pixels constituting the area corresponding to the motion vector
を特徴とする請求項 6に記載の画像処理方法。  The image processing method according to claim 6.
[9] 前記入力画像データの動きベクトルに基づいて、前記入力画像データにおけるぶ れの発生を判定するぶれ判定ステップを更に備え、 [9] A shake determination step of determining occurrence of shake in the input image data based on a motion vector of the input image data,
前記ぶれ判定ステップにお 、て、前記入力画像データにぶれが発生して 、ると判 定した場合、前記入力画像データの動きべ外ルに基づく基準位置変更情報を出力 し、  In the blur determination step, when it is determined that blur has occurred in the input image data, reference position change information based on a movement margin of the input image data is output,
前記画像データ処理ステップでは、前記基準位置変更情報に基づ!、て前記入力 画像データを画像処理すること を特徴とする請求項 6に記載の画像処理方法。 In the image data processing step, image processing is performed on the input image data based on the reference position change information! The image processing method according to claim 6.
[10] 前記画像処理は、 [10] The image processing includes:
前記入力画像データの動きベクトルに基づ 、て、前記画像処理後の画像データの 基準位置を、前記入力画像データの基準位置力 変更すること  Based on the motion vector of the input image data, the reference position of the input image data is changed to the reference position of the image data after the image processing.
を特徴とする請求項 6に記載の画像処理方法。  The image processing method according to claim 6.
[11] 入力画像データを構成する領域毎に、動きベクトルと、前記動きベクトル毎の信頼 性を示す信頼性指標とを出力する第 1の動きべ外ル出力ステップと、 [11] A first motion vector output step for outputting a motion vector and a reliability index indicating the reliability of each motion vector for each region constituting the input image data;
前記領域毎の動きベクトルと、前記領域毎の動きベクトルの信頼性指標とに基づ 、 て、前記入力画像データの動きベクトルを出力する第 2の動きベクトル出力ステップと 前記入力画像データの動きベクトルに基づ 、て、前記入力画像データを画像処理 する画像データ処理ステップと  A second motion vector output step for outputting a motion vector of the input image data based on the motion vector for each region and a reliability index of the motion vector for each region; and a motion vector of the input image data And an image data processing step for performing image processing on the input image data.
を備える画像処理プログラム。  An image processing program comprising:
PCT/JP2006/310771 2005-08-29 2006-05-30 Image processing apparatus, image processing method, and image processing program WO2007026452A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006535880A JP4052348B2 (en) 2005-08-29 2006-05-30 Image processing apparatus and image processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005-246956 2005-08-29
JP2005246956 2005-08-29

Publications (1)

Publication Number Publication Date
WO2007026452A1 true WO2007026452A1 (en) 2007-03-08

Family

ID=37808555

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/310771 WO2007026452A1 (en) 2005-08-29 2006-05-30 Image processing apparatus, image processing method, and image processing program

Country Status (2)

Country Link
JP (1) JP4052348B2 (en)
WO (1) WO2007026452A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010034997A (en) * 2008-07-30 2010-02-12 Sony Corp Motion vector detecting apparatus, motion vector detecting method, and program
JP2010034999A (en) * 2008-07-30 2010-02-12 Sony Corp Motion vector detecting apparatus, motion vector detecting method, and program
JP2010109876A (en) * 2008-10-31 2010-05-13 Canon Inc Image shake stabilizing apparatus, imaging apparatus, and image shake stabilizing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09261530A (en) * 1996-03-19 1997-10-03 Toshiba Corp Video recorder
JP3308617B2 (en) * 1992-12-28 2002-07-29 キヤノン株式会社 Apparatus and method for detecting motion vector

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3308617B2 (en) * 1992-12-28 2002-07-29 キヤノン株式会社 Apparatus and method for detecting motion vector
JPH09261530A (en) * 1996-03-19 1997-10-03 Toshiba Corp Video recorder

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010034997A (en) * 2008-07-30 2010-02-12 Sony Corp Motion vector detecting apparatus, motion vector detecting method, and program
JP2010034999A (en) * 2008-07-30 2010-02-12 Sony Corp Motion vector detecting apparatus, motion vector detecting method, and program
US8401318B2 (en) 2008-07-30 2013-03-19 Sony Corporation Motion vector detecting apparatus, motion vector detecting method, and program
JP2010109876A (en) * 2008-10-31 2010-05-13 Canon Inc Image shake stabilizing apparatus, imaging apparatus, and image shake stabilizing method

Also Published As

Publication number Publication date
JPWO2007026452A1 (en) 2009-03-26
JP4052348B2 (en) 2008-02-27

Similar Documents

Publication Publication Date Title
EP1578116B1 (en) Image processor
JP4703710B2 (en) Apparatus and method for correcting image blur of digital image using object tracking
US8509481B2 (en) Image processing apparatus, image processing method, imaging apparatus
US9055217B2 (en) Image compositing apparatus, image compositing method and program recording device
WO2013005316A9 (en) Image processing device, image processing method, and image processing program
EP2219366B1 (en) Image capturing device, image capturing method, and image capturing program
JPH11177880A (en) Video stabilization device using bit plane matching and method therefor
JP4441919B2 (en) Imaging apparatus and program thereof
WO2006137253A1 (en) Image forming device, and image forming method
US8436906B2 (en) Image processing apparatus, image processing method, program, and recording medium
KR100775104B1 (en) Image stabilizer and system having the same and method thereof
JP4639555B2 (en) Motion vector detection apparatus and method, camera shake correction apparatus and method, and imaging apparatus
JPH08172566A (en) Camera-shake correction device and video camera using it
JP2008160300A (en) Image processor, and imaging apparatus
CN103634513A (en) Image processing apparatus and control method thereof
JP2014126803A (en) Image processing apparatus, image processing method, and image processing program
JP4985124B2 (en) Image processing apparatus, image processing method, and image processing program
JP2006319578A (en) Depth direction movement determining device, blurring correction system having the same, and blurring correction method, program, computer readable record medium recording the program, and electronic apparatus equipped with the blurring correction system
JP2007243335A (en) Camera shake correction method, camera shake correction apparatus, and imaging apparatus
EP1874039A1 (en) Image processing device and image processing program
US8848069B2 (en) Apparatus and method for deciding scanning pattern of an imaging device
JP2006311058A (en) Motion vector detection circuit and detection method thereof, and camera shake correction apparatus
WO2007026452A1 (en) Image processing apparatus, image processing method, and image processing program
JP6080503B2 (en) Image processing device
US7864213B2 (en) Apparatus and method for compensating trembling of a portable terminal

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2006535880

Country of ref document: JP

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06746999

Country of ref document: EP

Kind code of ref document: A1