JPH0562875B2 - - Google Patents

Info

Publication number
JPH0562875B2
JPH0562875B2 JP22660584A JP22660584A JPH0562875B2 JP H0562875 B2 JPH0562875 B2 JP H0562875B2 JP 22660584 A JP22660584 A JP 22660584A JP 22660584 A JP22660584 A JP 22660584A JP H0562875 B2 JPH0562875 B2 JP H0562875B2
Authority
JP
Japan
Prior art keywords
data
block
difference
absolute value
value
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.)
Expired - Lifetime
Application number
JP22660584A
Other languages
Japanese (ja)
Other versions
JPS61105191A (en
Inventor
Seiichiro Iwase
Norihisa Shirota
Yasuhiro Fujimori
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 JP59226605A priority Critical patent/JPS61105191A/en
Publication of JPS61105191A publication Critical patent/JPS61105191A/en
Publication of JPH0562875B2 publication Critical patent/JPH0562875B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、例えばテレビカメラの撮像出力を
伝送する場合、テレビカメラのパニング等による
動きを検出するのに適用される動き検出装置であ
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is a motion detection device that is applied to detect movement due to panning of a television camera, for example, when transmitting the imaging output of a television camera.

〔従来の技術〕[Conventional technology]

テレビジヨン信号の動きベクトルの検出方法の
一つとして、ブロツクマツチング法が知られてい
る。ブロツクマツチング法は、画面を多数の小さ
な領域(ブロツク)に分け、前フレームの注目ブ
ロツクと現フレームの注目ブロツクの近傍との比
較を行い、最も相関の大きなブロツクを検出する
ものである。
A block matching method is known as one method of detecting a motion vector of a television signal. The block matching method divides the screen into many small areas (blocks), compares the block of interest in the previous frame with the neighborhood of the block of interest in the current frame, and detects the block with the highest correlation.

この相関の大きさを検出する一つの方法は、比
較する2ブロツク間で互いに対応する画素データ
の差(フレーム差)の絶対値を求め、ブロツク内
の全画素について上記の絶対値を積算し、この積
算値が最小なものを求める方法である。積算値が
最小なブロツクが注目ブロツクの移動後の位置と
して検出される。この方法は、ブロツクの精度で
動き検出を行うことができる。
One method for detecting the magnitude of this correlation is to find the absolute value of the difference (frame difference) between corresponding pixel data between two blocks to be compared, integrate the above absolute values for all pixels in the block, and This method is to find the minimum integrated value. The block with the minimum integrated value is detected as the position after movement of the block of interest. This method can perform motion detection with block precision.

相関の大きさを検出する他の方法は、前フレー
ムの注目するブロツクと中心が一致する現フレー
ムのブロツクを1画素単位で動かし、この動く範
囲即ち調査範囲内のフレーム差が最小となる位置
を求める方法である。この方法によれば、画素の
精度で動きを検出できる。
Another method for detecting the magnitude of the correlation is to move a block in the current frame whose center coincides with the block of interest in the previous frame pixel by pixel, and find the position where the frame difference within the moving range, that is, the investigation range, is minimum. This is the way to find out. According to this method, motion can be detected with pixel precision.

〔発明が解決しようとする問題点〕 上述の従来のブロツクマツチング法の何れも、
動き量として考えられる領域の全てのデータの比
較を行う全数調査であるため、検出に要する比較
の回数が非常に多く、動き検出に時間がかかる欠
点があつた。また、相関の判定を行う時に、略々
等しい大きさの極値が複数個在る場合に、その内
で最小の値が単純に選択される。このことは、テ
レビカメラのパニング等の動き検出を行い、その
結果により動き補正を行う場合には、注目画像の
劣化を生じる問題点があつた。
[Problems to be solved by the invention] None of the above-mentioned conventional block matching methods
Since this is an exhaustive survey in which all data in areas that can be considered as the amount of movement is compared, there is a drawback that the number of comparisons required for detection is extremely large and it takes time to detect movement. Furthermore, when determining the correlation, if there are a plurality of extreme values of approximately the same size, the smallest value among them is simply selected. This poses a problem in that when motion detection such as panning of a television camera is performed and motion correction is performed based on the result, the image of interest may be degraded.

例えば山並を背景画像とし、この山並の前を飛
行機(注目画像)が飛んでいる景色をテレビカメ
ラにより撮影する場合、テレビカメラがフアイン
ダーの中心に注目画像が位置するように、飛行機
を追つてパニングされる。このような画面の動き
検出を行うと、画面の中心点の近傍に注目画像の
面積に見合つた極値が存在し、一方、テレビカメ
ラの動きに対応した位置にも山並(背景画像)の
大きさに見合つた極値が存在する。この場合に背
景画像と対応する極値が選択されると、動き補正
に伴つて注目画像の劣化が生じる。即ち、動き補
正は、テレビカメラの動きを検出して、画面の動
いた分だけ座標をずらしてメモリから前フレーム
の画像データを読み出すものであるから、背景画
像の動きに合わせてずらすと、注目画像の動きが
正しく再現できなくなる。
For example, if you use a TV camera to photograph a scene with a mountain range as a background image and an airplane (the image of interest) flying in front of the mountain range, the TV camera will pan after the airplane so that the image of interest is located in the center of the viewfinder. be done. When such screen motion detection is performed, there is an extreme value near the center of the screen that is commensurate with the area of the image of interest, and on the other hand, there is also a large mountain range (background image) at a position corresponding to the movement of the TV camera. There are extreme values that are suitable for this. In this case, if an extreme value corresponding to the background image is selected, the image of interest will deteriorate as a result of motion correction. In other words, motion compensation detects the movement of the TV camera, shifts the coordinates by the amount of screen movement, and reads the image data of the previous frame from memory. Image movements cannot be reproduced correctly.

従つて、この発明の目的は、テレビカメラの動
き検出に使用した場合に、注目画像の劣化を生じ
させず、妥当な動き検出を行うことができるテレ
ビジヨン信号の動き検出装置を提供することにあ
る。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a television signal motion detection device that can perform appropriate motion detection without causing deterioration of the image of interest when used for motion detection of a television camera. be.

また、この発明は、動き調査範囲で全てのフレ
ーム差を調べて極値を検出するのと異なり、処理
時間が短縮化され、ハードウエアが簡単な動き検
出装置を提供するものである。
Further, the present invention provides a motion detection device that reduces processing time and has simple hardware, unlike detecting extreme values by examining all frame differences in a motion investigation range.

〔問題点を解決するための手段〕[Means for solving problems]

この発明は、1画面を複数のブロツクに分割
し、前フレームのブロツクの略中心位置の代表点
画素データと現フレームのブロツク内の代表点画
素データと対応する所定の範囲の画素データの
各々との差の絶対値を演算する手段1,2,3
と、 所定の範囲と対応するアドレスを有し、アドレ
スに差の絶対値を書き込み、アドレスのそれぞれ
について差の絶対値を寄数フイールドの期間で積
算し、その積算結果を第1のテーブルとして記憶
する第1の記憶手段5と、 所定の範囲と対応するアドレスを有し、アドレ
スに差の絶対値を書き込み、アドレスのそれぞれ
についての差の絶対値を偶数フイールドの期間で
積算し、その積算結果を第2のテーブルとして記
憶する第2の記憶手段6と、 偶数フイールドの期間に、第1の記憶手段5に
記憶された第1のテーブル中の極小値を検出する
と共に、奇数フイールドの期間に、第2の記憶手
段6に記憶された第2のテーブル中の極小値を検
出する手段7とを備えたことを特徴とするテレビ
ジヨン信号の動き検出装置である。
This invention divides one screen into a plurality of blocks, and divides each of the pixel data of a predetermined range corresponding to the representative point pixel data at the approximate center position of the block of the previous frame and the pixel data of the representative point within the block of the current frame. Means 1, 2, 3 for calculating the absolute value of the difference between
has an address corresponding to a predetermined range, writes the absolute value of the difference to the address, integrates the absolute value of the difference for each address over the period of the parsial field, and stores the integration result as the first table. A first storage means 5 having addresses corresponding to a predetermined range, writes the absolute value of the difference in the address, integrates the absolute value of the difference for each address in an even field period, and stores the integration result. a second storage means 6 for storing the table as a second table; detecting the minimum value in the first table stored in the first storage means 5 during the even field period, and detecting the minimum value in the first table stored in the first storage means 5 during the even field period; , and means 7 for detecting the minimum value in the second table stored in the second storage means 6.

〔作用〕[Effect]

ブロツクの大きさのグラフメモリを2個備え、
フイールド毎に一方のグラフメモリ5と他方のグ
ラフメモリ6とが書き込み動作及び読み出し動作
が逆に切り換えられる。CPU7は、読み出し期
間でグラフメモリ5又は6をアクセスして極値の
検出を所定のプログラムに従つて行う。
Equipped with two block-sized graph memories,
The write operation and read operation of one graph memory 5 and the other graph memory 6 are reversely switched for each field. The CPU 7 accesses the graph memory 5 or 6 during the read period to detect extreme values according to a predetermined program.

〔実施例〕〔Example〕

以下、この発明の一実施例について図面を参照
して説明する。この一実施例は、基本的にブロツ
クマツチング法であり、テレビカメラの動き検出
にこの発明を適用した例である。即ち、この一実
施例は、積算の回数を減少させるために、前フレ
ームのブロツクの空間上の中心の画素(代表点)
と現フレームの対応するブロツクの各画素との差
を求め、このように求まつたブロツクごとの差を
1フレームにわたつて積算して、1画面の動き即
ちテレビカメラの動き検出を行うものである。
An embodiment of the present invention will be described below with reference to the drawings. This embodiment is basically a block matching method, and is an example in which the present invention is applied to motion detection of a television camera. That is, in this embodiment, in order to reduce the number of integrations, the central pixel (representative point) in the space of the block of the previous frame is
This method calculates the difference between each pixel in the corresponding block of the current frame, and integrates the differences for each block thus determined over one frame to detect the movement of one screen, that is, the movement of the television camera. be.

第1図において、1は、入力画像データの1フ
レーム中の各ブロツクの代表点のデータを記憶す
る代表点メモリである。2で示す減算回路におい
て、前フレームの代表点と現フレームの対応する
ブロツク内の画素との差が演算される。減算回路
2の出力が変換回路3により絶対値に変換され、
加算回路4に供給される。この加算回路4の出力
が第1のグラフメモリ5及び第2のグラフメモリ
6にフイールド毎に交互に書き込まれる。
In FIG. 1, reference numeral 1 denotes a representative point memory for storing representative point data of each block in one frame of input image data. In the subtraction circuit indicated by 2, the difference between the representative point of the previous frame and the pixel in the corresponding block of the current frame is calculated. The output of the subtraction circuit 2 is converted into an absolute value by the conversion circuit 3,
The signal is supplied to an adder circuit 4. The output of this adder circuit 4 is written into the first graph memory 5 and the second graph memory 6 alternately for each field.

グラフメモリ5及び6は、CPU7のデータバ
ス8と結合されていると共に、グラフメモリ5及
び6の出力がセレクタ9に供給される。このセレ
クタ9の他の入力として、全て‘0'のデータが供
給されており、1フイールドの最初のブロツクの
画素については、‘0'のデータがセレクタ9によ
り選択されて加算回路4に供給される。グラフメ
モリ5及び6は、1ブロツクと対応するアドレス
を有し、各アドレスに対応する位置の画素に関す
る差データの絶対値が書き込まれ、読出した差デ
ータの絶対値を加算回路4に供給し、この加算回
路4の出力を元のアドレスに書き込むことで、
夫々に1フイールド分の差データの積算値(フレ
ーム差積分テーブル)が貯えられる。
Graph memories 5 and 6 are coupled to data bus 8 of CPU 7, and outputs of graph memories 5 and 6 are supplied to selector 9. All '0' data is supplied as the other input of this selector 9, and for the pixels of the first block of one field, '0' data is selected by the selector 9 and supplied to the adder circuit 4. Ru. The graph memories 5 and 6 each have an address corresponding to one block, in which the absolute value of the difference data regarding the pixel at the position corresponding to each address is written, and supply the absolute value of the read difference data to the addition circuit 4. By writing the output of this adder circuit 4 to the original address,
An integrated value of difference data for one field (frame difference integration table) is stored in each.

CPU7は、グラフメモリ5及び6に記憶され
たフレーム差積分テーブルを参照して、極値の検
出及び検出された極値が正しいかどうかの検証を
行う。この場合、グラフメモリ5とグラフメモリ
6とは、書き込み動作(但し、上述のように、フ
レーム差を積分するために、読み出し動作を行つ
てから書き込み動作を行う。)及び読み出し動作
を1フイールド毎に交互に行うと共に、これらの
動作を逆相で行うように制御される。
The CPU 7 refers to the frame difference integral tables stored in the graph memories 5 and 6 to detect extreme values and verify whether the detected extreme values are correct. In this case, the graph memory 5 and the graph memory 6 perform the write operation (however, as described above, in order to integrate the frame difference, the read operation is performed before the write operation) and the read operation is performed for each field. These operations are controlled to be performed alternately and in opposite phases.

第2図Aは、グラフメモリ5,6の側から垂直
ブランキング期間内にCPU7に出されるフラツ
グ信号を示す。第2図Bは、グラフメモリ5の動
作を示すもので、奇数フイールドでグラフメモリ
5が読み出し動作を行い、偶数フイールドでグラ
フメモリ5が書き込み動作を行う。第2図Cは、
グラフメモリ6の動作を示すもので、奇数フイー
ルドでグラフメモリ6が書き込み動作を行い、偶
数フイールドでグラフメモリ6が読み出し動作を
行う。グラフメモリ5,6の夫々から読み出され
たフレーム差積分データがCPU7に供給されて、
極値の検出及び検証がなされる。
FIG. 2A shows a flag signal sent from the graph memories 5 and 6 to the CPU 7 during the vertical blanking period. FIG. 2B shows the operation of the graph memory 5, in which the graph memory 5 performs read operations in odd-numbered fields, and the graph memory 5 performs write operations in even-numbered fields. Figure 2 C is
This shows the operation of the graph memory 6, in which the graph memory 6 performs a write operation in odd-numbered fields, and the graph memory 6 performs a read-out operation in even-numbered fields. The frame difference integral data read from each of the graph memories 5 and 6 is supplied to the CPU 7,
Extreme values are detected and verified.

代表点メモリ1と減算回路2と変換回路3とに
よつて、ブロツクごとに検出されたフレーム差の
絶対値をフレーム全体で積算するのに、1フレー
ムの時間を要するので、入力画像データは、フレ
ームメモリ10に書き込まれ、求められている動
きベクトルがCPU7から付加回路11に供給さ
れ、この動きベクトルが画像データに付加されて
伝送される。受信側では、動きベクトルを用いて
座標軸をずらす動き補正がなされる。
Since it takes one frame time to integrate the absolute value of the frame difference detected for each block over the entire frame by the representative point memory 1, subtraction circuit 2, and conversion circuit 3, the input image data is The motion vector written in the frame memory 10 and determined is supplied from the CPU 7 to the addition circuit 11, and this motion vector is added to the image data and transmitted. On the receiving side, motion correction is performed using the motion vector to shift the coordinate axes.

第3図は、1フイールドの画面の分割の一例を
示す。この実施例では、高品位テレビジヨン信号
の処理を行うようにしており、1ブロツク(動き
量の範囲)の大きさが縦方向に8ライン、横方向
で32サンプルとされ、従つて、1ブロツク内に
256画素が含まれてており、1フイールドが縦に
64ブロツクに分割され、横に44ブロツクに分割さ
れる。
FIG. 3 shows an example of dividing the screen of one field. In this embodiment, a high-definition television signal is processed, and the size of one block (range of motion amount) is 8 lines in the vertical direction and 32 samples in the horizontal direction. inside
Contains 256 pixels, one field is vertical
Divided into 64 blocks and horizontally divided into 44 blocks.

グラフメモリ5,6の夫々に記憶されているフ
レーム差積分テーブルは、第4図に示すように、
原点(0,0)を中心とするX−Y座標で規定さ
れるものである。このX−Y座標は、X軸に関し
て−16から15までの値をとり、Y軸に関して−4
から3までの値をとるものである。グラフメモリ
5,6には、縦軸に差分値の絶対値をとると、第
5図に模式的に示されるようなフレーム差積分テ
ーブルが形成されている。このフレーム差積分テ
ーブルの中で最小値の座標データ(Xmin、
Ymin)がCPU7により検出される。原点とこの
検出された(Xmin、Ymin)とを結ぶベクトル
が動きベクトルである。
The frame difference integral table stored in each of the graph memories 5 and 6 is as shown in FIG.
It is defined by X-Y coordinates centered on the origin (0,0). This X-Y coordinate takes values from -16 to 15 on the X axis and -4 on the Y axis.
It takes values from to 3. In the graph memories 5 and 6, a frame difference integral table as schematically shown in FIG. 5 is formed, where the vertical axis represents the absolute value of the difference value. The coordinate data of the minimum value (Xmin,
Ymin) is detected by the CPU 7. The vector connecting the origin and the detected (Xmin, Ymin) is the motion vector.

以下、CPU7がグラフメモリ5,6に記憶さ
れているフレーム差積分テーブルのデータを用い
て行う動きベクトルの検出及び動きベクトルの検
証について第6図、第7図、第8図、第9図及び
第10図を参照して説明する。
The motion vector detection and motion vector verification performed by the CPU 7 using the frame difference integral table data stored in the graph memories 5 and 6 will be described below in FIGS. 6, 7, 8, 9, and 9. This will be explained with reference to FIG.

第6図に示すように、動き検出の最初は、原点
から始められる(ステツプ21及び22)。第7
図は、原点の上下及び左右の4方向に隣接して位
置する4個のフレーム差積分データを示す。この
時の極値検出は、フレーム差積分デーブルの
(0,0)(0,−1)(1,0)(0,1)(−1,
0)の各座標のデータ(第6図では、データを表
すためにTABLEの表示を付している。)の中の
最小値を検出することによりなされる。この最小
値の座標(Xmin、Ymin)がX及びY(今の場合
では、(0,0))と一致するかどうかが調べられ
る(ステツプ23)。一致する場合には、極値検
証のステツプ25に移行する。一致しない場合に
は、最小値の座標(Xmin、Ymin)がX及びY
と置き換えられ(ステツプ24)、再びこの座標
(X,Y)を中心とする4方向に位置する隣接デ
ータに関する最小値の検出(ステツプ22)がな
される。
As shown in FIG. 6, motion detection begins from the origin (steps 21 and 22). 7th
The figure shows four pieces of frame difference integral data located adjacent to each other in four directions: above, below, left and right of the origin. The extreme value detection at this time is (0, 0) (0, -1) (1, 0) (0, 1) (-1,
This is done by detecting the minimum value in the data of each coordinate of 0) (in FIG. 6, TABLE is added to represent the data). It is checked whether the coordinates (Xmin, Ymin) of this minimum value match X and Y (in this case, (0, 0)) (step 23). If they match, the process moves to step 25 of extreme value verification. If they do not match, the coordinates of the minimum value (Xmin, Ymin) are
(Step 24), and the minimum value of adjacent data located in four directions centered on these coordinates (X, Y) is detected again (Step 22).

このように、極値検出は、原点から出発して上
下及び左右の4方向の中で最大の負の傾斜方向に
進み、この4方向に関して何れも負の傾斜でない
所を極値として見つける。ステツプ23におい
て、最小値の座標が前のものと一致する時は極値
検証のステツプ25に移行する。
In this way, the extreme value detection starts from the origin and proceeds in the direction of the maximum negative slope among the four directions, up, down, left and right, and finds a location where there is no negative slope in any of these four directions as an extreme value. In step 23, if the coordinates of the minimum value match the previous coordinates, the process moves to step 25 of extreme value verification.

このステツプ25は、第8図に示すように、検
出された極値の座標(X,Y)の斜め方向に位置
する(X+1,Y−1)、(X+1,Y+1)、(X
−1,Y+1)、(X−1,Y−1)の座標の各フ
レーム差積分データと極値の座標(X,Y)のフ
レーム差積分データとの内の最小値を検出するも
のである。この検出された最小値の座標
(Xmin,Ymin)が(X,Y)と一致する時に
は、検出された極値が正しいものと判定される。
もし、一致しない時には、ステツプ24に移行し
て再び極値検出がなされる。
As shown in FIG. 8, this step 25 includes (X+1, Y-1), (X+1, Y+1), (X
-1, Y+1), (X-1, Y-1) coordinates and the frame difference integral data of the extreme value coordinates (X, Y) is detected. . When the coordinates (Xmin, Ymin) of the detected minimum value match (X, Y), it is determined that the detected extreme value is correct.
If they do not match, the process moves to step 24 and extreme value detection is performed again.

第9図は、極値検出のステツプ22のより具体
的なフローチヤートを示し、第10図は、極値検
証のより具体的なフローチヤートを示す。この第
9図及び第10図で、「:」は、データの大きさ
の比較を意味する。また、座標のデータを意味す
る「TABLE」の表示は、これらの図では、省略
されている。
FIG. 9 shows a more specific flowchart of step 22 of extreme value detection, and FIG. 10 shows a more specific flowchart of extreme value verification. In FIGS. 9 and 10, ":" means a comparison of data sizes. Furthermore, the display of "TABLE" which means coordinate data is omitted in these figures.

極値検出は、上方向の画素との比較を最初に行
い、次に右方向の画素との比較を行い、その次に
下方向の画素との比較を行い、最後に左方向の画
素との比較を行うようになされる。極値検出の最
初のステツプ31で、座標Yが−4と一致するか
どうか調べられる。一致する時には、上方向に位
置するデータがないことを意味するので、上方向
に関する極値検出がジヤンプされ、右方向に関す
る極値検出に移る。ステツプ32は、最小値とし
て検出されている(Xmin,Ymin)の座標のデ
ータとその上方向に位置する座標(X,Y−1)
のデータとの比較のステツプである。
In extreme value detection, first a comparison is made with the pixels on the top, then with the pixels on the right, then with the pixels on the bottom, and finally with the pixels on the left. A comparison is made. In the first step 31 of extreme value detection, it is checked whether the coordinate Y coincides with -4. When they match, it means that there is no data located in the upward direction, so the detection of extreme values in the upward direction is skipped and the process moves to the detection of extreme values in the right direction. In step 32, the coordinate data of (Xmin, Ymin) detected as the minimum value and the coordinate (X, Y-1) located above it are
This is the step of comparison with the data.

この座標(Xmin,Ymin)のデータの方が大
きい時には、Yminに代えて(Y−1)のフレー
ム差積分データが置き換えられる(ステツプ3
3)。もし、座標(Xmin,Ymin)のデータの方
が座標(X,Y−1)のデータより小さい時に
は、Yminの変更がなされない。
When the data at these coordinates (Xmin, Ymin) is larger, frame difference integral data at (Y-1) is replaced in place of Ymin (step 3).
3). If the data at coordinates (Xmin, Ymin) is smaller than the data at coordinates (X, Y-1), Ymin is not changed.

