JP4985569B2 - Imaging apparatus and imaging method - Google Patents

Imaging apparatus and imaging method Download PDF

Info

Publication number
JP4985569B2
JP4985569B2 JP2008177457A JP2008177457A JP4985569B2 JP 4985569 B2 JP4985569 B2 JP 4985569B2 JP 2008177457 A JP2008177457 A JP 2008177457A JP 2008177457 A JP2008177457 A JP 2008177457A JP 4985569 B2 JP4985569 B2 JP 4985569B2
Authority
JP
Japan
Prior art keywords
block
motion vector
moving body
unit
vector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008177457A
Other languages
Japanese (ja)
Other versions
JP2010021597A (en
Inventor
理子 越野
紀克 新浪
淳 杉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JVCKenwood Corp
Original Assignee
JVCKenwood Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2008177457A priority Critical patent/JP4985569B2/en
Publication of JP2010021597A publication Critical patent/JP2010021597A/en
Application granted granted Critical
Publication of JP4985569B2 publication Critical patent/JP4985569B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)

Description

本発明は、画面(画像)中の移動体を検出可能な撮像装置および撮像方法に関する。   The present invention relates to an imaging apparatus and an imaging method capable of detecting a moving body in a screen (image).

ビデオカメラ等の撮像装置では、移動している物体の動きベクトルを認識する機能を有する。このような動きベクトルを検出する方法として、例えば代表点マッチング法が用いられる(例えば、特許文献1)。   An imaging apparatus such as a video camera has a function of recognizing a motion vector of a moving object. As a method of detecting such a motion vector, for example, a representative point matching method is used (for example, Patent Document 1).

かかる代表点マッチング法は、代表点画素として定められた任意の画素の1つ前のフィールドにおける画像信号レベルと、探索範囲として定められた領域内の全画素の現在のフィールドにおける画像信号レベルとの差分絶対値の和を算出して相関値を計算し、さらに、相関値がもっとも小さい相関性の高いサンプリング点画素を求め、このサンプリング点画素と代表点画素との位置の差を、動きベクトルとする方法である。   Such a representative point matching method is an image signal level in a field immediately before an arbitrary pixel defined as a representative point pixel, and an image signal level in a current field of all pixels in an area defined as a search range. The sum of absolute difference values is calculated to calculate a correlation value. Further, a highly correlated sampling point pixel having the smallest correlation value is obtained, and a difference in position between the sampling point pixel and the representative point pixel is determined as a motion vector. It is a method to do.

かかる代表点マッチング法を用いると、例えば画面(画像)を複数に分割したブロック毎の動きベクトルを導出することができる。しかし、かかる動きベクトルには物体の実際の動きと手振れによる動きとが重畳しているので、物体の動きベクトルのみを抽出することはできなかった。このような状況下では、移動している物体である移動体を手振れと判断したり、手振れを移動体と判断してしまったりして正常に手振れ補正が為されない場合があった。   When such a representative point matching method is used, for example, a motion vector for each block obtained by dividing a screen (image) into a plurality of blocks can be derived. However, since the actual motion of the object and the motion due to camera shake are superimposed on the motion vector, it is not possible to extract only the motion vector of the object. Under such circumstances, there is a case where the moving object which is a moving object is determined to be a camera shake, or the camera shake is determined to be a moving object, and the camera shake correction is not normally performed.

そこで、本願発明者は、画面内における移動体の有無に拘わらず、画面全体の動きベクトルを高い精度で検出可能な技術を生み出した(例えば、特許文献2)。
特許第3200950号 特開2007−235769号公報
Therefore, the inventor of the present application has created a technique capable of detecting a motion vector of the entire screen with high accuracy regardless of the presence or absence of a moving object in the screen (for example, Patent Document 2).
Japanese Patent No. 3300500 JP 2007-235769 A

本願発明者による上述した画面全体の動きベクトルを検出する技術により、画面全体の動きベクトル即ち手振れ動作のみを抽出することができ、高精度の手振れ補正が可能となった。かかる技術を応用すると、撮像中の画像から手振れ要素を除去することができ、画面中の静止した被写体と移動している被写体とを識別することができるはずである。従って、今後は更なる付加価値を付与すべく、移動体の推移導出や追尾を正確に遂行するための移動体の適切な抽出技術が望まれている。   By the technique of detecting the motion vector of the entire screen described above by the inventor of the present application, it is possible to extract only the motion vector of the entire screen, that is, the camera shake operation, and it is possible to perform highly accurate camera shake correction. By applying such a technique, it is possible to remove a camera shake element from an image being captured, and to distinguish between a stationary subject and a moving subject in the screen. Therefore, in the future, in order to give further added value, an appropriate extraction technique of the moving body for accurately performing the movement derivation and tracking of the moving body is desired.

また、画面中の所定位置を対象に焦点調整や露光調整等の撮像制御を行っているときに、その所定位置を移動体が横切ると、異なる距離の被写体(移動体)に撮像制御が働いてしまい、所望する画質を維持できないといった問題が生じてしまう。   In addition, when imaging control such as focus adjustment and exposure adjustment is performed on a predetermined position on the screen, if the moving object crosses the predetermined position, the imaging control works on a subject (moving body) at a different distance. Therefore, there arises a problem that desired image quality cannot be maintained.

本発明は、このような課題に鑑み、導出された画面全体の動きベクトルを用い、さらに移動体および移動体の動きベクトルを適切かつ迅速に抽出することで、移動体を用いた様々な画像処理を実行することが可能な撮像装置および撮像方法を提供することを目的としている。   In view of such a problem, the present invention uses the derived motion vector of the entire screen, and further appropriately and quickly extracts the motion vector of the mobile object and the mobile object, thereby performing various image processing using the mobile object. An object of the present invention is to provide an imaging apparatus and an imaging method capable of executing the above.

上記課題を解決するために、本発明の撮像装置の代表的な構成は、被写体を撮像して画像データを生成する撮像部と、撮像された画像データに基づいて画面全体の動きベクトルを生成する全体ベクトル生成部と、画面を複数のブロックに分割し、各ブロックの動きベクトルから画面全体の動きベクトルを減算して、ブロック毎の絶対動きベクトルを生成するベクトル減算部と、絶対動きベクトルから所定カットオフ周波数の低域成分を抽出する低域通過フィルタと、抽出された絶対動きベクトルの低域成分に基づく、各ブロックへの移動体の進入および退出判定により、各ブロックに移動体が存在するか否かを判定する移動体判定部と、を備えることを特徴とする。   In order to solve the above-described problem, a typical configuration of an imaging apparatus according to the present invention includes an imaging unit that captures an image of a subject and generates image data, and generates a motion vector for the entire screen based on the captured image data. A total vector generation unit, a vector subtraction unit that divides the screen into a plurality of blocks, subtracts the motion vector of the entire screen from the motion vector of each block, and generates an absolute motion vector for each block, and a predetermined value from the absolute motion vector A moving body exists in each block by a low-pass filter that extracts a low-frequency component of the cutoff frequency and a moving body entering and leaving the block based on the extracted low-frequency component of the absolute motion vector. And a moving body determination unit that determines whether or not.

本発明では、各ブロックの動きベクトルから画面全体の動きベクトルを減算し、さらにブロック毎に低域成分のみを抽出することで手振れ成分を除去した移動体の純粋な動きベクトル(絶対動きベクトル)を取得することができる。また、このような絶対動きベクトルの低域成分によって、移動体の存在を判定することができ、移動体を対象とする、例えば監視カメラ等による移動体の推移導出や追尾といった様々な画像処理が可能となる。   In the present invention, a pure motion vector (absolute motion vector) of a moving object is obtained by subtracting the motion vector of the entire screen from the motion vector of each block and further extracting only the low frequency component for each block to remove the camera shake component. Can be acquired. In addition, the existence of a moving object can be determined based on the low-frequency component of such an absolute motion vector, and various image processing such as derivation and tracking of the moving object by a monitoring camera or the like can be performed on the moving object. It becomes possible.

撮像装置は、ブロック毎に抽出された絶対動きベクトルの低域成分を積算し、その結果がブロックサイズと実質的に等しいことで隣接するブロックへの移動体の進入を予測する移動体進入予測部をさらに備え、移動体判定部は、移動体の進入予測によっても移動体の存在を判定してもよい。   The imaging apparatus integrates the low frequency components of the absolute motion vector extracted for each block, and the result is substantially equal to the block size, so that the moving object approach prediction unit predicts the approach of the moving object to the adjacent block. The mobile body determination unit may determine the presence of the mobile body also by predicting the approach of the mobile body.

手振れ成分を排除するための上述した低域通過フィルタは、移動体が進入するブロックにおける移動体の認識遅延を招く可能性がある。かかる移動体進入予測部により、フィルタ出力による移動体の認識に先駆けてそのブロックへの移動体の進入を予測することができ、適切なタイミングで移動体を対象とする様々な画像処理が可能となる。   The above-described low-pass filter for eliminating a shake component may cause a recognition delay of a moving object in a block that the moving object enters. Such a moving body approach prediction unit can predict the moving body's approach to the block prior to the recognition of the moving body by the filter output, and can perform various image processing for the moving body at an appropriate timing. Become.

撮像装置は、ブロック中における移動体の滞在推定時間到達に従うタイムアウトによって移動体の退出を予測する移動体退出予測部をさらに備え、移動体判定部は、移動体の退出予測によっても移動体の存在を判定してもよい。   The imaging apparatus further includes a moving object exit prediction unit that predicts the exit of the moving object by a timeout according to arrival of the estimated stay time of the moving object in the block. May be determined.

任意のブロックにおいて遮蔽物等により移動体を認識できない場合に、隣接するブロックによって移動体の進入予測のみ為されることがある。しかし、実際の進入判定を伴わない場合にその進入予測に対する退出予測が為されない。本発明では、滞在推定時間によるタイムアウトを用いて退出予測を実行するので、移動体判定部は、移動体が通過する適切なタイミングで移動体の存在を判定することが可能となる。   When a moving body cannot be recognized due to an obstacle or the like in an arbitrary block, only an entrance prediction of the moving body may be performed by an adjacent block. However, when there is no actual entry determination, no exit prediction is made for the entry prediction. In the present invention, since the exit prediction is executed using a timeout based on the estimated stay time, the moving object determination unit can determine the presence of the moving object at an appropriate timing when the moving object passes.

