JP2000236554A - Image processing unit and its method - Google Patents

Image processing unit and its method

Info

Publication number
JP2000236554A
JP2000236554A JP3481499A JP3481499A JP2000236554A JP 2000236554 A JP2000236554 A JP 2000236554A JP 3481499 A JP3481499 A JP 3481499A JP 3481499 A JP3481499 A JP 3481499A JP 2000236554 A JP2000236554 A JP 2000236554A
Authority
JP
Japan
Prior art keywords
image
density
motion vector
absolute
absolute 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.)
Pending
Application number
JP3481499A
Other languages
Japanese (ja)
Inventor
Tetsujiro Kondo
哲二郎 近藤
Yasushi Noide
泰史 野出
Takayoshi Fujiwara
孝芳 藤原
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 JP3481499A priority Critical patent/JP2000236554A/en
Priority to KR1020000006265A priority patent/KR100730464B1/en
Publication of JP2000236554A publication Critical patent/JP2000236554A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To detect a motion vector with high accuracy between images with different density. SOLUTION: A motion vector is detected between a reference image Ps and an image Ph with a density at a multiple of 4. The 4 multiple density image Ph is separated into foru images Ph1-Ph4 whose line phase differs. A block of the same position is formed spatially between the reference image Ps and the image Ph1, an absolute value of the difference of the pixel between blocks is calculated and the absolute values are collected in the block. Similarly the absolute sum of the differences of the images Ph2-Ph4 is calculated. Then the absolute sum obtained from the 4 images is synthesized. A table storing the absolute sums after the synthesis is obtained by precision of the 4 multiple density image. A motion vector is detected by detecting a minimum value in the final absolute value sum table.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、動きベクトルの
検出に適用される画像処理装置および方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus and method applied to detection of a motion vector.

【0002】[0002]

【従来の技術】動きベクトルは、画像の時間的な動きを
表すものであり、例えば動き補償フレーム間予測符号化
において使用される。動きベクトル検出方法の一つとし
て、ブロックマッチングが知られている。これは、時間
的に異なる二つの画像をそれぞれブロックに細分化し、
一方の画像から切り出すブロックの位置をx(水平方
向)またはy(垂直方向)に1画素単位で順次ずらし、
ずらした状態でブロック内の空間的に同一位置の画素の
差分の絶対値を演算し、絶対値をブロック単位で集計し
て差分絶対値和を求め、差分絶対値和が最小となる位置
をそのブロックの動きベクトルとするものである。動き
ベクトルを検出する対象の画像の画素の密度は、等しい
のが普通である。
2. Description of the Related Art A motion vector represents a temporal motion of an image, and is used, for example, in motion compensation inter-frame predictive coding. As one of the motion vector detection methods, block matching is known. This subdivides two temporally different images into blocks,
The position of a block cut out from one image is sequentially shifted in x (horizontal direction) or y (vertical direction) in units of one pixel,
In the shifted state, the absolute value of the difference between the pixels at the same spatial position in the block is calculated, the absolute values are totaled for each block, and the sum of the absolute differences is calculated. This is a block motion vector. In general, the density of pixels of an image for which a motion vector is to be detected is equal.

【0003】しかしながら、異なる密度の画像間で動き
ベクトルを検出する場合も生じる。高密度画像(例えば
HD(High Definition) 相当の画像)は、低密度画像
(例えばSD(Standard Definition) 相当の画像)の4
倍の密度を有する。このような密度が異なる画像間の動
きベクトル検出方法として、考えられる方法の一例を説
明する。
[0003] However, there are cases where motion vectors are detected between images of different densities. A high-density image (for example, an HD (High Definition) equivalent) is a low-density image (for example, an SD (Standard Definition) equivalent).
It has twice the density. An example of a possible method for detecting a motion vector between images having different densities will be described.

【0004】例として、図5に示すように、1枚の1倍
密画像と、1倍密画像に対して垂直方向で4倍の密度の
4倍密画像との間の動きベクトル検出について説明す
る。動きベクトルを検出するために、4倍密画像Phを
間引いて低密度画像Psの密度に合わせる。図6におい
て、高密度画像Phの連続する4ラインから3ラインを
間引き(このような間引きは、1/4間引きと称され
る)、低密度画像Ph’を作成する。そして、この低密
度画像Ph’と基準画像との間で動きベクトルを検出す
る。
As an example, as shown in FIG. 5, a description will be given of the detection of a motion vector between one single-density image and a quadruple-density image having a density four times higher in the vertical direction than the single-density image. I do. In order to detect a motion vector, the density of the low-density image Ps is adjusted by thinning out the quad-density image Ph. In FIG. 6, three lines are thinned out from four consecutive lines of the high-density image Ph (such thinning is referred to as 間 thinning) to create a low-density image Ph ′. Then, a motion vector is detected between the low-density image Ph 'and the reference image.