この上方向のフレーム差積分データとの比較が
終了すると、右側のフレーム差積分データとの比
較に移る。この場合、最初に(X=15)かどうか
が調べられる(ステツプ34)。もし、この関係
が成立する時には、右側の比較する対象のデータ
がないので、右側のデータとの比較のステツプ3
5がジヤンプされる。
When the comparison with the upward frame difference integral data is completed, a comparison with the frame difference integral data on the right side is started. In this case, it is first checked whether (X=15) (step 34). If this relationship holds true, there is no data to compare on the right side, so step 3 of comparison with the data on the right side is performed.
5 is jumped.

このステツプ35は、ステツプ32と同様のも
ので、今迄の検出により最小値として検出された
フレーム差積分データとその右側のフレーム差積
分データとの大きさを比較する。そして、右側の
データがより小さい時には、Xminが(X−1)
の座標で置き換えられる(ステツプ36)。そう
でない時には、この置き換えがなされない。
This step 35 is similar to step 32, and compares the magnitude of the frame difference integral data detected as the minimum value in the detection up to now with the frame difference integral data on the right side thereof. And when the data on the right side is smaller, Xmin becomes (X-1)
(step 36). Otherwise, this replacement is not made.

更に、次にステツプ37,38,39からなる
下側のフレーム差積分データとの大きさの比較が
なされ、最後にステツプ40,41,42からな
る左側のフレーム差積分データとの大きさの比較
がなされる。このようにして、極値検出の最初の
座標位置の上下左右の4方向の内で、最小値の座
標が求められる。
Furthermore, the size is then compared with the lower frame difference integral data consisting of steps 37, 38, and 39, and finally the size is compared with the left frame difference integral data consisting of steps 40, 41, and 42. will be done. In this way, the coordinates of the minimum value are determined among the four directions (up, down, left and right) of the initial coordinate position for extreme value detection.