撮像装置は、移動体が存在すると判定された場合、移動体が存在するブロックを焦点調整もしくは露光調整のいずれか一方または両方を含む撮像制御の対象から除く対象排除部をさらに備えてもよい。   When it is determined that a moving body exists, the imaging apparatus may further include a target exclusion unit that excludes a block in which the moving body exists from an imaging control target including one or both of focus adjustment and exposure adjustment.

かかる構成により、移動体が存在するブロックに対する撮像制御を排除し、撮像制御対象となる被写体の前を移動体が横切ることによって誤った撮像制御が為されてしまう現象を回避することが可能となり、撮影者の所望する高画質の撮像データを維持することができる。   With such a configuration, it is possible to eliminate the imaging control for the block in which the moving body exists, and to avoid the phenomenon that the erroneous imaging control is performed when the moving body crosses in front of the subject that is the imaging control target, High-quality image data desired by the photographer can be maintained.

全体ベクトル生成部は、画面を複数のブロックに分割し、各ブロックの動きベクトルを導出するブロックベクトル導出部と、各ブロックの動きベクトルが類似する複数のブロックをグループ化するグループ化部と、同一のグループに属する複数のブロックの動きベクトルの履歴と、画面全体の動きベクトルの履歴とに基づいて、グループが移動体を含むか否かを判定し、移動体を含むグループを除外する動きベクトル信頼性判定部と、移動体を含まないグループを構成するブロックの動きベクトルを用いて画面全体の動きベクトルを導出する全体ベクトル導出部と、を含んで構成されてもよい。
The whole vector generation unit is the same as a block vector deriving unit that divides a screen into a plurality of blocks and derives a motion vector of each block, and a grouping unit that groups a plurality of blocks having similar motion vectors of each block Motion vector reliability that determines whether or not a group includes a moving object based on the motion vector history of a plurality of blocks belonging to the group and the motion vector history of the entire screen and excludes the group including the moving object A sex determination unit and an entire vector deriving unit that derives a motion vector of the entire screen using a motion vector of blocks that form a group that does not include a moving object may be included.

かかる構成により、手振れ成分である画面全体の動きベクトルを適切かつ迅速に抽出することが可能となり、高精度の手振れ補正ができる。また、後段の移動体の抽出精度も向上し、移動体の推移導出や追尾、撮像制御対象の切り換えといった様々な画像処理が可能となる。   With this configuration, it is possible to appropriately and quickly extract a motion vector of the entire screen, which is a camera shake component, and perform highly accurate camera shake correction. Further, the extraction accuracy of the moving body in the subsequent stage is improved, and various image processing such as derivation and tracking of the moving body and switching of the imaging control target can be performed.

本発明にかかる撮像方法の代表的な構成は、被写体を撮像して画像データを生成し、撮像された画像データに基づいて画面全体の動きベクトルを生成し、画面を複数のブロックに分割し、各ブロックの動きベクトルから画面全体の動きベクトルを減算して、ブロック毎の絶対動きベクトルを生成し、絶対動きベクトルから所定カットオフ周波数の低域成分を抽出し、抽出された絶対動きベクトルの低域成分に基づく、各ブロックへの移動体の進入および退出判定により、各ブロックに移動体が存在するか否かを判定することを特徴とする。   A typical configuration of the imaging method according to the present invention is to generate an image data by imaging a subject, generate a motion vector of the entire screen based on the captured image data, divide the screen into a plurality of blocks, The motion vector of the entire screen is subtracted from the motion vector of each block to generate an absolute motion vector for each block, and the low frequency component of the predetermined cutoff frequency is extracted from the absolute motion vector. It is characterized in that it is determined whether or not there is a moving body in each block by determining whether the moving body enters and leaves each block based on the band component.

上述した撮像装置の技術的思想に基づく構成要素やその説明は、当該撮像方法にも適用可能である。   The above-described components based on the technical idea of the imaging apparatus and the description thereof can be applied to the imaging method.

以上説明した本発明によれば、導出された画面全体の動きベクトルを用い、さらに移動体および移動体の動きベクトルを適切かつ迅速に抽出することで、移動体を用いた様々な画像処理を実行できる。   According to the present invention described above, various image processing using a moving object is performed by using the derived motion vector of the entire screen and further appropriately and quickly extracting the motion vector of the moving object and the moving object. it can.

以下に添付図面を参照しながら、本発明の好適な実施形態について詳細に説明する。かかる実施形態に示す寸法、材料、その他具体的な数値などは、発明の理解を容易とするための例示にすぎず、特に断る場合を除き、本発明を限定するものではない。なお、本明細書および図面において、実質的に同一の機能、構成を有する要素については、同一の符号を付することにより重複説明を省略し、また本発明に直接関係のない要素は図示を省略する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. The dimensions, materials, and other specific numerical values shown in the embodiment are merely examples for facilitating understanding of the invention, and do not limit the present invention unless otherwise specified. In the present specification and drawings, elements having substantially the same function and configuration are denoted by the same reference numerals, and redundant description is omitted, and elements not directly related to the present invention are not illustrated. To do.

ビデオカメラ等の撮像装置では、主たる被写体の焦点を自動的に合わせるオートフォーカス(AF)機能や、シャッター速度や絞りの大きさにより露光を自動的に調整するオートエキスポージャ(AE)機能が搭載され、撮像環境の違いをこのような撮像制御(焦点調整、露光調整等)で補正して被写体を明瞭に撮像することが可能である。また、焦点調整や露光調整は、任意の距離に位置する被写体にのみ行われるので、通常、撮影者が所望する例えば人物といった被写体がその対象として選択される。   Imaging devices such as video cameras have an autofocus (AF) function that automatically focuses the main subject and an autoexposure (AE) function that automatically adjusts exposure according to the shutter speed and aperture size. Thus, it is possible to clearly image the subject by correcting the difference in the imaging environment by such imaging control (focus adjustment, exposure adjustment, etc.). Further, since focus adjustment and exposure adjustment are performed only on a subject located at an arbitrary distance, a subject such as a person desired by the photographer is usually selected as the target.

しかし、撮像制御の対象となる被写体の前に移動体が横切ると、その移動体に対して撮像制御が働いてしまい正常な撮像制御が為されないといった問題が生じる。本実施形態では、導出された画面全体の動きベクトルを用い、さらに移動体および移動体の動きベクトルを適切かつ迅速に抽出することで、移動体を用いた様々な画像処理を実行することが可能となり、さらに撮像制御の対象から上記移動体を排除することで移動体の有無に関係なく正常な撮像制御を遂行することができる。以下、本実施形態の代表的な撮像装置および撮像方法を述べる。   However, when a moving body crosses in front of a subject to be subjected to imaging control, there arises a problem that imaging control is applied to the moving body and normal imaging control is not performed. In this embodiment, it is possible to execute various image processing using a moving object by using the derived motion vector of the entire screen and further extracting the moving object and the moving vector of the moving object appropriately and quickly. Further, by removing the moving body from the target of the imaging control, normal imaging control can be performed regardless of the presence or absence of the moving body. Hereinafter, a typical imaging apparatus and imaging method of the present embodiment will be described.

(撮像装置100)
図1は、本実施形態における撮像装置100の一例を示した外観図である。撮像装置100は、携帯性を有するものが多く、本体102と、撮像レンズ104と、操作キー106と、ビューファインダ108とを含んで構成される。
(Imaging device 100)
FIG. 1 is an external view illustrating an example of an imaging apparatus 100 according to the present embodiment. The imaging apparatus 100 is often portable and includes a main body 102, an imaging lens 104, operation keys 106, and a viewfinder 108.

本体102は、撮像レンズ104を通じて撮像された画像データを再視聴可能に記録すると共に、操作キー106へのユーザ入力に応じてその記録タイミングや画角が調整される。また、画像データにおける画面内の所望する被写体の焦点および露光が所望する値になるよう自動調節される。ビューファインダ108は、液晶ディスプレイ、有機EL(Electro Luminescence)等で構成され、実録される画像データを視認することができる。撮影者は、そのビューファインダ108に表示された画像を参照しながら被写体を所望する位置および大きさで捉えることが可能となる。   The main body 102 records the image data captured through the imaging lens 104 so that it can be viewed again, and the recording timing and angle of view are adjusted in accordance with user input to the operation keys 106. In addition, the focus and exposure of a desired subject in the screen in the image data are automatically adjusted to a desired value. The viewfinder 108 is composed of a liquid crystal display, an organic EL (Electro Luminescence), etc., and can visually recognize image data that is actually recorded. The photographer can capture the subject at a desired position and size while referring to the image displayed on the viewfinder 108.

図2は、本実施形態における撮像装置100の構成を示すブロック図である。撮像装置100は、撮像部120と、中央制御部122と、信号出力部124と、記録部126とを含んで構成される。   FIG. 2 is a block diagram illustrating a configuration of the imaging apparatus 100 according to the present embodiment. The imaging apparatus 100 includes an imaging unit 120, a central control unit 122, a signal output unit 124, and a recording unit 126.

撮像部120は、撮像レンズ104を通じて被写体を撮像し画像データを生成する。具体的に、撮像部120は、焦点調整に用いられるフォーカスレンズ140、露光調整に用いられる絞り142、撮像レンズ104を通じて入射する光を電気信号に変換し色分離やγ補正等の信号処理を施す撮像回路(撮像素子)144、フォーカスレンズ140および絞り142を駆動させる駆動回路146、を含んで構成される。かかる撮像部120によって撮像された画像データは、中央制御部122に転送される。   The imaging unit 120 captures a subject through the imaging lens 104 and generates image data. Specifically, the imaging unit 120 converts light incident through the focus lens 140 used for focus adjustment, the aperture 142 used for exposure adjustment, and the imaging lens 104 into an electrical signal, and performs signal processing such as color separation and γ correction. An image pickup circuit (image pickup element) 144, a focus lens 140, and a drive circuit 146 that drives the diaphragm 142 are configured. Image data captured by the image capturing unit 120 is transferred to the central control unit 122.