【0005】すなわち、図7に示すように、同一の大き
さで同一の形の基準ブロックBsおよび参照ブロックB
h’(図7では、5×5のブロックが示されている)を
画像PsおよびPh’の対応する位置に考える。まず、
最初に基準ブロックBsと同一の位置に存在する画素の
画素値同士の差分の絶対値を求め、この絶対値を1ブロ
ックにわたって集計し、絶対値和を求める。次に、参照
ブロックBh’を画素単位で種々の位置に移動し、移動
後の位置で絶対値和をそれぞれ求める。移動範囲は、探
索範囲として規定される。そして、探索範囲の全ての絶
対値和の中で、最小値を与える参照ブロックの位置から
の処理対象ブロックへのベクトルが動きベクトルとされ
る。
That is, as shown in FIG. 7, the reference block Bs and the reference block Bs having the same size and the same shape are used.
Consider h ′ (5 × 5 blocks are shown in FIG. 7) at corresponding positions in images Ps and Ph ′. First,
First, the absolute value of the difference between the pixel values of the pixels existing at the same position as the reference block Bs is obtained, and the absolute values are totaled over one block to obtain the absolute value sum. Next, the reference block Bh ′ is moved to various positions on a pixel-by-pixel basis, and the sum of absolute values is obtained at the position after the movement. The moving range is defined as a search range. Then, of all the absolute value sums in the search range, a vector from the position of the reference block giving the minimum value to the processing target block is set as a motion vector.

【0006】図8は、このような動きベクトルを実現す
る検出装置の構成例である。図8において、21が基準
画像をブロックに分解するブロック化回路であり、22
が4倍密画像をブロックに分解するブロック化回路であ
る。ブロック化回路22では、垂直方向の密度を基準画
像に合わせるために、1/4間引きの処理も行われる。
誤差検出回路23は、画素値の差分の絶対値和を計算
し、参照ブロックの位置毎に絶対値和を記憶するテーブ
ルを作成する。動きベクトル検出回路24は、絶対値和
の中の最小値を検出し、動きベクトルを出力する。図8
のブロック図の下側には、誤差検出回路23、動きベク
トル検出回路24のそれぞれの処理における二つの画像
の画素および差分の絶対値和の空間的関係を概略的に表
す。
FIG. 8 shows an example of the configuration of a detecting device for realizing such a motion vector. In FIG. 8, reference numeral 21 denotes a blocking circuit for decomposing a reference image into blocks.
Is a block circuit for decomposing the quadruple-density image into blocks. The blocking circuit 22 also performs a 1/4 thinning-out process in order to match the vertical density with the reference image.
The error detection circuit 23 calculates the absolute value sum of the difference between the pixel values, and creates a table for storing the absolute value sum for each position of the reference block. The motion vector detection circuit 24 detects the minimum value of the sum of absolute values and outputs a motion vector. FIG.
The lower part of the block diagram schematically shows the spatial relationship between the pixels of the two images and the sum of absolute values of the differences in the respective processes of the error detection circuit 23 and the motion vector detection circuit 24.

【0007】[0007]

【発明が解決しようとする課題】上述したように、高密
度の画像を間引いて低密度の画像に密度を合わせ、その
後にブロックマッチングによって動きベクトルを検出す
る方法は、低密度の画像の画素精度の動きベクトルしか
求めることができない。
As described above, a method of thinning out a high-density image and adjusting the density to a low-density image, and thereafter detecting a motion vector by block matching, is based on the pixel accuracy of a low-density image. Can only be obtained.

【0008】従って、この発明の目的は、高密度画像の
画素精度で動きベクトルを検出することが可能な画像処
理装置および方法を提供することにある。
It is therefore an object of the present invention to provide an image processing apparatus and method capable of detecting a motion vector with high pixel accuracy of a high-density image.

【0009】[0009]