第10図は、第6図における極値検証のステツ
プ25のより具体的な手順を示すフローチヤート
である。極値検証は、前述の極値検出の座標
(X,Y)のデータとその右斜め上の座標(X+
1,Y−1)のフレーム差積分データとの大きさ
の比較が最初になされる。この場合、(X=15)
又は(Y=−4)が成立するかどうかが調べられ
(ステツプ43及びステツプ44)、これらの関係
が成立する時には、右斜め上のデータが無いの
で、比較のステツプ45及び置き換えのステツプ
46がジヤンプされる。
FIG. 10 is a flowchart showing a more specific procedure of step 25 of extreme value verification in FIG. Extreme value verification is performed using the data of the coordinates (X, Y) of the extreme value detection mentioned above and the coordinate (X+
1, Y-1) is first compared in size with the frame difference integral data. In this case, (X=15)
It is checked whether or not (Y=-4) holds (steps 43 and 44), and when these relationships hold, there is no data diagonally above the right, so comparison step 45 and replacement step 46 are performed. Jumped.

次に、右斜め下のフレーム差積分データとの大
きさの比較がなされる。この場合には、(Y=3)
の時には、右斜め下のデータとの比較のステツプ
48及び置き換えのステツプ49がジヤンプされ
る。
Next, the size is compared with the frame difference integral data diagonally lower right. In this case, (Y=3)
At this time, the comparison step 48 with the data on the lower right side and the replacement step 49 are skipped.