中央制御部122は、中央処理装置(CPU)や信号処理装置(DSP:Digital Signal Processor)を含む半導体集積回路により撮像装置100全体を管理および制御し、撮像部120で撮像された画像データに基づいて画面全体の動きベクトル、移動体の抽出、焦点調整や露光調整等の撮像制御等を実行する。当該中央制御部122の詳細な構成は後ほど説明する。   The central control unit 122 manages and controls the entire imaging device 100 by a semiconductor integrated circuit including a central processing unit (CPU) and a signal processing device (DSP: Digital Signal Processor), and is based on image data captured by the imaging unit 120. Then, the image processing control such as the motion vector of the entire screen, extraction of the moving body, focus adjustment and exposure adjustment is executed. The detailed configuration of the central control unit 122 will be described later.

信号出力部124は、手振れ補正された画像データを視聴可能な画像信号に加工してビューファインダ108に出力する。撮影者は、かかるビューファインダ108の映像を視認しながら撮像対象を特定することができる。ここでは、画像信号の出力先をビューファインダ108としたが、別体のモニタ等様々な画像表示装置に接続することも可能である。   The signal output unit 124 processes the image data subjected to camera shake correction into a viewable image signal and outputs the image signal to the viewfinder 108. The photographer can specify the imaging target while visually recognizing the video of the viewfinder 108. Here, the output destination of the image signal is the viewfinder 108, but it can be connected to various image display devices such as a separate monitor.

記録部126は、符号化処理を通じて符号化された記録信号(データストリーム)を生成し、画像データを任意の記録媒体148に記録する。任意の記録媒体148としては、DVDやBDといった電源不要な媒体や、RAM、EEPROM、不揮発性RAM、フラッシュメモリ、HDD等の電源を要する媒体を適用することができる。また、外部から接続可能な別体の記録媒体を用いることもできる。   The recording unit 126 generates a recording signal (data stream) encoded through the encoding process, and records the image data on an arbitrary recording medium 148. As an arbitrary recording medium 148, a medium that does not require a power source such as a DVD or a BD, or a medium that requires a power source such as a RAM, an EEPROM, a nonvolatile RAM, a flash memory, or an HDD can be applied. Also, a separate recording medium that can be connected from the outside can be used.

また、中央制御部122は、ブロックベクトル導出部150と、相関信頼性判定部152と、グループ化部154と、動きベクトル信頼性判定部156と、距離信頼性判定部158と、全体ベクトル導出部160と、ベクトル減算部162と、低域通過フィルタ164と、移動体進入判定部166と、移動体退出判定部168と、移動体進入予測部170と、移動体退出予測部172と、移動体判定部174と、手振れ補正部176と、対象排除部178としても機能する。特に、ブロックベクトル導出部150、相関信頼性判定部152、グループ化部154、動きベクトル信頼性判定部156、距離信頼性判定部158、全体ベクトル導出部160は、撮像された画像データに基づいて画面全体の動きベクトルを生成する全体ベクトル生成部180として機能する。   The central control unit 122 includes a block vector deriving unit 150, a correlation reliability determining unit 152, a grouping unit 154, a motion vector reliability determining unit 156, a distance reliability determining unit 158, and an overall vector deriving unit. 160, a vector subtraction unit 162, a low-pass filter 164, a mobile object entry determination unit 166, a mobile object exit determination unit 168, a mobile object approach prediction unit 170, a mobile object exit prediction unit 172, and a mobile object It also functions as a determination unit 174, a camera shake correction unit 176, and a target exclusion unit 178. In particular, the block vector deriving unit 150, the correlation reliability determining unit 152, the grouping unit 154, the motion vector reliability determining unit 156, the distance reliability determining unit 158, and the overall vector deriving unit 160 are based on the captured image data. It functions as an overall vector generation unit 180 that generates a motion vector of the entire screen.

ブロックベクトル導出部150は、撮像部120で撮像された画像データの画像(画面)を複数のブロック、例えば水平方向に4つ、垂直方向に4つの16ブロックに分割し、代表点マッチング法を通じてブロック毎の動きベクトルの検出を行う。かかる代表点マッチング法では、各ブロックをさらに水平方向に8つ、垂直方向に4つの画素に分割し、1つ前のフィールドの代表点画素と相関性の高いサンプリング点画素を求め、代表点画素との位置の差によって動きベクトルを求めている。また、動きベクトルと併せて相関値の最小値、平均値、勾配等の相関値データもブロック毎に導出し、相関信頼性判定部152およびベクトル減算部162に伝達する。   The block vector deriving unit 150 divides the image (screen) of the image data captured by the imaging unit 120 into a plurality of blocks, for example, four blocks in the horizontal direction and four blocks in the vertical direction, and blocks through the representative point matching method. Each motion vector is detected. In this representative point matching method, each block is further divided into eight pixels in the horizontal direction and four pixels in the vertical direction to obtain a sampling point pixel highly correlated with the representative point pixel in the previous field, and the representative point pixel The motion vector is obtained from the difference in position between In addition, correlation value data such as the minimum value, average value, and gradient of the correlation value is derived for each block together with the motion vector, and transmitted to the correlation reliability determination unit 152 and the vector subtraction unit 162.

相関信頼性判定部152は、ブロックベクトル導出部150からの動きベクトルと相関値データとを用いて各ブロックの信頼性判定、即ち各ブロックが画面全体の動きベクトルを生成する上で有効であるか否かの判定を実行する。従って、相関信頼性判定部152で無効と判定されたブロックは以降の処理には利用されない。   The correlation reliability determination unit 152 is effective in determining the reliability of each block using the motion vector from the block vector deriving unit 150 and the correlation value data, that is, whether each block generates a motion vector for the entire screen. Determine whether or not. Therefore, the block determined as invalid by the correlation reliability determination unit 152 is not used for the subsequent processing.

グループ化部154は、相関信頼性判定部152が有効と判定したブロックを対象として、各ブロックの動きベクトルを比較、動きベクトルが類似しているか否かを判定し、動きベクトルが類似しているブロックをグループ化する。こうして、有効と判定した全てのブロックを任意の数のグループに分けることができる。   The grouping unit 154 compares the motion vectors of the blocks with respect to the blocks determined to be valid by the correlation reliability determination unit 152, determines whether the motion vectors are similar, and the motion vectors are similar. Group blocks. In this way, all blocks determined to be valid can be divided into an arbitrary number of groups.

詳細には、比較する2つのブロックの動きベクトルの水平方向の差分絶対値と垂直方向の差分絶対値の和(以下「ブロック相関値」という)を求め、算出したブロック相関値が相関閾値より小さいときは、比較する2つのブロックは同じグループに属する(動きベクトルが類似する)と判定する。さらに具体的には有効と判定した任意のブロックの動きベクトルを(X1,Y1)とし、同じく有効と判定した他のブロックの動きベクトルを(X2,Y2)としたとき、ブロック相関値は、|X1−X2|+|Y1−Y2|から算出される。算出されたブロック相関値が相関閾値より小さいときは、上記2つのブロックは同じグループに属していると判定する。   Specifically, the sum of the absolute difference value in the horizontal direction and the absolute difference value in the vertical direction of the motion vectors of the two blocks to be compared (hereinafter referred to as “block correlation value”) is obtained, and the calculated block correlation value is smaller than the correlation threshold value. In some cases, it is determined that the two blocks to be compared belong to the same group (similar motion vectors). More specifically, when the motion vector of an arbitrary block determined to be valid is (X1, Y1) and the motion vector of another block also determined to be valid is (X2, Y2), the block correlation value is | It is calculated from X1-X2 | + | Y1-Y2 |. When the calculated block correlation value is smaller than the correlation threshold, it is determined that the two blocks belong to the same group.

動きベクトル信頼性判定部156は、グループ化部154によってグループ化されたブロックに関して、動きベクトルの履歴データを用い、グループの信頼性判定、即ち、移動体に起因するグループであるか否かの判定を行い、そのような移動体に起因するグループのブロックを無効化する。   The motion vector reliability determination unit 156 uses the motion vector history data for the blocks grouped by the grouping unit 154 to determine the reliability of the group, that is, whether the group is caused by the moving object. And invalidate the block of the group caused by such a moving body.

詳細には、まず、同一履歴時刻において同一グループに属するブロックの動きベクトル(BXk[n],BYk[n])をグループ内で平均化することによりグループ動きベクトル(GXAV[n],GYAV[n])を数式1および数式2を用いて算出する。ここで、GXAV[n]は、グループ動きベクトルのX成分(水平方向成分)、GYAV[n]はY成分(垂直方向成分)である。

Figure 0004985569
…(数式1)
Figure 0004985569
…(数式2)
ここでは、同一履歴時刻をnとし、現時刻を0、1フィールド前の時刻を1とし、nフィールド前の時刻であればnとなる。また、kはグループ内におけるブロックの識別番号であり、NBLはグループに含まれる総ブロック数である。従って、kは1からNBLまでの値をとる。 More specifically, first, group motion vectors (GXAV [n], GYAV [n] are obtained by averaging the motion vectors (BXk [n], BYk [n]) of blocks belonging to the same group at the same history time. ]) Is calculated using Equation 1 and Equation 2. Here, GXAV [n] is the X component (horizontal component) of the group motion vector, and GYAV [n] is the Y component (vertical component).
Figure 0004985569
... (Formula 1)
Figure 0004985569
... (Formula 2)
Here, the same history time is n, the current time is 0, the time one field before is 1, and the time is n fields before n. K is an identification number of a block in the group, and NBL is the total number of blocks included in the group. Therefore, k takes a value from 1 to NBL.

次に、第1判定パラメータのX成分であるSXPおよびY成分であるSYPのそれぞれについて、数式3および数式4を用いて算出する。

