

本发明涉及用在图象编码系统中的运动补偿方法;更具体地,涉及一种能够消除出现在解码图象信号中的分块现象的改进的方法。The present invention relates to a motion compensation method used in an image coding system; more particularly, to an improved method capable of eliminating blocking phenomena occurring in a decoded image signal.
众所周知,传输数字化视频信号能提供比传输模拟信号质量高得多的视频图象。当包含一序列图象“帧”的一个图象信号以数字形式表示时,便生成大量用于传输的数据,尤其是在高清晰度电视系统的情况中。然而,由于一条传统的传输信道的可利用的频带宽度是有限的,为了通过有限的信道带宽传输大量的数字数据,不可避免地要压缩或减少传输的数据量。在各种视频压缩技术中,将时间和空间压缩技术与统计编码技术组合在一起的所谓混合编码技术已知是最有效的。It is well known that the transmission of digitized video signals can provide much higher quality video images than the transmission of analog signals. When an image signal comprising a sequence of image "frames" is represented in digital form, large amounts of data are generated for transmission, especially in the case of high definition television systems. However, since the available frequency bandwidth of a traditional transmission channel is limited, in order to transmit a large amount of digital data through the limited channel bandwidth, it is inevitable to compress or reduce the amount of transmitted data. Among various video compression techniques, a so-called hybrid coding technique that combines temporal and spatial compression techniques with statistical coding techniques is known to be the most effective.
大多数混合编码技术采用运动补偿的DPCM9(差分脉冲码调制)、二维DCT(离散余弦变换)、DCT系数的量化、及VLC(可变长度编码)。运动补偿的DPCM为确定一个目标在一个当前帧及其前一帧之间的运动,并根据该目标的运动流预测当前帧以生成表示当前帧与其预测之间的差的一个差分信号的过程。Most hybrid coding techniques employ motion compensated DPCM9 (Differential Pulse Code Modulation), two-dimensional DCT (Discrete Cosine Transform), quantization of DCT coefficients, and VLC (Variable Length Coding). Motion-compensated DPCM is the process of determining the motion of an object between a current frame and its previous frame, and predicting the current frame from the motion flow of the object to generate a differential signal representing the difference between the current frame and its prediction.
减少或者除诸如运动补偿的DPCM数据等图象数据之间的空间冗余性的二维DCT将一块数字图象数据(例如,8×8个象素的一块)转换成一组变换系数数据。Two-dimensional DCT, which reduces or eliminates spatial redundancy between image data such as motion compensated DPCM data, converts a block of digital image data (eg, a block of 8x8 pixels) into a set of transform coefficient data.
具体地说,在运动补偿的DPCM中,当前帧数据是根据当前与前面的帧之间的一种运动估计从前一帧数据中预测的。这种估计的运动可以用表示前面的与当前的帧之间的象素位移的二维运动矢量来描述。Specifically, in motion-compensated DPCM, current frame data is predicted from previous frame data based on a motion estimate between the current and previous frames. This estimated motion can be described by a two-dimensional motion vector representing the pixel displacement between the previous and current frames.
曾经提出过若干种用于估计一个目标在视频序列中的位移的方法。通常,可将它们分成两类:象素递归算法及块匹配算法。本发明主要考虑块匹配算法。Several methods have been proposed for estimating the displacement of an object in a video sequence. In general, they can be divided into two categories: pixel recursive algorithms and block matching algorithms. The present invention primarily considers block matching algorithms.
按照块匹配算法,将一个当前帧分成多个搜索块,。一个搜索块的大小通常在8×8与32×32个象素之间。为了确定当前帧中的一个搜索块的运动矢量,在当前帧的搜索块与包含在前一帧内的一个通常较大的搜索区中的多个相同大小的候选块的每一个之间执行相似性计算。采用诸如平均绝对误差或均方误差等误差函数来进行当前帧的搜索块与搜索区中的各候选块之间的相似性测定。根据定义,运动矢量代表搜索块与得出最小误差函数的一个候选块之间的位移。Divide a current frame into multiple search blocks according to the block matching algorithm. The size of a search block is usually between 8x8 and 32x32 pixels. To determine the motion vector for a search block in the current frame, a similarity is performed between the search block in the current frame and each of a plurality of candidate blocks of the same size contained in a usually larger search area in the previous frame. sexual calculation. The similarity measurement between the search block of the current frame and each candidate block in the search area is performed using an error function such as mean absolute error or mean square error. By definition, a motion vector represents the displacement between the search block and a candidate block that yields the smallest error function.
经过编码的图象数据是通过一条传统的传输信道传输到包含在一个图象信号解码系统中的一个图象信号解码器的,它执行编码操作的逆过程,借此重构原来的图象数据。然而,重构的图象数据通常呈现称作分块现象的令人不愉快的人为现象,其中一块的边界线在接收端上成为看得见的。由于一帧是以块为单位编码的,所以出现这种分块后果。The encoded image data is transmitted through a conventional transmission channel to an image signal decoder included in an image signal decoding system, which performs the inverse process of the encoding operation, thereby reconstructing the original image data . However, reconstructed image data often exhibits an unpleasant artifact known as blocking, in which the boundary lines of a block become visible at the receiving end. This blocking effect occurs because a frame is coded in blocks.
因此,本发明的一个主要目的为提供一种用在图象编码系统中的运动补偿方法,该方法能够消除出现在图象信号的一块的边界上的分块后果,借此改善该系统所生成的图象的质量。Therefore, a main object of the present invention is to provide a motion compensation method used in an image coding system, which can eliminate the blocking effect occurring on the boundary of a block of the image signal, thereby improving the performance generated by the system. image quality.
按照本发明,提供了一种确定视频信号的一个当前帧与前一帧之间的最佳运动矢量的方法,其中将该当前帧分成多个大小相等的搜索块,而前一帧中则包含对应数目的搜索区,各搜索区具有多个所述相等大小的候选块,该方法包括下述步骤:According to the present invention, there is provided a method of determining the best motion vector between a current frame of a video signal and a previous frame, wherein the current frame is divided into a plurality of search blocks of equal size, while the previous frame contains A corresponding number of search areas, each search area has a plurality of candidate blocks of equal size, the method comprises the following steps:
(a)采用一种块匹配算法为当前帧中的各搜索块检测出一个运动矢量;(a) using a block matching algorithm to detect a motion vector for each search block in the current frame;
(b)将一个搜索块分成位于该搜索块中央的一个中心区及位于该中心区外侧的一个边沿区;(b) dividing a search block into a central area located in the center of the search block and a border area located outside the central area;
(c)确定该搜索块的运动矢量作为中心区的一个最佳运动矢量,(c) determining the motion vector of the search block as an optimal motion vector for the central area,
(d)根据该搜索块及其一个或多个邻接搜索块的运动矢量,为该搜索块的边沿区确定多个最佳运动矢量。(d) Determining a plurality of optimal motion vectors for the border region of the search block based on the motion vectors of the search block and one or more adjacent search blocks.
从下面结合附图给出的较佳实施例的描述中,本发明的上述与其它目的与特征将是显而易见的,附图中:From the following description of the preferred embodiment given in conjunction with the accompanying drawings, the above-mentioned and other objects and features of the present invention will be apparent, in the accompanying drawings:
图1是提供采用本发明的运动补偿装置的一个图象信号编码系统的方框图;Fig. 1 is a block diagram providing an image signal encoding system employing the motion compensation device of the present invention;
图2示出图1的运动补偿装置的详细方框图;以及Figure 2 shows a detailed block diagram of the motion compensation device of Figure 1; and
图3示出说明在本发明的运动补偿装置中所进行的边沿区形成的图。FIG. 3 is a diagram illustrating formation of a margin region performed in the motion compensation device of the present invention.
参见图1,其中示出用于压缩一个数字视频信号的编码装置10的方框图,它包括本发明的运动补偿装置150,其中该数字视频信号包含视频信号的多个帧。Referring to FIG. 1, there is shown a block diagram of an
编码装置10包括一个第一帧存储器100、一个减法器102、一个图象信号编码器105、一个熵编码器107、一个图象信号解码器113、一个加法器115、一个第二帧存储器124以及该运动补偿装置150。
将包含在一个输入视频信号中的一个当前帧存储在第一帧存储器100中,该存储器通过线路L9连接在减法器102上并通过线路L10连接在运动补偿装置150上。所存储的当前帧是在逐块地基础上读取的,其中块大小通常在8×8与32×32个象素的范围内。A current frame contained in an input video signal is stored in a
本发明的运动补偿装置150首先通过采用传统的块匹配算法为当前帧的各搜索块检测一个运动矢量,该运动矢量表示该当前帧中的各搜索块与包含在来自第二帧存储器124的前一帧的一个对应搜索区中的与之最相似的候选块之间的空间位移;以及根据该搜索块及其相邻的搜索块的运动矢量,为包含在各搜索块中的象素确定多个最佳运动矢量。此后,运动补偿装置150利用所确定的最佳运动矢量从第二帧存储器124中检索前一帧的对应象素值,借此提供一个预测的当前帧。将搜索块的运动矢量与预测的当前帧信号分别馈送给熵编码器107、减法器102与加法器113。下面参照图2与3描述运动补偿装置150的细节。The
在减法器102上从通过线路L9提供的当前帧信号中减去来自运动补偿装置150的预测的当前帧信号,并将表示当前帧的与预测的当前帧的象素值之间的差的得出的数据,即误差信号,发送给图象信号编码器105,在其中用诸如DCT与任何已知的量化方法将该误差信号码编成多组量化的变换系数。The predicted current frame signal from the
此后,将量化的变换系数传输给熵编码器107与图象信号解码器113。图象信号解码器113利用逆量化及逆离散余弦变换将来自图象信号编码器105的量化的变换系数转换回一个重构的误差信号,在加法器115上,将从图象信号解码器113接收的重构的误差信号及通过线路L30从运动补偿装置150提供的预测的当前帧信号进行组合以提供一个重构的当前帧信号,供作为一个前一帧信号存储在第二帧存储器124中。Thereafter, the quantized transform coefficients are transmitted to the
在熵编码器107上,用诸如可变长度编码技术将图象信号编码器105供给的量化的变换系数及通过线路L20从运动补偿装置150发送来的运动矢量编码在一起。此后,将编码信号提供给一台发送机(未示出)供其发送。In the
现在参见图2,其中示出了图1中所示的运动补偿装置150的细节。该运动补偿装置150包括一个运动估计器209、一个存储器210、一个区形成单元213、一个最佳运动矢量确定单元216及一个运动补偿器219。Referring now to FIG. 2 , details of the
首先,运动估计器209从第一帧存储器100中检索当前帧信号并从第二帧存储器124中检索前一帧信号,并通过利用本技术中众所周知的传统块匹配技术检测一个表示当前帧中的各搜索块与前一帧中与之最相似的一个块之间的空间位移的运动矢量。将来自运动估计器209的各搜索区的运动矢量提供给图1中所示的熵编码器107及存储器210,在其中存储当前帧的搜索块的运动矢量。First, the
同时,将当前帧信号提供给区形成单元213,在其中将各搜索块分成一个边沿区及一个中心区。在图3中,示出了在按照本发明的较佳实施例的区形成单元213上进行的一种区形成方案。如图3中所示,将诸如16×16个象素的SB5等各搜索块分成诸如12×12个象素的位于搜索块SB5中央的一个中心区CR5,及由位于该中心区CR5外侧的象素构成的一个边沿区,其中该边沿区包含各由2×12个象素构成的四个边区ER5-1至ER5-4及各由2×2个象素构成的四个角区CR5-1至CR5-4。将表示当前帧中的中心、边与角区的位置的区信息提供给最佳运动矢量确定单元216。At the same time, the current frame signal is supplied to the
最佳运动矢量确定单元216从存储器210中检索当前帧中的搜索块的运动矢量,并响应区形成单元213所提供的区信息,利用各搜索块与其相邻的搜索块的运动矢量为各搜索块的区确定最佳运动矢量。具体地,通过求出诸如SB5与SB2这两个搜索块的运动矢量的平均值而得出位于沿两个搜索块,即SB5与SB2,之间的一条边界上的一个边区ER5-1的一个最佳运动矢量。类似地,通过分别求出两个搜索块SB5与SB4、SB5与SB6及SB5与SB8的运动矢量的平均值而确定边区ER5-2至ER5-4的最佳运动矢量。另一方面,通过求出包含一个角区的一个搜索块的运动矢量与在该角区上与该搜索块相连的搜索块的矢量的平均值而得出该角区的最佳运动矢量。例如求出搜索块SB1、SB2、SB4与SB5的运动矢量的平均值而得出角区CR5-1的最佳运动矢量。同样,角区CR5-2至CR5-4的最佳运动矢量是根据搜索块SB2至SB9的运动矢量确定的。至于诸如CR5等中心区的最佳运动矢量,是指定包含该中心区CR5的搜索块SB5的运动矢量作为其最佳运动矢量的。The optimal motion
以这一方式并按照本发明,诸如CR1-1、CR2-2、CR4-1与CR5-1等互相连接的任何角区具有通过求出包含这些角区的搜索块(诸如SB1、SB2、SB4与SB5)的运动矢量的平均值而确定的相同的最佳运动矢量,而诸如ER2-1与ER5-1等任何相连的边区则共用一个通过求出包含这些边区的搜索块(诸如SB2与SB5)的运动矢量的平均值而计算出的最佳运动矢量。In this way and according to the present invention, any corner regions interconnected such as CR1-1, CR2-2, CR4-1, and CR5-1 have The same optimal motion vector is determined by the average of the motion vectors of SB5), while any connected border regions such as ER2-1 and ER5-1 share a search block (such as SB2 and SB5) that contains these border regions. ) The best motion vector calculated by the average of the motion vectors.
然后将当前帧的各搜索块的最佳运动矢量提供给一个运动补偿器219。The best motion vectors of the search blocks of the current frame are then supplied to a
运动补偿器219利用最佳运动矢量确定单元216所提供的最佳运动矢量从图1中所示的第二帧存储器124中检索各象素值,借此通过线路L30将预测的当前帧信号提供给图1中所示的减法器102与加法器115。
在一个与本发明的编码装置10对应的数字视频信号解码装置中,根据从编码装置10传输来的运动矢量,以相对于区形成单元213及最佳运动矢量确定单元描述的类似方式,重构最佳运动矢量,借此根据所传输的表示误差信号与运动矢量的编码信号便能重构当前帧信号。In a digital video signal decoding device corresponding to the
虽然已经相对于特定的实施例描述了本发明,熟悉本技术的人员显而易见可以作出各种改变与修正,而不脱离下述权利要求书中所定义的发明范围。Although the invention has been described with respect to particular embodiments, it will be apparent to those skilled in the art that various changes and modifications can be made without departing from the scope of the invention as defined in the following claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR5307/1995 | 1995-03-15 | ||
| KR1019950005307AKR100198986B1 (en) | 1995-03-15 | 1995-03-15 | Motion compensation apparatus for improving a blocking effect |
| Publication Number | Publication Date |
|---|---|
| CN1137211Atrue CN1137211A (en) | 1996-12-04 |
| CN1078795C CN1078795C (en) | 2002-01-30 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN96102725AExpired - LifetimeCN1078795C (en) | 1995-03-15 | 1996-03-15 | Improved motion compensation method for use in image encoding system |
| Country | Link |
|---|---|
| JP (1) | JP3725232B2 (en) |
| KR (1) | KR100198986B1 (en) |
| CN (1) | CN1078795C (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008025300A1 (en)* | 2006-09-01 | 2008-03-06 | Huawei Technologies Co., Ltd. | A method for encoding/decoding, the corresponding apparatus for encoding/decoding and a method or apparatus for searching optimum matching block |
| CN100415001C (en)* | 2003-07-29 | 2008-08-27 | 三星电子株式会社 | Apparatus and method for estimating motion in consideration of correlation between blocks |
| CN100466684C (en)* | 2004-04-30 | 2009-03-04 | 松下电器产业株式会社 | Processing of auxiliary data for video sequences |
| CN100591138C (en)* | 2002-11-25 | 2010-02-17 | 松下电器产业株式会社 | Image encoding method and device, image decoding method and device |
| CN101272498B (en)* | 2008-05-14 | 2010-06-16 | 杭州华三通信技术有限公司 | Video encoding method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| BR122020020892B1 (en) | 2011-03-09 | 2023-01-24 | Kabushiki Kaisha Toshiba | METHOD FOR IMAGE CODING AND DECODING AND PERFORMING INTERPREDITION IN A DIVIDED PIXEL BLOCK |
| JP2014183544A (en)* | 2013-03-21 | 2014-09-29 | Fujitsu Ltd | Image processing unit and image processing method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9088795B2 (en) | 2002-11-25 | 2015-07-21 | Godo Kaisha Ip Bridge 1 | Picture coding and decoding system for coding and decoding macroblocks in direct mode |
| US8861607B2 (en) | 2002-11-25 | 2014-10-14 | Panasonic Intellectual Property Corporation Of America | Motion compensation method, picture coding method and picture decoding method |
| US10057595B2 (en) | 2002-11-25 | 2018-08-21 | Godo Kaisha Ip Bridge 1 | Motion compensation method, picture coding method and picture decoding method |
| US8660185B2 (en) | 2002-11-25 | 2014-02-25 | Panasonic Corporation | Picture decoding apparatus and method for decoding a picture using motion compensation |
| US9554148B2 (en) | 2002-11-25 | 2017-01-24 | Godo Kaisha Ip Bridge 1 | Picture coding method and picture coding apparatus for coding a current picture in direct mode |
| CN101827265A (en)* | 2002-11-25 | 2010-09-08 | 松下电器产业株式会社 | Picture coding apparatus and method, picture decoding apparatus and method, and recording method |
| US9485516B2 (en) | 2002-11-25 | 2016-11-01 | Godo Kaisha Ip Bridge 1 | Picture decoding apparatus and picture decoding method for decoding a current picture in direct mode |
| US9473786B2 (en) | 2002-11-25 | 2016-10-18 | Godo Kaisha Ip Bridge 1 | Coding and decoding system for coding and decoding a picture in direct mode |
| US9241171B2 (en) | 2002-11-25 | 2016-01-19 | Godo Kaisha Ip Bridge 1 | Motion compensation method, picture coding method and picture decoding method |
| CN101827265B (en)* | 2002-11-25 | 2012-11-21 | 松下电器产业株式会社 | Picture coding apparatus and method, picture decoding apparatus and method, and recording method |
| CN100591138C (en)* | 2002-11-25 | 2010-02-17 | 松下电器产业株式会社 | Image encoding method and device, image decoding method and device |
| US8897367B2 (en) | 2002-11-25 | 2014-11-25 | Panasonic Intellectual Property Corporation Of America | Motion compensation method, picture coding method and picture decoding method |
| US9204153B2 (en) | 2002-11-25 | 2015-12-01 | Godo Kaisha Ip Bridge 1 | Motion compensation method, picture coding method and picture decoding method |
| CN100415001C (en)* | 2003-07-29 | 2008-08-27 | 三星电子株式会社 | Apparatus and method for estimating motion in consideration of correlation between blocks |
| CN101009831B (en)* | 2003-07-29 | 2010-09-22 | 三星电子株式会社 | Motion Estimation Apparatus and Method |
| CN100466684C (en)* | 2004-04-30 | 2009-03-04 | 松下电器产业株式会社 | Processing of auxiliary data for video sequences |
| WO2008025300A1 (en)* | 2006-09-01 | 2008-03-06 | Huawei Technologies Co., Ltd. | A method for encoding/decoding, the corresponding apparatus for encoding/decoding and a method or apparatus for searching optimum matching block |
| CN101518089B (en)* | 2006-09-01 | 2010-12-01 | 华为技术有限公司 | Coding/decoding method, coder/decoder and method and device for finding the best matching block |
| CN101272498B (en)* | 2008-05-14 | 2010-06-16 | 杭州华三通信技术有限公司 | Video encoding method and device |
| Publication number | Publication date |
|---|---|
| JPH08265768A (en) | 1996-10-11 |
| KR100198986B1 (en) | 1999-06-15 |
| CN1078795C (en) | 2002-01-30 |
| JP3725232B2 (en) | 2005-12-07 |
| KR960036681A (en) | 1996-10-28 |
| Publication | Publication Date | Title |
|---|---|---|
| US6148027A (en) | Method and apparatus for performing hierarchical motion estimation using nonlinear pyramid | |
| US5689306A (en) | Method and apparatus for encoding a video signal using pixel-by-pixel motion prediction | |
| US5751362A (en) | Apparatus for encoding a video signal using feature point based motion estimation | |
| JP2744871B2 (en) | Image signal encoding method and image signal encoding device | |
| US5883823A (en) | System and method of a fast inverse discrete cosine transform and video compression/decompression systems employing the same | |
| US20030063667A1 (en) | Optimal encoding of motion compensated video | |
| JPH08265780A (en) | Video signal encoding / decoding apparatus and method | |
| EP0838955A3 (en) | Video coding apparatus and decoding apparatus | |
| CN101194515A (en) | Multilayer-based video encoding and decoding methods and video encoders and decoders using smooth prediction | |
| JP4382284B2 (en) | Subband encoding / decoding | |
| EP0825778A2 (en) | Method for motion estimation | |
| EP0721284B1 (en) | An image processing system using pixel-by-pixel motion estimation and frame decimation | |
| KR100229796B1 (en) | Image decoding system with compensation function for degraded image | |
| JP2001519988A (en) | System for extracting coding parameters from video data | |
| US5706366A (en) | Apparatus for encoding an image signal having a still object using an image warping technique | |
| JP3674158B2 (en) | Image encoding method and image decoding apparatus | |
| US6408101B1 (en) | Apparatus and method for employing M-ary pyramids to enhance feature-based classification and motion estimation | |
| US5790207A (en) | Motion compensation method for use in an image encoding system | |
| CN1078795C (en) | Improved motion compensation method for use in image encoding system | |
| US5614953A (en) | Image signal decoding apparatus having an encoding error compensation | |
| US6061401A (en) | Method and apparatus for selectively encoding/decoding a video signal | |
| JPH07336684A (en) | Image signal decoding device | |
| JPH0746595A (en) | Video encoder and decoder | |
| EP0720373A1 (en) | Method and apparatus for encoding a video signal using region-based motion vectors | |
| JPH0951538A (en) | Image signal encoding method |
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C41 | Transfer of patent application or patent right or utility model | ||
| TR01 | Transfer of patent right | Effective date of registration:20030425 Patentee after:Daewoo Electronics Co., Ltd. Patentee before:Daewoo Electronics Co., Ltd. | |
| ASS | Succession or assignment of patent right | Owner name:ZTE CORPORATION Free format text:FORMER OWNER: DAEWOO ELECTRONICS CO., LTD. Effective date:20130308 | |
| C41 | Transfer of patent application or patent right or utility model | ||
| COR | Change of bibliographic data | Free format text:CORRECT: ADDRESS; TO: 518052 SHENZHEN, GUANGDONG PROVINCE | |
| TR01 | Transfer of patent right | Effective date of registration:20130308 Address after:518052 Zhongxing building, science and technology south road, Nanshan District hi tech Industrial Park, Guangdong, Shenzhen Patentee after:ZTE Corporation Address before:Seoul, South Kerean Patentee before:Daewoo Electronics Co., Ltd. | |
| CX01 | Expiry of patent term | Granted publication date:20020130 | |
| EXPY | Termination of patent right or utility model |