【課題を解決するための手段】以上の問題を解決するた
めに、請求項1の発明は、1枚の第1の画像とそのN倍
の密度を持つ第2の画像との間で動き検出を行う画像処
理装置において、第1の画像に含まれる第1の画素と、
第2の画像に含まれ、第1の画素と空間的に一致する第
2の画素との間の差分の絶対値を求める手段と、第2の
画素を水平方向および/または垂直方向にシフトしてN
倍の密度分、絶対値を求める処理を繰り返す手段と、求
められた絶対値の中の最小値を求める手段とからなるこ
とを特徴とする画像処理装置である。
In order to solve the above-mentioned problems, the present invention is directed to a method for detecting a motion between one first image and a second image having a density N times as high as that of the first image. The first pixel included in the first image,
Means for determining the absolute value of the difference between the first pixel and the spatially coincident second pixel included in the second image; and shifting the second pixel horizontally and / or vertically. And N
An image processing apparatus comprising: means for repeating a process of obtaining an absolute value by twice the density; and means for obtaining a minimum value among the obtained absolute values.

【0010】また、請求項3の発明は、1枚の第1の画
像とそのN倍の密度を持つ第2の画像との間で動き検出
を行う画像処理方法において、第1の画像に含まれる第
1の画素と、第2の画像に含まれ、第1の画素と空間的
に一致する第2の画素との間の差分の絶対値を求めるス
テップと、第2の画素を水平方向および/または垂直方
向にシフトしてN倍の密度分、絶対値を求める処理を繰
り返すステップと、求められた絶対値の中の最小値を求
めるステップとからなることを特徴とする画像処理方法
である。
According to a third aspect of the present invention, in the image processing method for performing motion detection between a single first image and a second image having a density N times that of the first image, the first image is included in the first image. Determining the absolute value of the difference between the first pixel to be detected and a second pixel included in the second image and spatially coincident with the first pixel; And / or a step of repeating a process of obtaining an absolute value for N times the density by shifting in the vertical direction, and a step of obtaining a minimum value of the obtained absolute values. .

【0011】この発明では、N倍密画像は、水平方向お
よび/または垂直方向に位相が互いに異なるN枚の1倍
密画像が組み合わされたものと扱われる。従って、1倍
密画像とN枚の1倍密画像のそれぞれとの間で、空間的
に対応する画素同士の差分の絶対値が計算される。得ら
れる差分絶対値は、1倍密画像同士から得られるものと
N倍の密度となる。従って、差分絶対値の中の最小値か
ら動きベクトルを検出することによって、N倍密画像の
画素精度でもって動きベクトルを検出することができ
る。
In the present invention, an N-fold dense image is treated as a combination of N single-density images having different phases in the horizontal and / or vertical directions. Accordingly, the absolute value of the difference between spatially corresponding pixels between the 1-density image and the N single-density images is calculated. The obtained absolute difference values are those obtained from the 1-density images and have N times the density. Therefore, by detecting the motion vector from the minimum value among the absolute values of the differences, the motion vector can be detected with the pixel accuracy of the N-fold dense image.

【0012】[0012]

【発明の実施の形態】以下、この発明の一実施形態につ
いて図面を参照して説明する。図1は、この発明による
画像処理方法の一実施形態を示すものである。例とし
て、図1Aに示すように、1枚の画像(基準画像)Ps
と、この画像Psに対して垂直方向で4倍の密度の画像
Phとの間の動きベクトル検出について説明する。図1
Aにおいて、破線のラインは、ラインの位置を表し、実
際には、画素が存在しないラインである。4倍密画像P
hは、基準画像Psと空間的に一致し、ライン位置が基
準画像Psと一致するものと、ライン位置を1ラインず
つずらした3枚の画像との合計4枚の1倍密画像Ph
1、Ph2、Ph3、Ph4と扱うことができる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of an image processing method according to the present invention. As an example, as shown in FIG. 1A, one image (reference image) Ps
The following describes the detection of a motion vector between the image Ps and the image Ph having a density four times as high as the image Ps in the vertical direction. FIG.
In A, the broken line indicates the position of the line, and is actually a line where no pixel exists. 4 times denser image P
h is a total of four single-density images Ph, which are spatially coincident with the reference image Ps and whose line positions coincide with the reference image Ps, and three images whose line positions are shifted by one line at a time.
1, Ph2, Ph3, and Ph4.

