JPH0748860B2 - Video coding device - Google Patents

Video coding device

Info

Publication number
JPH0748860B2
JPH0748860B2 JP1325079A JP32507989A JPH0748860B2 JP H0748860 B2 JPH0748860 B2 JP H0748860B2 JP 1325079 A JP1325079 A JP 1325079A JP 32507989 A JP32507989 A JP 32507989A JP H0748860 B2 JPH0748860 B2 JP H0748860B2
Authority
JP
Japan
Prior art keywords
image
motion vector
small area
prediction error
frequency component
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
JP1325079A
Other languages
Japanese (ja)
Other versions
JPH03185986A (en
Inventor
アカンポラ アルフォンス
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1325079A priority Critical patent/JPH0748860B2/en
Publication of JPH03185986A publication Critical patent/JPH03185986A/en
Publication of JPH0748860B2 publication Critical patent/JPH0748860B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、テレビ電話やテレビ会議等に利用する動画像
符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding device used for a videophone, a video conference and the like.

従来の技術 一般に、この種の動画像符号化装置では、動き補償画像
が用いられ、この動き補償画像は、現画像の任意の画素
ブロックに対し、前画像の中から最も画素値が近い画素
ブロックを画像間の動きを考慮することにより当ては
め、上記動作を現画像の全画素ブロックについて行うこ
とにより得られる画像であり、現画像と画素値が近い画
像である。
2. Description of the Related Art Generally, this type of moving picture coding apparatus uses a motion-compensated image, and this motion-compensated image has a pixel block whose pixel value is closest to an arbitrary pixel block of the current image from the previous image. Is an image obtained by performing the above operation on all pixel blocks of the current image by considering the movement between the images, and is an image having a pixel value close to that of the current image.

第3図は、一般的な動画像符号化装置の構成を示してい
る。
FIG. 3 shows the configuration of a general moving picture coding apparatus.

第3図において、31は、連続する2つのフレームの現フ
レームの画像(現画像)を記憶するフレームメモリ、32
は、フレームメモリ31からの現画像と動き補償器39から
の動き補償画像との差分である予測誤差を算出する差分
器、33は、差分器32により算出された予測誤差を周波数
領域に変換する予測誤差変換器、34は、予測誤差変換器
により変換された周波数領域を周波数成分毎に量子化す
る量子化器、40は、量子化器34により量子化された周波
数領域を符号化し、受信側に送信するための符号器であ
る。
In FIG. 3, reference numeral 31 is a frame memory for storing images of the current frames of two consecutive frames (current image), and 32.
Is a differencer that calculates a prediction error that is the difference between the current image from the frame memory 31 and the motion-compensated image from the motion compensator 39, and 33 converts the prediction error calculated by the differencer 32 into the frequency domain. Prediction error converter, 34 is a quantizer that quantizes the frequency domain converted by the prediction error converter for each frequency component, 40 is the frequency domain quantized by the quantizer 34, the receiving side Is an encoder for transmitting to.

また、35は、量子化器34により量子化された周波数領域
を逆量子化する逆量子化器、36は、逆量子化器35により
逆量子化された周波数領域を予測誤差に変換する予測誤
差逆変換器、37は、予測誤差逆変換器36により変換され
た予測誤差と動き補償器39からの動き補償画像を加算し
て前画像を再生し、フレームメモリ38に書き込むための
加算器である。
Further, 35 is an inverse quantizer which inversely quantizes the frequency domain quantized by the quantizer 34, and 36 is a prediction error which converts the frequency domain inversely quantized by the inverse quantizer 35 into a prediction error. The inverse converter 37 is an adder for adding the prediction error converted by the prediction error inverse converter 36 and the motion-compensated image from the motion compensator 39 to reproduce the previous image, and writing it in the frame memory 38. .

第4図は、上記動画像符号化装置における従来の動き補
償器39の構成を示している。
FIG. 4 shows the configuration of a conventional motion compensator 39 in the above moving picture coding device.

第4図において、41aは、フレームメモリ31からの現画
像をM画素×Nラインの小領域(画素ブロック)に分割
し、小領域毎に出力する小領域分割器、41bは、フレー
ムメモリ38からの前画像をM画素×Nラインの小領域に
分割し、小領域毎に出力する小領域分割器である 42は、第2図上段に示すように、小領域分割器41a、41b
によりそれぞれ分割された小領域毎に現画像、前画像の
画素値の差分値を算出し、各小領域内における画素値の
差分の総和により現画像、前画像間の動ベクトルを算出
する動ベクトル算出器、43は、前画像と動ベクトル算出
器42により算出された動ベクトルにより、現画像の動き
補償画像を生成する動き補償画像生成器である。
In FIG. 4, 41a is a small area divider that divides the current image from the frame memory 31 into small areas (pixel blocks) of M pixels × N lines, and outputs each small area, and 41b is a small area divider from the frame memory 38. 42 is a small area divider 42 which divides the previous image into small areas of M pixels × N lines and outputs each small area, as shown in the upper part of FIG.
A motion vector that calculates the difference value of the pixel values of the current image and the previous image for each of the divided small regions, and calculates the motion vector between the current image and the previous image by the sum of the pixel value differences in each small region. The calculator 43 is a motion-compensated image generator that generates a motion-compensated image of the current image based on the previous image and the motion vector calculated by the motion vector calculator 42.

したがって、上記従来例によれば、小領域分割器41a、4
1bによりそれぞれ分割された小領域毎に、現画像、前画
像の画素値の差分値を算出し、各小領域内における画素
値の差分の総和により現画像、前画像間の動ベクトルを
算出し、この動ベクトルと前画像により現画像の動き補
償画像を生成することができる。
Therefore, according to the above conventional example, the small area dividers 41a, 4a
For each small area divided by 1b, the difference value of the pixel values of the current image and the previous image is calculated, and the motion vector between the current image and the previous image is calculated by the sum of the pixel value differences in each small area. , The motion compensation image of the current image can be generated by this motion vector and the previous image.

発明が解決しようとする課題 しかしながら、上記従来の動画像符号化装置における動
き補償器では、動ベクトル算出器42が小領域毎に現画
像、前画像の画素値の差分値を算出し、各小領域内にお
ける画素値の差分の総和により現画像、前画像間の動ベ
クトルの評価基準にしているので、現画像と動き補償画
像との差分である予測誤差を周波数領域に変換して量子
化し、符号化しても、生成される符号量は必ずしも最少
とならないという問題点がある。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention However, in the motion compensator in the above-described conventional moving picture coding device, the moving vector calculator 42 calculates the difference value of the pixel values of the current image and the previous image for each small area, and each small area is calculated. The current image and the motion vector between the previous images are evaluated by the sum of the differences in the pixel values in the region, so the prediction error, which is the difference between the current image and the motion-compensated image, is converted into the frequency domain and quantized, Even if the coding is performed, the generated code amount is not always the minimum.

また、上記従来例では、全ての画素が差分演算の対象に
なるので、演算時間が長くなるという問題点がある。
Further, in the above-mentioned conventional example, since all pixels are targets of the difference calculation, there is a problem that the calculation time becomes long.

本発明は上記従来の問題点を解決するものであり、予測
誤差の符号量を最少にすることができるとともに、演算
時間を短縮することができる動画像符号化装置を提供す
ることを目的とする。
The present invention solves the above-mentioned conventional problems, and an object of the present invention is to provide a moving picture coding apparatus capable of minimizing the code amount of a prediction error and shortening the calculation time. .

課題を解決するための手段 本発明は上記目的を達成するために、小領域毎に、2つ
のフレームの画像の画素値をそれぞれ周波数領域に変換
してその周波数成分を変換係数とし、各画像の変換係数
の差分を小領域毎に算出し、その総和が最も小さくなる
位置を画像間の動ベクトルとして検出するようにしたも
のである。
Means for Solving the Problems In order to achieve the above object, the present invention transforms pixel values of images of two frames into frequency regions for each small region, and uses the frequency components as conversion coefficients, and The difference between the conversion coefficients is calculated for each small area, and the position where the sum is the smallest is detected as a motion vector between images.

作用 本発明は上記構成により、動ベクトルと現画像により予
測誤差を検出した場合に予測誤差の符号量を最少にする
ことができ、また、所定の周波数成分を変換係数として
抽出することにより、演算時間を減少することができ
る。
Effect of the Invention With the above-described configuration, the present invention can minimize the code amount of the prediction error when the prediction error is detected from the motion vector and the current image, and also extracts the predetermined frequency component as the conversion coefficient to perform the calculation. The time can be reduced.

実施例 以下、図面を参照して本発明の実施例を説明する。第1
図は、本発明に係る動画像符号化装置の動き補償器の一
実施例を示すブロック図、第2図は、第1図の動画像符
号化装置の動作説明図である。
Embodiments Embodiments of the present invention will be described below with reference to the drawings. First
FIG. 1 is a block diagram showing an embodiment of a motion compensator of a moving picture coding apparatus according to the present invention, and FIG. 2 is an operation explanatory view of the moving picture coding apparatus of FIG.

第1図において、11aは、第3図に示すようなフレーム
メモリ31からの現画像をM画素×Nラインの小領域(画
素ブロック)に分割し、小領域毎に出力する小領域分割
器、11bは、第3図に示すようなフレームメモリ38から
の前画像をM画素×Nラインの小領域に分割し、小領域
毎に出力する小領域分割器、12a、12bはそれぞれ、小領
域分割器11a、11bにより分割された小領域毎に、現画
像、前画像の画素値を周波数領域に変換し、その周波数
成分を変換係数として抽出する変換器である。
In FIG. 1, 11a is a small area divider which divides the current image from the frame memory 31 as shown in FIG. 3 into small areas (pixel blocks) of M pixels × N lines, and outputs each small area. Reference numeral 11b is a small area divider that divides the previous image from the frame memory 38 as shown in FIG. 3 into small areas of M pixels × N lines, and outputs each small area, and 12a and 12b are small area divisions, respectively. This is a converter that converts the pixel values of the current image and the previous image into the frequency domain for each of the small regions divided by the devices 11a and 11b, and extracts the frequency components as conversion coefficients.

13は、変換器12a、12bによりそれぞれ抽出された現画
像、前画像の周波数成分の変換係数の差分値を算出し、
その総和が最も小さい位置を動ベクトルとして算出する
動ベクトル算出器、14は、前画像と動ベクトル算出器13
により算出された動ベクトルにより、現画像の動き補償
画像を生成し、第3図に示すような差分器32に出力する
動き補償画像生成器である。
13, the current image, respectively extracted by the converter 12a, 12b, calculates the difference value of the conversion coefficient of the frequency component of the previous image,
A motion vector calculator that calculates the position with the smallest total sum as a motion vector, and 14 is a previous image and a motion vector calculator 13
It is a motion compensation image generator that generates a motion compensation image of the current image by the motion vector calculated by and outputs it to the differentiator 32 as shown in FIG.

次に、第1図及び第2図を参照して上記実施例の動作を
説明する。
Next, the operation of the above embodiment will be described with reference to FIGS.

小領域分割器11a、11bによりそれぞれ、M画素×Nライ
ンの小領域毎に、現画像、前画像の画素値が周波数領域
に変換され、その周波数成分の変換係数に変換される
と、第2図下段に示すように、低周波成分は左上の成分
の対応するとともに、高周波成分は右下の成分に対応
し、その値は、第2図上段に示ず従来例に比べて小さく
なる。
When the pixel values of the current image and the previous image are converted into the frequency domain by the small area dividers 11a and 11b for each of the small areas of M pixels × N lines, and are converted into the conversion coefficient of the frequency component, the second As shown in the lower part of the figure, the low frequency component corresponds to the upper left component and the high frequency component corresponds to the lower right component, and the value thereof is smaller than that of the conventional example, which is not shown in the upper part of FIG.

したがって、動ベクトル算出器13がこの現画像、前画像
の周波数成分の変換係数の差分値を算出し、その総和が
最も小さい位置を動ベクトルとして算出し、また、動き
補償画像生成器14がこの動ベクトルにより現画像の動き
補償画像を生成し、差分器32が現画像と動き補償画像と
の差分である予測誤差を算出した場合、予測誤差の符号
量を減少することができる。
Therefore, the motion vector calculator 13 calculates the difference value of the conversion coefficients of the frequency components of the current image and the previous image, calculates the position with the smallest sum as the motion vector, and the motion compensation image generator 14 When the motion compensation image of the current image is generated by the motion vector and the differencer 32 calculates the prediction error which is the difference between the current image and the motion compensation image, the code amount of the prediction error can be reduced.

また、動ベクトルを算出するために必要な周波数成分、
例えば第2図下段に示すような低周波成分の変換係数の
みを差分演算の対象にすることにより、演算時間を減少
することができる。
In addition, the frequency component required to calculate the motion vector,
For example, the calculation time can be reduced by using only the conversion coefficient of the low frequency component as shown in the lower part of FIG. 2 for the difference calculation.

発明の効果 以上説明したように、本発明は、小領域毎に、2つのフ
レームの画像の画素値をそれぞれ周波数領域に変換して
その周波数成分を変換係数とし、各画素の変換係数の差
分を小領域毎に算出し、その総和が最も小さくなる位置
を画像間の動ベクトルとして検出するようにしたので、
動ベクトルと現画像により予測誤差を検出した場合に予
測誤差の符号量を最少にすることができ、また、所定の
周波数成分を変換係数として抽出することにより、演算
時間を減少することができる。
EFFECTS OF THE INVENTION As described above, according to the present invention, the pixel values of the images of two frames are converted into the frequency domain for each small area, and the frequency component is used as the conversion coefficient, and the difference between the conversion coefficients of the pixels is calculated. Since it is calculated for each small area and the position where the sum is the smallest is detected as a motion vector between images,
When the prediction error is detected from the motion vector and the current image, the code amount of the prediction error can be minimized, and the extraction of a predetermined frequency component as the conversion coefficient can reduce the calculation time.

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

第1図は、本発明に係る動画像符号化装置の動き補償器
の一実施例を示すブロック図、第2図は、第1図の動画
像符号化装置の動作説明図、第3図は、一般的な動画像
符号化装置を示すブロック図、第4図は、従来の動き補
償器を示すブロック図である。 11a,11b……小領域分割器、12a,12b……変換器、13……
動ベクトル算出器、14……動き補償画像生成器、32……
差分器、33……予測誤差変換器、34……量子化器、40…
…符号器。
FIG. 1 is a block diagram showing an embodiment of a motion compensator of a moving picture coding apparatus according to the present invention, FIG. 2 is an operation explanatory view of the moving picture coding apparatus of FIG. 1, and FIG. FIG. 4 is a block diagram showing a general moving picture coding device, and FIG. 4 is a block diagram showing a conventional motion compensator. 11a, 11b …… Small area divider, 12a, 12b …… Converter, 13 ……
Motion vector calculator, 14 ... Motion compensation image generator, 32 ...
Difference unit, 33 ... Prediction error converter, 34 ... Quantizer, 40 ...
… Encoder.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】連続する2つのフレームの画像をそれぞれ
小領域に分割する手段と、 前記小領域毎に、2つのフレームの画像の画素値をそれ
ぞれ周波数領域に変換し、その周波数成分を変換係数と
して抽出する手段と、 前記各画像の変換係数の差分を小領域毎に算出し、その
総和が最も小さくなる位置を画像間の動ベクトルとして
検出する手段と、 前記動ベクトルと前画像により動き補償画像を生成する
手段と、 前記動き補償画像と現画像により予測誤差を算出する手
段と、 前記予測誤差を周波数領域に変換する手段と、 前記周波数領域を周波数成分毎に量子化し、符号化する
手段とを有する動画像符号化装置。
1. A means for dividing an image of two continuous frames into small regions, and pixel values of the images of the two frames are transformed into frequency regions for each of the small regions, and the frequency components thereof are transformed into transform coefficients. And a means for calculating the difference between the conversion coefficients of the respective images for each small area and detecting a position where the sum is the smallest as a motion vector between the images, and motion compensation by the motion vector and the previous image. A unit for generating an image, a unit for calculating a prediction error from the motion compensation image and the current image, a unit for converting the prediction error into a frequency domain, and a unit for quantizing and coding the frequency domain for each frequency component. And a video encoding device having.
【請求項2】小領域毎に、2つのフレームの画像の画素
値をそれぞれ周波数領域に変換し、所定の周波数成分を
変換係数として抽出することを特徴とする請求項(1)
記載の動画像符号化装置。
2. A pixel value of an image of each of two frames is converted into a frequency domain for each small area, and a predetermined frequency component is extracted as a conversion coefficient.
The moving picture encoding device described.
【請求項3】前記所定の周波数成分は、低周波成分であ
ることを特徴とする請求項(2)記載の動画像符号化装
置。
3. The moving picture coding apparatus according to claim 2, wherein the predetermined frequency component is a low frequency component.
JP1325079A 1989-12-14 1989-12-14 Video coding device Expired - Lifetime JPH0748860B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1325079A JPH0748860B2 (en) 1989-12-14 1989-12-14 Video coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1325079A JPH0748860B2 (en) 1989-12-14 1989-12-14 Video coding device

Publications (2)

Publication Number Publication Date
JPH03185986A JPH03185986A (en) 1991-08-13
JPH0748860B2 true JPH0748860B2 (en) 1995-05-24

Family

ID=18172916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1325079A Expired - Lifetime JPH0748860B2 (en) 1989-12-14 1989-12-14 Video coding device

Country Status (1)

Country Link
JP (1) JPH0748860B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2518503B2 (en) * 1993-03-08 1996-07-24 日本電気株式会社 Screen switching detection method
US20050276493A1 (en) * 2004-06-01 2005-12-15 Jun Xin Selecting macroblock coding modes for video encoding
JP4898589B2 (en) * 2007-07-26 2012-03-14 株式会社日立製作所 Image compression method and image processing apparatus

Also Published As

Publication number Publication date
JPH03185986A (en) 1991-08-13

Similar Documents

Publication Publication Date Title
JP2897763B2 (en) Motion compensation coding device, decoding device, coding method and decoding method
JP2801559B2 (en) Motion compensation coding method and apparatus adapted to the magnitude of motion
CA2087802C (en) Arrangement of encoding motion image signals using motion compensation and orthogonal transformation
KR950011199B1 (en) Progressive coding system
US4727422A (en) Method and apparatus for efficiently communicating image sequence having improved motion compensation
EP0595599B1 (en) Compression/decompression system for image data
US6160584A (en) Motion detection and motion compensative prediction circuit
JP3681784B2 (en) Video signal encoding device
JPH0748860B2 (en) Video coding device
JPH04114585A (en) Movement compensation inter-frame coder
KR20030034923A (en) Motion vector estimation method and apparatus thereof
JP3495040B1 (en) Digital image encoding / decoding method and digital image encoding / decoding apparatus using the same
KR0152014B1 (en) Method and apparauts for moving estimation in image data compression
JP2002204449A (en) Quantization unit setting device, quantization unit setting method, coder and coding method, and information recording medium
JPH09261664A (en) Current frame prediction device and video signal coding system using the device
JP2574572B2 (en) Image encoding method and image encoding device
JP4326758B2 (en) Moving picture coding apparatus and moving picture decoding apparatus
KR970010096B1 (en) Two layer motion estimation apparatus and method for image data compression
JPH03243086A (en) Movement compensating inter-frame coding device
KR101786921B1 (en) Apparatus and Method for fast motion estimation
JP2929044B2 (en) Motion compensation prediction method
KR0178197B1 (en) Apparatus for encoding an image signal using region segmentation
JPS61214882A (en) Coding system for animating picture
KR100196846B1 (en) Apparatus for coding video signals
JPH03127581A (en) Movement compensation prediction inter-frame coder