JPH08140087A - Method and device for detecting movement and recorder with built-in camera - Google Patents

Method and device for detecting movement and recorder with built-in camera

Info

Publication number
JPH08140087A
JPH08140087A JP27377194A JP27377194A JPH08140087A JP H08140087 A JPH08140087 A JP H08140087A JP 27377194 A JP27377194 A JP 27377194A JP 27377194 A JP27377194 A JP 27377194A JP H08140087 A JPH08140087 A JP H08140087A
Authority
JP
Japan
Prior art keywords
search
area
image
motion
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP27377194A
Other languages
Japanese (ja)
Inventor
Fumihiro Nagasawa
史浩 長沢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP27377194A priority Critical patent/JPH08140087A/en
Publication of JPH08140087A publication Critical patent/JPH08140087A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

PURPOSE: To speed up the movement detection speed of an object, to reduce operation amount and to obtain an excellent image at the time of a decoding by obtaining the motion vector of a device itself by a movement detection sensor when a search area is set in a previous frame image and setting the middle point of a search range in the negative direction of the motion vector information of the device itself between the present frame and the previous frame. CONSTITUTION: A coding means 3 determines a search area based on the lens positional information Sit from a photographing means 2 and the movement information CA wee from a movement information detection means 1 for the video signal Vi from the photographing means 2, performs a compression coding by performing a full search block matching processing within this search area and supplies the compressed video signal ComVi for which this compression. coding is performed to a recording means 4. The recording means 4 records the compressed video signal ComVi from the coding means 3 on a recording medium. Thus, high image quality video can be obtained at the time of a decoding without increasing circuit scale and power consumption by performing the motion detection.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばカメラ一体型V
TR等に適用して好適な動き検出方法及びその装置並び
にカメラ一体型記録装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a camera-integrated V
The present invention relates to a motion detection method and device suitable for application to TR and the like, and a camera-integrated recording device.

【0002】[0002]

【従来の技術】従来、映像信号を記録したり、伝送した
りする際には様々な圧縮技術が用いられている。これら
の様々な圧縮技術の内、現フレームの映像信号を記録、
或いは伝送する際に、前フレームの映像信号の構成要素
及び現フレームの映像信号の構成要素間の動きを検出す
るいわゆる動き検出処理を行い、検出した動き情報だけ
を記録、或いは伝送する技術がある。
2. Description of the Related Art Conventionally, various compression techniques have been used for recording and transmitting video signals. Of these various compression techniques, record the video signal of the current frame,
Alternatively, there is a technique of performing a so-called motion detection process of detecting a motion between the constituent elements of the video signal of the previous frame and the constituent elements of the video signal of the current frame when transmitting, and recording or transmitting only the detected motion information. .

【0003】図7は動き検出処理を行って情報を圧縮す
るための動き検出装置の要部の一例を示す構成図であ
り、以下、この図7を参照して動き検出について説明す
る。
FIG. 7 is a block diagram showing an example of a main part of a motion detecting device for compressing information by performing a motion detecting process. Hereinafter, motion detection will be described with reference to FIG.

【0004】図7において、100は記録しようとする
現フレームの映像信号が供給される入力端子、102は
記録しようとする現フレームの映像信号の1つ前のフレ
ームの映像信号が供給される入力端子である。
In FIG. 7, 100 is an input terminal to which a video signal of a current frame to be recorded is supplied, and 102 is an input to which a video signal of a frame immediately before the video signal of a current frame to be recorded is supplied. It is a terminal.

【0005】入力端子100を介して供給される現フレ
ームの映像信号は現フレームメモリ101に供給され、
コントローラ112からの制御信号によってこの現フレ
ームメモリ101に記憶される。また、入力端子102
を介して供給される前フレームの映像信号は参照フレー
ムメモリ103に供給され、コントローラ112からの
制御信号によってこの参照フレームメモリ103に記憶
される。
The video signal of the current frame supplied through the input terminal 100 is supplied to the current frame memory 101,
It is stored in the current frame memory 101 by a control signal from the controller 112. In addition, the input terminal 102
The video signal of the previous frame supplied via the reference frame memory 103 is supplied to the reference frame memory 103, and is stored in the reference frame memory 103 by a control signal from the controller 112.

【0006】コントローラ112からの制御信号によ
り、現フレームメモリ101に記憶されている現フレー
ムの映像信号中に8画素×8画素のブロック(以下、注
目ブロックと称する)が設定され、以降の処理において
は、この注目ブロック内の映像信号が読み出される。
A control signal from the controller 112 sets a block of 8 pixels × 8 pixels (hereinafter referred to as a block of interest) in the video signal of the current frame stored in the current frame memory 101, and in the subsequent processing. The video signal in this block of interest is read out.

【0007】一方、コントローラ112からの制御信号
により、アドレス移動回路113は、参照フレームメモ
リ103の読み出しアドレスを画素単位で順次変えるこ
とにより、参照フレームメモリ103の記憶空間上にお
いて、上記現フレームメモリ101の記憶空間上に設定
された注目ブロックに対応して設定される所定の範囲の
サーチエリアから、8画素×8画素のブロック単位で順
次映像信号の読み出しを行う。
On the other hand, in response to a control signal from the controller 112, the address moving circuit 113 sequentially changes the read address of the reference frame memory 103 on a pixel-by-pixel basis, so that the current frame memory 101 in the storage space of the reference frame memory 103. The video signal is sequentially read in a block unit of 8 pixels × 8 pixels from a search area in a predetermined range set corresponding to the target block set in the storage space.

【0008】現フレームメモリ101から読み出された
注目ブロックの映像信号及び参照フレームメモリ103
から読み出されたサーチエリア内のブロックの映像信号
は、夫々加算回路104に供給される。
The video signal of the block of interest read from the current frame memory 101 and the reference frame memory 103
The video signals of the blocks in the search area read from are supplied to the adding circuit 104, respectively.

【0009】この加算回路104においては、現フレー
ムメモリ101から読み出された注目ブロックの映像信
号から、参照フレームメモリ103から読み出されたサ
ーチエリア内のブロックの映像信号が画素毎に減算され
る。減算結果は絶対値回路105に供給される。絶対値
回路105は、加算回路104からの加算結果の絶対値
を得る。この絶対値回路105の出力は加算回路106
に供給される。
In the adder circuit 104, the video signal of the block in the search area read from the reference frame memory 103 is subtracted for each pixel from the video signal of the target block read from the current frame memory 101. . The subtraction result is supplied to the absolute value circuit 105. The absolute value circuit 105 obtains the absolute value of the addition result from the addition circuit 104. The output of the absolute value circuit 105 is the addition circuit 106.
Is supplied to.

【0010】加算回路106では、絶対値回路105か
らの出力と、遅延回路107からの出力(前の画素の読
み出し時における加算結果)が加算され、その加算出力
がメモリ108に供給される。メモリ108には処理開
始からのブロック毎の差分絶対値和データが記憶されて
おり、最小値検出回路109はメモリ108に記憶され
ているサーチエリア内の各ブロック毎に得た差分絶対値
和データの内最も小さい値を検出し、その検出結果とし
ての差分絶対値和データを動きベクトル検出回路110
に夫々供給する。
In the adder circuit 106, the output from the absolute value circuit 105 and the output from the delay circuit 107 (the addition result at the time of reading the previous pixel) are added, and the added output is supplied to the memory 108. The memory 108 stores difference absolute value sum data for each block from the start of processing, and the minimum value detection circuit 109 calculates difference absolute value sum data obtained for each block in the search area stored in the memory 108. Of the absolute value of the difference absolute value as the detection result is detected by the motion vector detection circuit 110.
Supply to each.

【0011】動きベクトル検出回路110は、最小値検
出回路109からの最もその値の小さかった差分絶対値
和データから動きベクトルを算出し、算出した動きベク
トル情報を出力端子111を介して図示しない記録系及
びコントローラ112に夫々供給する。コントローラ1
12はメモリ108に書き込み/読み出し制御信号を供
給すると共に、動きベクトル検出回路110からの動き
ベクトル情報に基いて次のフレームにおける上記アドレ
ス移動回路113の制御を行う。
The motion vector detection circuit 110 calculates a motion vector from the minimum absolute difference value sum data from the minimum value detection circuit 109, and records the calculated motion vector information through an output terminal 111 (not shown). It is supplied to the system and the controller 112, respectively. Controller 1
Reference numeral 12 supplies a write / read control signal to the memory 108 and controls the address moving circuit 113 in the next frame based on the motion vector information from the motion vector detecting circuit 110.

【0012】図8は図7に示した装置を用いて行うフル
サーチブロックマッチングによって動きベクトル情報を
得る様子を示す説明図である。
FIG. 8 is an explanatory diagram showing how motion vector information is obtained by full search block matching performed using the apparatus shown in FIG.

【0013】図において、Sa1は上述した現フレーム
画像中の注目ブロックに対応して前フレーム画像中に設
定されるサーチエリア、Blk(f)は現フレームの注
目ブロック、Blk(f−1)は前フレームのブロッ
ク、Vec1は前フレームのブロックBlk(f−1)
と現フレームのブロックBlk(f)の差分絶対値和か
ら得られる動きベクトル情報である。
In the figure, Sa1 is a search area set in the previous frame image corresponding to the target block in the current frame image, Blk (f) is the target block in the current frame, and Blk (f-1) is Block of previous frame, Vec1 is block of previous frame Blk (f-1)
And motion vector information obtained from the sum of absolute differences between the blocks Blk (f) of the current frame.

【0014】つまり、現フレーム画像の注目ブロックB
lk(f)に対応して設けたサーチエリアSa1内にお
いて、読み出し位置を1画素分ずつずらしてデータを読
み出し、読み出した前フレームのブロックBlk(f−
1)のデータと注目ブロックBlk(f)のデータの差
分絶対値和を得、サーチエリアSa1中において演算し
た結果得られた値の内、最も小さい値から算出した動き
ベクトル情報を、前フレームのブロックBlk(f−
1)及び現フレームの注目ブロックBlk(f)間の動
きベクトルとする。
That is, the target block B of the current frame image
In the search area Sa1 provided corresponding to lk (f), the read position is shifted by one pixel and the data is read, and the block Blk (f-
The motion vector information calculated from the smallest value among the values obtained as a result of obtaining the sum of absolute differences between the data of 1) and the data of the block of interest Blk (f) and calculating in the search area Sa1 Block Blk (f-
1) and the motion vector between the block of interest Blk (f) of the current frame.

【0015】以上説明した処理を一般にフルサーチブロ
ックマッチングと称しており、この処理によって、動き
ベクトルを検出し、この検出によって得られた現フレー
ムの動きベクトル情報を記録または伝送することによ
り、記録または伝送する情報量を減らすことができる。
The process described above is generally called full search block matching. By this process, a motion vector is detected, and the motion vector information of the current frame obtained by this detection is recorded or transmitted to record or transmit the motion vector information. The amount of information to be transmitted can be reduced.

【0016】尚、フルサーチブロックマッチングについ
ては、特開昭54−124927号及び米国特許第48
97720号に記載されている。
Regarding full search block matching, Japanese Patent Application Laid-Open No. 54-124927 and US Pat.
No. 97720.

【0017】[0017]

【発明が解決しようとする課題】ところで、上述した動
き検出によって得られた動きベクトル情報を、記録また
は伝送した場合に、再生または受信時に高画質の映像を
得るためには、記録もしくは伝送する映像信号から確実
に動きベクトル情報を抽出することは勿論、現フレーム
の注目ブロックに対応して設定するサーチエリアを大き
くしなければならない。
By the way, when the motion vector information obtained by the above-mentioned motion detection is recorded or transmitted, in order to obtain a high quality image at the time of reproduction or reception, the image to be recorded or transmitted is to be recorded. In addition to surely extracting the motion vector information from the signal, it is necessary to enlarge the search area set corresponding to the target block of the current frame.

【0018】サーチエリアを大きくする場合、上述した
フルサーチブロックマッチングの演算を行うための系を
複数設け、これら複数設けたフルサーチブロックマッチ
ングの演算を行うための系で、分割したサーチエリアの
各エリアについて夫々フルサーチブロックマッチングの
演算を行う必要がある。
When the search area is enlarged, a plurality of systems for performing the above-described full search block matching calculation are provided, and each of the divided search areas is divided by the plurality of systems for performing the full search block matching calculation. It is necessary to perform full search block matching calculation for each area.

【0019】しかしながら、このように、フルサーチブ
ロックマッチングの演算を行う系を高画質化を目的とし
て多数設けると、回路規模が大となり、消費電力を増大
させてしまう。ちなみに、動きベクトルの検出回路は、
主要回路系の8割以上を占めている。
However, if a large number of systems for performing full search block matching operations are provided for the purpose of improving image quality, the circuit scale becomes large and power consumption increases. By the way, the motion vector detection circuit
It accounts for more than 80% of the main circuit system.

【0020】従って、復号時における高画質化の実現と
動き検出を行うための回路の低消費電力化とを同時に実
現することができないという不都合があった。
Therefore, there is a disadvantage in that it is impossible to simultaneously achieve high image quality at the time of decoding and low power consumption of the circuit for motion detection.

【0021】また、カメラ一体型VTRで撮像した映像
信号に動き検出処理を施し、この動き検出処理によって
得られた動きベクトル情報をVTR部にセットしたビデ
オ・テープ・カセットに記録する場合を想定すると、回
路規模が大になることは、カメラ一体型VTRは持ち運
んで使用するといった目的から見て、例えば筐体が大き
くなる等、非常に不利であり、また、消費電力が大とな
ることは、カメラ一体型VTRがバッテリで駆動される
ことから、例えば連続使用時間が短くなる等、非常に不
利である。しかしながら、このような理由で高画質化を
図らないわけにはいかない。高画質化は常にユーザーか
ら要望されていることだからである。
It is also assumed that motion detection processing is performed on a video signal picked up by a camera-integrated VTR and the motion vector information obtained by this motion detection processing is recorded on a video tape cassette set in the VTR section. In terms of the purpose of carrying and using the camera-incorporated VTR, it is very disadvantageous that the circuit scale becomes large, for example, the case becomes large, and the power consumption becomes large. Since the camera-integrated VTR is driven by a battery, it is extremely disadvantageous, for example, the continuous use time is shortened. However, for this reason, high image quality cannot be avoided. This is because high image quality is always desired by users.

【0022】本発明はこのような点を考慮してなされた
もので、復号時における高画質化の実現と動き検出を行
うための回路の簡素化、低消費電力化の両方を実現する
ことのできる動き検出方法及びその装置並びにカメラ一
体型VTRを提案しようとするものである。
The present invention has been made in consideration of the above points, and it is possible to realize both high image quality at the time of decoding, simplification of a circuit for motion detection, and low power consumption. An attempt is made to propose a possible motion detecting method and apparatus, and a camera-integrated VTR.

【0023】[0023]

【課題を解決するための手段】第1の発明は、現フレー
ム画像中の注目領域画像に対応して、前フレーム画像中
に探索領域を設定し、該探索領域内において、参照領域
を順次移動させると共に、該参照領域の画像を読み出
し、上記注目領域画像との差分絶対値を得、該差分を累
積して上記参照領域毎の差分累積値を求め、該差分累積
値の内で最も最小となるものを動きベクトル情報とする
動き検出方法であって、上記前フレーム画像中に探索領
域を設定する場合には、装置そのものの動きベクトルを
動き検出センサ1で得、現フレーム及び前フレーム間の
装置そのものの動きベクトル情報の負方向に上記探索範
囲の中点を設定する動き検出方法である。
According to a first aspect of the present invention, a search area is set in a previous frame image corresponding to a target area image in a current frame image, and a reference area is sequentially moved in the search area. At the same time, the image of the reference area is read out, the absolute value of the difference from the attention area image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is determined to be the smallest value. When a search area is set in the previous frame image, the motion vector of the device itself is obtained by the motion detection sensor 1 and the motion detection information between the current frame and the previous frame is obtained. This is a motion detection method in which the midpoint of the search range is set in the negative direction of the motion vector information of the device itself.

【0024】第2の発明は、上記第1の発明において、
探索時においては、上記探索領域の中心から外側に向か
って順次探索を行う動き検出方法である。
A second invention is the same as the first invention,
At the time of search, this is a motion detection method in which the search is sequentially performed from the center of the search area toward the outside.

【0025】第3の発明は、ビデオカメラで得られた現
フレーム画像中の注目領域画像に対応して、前フレーム
画像中に探索領域を設定し、該探索領域内において、参
照領域を順次移動させると共に、該参照領域の画像を読
み出し、上記注目領域画像との差分絶対値を得、該差分
を累積して上記参照領域毎の差分累積値を求め、該差分
累積値の内で最も最小となるものを動きベクトル情報と
する動き検出方法であって、上記前フレーム画像中に探
索領域を設定する場合には、ビデオカメラのレンズの位
置情報に基いて上記探索範囲を設定する動き検出方法で
ある。
According to a third aspect of the invention, a search area is set in the previous frame image corresponding to the attention area image in the current frame image obtained by the video camera, and the reference area is sequentially moved within the search area. At the same time, the image of the reference area is read out, the absolute value of the difference from the attention area image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is determined to be the smallest value. In the case of setting a search area in the previous frame image, a motion detection method that sets the search range based on the position information of the lens of the video camera is used. is there.

【0026】第4の発明は、上記第3の発明において、
探索時においては、上記探索領域の中心から外側に向か
って順次探索を行う動き検出方法である。
A fourth invention is the same as the above-mentioned third invention,
At the time of search, this is a motion detection method in which the search is sequentially performed from the center of the search area toward the outside.

【0027】第5の発明は、ビデオカメラで得られた現
フレーム画像中の注目領域画像に対応して、前フレーム
画像中に探索領域を設定し、該探索領域内において、参
照領域を順次移動させると共に、該参照領域の画像を読
み出し、上記注目領域画像との差分絶対値を得、該差分
を累積して上記参照領域毎の差分累積値を求め、該差分
累積値の内で最も最小となるものを動きベクトル情報と
する動き検出方法であって、上記前フレーム画像中に探
索領域を設定する場合には、装置そのものの動きベクト
ルを動き検出センサ1で得、現フレーム及び前フレーム
間の装置そのものの動きベクトル情報の負方向に上記探
索範囲の中点を設定すると共に、ビデオカメラのレンズ
の位置情報に基いて上記探索範囲を設定する動き検出方
法である。
According to a fifth aspect of the invention, a search area is set in the previous frame image corresponding to the attention area image in the current frame image obtained by the video camera, and the reference area is sequentially moved in the search area. At the same time, the image of the reference area is read out, the absolute value of the difference from the attention area image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is determined to be the smallest value. When a search area is set in the previous frame image, the motion vector of the device itself is obtained by the motion detection sensor 1 and the motion detection information between the current frame and the previous frame is obtained. This is a motion detection method in which the midpoint of the search range is set in the negative direction of the motion vector information of the device itself, and the search range is set based on the position information of the lens of the video camera.

【0028】第6の発明は、上記第5の発明において、
探索時においては、上記探索領域の中心から外側に向か
って順次探索を行う動き検出方法である。
A sixth invention is the same as the fifth invention, except that
At the time of search, this is a motion detection method in which the search is sequentially performed from the center of the search area toward the outside.

【0029】第7の発明は、撮影手段2と、上記撮影手
段2と一体に設けられ、上記撮影手段2そのものの動き
を検出する動き情報検出手段1と、現フレーム画像中の
注目領域画像に対応して、前フレーム画像中に探索領域
を設定し、該探索領域内において、参照領域を順次移動
させると共に、該参照領域の画像を読み出し、上記注目
領域画像との差分絶対値を得、該差分を累積して上記参
照領域毎の差分累積値を求め、該差分累積値の内で最も
最小となるものを動きベクトル情報とすると共に、上記
動き情報検出手段1からの動き情報、上記撮影手段2か
らのレンズ位置情報、或いは上記動き情報検出手段1か
らの動き情報及び上記撮影手段2からのレンズ位置情報
に基いて、上記探索範囲を設定する符号化手段3とを有
する動き検出装置である。
A seventh aspect of the invention is to provide a photographing means 2 and a motion information detecting means 1 which is provided integrally with the photographing means 2 and detects the movement of the photographing means 2 itself, and an attention area image in the current frame image. Correspondingly, a search area is set in the previous frame image, the reference area is sequentially moved within the search area, the image of the reference area is read, and the absolute value of the difference from the attention area image is obtained. Differences are accumulated to obtain a difference accumulated value for each reference area, and the smallest difference accumulated value is used as motion vector information, and the motion information from the motion information detecting means 1 and the photographing means are used. 2 and the encoder 3 for setting the search range based on the lens position information from the motion information detector 1 and the lens position information from the imager 2. A.