【0013】すなわち、図1Aにおいて、Ph1は、高
密度画像Phの連続する4ラインの組で最も上に位置す
るラインを選択することで得られるものである。Ph2
は、この4ラインの組の上から2番目に位置するライン
を選択することで得られるものである。Ph3は、この
4ラインの組の上から3番目に位置するラインを選択す
ることで得られるものである。Ph4は、この4ライン
の組の最も下に位置するラインを選択することで得られ
るものである。これらの画像Ph1〜Ph4を合わせる
ことで4倍密画像が構成される。
That is, in FIG. 1A, Ph1 is obtained by selecting the uppermost line in a set of four consecutive lines of the high-density image Ph. Ph2
Is obtained by selecting the line located second from the top of this set of four lines. Ph3 is obtained by selecting the line located third from the top of this set of four lines. Ph4 is obtained by selecting the lowest line of the set of four lines. By combining these images Ph1 to Ph4, a quadruple-density image is formed.

【0014】最初に、図1Bに示すように、同一の大き
さで同一の形の基準ブロックBsおよび参照ブロックB
h1(図1Bでは、5×5のブロックが示されている)
を画像PsおよびPh1〜Ph4の中の1枚の画像例え
ばPh1の空間的に対応する位置に設定する。そして、
図2に示すように、基準ブロックBsと同一の位置に存
在する画素の画素値どうしの差分の絶対値を求め、この
絶対値を1ブロックにわたって集計し、絶対値和を求め
る。次に、図2において破線で示すように、参照ブロッ
クBh1を1倍密画像の画素単位で種々の位置に移動
し、移動後の位置で絶対値和をそれぞれ求める。求めた
絶対値和を絶対値和のテーブルに格納する。
First, as shown in FIG. 1B, a reference block Bs and a reference block Bs having the same size and the same shape.
h1 (FIG. 1B shows 5 × 5 blocks)
Is set at a position spatially corresponding to one image of the images Ps and Ph1 to Ph4, for example, Ph1. And
As shown in FIG. 2, the absolute value of the difference between the pixel values of the pixels existing at the same position as the reference block Bs is obtained, and the absolute values are totaled over one block to obtain the sum of absolute values. Next, as shown by a broken line in FIG. 2, the reference block Bh1 is moved to various positions in units of pixels of the 1-density image, and sums of absolute values are obtained at the positions after the movement. The obtained absolute value sum is stored in the absolute value sum table.

【0015】移動範囲は、探索範囲として規定される。
例えば水平方向に1画素ずつずれた5個の参照ブロック
と、垂直方向に1画素ずつずれた3個の参照ブロックと
の合計5×3個の参照ブロックに関して絶対値和が計算
される。その場合には、図3Aに示すように、5×3個
の絶対値和テーブルT1が得られる。5×3の範囲の中
央位置が原点Oである。原点Oは、基準ブロックBsお
よび参照ブロックBh1の空間的な中心と一致する。若
し、後述するように得られた最終的な絶対値和テーブル
T0の中で、最小値を与える参照ブロックの位置が原点
にある時は、動きベクトルが0である。
The moving range is defined as a search range.
For example, the sum of absolute values is calculated for a total of 5 × 3 reference blocks including five reference blocks shifted by one pixel in the horizontal direction and three reference blocks shifted by one pixel in the vertical direction. In that case, as shown in FIG. 3A, 5 × 3 absolute value sum tables T1 are obtained. The center position in the 5 × 3 range is the origin O. The origin O coincides with the spatial center of the reference block Bs and the reference block Bh1. If the position of the reference block giving the minimum value is at the origin in the final absolute value sum table T0 obtained as described later, the motion vector is 0.

【0016】次に、参照ブロックBh1と同様の大きさ
で同一の形の参照ブロックBh2を間引かれた画像Ph
2の空間的に同一の位置に設定する。参照ブロックBh
1の場合と同様に、基準ブロックBsと参照ブロックB
h2の間の差分の絶対値和を求め、絶対値和のテーブル
T2を得る。このテーブルT2は、空間的には、テーブ
ルT1より4倍密画像の1ライン下側の位置のものであ
る。さらに、参照ブロックBh3、Bh4についても、
参照ブロックBh1、Bh2と同様に基準ブロックBs
とのブロックマッチングを行い、求めた絶対値和のテー
ブルT3およびT4を得る。テーブルT3は、空間的に
は、テーブルT2より4倍密画像の1ライン下側の位置
であり、テーブルT4は、空間的には、テーブルT3よ
り4倍密画像の1ライン下側の位置である。
Next, an image Ph in which a reference block Bh2 having the same size and the same shape as the reference block Bh1 has been thinned out.
2 are set at the same spatial position. Reference block Bh
1, the reference block Bs and the reference block B
The absolute value sum of the difference between h2 is obtained, and a table T2 of the absolute value sum is obtained. This table T2 is spatially located at a position one line below the four-times denser image than the table T1. Further, for the reference blocks Bh3 and Bh4,
Like the reference blocks Bh1 and Bh2, the reference block Bs
Is performed, and tables T3 and T4 of the calculated absolute value sums are obtained. The table T3 is spatially at a position one line lower than the table T2 four times denser image, and the table T4 is spatially at a position one line lower than the table T3 four times denser image. is there.