更に、次に左斜め下のフレーム差積分データと
の大きさの比較がなされる。この場合、(X=−
16)又は(Y=3)の関係が成立するかどうかが
調べられ(ステツプ50及びステツプ51)、こ
れらが成立する時には、比較の対象としての左斜
め下のデータが無いので、この比較のステツプ5
2及び置き換えのステツプ53がジヤンプされ
る。
Furthermore, next, the size is compared with the frame difference integral data diagonally lower left. In this case, (X=-
16) or (Y=3) is established (steps 50 and 51), and when these are established, there is no lower left diagonal data to be compared, so this comparison step is 5
2 and replace step 53 is skipped.

最後に、左斜め上のフレーム差積分データとの
大きさの比較がなされる。この場合、(Y=−4)
が成立するかどうかが調べられる(ステツプ5
4)。この関係が成立する時には、比較の対象の
データが無いので、比較のステツプ55及び置き
換えのステツプ56がジヤンプされる。
Finally, the size is compared with the frame difference integral data diagonally above the left. In this case, (Y=-4)
It is checked whether the following holds true (Step 5)
4). When this relationship is established, there is no data to be compared, so the comparison step 55 and the replacement step 56 are skipped.

以上のようにして、検出された極値が本当に極
値かどうかが検証され、誤つた極値検出が防止さ
れる。
In the manner described above, it is verified whether the detected extreme value is really an extreme value, and erroneous extreme value detection is prevented.