【0030】第8の発明は、上記第7の発明において、
探索時においては、上記探索領域の中心から外側に向か
って順次探索を行う動き検出装置である。
An eighth invention is based on the seventh invention,
During the search, the motion detection device sequentially searches from the center of the search area toward the outside.

【0031】第9の発明は、現フレームの映像信号を記
憶する現フレームメモリ31と、参照フレームの映像信
号を記憶する参照フレームメモリ34と、上記現フレー
ムメモリ31及び上記参照フレームメモリ34に書き込
みアドレスデータを供給する書き込みアドレス発生手段
37と、上記現フレームメモリ31に読み出しアドレス
データを供給し、上記現フレームメモリ31から注目領
域の画像データを読み出すと共に上記参照フレームメモ
リ34における参照領域の先頭読み出しアドレスデータ
を発生する制御手段40と、上記制御手段40からの先
頭読み出しアドレスデータ及び装置の動きを検出するセ
ンサ6からの装置そのものの動き情報に基いて、上記参
照フレームメモリ34に供給する読み出しアドレスデー
タを発生する読み出しアドレス発生手段39と、上記現
フレームメモリ31から読み出された注目領域の画像デ
ータと、上記参照フレームメモリ34から読み出された
探索領域内の参照領域の画像データとの差分を得る差分
取得手段32、41と、上記差分取得手段32、41か
らの差分データを上記探索領域内の参照領域毎に累積し
て差分和データを得る累積手段42、43と、上記探索
範囲内の参照領域毎の差分和データの内の最小値を検出
する最小値検出手段44、45と、上記最小値検出手段
44、45によって検出された最小差分和データから動
きベクトル情報を得る動きベクトル検出手段46とを有
する動き検出装置である。
The ninth aspect of the present invention writes in the current frame memory 31 for storing the video signal of the current frame, the reference frame memory 34 for storing the video signal of the reference frame, the current frame memory 31 and the reference frame memory 34. The read address data is supplied to the write address generating means 37 for supplying the address data and the current frame memory 31, the image data of the attention area is read from the current frame memory 31, and the head of the reference area in the reference frame memory 34 is read. The read address supplied to the reference frame memory 34 based on the control means 40 for generating the address data, the head read address data from the control means 40 and the motion information of the device itself from the sensor 6 for detecting the motion of the device. Readings that generate data Difference generation for obtaining the difference between the address generation means 39, the image data of the attention area read from the current frame memory 31 and the image data of the reference area in the search area read from the reference frame memory 34. Means 32, 41, accumulating means 42, 43 for accumulating difference data from the difference acquiring means 32, 41 for each reference area in the search area to obtain difference sum data, and each reference area in the search range Minimum value detecting means 44, 45 for detecting the minimum value of the difference sum data of (1) and motion vector detecting means 46 for obtaining motion vector information from the minimum difference sum data detected by the minimum value detecting means 44, 45. It is a motion detection device having.

【0032】第10の発明は、上記第9の発明におい
て、探索時においては、上記探索領域の中心から外側に
向かって順次探索を行う動き検出装置である。
A tenth aspect of the invention is the motion detecting device according to the ninth aspect of the invention, in which, during a search, the search is sequentially performed from the center of the search area toward the outside.

【0033】第11の発明は、光学系50aと、撮像素
子50bと、撮像信号用の処理回路50c、50dとか
らなる撮像部50と、上記撮像部50の動きを検出する
動き検出手段6と、上記撮像部50からの映像信号を上
記動き検出手段6からの動き情報に基いて、上記撮像部
50の動き成分をキャンセルするように符号化する符号
化手段5と、上記符号化手段5からの符号化出力にエラ
ー訂正コードを付加するエラー訂正コード付加手段7
と、上記エラー訂正コード付加手段7からの出力を変調
する変調手段11と、上記変調手段11からの変調出力
を記録媒体に記録する記録手段12、13と、上記記録
媒体から記録信号を再生する再生手段13、14と、上
記再生手段13、14からの出力を復調する復調手段1
5、16と、上記復調手段15、16からの出力に対し
てエラー訂正処理を施すエラー訂正処理手段17と、上
記エラー訂正処理手段17からの出力を復号化して元の
映像信号を得る復号化手段18とを有するカメラ一体型
記録装置である。
An eleventh aspect of the invention is an image pickup section 50 comprising an optical system 50a, an image pickup element 50b, and image pickup signal processing circuits 50c and 50d, and a motion detection means 6 for detecting the movement of the image pickup section 50. From the encoding means 5, the encoding means 5 which encodes the video signal from the image pickup section 50 based on the motion information from the motion detection means 6 so as to cancel the motion component of the image pickup section 50. Error correction code adding means 7 for adding an error correction code to the encoded output of
A modulation means 11 for modulating the output from the error correction code adding means 7, recording means 12, 13 for recording the modulated output from the modulation means 11 on a recording medium, and a recording signal reproduced from the recording medium. Reproduction means 13, 14 and demodulation means 1 for demodulating the outputs from the reproduction means 13, 14
5, 16 and error correction processing means 17 for performing error correction processing on the outputs from the demodulation means 15 and 16, and decoding for decoding the output from the error correction processing means 17 to obtain the original video signal. It is a camera-integrated recording device having means 18.

【0034】第12の発明は、上記第11の発明におい
て、上記光学系50aに可変頂角プリズム51と、上記
可変頂角プリズム51を上記動き検出手段56、65か
らの動き情報に基いて駆動する駆動手段57〜64、6
6〜73とを用いるカメラ一体型記録装置である。
In a twelfth aspect based on the eleventh aspect, the variable apex angle prism 51 is driven in the optical system 50a, and the variable apex angle prism 51 is driven based on the motion information from the motion detecting means 56 and 65. Drive means 57 to 64, 6 for
6 to 73 is a camera-integrated recording device.

【0035】第13の発明は、上記第11の発明におい
て、上記符号化手段5を、現フレームの映像信号を記憶
する現フレームメモリ31と、参照フレームの映像信号
を記憶する参照フレームメモリ34と、上記現フレーム
メモリ31及び上記参照フレームメモリ34に書き込み
アドレスデータを供給する書き込みアドレス発生手段3
7と、上記現フレームメモリ31に読み出しアドレスデ
ータを供給し、上記現フレームメモリ31から注目領域
の画像データを読み出すと共に上記参照フレームメモリ
34における参照領域の先頭読み出しアドレスデータを
発生する制御手段40と、上記制御手段40からの先頭
読み出しアドレスデータ及び上記動き検出手段6からの
動き情報に基いて、上記参照フレームメモリ34に供給
する読み出しアドレスデータを発生する読み出しアドレ
ス発生手段39と、上記現フレームメモリ31から読み
出された注目領域の画像データと、上記参照フレームメ
モリ34から読み出された探索領域内の参照領域の画像
データとの差分を得る差分取得手段32、41と、上記
差分取得手段32、41からの差分データを上記探索領
域内の参照領域毎に累積して差分和データを得る累積手
段42、43と、上記探索範囲内の参照領域毎の差分和
データの内の最小値を検出する最小値検出手段44、4
5と、上記最小値検出手段44、45によって検出され
た最小差分和データから動きベクトル情報を得る動きベ
クトル検出手段46とで構成したカメラ一体型記録装置
である。
In a thirteenth aspect based on the eleventh aspect, the encoding means 5 comprises a current frame memory 31 for storing a video signal of a current frame, and a reference frame memory 34 for storing a video signal of a reference frame. Write address generating means 3 for supplying write address data to the current frame memory 31 and the reference frame memory 34.
7 and a control means 40 for supplying read address data to the current frame memory 31, reading image data of the attention area from the current frame memory 31, and generating head read address data of the reference area in the reference frame memory 34. , Read address generating means 39 for generating read address data to be supplied to the reference frame memory 34 based on the head read address data from the control means 40 and the motion information from the motion detecting means 6, and the current frame memory. Difference acquisition means 32, 41 for obtaining a difference between the image data of the attention area read from 31 and the image data of the reference area in the search area read from the reference frame memory 34, and the difference acquisition means 32. , 41 for each reference area in the search area Minimum value detecting means for detecting the accumulation means 42, 43 for obtaining a difference sum data cumulatively, the minimum value of the difference sum data for each reference area within the search range 44,4
5 and a motion vector detecting means 46 for obtaining motion vector information from the minimum difference sum data detected by the minimum value detecting means 44, 45.

【0036】第14の発明は、上記第13の発明におい
て、探索時においては、上記探索領域の中心から外側に
向かって順次探索を行うカメラ一体型記録装置である。
A fourteenth aspect of the invention is the camera-integrated recording device according to the thirteenth aspect of the invention, in which a search is performed sequentially from the center of the search area toward the outside during the search.

【0037】[0037]

【作用】上述せる第1の発明によれば、現フレーム画像
中の注目領域画像に対応して、前フレーム画像中に探索
領域を設定し、該探索領域内において、参照領域を順次
移動させると共に、該参照領域の画像を読み出し、上記
注目領域画像との差分絶対値を得、該差分を累積して上
記参照領域毎の差分累積値を求め、該差分累積値の内で
最も最小となるものを動きベクトル情報とする際に、上
記前フレーム画像中に探索領域を設定する場合には、装
置そのものの動きベクトルを動き検出センサ1で得、現
フレーム及び前フレーム間の装置そのものの動きベクト
ル情報の負方向に上記探索範囲の中点を設定する。これ
によって、装置そのものの動きベクトル成分をキャンセ
ルし、被写体の動きに対応した探索領域を設定し、高
速、且つ、正確に被写体の動きを検出することができ
る。
According to the first aspect of the invention described above, a search area is set in the previous frame image corresponding to the attention area image in the current frame image, and the reference area is sequentially moved in the search area. , The image of the reference area is read, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference cumulative value for each reference area, and the smallest difference cumulative value is obtained. When the search area is set in the previous frame image when using as the motion vector information, the motion vector of the device itself is obtained by the motion detection sensor 1, and the motion vector information of the device itself between the current frame and the previous frame is obtained. The midpoint of the search range is set in the negative direction of. As a result, the motion vector component of the apparatus itself can be canceled, a search area corresponding to the motion of the subject can be set, and the motion of the subject can be detected accurately at high speed.

【0038】上述せる第2の発明によれば、上記第1の
発明において、探索時においては、上記探索領域の中心
から外側に向かって順次探索を行う。これによって、検
出速度を向上させることができる。
According to the above-mentioned second invention, in the first invention, at the time of search, the search is sequentially performed from the center of the search region toward the outside. Thereby, the detection speed can be improved.

【0039】上述せる第3の発明によれば、ビデオカメ
ラで得られた現フレーム画像中の注目領域画像に対応し
て、前フレーム画像中に探索領域を設定し、該探索領域
内において、参照領域を順次移動させると共に、該参照
領域の画像を読み出し、上記注目領域画像との差分絶対
値を得、該差分を累積して上記参照領域毎の差分累積値
を求め、該差分累積値の内で最も最小となるものを動き
ベクトル情報とする際に、上記前フレーム画像中に探索
領域を設定する場合には、ビデオカメラのレンズの位置
情報に基いて上記探索範囲を設定する。これによって、
被写体の動きに対応した探索領域を設定し、高速、且
つ、正確に被写体の動きを検出することができる。
According to the third aspect of the invention described above, a search area is set in the previous frame image corresponding to the attention area image in the current frame image obtained by the video camera, and reference is made in the search area. While sequentially moving the area, the image of the reference area is read out, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is calculated. When the search area is set in the preceding frame image when the smallest one is used as the motion vector information, the search range is set based on the position information of the lens of the video camera. by this,
By setting a search area corresponding to the movement of the subject, the movement of the subject can be detected accurately at high speed.

【0040】上述せる第4の発明によれば、上記第3の
発明において、探索時においては、上記探索領域の中心
から外側に向かって順次探索を行う。これによって、検
出速度を向上させることができる。
According to the above-mentioned fourth invention, in the third invention, at the time of search, the search is sequentially performed from the center of the search area toward the outside. Thereby, the detection speed can be improved.

【0041】上述せる第5の発明によれば、ビデオカメ
ラで得られた現フレーム画像中の注目領域画像に対応し
て、前フレーム画像中に探索領域を設定し、該探索領域
内において、参照領域を順次移動させると共に、該参照
領域の画像を読み出し、上記注目領域画像との差分絶対
値を得、該差分を累積して上記参照領域毎の差分累積値
を求め、該差分累積値の内で最も最小となるものを動き
ベクトル情報とする際に、上記前フレーム画像中に探索
領域を設定する場合には、装置そのものの動きベクトル
を動き検出センサ1で得、現フレーム及び前フレーム間
の装置そのものの動きベクトル情報の負方向に上記探索
範囲の中点を設定すると共に、ビデオカメラのレンズの
位置情報に基いて上記探索範囲を設定する。これによっ
て、被写体の動きに対応した探索領域を設定し、高速、
且つ、正確に被写体の動きを検出することができる。
According to the fifth aspect of the invention described above, a search area is set in the previous frame image corresponding to the attention area image in the current frame image obtained by the video camera, and reference is made in the search area. While sequentially moving the area, the image of the reference area is read out, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is calculated. When the search area is set in the previous frame image when the smallest one among the above is used as the motion vector information, the motion vector of the device itself is obtained by the motion detection sensor 1, and the motion vector between the current frame and the previous frame is obtained. The midpoint of the search range is set in the negative direction of the motion vector information of the device itself, and the search range is set based on the position information of the lens of the video camera. By this, the search area corresponding to the movement of the subject is set, and high speed,
Moreover, the movement of the subject can be accurately detected.

【0042】上述せる第6の発明によれば、上記第5の
発明において、探索時においては、上記探索領域の中心
から外側に向かって順次探索を行う。これによって、検
出速度を向上させることができる。
According to the sixth aspect of the invention described above, in the fifth aspect of the invention, the search is performed sequentially from the center of the search area toward the outside. Thereby, the detection speed can be improved.

【0043】上述せる第7の発明によれば、符号化手段
3により、現フレーム画像中の注目領域画像に対応し
て、前フレーム画像中に探索領域を設定し、該探索領域
内において、参照領域を順次移動させると共に、該参照
領域の画像を読み出し、上記注目領域画像との差分絶対
値を得、該差分を累積して上記参照領域毎の差分累積値
を求め、該差分累積値の内で最も最小となるものを動き
ベクトル情報とすると共に、撮影手段2と一体に設けら
れ、上記撮影手段2そのものの動きを検出する動き情報
検出手段1からの動き情報、上記撮影手段2からのレン
ズ位置情報、或いは上記動き情報検出手段1からの動き
情報及び上記撮影手段2からのレンズ位置情報に基いて
上記探索範囲を設定する。これによって、撮影手段その
ものの動き成分をキャンセルし、撮影手段のレンズ位置
に対応させた探索領域を設定し、被写体の動きに対応し
た探索領域を設定し、高速、且つ、正確に被写体の動き
を検出することができる。
According to the seventh aspect of the invention described above, the encoding means 3 sets a search area in the previous frame image corresponding to the attention area image in the current frame image, and refers to the search area in the search area. While sequentially moving the area, the image of the reference area is read out, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is calculated. In addition to the motion vector information having the smallest value, the motion information from the motion information detecting means 1 which is provided integrally with the photographing means 2 and detects the movement of the photographing means 2 itself, the lens from the photographing means 2 The search range is set based on the position information, or the motion information from the motion information detecting means 1 and the lens position information from the photographing means 2. This cancels the motion component of the photographing means itself, sets the search area corresponding to the lens position of the photographing means, sets the search area corresponding to the movement of the subject, and moves the subject accurately at high speed. Can be detected.

【0044】上述せる第8の発明によれば、上記第7の
発明において、探索時においては、上記探索領域の中心
から外側に向かって順次探索を行う。これによって、検
出速度を向上させることができる。
According to the eighth invention described above, in the seventh invention, during the search, the search is sequentially performed from the center of the search area toward the outside. Thereby, the detection speed can be improved.

【0045】上述せる第9の発明によれば、現フレーム
の映像信号を現フレームメモリ31に記憶し、参照フレ
ームの映像信号を参照フレームメモリ34に記憶し、書
き込みアドレス発生手段37により、上記現フレームメ
モリ31及び上記参照フレームメモリ34に書き込みア
ドレスデータを供給し、制御手段40により、上記現フ
レームメモリ31に読み出しアドレスデータを供給し、
上記現フレームメモリ31から注目領域の画像データを
読み出すと共に上記参照フレームメモリ34における参
照領域の先頭読み出しアドレスデータを発生し、読み出
しアドレス発生手段39により、上記制御手段40から
の先頭読み出しアドレスデータ及び装置の動きを検出す
るセンサ6からの装置そのものの動き情報に基いて、上
記参照フレームメモリ34に供給する読み出しアドレス
データを発生し、上記現フレームメモリ31から読み出
された注目領域の画像データと、上記参照フレームメモ
リ34から読み出された探索領域内の参照領域の画像デ
ータとの差分を差分取得手段32、41で得、上記差分
取得手段32、41からの差分データを上記探索領域内
の参照領域毎に累積して差分和データを累積手段42、
43で得、上記探索範囲内の参照領域毎の差分和データ
の内の最小値を最小値検出手段44、45で検出し、上
記最小値検出手段44、45によって検出された最小差
分和データから動きベクトル情報を動きベクトル検出手
段46で得る。これによって、動きベクトル情報を高
速、且つ、正確に検出することができる。
According to the ninth aspect of the invention described above, the video signal of the current frame is stored in the current frame memory 31, the video signal of the reference frame is stored in the reference frame memory 34, and the write address generating means 37 is used to store the current signal. Write address data is supplied to the frame memory 31 and the reference frame memory 34, and read address data is supplied to the current frame memory 31 by the control means 40.
The image data of the area of interest is read from the current frame memory 31, the head read address data of the reference area in the reference frame memory 34 is generated, and the read address generating means 39 causes the head read address data from the control means 40 and the device. Image data of the attention area read from the current frame memory 31 by generating read address data to be supplied to the reference frame memory 34 based on the motion information of the device itself from the sensor 6 that detects the motion of The difference between the image data of the reference area in the search area read from the reference frame memory 34 is obtained by the difference acquisition means 32, 41, and the difference data from the difference acquisition means 32, 41 is referred to in the search area. Accumulating means 42 for accumulating the sum of differences for each area,
43, the minimum value of the difference sum data for each reference area in the search range is detected by the minimum value detecting means 44, 45, and from the minimum difference sum data detected by the minimum value detecting means 44, 45. The motion vector information is obtained by the motion vector detecting means 46. Accordingly, the motion vector information can be detected accurately at high speed.

【0046】上述せる第10の発明によれば、上記第9
の発明において、探索時においては、上記探索領域の中
心から外側に向かって順次探索を行う。これによって、
検出速度を向上させることができる。
According to the tenth invention described above, the ninth invention
In the invention described above, in the search, the search is sequentially performed from the center of the search area toward the outside. by this,
The detection speed can be improved.