【0017】そして、図3Bに示すように、4個のテー
ブルを4倍密画像から4枚の1倍密画像を得る時と逆の
関係でもって合成し、最終的な絶対値和のテーブルT0
を作成する。テーブルT0は、5×3×4の絶対値和の
分布を示すものである。このテーブルT0の中で、最小
値を検出する。原点Oから最小値を与える参照ブロック
の位置へのベクトルが動きベクトルとして検出される。
このように、動きベクトル検出を4倍密度の画像の精度
で行うことができる。
Then, as shown in FIG. 3B, the four tables are combined in the reverse relationship to the case where four 1-density images are obtained from the 4-density image, and the final absolute value sum table T0 is obtained.
Create Table T0 shows the distribution of the sum of absolute values of 5 × 3 × 4. The minimum value is detected in the table T0. A vector from the origin O to the position of the reference block giving the minimum value is detected as a motion vector.
In this manner, motion vector detection can be performed with the accuracy of a quadruple density image.

【0018】なお、上述した一実施形態は、基準画像と
垂直方向に4倍密画像との間で動きベクトルを検出する
例である。しかしながら、垂直方向のみならず、水平方
向、または垂直および水平方向にN倍密画像と基準画像
との間で動きベクトルを検出する場合に対してもこの発
明を適用できる。そして、N倍密精度で動きベクトルを
検出することができる。Nは、好ましくは2以上の整数
である。
The above-described embodiment is an example in which a motion vector is detected between a reference image and a quadruple-density image in the vertical direction. However, the present invention is applicable not only to the vertical direction but also to the case where a motion vector is detected between the N-fold dense image and the reference image in the horizontal direction, or in the vertical and horizontal directions. Then, a motion vector can be detected with N times higher precision. N is preferably an integer of 2 or more.

【0019】図4は、この発明の一実施形態による動き
ベクトル検出装置の構成を示す。図4において、1が基
準画像(図1Aにおける画像Ps)をブロックに分解す
るブロック化回路である。2が4倍密画像を基準画像と
同じ密度で、且つ空間的に同じ関係のN枚例えば4枚の
画像(図1Aにおける画像Ph1、Ph2、Ph3、P
h4)に分離する位相分離回路である。位相分離回路2
は、基準画像Psが入力され、4ラインの組の第1番目
のラインのデータから第4番目のラインのデータまで、
ライン毎に分離したデータを出力する。
FIG. 4 shows a configuration of a motion vector detecting device according to an embodiment of the present invention. In FIG. 4, reference numeral 1 denotes a blocking circuit for decomposing a reference image (image Ps in FIG. 1A) into blocks. 2, N images having the same density as the reference image and spatially the same relationship as the reference image, for example, four images (images Ph1, Ph2, Ph3, and P in FIG.
h4). Phase separation circuit 2
Indicates that the reference image Ps is input, and from the data of the first line to the data of the fourth line of the set of four lines,
Outputs data separated for each line.

【0020】位相分離回路2の画像Ph1の出力がブロ
ック化回路3に供給され、ブロックに分解され、画像P
h2の出力がブロック化回路4に供給され、ブロックに
分解され、画像Ph3の出力がブロック化回路5に供給
され、ブロックに分解され、画像Ph1の出力がブロッ
ク化回路6に供給され、ブロックに分解される。ブロッ
ク化回路3〜6は、ブロック化回路1によるブロックと
同一形状で同一サイズのブロック(例えば5×5画素)
に画像Ph1〜Ph4をそれぞれ細分化するものであ
る。
The output of the image Ph1 of the phase separation circuit 2 is supplied to a block circuit 3, where it is decomposed into blocks, and
The output of h2 is supplied to the blocking circuit 4 and decomposed into blocks. The output of the image Ph3 is supplied to the blocking circuit 5 and decomposed into blocks. The output of the image Ph1 is supplied to the blocking circuit 6 and Decomposed. The blocking circuits 3 to 6 are blocks having the same shape and the same size as the blocks formed by the blocking circuit 1 (for example, 5 × 5 pixels).
The images Ph1 to Ph4 are respectively subdivided.