〔発明の効果〕〔Effect of the invention〕

この発明に依れば、フレーム差積分テーブルの
全てのデータを調べて極値を検出するのと異な
り、原点と極値を直線で結ぶごく一部の領域で、
比較を行えば良く、処理時間が大幅に短縮される
と共に、検出された極値を検証することが可能と
なる。また、この発明は、高速動作をさほど要求
されないので、CPUの制御により簡単に極値を
検出することができ、ハードウエアの規模を小さ
くすることができる。
According to this invention, unlike detecting extreme values by examining all the data in the frame difference integral table, in a small area connecting the origin and the extreme values with a straight line,
All that is required is a comparison, which greatly reduces processing time and makes it possible to verify detected extreme values. Further, since the present invention does not require high-speed operation, extreme values can be easily detected under CPU control, and the scale of the hardware can be reduced.

また、フレーム差積分テーブルの中に極値が複
数個在る時に、単純に最小値のもの選ぶのでな
く、妥当なものを調べる。即ち、この発明は、注
目画像の動きに合わせて検出が可能で、注目画像
の劣化を避けることができ、また、テレビカメラ
が動かないない時に、原点寄りの極値検出を行う
ことにより、動き物体の影響を除去できる。
Furthermore, when there are a plurality of extreme values in the frame difference integral table, instead of simply selecting the one with the smallest value, a reasonable one is checked. That is, the present invention enables detection according to the movement of the image of interest, avoids deterioration of the image of interest, and detects the movement of the image by detecting extreme values near the origin when the television camera does not move. Can remove the influence of objects.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例のブロツク図、第
2図はこの発明の一実施例のグラフメモリの動作
説明に用いるタイムチヤート、第3図はこの発明
の一実施例の画面分割の説明に用いる略線図、第
4図及び第5図はこの発明の一実施例のフレーム
差積分テーブルの説明に用いる略線図、第6図は
この発明の一実施例の極値検出及び極値検証の説
明に用いるフローチヤート、第7図及び第8図は
極値検出及び極値検証の説明に用いる略線図、第
9図はこの発明の一実施例の極値検出の手順を示
すフローチヤート、第10図はこの発明の一実施
例の極値検証の手順を示すフローチヤートであ
る。 1:代表点メモリ、2:減算回路、4:加算回
路、5,6:グラフメモリ、7:CPU、21:
極値検出のステツプ、25:極値検証のステツ
プ。
Fig. 1 is a block diagram of an embodiment of this invention, Fig. 2 is a time chart used to explain the operation of a graph memory in an embodiment of this invention, and Fig. 3 is an explanation of screen division in an embodiment of this invention. 4 and 5 are schematic diagrams used to explain a frame difference integral table according to an embodiment of the present invention, and FIG. 6 is a diagram showing extreme value detection and extremum values according to an embodiment of the present invention. A flowchart used to explain the verification, FIGS. 7 and 8 are schematic diagrams used to explain extreme value detection and extreme value verification, and FIG. 9 is a flowchart showing the procedure for extreme value detection in an embodiment of the present invention. FIG. 10 is a flowchart showing the procedure for extreme value verification according to an embodiment of the present invention. 1: Representative point memory, 2: Subtraction circuit, 4: Addition circuit, 5, 6: Graph memory, 7: CPU, 21:
Step of extreme value detection, 25: Step of extreme value verification.