【0047】上述せる第11の発明によれば、光学系5
0aと、撮像素子50bと、撮像信号用の処理回路50
c、50dとからなる撮像部50の動きを動き検出手段
6で検出し、符号化手段5により、上記撮像部50から
の映像信号を上記動き検出手段6からの動き情報に基い
て、上記撮像部50の動き成分をキャンセルするように
符号化し、エラー訂正コード付加手段7により、上記符
号化手段5からの符号化出力にエラー訂正コードを付加
し、上記エラー訂正コード付加手段7からの出力を変調
手段11により変調し、上記変調手段11からの変調出
力を記録手段12、13により記録媒体に記録し、上記
記録媒体から記録信号を再生手段13、14で再生し、
上記再生手段13、14からの出力を復調手段15、1
6で復調し、上記復調手段15、16からの出力に対し
てエラー訂正処理手段17によりエラー訂正処理を施
し、上記エラー訂正処理手段17からの出力を復号化手
段18により復号化して元の映像信号を得る。これによ
って、動きベクトル情報を高速、且つ、正確に検出し、
その検出結果を記録でき、再生時においても良好な再生
画像を得ることができる。
According to the eleventh invention described above, the optical system 5
0a, the image pickup element 50b, and the processing circuit 50 for the image pickup signal
The motion detection means 6 detects the motion of the image pickup section 50 composed of c and 50d, and the encoding means 5 detects the image signal from the image pickup section 50 based on the motion information from the motion detection means 6 to obtain the image. The encoding is performed so as to cancel the motion component of the unit 50, the error correction code adding means 7 adds an error correction code to the encoded output from the encoding means 5, and the output from the error correction code adding means 7 is output. The modulation means 11 modulates, the modulated output from the modulating means 11 is recorded on a recording medium by the recording means 12 and 13, and the recording signal is reproduced from the recording medium by the reproducing means 13 and 14,
The outputs from the reproducing means 13 and 14 are demodulated means 15 and 1,
6, demodulation is performed, the output from the demodulation means 15 and 16 is subjected to error correction processing by the error correction processing means 17, and the output from the error correction processing means 17 is decoded by the decoding means 18 to obtain the original video. Get the signal. With this, the motion vector information is detected quickly and accurately,
The detection result can be recorded, and a good reproduced image can be obtained during reproduction.

【0048】上述せる第12の発明によれば、上記第1
1の発明において、上記光学系50aに可変頂角プリズ
ム51を用い、上記可変頂角プリズム51を上記動き検
出手段56、65からの動き情報に基いて駆動手段57
〜64、66〜73で駆動する。これによって、手振れ
補正用のセンサの出力を動き検出に流用することができ
る。
According to the twelfth invention described above, the first invention
In the first aspect of the invention, a variable vertical angle prism 51 is used in the optical system 50a, and the variable vertical angle prism 51 is driven by the driving means 57 based on the motion information from the motion detecting means 56, 65.
It drives by ~ 64 and 66-73. As a result, the output of the camera shake correction sensor can be used for motion detection.

【0049】上述せる第13の発明によれば、上記第1
1の発明において、現フレームの映像信号を現フレーム
メモリ31に記憶し、参照フレームの映像信号を参照フ
レームメモリ34に記憶し、書き込みアドレス発生手段
37により、上記現フレームメモリ31及び上記参照フ
レームメモリ34に書き込みアドレスデータを供給し、
制御手段40により、上記現フレームメモリ31に読み
出しアドレスデータを供給し、上記現フレームメモリ3
1から注目領域の画像データを読み出すと共に上記参照
フレームメモリ34における参照領域の先頭読み出しア
ドレスデータを発生し、読み出しアドレス発生手段39
により、上記制御手段40からの先頭読み出しアドレス
データ及び装置の動きを検出するセンサ6からの装置そ
のものの動き情報に基いて、上記参照フレームメモリ3
4に供給する読み出しアドレスデータを発生し、上記現
フレームメモリ31から読み出された注目領域の画像デ
ータと、上記参照フレームメモリ34から読み出された
探索領域内の参照領域の画像データとの差分を差分取得
手段32、41で得、上記差分取得手段32、41から
の差分データを上記探索領域内の参照領域毎に累積して
差分和データを累積手段42、43で得、上記探索範囲
内の参照領域毎の差分和データの内の最小値を最小値検
出手段44、45で検出し、上記最小値検出手段44、
45によって検出された最小差分和データから動きベク
トル情報を動きベクトル検出手段46で得る。これによ
って、動きベクトル情報を高速、且つ、正確に検出する
ことができる。
According to the thirteenth invention described above, the first invention
In the invention of claim 1, the video signal of the current frame is stored in the current frame memory 31, the video signal of the reference frame is stored in the reference frame memory 34, and the write address generating means 37 causes the current frame memory 31 and the reference frame memory. Supply write address data to 34,
The control unit 40 supplies the read address data to the current frame memory 31, and the current frame memory 3 is read.
1, the image data of the attention area is read, the head read address data of the reference area in the reference frame memory 34 is generated, and the read address generating means 39 is used.
Thus, based on the head read address data from the control means 40 and the motion information of the device itself from the sensor 6 that detects the motion of the device, the reference frame memory 3 is obtained.
4, the difference between the image data of the attention area read from the current frame memory 31 and the image data of the reference area in the search area read from the reference frame memory 34 is generated. Is obtained by the difference obtaining means 32, 41, the difference data from the difference obtaining means 32, 41 is accumulated for each reference area in the search area, and difference sum data is obtained by the accumulating means 42, 43 within the search range. The minimum value of the difference sum data for each reference area is detected by the minimum value detecting means 44, 45, and the minimum value detecting means 44,
The motion vector detecting means 46 obtains motion vector information from the minimum difference sum data detected by 45. Accordingly, the motion vector information can be detected accurately at high speed.

【0050】上述せる第14の発明によれば、上記第1
3の発明において、探索時においては、上記探索領域の
中心から外側に向かって順次探索を行う。これによっ
て、検出速度を向上させることができる。
According to the fourteenth invention described above, the first invention
In the third aspect of the invention, at the time of search, the search is sequentially performed from the center of the search area toward the outside. Thereby, the detection speed can be improved.

【0051】[0051]

【実施例】以下に、図1〜図6を順次参照して本発明動
き検出方法及びその装置並びにカメラ一体型VTRの一
実施例について詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the motion detecting method and apparatus according to the present invention and a camera-integrated VTR will be described below in detail with reference to FIGS.

【0052】本発明動き検出方法及びその装置並びにカ
メラ一体型VTRの一実施例の説明は、次に示す項目説
明を各項目の先頭に記載し、各項目について次に示す順
序で説明する。
In the description of one embodiment of the motion detecting method and apparatus and the VTR with camera according to the present invention, the following item description will be described at the head of each item, and each item will be described in the following order.

【0053】*第1実施例 A.本発明動き検出方法及びその装置並びにカメラ一体
型VTRの一実施例の構成及びその動作説明(図1参
照) B.本例における動き検出方法の説明(図2参照) C.本発明動き検出方法及びその装置並びにカメラ一体
型VTRの一実施例が適用されるカメラ一体型VTRの
構成及びその動作説明(図3参照) D.図3に示したカメラ一体型VTRの圧縮符号化回路
の内部構成及びその動作説明(図4参照) *第2実施例 E.本発明動き検出方法及びその装置並びにカメラ一体
型VTRの他の例の要部の構成及びその動作説明(図5
参照) *第3実施例 F.本発明動き検出方法及びその装置並びにカメラ一体
型VTRの更に他の例の説明に供するサーチの説明(図
6参照)
* First embodiment A. Configuration and operation explanation of one embodiment of the motion detecting method and apparatus of the present invention and a camera-integrated VTR (see FIG. 1) B. Description of Motion Detection Method in this Example (See FIG. 2) C. Configuration of a camera-integrated VTR to which an embodiment of the motion detection method and apparatus of the present invention and a camera-integrated VTR are applied, and its operation description (see FIG. 3) D. Internal structure and operation of the compression coding circuit of the camera-integrated VTR shown in FIG. 3 (see FIG. 4) * Second embodiment The configuration and the operation of the main part of another example of the motion detection method and device and the camera-integrated VTR of the present invention (FIG. 5).
Reference) * Third Example F. Description of search for explaining still another example of the motion detection method and apparatus and the VTR with camera according to the present invention (see FIG. 6)

【0054】[第1実施例][First Embodiment]

【0055】A.本発明動き検出方法及びその装置並び
にカメラ一体型VTRの一実施例の構成及びその動作説
明(図1参照)
A. The structure and operation of one embodiment of the motion detecting method and apparatus and the camera-integrated VTR of the present invention (see FIG. 1)

【0056】図1は本発明動き検出方法及びその装置並
びにカメラ一体型VTRの一実施例を示す構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of a motion detecting method and apparatus according to the present invention and a camera-integrated VTR.

【0057】〔接続及び構成〕図1において、1は例え
ば圧電振動ジャイロ等の角速度センサからなる動き情報
検出手段、2は例えばビデオカメラ等の撮影手段、3は
撮影手段2からの映像信号Viを、動き情報検出手段1
からの動き情報CAvec及び撮影手段2からのレンズ
(ズーム、フォーカス)位置情報Sitに基いて設定し
たサーチエリア内でフルサーチブロックマッチング処理
を行って符号化する符号化手段、4はこの符号化手段3
からの圧縮映像信号ComViを磁気テープ、ディス
ク、半導体メモリ等の記録媒体に記録する記録手段であ
る。
[Connection and Configuration] In FIG. 1, reference numeral 1 is a motion information detecting means including an angular velocity sensor such as a piezoelectric vibrating gyro, 2 is a photographing means such as a video camera, and 3 is a video signal Vi from the photographing means 2. , Motion information detection means 1
Encoding means for performing full search block matching processing within the search area set based on the motion information CAvec from the camera and the lens (zoom, focus) position information Sit from the photographing means Sit, and 4 are the encoding means. Three
Is a recording means for recording the compressed video signal ComVi from the recording medium onto a recording medium such as a magnetic tape, a disk, or a semiconductor memory.

【0058】ここで、上記動き情報検出手段1は上記撮
影手段2と一体化されることが条件となる。上記撮影手
段2の動きを上記動き情報検出手段1で検出するためで
ある。また、上記動き情報検出手段1、撮影手段2、符
号化手段3及び記録手段4でカメラ一体型VTR、カメ
ラ一体型ディスクレコーダ、カメラ一体型半導体メモリ
レコーダ等を構成することが可能である。また、上記動
き情報検出手段1及び撮影手段2でビデオカメラを構成
し、上記符号化手段3及び記録手段4でVTRやディス
クレコーダを構成することが可能である。更に、上記動
き情報検出手段1、撮影手段2及び符号化手段3でビデ
オカメラを構成し、上記記録手段4でVTRやディスク
レコーダを構成することも可能である。
Here, the condition is that the motion information detecting means 1 is integrated with the photographing means 2. This is because the movement information detecting means 1 detects the movement of the photographing means 2. Further, the motion information detecting means 1, the photographing means 2, the encoding means 3 and the recording means 4 can constitute a camera integrated VTR, a camera integrated disk recorder, a camera integrated semiconductor memory recorder and the like. Further, it is possible that the motion information detecting means 1 and the photographing means 2 constitute a video camera, and the encoding means 3 and the recording means 4 constitute a VTR or a disc recorder. Further, it is possible that the motion information detecting means 1, the photographing means 2 and the encoding means 3 constitute a video camera, and the recording means 4 constitutes a VTR or a disc recorder.

【0059】何れの場合においても、上記動き情報検出
手段1及び撮影手段2が一体となっていれば良い。ま
た、ビデオカメラとVTR若しくはディスクレコーダの
ように、いわゆるコンポーネントタイプのシステムとし
た場合には、ビデオカメラ及びVTR若しくはディスク
レコーダ間をケーブルで接続するか、或いは赤外線やF
M波でコードレス状態で接続すれば良い。
In any case, the motion information detecting means 1 and the photographing means 2 may be integrated. In the case of a so-called component type system such as a video camera and a VTR or a disk recorder, a cable is connected between the video camera and the VTR or the disk recorder, or an infrared ray or F
The connection may be made in a cordless state with M waves.

【0060】また、上記符号化手段3は、動き情報検出
手段1からの動き情報CAvec及び撮影手段2からの
レンズ位置情報Sitを用い、以下に示す3つの方法の
何れかに基いてサーチエリアを決定し、このサーチエリ
ア内においてフルサーチブロックマッチング処理により
映像信号Viを圧縮符号化する。
The encoding means 3 uses the motion information CAvec from the motion information detecting means 1 and the lens position information Sit from the photographing means 2 to determine the search area based on any one of the following three methods. Then, the video signal Vi is compression-encoded by the full search block matching process within this search area.

【0061】第1の方法は、サーチエリアを上記撮影手
段2からの現フレームの映像信号Viに注目ブロックを
設定し、この注目ブロックに対応して前フレームの映像
信号Viにサーチエリアを設定する際、上記動き情報検
出手段1からの撮影手段2そのものの前フレーム及び現
フレーム間の動き情報CAvecの負方向にサーチエリ
アの中心を設定し、サーチエリアを決定する方法であ
る。
In the first method, the search area is set to the video signal Vi of the current frame from the photographing means 2 and the target block is set, and the search area is set to the video signal Vi of the previous frame corresponding to the target block. At this time, the center of the search area is set in the negative direction of the motion information CAvec between the previous frame and the current frame of the photographing means 2 itself from the motion information detecting means 1 to determine the search area.

【0062】第2の方法は、サーチエリアを上記撮影手
段2からの現フレームの映像信号Viに注目ブロックを
設定し、この注目ブロックに対応して前フレームの映像
信号Viにサーチエリアを設定する際、撮影手段2から
のレンズ位置情報Sitにより画面中心を収束点として
動きベクトルを予測し、この予測した動きベクトルに基
いてサーチエリアを決定する方法である。例えば対物レ
ンズの位置を撮影手段から遠い位置とした場合、被写体
の画像における面積は大となり、対物レンズの位置を撮
影手段に近づけた場合、被写体の画像における面積は小
となる。つまり、被写体は画像の外側、若しくは中心方
向に向かって拡大または縮小することになる。そこで、
対物レンズの位置情報に基いてサーチエリアの大きさや
位置を決定することにより、最も適した状態でフルサー
チブロックマッチング処理を行うことができるようにす
るのである。例えば、ズーミング時には、大きなサーチ
エリアを中心に設定し、この逆の場合では小さなサーチ
エリアを中心に設定する方法等が考えられる。
In the second method, the search area is set to the video signal Vi of the current frame from the photographing means 2 and the target block is set, and the search area is set to the video signal Vi of the previous frame corresponding to the target block. At this time, a motion vector is predicted by using the lens position information Sit from the photographing means 2 with the screen center as a convergence point, and the search area is determined based on the predicted motion vector. For example, when the position of the objective lens is far from the photographing means, the area of the image of the subject becomes large, and when the position of the objective lens is close to the photographing means, the area of the image of the subject becomes small. That is, the subject expands or contracts toward the outside or the center of the image. Therefore,
By determining the size and position of the search area based on the position information of the objective lens, the full search block matching process can be performed in the most suitable state. For example, a method of setting a large search area at the center during zooming and a small search area at the other side can be considered.

【0063】第3の方法は、上記第1の方法と第2の方
法を組み合わせる方法である。
The third method is a method in which the first method and the second method are combined.

【0064】以上のように上記第1の方法、第2の方法
または第1及び第2の方法を組み合わせる方法によっ
て、撮影手段2そのものの動きによる動きベクトル情報
CAvecをキャンセルし、レンズ位置に基いた設定を
行うことにより、結果的に狭いサーチエリアを設定して
も、確実に動き情報を抽出することができる。
As described above, the motion vector information CAvec due to the motion of the photographing means 2 itself is canceled by the first method, the second method, or the method combining the first and second methods, and based on the lens position. By setting, even if a narrow search area is set as a result, motion information can be reliably extracted.

【0065】〔動作〕撮影手段2からの被写体の映像信
号Viは符号化手段3に供給される。一方、動き情報検
出手段1は撮影手段2の動きを検出し、その結果得られ
た動き情報CAvecを符号化手段3に供給する。ま
た、撮影手段2からは、ズームやフォーカス等のレンズ
位置情報Sitが符号化手段3に供給される。
[Operation] The image signal Vi of the subject from the photographing means 2 is supplied to the encoding means 3. On the other hand, the motion information detecting means 1 detects the motion of the photographing means 2 and supplies the motion information CAvec obtained as a result to the encoding means 3. Further, the lens position information Sit such as zoom and focus is supplied from the photographing means 2 to the encoding means 3.

【0066】符号化手段3は撮影手段2からの映像信号
Viを、撮影手段2からのレンズ位置情報Sit及び動
き情報検出手段1からの動き情報CAvecに基いてサ
ーチエリアを決定し、このサーチエリア内でフルサーチ
ブロックマッチング処理を行って圧縮符号化し、この圧
縮符号化した圧縮映像信号ComViを記録手段4に供
給する。記録手段4は符号化手段3からの圧縮映像信号
ComViを記録媒体上に記録する。
The encoding means 3 determines the search area for the video signal Vi from the photographing means 2 based on the lens position information Sit from the photographing means 2 and the motion information CAvec from the motion information detecting means 1, and this search area Full search block matching processing is performed in the inside to perform compression coding, and the compression coded compressed video signal ComVi is supplied to the recording means 4. The recording means 4 records the compressed video signal ComVi from the encoding means 3 on a recording medium.

【0067】上述したように、符号化手段3において、
撮影手段2の前フレーム及び現フレーム間の動き情報C
Avecをキャンセルすることにより、目標を絞り込ん
だサーチエリアを設定し、しかもレンズ位置情報Sit
に基いてサーチエリアを設定し、このサーチエリア内に
おいてフルサーチブロックマッチング処理を行い、その
結果動き検出を行うようにしたので、回路規模や消費電
力を大にすることなく、復号時に高画質の映像を得るこ
とができる。
As described above, in the encoding means 3,
Motion information C between the previous frame and the current frame of the photographing means 2
By canceling Avec, a search area narrowing down the target is set, and the lens position information Sit is set.
The search area is set based on this, and full search block matching processing is performed in this search area, and as a result, motion detection is performed. Therefore, high image quality during decoding can be achieved without increasing the circuit scale and power consumption. You can get a video.

【0068】B.本例における動き検出方法の説明(図
2参照)
B. Description of the motion detection method in this example (see FIG. 2)

【0069】図2は本発明動き検出方法及びその装置並
びにカメラ一体型VTRの一実施例において用いられる
動き検出方法を説明するための説明図である。尚、この
図2においては、上記第1の方法について説明する。
FIG. 2 is an explanatory diagram for explaining the motion detecting method and apparatus according to the present invention and the motion detecting method used in one embodiment of the camera-integrated VTR. The first method will be described with reference to FIG.

【0070】この図2において、Sa1は従来例として
用いた図8におけるサーチエリアSa1と同じ方法、つ
まり、本例のように、撮影手段2そのものの動きベクト
ル情報を考慮しないで設定する方法によって設定したサ
ーチエリア、Sa2は上述したように、撮影手段2その
ものの動きベクトル情報に基いて設定したサーチエリア
である。また、CAvecは現フレーム及び前フレーム
間の撮影手段2の動きベクトル、VECは前フレーム及
び現フレーム間の動きベクトル、vec1は現フレーム
及び前フレーム間の撮影手段2の動きベクトル成分、v
ec2は現フレーム及び前フレーム間の被写体の動きベ
クトル成分、Blk(f)は現フレーム画像の注目ブロ
ック、Blk(f−1)は前フレーム画像のブロックで
ある。
In FIG. 2, Sa1 is set by the same method as the search area Sa1 in FIG. 8 used as a conventional example, that is, by the method of setting without considering the motion vector information of the photographing means 2 itself as in this example. As described above, the search area Sa2 is a search area set based on the motion vector information of the photographing means 2 itself. Further, CAvec is a motion vector of the image capturing unit 2 between the current frame and the previous frame, VEC is a motion vector between the previous frame and the current frame, vec1 is a motion vector component of the image capturing unit 2 between the current frame and the previous frame, v
ec2 is the motion vector component of the subject between the current frame and the previous frame, Blk (f) is the target block of the current frame image, and Blk (f-1) is the block of the previous frame image.