【0021】ブロック化回路1の出力が誤差検出回路
7、8、9、10に共通に供給される。誤差検出回路7
の他方の入力として、ブロック化回路3の出力が供給さ
れる。誤差検出回路7は、基準画像のブロックBsとブ
ロック化回路3からの画像Ph1のブロックとの間で、
ブロック内の対応する位置の画素同士の画素値の差分絶
対値和を集計する。そして、参照ブロックの位置毎に絶
対値和を記憶するテーブルT1を作成する。
The output of the blocking circuit 1 is supplied to the error detection circuits 7, 8, 9, and 10 in common. Error detection circuit 7
As the other input, the output of the blocking circuit 3 is supplied. The error detection circuit 7 determines whether the block Bs of the reference image and the block of the image Ph1 from the blocking
The sum of absolute differences of the pixel values of the pixels at the corresponding positions in the block is totaled. Then, a table T1 for storing the sum of absolute values for each position of the reference block is created.

【0022】誤差検出回路8の他方の入力として、ブロ
ック化回路4の出力が供給される。誤差検出回路8は、
基準画像のブロックとブロック化回路4からの画像Ph
2のブロックとの間で、ブロック内の対応する位置の画
素同士の画素値の差分絶対値和を集計する。そして、参
照ブロックの位置毎に絶対値和を記憶するテーブルT2
を作成する。同様に、誤差検出回路9が基準画像のブロ
ックと画像Ph3のブロックとの間の差分の絶対値和の
テーブルT3を作成し、誤差検出回路10が基準画像の
ブロックと画像Ph4のブロックとの間の差分の絶対値
和のテーブルT4を作成する。
As the other input of the error detection circuit 8, the output of the blocking circuit 4 is supplied. The error detection circuit 8
Reference Image Block and Image Ph from Blocking Circuit 4
The sum of absolute differences between the pixel values of the pixels at the corresponding positions in the block between the two blocks is counted. Then, a table T2 for storing the sum of absolute values for each position of the reference block
Create Similarly, the error detection circuit 9 creates a table T3 of the sum of absolute values of the differences between the block of the reference image and the block of the image Ph3, and the error detection circuit 10 generates the table T3 between the block of the reference image and the block of the image Ph4. A table T4 of the sum of absolute values of the differences is created.

【0023】誤差検出回路7〜10のそれぞれにより作
成されたテーブルT1〜T4が位相合成回路11に供給
される。位相合成回路11は、位相分離回路2における
位相分離と逆に絶対値和を合成し、位相合成回路11に
よって最終的なテーブルT0が作成される。位相合成回
路11により作成されたテーブルT0を参照して動きベ
クトル検出回路12が動きベクトルを検出する。すなわ
ち、動きベクトル検出回路12は、絶対値和の中の最小
値を検出し、動きベクトルを出力する。図4のブロック
図の下側には、位相分離回路2、誤差検出回路7〜1
0、動きベクトル検出回路12のそれぞれの処理におけ
る二つの画像の画素および差分の絶対値和の空間的関係
を概略的に表す。
The tables T1 to T4 created by the error detection circuits 7 to 10 are supplied to the phase synthesis circuit 11. The phase synthesizing circuit 11 synthesizes the sum of absolute values contrary to the phase separation in the phase separating circuit 2, and the phase synthesizing circuit 11 creates a final table T0. The motion vector detection circuit 12 detects a motion vector with reference to the table T0 created by the phase synthesis circuit 11. That is, the motion vector detection circuit 12 detects the minimum value in the sum of absolute values and outputs a motion vector. In the lower part of the block diagram in FIG.
0, the spatial relationship between the pixels of the two images and the sum of absolute values of the differences in each process of the motion vector detection circuit 12 is schematically shown.