Figure 0004985569
…(数式3)
Figure 0004985569
…(数式4)
ただし、FX[n]、FY[n]は、画面全体の動きベクトルを表し、NRFは、所定フィールド数である。ここで積算の対象に現時点(n=0)が含まれていないのは、画面全体の動きベクトルがそもそも最終的な計算値であって、最初のフィールドの動きベクトル(FX[0],FY[0])は算出されていないからである。 Next, SXP, which is the X component of the first determination parameter, and SYP, which is the Y component, are calculated using Equation 3 and Equation 4, respectively.
Figure 0004985569
... (Formula 3)
Figure 0004985569
... (Formula 4)
However, FX [n] and FY [n] represent the motion vectors of the entire screen, and NRF is the predetermined number of fields. Here, the current target (n = 0) is not included in the target of integration because the motion vector of the entire screen is the final calculated value in the first place, and the motion vector (FX [0], FY [ 0]) is not calculated.

第1判定パラメータSXPおよびSYPは、グループ動きベクトルと画面全体の動きベクトルとの類似の度合を表し、第1判定パラメータSXPおよびSYPの値が大きくなるほど、動きベクトルの類似性が小さくなることを示している。従って、第1判定パラメータの値が大きいときは、検出されたグループ動きベクトルは、パンニング操作や手振れに起因するものではない可能性が高いこととなる。   The first determination parameters SXP and SYP represent the degree of similarity between the group motion vector and the motion vector of the entire screen, and indicate that the similarity between the motion vectors decreases as the values of the first determination parameters SXP and SYP increase. ing. Therefore, when the value of the first determination parameter is large, there is a high possibility that the detected group motion vector is not caused by panning operation or camera shake.

次に、数式5および数式6を用いて第2判定パラメータGXIおよびGYIを算出する。

Figure 0004985569
…(数式5)
Figure 0004985569
…(数式6)
ここで、第2判定パラメータは、直近(NRF+1)のフィールドにおけるグループ動きベクトルのX成分およびY成分の積算値の絶対値であり、グループ動きベクトルが手振れによるものであれば小さな値に収束する。従って、第2判定パラメータGXIまたはGYIの値が大きいときは、そのグループは動く物体を含むか、カメラのパンニング中であるかのいずれかの状態であることが考えられる。 Next, the second determination parameters GXI and GYI are calculated using Equation 5 and Equation 6.
Figure 0004985569
... (Formula 5)
Figure 0004985569
... (Formula 6)
Here, the second determination parameter is the absolute value of the integrated value of the X and Y components of the group motion vector in the most recent (NRF + 1) field, and converges to a small value if the group motion vector is due to camera shake. Therefore, when the value of the second determination parameter GXI or GYI is large, the group may be in a state where either the moving object is included or the camera is panning.

動きベクトル信頼性判定部156は、以上のようにして算出された第1判定パラメータSXP、SYP、および第2判定パラメータGXI、GYIと、対応する所定閾値SXTH、SYTH、GXTH、およびGYTHとを比較し、SXP>SXTHかつGXI>GXTH、および、SYP>SYTHかつGYI>GYTHの条件が満たされると、グループが移動体を含むと判定し、そのグループを画面全体の動きベクトルの計算において無効にする。かかる条件が満たされるときは、グループの動きベクトルが、カメラのパンニングによるものでなく、かつ手振れによるものでもないと判定できるからである。   The motion vector reliability determination unit 156 compares the first determination parameters SXP and SYP and the second determination parameters GXI and GYI calculated as described above with the corresponding predetermined threshold values SXTH, SYTH, GXTH, and GYTH. If the conditions of SXP> SXTH and GXI> GXTH and SYP> SYTH and GYI> GYTH are satisfied, it is determined that the group includes a moving body, and the group is invalidated in the calculation of the motion vector of the entire screen. . This is because, when such a condition is satisfied, it can be determined that the motion vector of the group is not due to camera panning and is not due to camera shake.

このように画面内に存在する移動体に起因する動きベクトルを除外することで、手振れに起因する画面全体の動きベクトルの検出を高い精度で行うことができる。しかし、動きベクトル信頼性判定部156による動きベクトルの履歴を用いた判定では、任意のブロックに移動体が進入した後、数フィールドの時間を費やして初めて移動体が認識される。従って、任意のブロックに進入した直後では、その移動体を検出できず、移動体を含まないブロック、即ち有効ブロックと判定してしまう。そこで、本実施形態の撮像装置100は進入直後の移動体を認識して無効化する距離信頼性判定部158も備えている。   In this way, by excluding the motion vector due to the moving body existing in the screen, the motion vector of the entire screen due to the camera shake can be detected with high accuracy. However, in the determination using the motion vector history by the motion vector reliability determination unit 156, after the mobile object enters an arbitrary block, the mobile object is recognized only after spending several fields of time. Therefore, immediately after entering an arbitrary block, the moving body cannot be detected, and it is determined that the block does not include the moving body, that is, an effective block. Therefore, the imaging apparatus 100 according to the present embodiment also includes a distance reliability determination unit 158 that recognizes and invalidates the moving body immediately after entering.

距離信頼性判定部158は、画面上でのグループの広がり度合を示すパラメータであるグループ距離を用いた信頼性判定を行う。詳細には、グループの水平方向のブロック数(水平距離)と垂直方向のブロック数(垂直距離)との和を求め、その和が小さなグループのブロックを、画面全体の動きベクトルの計算処理に利用されないようにする。これは、移動体が画面へ進入する際には画面の一部分にのみ影響し、そのグループは全画面に対してはそれほど広い範囲を占有しないからである。従って、移動体進入直後のブロックはグループ距離も小さな値となる。   The distance reliability determination unit 158 performs reliability determination using a group distance that is a parameter indicating the degree of spread of the group on the screen. Specifically, the sum of the number of blocks in the horizontal direction (horizontal distance) and the number of blocks in the vertical direction (vertical distance) is calculated, and the blocks in the group with the smaller sum are used for the calculation of motion vectors for the entire screen. Do not be. This is because when the moving body enters the screen, it affects only a part of the screen, and the group does not occupy a very wide range for the entire screen. Therefore, the block immediately after entering the moving body also has a small group distance.

これに対し、手振れは画面全体に影響する動きであり、手振れを表すグループは画面の広範囲を占有し、また、画面上に離散するため、手振れを表すグループ距離は大きな値(例えば最大値)になる。上記距離(和)が最大となるグループが同値により複数存在する場合、複数の有効なグループに含まれる全てのブロックの動きベクトルの平均値を算出し、画面全体の動きベクトルとする。このようにグループ距離の判定を行うことで、画面に進入した直後の移動体を含むブロックを除外し、手振れに起因する動きベクトルを正確に検出することができる。   On the other hand, camera shake is a movement that affects the entire screen, and groups representing camera shake occupy a wide area of the screen and are scattered on the screen, so the group distance representing camera shake has a large value (for example, the maximum value). Become. When there are a plurality of groups with the same distance (sum) having the same value, the average value of the motion vectors of all the blocks included in the plurality of effective groups is calculated and used as the motion vector of the entire screen. By determining the group distance in this way, it is possible to exclude a block including a moving body immediately after entering the screen and accurately detect a motion vector due to camera shake.

全体ベクトル導出部160は、動きベクトル信頼性判定部156および距離信頼性判定部158によって有効と判定された1または複数のグループを構成するブロックの動きベクトルを用いて画面全体の動きベクトルを導出する。   The overall vector deriving unit 160 derives the motion vector of the entire screen using the motion vectors of the blocks constituting one or more groups determined to be valid by the motion vector reliability determining unit 156 and the distance reliability determining unit 158. .

このとき、画面内に有効となるグループが1つも存在しない場合には、画面全体の動きベクトルを、1フィールド前の画面全体の動きベクトルに任意の定数α(0<α<1)を乗じた値とする。こうして、画面内に移動体が存在し、移動体がある程度の時間、画面上に滞在する場合においても、また、移動体が画面に進入した直後の場合においても画面全体単位の動きベクトルを高い精度で検出することができる。   At this time, if there is no effective group in the screen, the motion vector of the entire screen is multiplied by an arbitrary constant α (0 <α <1) by the motion vector of the entire screen one field before. Value. Thus, even when a moving object exists in the screen and the moving object stays on the screen for a certain period of time, or even immediately after the moving object enters the screen, the motion vector of the entire screen is highly accurate. Can be detected.

ベクトル減算部162は、ブロックベクトル導出部150で導出された各ブロックの動きベクトルから全体ベクトル導出部160で導出された画面全体の動きベクトルを減算して、ブロック毎の絶対動きベクトルを生成する。ブロックベクトル導出部150で導出された各ブロックの動きベクトルは、手振れ成分を含む相対的な値を示している。かかる動きベクトルから移動体に起因する絶対動きベクトルを導出するため、上述したように手振れ成分である画面全体の動きベクトルを減算する。   The vector subtracting unit 162 subtracts the motion vector of the entire screen derived by the entire vector deriving unit 160 from the motion vector of each block derived by the block vector deriving unit 150 to generate an absolute motion vector for each block. The motion vector of each block derived by the block vector deriving unit 150 indicates a relative value including a shake component. In order to derive an absolute motion vector due to the moving object from the motion vector, the motion vector of the entire screen, which is a shake component, is subtracted as described above.

ただし、上述した相関信頼性判定部152、動きベクトル信頼性判定部156、距離信頼性判定部158において無効と判定されたブロックに関しては、誤ったベクトルを提示している可能性が高いため、1フィールド前の動きベクトル(前回値)に任意の定数β(0<β<1)を乗じた値を今回値とする。   However, the block determined to be invalid by the correlation reliability determination unit 152, the motion vector reliability determination unit 156, and the distance reliability determination unit 158 described above is highly likely to present an incorrect vector. A value obtained by multiplying the motion vector before the field (previous value) by an arbitrary constant β (0 <β <1) is set as the current value.