【0071】この図2に示すように、撮影手段2で被写
体を撮影し、撮影によって得られた映像信号を符号化手
段3で符号化する場合、現フレーム及び前フレーム間の
動きベクトルの成分としては、撮影手段2そのものの動
きベクトル成分と、被写体の動きベクトル成分が含まれ
ることになる。
As shown in FIG. 2, when a subject is photographed by the photographing means 2 and the video signal obtained by the photographing is coded by the coding means 3, it is used as a motion vector component between the current frame and the previous frame. Includes the motion vector component of the image capturing unit 2 itself and the motion vector component of the subject.

【0072】従って、このようなことを考慮せずに設定
したサーチエリアSa1は、現フレーム画像の注目ブロ
ックBlk(f)に対し、最適に設定されたサーチエリ
アとはいえない。言い換えれば、現フレーム及び前フレ
ーム間の動きベクトルの成分には、撮影手段2そのもの
の動きベクトル成分と、被写体の動きベクトル成分が含
まれることを考慮せずに、現フレーム画像の注目ブロッ
クBlk(f)について、被写体の動きベクトルを確実
に得るためのサーチエリアを設けるとすれば、サーチエ
リアSa1をより広くしなければならないということに
なる。
Therefore, the search area Sa1 set without considering such a thing cannot be said to be the optimum search area for the target block Blk (f) of the current frame image. In other words, the attention block Blk () of the current frame image is taken into consideration without considering that the motion vector component between the current frame and the previous frame includes the motion vector component of the photographing unit 2 itself and the motion vector component of the subject. Regarding f), if a search area for surely obtaining the motion vector of the subject is provided, it means that the search area Sa1 must be made wider.

【0073】しかしながら、本例においては、現フレー
ム及び前フレーム間の動きベクトルの成分としては、撮
影手段2そのものの動きベクトル成分と、被写体の動き
ベクトル成分が含まれることを考慮し、現フレーム画像
の注目ブロックBlk(f)に対して前フレーム画像上
にサーチエリアSa2を設定する際、サーチエリアSa
1から負方向にサーチエリアSa2の中点を設定するよ
うに、サーチエリアSa2を設定する。ここでいう負方
向とは、図において、撮影手段2そのものの動きベクト
ルCAvecの方向と逆方向、即ち、サーチエリアSa
1から見たサーチエリアSa2の方向である。
However, in this example, considering that the motion vector component between the current frame and the previous frame includes the motion vector component of the photographing means 2 itself and the motion vector component of the subject, the current frame image is considered. When setting the search area Sa2 on the previous frame image for the target block Blk (f) of
The search area Sa2 is set so that the midpoint of the search area Sa2 is set in the negative direction from 1. The negative direction referred to here is a direction opposite to the direction of the motion vector CAvec of the photographing means 2 itself, that is, the search area Sa in the figure.
This is the direction of the search area Sa2 viewed from 1.

【0074】このように、サーチエリアを設定する際
に、撮影手段2そのものの動きベクトルCAvecを動
き情報検出手段1で検出し、この動きベクトルCAve
cに対して負方向にサーチエリアSa2の中点を設定す
ることで、現フレーム及び前フレーム間の撮影手段2そ
のものの動きベクトル成分vec1を等価的にキャンセ
ルすることができ、これによって、サーチエリアSa2
の設定を最適にできると共に、その分、エリアの大きさ
を小さくしても確実に被写体の動きベクトルを抽出する
ことができる。
In this way, when setting the search area, the motion information CAvec of the photographing means 2 itself is detected by the motion information detecting means 1, and this motion vector CAve is detected.
By setting the midpoint of the search area Sa2 in the negative direction with respect to c, it is possible to equivalently cancel the motion vector component vec1 of the imaging means 2 itself between the current frame and the previous frame, and thereby the search area Sa2. Sa2
The setting of can be optimized, and the motion vector of the subject can be reliably extracted even if the area size is reduced accordingly.

【0075】これについては、被写体に動きが全くない
場合を想定すれば分かりやすいであろう。今、撮影手段
2によって撮影されている被写体に全く動きがなく、そ
の位置が撮影によって得られた画像上の中心となってい
る場合を考える。もしも撮影手段2をまったく動かさな
ければ、現フレーム及び前フレーム間で動き検出を行っ
ても被写体に全く動きがないので、動きベクトル情報を
得ることはできない。
This can be easily understood by assuming a case where the subject has no movement. Now, let us consider a case in which the subject being photographed by the photographing means 2 has no movement at all, and its position is the center of the image obtained by the photographing. If the photographing means 2 is not moved at all, the motion vector information cannot be obtained because the subject does not move at all even if the motion detection is performed between the current frame and the previous frame.

【0076】しかしながら、撮影手段2をもしも左側に
動かした場合、撮影によって得た画像上の中心に位置し
ていた被写体は、この撮影手段2の動きにより、画像上
の右側に位置する。従って、ここで動き検出を行った場
合、被写体そのものに動きがないのにもかかわらず、動
きベクトル情報が得られてしまう。つまり、撮影手段2
そのものの動きによる動きベクトル情報は、動き検出時
においてはキャンセルすべきである。そこで、本例にお
いては、上述したようにサーチエリアを設定し、撮影手
段2そのものの動きベクトル成分をキャンセルするよう
にしているのである。
However, if the photographing means 2 is moved to the left side, the subject located at the center of the image obtained by photographing is positioned on the right side of the image due to the movement of the photographing means 2. Therefore, when the motion detection is performed here, the motion vector information is obtained even though the subject itself does not move. That is, the photographing means 2
The motion vector information based on its own motion should be canceled at the time of motion detection. Therefore, in this example, the search area is set as described above, and the motion vector component of the photographing means 2 itself is canceled.

【0077】簡単に説明すると、撮影手段2を右に動か
した場合はその画像上において左側にサーチエリアを設
定し、撮影手段2を左に動かした場合はその画像上にお
いて右側にサーチエリアを設定し、撮影手段2を上に動
かした場合はその画像上において下側にサーチエリアを
設定し、撮影手段2を下に動かした場合はその画像上に
おいて上側にサーチエリアを設定することになる。
Briefly, when the photographing means 2 is moved to the right, a search area is set on the left side of the image, and when the photographing means 2 is moved to the left, a search area is set on the right side of the image. However, when the photographing means 2 is moved upward, the search area is set on the lower side of the image, and when the photographing means 2 is moved downward, the search area is set on the upper side of the image.

【0078】C.本発明動き検出方法及びその装置並び
にカメラ一体型VTRの一実施例が適用されるカメラ一
体型VTRの構成及びその動作説明(図3参照)
C. The structure and operation of a camera-integrated VTR to which one embodiment of the motion detection method and apparatus and the camera-integrated VTR of the present invention are applied (see FIG. 3).

【0079】図3は、本発明動き検出方法及びその装置
並びにカメラ一体型VTRの一実施例が適用されるカメ
ラ一体型VTRの構成例を示す構成図である。
FIG. 3 is a block diagram showing an example of the structure of a camera-integrated VTR to which an embodiment of the motion detecting method and apparatus and the camera-integrated VTR of the present invention are applied.

【0080】〔接続及び構成〕図3において、50aは
対物レンズ、この対物レンズを動かしてフォーカスを行
うためのモータ、対物レンズを動かしてズーミングを行
うためのモータ、ダイクロイックミラー、フィルター等
からなる光学系、50dはこの光学系50aからの光を
受光し、受光した光を電気信号に変換して出力するCC
D(Charge Coupled Device)、
50cはこのCCD50bからの出力をディジタルデー
タに変換するA−Dコンバータ、50dはこのA−Dコ
ンバータ50cからのディジタルデータにニー補正、ホ
ワイトバランス調整、γ補正、ブラックバランス調整、
ディテール信号付加等の処理を施してディジタル映像デ
ータを得るカメラ部信号処理回路である。
[Connection and Configuration] In FIG. 3, reference numeral 50a is an optical lens including an objective lens, a motor for moving the objective lens for focusing, a motor for moving the objective lens for zooming, a dichroic mirror, a filter, and the like. The system 50d receives light from the optical system 50a, converts the received light into an electric signal, and outputs the CC.
D (Charge Coupled Device),
50c is an A / D converter for converting the output from the CCD 50b into digital data, and 50d is digital data from the A / D converter 50c including knee correction, white balance adjustment, γ correction, black balance adjustment,
This is a camera section signal processing circuit that obtains digital video data by performing processing such as adding a detail signal.

【0081】ここで、上記フォーカス用のモータ及びズ
ーミング用のモータが駆動されると、上記対物レンズの
位置情報であるレンズ位置情報Sitが圧縮符号化回路
5に供給される。ここで、レンズ位置情報Sitは、上
記フォーカス用のモータ及びズーミング用のモータの回
転数で得ても良いし、また、対物レンズの位置を位置セ
ンサ(フォトダイオードとフォトディテクタ等の組み合
わせ)で得ても良い。
When the focusing motor and the zooming motor are driven, the lens position information Sit which is the position information of the objective lens is supplied to the compression encoding circuit 5. Here, the lens position information Sit may be obtained by the number of rotations of the focusing motor and the zooming motor, or the position of the objective lens may be obtained by a position sensor (a combination of a photodiode and a photodetector). Is also good.

【0082】5は圧縮符号化回路で、上述したフルサー
チブロックマッチング処理によって、動きベクトル情報
を得ることで、カメラ部信号処理回路50dからの映像
データViを圧縮する。このとき、上記レンズ位置情報
Sit及び動き検出センサ6からの動きベクトル情報C
Avecに基いて、フルサーチブロックマッチング処理
におけるサーチエリアを上述したように決定する。圧縮
符号化回路5において動き検出処理で圧縮された映像デ
ータ(動きベクトル情報)はエラー訂正コード付加回路
7に供給される。ここで、上記動き検出センサ6とし
て、例えば圧電振動ジャイロ等の水平方向及び垂直方向
の角速度センサを用いる。
Reference numeral 5 denotes a compression encoding circuit which compresses the video data Vi from the camera signal processing circuit 50d by obtaining the motion vector information by the above-described full search block matching processing. At this time, the lens position information Sit and the motion vector information C from the motion detection sensor 6
Based on Avec, the search area in the full search block matching process is determined as described above. The video data (motion vector information) compressed by the motion detection processing in the compression encoding circuit 5 is supplied to the error correction code adding circuit 7. Here, as the motion detection sensor 6, for example, a horizontal and vertical angular velocity sensor such as a piezoelectric vibration gyro is used.

【0083】ここで、基本的なサーチエリアは例えば5
11画素×511画素(ハーフピッチの場合)となる。
Here, the basic search area is, for example, 5
11 pixels × 511 pixels (in case of half pitch).

【0084】8は音声を集音するためのマイクロフォ
ン、9はマイクロフォン8で集音された結果得られる音
声信号をディジタル音声データに変換するためのA−D
コンバータ、10はA−Dコンバータ9からのディジタ
ル音声データに対し、例えばプリ・エンファシス、イン
ターリーブ等の各種記録処理を施すオーディオ記録信号
処理回路である。
Reference numeral 8 is a microphone for collecting sound, and 9 is an AD for converting a sound signal obtained as a result of collecting sound by the microphone 8 into digital sound data.
The converter 10 is an audio recording signal processing circuit for performing various recording processes such as pre-emphasis and interleaving on the digital audio data from the AD converter 9.

【0085】7は圧縮符号化回路5からの圧縮映像デー
タComVi及びオーディオ記録信号処理回路10から
のディジタル音声データについて内符号エラー訂正コー
ド及び外符号エラー訂正コードを生成し、圧縮映像デー
タComVi、ディジタル音声データ、内符号エラー訂
正コード及び外符号エラー訂正コードで積符号を構成す
るエラー訂正コード付加回路、11はこのエラー訂正コ
ード付加回路7からの記録データに対してディジタル変
調処理を施すチャンネルコーディング回路である。
Reference numeral 7 generates an inner code error correction code and an outer code error correction code for the compressed video data ComVi from the compression encoding circuit 5 and the digital audio data from the audio recording signal processing circuit 10 to generate compressed video data ComVi, digital. An error correction code addition circuit for constructing a product code by voice data, an inner code error correction code and an outer code error correction code, and a channel coding circuit 11 for digitally modulating the recording data from the error correction code addition circuit 7. Is.

【0086】12はチャンネルコーディング回路11か
らのディジタル変調データを記録用に増幅する記録増幅
回路である。13はテープトランスポートで、ビデオ・
テープ・カセットをテープトランスポート内部に引き込
む機構、ビデオ・テープ・カセットから磁気テープを引
き出して図示しない回転ドラムに対して巻き付けるロー
ディング機構、及び回転ヘッド等から構成される。
Reference numeral 12 is a recording amplification circuit for amplifying the digital modulation data from the channel coding circuit 11 for recording. 13 is tape transport, video
It is composed of a mechanism for pulling the tape cassette into the tape transport, a loading mechanism for pulling out the magnetic tape from the video tape cassette and winding the magnetic tape around a rotating drum (not shown), and a rotating head.

【0087】14はテープトランスポート13の回転ド
ラムに登載された磁気ヘッドにより、ビデオ・テープ・
カセットの磁気テープから再生されるRF信号を再生用
に増幅する再生増幅回路、15は再生増幅回路14から
のRF信号からクロック信号を再生し、このクロック信
号によってデータを抽出するデータ抽出回路、16はデ
ータ抽出回路15からのディジタル変調データを復調
し、元のデータ、即ち、映像データ、音声データ、内符
号エラー訂正コード及び外符号エラー訂正コードを得る
チャンネルコーディング回路である。
A magnetic tape 14 is mounted on the rotary drum of the tape transport 13 so that a video tape
A reproducing / amplifying circuit for amplifying an RF signal reproduced from the magnetic tape of the cassette for reproduction. A data extracting circuit 15 reproduces a clock signal from the RF signal from the reproducing / amplifying circuit 14 and extracts data by the clock signal. Is a channel coding circuit for demodulating the digital modulation data from the data extraction circuit 15 to obtain original data, that is, video data, audio data, an inner code error correction code and an outer code error correction code.

【0088】17はチャンネルコーディング回路16か
らの映像データ及び音声データに対し、夫々チャンネル
コーディング回路16からの内符号エラー訂正コード及
び外符号エラー訂正コードに基いてエラー訂正処理を施
すエラー訂正処理回路、18はエラー訂正処理回路18
からのエラー訂正処理後の圧縮映像データComViを
復号することにより、元の映像データを得る圧縮復号化
回路、19はこの圧縮復号化回路18からの映像データ
をアナログ映像信号に変換するD−Aコンバータであ
る。
Reference numeral 17 denotes an error correction processing circuit for performing error correction processing on the video data and the audio data from the channel coding circuit 16 based on the inner code error correction code and the outer code error correction code from the channel coding circuit 16, respectively. 18 is an error correction processing circuit 18
The compression / decoding circuit for obtaining the original video data by decoding the compressed video data ComVi after the error correction processing from the reference numeral 19 is a DA for converting the video data from the compression / decoding circuit 18 into an analog video signal. It is a converter.

【0089】また、20はエラー訂正処理回路17から
のエラー訂正処理後の音声データに対してデ・エンファ
シスやデ・インターリーブ等の再生処理を施すオーディ
オ再生信号処理回路、21はこのオーディオ再生信号処
理回路20からの音声データをアナログ音声信号に変換
するD−Aコンバータである。
Reference numeral 20 is an audio reproduction signal processing circuit for performing reproduction processing such as de-emphasis and de-interleaving on the audio data after the error correction processing from the error correction processing circuit 17, and 21 is the audio reproduction signal processing. It is a DA converter that converts audio data from the circuit 20 into an analog audio signal.

【0090】22は撮像部50用の記録キー、停止キ
ー、ズーミング用キー、テープトランスポート13用の
再生キー、早送りキー、巻き戻しキー等からなるユーザ
ーインターフェース、23はユーザーインターフェース
22からの操作情報からなる制御信号CONに基いてテ
ープトランスポート13にテープトランスポート制御信
号TTconを、撮影部50にカメラ制御信号CAco
nを夫々供給するシステムコントローラである。
Reference numeral 22 is a user interface including a recording key for the image pickup section 50, a stop key, a zooming key, a playback key for the tape transport 13, a fast forward key, a rewind key, and the like, and 23 is operation information from the user interface 22. The tape transport control signal TTcon to the tape transport 13 and the camera control signal CAco to the photographing unit 50 based on the control signal CON consisting of
It is a system controller that supplies n respectively.

【0091】〔記録時の動作〕光学系50aからの光は
CCD50bにおいて光電変換され、電気信号としてA
−Dコンバータ50cに供給され、このA−Dコンバー
タ50cにおいてディジタルデータに変換された後にカ
メラ部信号処理回路50dに供給される。カメラ部信号
処理回路50dに供給されたディジタルデータは、上述
した各種ホワイトバランス調整等の各種処理が施された
後にディジタル映像データとして圧縮符号化回路5に供
給される。圧縮符号化回路5においては、カメラ部信号
処理回路50dからの映像データViの現フレームの映
像データ内に8画素×8画素(若しくは16画素×16
画素)の注目ブロックを設定し、前フレームの映像デー
タ内に現フレームの映像データ内に設定された注目ブロ
ックに対応してフルサーチブロックマッチング処理を行
うためのサーチエリアを設定する。
[Operation During Recording] The light from the optical system 50a is photoelectrically converted by the CCD 50b and converted into an electric signal A
The signal is supplied to the -D converter 50c, converted into digital data by the AD converter 50c, and then supplied to the camera section signal processing circuit 50d. The digital data supplied to the camera unit signal processing circuit 50d is supplied to the compression encoding circuit 5 as digital video data after being subjected to various processes such as the various white balance adjustments described above. In the compression encoding circuit 5, 8 pixels × 8 pixels (or 16 pixels × 16 pixels) are included in the video data of the current frame of the video data Vi from the camera unit signal processing circuit 50d.
The target block of (pixel) is set, and the search area for performing the full search block matching process is set in the video data of the previous frame corresponding to the target block set in the video data of the current frame.

【0092】このとき、サーチエリアの設定は、上述し
たように、装置(この例ではカメラ一体型VTR)その
ものの現フレーム及び前フレーム間の動きベクトルに対
し、負方向にサーチエリアの中点を設定するよう行われ
る。そして、このサーチエリア内において、フルサーチ
ブロックマッチング処理が施され、この結果圧縮された
圧縮映像データComViはエラー訂正コード付加回路
7に供給される。
At this time, as described above, the search area is set by setting the midpoint of the search area in the negative direction with respect to the motion vector between the current frame and the previous frame of the apparatus (camera integrated type VTR in this example) itself. It is done to set. Then, in this search area, full search block matching processing is performed, and the compressed video data ComVi compressed as a result is supplied to the error correction code adding circuit 7.

【0093】一方、マイクロフォン8で集音された音声
は音声信号としてA−Dコンバータ9に供給され、この
A−Dコンバータ9においてディジタル音声データに変
換された後にオーディオ記録信号処理回路10に供給さ
れる。オーディオ記録信号処理回路10において上述し
たようなプリ・エンファシスやインターリーブ等の記録
のための処理が施されたディジタル音声データは、エラ
ー訂正コード付加回路7に供給される。
On the other hand, the sound collected by the microphone 8 is supplied as an audio signal to the AD converter 9, converted into digital audio data by the AD converter 9, and then supplied to the audio recording signal processing circuit 10. It The digital audio data that has been subjected to the recording processing such as the pre-emphasis or interleave in the audio recording signal processing circuit 10 is supplied to the error correction code adding circuit 7.

【0094】エラー訂正コード付加回路7に供給された
圧縮映像データComVi及びディジタル音声データ
は、内符号エラー訂正コード及び外符号エラー訂正コー
ドが付加された後にチャンネルコーディング回路11に
供給され、このチャンネルコーディング回路11におい
てディジタル変調処理が施された後に記録増幅回路12
を介してテープトランスポート13の回転ドラムに登載
されている磁気ヘッドに供給される。そして、磁気ヘッ
ドに供給されたディジタル変調データは、この磁気ヘッ
ドにより、磁気テープ上に傾斜トラックを形成するよう
に記録される。
The compressed video data ComVi and the digital audio data supplied to the error correction code addition circuit 7 are supplied to the channel coding circuit 11 after being added with the inner code error correction code and the outer code error correction code, and this channel coding is performed. After the digital modulation processing is performed in the circuit 11, the recording amplification circuit 12
Is supplied to the magnetic head mounted on the rotary drum of the tape transport 13 via. Then, the digital modulation data supplied to the magnetic head is recorded by the magnetic head so as to form an inclined track on the magnetic tape.