【0024】なお、この発明は、基準画像がN倍密画像
である場合に対しても適用でき、また、ブロック単位で
動きベクトルを検出するのに限らず、画像全体の動きを
検出する場合にも適用できる。
The present invention can be applied to the case where the reference image is an N-fold dense image. The present invention is not limited to detecting a motion vector in units of blocks, but also detecting a motion of the entire image. Can also be applied.

【0025】[0025]

【発明の効果】この発明に依れば、画素を間引いて1倍
密の画像に変換してから動きベクトルを検出するのと異
なり、より高い精度、すなわち、N倍密画像の画素精度
でもって動きベクトルを検出することができる。
According to the present invention, unlike the method of detecting a motion vector after thinning out pixels to convert to a one-density image, the present invention provides higher accuracy, that is, pixel accuracy of an N-times denser image. A motion vector can be detected.

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

【図1】この発明の動きベクトル検出方法の一実施形態
を説明するための略線図である。
FIG. 1 is a schematic diagram illustrating an embodiment of a motion vector detection method according to the present invention.

【図2】この発明の動きベクトル検出方法の一実施形態
を説明するための略線図である。
FIG. 2 is a schematic diagram for explaining an embodiment of a motion vector detection method according to the present invention.

【図3】この発明の動きベクトル検出方法の一実施形態
を説明するための略線図である。
FIG. 3 is a schematic diagram for explaining an embodiment of a motion vector detection method according to the present invention.

【図4】この発明の動きベクトル検出装置の一実施形態
のブロック図である。
FIG. 4 is a block diagram of an embodiment of a motion vector detecting device according to the present invention.

【図5】動きベクトル検出方法の一例を説明するための
略線図である。
FIG. 5 is a schematic diagram illustrating an example of a motion vector detection method.

【図6】動きベクトル検出方法の一例を説明するための
略線図である。
FIG. 6 is a schematic diagram for explaining an example of a motion vector detection method.

【図7】動きベクトル検出方法の一例を説明するための
略線図である。
FIG. 7 is a schematic diagram illustrating an example of a motion vector detection method.

【図8】動きベクトル検出装置の一例を説明するための
略線図である。
FIG. 8 is a schematic diagram illustrating an example of a motion vector detection device.

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

Ps・・・基準画像、Ph・・・4倍密画像、T0〜T
4・・・絶対値和テーブル、2・・・位相分離回路、1
1・・・位相合成回路、12・・・動きベクトル検出回
Ps: Reference image, Ph: 4-fold dense image, T0 to T
4 ... Absolute value sum table, 2 ... Phase separation circuit, 1
1 ... Phase synthesis circuit, 12 ... Motion vector detection circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤原 孝芳 東京都品川区北品川6丁目7番35号 ソニ ー株式会社内 Fターム(参考) 5C059 KK19 KK27 LA06 MA05 NN03 NN21 NN28 SS05 UA06 5L096 GA08 GA19 GA53 HA04  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Takayoshi Fujiwara F-term (reference) 5C059 KK19 KK27 LA06 MA05 NN03 NN21 NN28 SS05 UA06 5L096 GA08 GA19 GA53 6-35 Kita Shinagawa, Shinagawa-ku, Tokyo HA04

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1枚の第1の画像とそのN倍の密度を持
つ第2の画像との間で動き検出を行う画像処理装置にお
いて、 第1の画像に含まれる第1の画素と、第2の画像に含ま
れ、上記第1の画素と空間的に一致する第2の画素との
間の差分の絶対値を求める手段と、 上記第2の画素を水平方向および/または垂直方向にシ
フトしてN倍の密度分、上記絶対値を求める処理を繰り
返す手段と、 求められた上記絶対値の中の最小値を求める手段とから
なることを特徴とする画像処理装置。
An image processing apparatus for performing motion detection between a single first image and a second image having a density N times that of the first image, comprising: a first pixel included in the first image; Means for determining the absolute value of the difference between the first pixel and the spatially coincident second pixel included in the second image; and determining the absolute value of the second pixel in the horizontal and / or vertical directions. An image processing apparatus comprising: means for repeating the process of obtaining the absolute value by N times the density, and means for obtaining the minimum value of the obtained absolute values.
【請求項2】 請求項1において、 上記第1の画像および上記第2の画像をそれぞれ同一形
状の第1および第2のブロックに分解し、ブロック単位
で上記絶対値を求め、上記絶対値をブロック単位で集計
することによって絶対値和を求め、上記第1および第2
のブロックの一方を画素単位で移動して上記絶対値和を
それぞれ求め、求められた複数の上記絶対値和の中で最
小値を検出するようにしたことを特徴とする画像処理装
置。
2. The method according to claim 1, wherein the first image and the second image are decomposed into first and second blocks having the same shape, and the absolute value is obtained in block units. The sum of absolute values is obtained by summing up in block units, and the first and second absolute values are calculated.
An image processing apparatus characterized in that one of the blocks is moved in units of pixels to obtain the absolute value sums, and a minimum value is detected from the plurality of obtained absolute value sums.
【請求項3】 1枚の第1の画像とそのN倍の密度を持
つ第2の画像との間で動き検出を行う画像処理方法にお
いて、 第1の画像に含まれる第1の画素と、第2の画像に含ま
れ、上記第1の画素と空間的に一致する第2の画素との
間の差分の絶対値を求めるステップと、 上記第2の画素を水平方向および/または垂直方向にシ
フトしてN倍の密度分、上記絶対値を求める処理を繰り
返すステップと、 求められた上記絶対値の中の最小値を求めるステップと
からなることを特徴とする画像処理方法。
3. An image processing method for performing motion detection between one first image and a second image having N times the density of the first image, comprising: a first pixel included in the first image; Determining the absolute value of the difference between the first pixel and a spatially consistent second pixel included in the second image; and determining the absolute value of the second pixel in the horizontal and / or vertical directions. An image processing method, comprising: a step of repeating the process of obtaining the absolute value for N times the density by shifting; and obtaining a minimum value of the obtained absolute values.
JP3481499A 1999-02-12 1999-02-12 Image processing unit and its method Pending JP2000236554A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3481499A JP2000236554A (en) 1999-02-12 1999-02-12 Image processing unit and its method
KR1020000006265A KR100730464B1 (en) 1999-02-12 2000-02-10 Receiving device for receiving a digital signal and the method of therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3481499A JP2000236554A (en) 1999-02-12 1999-02-12 Image processing unit and its method