低域通過フィルタ(LPF)164は、ベクトル減算部162で導出された絶対動きベクトルからさらに手振れ成分を除去すべく所定カットオフ周波数(例えば1Hz)の低域成分をブロック毎に抽出する。かかる低域通過フィルタ164により、画面全体の動きベクトルの値が適切ではなく、ベクトル減算部162では手振れ成分を排除しきれなかったとしても、個々のブロックの正確な絶対動きベクトルを抽出することができる。また、15Hz以上の例えばCCDのノイズ等も除去することが可能となる。   The low-pass filter (LPF) 164 extracts a low-frequency component having a predetermined cutoff frequency (for example, 1 Hz) for each block in order to further remove a shake component from the absolute motion vector derived by the vector subtraction unit 162. With such a low-pass filter 164, even if the motion vector value of the entire screen is not appropriate and the vector subtraction unit 162 cannot completely eliminate the shake component, it is possible to extract an accurate absolute motion vector of each block. it can. In addition, it is possible to remove, for example, CCD noise of 15 Hz or higher.

通常、手振れは1〜15Hzの振動を伴う。従って、カットオフ周波数1Hz、サンプリング周波数60Hz(NTSC方式、フィールド単位)の低域通過フィルタをIIR(Infinite Impulse Response)フィルタで実現する。このときの伝達関数は数式7で示される。

Figure 0004985569
…(数式7)
ただし、aは0.0499104、aは0.0499104、bは−0.9001792である。 Usually, camera shake is accompanied by vibration of 1 to 15 Hz. Therefore, a low-pass filter having a cutoff frequency of 1 Hz and a sampling frequency of 60 Hz (NTSC system, field unit) is realized by an IIR (Infinite Impulse Response) filter. The transfer function at this time is expressed by Equation 7.
Figure 0004985569
... (Formula 7)
However, a 0 is .0499104, a 1 is .0499104, b 1 is -0.9001792.

かかる低域通過フィルタをプログラム上で実現する場合、以下の手順で実行される。
out = a1×filIn1 + a0×in − b1×filOut1;
filIn1 = in;
filOut1 = out;
ここで、inはフィルタ入力、outはフィルタ出力であり、filIn1、filOut1は前回値保存用のレジスタである。また、係数にa1=a0、b1=1−2×a0の関係があることに着目すると、
out = a0×( in + filIn1 + filOut1<<1) − filOut1;
のように乗算回数を1度に抑えることができる。ただし、「<<1」は左に1ビットシフトする演算処理を示す。
When such a low-pass filter is realized on a program, it is executed according to the following procedure.
out = a 1 x filIn1 + a 0 x in-b 1 x filOut1;
filIn1 = in;
filOut1 = out;
Here, in is a filter input, out is a filter output, and filIn1 and filOut1 are registers for storing previous values. Also, paying attention to the relationship between the coefficients a 1 = a 0 and b 1 = 1−2 × a 0 ,
out = a 0 x (in + filIn1 + filOut1 <<1)-filOut1;
Thus, the number of multiplications can be reduced to one. However, “<< 1” indicates arithmetic processing for shifting 1 bit to the left.

このように、絶対動きベクトルから手振れ帯域(1〜15Hz)を除去することで、移動体の純粋な移動成分のみを抽出することができる。   In this way, by removing the hand shake band (1 to 15 Hz) from the absolute motion vector, only a pure moving component of the moving body can be extracted.

移動体進入判定部166は、低域通過フィルタ164のフィルタ出力に基づいて、ブロック毎の移動体の進入を判定する。   The mobile object entry determination unit 166 determines the entry of the mobile object for each block based on the filter output of the low-pass filter 164.

しかしながら、上述した低域通過フィルタ164の位相特性によりフィルタ出力は遅延を伴い、低域通過フィルタ164の出力が移動体と認識可能な任意の閾値に到達したときには、移動体は既に移動しており、移動体進入判定部166の移動体認識が遅れてしまう。   However, the filter output is delayed due to the phase characteristics of the low-pass filter 164 described above, and when the output of the low-pass filter 164 reaches an arbitrary threshold that can be recognized as a mobile object, the mobile object has already moved. The mobile object recognition by the mobile object entry determination unit 166 is delayed.

図3は、低域通過フィルタ164の出力遅延を説明するための説明図である。移動体が進入したことにより図3(a)のような滞在時間と入力値を有する信号がベクトル減算部162で生成された場合、低域通過フィルタ164のフィルタ出力は図3(b)に実線で示したように時定数を伴った遅れを生じ、移動体が進入したと判断できる閾値δに到達するまで遅延時間dを費やすこととなる。   FIG. 3 is an explanatory diagram for explaining the output delay of the low-pass filter 164. When the signal having the stay time and the input value as shown in FIG. 3A is generated by the vector subtraction unit 162 due to the moving body entering, the filter output of the low-pass filter 164 is a solid line in FIG. A delay with a time constant occurs as shown in Fig. 5, and a delay time d is spent until the threshold value δ at which it can be determined that the mobile body has entered is reached.

そこで、移動体進入判定部166は、低域通過フィルタ164の出力に加え、同一方向カウンタを利用して移動体の進入を判定する。かかる同一方向カウンタは、ブロックの絶対動きベクトルが連続して同じ方向を示した回数をカウントし、異なる方向を示したときにリセットする。   Therefore, the moving body entry determination unit 166 determines the entry of the moving body using the same direction counter in addition to the output of the low-pass filter 164. The same direction counter counts the number of times that the absolute motion vector of the block continuously indicates the same direction, and is reset when indicating a different direction.

移動体進入判定部166は、移動体の移動速度が比較的遅い場合(所定の閾値以下の場合)200、同一方向カウンタ>γかつフィルタ出力値>εの条件を満たすとき(但し、0<γ、0<ε)、図3(b)のように、移動体が当該ブロック中に存在していることを示す移動体確定フラグをオンする。   When the moving speed of the moving body is relatively slow (when it is equal to or smaller than a predetermined threshold), the moving body approach determination unit 166 satisfies the condition of the same direction counter> γ and the filter output value> ε (where 0 <γ , 0 <ε), and as shown in FIG. 3B, the moving body determination flag indicating that the moving body exists in the block is turned on.

また、移動体の移動速度が比較的速い場合(所定の閾値以上の場合)202、フィルタ出力値>δの条件のみで(但し、ε<δ)、図3(b)のように、移動体確定フラグをオンする。移動速度が速い場合に同一方向カウントを用いないのは、同一方向カウンタが所定の閾値を超える前に移動体が対象となるブロックを通過してしまう可能性があるからである。   Further, when the moving speed of the moving body is relatively fast (when it is equal to or greater than a predetermined threshold) 202, only under the condition of the filter output value> δ (where ε <δ), the moving body as shown in FIG. Turn on the confirmation flag. The reason why the same direction count is not used when the moving speed is high is that the moving object may pass through the target block before the same direction counter exceeds a predetermined threshold value.

移動体退出判定部168は、移動体が各ブロックを通過し終えたと判断した時点で、移動体進入判定部166がオンに設定した移動体確定フラグをオフにする。従って、移動体確定フラグがオンの状態のときブロック中に移動体が存在していると認識されていることになる。   When it is determined that the mobile object has passed through each block, the mobile object exit determination unit 168 turns off the mobile object determination flag set by the mobile object entry determination unit 166. Therefore, when the moving object determination flag is on, it is recognized that a moving object exists in the block.

移動体退出判定部168は、移動体進入判定部166同様に低域通過フィルタ164の出力に基づいて移動体の退出を判定するが、低域通過フィルタ164の遅延を補償するため、フィルタ出力の推移の勾配(傾斜)も利用する。   The mobile object exit determination unit 168 determines the exit of the mobile object based on the output of the low-pass filter 164 as in the mobile object entrance determination unit 166. In order to compensate for the delay of the low-pass filter 164, the mobile object exit determination unit 168 The transition gradient (slope) is also used.

図4は、フィルタ出力の推移の勾配を説明するための説明図である。移動体が各ブロックを進入時と同速度で退出する場合210と、徐々に速度を弱めてブロック中で停止する場合212では、図4に示すようにその勾配が相異する。特に移動体がブロックを高速度で通過する場合は勾配がきつくなり(傾斜角が大きくなり)、勾配が急峻となった時点で移動体の退出を判定することができる。具体的には、現在のフィルタ出力から所定時間前のフィルタ出力を減算した勾配の絶対値が所定値以上となると、移動体確定フラグをオフにする。また、フィルタ出力が0に近い値になったときも移動体の退出と判断することができる。   FIG. 4 is an explanatory diagram for explaining the gradient of the transition of the filter output. As shown in FIG. 4, the gradient is different between the case 210 in which the moving body leaves each block at the same speed as when entering, and the case 212 in which the speed gradually decreases and stops in the block. In particular, when the moving body passes through the block at a high speed, the gradient becomes tight (the inclination angle becomes large), and the exit of the moving body can be determined when the gradient becomes steep. Specifically, when the absolute value of the gradient obtained by subtracting the filter output before a predetermined time from the current filter output is equal to or greater than a predetermined value, the moving object determination flag is turned off. Also, it can be determined that the moving object has left when the filter output is close to zero.

さらに、移動体退出判定部168は、このような勾配による退出の誤判定を回避するために、移動体確定フラグがオンの間はフィルタ出力の最大値を常に更新し、フィルタ出力がこの最大値以下となった後に勾配を計算する。こうすることで勾配が正の値となる進入時を誤って退出したと判定することがなくなる。   Furthermore, in order to avoid such an erroneous determination of leaving due to the gradient, the moving object leaving determination unit 168 constantly updates the maximum value of the filter output while the moving object determination flag is on, and the filter output is the maximum value. The slope is calculated after By doing so, it is not determined that the time when the vehicle enters the slope having a positive value is erroneously exited.