【0095】〔再生時の動作〕ユーザーインターフェー
ス22の再生キーが押圧されると、このユーザーインタ
ーフェース22から再生を示す制御信号CONがシステ
ムコントローラ23に供給される。システムコントロー
ラ23はユーザーインターフェース22からの制御信号
CONに基いてテープトランスポート13にテープトラ
ンスポート制御信号TTconを供給する。これによ
り、テープトランスポート13は回転ヘッドに登載され
た磁気ヘッドにより、磁気テープ上に記録されている記
録信号を走査し、記録信号を再生する。
[Operation During Reproduction] When the reproduction key of the user interface 22 is pressed, a control signal CON indicating reproduction is supplied from the user interface 22 to the system controller 23. The system controller 23 supplies the tape transport control signal TTcon to the tape transport 13 based on the control signal CON from the user interface 22. As a result, the tape transport 13 scans the recording signal recorded on the magnetic tape by the magnetic head mounted on the rotary head and reproduces the recording signal.

【0096】再生された信号は記録増幅回路14を介し
てデータ抽出回路15に供給され、ここでクロック信号
が抽出され、そのクロック信号により、データが抽出さ
れる。抽出されたデータはチャンネルデコーディング回
路16に供給される。チャンネルデコーディング回路1
6に供給されたデータは、復調されて圧縮映像データC
omVi、ディジタル音声データ、内符号エラー訂正コ
ード及び外符号エラー訂正コードとなる。これらのデー
タはエラー訂正処理回路17に供給される。エラー訂正
回路17に供給された圧縮映像データComVi及びデ
ィジタル音声データは、夫々内符号エラー訂正コード及
び外符号エラー訂正コードにより、エラー訂正処理が施
される。このとき、訂正不能のデータについては、エラ
ーコンシールメント処理が施されることはいうまでもな
い。
The reproduced signal is supplied to the data extraction circuit 15 via the recording / amplification circuit 14, where the clock signal is extracted, and the data is extracted by the clock signal. The extracted data is supplied to the channel decoding circuit 16. Channel decoding circuit 1
The data supplied to No. 6 is demodulated and compressed video data C
omVi, digital voice data, inner code error correction code, and outer code error correction code. These data are supplied to the error correction processing circuit 17. The compressed video data ComVi and the digital audio data supplied to the error correction circuit 17 are subjected to error correction processing by an inner code error correction code and an outer code error correction code, respectively. At this time, it goes without saying that error concealment processing is performed on uncorrectable data.

【0097】エラー訂正処理回路17からのエラー訂正
後の圧縮映像データComViは圧縮復号化回路18に
おいて復号化されて元のディジタル映像データにされ、
D−Aコンバータ19においてアナログ映像信号に変換
された後に出力端子19aを介して出力される。一方、
エラー訂正処理回路17からのエラー訂正後のディジタ
ル音声データは、オーディオ再生信号処理回路20にお
いてデ・エンファシスやデ・インターリーブ処理等の再
生処理が施された後にD−Aコンバータ21においてア
ナログ音声信号に変換された後に出力端子21aを介し
て出力される。
The compressed video data ComVi after error correction from the error correction processing circuit 17 is decoded in the compression decoding circuit 18 to be the original digital video data,
After being converted into an analog video signal in the D-A converter 19, it is output through the output terminal 19a. on the other hand,
The error-corrected digital audio data from the error correction processing circuit 17 is subjected to reproduction processing such as de-emphasis and de-interleave processing in the audio reproduction signal processing circuit 20 and then converted into an analog audio signal in the DA converter 21. After the conversion, it is output via the output terminal 21a.

【0098】D.図3に示したカメラ一体型VTRの圧
縮符号化回路の内部構成及びその動作説明(図4参照)
D. Internal structure and operation of the compression coding circuit of the camera-integrated VTR shown in FIG. 3 (see FIG. 4)

【0099】図4は図3に示したカメラ一体型VTRの
圧縮符号化回路5の内部構成例を示す構成図である。
FIG. 4 is a block diagram showing an internal configuration example of the compression coding circuit 5 of the camera-integrated VTR shown in FIG.

【0100】〔接続及び構成〕図4において、30は図
3に示したカメラ部信号処理回路50dからの映像信号
Viが供給される入力端子である。この入力端子30を
現フレームメモリ31のデータ入力端子及び遅延回路3
3を介して参照フレームメモリ34のデータ入力端子に
夫々接続し、現フレームメモリ31のデータ出力端子を
加算回路32の加算側の入力端子に接続し、参照フレー
ムメモリ34のデータ出力端子を加算回路32の減算側
の入力端子に接続する。そしてこの加算回路32の出力
端子を絶対値回路41の入力端子に接続する。この絶対
値回路41は、加算回路32からの加算結果の絶対値を
得るものである。
[Connection and Configuration] In FIG. 4, reference numeral 30 is an input terminal to which the video signal Vi from the camera section signal processing circuit 50d shown in FIG. 3 is supplied. This input terminal 30 is connected to the data input terminal of the current frame memory 31 and the delay circuit 3
3, the data input terminals of the reference frame memory 34 are respectively connected, the data output terminals of the current frame memory 31 are connected to the addition side input terminals of the adder circuit 32, and the data output terminals of the reference frame memory 34 are added. 32 is connected to the input terminal on the subtraction side. Then, the output terminal of the adder circuit 32 is connected to the input terminal of the absolute value circuit 41. The absolute value circuit 41 obtains the absolute value of the addition result from the addition circuit 32.

【0101】そして、この絶対値回路41の出力端子を
加算回路42の一方の加算側の入力端子に接続し、この
加算回路42の出力端子をメモリ44のデータ入力端子
に接続すると共に、遅延回路43を介して加算回路42
の他方の加算側の入力端子に接続する。
Then, the output terminal of the absolute value circuit 41 is connected to one of the addition side input terminals of the addition circuit 42, the output terminal of the addition circuit 42 is connected to the data input terminal of the memory 44, and the delay circuit is connected. Adder circuit 42 via 43
Connect to the input terminal on the other addition side of.

【0102】35は図3に示したシステムコントローラ
23からの書き込みクロック信号WCLKが供給される
入力端子、36は図3に示したシステムコントローラ2
3からの同期信号SYNCが供給される入力端子で、こ
れらの入力端子35及び36を夫々書き込みアドレス発
生回路37の入力端子に接続し、この書き込みアドレス
発生回路37の一方の書き込みアドレス信号用の出力端
子を現フレームメモリ31の書き込みアドレス信号用の
入力端子に接続し、この書き込みアドレス発生回路37
の他方の書き込みアドレス信号用の出力端子を参照フレ
ームメモリ34の書き込みアドレス信号用の入力端子に
接続する。
Reference numeral 35 is an input terminal to which the write clock signal WCLK from the system controller 23 shown in FIG. 3 is supplied, and 36 is the system controller 2 shown in FIG.
3 is an input terminal to which the synchronizing signal SYNC is supplied, and these input terminals 35 and 36 are respectively connected to the input terminals of the write address generating circuit 37, and one output of the write address generating circuit 37 for one write address signal. The terminal is connected to the input terminal for the write address signal of the current frame memory 31, and the write address generating circuit 37
The other output terminal for the write address signal is connected to the input terminal for the write address signal of the reference frame memory 34.

【0103】38は図3に示した動き検出センサ6から
の装置そのものの動きベクトルデータCAvecが供給
される入力端子で、この入力端子38を読み出しアドレ
ス発生回路39のアドレスデコーダ39bの入力端子に
接続し、このアドレスデコーダ39bの読み出しアドレ
ス信号用の出力端子を参照フレームメモリ34の読み出
しアドレス信号用の入力端子に接続し、このアドレスデ
コーダ39bのデータ入力端子にカウンタ39aのデー
タ出力端子を接続する。40はこのカウンタ39aに読
み出しクロック信号RCLK及び読み出し開始アドレス
データSaddを供給し、上記現フレームメモリ31に
読み出しクロック信号RCLK及び注目ブロックを指定
するためのブロックアドレス信号Baddを供給するコ
ントローラである。
Reference numeral 38 is an input terminal to which the motion vector data CAvec of the device itself from the motion detection sensor 6 shown in FIG. 3 is supplied, and this input terminal 38 is connected to the input terminal of the address decoder 39b of the read address generating circuit 39. Then, the output terminal for the read address signal of the address decoder 39b is connected to the input terminal for the read address signal of the reference frame memory 34, and the data output terminal of the counter 39a is connected to the data input terminal of the address decoder 39b. Reference numeral 40 denotes a controller which supplies the read clock signal RCLK and the read start address data Sadd to the counter 39a, and supplies the read clock signal RCLK and the block address signal Badd for designating the target block to the current frame memory 31.

【0104】45は最小値検出回路で、メモリに記憶さ
れた1つのサーチエリア内の全ブロック(例えば256
個)の各差分絶対値和データの内の最小の差分絶対値和
データを検出する。46は最小値検出回路45からの最
小値とされた差分絶対値和データに基いて動きベクトル
を得、この動きベクトルデータvecを圧縮映像データ
ComViとして出力端子47を介して図3に示したエ
ラー訂正コード付加回路7に供給すると共に、コントロ
ーラ40に供給する。
Reference numeral 45 denotes a minimum value detection circuit, which is used for all blocks (for example, 256 blocks) in one search area stored in the memory.
The minimum difference absolute value sum data among the respective difference absolute value sum data is detected. Reference numeral 46 denotes a motion vector based on the minimum value difference absolute value sum data from the minimum value detection circuit 45, and the motion vector data vec is used as compressed video data ComVi to output the error shown in FIG. The correction code adding circuit 7 and the controller 40 are supplied.

【0105】ここで、コントローラ40は、動きベクト
ル検出回路46からの動きベクトルデータvecに基い
て、読み出し開始アドレスデータSadd、即ち、各ブ
ロックの先頭アドレスデータをカウンタ39aに供給す
る。
Here, the controller 40 supplies the read start address data Sadd, that is, the head address data of each block to the counter 39a based on the motion vector data vec from the motion vector detection circuit 46.

【0106】また、上記読み出しアドレス発生回路39
は、サーチエリアをずらすために、コントローラ40か
らの読み出し開始アドレスデータSaddが示すブロッ
クの先頭アドレスが示す位置(例えば画面上において左
上角)を、そのときの動きベクトル情報CAvecが示
す方向と反対の方向に同じ分だけずらした位置とするた
めに、コントローラ40からの読み出し開始アドレスデ
ータSadd、及びこの読み出し開始アドレスデータか
らカウンタ39aにより順次カウントして得られるカウ
ント値データを、順次上記動きベクトル情報CAvec
に応じて上記デコーダ39bによりデコードする。
Further, the read address generating circuit 39 described above.
In order to shift the search area, the position indicated by the start address of the block indicated by the read start address data Sadd from the controller 40 (for example, the upper left corner on the screen) is opposite to the direction indicated by the motion vector information CAvec at that time. In order to shift the position by the same amount in the direction, the read start address data Sadd from the controller 40 and the count value data obtained by sequentially counting from the read start address data by the counter 39a are sequentially moved to the motion vector information CAvec.
Decoding is performed by the decoder 39b according to the above.

【0107】例えば、コントローラ40から供給される
読み出し開始アドレスデータSaddが示すブロックの
先頭位置が図2に示したサーチエリアSa1の左上角で
あった場合(つまり、そのサーチエリアの最初のブロッ
クとなる)、読み出しアドレス発生回路39のカウンタ
39aは順次カウントを行って、サーチエリアSa1の
ブロックの各部を示すカウント値データを得るが、ここ
で、動きベクトル情報CAvecが供給された場合、読
み出しアドレス発生回路39のデコーダ39bは、上記
カウンタ39aの出力を全てこの動きベクトル情報CA
vecに対応した値にデコードして読み出しアドレスデ
ータを得る。そして、例えばカウンタ39aからのカウ
ント値がサーチエリアSa1の左上角を示す値であった
場合、その値をデコードし、サーチエリアSa2の左上
角を示す読み出しアドレスデータにデコードする。そし
て、同様に、順次カウンタ39bから供給されるカウン
ト値を対応するサーチエリアSa2の各部分を示す値と
なるようデコードする。
For example, when the head position of the block indicated by the read start address data Sadd supplied from the controller 40 is at the upper left corner of the search area Sa1 shown in FIG. 2 (that is, the first block of the search area). ), The counter 39a of the read address generation circuit 39 sequentially counts and obtains count value data indicating each part of the block of the search area Sa1. Here, when the motion vector information CAvec is supplied, the read address generation circuit 39a The decoder 39b of 39 outputs all the outputs of the counter 39a to the motion vector information CA.
The read address data is obtained by decoding the value corresponding to vec. Then, for example, when the count value from the counter 39a is a value indicating the upper left corner of the search area Sa1, the value is decoded and decoded into read address data indicating the upper left corner of the search area Sa2. Then, similarly, the count value sequentially supplied from the counter 39b is decoded into a value indicating each part of the corresponding search area Sa2.

【0108】〔変形例〕読み出しアドレス発生回路39
をカウンタ39aのみで構成し、入力端子38をコント
ローラ40に接続し、コントローラ40により動きベク
トルデータCAvecに応じた読み出し開始アドレス信
号Saddをカウンタ39aに与えるようにしても良
い。
[Modification] Read address generation circuit 39
May be composed of only the counter 39a, the input terminal 38 may be connected to the controller 40, and the controller 40 may give the read start address signal Sadd according to the motion vector data CAvec to the counter 39a.

【0109】また、アドレスデコーダ39bを用いなく
とも、例えばカウンタ39aにおいて得られたカウント
値と動きベクトルデータCAvecを加算若しくは減算
するようにしても良い。具体的には、例えば動きベクト
ルデータCAvecが水平方向の角速度センサからの出
力と、垂直方向の角速度センサからの出力からなる場合
には次のようになる。
Further, without using the address decoder 39b, for example, the count value obtained in the counter 39a and the motion vector data CAvec may be added or subtracted. Specifically, for example, when the motion vector data CAvec is composed of the output from the horizontal angular velocity sensor and the output from the vertical angular velocity sensor, the following is performed.

【0110】水平方向の角速度センサからの出力が装置
が左側に動いていることを示しているのであれば、右側
に同じ移動量だけ、即ち、カウンタ39aの水平方向の
カウント値(水平方向アドレス)にその移動量に対応す
る値を加算し、水平方向の角速度センサからの出力が装
置が右側に動いていることを示しているのであれば、左
側に同じ移動量だけ、即ち、カウンタ39aの水平方向
のカウント値(水平方向アドレス)からその移動量に対
応する値を減算し、垂直方向の角速度センサからの出力
が装置が上側に動いていることを示しているのであれ
ば、下側に同じ移動量だけ、即ち、カウンタ39aの垂
直方向のカウント値(垂直方向アドレス)にその移動量
に対応する値を加算し、垂直方向の角速度センサからの
出力が装置が下側に動いていることを示しているのであ
れば、上側に同じ移動量だけ、即ち、カウンタ39aの
垂直方向のカウント値(垂直方向アドレス)からその移
動量に対応する値を減算すれば良い。
If the output from the horizontal angular velocity sensor indicates that the device is moving to the left, the same movement amount to the right, that is, the horizontal count value of the counter 39a (horizontal address). If the output from the angular velocity sensor in the horizontal direction indicates that the device is moving to the right, the value corresponding to the amount of movement is added to, and if the output is moving to the right, the same amount of movement to the left, that is, the horizontal of the counter 39a. If the output from the vertical angular velocity sensor indicates that the device is moving upward, subtract it from the count value (horizontal address) in the direction, and the value is the same as in the lower direction. Only the amount of movement, that is, the value corresponding to the amount of movement is added to the vertical count value (vertical address) of the counter 39a, and the output from the vertical angular velocity sensor causes the device to move downward. If the show that Iteiru, by the same amount of movement upward, i.e., the vertical count value of the counter 39a may be subtracted value corresponding to the amount of movement from the (vertical address).

【0111】尚、ズーミング等により被写体が拡大され
た場合は、サーチエリアを大とし、被写体が縮小された
ときはサーチエリアを小としても良い。
The search area may be made large when the subject is enlarged by zooming or the like, and may be made small when the subject is reduced.

【0112】〔動作〕図3に示した撮像部50のカメラ
部信号処理回路50dからの映像データViが入力端子
30を介して現フレームメモリ34に供給され、書き込
みアドレス発生回路37からの書き込みアドレス信号に
よって書き込まれる。一方、遅延回路33によって1フ
レーム分遅延された前のフレームの映像データViが、
参照フレームメモリ34に供給され、書き込みアドレス
発生回路37からの書き込みアドレス信号によって書き
込まれる。
[Operation] The video data Vi from the camera unit signal processing circuit 50d of the image pickup unit 50 shown in FIG. 3 is supplied to the current frame memory 34 through the input terminal 30, and the write address from the write address generation circuit 37. Written by signal. On the other hand, the video data Vi of the previous frame delayed by one frame by the delay circuit 33 is
It is supplied to the reference frame memory 34 and written by the write address signal from the write address generation circuit 37.

【0113】ここで、上記現フレームメモリ31には現
フレームの映像データVi(f)が、上記参照フレーム
メモリ34には前フレームの映像データVi(f−1)
が夫々記憶されることになる。
Here, the current frame image data Vi (f) is stored in the current frame memory 31, and the previous frame image data Vi (f-1) is stored in the reference frame memory 34.
Will be remembered respectively.

【0114】コントローラ40は、現フレームメモリ3
1に注目ブロックに対応する映像データを順次読み出す
ための読み出しクロック信号RCLK及びブロック読み
出しアドレス信号Baddを供給する。これによって、
現フレームメモリ31から注目ブロックに対応する映像
データが順次読み出され、加算回路32に供給される。
一方、コントローラ40は、カウンタ39aに読み出し
クロック信号RCLK及び読み出し開始アドレス信号S
addを供給する。これによって、カウンタ39aは読
み出し開始アドレス信号が示す値からカウントを開始
し、そのカウント値データをアドレスデコーダ39bに
供給する。
The controller 40 uses the current frame memory 3
1 is supplied with a read clock signal RCLK and a block read address signal Badd for sequentially reading video data corresponding to the target block. by this,
The video data corresponding to the target block is sequentially read from the current frame memory 31 and supplied to the adding circuit 32.
On the other hand, the controller 40 causes the counter 39a to read the read clock signal RCLK and the read start address signal S.
Supply add. As a result, the counter 39a starts counting from the value indicated by the read start address signal and supplies the count value data to the address decoder 39b.

【0115】アドレスデコーダ39bは、入力端子38
を介して供給される動きベクトルデータCAvecに基
いて、カウンタ39aから供給されるカウント値データ
をデコードして読み出しアドレス信号を得、この読み出
しアドレス信号を参照フレームメモリ34に供給する。
これにより、参照フレームメモリ34からサーチエリア
内の対応ブロックの映像データが読み出され、加算回路
32に供給される。
The address decoder 39b has an input terminal 38.
The count value data supplied from the counter 39a is decoded on the basis of the motion vector data CAvec supplied via to obtain a read address signal, and the read address signal is supplied to the reference frame memory 34.
As a result, the video data of the corresponding block in the search area is read from the reference frame memory 34 and supplied to the adding circuit 32.

【0116】加算回路32においては、現フレームメモ
リ31から読み出された注目ブロックの映像データか
ら、参照フレームメモリ34から読み出されたサーチエ
リア内のブロックの映像データが画素単位で減算され
る。前フレームの映像データと現フレームの映像データ
の加算結果は絶対値回路41に供給され、この絶対値回
路41において差分絶対値データにされ、更に加算回路
42に供給される。
In the adder circuit 32, the video data of the block in the search area read from the reference frame memory 34 is subtracted in pixel units from the video data of the target block read from the current frame memory 31. The addition result of the video data of the previous frame and the video data of the current frame is supplied to the absolute value circuit 41, converted into absolute difference value data in the absolute value circuit 41, and further supplied to the addition circuit 42.