Publications (1)

Publication Number Publication Date
JP2000236554A true JP2000236554A (en) 2000-08-29

Family

ID=12424689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3481499A Pending JP2000236554A (en) 1999-02-12 1999-02-12 Image processing unit and its method

Country Status (1)

Country Link
JP (1) JP2000236554A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002084458A (en) * 2000-06-23 2002-03-22 Sony Corp Image processing unit and method, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002084458A (en) * 2000-06-23 2002-03-22 Sony Corp Image processing unit and method, and recording medium
JP4617611B2 (en) * 2000-06-23 2011-01-26 ソニー株式会社 Image processing apparatus and method, and recording medium

Similar Documents

Publication Publication Date Title
JP3845870B2 (en) Integrated circuit for digital signal processing
US8149915B1 (en) Refinement of motion vectors in hierarchical motion estimation
US7672538B2 (en) Generation of still image from a plurality of frame images
JP3590631B2 (en) Method and apparatus for creating a high-resolution still image using a plurality of images
US6263025B1 (en) Motion vector detecting apparatus
KR100973429B1 (en) Background motion vector detection
US20030035594A1 (en) Image processing device and method, and recorded medium
US20050213663A1 (en) Image processing apparatus and method, recording medium, and program
JPH03256485A (en) Motion vector detecting circuit
JPH11191880A (en) Image converter, image conversion method, learning device and learning method
TWI239206B (en) Apparatus and method for performing inverse telecine process
JP2000253422A (en) Method for generating three-dimensionall image from two-dimensional image
US20160048977A1 (en) Method and Device for Detecting Face, and Non-Transitory Computer-Readable Recording Medium for Executing the Method
JP2003169338A (en) Method and device for detecting motion vector and medium with method program recorded
JPH0795591A (en) Digital picture signal processing unit
JP2000236554A (en) Image processing unit and its method
JP2008079238A (en) Image compression method and apparatus, electronic camera, and program
JP2003244659A (en) Frame interpolation method
JPH09182077A (en) Image encoding method and device
JP3473528B2 (en) Motion detection device and motion detection method
JP2004229150A (en) Motion vector searching method and device
JPH1083442A (en) Picture synthesis method
JP3483751B2 (en) Motion vector detecting device and motion vector detecting method
JP2011170488A (en) Image processing device, image processing method, image processing program, and electronic apparatus
JP3528115B2 (en) Motion prediction vector detection circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080805

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081006

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081111