移動体進入予測部170は、移動体進入判定部166と独立してブロック毎の移動体の進入を予測する。移動体退出判定部168が同一方向カウンタも用いることで移動体の認識は多少早くなるものの、その動きベクトルが手振れであるか移動体であるかを判定するのに費やす数フィールドを短縮することはできない。そこで、移動体進入予測部170による移動体の進入予測が為される。移動体進入予測部170は、移動体が、その動きベクトルと動きベクトルの方向とから次にどのブロックに進入するか予測することができる。そして、移動体の進入が予測されるブロックの移動体予測フラグをオンする。   The mobile object approach prediction unit 170 predicts the entry of the mobile object for each block independently of the mobile object entry determination unit 166. Although the moving object exit determination unit 168 also uses the same direction counter to recognize the moving object somewhat faster, it is possible to reduce the number of fields used to determine whether the motion vector is a shake or a moving object. Can not. Therefore, the moving object approach prediction unit 170 performs the moving object prediction. The moving object approach prediction unit 170 can predict which block the moving object will enter next from the motion vector and the direction of the motion vector. Then, the mobile object prediction flag of the block where the mobile object is predicted to enter is turned on.

図5は、移動体進入予測部170の動作を説明するための説明図である。図5(a)のように所定のブロック220に移動体としてのトラック(貨物自動車)222が進入しようとしたとき、移動体進入判定部166によっては、ブロック220の移動体確定フラグが直ちにオンにならない。しかし、移動体進入予測部170は、かかるトラック222のブロック220への進入を予測できるため、ブロック220の移動体予測フラグをオンする。そして、数フィールド後には、移動体進入判定部166もトラック222の存在を認識し、図5(b)の如く、移動体予測フラグおよび移動体確定フラグの両フラグがオンとなる。   FIG. 5 is an explanatory diagram for explaining the operation of the mobile object approach prediction unit 170. As shown in FIG. 5A, when a truck (lorry vehicle) 222 as a moving body is about to enter the predetermined block 220, the moving body determination flag of the block 220 is immediately turned on by the moving body entering determination unit 166. Don't be. However, since the mobile object approach prediction unit 170 can predict the approach of the track 222 to the block 220, the mobile object prediction flag of the block 220 is turned on. After several fields, the moving body approach determination unit 166 also recognizes the presence of the track 222, and both the moving body prediction flag and the moving body determination flag are turned on as shown in FIG. 5B.

移動体進入予測部170は、移動体進入判定部166と移動体退出判定部168とによって制御される移動体確定フラグがオンとなっている間、ブロック毎に絶対動きベクトルを積算する。   The moving body approach prediction unit 170 accumulates absolute motion vectors for each block while the moving body determination flag controlled by the moving body entry determination unit 166 and the moving body exit determination unit 168 is on.

図6は、絶対動きベクトルの積算を説明するための説明図である。図6では、移動体としてのトラック222がブロック220を図6(a)、(b)、(c)、(d)の順で推移し、隣接するブロック224に進入する状況が示されている。移動体進入予測部170は、ブロック220の移動体確定フラグがオンしている間、図6(a)、(b)、(c)、(d)に矢印で示した絶対動きベクトルA、B、C、Dを積算し、その積算値が図6(e)のようにブロックサイズ(ブロック間に間隔がある場合ブロック間隔も含む)と実質的に等しくなったとき、トラック222は移動方向に隣接するブロック224に進入した、またはその寸前であると判断でき、ブロック224の移動体予測フラグをオンする。   FIG. 6 is an explanatory diagram for explaining integration of absolute motion vectors. FIG. 6 shows a situation in which the track 222 as a moving object moves through the block 220 in the order of FIGS. 6A, 6 </ b> B, 6 </ b> C, and 6 </ b> D and enters the adjacent block 224. . The moving object approach predicting unit 170 performs absolute motion vectors A and B indicated by arrows in FIGS. 6A, 6B, 6C, and 6D while the moving object determination flag of the block 220 is on. , C and D are integrated, and the integrated value becomes substantially equal to the block size (including the block interval when there is an interval between blocks) as shown in FIG. It can be determined that the vehicle has entered or is about to enter the adjacent block 224, and the mobile object prediction flag of the block 224 is turned on.

かかるブロック毎の絶対動きベクトルの積算値は、ブロックサイズと一致するのが理想的ではあるが、低域通過フィルタ164の出力遅延によって移動体確定フラグがオンしている時間が実際のトラック222の滞在時間と異なるためブロックサイズに到達しない。従って、ブロック224へトラック222が進入すると判定できる絶対動きベクトルの積算値の目標値は、ブロックサイズより小さな値に設定するのが望ましい。この小さな値は、ブロックサイズから所定値を減算した値でも、ブロックサイズに所定値ζ(0<ζ<1)を乗算した値でもよい。また、絶対動きベクトルの積算だけでは速度が速い移動体を正しく認識できないことがあるため、移動体確定フラグオンと同様、同一方向カウンタを併用することもできる。   Ideally, the integrated value of the absolute motion vector for each block matches the block size, but the time during which the moving object determination flag is on due to the output delay of the low-pass filter 164 is the actual track 222. The block size is not reached because it is different from the stay time. Therefore, it is desirable to set the target value of the integrated value of the absolute motion vector that can be determined that the track 222 enters the block 224 to a value smaller than the block size. This small value may be a value obtained by subtracting a predetermined value from the block size or a value obtained by multiplying the block size by a predetermined value ζ (0 <ζ <1). In addition, since a moving body having a high speed may not be correctly recognized only by accumulating absolute motion vectors, the same direction counter can be used in combination with the moving body determination flag on.

移動体進入予測部170は、上述したように、移動体確定フラグをオンしたブロック220の移動方向側に隣接するブロック224への同一の移動体が進入する可能性を判断する。そして、更に正確な判断を下すため、動きベクトルの類似性と最小相関値とを確認することもできる。   As described above, the moving object approach prediction unit 170 determines the possibility that the same moving object enters the block 224 adjacent to the moving direction side of the block 220 in which the moving object determination flag is turned on. In order to make a more accurate determination, the similarity between the motion vectors and the minimum correlation value can be confirmed.

図7は、動きベクトルの類似性の確認を説明するための説明図である。かかる図7は、図6同様、所定のブロック220と隣接するブロック224に移動体としてのトラック222が通過している。移動体の存在が検出されたブロック220と、そのブロック220に隣接するブロック224に同一のトラック222が存在すれば、その2つのブロックにおける矢印で示した動きベクトルは近い値を示すはずである。従って、所定のブロック220と隣接するブロック224との動きベクトルの差分が所定範囲内であれば動きベクトルは類似していると判断でき、移動体予測フラグのオンを維持する。   FIG. 7 is an explanatory diagram for explaining confirmation of similarity of motion vectors. In FIG. 7, as in FIG. 6, a track 222 as a moving body passes through a block 224 adjacent to a predetermined block 220. If the same track 222 exists in the block 220 in which the presence of the moving object is detected and the block 224 adjacent to the block 220, the motion vectors indicated by the arrows in the two blocks should show close values. Therefore, if the difference between the motion vectors of the predetermined block 220 and the adjacent block 224 is within a predetermined range, it can be determined that the motion vectors are similar, and the mobile object prediction flag is kept on.

図8は、最小相関値による確認を説明するための説明図である。上述したブロックベクトル導出部150では、動きベクトルの算出に代表点マッチング法を用いている。かかる代表点マッチング法は現在の画像と1つ前の画像とで一致する画像の位置を求める手段である。このような代表点マッチング法の下、ブロック内に移動体、例えばトラック222が進入すると、現在の画像226と1つ前の画像228が一致しなくなり最小相関値が前回値より大きな値となる。このような最小相関値の変位により移動体の進入を認識することができ、移動体予測フラグのオンを維持することができる。   FIG. 8 is an explanatory diagram for explaining confirmation by the minimum correlation value. In the block vector deriving unit 150 described above, the representative point matching method is used to calculate the motion vector. The representative point matching method is a means for obtaining the position of an image that matches the current image and the previous image. Under such a representative point matching method, when a moving object such as a track 222 enters a block, the current image 226 and the previous image 228 do not match, and the minimum correlation value becomes larger than the previous value. The approach of the moving object can be recognized by such a displacement of the minimum correlation value, and the moving object prediction flag can be kept on.

移動体退出予測部172は、移動体退出判定部168と独立してブロック毎の移動体の退出を予測する。   The mobile object exit prediction unit 172 predicts the exit of the mobile object for each block independently of the mobile object exit determination unit 168.

図9は、移動体退出予測部172の動作を説明するための説明図である。図9(a)は、図5(b)に対応しており、図9(b)は、図5(b)の所定時間後の状態を示している。図9(a)のように移動体予測フラグおよび移動体確定フラグの両フラグがオンとなっている状態において、移動体退出判定部168が対象となるブロック220のトラック222の退出を認識したとき、図9(b)のように、移動体退出判定部168が移動体確定フラグをオフしたのを受けて、移動体退出予測部172も同一のブロック220における移動体予測フラグをオフする。   FIG. 9 is an explanatory diagram for explaining the operation of the moving object exit prediction unit 172. FIG. 9A corresponds to FIG. 5B, and FIG. 9B shows a state after a predetermined time of FIG. 5B. When the mobile object exit determination unit 168 recognizes the exit of the track 222 of the target block 220 in a state where both the mobile object prediction flag and the mobile object confirmation flag are on as shown in FIG. As shown in FIG. 9B, in response to the moving object leaving determination unit 168 turning off the moving object determination flag, the moving object leaving prediction unit 172 also turns off the moving object prediction flag in the same block 220.

一方、移動体が物陰に隠れたり、移動体が直前で停止したりすることで、隣接するブロックに進入しない場合、移動体退出予測部172は、いつまでも移動体予測フラグをオフできない状態に陥ってしまう。   On the other hand, if the mobile object is hidden behind the object or the mobile object stops immediately before, the mobile object exit prediction unit 172 falls into a state where the mobile object prediction flag cannot be turned off forever. End up.