【0117】加算回路42に供給された差分絶対値デー
タはメモリ44に供給され、このメモリ44に記憶され
る。次に加算回路42に供給される次の画素に対応する
差分絶対値データは、遅延回路43において遅延されて
保持されている前の画素に対応する差分絶対値データと
加算され、差分絶対値和データにされた後、メモリ4に
供給され、このメモリ4に記憶される。つまり、現フレ
ームの注目ブロックの画素データと、前フレームのブロ
ックの画素データとの差分をとり、その差分データを順
次加算して差分絶対値和データを得、この差分絶対値和
データをメモリ44に記憶するといった処理を各ブロッ
ク毎に行うことによって、最終的に、メモリ44内に例
えば256個のブロックの差分絶対値和データを記憶さ
せることができる。
The absolute difference value data supplied to the adder circuit 42 is supplied to the memory 44 and stored in the memory 44. Next, the difference absolute value data corresponding to the next pixel supplied to the adding circuit 42 is added to the difference absolute value data corresponding to the previous pixel which is delayed and held in the delay circuit 43, and the difference absolute value sum is added. After being converted into data, it is supplied to the memory 4 and stored in the memory 4. That is, the difference between the pixel data of the target block of the current frame and the pixel data of the block of the previous frame is calculated, the difference data is sequentially added to obtain the difference absolute value sum data, and the difference absolute value sum data is stored in the memory 44. By performing the processing such as storing in each block, the difference absolute value sum data of, for example, 256 blocks can be finally stored in the memory 44.

【0118】サーチエリア内において全てのブロックに
よるサーチ処理が終了すると、最小値検出回路45がメ
モリ44に記憶されている256個のブロックの差分絶
対値和データの内、最も値の小さい差分絶対値和データ
を選び、その差分絶対値和データを動きベクトル検出回
路45に供給する。動きベクトル検出回路46は最小値
検出回路45からの差分絶対値和データに基いて動きベ
クトルデータvecを得、この動きベクトルデータve
cを圧縮映像データComViとして出力端子47を介
して図3に示したエラー訂正コード付加回路7及びコン
トローラ40に夫々供給する。そして、以下同様の処理
を注目ブロック毎にフレーム単位で行うことにより、映
像データViを圧縮映像データComViにする。
When the search processing by all blocks in the search area is completed, the minimum value detection circuit 45 has the smallest difference absolute value among the difference absolute value sum data of the 256 blocks stored in the memory 44. The sum data is selected and the difference absolute value sum data is supplied to the motion vector detection circuit 45. The motion vector detection circuit 46 obtains motion vector data vec based on the difference absolute value sum data from the minimum value detection circuit 45, and this motion vector data ve
c is supplied as compressed video data ComVi to the error correction code adding circuit 7 and the controller 40 shown in FIG. 3 via the output terminal 47, respectively. Then, the same processing is performed for each block of interest on a frame-by-frame basis to convert the video data Vi into the compressed video data ComVi.

【0119】〔第1実施例の効果〕以上説明したよう
に、本実施例においては、ビデオカメラで撮影して得ら
れた映像信号をフルサーチブロックマッチング処理によ
って圧縮符号化して伝送、或いは記録する際に、ビデオ
カメラそのものの動きベクトル情報やレンズの位置情報
に基いてサーチエリアを決定し、そのサーチエリアを用
いてフルサーチブロックマッチング処理を行うようにし
たので、回路規模を最小限として演算量を最小にし、こ
れによって消費電力を低減し、しかも復号時の画像を高
画質とすることができる。
[Effects of the First Embodiment] As described above, in the present embodiment, the video signal obtained by shooting with the video camera is compression-encoded by the full search block matching process and transmitted or recorded. At this time, the search area is determined based on the motion vector information of the video camera itself and the position information of the lens, and full search block matching processing is performed using that search area. The power consumption can be reduced and the image quality at the time of decoding can be improved.

【0120】[第2実施例][Second Embodiment]

【0121】E.本発明動き検出方法及びその装置並び
にカメラ一体型VTRの他の例の要部の構成及びその動
作説明(図5参照)
E. The motion detecting method and apparatus according to the present invention, and the configuration and operation of the main part of another example of the camera-integrated VTR (see FIG. 5)

【0122】図5は本発明動き検出方法及びその装置並
びにカメラ一体型VTRの他の例の要部を示す構成図で
あり、図3に示したカメラ一体型VTRの撮像部50に
おいてVAP(可変頂角プリズム)を用いた場合の撮像
部の構成例である。また、この例においては、図3に示
した動き検出センサ6として、水平方向の角速度センサ
65及び垂直方向の角速度センサ56を用いている。
尚、撮像部50以外の部分は図3と同様なので、他の部
分については、その図示及び説明を省略する。
FIG. 5 is a block diagram showing the essential portions of another example of the motion detecting method and apparatus according to the present invention and the camera-integrated VTR. In the image pickup section 50 of the camera-integrated VTR shown in FIG. It is an example of composition of an image pick-up part when using a vertical angle prism. Further, in this example, a horizontal angular velocity sensor 65 and a vertical angular velocity sensor 56 are used as the motion detection sensor 6 shown in FIG.
The parts other than the imaging unit 50 are the same as those in FIG. 3, and therefore, the illustration and description of the other parts are omitted.

【0123】この図に示すカメラ一体型VTRは、手振
れを補正することのできるものである。手振れとは、人
がビデオカメラを持って被写体を撮影するときに、自分
の意志に関係なく手や体が動いてしまうことによる、撮
影した画像の上下左右斜めへの動きである。このような
現象を回避するために、この図5に示すようなプリズム
51を用い、手振れによる角速度の変化を上記角速度セ
ンサ56及び65で検出し、検出した情報に基いてプリ
ズム51を駆動してプリズム51で被写体からの光を屈
折させ、CCD52の撮像面上において被写体からの光
を移動しないようにしている。
The camera-integrated VTR shown in this figure can correct camera shake. Shake is a movement of a photographed image vertically and horizontally as the person moves his / her body regardless of his / her will when he / she shoots a subject with a video camera. In order to avoid such a phenomenon, a prism 51 as shown in FIG. 5 is used, the change in angular velocity due to camera shake is detected by the angular velocity sensors 56 and 65, and the prism 51 is driven based on the detected information. Light from the subject is refracted by the prism 51 so that the light from the subject does not move on the imaging surface of the CCD 52.

【0124】〔接続及び構成〕プリズム51は、図に示
すように、2枚の板ガラス51a、51bを、これら2
枚の板ガラス51a、51bと略等しい径の透明な蛇腹
状のバネ部51cで接合すると共に、このバネ部51c
内部に屈折率が略ガラスと等しい液体51dを充填して
構成される。そしてこのプリズム51は、水平軸51e
及び垂直軸51fにより、夫々の軸51e、51fの近
傍に示す矢印の方向に回転できるようにビデオカメラの
筐体若しくは専用の取り付け部材に取り付けられる。
[Connection and Configuration] As shown in the figure, the prism 51 includes two plate glasses 51a and 51b, which are
The flat glass plates 51a and 51b are joined together by a transparent bellows-shaped spring portion 51c having a diameter substantially equal to each other.
The inside is filled with a liquid 51d having a refractive index substantially equal to that of glass. The prism 51 has a horizontal axis 51e.
Also, the vertical shaft 51f is attached to the housing of the video camera or a dedicated mounting member so as to be rotatable in the directions of the arrows near the respective shafts 51e and 51f.

【0125】52はプリズム51からの光を光電変換し
て電気信号を得るCCD、53はこのCCD52からの
電気信号をディジタル信号に変換するA−Dコンバー
タ、54はA−Dコンバータ53からのディジタル信号
にホワイトバランス調整、ブラックバランス調整、ニー
補正、γ補正、ディテール信号付加等の各種信号処理を
施すカメラ部信号処理回路である。
Reference numeral 52 is a CCD for photoelectrically converting the light from the prism 51 to obtain an electric signal, 53 is an AD converter for converting the electric signal from the CCD 52 into a digital signal, and 54 is a digital signal from the AD converter 53. The camera unit signal processing circuit performs various signal processing such as white balance adjustment, black balance adjustment, knee correction, γ correction, and addition of a detail signal on the signal.

【0126】また、上記プリズム51の垂直軸51fの
系は、垂直方向における角速度を検出する角速度センサ
56、この角速度センサ56からの検出出力をディジタ
ル信号に変換するA−Dコンバータ57、A−Dコンバ
ータ57からのディジタル信号を積分するディジタル積
分回路58、このディジタル積分回路58からの積分出
力をアナログ信号に変換するD−Aコンバータ59、こ
のD−Aコンバータ59の出力と頂角センサ64からの
検出出力を加算する加算回路60、この加算回路60の
出力と制動コイル63の出力を加算する加算回路61、
この加算回路61の出力に基いてプリズム51を垂直軸
51fを中心に垂直方向に駆動するアクチュエータ6
2、制動コイル63、垂直軸51fの垂直方向における
位置を検出する頂角センサ64で構成される。
The system of the vertical axis 51f of the prism 51 includes an angular velocity sensor 56 for detecting the angular velocity in the vertical direction, and an AD converter 57, AD for converting the detection output from the angular velocity sensor 56 into a digital signal. A digital integration circuit 58 that integrates the digital signal from the converter 57, a DA converter 59 that converts the integrated output from the digital integration circuit 58 into an analog signal, the output of the DA converter 59 and the apex angle sensor 64. An adder circuit 60 for adding the detection outputs, an adder circuit 61 for adding the output of the adder circuit 60 and the output of the braking coil 63,
An actuator 6 that drives the prism 51 in the vertical direction about the vertical axis 51f based on the output of the adder circuit 61.
2, a braking coil 63, and an apex angle sensor 64 for detecting the vertical position of the vertical shaft 51f.

【0127】また、上記プリズム51の水平軸51eの
系は、水平方向における角速度を検出する角速度センサ
65、この角速度センサ65からの検出出力をディジタ
ル信号に変換するA−Dコンバータ66、A−Dコンバ
ータ66からのディジタル信号を積分するディジタル積
分回路67、このディジタル積分回路67からの積分出
力をアナログ信号に変換するD−Aコンバータ68、こ
のD−Aコンバータ68の出力と頂角センサ73からの
検出出力を加算する加算回路69、この加算回路69の
出力と制動コイル72の出力を加算する加算回路70、
この加算回路70の出力に基いてプリズム51を水平軸
51eを中心に水平方向に駆動するアクチュエータ7
1、制動コイル72、水平軸51eの水平方向における
位置を検出する頂角センサ73で構成される。
The system of the horizontal axis 51e of the prism 51 is an angular velocity sensor 65 for detecting an angular velocity in the horizontal direction, and an AD converter 66, AD for converting the detection output from the angular velocity sensor 65 into a digital signal. A digital integrating circuit 67 for integrating the digital signal from the converter 66, a DA converter 68 for converting the integrated output from the digital integrating circuit 67 into an analog signal, an output of the DA converter 68 and an apex angle sensor 73. An adder circuit 69 for adding the detection outputs, an adder circuit 70 for adding the output of the adder circuit 69 and the output of the braking coil 72,
An actuator 7 that drives the prism 51 horizontally based on the output of the adder circuit 70 around the horizontal axis 51e.
1, a braking coil 72, and an apex angle sensor 73 for detecting the horizontal position of the horizontal shaft 51e.

【0128】74は角速度センサ56及び65からの検
出出力に基いて動きベクトル情報を得、この動きベクト
ル情報CAvecを出力端子75を介して図3に示した
圧縮符号化回路5に供給する、動き情報出力回路74で
ある。この動き情報出力回路74の水平方向の検出信号
の入力端子を、ディジタル積分回路58及びA−Dコン
バータ57間の接続点に接続し、この動き情報出力回路
74の垂直方向の検出信号の入力端子を、ディジタル積
分回路67及びA−Dコンバータ66間の接続点に接続
する。
74 obtains motion vector information based on the detection outputs from the angular velocity sensors 56 and 65, and supplies this motion vector information CAvec to the compression coding circuit 5 shown in FIG. The information output circuit 74. The input terminal for the horizontal detection signal of the motion information output circuit 74 is connected to the connection point between the digital integration circuit 58 and the AD converter 57, and the input terminal for the vertical detection signal of the motion information output circuit 74. Is connected to the connection point between the digital integration circuit 67 and the AD converter 66.

【0129】ここで、上記動き情報出力回路74は、例
えば水平方向の角速度の検出出力と、垂直方向の角速度
の検出出力とに基いて、図4に示したアドレスデコーダ
39bにおける読み出し開始アドレスデータSaddの
ずらし量を示す動きベクトル情報CAvecを得る。
Here, the motion information output circuit 74, for example, based on the detection output of the horizontal angular velocity and the detection output of the vertical angular velocity, the read start address data Sadd in the address decoder 39b shown in FIG. The motion vector information CAvec indicating the shift amount is obtained.

【0130】〔動作〕角速度センサ56からの検出出力
はディジタル積分回路58において積分された後にD−
Aコンバータ59においてアナログ信号に変換され、加
算回路60において頂角センサ64からの検出出力と加
算される。この加算回路60の加算出力は、加算回路6
1において制動コイル63からの出力と加算され、駆動
信号としてアクチュエータ62に供給される。これによ
り、プリズム51は垂直方向に駆動され、手振れによる
画像の垂直方向の動きが補正される。
[Operation] The detection output from the angular velocity sensor 56 is integrated in the digital integration circuit 58 and then D-
It is converted into an analog signal in the A converter 59, and is added to the detection output from the apex angle sensor 64 in the adding circuit 60. The addition output of the addition circuit 60 is the addition circuit 6
At 1, the output is added to the output from the braking coil 63 and supplied to the actuator 62 as a drive signal. As a result, the prism 51 is driven in the vertical direction, and the vertical movement of the image due to camera shake is corrected.

【0131】一方、角速度センサ65からの検出出力は
ディジタル積分回路67において積分された後にD−A
コンバータ68においてアナログ信号に変換され、加算
回路69において頂角センサ73からの検出出力と加算
される。この加算回路69の加算出力は、加算回路70
において制動コイル72からの出力と加算され、駆動信
号としてアクチュエータ71に供給される。これによ
り、プリズム51は水平方向に駆動され、手振れによる
画像の水平方向の動きが補正される。
On the other hand, the detection output from the angular velocity sensor 65 is integrated in the digital integration circuit 67 and then D-A
It is converted into an analog signal in the converter 68, and is added to the detection output from the apex angle sensor 73 in the adding circuit 69. The addition output of the addition circuit 69 is the addition circuit 70.
At, the output is added to the output from the braking coil 72 and is supplied to the actuator 71 as a drive signal. As a result, the prism 51 is driven in the horizontal direction, and the horizontal movement of the image due to camera shake is corrected.

【0132】また、これに伴って、動き情報出力回路7
4には、角速度センサ56及び65からの検出出力が夫
々供給され、動き情報出力回路74は、これらの検出出
力に基いて動きベクトル情報CAvecを得、この動き
ベクトル情報CAvecを出力端子75を介して図4に
示したアドレスデコーダ39bに供給する。これによっ
て、図4に示した圧縮符号化回路5においては、現フレ
ームの注目ブロックに対し、最も適したサーチエリアを
決定し、速く、そして確実に被写体の動きベクトルを検
出して良好に圧縮符号化処理を行うことができる。
Further, along with this, the motion information output circuit 7
4, the detection outputs from the angular velocity sensors 56 and 65 are respectively supplied, the motion information output circuit 74 obtains the motion vector information CAvec based on these detection outputs, and the motion vector information CAvec is output via the output terminal 75. The address decoder 39b shown in FIG. As a result, in the compression encoding circuit 5 shown in FIG. 4, the most suitable search area is determined for the target block of the current frame, the motion vector of the subject is detected quickly and reliably, and the compression encoding is favorably performed. Can be processed.

【0133】尚、本出願人は、上記手振れ補正に関して
先に出願している(特願平4−63905号参照)
The applicant of the present invention has previously filed the above-mentioned image stabilization (see Japanese Patent Application No. 4-63905).

【0134】〔第2実施例の効果〕以上説明したよう
に、本実施例においては、ビデオカメラで撮影して得ら
れた映像信号をフルサーチブロックマッチング処理によ
って圧縮符号化して伝送、或いは記録する際に、手振れ
補正に用いる角速度センサ56及び65の出力を利用し
てサーチエリアを決定し、そのサーチエリアを用いてフ
ルサーチブロックマッチング処理を行うようにしたの
で、回路規模を最小限として演算量を最小にし、これに
よって消費電力を低減し、しかも復号時の画像を高画質
とすることができる。また、この場合は、サーチエリア
の決定のために角速度センサ56、65を設けるわけで
はないので、カメラ一体型VTR、ビデオカメラの構成
部品を最小限にして高機能化することができる。
[Effects of the Second Embodiment] As described above, in the present embodiment, the video signal obtained by shooting with the video camera is compression-encoded by the full search block matching process and transmitted or recorded. At this time, the search area is determined by using the outputs of the angular velocity sensors 56 and 65 used for camera shake correction, and the full search block matching process is performed using the search area. The power consumption can be reduced and the image quality at the time of decoding can be improved. Further, in this case, since the angular velocity sensors 56 and 65 are not provided for determining the search area, it is possible to minimize the number of components of the camera-integrated VTR and the video camera, and to enhance the functionality.

【0135】[第3実施例][Third Embodiment]

【0136】F.本発明動き検出方法及びその装置並び
にカメラ一体型VTRの更に他の例の説明に供するサー
チの説明(図6参照)
F. Description of search for explaining still another example of the motion detection method and apparatus and the VTR with camera according to the present invention (see FIG. 6)

【0137】図6はサーチエリアのサーチの方法を説明
するための説明図である。
FIG. 6 is an explanatory diagram for explaining a method of searching the search area.

【0138】通常は、サーチエリアSa3内において、
左上角から右方向に、次に1画素分下げて、左方向にす
る等、直線的に1画素分ずつブロックをずらしてサーチ
を行うが、図において実線の矢印で示すように、アドレ
ス操作により、中心から外側に向かって時計回り(若し
くは反時計回り)に1画素分ずつブロックをずらしてサ
ーチするようにしても良い。
Normally, in the search area Sa3,
The search is performed by linearly shifting the block by one pixel from the upper left corner to the right, then lowering it by one pixel, and then moving to the left. However, as shown by the solid arrow in the figure, the address operation is performed. Alternatively, the blocks may be shifted by one pixel in the clockwise direction (or counterclockwise direction) from the center toward the outside to perform the search.

【0139】このようにした場合、上記第1及び第2実
施例によるサーチエリアを限定する方法と併用すれば、
より速くサーチエリアSa3内である設定値以下の値が
でたときにサーチ処理を打ち切るようにすれば、より高
速に符号化を行うことができる。尚、ここでいうある設
定値とは、上述した差分絶対値和に対応した設定値であ
る。
In this case, if the method for limiting the search area according to the first and second embodiments is used together,
If the search process is terminated faster when a value equal to or less than the set value in the search area Sa3 appears, encoding can be performed at higher speed. The certain set value referred to here is a set value corresponding to the sum of absolute differences described above.

【0140】[0140]

