JP2005175882A - Apparatus and method for detecting motion vector - Google Patents
Apparatus and method for detecting motion vector Download PDFInfo
- Publication number
- JP2005175882A JP2005175882A JP2003412973A JP2003412973A JP2005175882A JP 2005175882 A JP2005175882 A JP 2005175882A JP 2003412973 A JP2003412973 A JP 2003412973A JP 2003412973 A JP2003412973 A JP 2003412973A JP 2005175882 A JP2005175882 A JP 2005175882A
- Authority
- JP
- Japan
- Prior art keywords
- luminance
- average value
- block
- motion vector
- reference image
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
本発明は、動画像をフレーム間予測によって符号化する画像符号化装置で使用される動きベクトル検出装置および方法に関するものである。 The present invention relates to a motion vector detection apparatus and method used in an image encoding apparatus that encodes a moving image by inter-frame prediction.
MPEG方式(Moving Picture image coding Exparts Group)のような動画像のフレーム間相関を利用した画像圧縮方式では、動き補償を行うブロック単位で動きベクトルの推定が必要である。この動きベクトルを検出する回路の従来例として、特許文献1が開示されている。
In an image compression method using inter-frame correlation of moving images such as the MPEG method (Moving Picture image Coding Experts Group), it is necessary to estimate a motion vector for each block for performing motion compensation.
図8に従来の動きベクトル検出回路を示す。図8において、81はフレームメモリ、82はブロック内DC演算回路、83はDC蓄積用メモリ、84は動き補償回路、85は符号化回路、aは入力画像データ、bは処理ブロックデータ、cは処理ブロックデータbのブロックDC値、dは処理ブロックデータbと同じ位置の予測参照画像データのブロックDC値、eは入力画像データaのブロック位置およびその探索範囲にある予測参照画像データ、fは動きベクトル、gは動きベクトルに対応する予測参照ブロックデータである。 FIG. 8 shows a conventional motion vector detection circuit. In FIG. 8, 81 is a frame memory, 82 is an intra-block DC arithmetic circuit, 83 is a DC storage memory, 84 is a motion compensation circuit, 85 is an encoding circuit, a is input image data, b is processing block data, c is The block DC value of the processing block data b, d is the block DC value of the predicted reference image data at the same position as the processing block data b, e is the block position of the input image data a and the predicted reference image data in its search range, and f is A motion vector, g is prediction reference block data corresponding to the motion vector.
まず、フレームメモリ81には、入力である入力画像データaと、動き補償用の参照画像が蓄積される。フレームメモリ81に入力された入力画像データaは、動きベクトル検出単位の16×16画素のブロック単位で読み出され、そのブロック位置情報と共にブロック内DC演算回路82と動き補償回路84に処理ブロックデータbとして供給される。ブロック内DC演算回路82では、処理ブロックデータbのブロックDC値cを計算し、動き補償回路84とDC蓄積用メモリ83に供給する。DC蓄積用メモリ83は、既に蓄積されている参照画像のブロック単位でのDC値の中で、処理ブロックデータbと同じ位置にある参照画像のブロックDC値dを動き補償回路84に出力すると共に、入力画像データaのブロック位置とその探索範囲にある参照画像データeがフレームメモリ81から動き補償回路84に供給される。
First, the
動き補償回路84は、処理ブロックデータbをブロックDC値cで補正した値と、参照画像データeをブロックDC値dで補正した値を用いて動き検出し、処理ブロックデータb、検出した動きベクトルfと動きベクトルに対応する予測参照ブロックデータgを符号化回路85に出力し、符号化回路85で符号化を行う構成になっている。
通常の動き検出では、評価値をマクロブロック単位で各画素の輝度の差分絶対値総和を求め、その最小値の位置を求めることで動きベクトルを算出している。フェードイン/フェードアウトや、フラッシュ等により、画像全体/一部で輝度変化が大きい画像では、探索範囲内の輝度値の似た値を持つ位置を動きベクトルとして検出するため、正確な動きベクトルを検出するのが困難であった。この動きベクトルの誤検出により、モスキートノイズが多く発生するという課題があった。 In normal motion detection, the motion vector is calculated by obtaining the sum of absolute differences in luminance of each pixel for each evaluation block as the evaluation value and obtaining the position of the minimum value. For an image with a large change in luminance in the whole image or part of the image due to fade-in / fade-out, flash, etc., a position having a similar luminance value in the search range is detected as a motion vector, so an accurate motion vector is detected. It was difficult to do. There has been a problem that a lot of mosquito noise is generated due to erroneous detection of the motion vector.
従来例では、局所的な輝度変化に対応するために、探索範囲毎に符号化対象ブロックの輝度平均値と、同じブロック位置にある参照画像ブロックの輝度平均値を求め、各画素値をこれらの値で補正して評価値を生成して動き検出を行っている。このとき、符号化対象ブロックの位置以外の評価値を求める時に補正値の誤差が発生するため、補正が悪影響を及ぼすという課題があった。 In the conventional example, in order to cope with a local luminance change, the luminance average value of the encoding target block and the luminance average value of the reference image block at the same block position are obtained for each search range, and each pixel value is calculated from these pixel values. The motion is detected by generating an evaluation value by correcting with the value. At this time, when an evaluation value other than the position of the encoding target block is obtained, an error of the correction value occurs, and there is a problem that the correction has an adverse effect.
本発明は、画像全体或いは、局所的な輝度変化に対応して誤検出の少ない動きベクトル検出を行うことが可能な動きベクトル検出装置および方法を提供することを目的とする。 It is an object of the present invention to provide a motion vector detection apparatus and method capable of performing motion vector detection with few false detections corresponding to the entire image or local luminance change.
上記の課題を解決するために、本発明による動きベクトル検出装置は、入力画像と参照画像を蓄積し、所定のブロックサイズで前記入力画像の輝度データを出力し、かつ、動きベクトルの探索範囲を単位として前記参照画像の輝度データを出力するフレームメモリと、前記入力画像のブロック毎に輝度平均値を算出するブロック輝度平均値算出部と、前記入力画像のブロック毎に算出された輝度平均値を蓄積するブロック輝度平均値格納メモリと、探索位置毎に前記参照画像の一つ、或いは複数のブロックの輝度平均値から探索位置の輝度平均値を算出する参照画像輝度平均値補正部と、前記入力画像のブロック単位の輝度データから前記ブロック輝度平均値算出部で算出された輝度平均値を減算した入力補正輝度データと、前記参照画像のブロック単位の輝度データから前記探索位置の輝度平均値を減算した参照補正輝度データから動きベクトルを検出する動きベクトル検出部を備えることを特徴とする。 In order to solve the above problems, a motion vector detection apparatus according to the present invention accumulates an input image and a reference image, outputs luminance data of the input image in a predetermined block size, and sets a motion vector search range. A frame memory that outputs luminance data of the reference image as a unit, a block luminance average value calculation unit that calculates a luminance average value for each block of the input image, and a luminance average value calculated for each block of the input image A block luminance average value storage memory to be accumulated, a reference image luminance average value correction unit that calculates a luminance average value of a search position from the luminance average value of one or a plurality of blocks for each search position, and the input Input corrected luminance data obtained by subtracting the luminance average value calculated by the block luminance average value calculation unit from luminance data in block units of the image, and the reference image Characterized in that the reference corrected luminance data obtained by subtracting the luminance average value of the search position from the luminance data of the lock unit includes a motion vector detecting section for detecting a motion vector.
また、本発明による動きベクトル検出装置は、入力画像と参照画像を蓄積し、所定のブロックサイズで前記入力画像の輝度データを出力し、かつ、動きベクトルの探索範囲を単位として前記参照画像の輝度データを出力するフレームメモリと、前記入力画像のブロック毎に輝度平均値を算出するブロック輝度平均値算出部と、前記入力画像のブロック毎に算出された輝度平均値を蓄積するブロック輝度平均値格納メモリと、探索位置毎に前記参照画像の一つ、或いは複数のブロックの輝度平均値から探索位置の輝度平均値を算出する参照画像輝度平均値補正部と、探索位置毎に前記入力画像の輝度データと前記参照画像の輝度データの輝度平均値による補正を行うか行わないかを決定し、制御情報を生成する平均値補正制御部と、前記平均値補正制御部の制御情報に基づき、前記入力画像のブロック単位の輝度データから前記ブロック輝度平均値算出部で算出された輝度平均値もしくは0を減算した入力補正輝度データと、前記参照画像のブロック単位の輝度データから前記探索位置の輝度平均値もしくは0を減算した参照補正輝度データから動きベクトルを検出する動きベクトル検出部を備えることを特徴とする。 The motion vector detection device according to the present invention accumulates an input image and a reference image, outputs luminance data of the input image in a predetermined block size, and also outputs the luminance of the reference image in units of a motion vector search range. A frame memory that outputs data; a block luminance average value calculating unit that calculates an average luminance value for each block of the input image; and a block luminance average value storage that accumulates the average luminance value calculated for each block of the input image A memory, a reference image luminance average value correcting unit that calculates an average luminance value of the search position from an average luminance value of one or a plurality of blocks of the reference image for each search position, and the luminance of the input image for each search position An average value correction control unit that determines whether or not to perform correction based on a luminance average value of the data and luminance data of the reference image, and generates control information; and the average value Based on the control information of the positive control unit, the luminance average value calculated by the block luminance average value calculation unit or the input corrected luminance data obtained by subtracting 0 from the luminance data of the block unit of the input image, and the block unit of the reference image A motion vector detection unit that detects a motion vector from reference brightness data obtained by subtracting 0 from the brightness average value or 0 of the search position.
また、本発明による動きベクトル検出方法は、入力画像と参照画像を蓄積し、所定のブロックサイズで前記入力画像の輝度データを出力し、かつ、動きベクトルの探索範囲を単位として前記参照画像の輝度データを出力するフレームメモリと、前記入力画像のブロック毎に輝度平均値を算出するブロック輝度平均値算出工程と、前記入力画像のブロック毎に算出された輝度平均値を蓄積するブロック輝度平均値格納メモリと、探索位置毎に前記参照画像の一つ、或いは複数のブロックの輝度平均値から探索位置の輝度平均値を算出する参照画像輝度平均値補正工程と、前記入力画像のブロック単位の輝度データから前記ブロック輝度平均値算出工程で算出された輝度平均値を減算した入力補正輝度データと、前記参照画像のブロック単位の輝度データから前記探索位置の輝度平均値を減算した参照補正輝度データから動きベクトルを検出する動きベクトル検出工程を備えることを特徴とする。 Also, the motion vector detection method according to the present invention accumulates an input image and a reference image, outputs luminance data of the input image in a predetermined block size, and luminance of the reference image in units of a motion vector search range. A frame memory for outputting data; a block luminance average value calculating step for calculating a luminance average value for each block of the input image; and a block luminance average value storage for storing the luminance average value calculated for each block of the input image A memory, a reference image luminance average value correcting step for calculating an average luminance value of the search position from an average luminance value of one or a plurality of blocks of the reference image for each search position, and luminance data of each block of the input image Input corrected luminance data obtained by subtracting the luminance average value calculated in the block luminance average value calculating step, and luminance in block units of the reference image Characterized in that it comprises a motion vector detection step of detecting a motion vector from the reference corrected luminance data from the data obtained by subtracting the luminance average value of the search position.
また、本発明による動きベクトル検出方法は、入力画像と参照画像を蓄積し、所定のブロックサイズで前記入力画像の輝度データを出力し、かつ、動きベクトルの探索範囲を単位として前記参照画像の輝度データを出力するフレームメモリと、前記入力画像のブロック毎に輝度平均値を算出するブロック輝度平均値算出工程と、前記入力画像のブロック毎に算出された輝度平均値を蓄積するブロック輝度平均値格納メモリと、探索位置毎に前記参照画像の一つ、或いは複数のブロックの輝度平均値から探索位置の輝度平均値を算出する参照画像輝度平均値補正工程と、探索位置毎に前記入力画像の輝度データと前記参照画像の輝度データの輝度平均値による補正を行うか行わないかを決定し、制御情報を生成する平均値補正制御工程と、前記平均値補正制御工程の制御情報に基づき、前記入力画像のブロック単位の輝度データから前記ブロック輝度平均値算出工程で算出された輝度平均値もしくは0を減算した入力補正輝度データと、前記参照画像のブロック単位の輝度データから前記探索位置の輝度平均値もしくは0を減算した参照補正輝度データから動きベクトルを検出する動きベクトル検出工程を備えることを特徴とする。 Also, the motion vector detection method according to the present invention accumulates an input image and a reference image, outputs luminance data of the input image in a predetermined block size, and luminance of the reference image in units of a motion vector search range. A frame memory for outputting data; a block luminance average value calculating step for calculating a luminance average value for each block of the input image; and a block luminance average value storage for storing the luminance average value calculated for each block of the input image A memory, a reference image luminance average value correcting step for calculating an average luminance value of the search position from an average luminance value of one or a plurality of blocks of the reference image for each search position, and the luminance of the input image for each search position Determining whether or not to perform correction based on the luminance average value of the luminance data of the data and the reference image, and an average value correction control step of generating control information; Based on the control information of the average value correction control step, the luminance average value calculated in the block luminance average value calculation step or the input correction luminance data obtained by subtracting 0 from the luminance data of the block unit of the input image, and the reference image A motion vector detecting step of detecting a motion vector from reference corrected luminance data obtained by subtracting a luminance average value or 0 from the search position from luminance data in blocks is provided.
以上のように本発明によれば、探索位置毎に算出する補正値で補正しながら動きベクトル検出を行っているため、画像全体だけではなく局所的な輝度変化に対応することが可能で、動きベクトルの誤検出を低減することが可能となる。また、補正値を輝度平均値と0とで切替えの制御を行うことで、輝度変化の少ない画像で動きベクトルの検出を効率よく行うことが可能となる。 As described above, according to the present invention, since motion vector detection is performed while correcting with a correction value calculated for each search position, it is possible to cope with not only the entire image but also a local luminance change. It becomes possible to reduce vector false detection. Further, by performing switching control of the correction value between the luminance average value and 0, it becomes possible to efficiently detect a motion vector in an image with little luminance change.
以下、本発明の実施形態について、図面を用いて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の第1の実施例である動きベクトル検出装置の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of a motion vector detection apparatus according to the first embodiment of the present invention.
ここでは、動きベクトルを検出するブロックサイズを16×16画素とし、参照画像が1フレームの時を例とする。 Here, the block size for detecting the motion vector is 16 × 16 pixels, and the reference image is one frame as an example.
図1に示すように、本実施例の動きベクトル検出装置は、入力画像101をフレームメモリ102に蓄積する。フレームメモリ102は、入力画像101を16×16画素ブロック単位で輝度データを符号化ブロック画像データとして出力する。また、フレームメモリ102は、既に動きベクトルの検出を行い、動き補償された画像データを参照画像として蓄積し、探索位置情報に基づき動きベクトルを検出する探索範囲単位で輝度データを参照画像データとして出力する。ブロック輝度平均値算出部103は、符号化ブロック画像データの輝度平均値を算出する。ブロック輝度平均値格納メモリ104は、符号化ブロック画像データの輝度平均値を符号化ブロック用補正値として蓄積する。この蓄積された補正値は、入力画像101を参照画像として動きベクトル検出を行う時に、参照画像用補正値として用いる。また、ブロック輝度平均値格納メモリ104には参照画像のブロック単位での輝度平均値が蓄積されており、探索位置情報に基づいて、1または複数のブロックの輝度平均値を出力する。参照画像輝度平均値補正部105は、ブロック輝度平均値メモリ104の出力である1または複数のブロックの輝度平均値を探索位置情報に基づいて重み付けを行って得られる参照画像用補正値を出力する。動きベクトル検出部106は、符号化ブロック画像データ、参照画像データ、符号化ブロック用補正値、参照画像用補正値を入力として動きベクトル検出を行い、動きベクトル107を出力する。
As shown in FIG. 1, the motion vector detection apparatus of this embodiment stores an
ここで、動きベクトル検出部106の構成例を図2を用いて説明する。動きベクトル検出部106の入力である符号化ブロック画像データ201の各画素値から符号化ブロック用補正値202を減算した補正符号化データと、参照画像データ203の各画素値から参照画像用補正値204を減算した補正参照データを算出する。参照画像用補正値204は前述の通り探索位置毎に参照画像輝度平均値補正部105で算出されるので、補正参照データも探索位置毎に算出される。評価値比較部206は、補正符号化データと補正参照データから探索位置毎に評価値を算出し、最も良い評価値を持つ探索位置を求め、符号化ブロック画像データのブロック位置との相対位置を動きベクトル207として出力する。また、評価値比較部206は、探索範囲の参照画像の切り出しや、参照画像用補正値204を算出するために探索位置205を出力する。探索位置毎の評価値は、2つのデータの各画素の差分絶対値の総和、分散値、2つのデータの各画素の差分のダイナミックレンジ、2乗誤差などの値である。また、ここでは図示していないが、動きベクトル207を検出した後、動きベクトル207が指す位置の参照画像のブロックデータを切り出し、出力するように構成することも可能である。
Here, a configuration example of the motion
次に、参照画像輝度平均補正部105の補正方法を以下に示す。ここでは、符号化ブロックが参照画像の参照ブロック1〜4にまたがる位置に存在する場合を例とし、参照ブロック1〜4の輝度平均値をそれぞれ、MB1、MB2、MB3、MB4として説明する。
Next, a correction method of the reference image luminance
まず、第1の補正方法を図3を用いて説明する。符号化ブロックの参照ブロック1に対する相対位置は、水平方向にx画素、垂直方向にy画素ずれた場所になる。符号化ブロックと参照ブロック1が重なっているエリアの面積S1は(16−x)×(16−y)で、同様に参照ブロック2と重なっている部分の面積S2はx×(16−y)、参照ブロック3と重なっている部分の面積S3は(16−x)×y、参照ブロック4と重なっている部分の面積S4はx×yとなる。上記の面積と輝度平均値を用いて、(S1×MB1+S2×MB2+S3×MB3+S4×MB4)/256の線形補間を行い、この結果を参照画像用補正値204とする。
First, the first correction method will be described with reference to FIG. The relative position of the encoded block with respect to the
次に、第2の補正方法を図4を用いて説明する。まず、参照ブロックを複数のエリアに分割する。ここでは、3−(1)から3−(9)の9エリアに分割した場合を例とする。符号化ブロックの参照ブロック1に対する相対位置がどのエリアにあるかを識別し、各エリアで設定されている補正値を参照画像用補正値204とする。ここでは非線形の補間を行い、3−(1)ではMB1、3−(2)では(MB1+MB2)/2、3−(3)ではMB2、3−(4)では(MB1+MB3)/2、3−(5)では(MB1+MB2+MB3+MB4)/4、3−(6)では(MB2+MB4)/2、3−(7)ではMB3、3−(8)では(MB3+MB4)/2、3−(9)ではMB4をそれぞれのエリアでの補正値とする。ここでは、9エリアに分割した場合を説明したが、これ以外の分割数や各エリアの面積を変えても、また、非線形の補間に限らずエリア毎に一つの補正値を設定する構成することも可能である。
Next, the second correction method will be described with reference to FIG. First, the reference block is divided into a plurality of areas. Here, the case where it divides | segments into 9 areas of 3- (1) to 3- (9) is made into an example. It identifies which area the relative position of the encoded block with respect to the
次に、第3の補正方法を図5を用いて説明する。第2の補正方法と同様に参照ブロックを複数エリアに分割する。ここでは、4−(1)から4−(4)の4エリアに分割した場合を例とする。符号化ブロックの参照ブロック1に対する相対位置がどのエリアにあるかを識別し、各エリアで設定されている補正値を参照画像用補正値204とする。第2の補正方法と同様にエリア毎に一つの補正値を設定するが、ここでは重み付けを1か0にするのみ、すなわち、4−(1)ではMB1、4−(2)ではMB2、4−(3)ではMB3、4−(4)ではMB4を補正値とする。ここでは、4エリアに分割した場合を説明したが、これ以外の分割数や各エリアの面積を変えても同様に構成することが可能である。
Next, a third correction method will be described with reference to FIG. Similar to the second correction method, the reference block is divided into a plurality of areas. Here, the case where it divides | segments into 4 areas of 4- (1) to 4- (4) is made into an example. It identifies which area the relative position of the encoded block with respect to the
また、ブロックサイズを16×16画素、参照する画像数を1としたが、これ以外の時にも同様に構成することが可能である。 Further, although the block size is 16 × 16 pixels and the number of images to be referred to is 1, it can be configured similarly at other times.
図6は、本発明の第2の実施例である動きベクトル検出装置の構成を示すブロック図である。 FIG. 6 is a block diagram showing a configuration of a motion vector detection apparatus according to the second embodiment of the present invention.
ここでは、実施例1と同様に動きベクトルを検出するブロックサイズを16×16画素とし、参照画像が1フレームの時を例とする。 Here, as in the first embodiment, the block size for detecting the motion vector is 16 × 16 pixels, and the reference image is one frame.
図6のフレームメモリ602はフレームメモリ102と、ブロック輝度平均値算出部603はブロック輝度平均値算出部103と、ブロック輝度平均値格納メモリ604はブロック輝度平均値格納メモリ104と、参照画像輝度平均値補正部605は参照画像輝度平均値補正部105と、それぞれ同じ動作をするので、ここでは説明を省略する。平均値補正制御部606は、符号化ブロック画像データと参照画像データの輝度補正を行うかどうかの制御を行うための制御信号を出力する。動きベクトル検出部607は、符号化ブロック画像データ、参照画像データ、符号化ブロック用補正値、参照画像用補正値を入力として、かつ、平均値補正制御部606の出力である制御信号に基づいて補正値を変えながら動きベクトル検出を行い、動きベクトル608を出力する。
The
ここで、動きベクトル検出部607の構成例を図7を用いて説明する。符号化ブロック画像データ701の各画素値から、制御信号706にしたがって選択部707で選択された符号化ブロック用補正値702或いは0を減算した補正符号化データと、参照画像データ703の各画素値から、制御信号706にしたがって選択部708で選択された参照画像用補正値704或いは0を減算した補正参照データを算出する。参照画像用補正値704は前述の通り探索位置毎に参照画像輝度平均値補正部605で算出されるので、補正参照データも探索位置毎に算出される。評価値比較部709は、評価値比較部206と同じ動作をするので、ここでは説明を省略する。また、評価値比較部709で比較する評価値は、実施例1に示したものと同様の値とすることが可能である。また、実施例1と同様に、動きベクトル710に基づき、参照画像からブロックデータを切り出し、出力するように構成することも可能である。
Here, a configuration example of the motion
平均値補正制御部606は、入力画像601と参照画像のフレーム輝度差分値が閾値を超えた場合に平均値での補正を行うように制御する。或いは、符号化ブロック画像データの輝度平均値とその同じ位置にある参照画像のブロックの輝度平均値が閾値を超えた場合に平均値での補正を行うように制御する。或いは、符号化ブロック画像データの分散値等の特徴量を用いてエッジ検出を行い、エッジがないと判別できる時だけ補正を行うように制御する等の方法で平均値での補正を制御する。
The average value
また、参照画像輝度平均値補正部605の補正方法は、実施例1に示した方法と同様の方法で構成することが可能である。
Further, the correction method of the reference image luminance average
また、ブロックサイズを16×16画素、参照する画像数を1としたが、これ以外の時にも同様に構成することが可能である。 Further, although the block size is 16 × 16 pixels and the number of images to be referred to is 1, it can be configured similarly at other times.
画像全体或いは一部が輝度変化している画像間での動きベクトルを検出する事が可能で、動き補償を用いた画像符号化や、動きベクトルを用いたインタレース−プログレッシブ変換等にも適用できる。 It is possible to detect a motion vector between images whose luminance changes entirely or partially, and can be applied to image coding using motion compensation, interlace-progressive conversion using a motion vector, etc. .
101、601 入力画像
102、602 フレームメモリ
103、603 ブロック輝度平均値算出部
104、604 ブロック輝度平均値格納メモリ
105、605 参照画像輝度平均値補正部
106、607 動きベクトル検出部
107、207、608、710、f 動きベクトル
201、701 符号化ブロック画像データ
202、702 符号化ブロック用補正値
203、703 参照画像データ
204、704 参照画像用補正値
205、705 探索位置
206、709 評価値比較部
606 平均値補正制御部
706 制御情報
707、708 選択部
101, 601
Claims (14)
前記入力画像と前記参照画像を蓄積し、所定のブロックサイズで前記入力画像の輝度データを出力し、かつ、動きベクトルの探索範囲を単位として前記参照画像の輝度データを出力するフレームメモリと、
前記入力画像のブロック毎に輝度平均値を算出するブロック輝度平均値算出部と、
前記入力画像のブロック毎に算出された輝度平均値を蓄積するブロック輝度平均値格納メモリと、
探索位置毎に前記参照画像の一つ、或いは複数のブロックの輝度平均値から探索位置の輝度平均値を算出する参照画像輝度平均値補正部と、
前記入力画像のブロック単位の輝度データから前記ブロック輝度平均値算出部で算出された輝度平均値を減算した入力補正輝度データと、前記参照画像のブロック単位の輝度データから前記探索位置の輝度平均値を減算した参照補正輝度データから動きベクトルを検出する動きベクトル検出部を備えることを特徴とする動きベクトル検出装置。 In a motion vector detection device that detects a motion vector with a predetermined block size from an input image and a reference image,
A frame memory that accumulates the input image and the reference image, outputs luminance data of the input image in a predetermined block size, and outputs luminance data of the reference image in units of a motion vector search range;
A block luminance average value calculating unit that calculates a luminance average value for each block of the input image;
A block luminance average value storage memory for accumulating the luminance average value calculated for each block of the input image;
A reference image luminance average value correction unit that calculates a luminance average value of the search position from the average luminance value of one or a plurality of blocks of the reference image for each search position;
Input corrected luminance data obtained by subtracting the luminance average value calculated by the block luminance average value calculation unit from the luminance data of the block unit of the input image, and the luminance average value of the search position from the luminance data of the block unit of the reference image A motion vector detection device comprising a motion vector detection unit that detects a motion vector from reference corrected luminance data obtained by subtracting.
前記入力画像と前記参照画像を蓄積し、所定のブロックサイズで前記入力画像の輝度データを出力し、かつ、動きベクトルの探索範囲を単位として前記参照画像の輝度データを出力するフレームメモリと、
前記入力画像のブロック毎に輝度平均値を算出するブロック輝度平均値算出部と、
前記入力画像のブロック毎に算出された輝度平均値を蓄積するブロック輝度平均値格納メモリと、
探索位置毎に前記参照画像の一つ、或いは複数のブロックの輝度平均値から探索位置の輝度平均値を算出する参照画像輝度平均値補正部と、
探索位置毎に前記入力画像の輝度データと前記参照画像の輝度データの輝度平均値による補正を行うか行わないかを決定し、制御情報を生成する平均値補正制御部と、
前記平均値補正制御部の制御情報に基づき、前記入力画像のブロック単位の輝度データから前記ブロック輝度平均値算出部で算出された輝度平均値もしくは0を減算した入力補正輝度データと、前記参照画像のブロック単位の輝度データから前記探索位置の輝度平均値もしくは0を減算した参照補正輝度データから動きベクトルを検出する動きベクトル検出部を備えることを特徴とする動きベクトル検出装置。 In a motion vector detection device that detects a motion vector with a predetermined block size from an input image and a reference image,
A frame memory that accumulates the input image and the reference image, outputs luminance data of the input image in a predetermined block size, and outputs luminance data of the reference image in units of a motion vector search range;
A block luminance average value calculating unit that calculates a luminance average value for each block of the input image;
A block luminance average value storage memory for accumulating the luminance average value calculated for each block of the input image;
A reference image luminance average value correction unit that calculates the average luminance value of the search position from the average luminance value of one or a plurality of blocks of the reference image for each search position;
An average value correction control unit that determines whether or not to perform correction by the luminance average value of the luminance data of the input image and the luminance data of the reference image for each search position, and generates control information;
Based on the control information of the average value correction control unit, the input correction luminance data obtained by subtracting the luminance average value calculated by the block luminance average value calculation unit or 0 from the luminance data of the block unit of the input image, and the reference image A motion vector detection apparatus comprising: a motion vector detection unit configured to detect a motion vector from reference correction luminance data obtained by subtracting 0 from the luminance average value of the search position or 0 from luminance data in block units.
前記入力画像と前記参照画像を蓄積し、所定のブロックサイズで前記入力画像の輝度データを出力し、かつ、動きベクトルの探索範囲を単位として前記参照画像の輝度データを出力するフレームメモリと、
前記入力画像のブロック毎に輝度平均値を算出するブロック輝度平均値算出工程と、
前記入力画像のブロック毎に算出された輝度平均値を蓄積するブロック輝度平均値格納メモリと、
探索位置毎に前記参照画像の一つ、或いは複数のブロックの輝度平均値から探索位置の輝度平均値を算出する参照画像輝度平均値補正工程と、
前記入力画像のブロック単位の輝度データから前記ブロック輝度平均値算出工程で算出された輝度平均値を減算した入力補正輝度データと、前記参照画像のブロック単位の輝度データから前記探索位置の輝度平均値を減算した参照補正輝度データから動きベクトルを検出する動きベクトル検出工程を備えることを特徴とする動きベクトル検出方法。 In a motion vector detection method for detecting a motion vector with a predetermined block size from an input image and a reference image,
A frame memory that accumulates the input image and the reference image, outputs luminance data of the input image in a predetermined block size, and outputs luminance data of the reference image in units of a motion vector search range;
A block luminance average value calculating step of calculating a luminance average value for each block of the input image;
A block luminance average value storage memory for accumulating the luminance average value calculated for each block of the input image;
A reference image luminance average value correction step for calculating the average luminance value of the search position from the average luminance value of one or a plurality of blocks of the reference image for each search position;
Input corrected luminance data obtained by subtracting the luminance average value calculated in the block luminance average value calculating step from luminance data of the block unit of the input image, and luminance average value of the search position from the luminance data of the block unit of the reference image A motion vector detection method comprising a motion vector detection step of detecting a motion vector from reference corrected luminance data obtained by subtracting.
前記入力画像と前記参照画像を蓄積し、所定のブロックサイズで前記入力画像の輝度データを出力し、かつ、動きベクトルの探索範囲を単位として前記参照画像の輝度データを出力するフレームメモリと、
前記入力画像のブロック毎に輝度平均値を算出するブロック輝度平均値算出工程と、
前記入力画像のブロック毎に算出された輝度平均値を蓄積するブロック輝度平均値格納メモリと、
探索位置毎に前記参照画像の一つ、或いは複数のブロックの輝度平均値から探索位置の輝度平均値を算出する参照画像輝度平均値補正工程と、
探索位置毎に前記入力画像の輝度データと前記参照画像の輝度データの輝度平均値による補正を行うか行わないかを決定し、制御情報を生成する平均値補正制御工程と、
前記平均値補正制御工程の制御情報に基づき、前記入力画像のブロック単位の輝度データから前記ブロック輝度平均値算出工程で算出された輝度平均値もしくは0を減算した入力補正輝度データと、前記参照画像のブロック単位の輝度データから前記探索位置の輝度平均値もしくは0を減算した参照補正輝度データから動きベクトルを検出する動きベクトル検出工程を備えることを特徴とする動きベクトル検出方法。 In a motion vector detection method for detecting a motion vector with a predetermined block size from an input image and a reference image,
A frame memory that accumulates the input image and the reference image, outputs luminance data of the input image in a predetermined block size, and outputs luminance data of the reference image in units of a motion vector search range;
A block luminance average value calculating step of calculating a luminance average value for each block of the input image;
A block luminance average value storage memory for accumulating the luminance average value calculated for each block of the input image;
A reference image luminance average value correction step for calculating the average luminance value of the search position from the average luminance value of one or a plurality of blocks of the reference image for each search position;
An average value correction control step for determining whether or not to perform correction based on a luminance average value of the luminance data of the input image and the luminance data of the reference image for each search position, and generating control information;
Based on the control information of the average value correction control step, the input correction luminance data obtained by subtracting the luminance average value calculated in the block luminance average value calculation step or 0 from the luminance data of the block unit of the input image, and the reference image A motion vector detection method comprising: a motion vector detection step of detecting a motion vector from reference brightness data obtained by subtracting a brightness average value or 0 of the search position from brightness data in units of blocks.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003412973A JP2005175882A (en) | 2003-12-11 | 2003-12-11 | Apparatus and method for detecting motion vector |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003412973A JP2005175882A (en) | 2003-12-11 | 2003-12-11 | Apparatus and method for detecting motion vector |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005175882A true JP2005175882A (en) | 2005-06-30 |
Family
ID=34733236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003412973A Pending JP2005175882A (en) | 2003-12-11 | 2003-12-11 | Apparatus and method for detecting motion vector |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005175882A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007221697A (en) * | 2006-02-20 | 2007-08-30 | Hitachi Ltd | Image decoding apparatus and image decoding method |
CN111738950A (en) * | 2020-06-22 | 2020-10-02 | 北京字节跳动网络技术有限公司 | Image processing method and device |
-
2003
- 2003-12-11 JP JP2003412973A patent/JP2005175882A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007221697A (en) * | 2006-02-20 | 2007-08-30 | Hitachi Ltd | Image decoding apparatus and image decoding method |
CN111738950A (en) * | 2020-06-22 | 2020-10-02 | 北京字节跳动网络技术有限公司 | Image processing method and device |
CN111738950B (en) * | 2020-06-22 | 2023-06-13 | 北京字节跳动网络技术有限公司 | Image processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4724459B2 (en) | Motion vector detection using adaptive time prediction | |
JP3226020B2 (en) | Motion vector detection device | |
JP2005287048A (en) | Improvement of motion vector estimation at image border | |
JP2005318586A (en) | Motion vector detection with improved motion vector selection | |
JP2005318576A (en) | Motion detection employing adaptive spatial update vector | |
US20100302438A1 (en) | Image processing apparatus and image processing method | |
JP2009147807A (en) | Image processing apparatus | |
US7365801B2 (en) | Apparatus and method for processing signal | |
JP5081898B2 (en) | Interpolated image generation method and system | |
JP2006020095A (en) | Motion vector detection circuit, image encoding circuit, motion vector detecting method and image encoding method | |
JP2005167976A (en) | Motion vector detecting device and motion vector detecting program | |
JP6086619B2 (en) | Encoding apparatus and encoding method | |
JP2005175882A (en) | Apparatus and method for detecting motion vector | |
JP4235209B2 (en) | Motion vector detection apparatus and motion vector detection method | |
JP2008252225A (en) | Motion picture encoding device and method | |
JP2000261809A (en) | Image coder coping with feature of picture | |
JP4250598B2 (en) | Motion compensation IP conversion processing apparatus and motion compensation IP conversion processing method | |
JP6758977B2 (en) | Image processing equipment, image processing methods and programs | |
JP4304911B2 (en) | Motion vector detection apparatus and method | |
JP2897669B2 (en) | Motion vector detection device | |
JP4039273B2 (en) | Motion vector detection device | |
KR20010034374A (en) | Device and method for detecting moving vector | |
JP2000165883A (en) | Motion vector detector | |
JPH10304371A (en) | Moving vector detecting device | |
JP2006129375A (en) | Moving image data generator and moving image data generation method |