図10は、移動体が物陰に隠れてしまう場合の移動体予測フラグの動作を説明するための説明図である。まず、ブロック220において、隣接するブロック224へのトラック222の進入が予測され、図10(a)に示すようにブロック224の移動体予測フラグがオンされる。しかし、ブロック224には撮像装置100とトラック222との間に境界230を端部とする遮蔽物232があり、ブロック224の移動体進入判定部166は、トラック222の進入を認識することができない。従って、ブロック224の移動体確定フラグはオンにならず、当然移動体確定フラグがオンからオフになる契機も訪れない。   FIG. 10 is an explanatory diagram for explaining the operation of the mobile object prediction flag when the mobile object is hidden behind the object. First, in block 220, the approach of the track 222 to the adjacent block 224 is predicted, and the mobile object prediction flag in the block 224 is turned on as shown in FIG. However, the block 224 has a shielding object 232 having the boundary 230 as an end between the imaging device 100 and the track 222, and the moving object entry determination unit 166 of the block 224 cannot recognize the entry of the track 222. . Accordingly, the moving object determination flag in the block 224 is not turned on, and naturally, the opportunity for the moving object determination flag to be turned off from on does not come.

かかる状態を回避するため、移動体予測フラグをオンにしたトラック222が存在するブロック220に関して、図10(b)のように、移動体確定フラグがオフとなるとき、トラック222が進入するであろうブロック224中のトラック222の滞在時間を推定し、その推定時間のタイムアウト、即ち、図10(c)のようにトラック222がブロック224を退出した時刻に、ブロック224の移動体確定フラグがオフであることを確認して移動体予測フラグをオフする。かかるタイムアウトはフィールド毎に1デクリメントするカウンタを用いて為される。   In order to avoid such a state, as shown in FIG. 10B, when the moving body determination flag is turned off as shown in FIG. 10B, the track 222 enters the block 220 in which the track 222 having the moving body prediction flag turned on exists. Estimate the stay time of the track 222 in the wax block 224, and at the time out of the estimated time, that is, when the track 222 leaves the block 224 as shown in FIG. Confirm that the mobile object prediction flag is turned off. Such timeout is done using a counter that decrements by one for each field.

移動体判定部174は、移動体進入判定部166、移動体退出判定部168、移動体進入予測部170、移動体退出予測部172によって制御される移動体確定フラグおよび移動体予測フラグに基づいて、各ブロックに移動体が存在するかまたは存在している可能性が高いか判定する。   The mobile body determination unit 174 is based on the mobile body determination flag and the mobile body prediction flag controlled by the mobile body entrance determination unit 166, the mobile body exit determination unit 168, the mobile body entrance prediction unit 170, and the mobile body exit prediction unit 172. , It is determined whether or not there is a moving object in each block.

手振れ補正部176は、撮像された画像データを全体ベクトル導出部160が導出した画面全体の動きベクトル分逆方向に変位させ手振れによる画面振れを補正する。このとき、移動体判定部174によって移動体が存在すると判定されたブロックを無効化することでより確実かつ高精度に手振れ補正を遂行することが可能となる。   The camera shake correction unit 176 corrects screen shake due to camera shake by displacing the captured image data in the reverse direction by the motion vector of the entire screen derived by the entire vector deriving unit 160. At this time, it is possible to perform the camera shake correction more reliably and with high accuracy by invalidating the block determined by the moving object determination unit 174 as having a moving object.

対象排除部178は、焦点調整もしくは露光調整のいずれか一方または両方を含む撮像制御の対象となる被写体が存在するブロックが、移動体判定部174によって移動体が存在すると判定されたブロックと一致した場合、かかる移動体が存在するブロックを撮像制御の対象から除くよう駆動回路146に指令する。対象から除く手段としては、撮像制御の対象領域を移動または拡大したり、予め定められた領域に切り換えたりすることが考えられる。   The object excluding unit 178 matches the block in which the subject that is subject to imaging control including either or both of the focus adjustment and the exposure adjustment matches the block in which the moving object determining unit 174 determines that the moving object exists. In this case, the drive circuit 146 is instructed to exclude the block in which the moving body is present from the target of the imaging control. As means for excluding from the target, it is conceivable to move or enlarge the target area of the imaging control or to switch to a predetermined area.

かかる構成により、移動体が存在するブロックに対する撮像制御を排除し、撮像制御対象となる被写体の前を移動体が横切ることによって誤った撮像制御が為されてしまう現象を回避することが可能となり、撮影者の所望する高画質の撮像データを維持することができる。   With such a configuration, it is possible to eliminate the imaging control for the block in which the moving body exists, and to avoid the phenomenon that the erroneous imaging control is performed when the moving body crosses in front of the subject that is the imaging control target, High-quality image data desired by the photographer can be maintained.

(撮像方法)
また、画面中の移動体を検出可能な撮像方法も提供される。
(Imaging method)
An imaging method capable of detecting a moving body in the screen is also provided.

図11は、当該撮像方法の具体的な処理を示したフローチャートである。まず、撮影者が撮像装置100を用いて撮像を開始すると、撮像装置100の撮像部120は、被写体を撮像して画像データを生成する(S300)。   FIG. 11 is a flowchart showing specific processing of the imaging method. First, when a photographer starts imaging using the imaging device 100, the imaging unit 120 of the imaging device 100 captures an object and generates image data (S300).

そして、ブロックベクトル導出部150は、撮像された画面を複数のブロックに分割、各ブロックの動きベクトルを導出し(S302)、グループ化部154は、動きベクトルが類似する複数のブロックをグループ化する(S304)。   Then, the block vector deriving unit 150 divides the captured image into a plurality of blocks, derives a motion vector of each block (S302), and the grouping unit 154 groups a plurality of blocks having similar motion vectors. (S304).

続いて、動きベクトル信頼性判定部156は、同一のグループに属する複数のブロックの動きベクトルの履歴と、画面全体の動きベクトルの履歴とに基づいて、グループが移動体を含むか否かを判定し(S306)、距離信頼性判定部158は、グループ距離を用いて信頼性を判定し(S308)、全体ベクトル導出部160は、移動体を含まないグループを構成するブロックの動きベクトルを用いて画面全体の動きベクトルを導出する(S310)。かかる画面全体の動きベクトルは、手振れ補正に利用することができる。   Subsequently, the motion vector reliability determination unit 156 determines whether the group includes a moving body based on the motion vector history of a plurality of blocks belonging to the same group and the motion vector history of the entire screen. Then, the distance reliability determination unit 158 determines the reliability using the group distance (S308), and the overall vector deriving unit 160 uses the motion vectors of the blocks constituting the group not including the moving object. A motion vector of the entire screen is derived (S310). Such a motion vector of the entire screen can be used for camera shake correction.

次に、ベクトル減算部162は、各ブロックの動きベクトルから画面全体の動きベクトルを減算して、ブロック毎の絶対動きベクトルを生成し(S312)、低域通過フィルタ164は、絶対動きベクトルから所定カットオフ周波数の低域成分を抽出する(S314)。移動体判定部174は、抽出された絶対動きベクトルの低域成分に基づく、各ブロックへの移動体の進入および退出判定により、各ブロックに移動体が存在するか否かを判定する(S316)。   Next, the vector subtracting unit 162 subtracts the motion vector of the entire screen from the motion vector of each block to generate an absolute motion vector for each block (S312), and the low-pass filter 164 determines a predetermined value from the absolute motion vector. A low frequency component of the cutoff frequency is extracted (S314). The moving body determination unit 174 determines whether or not there is a moving body in each block based on the determination of the moving body entering and leaving each block based on the low-frequency component of the extracted absolute motion vector (S316). .

最後に、対象排除部178は、任意のブロックに移動体が存在すると判定された場合、その移動体が存在するブロックを焦点調整もしくは露光調整のいずれか一方または両方を含む撮像制御の対象から除く(S318)。   Finally, when it is determined that a moving body is present in an arbitrary block, the target excluding unit 178 excludes the block in which the moving body is present from the target of imaging control including one or both of focus adjustment and exposure adjustment. (S318).

かかる撮像方法においても、移動体を用いた様々な画像処理を実行することが可能となり、撮像制御の対象から上記移動体を排除することで移動体の有無に関係なく正常な撮像制御を遂行することができる。   Even in such an imaging method, it is possible to execute various image processing using a moving object, and normal imaging control is performed regardless of the presence or absence of the moving object by excluding the moving object from the target of imaging control. be able to.

以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明はかかる実施形態に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to this embodiment. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.

なお、本明細書の撮像方法における各工程は、必ずしもフローチャートとして記載された順序に沿って時系列に処理する必要はなく、並列的あるいはサブルーチンによる処理を含んでもよい。   Note that each step in the imaging method of the present specification does not necessarily have to be processed in time series in the order described in the flowchart, and may include parallel or subroutine processing.

本発明は、画面(画像)中の移動体を検出可能な撮像装置および撮像方法に利用することができる。   The present invention can be used for an imaging apparatus and an imaging method capable of detecting a moving body in a screen (image).

本実施形態における撮像装置の一例を示した外観図である。It is the external view which showed an example of the imaging device in this embodiment. 本実施形態における撮像装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device in this embodiment. 低域通過フィルタの出力遅延を説明するための説明図である。It is explanatory drawing for demonstrating the output delay of a low-pass filter. フィルタ出力の推移の勾配を説明するための説明図である。It is explanatory drawing for demonstrating the gradient of transition of a filter output. 移動体進入予測部の動作を説明するための説明図である。It is explanatory drawing for demonstrating operation | movement of a mobile body approach prediction part. 絶対動きベクトルの積算を説明するための説明図である。It is explanatory drawing for demonstrating the integration of an absolute motion vector. 動きベクトルの類似性の確認を説明するための説明図である。It is explanatory drawing for demonstrating confirmation of the similarity of a motion vector. 最小相関値による確認を説明するための説明図である。It is explanatory drawing for demonstrating confirmation by the minimum correlation value. 移動体退出予測部の動作を説明するための説明図である。It is explanatory drawing for demonstrating operation | movement of a mobile body exit prediction part. 移動体が物陰に隠れてしまう場合の移動体予測フラグの動作を説明するための説明図である。It is explanatory drawing for demonstrating operation | movement of the mobile body prediction flag when a mobile body is hidden behind a thing. 撮像方法の具体的な処理を示したフローチャートである。It is the flowchart which showed the specific process of the imaging method.