【発明の効果】上述せる第1の発明によれば、現フレー
ム画像中の注目領域画像に対応して、前フレーム画像中
に探索領域を設定し、該探索領域内において、参照領域
を順次移動させると共に、該参照領域の画像を読み出
し、上記注目領域画像との差分絶対値を得、該差分を累
積して上記参照領域毎の差分累積値を求め、該差分累積
値の内で最も最小となるものを動きベクトル情報とする
際に、上記前フレーム画像中に探索領域を設定する場合
には、装置そのものの動きベクトルを動き検出センサ1
で得、現フレーム及び前フレーム間の装置そのものの動
きベクトル情報の負方向に上記探索範囲の中点を設定す
るようにしたので、装置そのものの動きベクトル成分を
キャンセルし、被写体の動きに対応した探索領域を設定
し、高速、且つ、正確に被写体の動きを検出することが
でき、これによって、被写体の動き検出速度を高速に
し、演算量を減らし、復号時に良好な画像を得ることが
できるという効果がある。
According to the first invention described above, a search area is set in the previous frame image in correspondence with the attention area image in the current frame image, and the reference area is sequentially moved in the search area. At the same time, the image of the reference area is read out, the absolute value of the difference from the attention area image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is determined to be the smallest value. When setting a search area in the previous frame image when the following is used as the motion vector information, the motion vector of the device itself is used as the motion detection sensor 1.
Since the middle point of the search range is set in the negative direction of the motion vector information of the device itself between the current frame and the previous frame, the motion vector component of the device itself is canceled and the motion of the subject is dealt with. It is possible to set the search area and detect the motion of the subject at high speed and accurately, thereby increasing the motion detection speed of the subject, reducing the amount of calculation, and obtaining a good image during decoding. effective.

【0141】上述せる第2の発明によれば、上記第1の
発明において、探索時においては、上記探索領域の中心
から外側に向かって順次探索を行うようにしたので、検
出速度を向上させることができ、これによって、更に処
理速度を向上させることができるという効果がある。
According to the second aspect of the invention described above, in the first aspect of the invention, during the search, the search is sequentially performed from the center of the search area toward the outside, so that the detection speed is improved. Therefore, there is an effect that the processing speed can be further improved.

【0142】上述せる第3の発明によれば、ビデオカメ
ラで得られた現フレーム画像中の注目領域画像に対応し
て、前フレーム画像中に探索領域を設定し、該探索領域
内において、参照領域を順次移動させると共に、該参照
領域の画像を読み出し、上記注目領域画像との差分絶対
値を得、該差分を累積して上記参照領域毎の差分累積値
を求め、該差分累積値の内で最も最小となるものを動き
ベクトル情報とする際に、上記前フレーム画像中に探索
領域を設定する場合には、ビデオカメラのレンズの位置
情報に基いて上記探索範囲を設定するようにしたので、
被写体の動きに対応した探索領域を設定し、高速、且
つ、正確に被写体の動きを検出することができ、これに
よって、被写体の動き検出速度を高速にし、演算量を減
らして回路規模を小にし、回路の消費電力を低減し、復
号時に良好な画像を得ることができるという効果があ
る。
According to the third invention described above, a search area is set in the previous frame image corresponding to the attention area image in the current frame image obtained by the video camera, and reference is made in the search area. While sequentially moving the area, the image of the reference area is read out, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is calculated. When the search area is set in the previous frame image when the smallest one is used as the motion vector information, the search range is set based on the position information of the lens of the video camera. ,
By setting a search area that corresponds to the movement of the subject, the movement of the subject can be detected accurately at high speed. This makes the movement detection speed of the subject high, reduces the amount of calculation, and reduces the circuit scale. There is an effect that the power consumption of the circuit is reduced and a good image can be obtained at the time of decoding.

【0143】上述せる第4の発明によれば、上記第3の
発明において、探索時においては、上記探索領域の中心
から外側に向かって順次探索を行うようにしたので、検
出速度を向上させることができ、これによって、更に処
理速度を向上させることができるという効果がある。
According to the fourth aspect of the invention described above, in the third aspect of the invention, during the search, the search is sequentially performed from the center of the search area toward the outside, so that the detection speed is improved. Therefore, there is an effect that the processing speed can be further improved.

【0144】上述せる第5の発明によれば、ビデオカメ
ラで得られた現フレーム画像中の注目領域画像に対応し
て、前フレーム画像中に探索領域を設定し、該探索領域
内において、参照領域を順次移動させると共に、該参照
領域の画像を読み出し、上記注目領域画像との差分絶対
値を得、該差分を累積して上記参照領域毎の差分累積値
を求め、該差分累積値の内で最も最小となるものを動き
ベクトル情報とする際に、上記前フレーム画像中に探索
領域を設定する場合には、装置そのものの動きベクトル
を動き検出センサ1で得、現フレーム及び前フレーム間
の装置そのものの動きベクトル情報の負方向に上記探索
範囲の中点を設定すると共に、ビデオカメラのレンズの
位置情報に基いて上記探索範囲を設定するようにしたの
で、被写体の動きに対応した探索領域を設定し、高速、
且つ、正確に被写体の動きを検出することができ、これ
によって、被写体の動き検出速度を高速にし、演算量を
減らして回路規模を小にし、回路の消費電力を低減し、
復号時に良好な画像を得ることができるという効果があ
る。
According to the fifth aspect of the invention described above, a search area is set in the previous frame image corresponding to the attention area image in the current frame image obtained by the video camera, and reference is made in the search area. While sequentially moving the area, the image of the reference area is read out, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference cumulative value for each reference area, and the difference cumulative value is calculated. When the search area is set in the previous frame image when the smallest one among the above is used as the motion vector information, the motion vector of the device itself is obtained by the motion detection sensor 1, and the motion vector between the current frame and the previous frame is obtained. Since the middle point of the search range is set in the negative direction of the motion vector information of the device itself, and the search range is set based on the position information of the video camera lens, the movement of the subject Set the corresponding search area, high-speed,
In addition, it is possible to accurately detect the movement of the subject, thereby increasing the movement detection speed of the subject, reducing the amount of calculation, reducing the circuit scale, and reducing the power consumption of the circuit.
There is an effect that a good image can be obtained at the time of decoding.

【0145】上述せる第6の発明によれば、上記第5の
発明において、探索時においては、上記探索領域の中心
から外側に向かって順次探索を行うようにしたので、検
出速度を向上させることができ、これによって、更に処
理速度を向上させることができるという効果がある。
According to the sixth invention described above, in the fifth invention, at the time of the search, the search is sequentially performed from the center of the search area toward the outside, so that the detection speed is improved. Therefore, there is an effect that the processing speed can be further improved.

【0146】上述せる第7の発明によれば、符号化手段
3により、現フレーム画像中の注目領域画像に対応し
て、前フレーム画像中に探索領域を設定し、該探索領域
内において、参照領域を順次移動させると共に、該参照
領域の画像を読み出し、上記注目領域画像との差分絶対
値を得、該差分を累積して上記参照領域毎の差分累積値
を求め、該差分累積値の内で最も最小となるものを動き
ベクトル情報とすると共に、撮影手段2と一体に設けら
れ、上記撮影手段2そのものの動きを検出する動き情報
検出手段1からの動き情報、上記撮影手段2からのレン
ズ位置情報、或いは上記動き情報検出手段1からの動き
情報及び上記撮影手段2からのレンズ位置情報に基いて
上記探索範囲を設定するようにしたので、撮影手段その
ものの動き成分をキャンセルし、撮影手段のレンズ位置
に対応させた探索領域を設定し、被写体の動きに対応し
た探索領域を設定し、高速、且つ、正確に被写体の動き
を検出することができ、これによって、被写体の動き検
出速度を高速にし、演算量を減らして回路規模を小に
し、回路の消費電力を低減し、復号時に良好な画像を得
ることができるという効果がある。
According to the seventh aspect of the invention described above, the encoding means 3 sets a search area in the previous frame image in correspondence with the attention area image in the current frame image, and makes a reference in the search area. While sequentially moving the area, the image of the reference area is read out, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the difference accumulated value is calculated. In addition to the motion vector information having the smallest value, the motion information from the motion information detecting means 1 which is provided integrally with the photographing means 2 and detects the movement of the photographing means 2 itself, the lens from the photographing means 2 Since the search range is set based on the position information or the movement information from the movement information detecting means 1 and the lens position information from the photographing means 2, the movement component of the photographing means itself is set. Then, the search area corresponding to the lens position of the photographing means is set, the search area corresponding to the movement of the subject is set, and the movement of the subject can be detected accurately at high speed. There is an effect that the motion detection speed can be increased, the calculation amount can be reduced to reduce the circuit scale, the power consumption of the circuit can be reduced, and a good image can be obtained at the time of decoding.

【0147】上述せる第8の発明によれば、上記第7の
発明において、探索時においては、上記探索領域の中心
から外側に向かって順次探索を行うようにしたので、検
出速度を向上させることができ、これによって、更に処
理速度を向上させることができるという効果がある。
According to the eighth invention described above, in the seventh invention, at the time of the search, the search is sequentially performed from the center of the search area toward the outside, so that the detection speed is improved. Therefore, there is an effect that the processing speed can be further improved.

【0148】上述せる第9の発明によれば、現フレーム
の映像信号を現フレームメモリ31に記憶し、参照フレ
ームの映像信号を参照フレームメモリ34に記憶し、書
き込みアドレス発生手段37により、上記現フレームメ
モリ31及び上記参照フレームメモリ34に書き込みア
ドレスデータを供給し、制御手段40により、上記現フ
レームメモリ31に読み出しアドレスデータを供給し、
上記現フレームメモリ31から注目領域の画像データを
読み出すと共に上記参照フレームメモリ34における参
照領域の先頭読み出しアドレスデータを発生し、読み出
しアドレス発生手段39により、上記制御手段40から
の先頭読み出しアドレスデータ及び装置の動きを検出す
るセンサ6からの装置そのものの動き情報に基いて、上
記参照フレームメモリ34に供給する読み出しアドレス
データを発生し、上記現フレームメモリ31から読み出
された注目領域の画像データと、上記参照フレームメモ
リ34から読み出された探索領域内の参照領域の画像デ
ータとの差分を差分取得手段32、41で得、上記差分
取得手段32、41からの差分データを上記探索領域内
の参照領域毎に累積して差分和データを累積手段42、
43で得、上記探索範囲内の参照領域毎の差分和データ
の内の最小値を最小値検出手段44、45で検出し、上
記最小値検出手段44、45によって検出された最小差
分和データから動きベクトル情報を動きベクトル検出手
段46で得るようにしたので、動きベクトル情報を高
速、且つ、正確に検出することができ、これによって、
被写体の動き検出速度を高速にし、演算量を減らして回
路規模を小にし、回路の消費電力を低減し、復号時に良
好な画像を得ることができるという効果がある。
According to the ninth aspect of the invention described above, the video signal of the current frame is stored in the current frame memory 31, the video signal of the reference frame is stored in the reference frame memory 34, and the write address generating means 37 causes the current signal to be stored. Write address data is supplied to the frame memory 31 and the reference frame memory 34, and read address data is supplied to the current frame memory 31 by the control means 40.
The image data of the area of interest is read from the current frame memory 31, the head read address data of the reference area in the reference frame memory 34 is generated, and the read address generating means 39 causes the head read address data from the control means 40 and the device. Image data of the attention area read from the current frame memory 31 by generating read address data to be supplied to the reference frame memory 34 based on the motion information of the device itself from the sensor 6 that detects the motion of The difference between the image data of the reference area in the search area read from the reference frame memory 34 is obtained by the difference acquisition means 32, 41, and the difference data from the difference acquisition means 32, 41 is referred to in the search area. Accumulating means 42 for accumulating the sum of differences for each area,
43, the minimum value of the difference sum data for each reference area in the search range is detected by the minimum value detecting means 44, 45, and from the minimum difference sum data detected by the minimum value detecting means 44, 45. Since the motion vector information is obtained by the motion vector detecting means 46, the motion vector information can be detected at high speed and accurately.
There are effects that the motion detection speed of the object is increased, the amount of calculation is reduced, the circuit scale is reduced, the power consumption of the circuit is reduced, and a good image can be obtained at the time of decoding.

【0149】上述せる第10の発明によれば、上記第9
の発明において、探索時においては、上記探索領域の中
心から外側に向かって順次探索を行うようにしたので、
検出速度を向上させることができ、これによって、更に
処理速度を向上させることができるという効果がある。
According to the tenth invention described above, the ninth invention
In the invention described above, at the time of search, the search is sequentially performed from the center of the search area toward the outside,
The detection speed can be improved, which has the effect of further improving the processing speed.

【0150】上述せる第11の発明によれば、光学系5
0aと、撮像素子50bと、撮像信号用の処理回路50
c、50dとからなる撮像部50の動きを動き検出手段
6で検出し、符号化手段5により、上記撮像部50から
の映像信号を上記動き検出手段6からの動き情報に基い
て、上記撮像部50の動き成分をキャンセルするように
符号化し、エラー訂正コード付加手段7により、上記符
号化手段5からの符号化出力にエラー訂正コードを付加
し、上記エラー訂正コード付加手段7からの出力を変調
手段11により変調し、上記変調手段11からの変調出
力を記録手段12、13により記録媒体に記録し、上記
記録媒体から記録信号を再生手段13、14で再生し、
上記再生手段13、14からの出力を復調手段15、1
6で復調し、上記復調手段15、16からの出力に対し
てエラー訂正処理手段17によりエラー訂正処理を施
し、上記エラー訂正処理手段17からの出力を復号化手
段18により復号化して元の映像信号を得るようにした
ので、動きベクトル情報を高速、且つ、正確に検出し、
その検出結果を記録でき、再生時においても良好な再生
画像を得ることができ、これによって、被写体の動き検
出速度を高速にし、演算量を減らして本体を小型化し、
回路の消費電力を低減してバッテリ等を用いた場合にお
ける連続使用時間を長くし、復号時に良好な画像を得る
ことができるという効果がある。
According to the eleventh invention described above, the optical system 5
0a, the image pickup element 50b, and the processing circuit 50 for the image pickup signal
The motion detection means 6 detects the motion of the image pickup section 50 composed of c and 50d, and the encoding means 5 detects the image signal from the image pickup section 50 based on the motion information from the motion detection means 6 to obtain the image. The encoding is performed so as to cancel the motion component of the unit 50, the error correction code adding means 7 adds an error correction code to the encoded output from the encoding means 5, and the output from the error correction code adding means 7 is output. The modulation means 11 modulates, the modulated output from the modulating means 11 is recorded on a recording medium by the recording means 12 and 13, and the recording signal is reproduced from the recording medium by the reproducing means 13 and 14,
The outputs from the reproducing means 13 and 14 are demodulated means 15 and 1,
6, demodulation is performed, the output from the demodulation means 15 and 16 is subjected to error correction processing by the error correction processing means 17, and the output from the error correction processing means 17 is decoded by the decoding means 18 to obtain the original video. Since the signal is obtained, the motion vector information is detected at high speed and accurately,
The detection result can be recorded, and a good reproduced image can be obtained even at the time of reproduction, thereby increasing the motion detection speed of the subject, reducing the amount of calculation, and downsizing the main body,
There is an effect that the power consumption of the circuit is reduced, the continuous use time is extended when a battery or the like is used, and a good image can be obtained at the time of decoding.

【0151】上述せる第12の発明によれば、上記第1
1の発明において、上記光学系50aに可変頂角プリズ
ム51を用い、上記可変頂角プリズム51を上記動き検
出手段56、65からの動き情報に基いて駆動手段57
〜64、66〜73で駆動する。これによって、手振れ
補正用のセンサの出力を動き検出に流用することができ
る。
According to the twelfth invention described above, the first invention
In the first aspect of the invention, a variable vertical angle prism 51 is used in the optical system 50a, and the variable vertical angle prism 51 is driven by the driving means 57 based on the motion information from the motion detecting means 56, 65.
It drives by ~ 64 and 66-73. As a result, the output of the camera shake correction sensor can be used for motion detection.

【0152】上述せる第13の発明によれば、上記第1
1の発明において、現フレームの映像信号を現フレーム
メモリ31に記憶し、参照フレームの映像信号を参照フ
レームメモリ34に記憶し、書き込みアドレス発生手段
37により、上記現フレームメモリ31及び上記参照フ
レームメモリ34に書き込みアドレスデータを供給し、
制御手段40により、上記現フレームメモリ31に読み
出しアドレスデータを供給し、上記現フレームメモリ3
1から注目領域の画像データを読み出すと共に上記参照
フレームメモリ34における参照領域の先頭読み出しア
ドレスデータを発生し、読み出しアドレス発生手段39
により、上記制御手段40からの先頭読み出しアドレス
データ及び装置の動きを検出するセンサ6からの装置そ
のものの動き情報に基いて、上記参照フレームメモリ3
4に供給する読み出しアドレスデータを発生し、上記現
フレームメモリ31から読み出された注目領域の画像デ
ータと、上記参照フレームメモリ34から読み出された
探索領域内の参照領域の画像データとの差分を差分取得
手段32、41で得、上記差分取得手段32、41から
の差分データを上記探索領域内の参照領域毎に累積して
差分和データを累積手段42、43で得、上記探索範囲
内の参照領域毎の差分和データの内の最小値を最小値検
出手段44、45で検出し、上記最小値検出手段44、
45によって検出された最小差分和データから動きベク
トル情報を動きベクトル検出手段46で得るようにした
ので、動きベクトル情報を高速、且つ、正確に検出する
ことができ、これによって、被写体の動き検出速度を高
速にし、演算量を減らして回路規模を小にし、回路の消
費電力を低減し、復号時に良好な画像を得ることができ
るという効果がある。
According to the thirteenth invention described above, the first invention
In the invention of claim 1, the video signal of the current frame is stored in the current frame memory 31, the video signal of the reference frame is stored in the reference frame memory 34, and the write address generating means 37 causes the current frame memory 31 and the reference frame memory. Supply write address data to 34,
The control unit 40 supplies the read address data to the current frame memory 31, and the current frame memory 3 is read.
1, the image data of the attention area is read, the head read address data of the reference area in the reference frame memory 34 is generated, and the read address generating means 39 is used.
Thus, based on the head read address data from the control means 40 and the motion information of the device itself from the sensor 6 that detects the motion of the device, the reference frame memory 3 is obtained.
4, the difference between the image data of the attention area read from the current frame memory 31 and the image data of the reference area in the search area read from the reference frame memory 34 is generated. Is obtained by the difference obtaining means 32, 41, the difference data from the difference obtaining means 32, 41 is accumulated for each reference area in the search area, and difference sum data is obtained by the accumulating means 42, 43 within the search range. The minimum value of the difference sum data for each reference area is detected by the minimum value detecting means 44, 45, and the minimum value detecting means 44,
Since the motion vector information is obtained by the motion vector detecting means 46 from the minimum difference sum data detected by 45, the motion vector information can be detected at high speed and accurately, whereby the motion detection speed of the subject. Is faster, the amount of calculation is reduced to reduce the circuit scale, the power consumption of the circuit is reduced, and a good image can be obtained at the time of decoding.

【0153】上述せる第14の発明によれば、上記第1
3の発明において、探索時においては、上記探索領域の
中心から外側に向かって順次探索を行うようにしたの
で、検出速度を向上させることができ、これによって、
更に処理速度を向上させることができるという効果があ
る。
According to the fourteenth invention described above, the first invention
In the third aspect of the invention, since the search is sequentially performed from the center of the search area toward the outside during the search, the detection speed can be improved.
Further, there is an effect that the processing speed can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明動き検出方法及びその装置並びにカメラ
一体型VTRの一実施例を示す構成図である。
FIG. 1 is a block diagram showing an embodiment of a motion detecting method and apparatus according to the present invention and a camera-integrated VTR.

【図2】本発明動き検出方法及びその装置並びにカメラ
一体型VTRの一実施例が適用されるカメラ一体型VT
Rの構成例を示す構成図である。
FIG. 2 is a camera-integrated VT to which an embodiment of the motion detection method and apparatus and the camera-integrated VTR of the present invention is applied.
It is a block diagram which shows the structural example of R.

【図3】図2に示したカメラ一体型VTRの圧縮符号化
回路の内部構成例を示す構成図である。
FIG. 3 is a configuration diagram showing an example of the internal configuration of a compression encoding circuit of the camera-integrated VTR shown in FIG.

【図4】本発明動き検出方法及びその装置並びにカメラ
一体型VTRの一実施例の動き検出処理を説明するため
の説明図である。
FIG. 4 is an explanatory diagram for explaining a motion detection process of an embodiment of a motion detection method and apparatus according to the present invention and a camera-integrated VTR.