Claims (1)

【特許請求の範囲】 1 画面を複数のブロツクに分割し、前フレーム
のブロツクの略中心位置の代表点画素データと現
フレームの上記ブロツク内の上記代表点画素デー
タと対応する所定の範囲の画素データの各々との
差の絶対値を演算する手段と、 上記所定の範囲と対応するアドレスを有し、上
記アドレスに上記差の絶対値を書き込み、上記ア
ドレスのそれぞれについて差の絶対値を奇数フイ
ールドの期間で積算し、その積算結果を第1のテ
ーブルとして記憶する第1の記憶手段と、 上記所定の範囲と対応するアドレスを有し、上
記アドレスに上記差の絶対値を書き込み、上記ア
ドレスのそれぞれについて差の絶対値を偶数フイ
ールドの期間で積算し、その積算結果を第2のテ
ーブルとして記憶する第2の記憶手段と、 上記偶数フイールドの期間に、上記第1の記憶
手段に記憶された上記第1のテーブル中の極小値
を検出すると共に、上記奇数フイールドの期間
に、上記第2の記憶手段に記憶された上記第2の
テーブル中の極小値を検出する手段とを備えたこ
とを特徴とするテレビジヨン信号の動き検出装
置。
[Scope of Claims] 1. A screen is divided into a plurality of blocks, and pixels in a predetermined range corresponding to the representative point pixel data at the approximate center position of the block in the previous frame and the representative point pixel data in the block in the current frame are divided. means for calculating the absolute value of the difference between each of the data, and an address corresponding to the predetermined range, writes the absolute value of the difference to the address, and writes the absolute value of the difference for each of the addresses to an odd field. a first storage means for accumulating over a period of a second storage means for accumulating the absolute value of the difference for each in an even field period and storing the accumulation result as a second table; and means for detecting the minimum value in the first table and detecting the minimum value in the second table stored in the second storage means during the odd field period. Features: Television signal motion detection device.
JP59226605A 1984-10-27 1984-10-27 Movement detection device of television signal Granted JPS61105191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59226605A JPS61105191A (en) 1984-10-27 1984-10-27 Movement detection device of television signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59226605A JPS61105191A (en) 1984-10-27 1984-10-27 Movement detection device of television signal