符号の説明Explanation of symbols

100 …撮像装置
120 …撮像部
150 …ブロックベクトル導出部
152 …相関信頼性判定部
154 …グループ化部
156 …動きベクトル信頼性判定部
158 …距離信頼性判定部
160 …全体ベクトル導出部
162 …ベクトル減算部
164 …低域通過フィルタ
166 …移動体進入判定部
168 …移動体退出判定部
170 …移動体進入予測部
172 …移動体退出予測部
174 …移動体判定部
176 …手振れ補正部
178 …対象排除部
180 …全体ベクトル生成部
DESCRIPTION OF SYMBOLS 100 ... Imaging device 120 ... Imaging part 150 ... Block vector derivation | leading-out part 152 ... Correlation reliability determination part 154 ... Grouping part 156 ... Motion vector reliability determination part 158 ... Distance reliability determination part 160 ... Whole vector derivation part 162 ... Vector Subtractor 164 ... Low-pass filter 166 ... Mobile object entry determination unit 168 ... Mobile object exit determination part 170 ... Mobile object entry prediction part 172 ... Mobile object exit prediction part 174 ... Mobile object determination part 176 ... Camera shake correction part 178 ... Target Exclusion unit 180 ... Whole vector generation unit

Claims (6)

被写体を撮像して画像データを生成する撮像部と、
前記撮像された画像データに基づいて画面全体の動きベクトルを生成する全体ベクトル生成部と、
前記画面を複数のブロックに分割し、各ブロックの動きベクトルから前記画面全体の動きベクトルを減算して、ブロック毎の絶対動きベクトルを生成するベクトル減算部と、
前記絶対動きベクトルから所定カットオフ周波数の低域成分を抽出する低域通過フィルタと、
前記抽出された絶対動きベクトルの低域成分に基づく、各ブロックへの移動体の進入および退出判定により、各ブロックに移動体が存在するか否かを判定する移動体判定部と、
を備えることを特徴とする撮像装置。
An imaging unit that images a subject and generates image data;
An overall vector generation unit that generates a motion vector of the entire screen based on the captured image data;
Dividing the screen into a plurality of blocks, subtracting the motion vector of the entire screen from the motion vector of each block to generate an absolute motion vector for each block; and
A low-pass filter that extracts a low-frequency component of a predetermined cutoff frequency from the absolute motion vector;
A moving body determination unit that determines whether or not a moving body exists in each block based on a low-frequency component of the extracted absolute motion vector based on the moving body entering and exiting each block; and
An imaging apparatus comprising:
ブロック毎に前記抽出された絶対動きベクトルの低域成分を積算し、その結果がブロックサイズと実質的に等しいことで隣接するブロックへの移動体の進入を予測する移動体進入予測部をさらに備え、
前記移動体判定部は、前記移動体の進入予測によっても移動体の存在を判定することを特徴とする請求項1に記載の撮像装置。
A moving body approach prediction unit is further provided that accumulates the low frequency components of the extracted absolute motion vector for each block, and predicts the approach of the moving body to an adjacent block by the result being substantially equal to the block size. ,
The imaging apparatus according to claim 1, wherein the moving body determination unit determines the presence of the moving body also by predicting an approach of the moving body.
ブロック中における移動体の滞在推定時間到達に従うタイムアウトによって移動体の退出を予測する移動体退出予測部をさらに備え、
前記移動体判定部は、前記移動体の退出予測によっても移動体の存在を判定することを特徴とする請求項1または2に記載の撮像装置。
The mobile unit further includes a mobile unit exit prediction unit that predicts the mobile unit's exit based on a time-out according to reaching the estimated stay time of the mobile unit in the block,
The imaging apparatus according to claim 1, wherein the moving body determination unit determines the presence of a moving body also by predicting the exit of the moving body.
前記移動体が存在すると判定された場合、前記移動体が存在するブロックを焦点調整もしくは露光調整のいずれか一方または両方を含む撮像制御の対象から除く対象排除部をさらに備えることを特徴とする請求項1から3のいずれか1項に記載の撮像装置。   And a target excluding unit that excludes a block in which the moving body is present from an imaging control target including one or both of focus adjustment and exposure adjustment when it is determined that the moving body exists. Item 4. The imaging device according to any one of Items 1 to 3. 前記全体ベクトル生成部は、
前記画面を複数のブロックに分割し、各ブロックの動きベクトルを導出するブロックベクトル導出部と、
前記各ブロックの動きベクトルが類似する複数のブロックをグループ化するグループ化部と、
同一のグループに属する複数のブロックの動きベクトルの履歴と、画面全体の動きベクトルの履歴とに基づいて、前記グループが移動体を含むか否かを判定し、移動体を含むグループを除外する動きベクトル信頼性判定部と、
前記移動体を含まないグループを構成するブロックの動きベクトルを用いて画面全体の動きベクトルを導出する全体ベクトル導出部と、
を含んで構成されることを特徴とする請求項1から4のいずれか1項に記載の撮像装置。
The overall vector generation unit
A block vector deriving unit that divides the screen into a plurality of blocks and derives a motion vector of each block;
A grouping unit that groups a plurality of blocks having similar motion vectors of each block ;
Motion that determines whether or not the group includes a moving object based on the motion vector history of a plurality of blocks belonging to the same group and the motion vector history of the entire screen, and excludes the group that includes the moving object A vector reliability determination unit;
An overall vector derivation unit for deriving a motion vector of the entire screen using motion vectors of blocks constituting the group not including the moving object;
5. The imaging apparatus according to claim 1, comprising:
被写体を撮像して画像データを生成し、
前記撮像された画像データに基づいて画面全体の動きベクトルを生成し、
前記画面を複数のブロックに分割し、各ブロックの動きベクトルから前記画面全体の動きベクトルを減算して、ブロック毎の絶対動きベクトルを生成し、
前記絶対動きベクトルから所定カットオフ周波数の低域成分を抽出し、
前記抽出された絶対動きベクトルの低域成分に基づく、各ブロックへの移動体の進入および退出判定により、各ブロックに移動体が存在するか否かを判定することを特徴とする撮像方法。
Capture the subject, generate image data,
Generating a motion vector for the entire screen based on the imaged image data;
Dividing the screen into a plurality of blocks, subtracting the motion vector of the entire screen from the motion vector of each block to generate an absolute motion vector for each block,
Extracting a low frequency component of a predetermined cutoff frequency from the absolute motion vector;
An imaging method comprising: determining whether or not a moving body exists in each block by determining whether the moving body enters and leaves each block based on the low-frequency component of the extracted absolute motion vector.
JP2008177457A 2008-07-08 2008-07-08 Imaging apparatus and imaging method Active JP4985569B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008177457A JP4985569B2 (en) 2008-07-08 2008-07-08 Imaging apparatus and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008177457A JP4985569B2 (en) 2008-07-08 2008-07-08 Imaging apparatus and imaging method

Publications (2)

Publication Number Publication Date
JP2010021597A JP2010021597A (en) 2010-01-28
JP4985569B2 true JP4985569B2 (en) 2012-07-25

Family

ID=41706101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008177457A Active JP4985569B2 (en) 2008-07-08 2008-07-08 Imaging apparatus and imaging method

Country Status (1)

Country Link
JP (1) JP4985569B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5470529B2 (en) * 2011-03-22 2014-04-16 株式会社モルフォ Motion detection device, motion detection method, and motion detection program
JP4855556B1 (en) 2011-03-22 2012-01-18 株式会社モルフォ Moving object detection apparatus, moving object detection method, moving object detection program, moving object tracking apparatus, moving object tracking method, and moving object tracking program
JP5829360B2 (en) 2013-10-04 2015-12-09 オリンパス株式会社 IMAGING DEVICE AND IMAGING DEVICE OPERATING METHOD
WO2017179510A1 (en) * 2016-04-11 2017-10-19 コニカミノルタ株式会社 Image processing device, image processing method, image processing program, and gas detection system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3732665B2 (en) * 1998-12-22 2006-01-05 株式会社リコー Automatic focus control device and focusing operation determination method thereof
US7769285B2 (en) * 2005-02-07 2010-08-03 Panasonic Corporation Imaging device
JP2007074143A (en) * 2005-09-05 2007-03-22 Canon Inc Imaging device and imaging system

Also Published As

Publication number Publication date
JP2010021597A (en) 2010-01-28

Similar Documents

Publication Publication Date Title
EP2211306B1 (en) Imaging apparatus, subject tracking method and storage medium
US9609220B2 (en) Image pickup apparatus, image pickup method, and program
JP6157242B2 (en) Image processing apparatus and image processing method
US10863090B2 (en) Control apparatus, image capturing apparatus, control method, and computer-readable storage medium
KR102132248B1 (en) Control apparatus, method of controlling image sensing device, and computer-readable storage medium
US20090295926A1 (en) Image pickup apparatus
JP2008288975A5 (en)
US9466095B2 (en) Image stabilizing method and apparatus
JP2010021598A (en) Image capturing apparatus and method
JP2007082044A (en) Imaging method and imaging apparatus
CN107018311B (en) Mobile information acquisition device, mobile information acquisition method, and recording medium
JP4985569B2 (en) Imaging apparatus and imaging method
JP5155110B2 (en) Monitoring device
US9489721B2 (en) Image processing apparatus, image processing method, and storage medium
JP2011188332A (en) Shaken image correction device
US20170171475A1 (en) Zoom control apparatus, image capturing apparatus and zoom control method
JP5118590B2 (en) Subject tracking method and imaging apparatus
JP5539565B2 (en) Imaging apparatus and subject tracking method
JP6746473B2 (en) Imaging device and control method
CN106454066B (en) Image processing apparatus and control method thereof
JP2009088884A (en) Method and device for detecting motion vector in picked-up data
JP5832618B2 (en) Imaging apparatus, control method thereof, and program
US10681274B2 (en) Imaging apparatus and control method thereof
JP2010154374A (en) Image capturing apparatus and subject tracking method
JP2017059974A (en) Imaging device, control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100916

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20111012

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111220

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120403

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120416

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4985569

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3