【図5】本発明動き検出方法及びその装置並びにカメラ
一体型VTRの一実施例の他の例の要部の構成例を示す
構成図である。
FIG. 5 is a configuration diagram showing a configuration example of a main part of another example of the embodiment of the motion detection method and apparatus according to the present invention and the camera-integrated VTR.

【図6】本発明動き検出方法及びその装置並びにカメラ
一体型VTRの一実施例の更に他の例の説明に供するサ
ーチを説明するための説明図である。
FIG. 6 is an explanatory diagram for explaining a search used for explaining still another example of the embodiment of the motion detecting method and apparatus according to the present invention and the camera-integrated VTR.

【図7】従来の動き検出装置の一例を示す説明図であ
る。
FIG. 7 is an explanatory diagram showing an example of a conventional motion detection device.

【図8】従来の動き検出装置の説明に供する説明図であ
る。
FIG. 8 is an explanatory diagram for explaining a conventional motion detection device.

【符号の説明】[Explanation of symbols]

1 動き情報検出手段 2 撮影手段 3 符号化手段 4 記録手段 5 圧縮符号化回路 6 動き検出センサ 7 エラー訂正コード付加回路 11 チャンネルコーディング回路 12 記録増幅回路 13 テープトランスポート 14 再生増幅回路 15 データ抽出回路 16 チャンネルデコーディング回路 17 エラー訂正処理回路 18 圧縮復号化回路 31 現フレームメモリ 32、42 加算回路 34 参照フレームメモリ 37 書き込みアドレス発生回路 39 読み出しアドレス発生回路 40 コントローラ 41 絶対値回路 43 遅延回路 44 メモリ 45 最小値検出回路 46 動きベクトル検出回路 50 撮像部 50a 光学系 50b、52 CCD 50c、53、57 A−Dコンバータ 50d カメラ部信号処理回路 50d 51 プリズム 56、65 角速度センサ 58、67 ディジタル積分回路 59、68 D−Aコンバータ 60、61、69、70 加算回路 62、71 アクチエータ 63、72 制動コイル 64、73 頂角センサ DESCRIPTION OF SYMBOLS 1 motion information detection means 2 photographing means 3 encoding means 4 recording means 5 compression encoding circuit 6 motion detection sensor 7 error correction code addition circuit 11 channel coding circuit 12 recording amplification circuit 13 tape transport 14 reproduction amplification circuit 15 data extraction circuit 16 channel decoding circuit 17 error correction processing circuit 18 compression decoding circuit 31 current frame memory 32, 42 adder circuit 34 reference frame memory 37 write address generating circuit 39 read address generating circuit 40 controller 41 absolute value circuit 43 delay circuit 44 memory 45 Minimum value detection circuit 46 Motion vector detection circuit 50 Imaging section 50a Optical system 50b, 52 CCD 50c, 53, 57 A-D converter 50d Camera section signal processing circuit 50d 51 Prism 56, 65 Speed sensors 58,67 digital integrator circuit 59,68 D-A converter 60,61,69,70 adder circuit 62,71 actuator 63 and 72 brake coil 64 and 73 apex angle sensor

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/92 7/18 K H04N 5/92 H Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI Technical display location H04N 5/92 7/18 K H04N 5/92 H

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 現フレーム画像中の注目領域画像に対応
して、前フレーム画像中に探索領域を設定し、該探索領
域内において、参照領域を順次移動させると共に、該参
照領域の画像を読み出し、上記注目領域画像との差分絶
対値を得、該差分を累積して上記参照領域毎の差分累積
値を求め、該差分累積値の内で最も最小となるものを動
きベクトル情報とする動き検出方法であって、 上記前フレーム画像中に探索領域を設定する場合には、
装置そのものの動きベクトルを動き検出センサで得、現
フレーム及び前フレーム間の装置そのものの動きベクト
ル情報の負方向に上記探索範囲の中点を設定することを
特徴とする動き検出方法。
1. A search region is set in a previous frame image corresponding to a region of interest image in a current frame image, reference regions are sequentially moved within the search region, and an image in the reference region is read out. , A difference absolute value with respect to the attention area image is obtained, the difference is accumulated to obtain a difference accumulated value for each reference area, and the smallest of the difference accumulated values is used as motion vector information. In the method, when setting the search area in the previous frame image,
A motion detection method characterized in that the motion vector of the device itself is obtained by a motion detection sensor, and the midpoint of the search range is set in the negative direction of the motion vector information of the device itself between the current frame and the previous frame.
【請求項2】 探索時においては、上記探索領域の中心
から外側に向かって順次探索を行うことを特徴とする請
求項1記載の動き検出方法。
2. The motion detection method according to claim 1, wherein during the search, the search is sequentially performed from the center of the search area toward the outside.
【請求項3】 ビデオカメラで得られた現フレーム画像
中の注目領域画像に対応して、前フレーム画像中に探索
領域を設定し、該探索領域内において、参照領域を順次
移動させると共に、該参照領域の画像を読み出し、上記
注目領域画像との差分絶対値を得、該差分を累積して上
記参照領域毎の差分累積値を求め、該差分累積値の内で
最も最小となるものを動きベクトル情報とする動き検出
方法であって、 上記前フレーム画像中に探索領域を設定する場合には、
ビデオカメラのレンズの位置情報に基いて上記探索範囲
を設定することを特徴とする動き検出方法。
3. A search area is set in the previous frame image corresponding to the attention area image in the current frame image obtained by the video camera, and the reference area is sequentially moved in the search area, and The image of the reference area is read out, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the smallest difference accumulated value is moved. A motion detection method using vector information, where a search area is set in the previous frame image,
A motion detection method characterized in that the search range is set based on position information of a lens of a video camera.
【請求項4】 探索時においては、上記探索領域の中心
から外側に向かって順次探索を行うことを特徴とする請
求項3記載の動き検出方法。
4. The motion detection method according to claim 3, wherein during the search, the search is sequentially performed from the center of the search area toward the outside.
【請求項5】 ビデオカメラで得られた現フレーム画像
中の注目領域画像に対応して、前フレーム画像中に探索
領域を設定し、該探索領域内において、参照領域を順次
移動させると共に、該参照領域の画像を読み出し、上記
注目領域画像との差分絶対値を得、該差分を累積して上
記参照領域毎の差分累積値を求め、該差分累積値の内で
最も最小となるものを動きベクトル情報とする動き検出
方法であって、 上記前フレーム画像中に探索領域を設定する場合には、
装置そのものの動きベクトルを動き検出センサで得、現
フレーム及び前フレーム間の装置そのものの動きベクト
ル情報の負方向に上記探索範囲の中点を設定すると共
に、ビデオカメラのレンズの位置情報に基いて上記探索
範囲を設定することを特徴とする動き検出方法。
5. A search area is set in the previous frame image corresponding to the attention area image in the current frame image obtained by the video camera, and the reference area is sequentially moved in the search area, The image of the reference area is read out, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain the difference accumulated value for each reference area, and the smallest difference accumulated value is moved. A motion detection method using vector information, where a search area is set in the previous frame image,
The motion vector of the device itself is obtained by the motion detection sensor, and the midpoint of the search range is set in the negative direction of the motion vector information of the device itself between the current frame and the previous frame, and based on the position information of the lens of the video camera. A motion detection method characterized in that the search range is set.
【請求項6】 探索時においては、上記探索領域の中心
から外側に向かって順次探索を行うことを特徴とする請
求項5記載の動き検出方法。
6. The motion detection method according to claim 5, wherein during the search, the search is sequentially performed from the center of the search area toward the outside.
【請求項7】 撮影手段と、 上記撮影手段と一体に設けられ、上記撮影手段そのもの
の動きを検出する動き情報検出手段と、 現フレーム画像中の注目領域画像に対応して、前フレー
ム画像中に探索領域を設定し、該探索領域内において、
参照領域を順次移動させると共に、該参照領域の画像を
読み出し、上記注目領域画像との差分絶対値を得、該差
分を累積して上記参照領域毎の差分累積値を求め、該差
分累積値の内で最も最小となるものを動きベクトル情報
とすると共に、上記動き情報検出手段からの動き情報、
上記撮影手段からのレンズ位置情報、或いは上記動き情
報検出手段からの動き情報及び上記撮影手段からのレン
ズ位置情報に基いて、上記探索範囲を設定する符号化手
段とを有することを特徴とする動き検出装置。
7. A photographing means, a motion information detecting means which is provided integrally with the photographing means and detects a movement of the photographing means itself, and a region of interest in the current frame image corresponding to a region of interest image in the previous frame image. Set the search area to, and within the search area,
While sequentially moving the reference area, the image of the reference area is read, the absolute value of the difference from the area of interest image is obtained, the difference is accumulated to obtain a difference cumulative value for each reference area, and the difference cumulative value is calculated. With the smallest of the motion vector information, the motion information from the motion information detecting means,
A motion including a coding unit for setting the search range based on the lens position information from the photographing unit, or the motion information from the motion information detecting unit and the lens position information from the photographing unit. Detection device.
【請求項8】 探索時においては、上記探索領域の中心
から外側に向かって順次探索を行うことを特徴とする請
求項7記載の動き検出装置。
8. The motion detection apparatus according to claim 7, wherein during the search, the search is sequentially performed from the center of the search area toward the outside.
【請求項9】 現フレームの映像信号を記憶する現フレ
ームメモリと、 参照フレームの映像信号を記憶する参照フレームメモリ
と、 上記現フレームメモリ及び上記参照フレームメモリに書
き込みアドレスデータを供給する書き込みアドレス発生
手段と、 上記現フレームメモリに読み出しアドレスデータを供給
し、上記現フレームメモリから注目領域の画像データを
読み出すと共に上記参照フレームメモリにおける参照領
域の先頭読み出しアドレスデータを発生する制御手段
と、 上記制御手段からの先頭読み出しアドレスデータ及び装
置の動きを検出するセンサからの装置そのものの動き情
報に基いて、上記参照フレームメモリに供給する読み出
しアドレスデータを発生する読み出しアドレス発生手段
と、 上記現フレームメモリから読み出された注目領域の画像
データと、上記参照フレームメモリから読み出された探
索領域内の参照領域の画像データとの差分を得る差分取
得手段と、 上記差分取得手段からの差分データを上記探索領域内の
参照領域毎に累積して差分和データを得る累積手段と、 上記探索範囲内の参照領域毎の差分和データの内の最小
値を検出する最小値検出手段と、 上記最小値検出手段によって検出された最小差分和デー
タから動きベクトル情報を得る動きベクトル検出手段と
を有することを特徴とする動き検出装置。
9. A current frame memory for storing a video signal of a current frame, a reference frame memory for storing a video signal of a reference frame, and a write address generation for supplying write address data to the current frame memory and the reference frame memory. Means for supplying read address data to the current frame memory, reading image data of a region of interest from the current frame memory, and generating head read address data of a reference region in the reference frame memory; Read address generating means for generating read address data to be supplied to the reference frame memory based on the head read address data from the device and motion information of the device itself from the sensor for detecting the motion of the device, and read from the current frame memory. Difference acquisition means for obtaining a difference between the image data of the attention area and the image data of the reference area in the search area read from the reference frame memory, and the difference data from the difference acquisition means in the search area. Accumulation means for accumulating difference sum data for each reference area, minimum value detection means for detecting the minimum value of the difference sum data for each reference area within the search range, and minimum value detection means for detecting the minimum value. And a motion vector detecting means for obtaining motion vector information from the minimum difference sum data.
【請求項10】 探索時においては、上記探索領域の中
心から外側に向かって順次探索を行うことを特徴とする
請求項9記載の動き検出装置。
10. The motion detection apparatus according to claim 9, wherein during the search, the search is sequentially performed from the center of the search area toward the outside.
【請求項11】 光学系と、撮像素子と、撮像信号用の
処理回路とからなる撮像部と、 上記撮像部の動きを検出する動き検出手段と、 上記撮像部からの映像信号を上記動き検出手段からの動
き情報に基いて、上記撮像部の動き成分をキャンセルす
るように符号化する符号化手段と、 上記符号化手段からの符号化出力にエラー訂正コードを
付加するエラー訂正コード付加手段と、 上記エラー訂正コード付加手段からの出力を変調する変
調手段と、 上記変調手段からの変調出力を記録媒体に記録する記録
手段と、 上記記録媒体から記録信号を再生する再生手段と、 上記再生手段からの出力を復調する復調手段と、 上記復調手段からの出力に対してエラー訂正処理を施す
エラー訂正処理手段と、 上記エラー訂正処理手段からの出力を復号化して元の映
像信号を得る復号化手段とを有することを特徴とするカ
メラ一体型記録装置。
11. An image pickup section comprising an optical system, an image pickup element, and a processing circuit for an image pickup signal, a motion detecting means for detecting a movement of the image pickup section, and a motion detection of a video signal from the image pickup section. Coding means for coding so as to cancel the motion component of the image pickup unit based on motion information from the means, and error correction code adding means for adding an error correction code to the coded output from the coding means. Modulating means for modulating the output from the error correction code adding means, recording means for recording the modulated output from the modulating means on a recording medium, reproducing means for reproducing a recording signal from the recording medium, and the reproducing means. Demodulating means for demodulating the output from the demodulating means, error correcting processing means for performing error correction processing on the output from the demodulating means, and decoding the output from the error correcting processing means. A camera-integrated recording device, comprising: a decoding means for obtaining an original video signal.
【請求項12】 上記光学系に可変頂角プリズムと、 上記可変頂角プリズムを上記動き検出手段からの動き情
報に基いて駆動する駆動手段とを用いることを特徴とす
る請求項11記載のカメラ一体型記録装置。
12. The camera according to claim 11, wherein the optical system includes a variable apex angle prism, and drive means for driving the variable apex angle prism based on the motion information from the motion detecting means. Integrated recording device.
【請求項13】 上記符号化手段を、 現フレームの映像信号を記憶する現フレームメモリと、 参照フレームの映像信号を記憶する参照フレームメモリ
と、 上記現フレームメモリ及び上記参照フレームメモリに書
き込みアドレスデータを供給する書き込みアドレス発生
手段と、 上記現フレームメモリに読み出しアドレスデータを供給
し、上記現フレームメモリから注目領域の画像データを
読み出すと共に上記参照フレームメモリにおける参照領
域の先頭読み出しアドレスデータを発生する制御手段
と、 上記制御手段からの先頭読み出しアドレスデータ及び上
記動き検出手段からの動き情報に基いて、上記参照フレ
ームメモリに供給する読み出しアドレスデータを発生す
る読み出しアドレス発生手段と、 上記現フレームメモリから読み出された注目領域の画像
データと、上記参照フレームメモリから読み出された探
索領域内の参照領域の画像データとの差分を得る差分取
得手段と、 上記差分取得手段からの差分データを上記探索領域内の
参照領域毎に累積して差分和データを得る累積手段と、 上記探索範囲内の参照領域毎の差分和データの内の最小
値を検出する最小値検出手段と、 上記最小値検出手段によって検出された最小差分和デー
タから動きベクトル情報を得る動きベクトル検出手段と
で構成したことを特徴とする請求項11記載のカメラ一
体型記録装置。
13. The encoding means includes: a current frame memory for storing a video signal of a current frame; a reference frame memory for storing a video signal of a reference frame; and write address data in the current frame memory and the reference frame memory. And write address generating means for supplying the read address data to the current frame memory to read the image data of the region of interest from the current frame memory and generate head read address data of the reference region in the reference frame memory. Means, read address generating means for generating read address data to be supplied to the reference frame memory based on the head read address data from the control means and the motion information from the motion detecting means, and read from the current frame memory. Was issued Difference acquisition means for obtaining a difference between the image data of the attention area and the image data of the reference area in the search area read from the reference frame memory, and the difference data from the difference acquisition means is referred to in the search area. Accumulation means for accumulating difference sum data for each area, minimum value detection means for detecting the minimum value of the difference sum data for each reference area within the search range, and minimum value detection means 12. The camera-integrated recording device according to claim 11, comprising motion vector detection means for obtaining motion vector information from the minimum difference sum data.
【請求項14】 探索時においては、上記探索領域の中
心から外側に向かって順次探索を行うことを特徴とする
請求項13記載のカメラ一体型記録装置。
14. The camera-integrated recording apparatus according to claim 13, wherein during the search, the search is sequentially performed from the center of the search area toward the outside.
JP27377194A 1994-11-08 1994-11-08 Method and device for detecting movement and recorder with built-in camera Pending JPH08140087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27377194A JPH08140087A (en) 1994-11-08 1994-11-08 Method and device for detecting movement and recorder with built-in camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27377194A JPH08140087A (en) 1994-11-08 1994-11-08 Method and device for detecting movement and recorder with built-in camera

Publications (1)

Publication Number Publication Date
JPH08140087A true JPH08140087A (en) 1996-05-31

Family

ID=17532359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27377194A Pending JPH08140087A (en) 1994-11-08 1994-11-08 Method and device for detecting movement and recorder with built-in camera

Country Status (1)

Country Link
JP (1) JPH08140087A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11219436A (en) * 1998-01-30 1999-08-10 Toshiba Corp Moving vector detection circuit and method therefor
JP2008177972A (en) * 2007-01-22 2008-07-31 Matsushita Electric Ind Co Ltd Imaging apparatus
US7760237B2 (en) 2004-08-09 2010-07-20 Nikon Corporation Imaging device having a blur-correction function
JP2014176034A (en) * 2013-03-12 2014-09-22 Ricoh Co Ltd Video transmission device
KR20160064299A (en) * 2014-11-27 2016-06-08 삼성전자주식회사 Video frame encoding circuit, encoding method thereof and video data transmitting and receiving system including the same
CN113766213A (en) * 2021-09-02 2021-12-07 信利光电股份有限公司 Method for improving AF burning parameter detection efficiency of camera module

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11219436A (en) * 1998-01-30 1999-08-10 Toshiba Corp Moving vector detection circuit and method therefor
US7760237B2 (en) 2004-08-09 2010-07-20 Nikon Corporation Imaging device having a blur-correction function
JP2008177972A (en) * 2007-01-22 2008-07-31 Matsushita Electric Ind Co Ltd Imaging apparatus
JP2014176034A (en) * 2013-03-12 2014-09-22 Ricoh Co Ltd Video transmission device
KR20160064299A (en) * 2014-11-27 2016-06-08 삼성전자주식회사 Video frame encoding circuit, encoding method thereof and video data transmitting and receiving system including the same
CN113766213A (en) * 2021-09-02 2021-12-07 信利光电股份有限公司 Method for improving AF burning parameter detection efficiency of camera module

Similar Documents

Publication Publication Date Title
JP3372289B2 (en) Digital camera
JP3227173B2 (en) Imaging device and method thereof
JP4407549B2 (en) Shooting device, video playback device, video recording / playback program
JP4876066B2 (en) Video processing apparatus, video processing system, video processing method, and program
KR19990062665A (en) Video recorder, video player and video recorder
JPH1188811A (en) Camcorder and photographing method
JPH08140087A (en) Method and device for detecting movement and recorder with built-in camera
WO2009136469A1 (en) Apparatus for recording and reproducing video images
JPH10178619A (en) Image reproducing device and electronic camera
US20150139627A1 (en) Motion picture playback apparatus and method for playing back motion picture
JPH1042233A (en) Video camera device and video reproducing device
JPH06189176A (en) System for camera shake correction
JP3610607B2 (en) Video camera equipment
JP3964330B2 (en) Video signal processing apparatus and video camera
JP5223974B2 (en) Video camera and control method thereof
JP4179961B2 (en) Video camera equipment
JP2001197437A (en) Method and device for video recording
JP3640605B2 (en) Electronic still camera
JPH0738858A (en) Transmission equipment and reception equipment for digital image signal
JP3114248B2 (en) Imaging device
JP3460333B2 (en) Video signal recording and playback device
JP4179960B2 (en) Video camera equipment
JP4270221B2 (en) Electronic camera
JPH08149403A (en) Video camera unified with monitor screen
JP3952001B2 (en) Video camera equipment