Publications (2)

Publication Number Publication Date
JPS61105191A JPS61105191A (en) 1986-05-23
JPH0562875B2 true JPH0562875B2 (en) 1993-09-09

Family

ID=16847813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59226605A Granted JPS61105191A (en) 1984-10-27 1984-10-27 Movement detection device of television signal

Country Status (1)

Country Link
JP (1) JPS61105191A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01125084A (en) * 1987-11-10 1989-05-17 Nippon Hoso Kyokai <Nhk> Moving signal control circuit

Also Published As

Publication number Publication date
JPS61105191A (en) 1986-05-23

Similar Documents

Publication Publication Date Title
JPS61105178A (en) Detecting method of television signal movement
CN101389022A (en) Image processing device, image processing method, and image pickup device
JP2009105533A (en) Image processing apparatus, imaging apparatus, image processing method, and captured image processing method
WO2017154423A1 (en) Image processing device, image processing method, and program
JP2001145012A (en) Image distorting correction device
JP2956527B2 (en) Video device with image memory function
JPH04213973A (en) Image shake corrector
JPH0562875B2 (en)
JP4998134B2 (en) Image processing apparatus and image processing method
JP2647165B2 (en) Image motion detection device and image motion correction device
JP2693515B2 (en) Image motion detector
JP4888306B2 (en) Image processing apparatus and image processing method
JP2008109545A (en) Image blur detection device, image blur correction device including the same, solid-state imaging device, and electronic apparatus
GB2273410A (en) Higher definition video signals from lower definition sources
JPS63166369A (en) Mobile vector detection circuit
JP2006279144A (en) Distortion correction device
JP3221052B2 (en) Image shake detection device
JP4727621B2 (en) Moving image blur detecting device, moving image blur correcting device, moving image blur detecting method, moving image blur correcting method, and electronic imaging device
JPH0422073B2 (en)
JPH07284014A (en) Picture handling device
JPH07284013A (en) Picture handling device
JPH1069536A (en) Image synthesis device
JP2813395B2 (en) Motion vector detection device and image shake correction device
JPH06105242A (en) Pixel defect correction method
JPH07203278A (en) Picture processing unit

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term