专利摘要:
The present invention restores the bit error of the motion vector by generating a motion vector of blocks having a high correlation with the block corresponding to the motion vector in which the bit error is generated when the bit error is restored for the motion vector in the image decoding system. The present invention relates to a motion vector bit error recovery apparatus, wherein, when a bit error is detected in bitstream data of a currently transmitted motion vector, the motion vector of the block having a high correlation with the position of the block corresponding to the motion vector A candidate bit string generator for generating the candidate bit strings of the bitstream data; Variable length decoding each of the predetermined number of candidate bit streams transmitted from the candidate bit string generation unit, and reads pixel data of the corresponding block unit from the frame memory using the decoded candidate bit stream as a motion vector to a predetermined number of candidate blocks. A candidate block generator for generating; adding motion compensation prediction error information from each candidate block to select a block having the smallest difference between pixel data located in a boundary region between an adjacent upper block and a left block as an optimal candidate block; And a reconstructed motion vector generating unit for generating a motion vector corresponding to the candidate block as a reconstructed motion vector.
公开号:KR19980053571A
申请号:KR1019960072677
申请日:1996-12-27
公开日:1998-09-25
发明作者:이상훈
申请人:배순훈;대우전자 주식회사;
IPC主号:
专利说明:

Bit Error Recovery Device of Motion Vector in Image Decoding System
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bit error recovery apparatus of a motion vector in an image decoding system. In particular, the present invention relates to bitstream data transmitted by adding one bit of parity bit per bitstream data of one motion vector. The present invention relates to a bit error recovery apparatus of a motion vector for recovering a bit error of a motion vector using motion vectors of adjacent blocks and motion vectors of a previous frame in a reconstructed image decoding system.
In general, an image decoding system encodes bitstream data, which is encoded and transmitted in a predetermined block unit (or partition unit) such as 8 * 8 pixels or 16 * 16 pixels, in the same block unit as the encoding system. It decodes and restores the original video signal. When the video signal transmitted during the transmission of the bitstream data between the video encoding system and the video decoding system is a video, the video encoding system compensates for the motion of the video signal in a predetermined block unit using the previous frame video signal. The extracted motion vector is multiplexed with the variable length coded pixel data of the corresponding block and transmitted.
In order to detect a bit error of the motion vector transmitted as described above, a video encoding system for transmitting a parity bit of 1 bit per bitstream of one motion vector and a parity bit in motion vector units are added and transmitted. An image decoding system has been proposed to check whether a bit error of a motion vector occurs depending on whether the value obtained by adding the bitstream data of the motion vector is even or odd.
In particular, if the proposed image decoding system determines that a bit error of a motion vector is generated by the above-described method, a predetermined number of candidates having a Hamming Distance of 1 for bitstream data of the motion vector excluding parity bits Generates a bit stream, extracts candidate blocks from the decoded previous frame image using the generated candidate bit stream, and detects a gentle degree of an interface in a spatial domain between the extracted candidate blocks and an adjacent block. Therefore, the motion vector of the candidate block having the smoothest boundary is detected as the reconstructed motion vector.
However, the above-described bit error recovery scheme for the motion vector generates a candidate bit string having a hamming distance of 1 with respect to the currently applied bit stream and generates the candidate blocks as described above. There was a problem that blocks that are not associated with an applied motion vector may be generated.
Accordingly, the present invention has been made to improve the above-described drawbacks, and when a bit error recovery for a motion vector in a video decoding system, candidates for motion vectors of blocks having a high correlation with a block corresponding to a motion vector where a bit error has occurred It is an object of the present invention to provide a motion vector bit error recovery apparatus for recovering a bit error of a motion vector by generating a bit string.
In order to achieve the above object, a bit error recovery apparatus of a motion vector according to the present invention recovers a motion vector transmitted in a bitstream structure including a parity bit, and restores a motion vector and a previous frame image signal stored in a frame memory. In a video decoding system having a motion compensation unit for outputting a video signal of a predetermined block unit restored by performing motion compensation processing on a video signal of a predetermined block unit currently applied, the bit stream of the currently transmitted motion vector A candidate bit string generator for generating, as candidate bit strings of the bitstream data, a motion vector of a block at a position highly related to a position of a block corresponding to the motion vector when a bit error is detected in the data; A variable length decoder for variable length decoding each of a predetermined number of candidate bit streams transmitted from the candidate bit string generator; a predetermined number of candidate bit streams respectively decoded and output from the variable length decoder as a motion vector from a frame memory; A candidate block generator configured to read pixel data of a corresponding block unit and generate candidate blocks corresponding to the candidate bit strings; motion compensation prediction error information corresponding to a motion vector to a predetermined number of candidate blocks output from the candidate block generator; An adder configured to add the data; a predetermined number of block unit data to provide pixel data of an upper block (TOP block) and pixel data of a left block adjacent to a position of a predetermined block corresponding to a motion vector in which a bit error occurs; A memory storing the; And selecting the block having the smallest difference between the respective candidate blocks to which motion compensation prediction error information output from the adder is added and the pixel data located in the boundary region between the adjacent upper block and the left block provided from the memory as the optimal candidate block. And a reconstructed motion vector generator for generating a reconstructed motion vector of the motion vector corresponding to the selected candidate block.
1 is a block diagram of an image decoding system having a bit error recovery apparatus of a motion vector according to the present invention.
FIG. 2 is a detailed block diagram of a candidate bit string generator shown in FIG. 1.
3 is an exemplary diagram of a macroblock that is a target when generating a candidate bit string;
Explanation of symbols for main parts of the drawings
100: bit error detection unit 110: switch 120, 150: variable length decoding unit
130: motion compensation unit 131: frame memory
140: candidate bit string generation unit 160: candidate block generation unit
170: adder 180: memory 190: restored motion vector generator
200: motion vector extraction unit
210 to 250: first to fourth candidate bit string generators
The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the invention described below with reference to the accompanying drawings by those skilled in the art.
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
1 is a block diagram of an image decoding system having a device for recovering a bit error of a motion vector according to an embodiment of the present invention. When bitstream data including one parity bit is added to one motion vector, FIG. A bit error detection unit 100 for detecting whether a bit error has occurred, a variable length decoder 120 for variable length decoding the motion vector, and a variable transmitted from the VLD 120. The motion compensator 130 for outputting a motion-compensated decoded video signal using the length-decoded motion vector, and has a high correlation with a block (or partition) corresponding to the bitstream data of the currently applied motion vector. The candidate bit string generator 140 for generating candidate bit strings of motion vectors of the blocks, and a bit error of the currently applied motion vector. Twelve candidate bits output from the switch 110 and the candidate bit string generator 140 for the motion vector transmission process to the variable length encoder 120 and the candidate bit string generator 140 as described above. Variable length decoding unit 150 for variable length decoding for each column, and pixel data of the corresponding block from the previous frame image stored in frame memory 131 using each variable length decoded candidate bit string as a motion vector. An adder for adding MCPE (Motion Companation Prediction Error) information to each of N candidate blocks output from the candidate block generator 160 and the candidate block generator 160 for extracting and generating candidate blocks. 170), adjacent blocks and blocks having the lowest boundary value in the spatial domain are optimal candidate blocks for candidate blocks to which MCPE information added from the adder 170 is added. A reconstructed motion vector generator 190 for detecting and reconstructing the motion vector, and a memory 180 storing inverse discrete cosine transformed (IDCT) pixel data of adjacent blocks necessary for generating the reconstructed motion vector. It is composed.
The bit error recovery apparatus of the motion vector configured as described above is operated as follows.
First, when bitstream data is transmitted from an image encoding system, as is well known, a bitstream of a motion vector and a bitstream of a video signal in units of blocks are separated and transmitted by a demultiplexing (DeMUX) process. In this case, when the bitstream of the motion vector separated and transmitted is transmitted in a structure in which one parity bit is added to the motion vector to detect a bit error of the motion vector, as described in the related art, the motion according to the present invention. Vector bit error recovery is applied.
As described above, when bitstream data of a motion vector having a structure in which parity bits are allocated is applied, the bit error data is transmitted to the bit error detector 100 and the switch 110, respectively.
The bit error detection unit 100 detects whether a bit error has occurred depending on whether the bit value of the bitstream data of the motion vector including the applied parity bit is even or odd. For example, when parity bits are added so that bitstream data transmitted from an image encoding system (not shown) has an even value, the bit error detection unit 100 adds the bitstream data bits of the transmitted motion vector. If it is even, it is determined to be normal, and if it is odd, it is determined that an error has occurred.
As a result of the determination, the switch 110 is switched to the a1 contact by the switching control signal output from the bit error detection unit 100 to transmit the bitstream of the motion vector applied through the current reference contact to the VLD 120. . The VLD 120 variably decodes only the motion vector excluding the parity bit and transmits the decoded length to the motion compensator 130.
As is well known, the motion compensator 130 includes a frame memory 131 that stores a previous frame image signal, and uses a current motion vector and a previous frame image signal stored in the frame memory 131. Compensation processing is performed on the applied video signal in the predetermined block unit, and the restored video signal in the predetermined block unit is output.
On the other hand, when a bit error of the transmitted motion vector occurs, the switch 110 is switched to the contact b1 by the switching control signal provided from the bit error detection unit 100. Accordingly, the bitstream data of the currently applied motion vector is transmitted to the candidate bit string generator 140 through the switch 110.
As shown in FIG. 2, the candidate bit string generator 140 includes a motion vector extractor 200 and first to fifth candidate bit string generators 210 to 250 to correspond to a motion vector having a bit error. A motion vector of blocks highly related to the block to be generated is generated as a candidate bit string.
That is, when a bitstream (MoV) + parity bit (MV) of a motion vector including a parity bit is applied from the switch 100, the motion vector is transmitted to the motion vector extractor 200. The motion vector extractor 200 extracts and outputs only the bitstream of the motion vector excluding the parity bit from the bitstream of the motion vector including the applied parity bit. The bitstream of the output motion vector is transmitted to the first candidate bitstream generator 210 and the fourth and fifth candidate bitstream generators 210.
When the block corresponding to the motion vector to be applied is a macro block in a hatched position as shown in FIG. 3, the first candidate bit string generator 210 selects the corresponding macro blocks in the order shown in FIG. 3. The bit strings of the motion vectors MV1 to MV8 of the eight macro blocks 1 to 8 around the center are generated and output as candidate bit strings.
The second candidate bit string generator 210 obtains an average of eight candidate bit strings output from the first candidate bit string generator 210 as shown in Equation 1 below, and calculates a bit string of the obtained average value MV mean of eight motion vectors. Is generated as one candidate bit string and output.
[Equation 1]
The third candidate bit string generator 230 extracts an intermediate value Median among the eight candidate bit strings output from the first candidate bit string generator 210, and generates and outputs one candidate bit string.
When the motion vector MV transmitted from the motion vector extractor 200 is applied, the fourth candidate bit string generator 240 is located at the same position as that of the corresponding block of the motion vector MV transmitted from the previous frame image. A motion vector of the block is generated as a candidate bit string and output.
The fifth candidate bit string generator 250 stores a zero motion vector and outputs the zero motion vector stored as a candidate bit string when the motion vector MV is applied from the motion vector extractor 200. .
Twelve candidate bit streams output from the first to fifth candidate bit stream generators 210 to 250 are transmitted to the variable length decoder 150.
The variable length decoder 150 performs a variable length decoding process on each candidate bit string applied according to a conventional variable length decoding method. Each candidate bit string having the variable length decoding is transmitted to the candidate block generator 160.
When the 12 decoded candidate bit streams transmitted from the variable length decoder 150 are transmitted, the candidate block generation unit 160 uses the candidate bit streams as motion vectors, and the pixels of the block from the frame memory 131. Read the data and generate candidate blocks. The generated candidate blocks are transmitted to the adder 170.
The adder 170 adds and outputs candidate blocks and MCPE information transmitted from the candidate block generator 160, respectively. In this case, the MCPE information is information obtained by inverse discrete cosine transform of a block corresponding to a currently applied motion vector. The candidate blocks to which MCPE information output from the adder 170 is added are transmitted to the reconstructed motion vector generator 190.
When the candidate blocks to which MCPE information is added from the adder 170 are transmitted, the reconstructed motion vector generator 190 performs a side match test method on adjacent blocks transmitted from the memory 180 and candidate blocks applied thereto. By testing the congruence (or gentleness) of the boundary region, the candidate block with the gentlest boundary region is extracted.
That is, when the top block adjacent to the block corresponding to the motion vector at which the current bit error occurs is provided from the memory 180 and the pixel data of the left block is provided, the candidate block is placed on the boundary area of the adjacent top block and the left block among the pixel data of the candidate blocks. Extract the pixel data (X1 ~ X8, Y1 ~ Y8) located, extract the pixel data (X1 '~ X8') located on the boundary of the block corresponding to the motion vector from the adjacent top block, and the motion vector from the adjacent left block. The pixel data (Y1 'to Y8') located at the boundary of the block corresponding to the extracted data is extracted. The extracted pixel data is operated as in Equation 2 to obtain a boundary difference value Dsm of adjacent blocks for each candidate block.
[Formula 2]
here Is the pixel data located on the top horizontal line adjacent to the lower boundary of the top block in the candidate block. Is the pixel data located on the lowest horizontal line in the top block that is adjacent to the upper boundary of the current block. Is the pixel data located on the leftmost vertical line adjacent to the right boundary of the left block in the candidate block. Is the pixel data located on the rightmost vertical line adjacent to the left boundary of the current block in the adjacent left block.
As such, when boundary difference values Dsm with neighboring blocks for each candidate block are obtained, candidate blocks having the smallest difference value among the obtained difference values are extracted. Here, having the smallest difference value means that the boundary between the adjacent block and the candidate block is the gentlest as described above.
The reconstructed motion vector generator 190 generates a motion vector corresponding to the extracted one candidate block as the reconstructed motion vector. The generated motion vector is transmitted to the motion compensator 130 and used to output the reconstructed image signal as described above.
The memory 180 is configured to store pixel data of a predetermined number of block units so as to provide pixel data of the adjacent top block and the left block to the reconstructed motion vector generator 190 as described above.
As described above, according to the present invention, when a bit error of a motion vector transmitted with a parity bit added in a video decoding system is restored, the motion vector of blocks having a high correlation with a block corresponding to a motion vector having a bit error is candidate. By providing a bit error recovery apparatus of a motion vector that generates a bit string and restores a bit error of a motion vector, the bit error is recovered by using blocks that are more relevant than when generating a candidate bit string having a conventional hamming distance of 1. It is effective to recover bit error of motion vector more accurately.
In addition, the above-described embodiment will be apparent to those skilled in the art that various changes and modifications can be made without departing from the technical spirit of the present invention. Therefore, the technical scope of the present invention should not be limited to the contents described in the detailed description of the specification but should be defined by the claims.
权利要求:
Claims (2)
[1" claim-type="Currently amended] Reconstructs a motion vector transmitted in a bitstream structure including a parity bit, and uses the reconstructed motion vector and the previous frame image signal stored in the frame memory 131 to move a video signal of a predetermined block unit. In the image decoding system having a motion compensation unit 130 for outputting the video signal of the predetermined block unit restored by the compensation process,
When a bit error is detected in the bitstream data of the currently transmitted motion vector, a motion vector of a block at a position highly related to the position of the block corresponding to the motion vector is generated as candidate bit strings of the bitstream data. A candidate bit string generator 140;
A variable length decoder 150 for variable length decoding each of a predetermined number of candidate bit strings transmitted from the candidate bit string generator 140;
A candidate block corresponding to the candidate bit stream is read from the pixel data of the corresponding block unit from the frame memory 131 using the predetermined number of candidate bit streams respectively decoded and output by the variable length decoder 150 as a motion vector. Candidate block generation unit 160 for generating the data;
An adder 170 for adding motion compensation prediction error information corresponding to the motion vector to the predetermined number of candidate blocks output from the candidate block generator 160;
Memory that stores a predetermined number of block units of data so that the pixel data of the upper block (TOP block) adjacent to the position of the predetermined block corresponding to the motion vector generated the bit error can be provided and the pixel data of the left block ( 180); And
The block having the smallest difference between the respective candidate blocks to which the motion compensation prediction error information output from the adder 170 is added and the pixel data located in the boundary region between the adjacent upper block provided from the memory 180 and the left block. And a reconstructed motion vector generation unit 190 for selecting the optimal candidate block and generating a motion vector corresponding to the selected candidate block as a reconstructed motion vector. .
[2" claim-type="Currently amended] 2. The method of claim 1, wherein the candidate bit string generator 140 comprises: a motion vector extractor 200 for extracting only bitstream data of a motion vector excluding parity bits when bitstream data of the motion vector is applied; A first candidate bit string generator 210 for generating corresponding motion vectors of eight blocks located around the blocks corresponding to the motion vectors extracted by the motion vector extractor 200 as candidate bit strings; A second candidate bit string generator 220 for generating an average value of eight candidate bit strings output from the first candidate bit string generator 210 as one candidate bit string; A third candidate bit string generator 230 for extracting an intermediate value of the eight candidate bit strings output from the first candidate bit string generator 210 and generating one candidate bit string; A fourth candidate bit string generator 240 for generating a motion vector having the same block position as one candidate bit string in a previous frame image when the motion vector output from the motion vector extractor 200 is transmitted; And a fifth candidate for storing the bit string of the zero motion vector and generating the bit string of the zero motion vector stored as one candidate bit string when the motion vector is transmitted from the motion vector extractor 200. Bit error generator of the motion vector, characterized in that consisting of a bit string generator (250).
类似技术:
公开号 | 公开日 | 专利标题
RU2696551C1|2019-08-02|Method and device for encoding video with compensation of affine motion
US10205960B2|2019-02-12|Moving picture encoding apparatus, moving picture decoding apparatus, moving picture encoding method, moving picture decoding method, moving picture encoding program, and moving picture decoding program
RU2604996C2|2016-12-20|Method and apparatus for encoding and decoding motion vector
RU2676245C1|2018-12-26|Method of predictive encoding, device for predictive encoding and program for predicting encoding of a motion vector and method of predictive decoding, device for predictive decoding and program for predicting decoding of a motion vector
WO2017148345A1|2017-09-08|Method and apparatus of video coding with affine motion compensation
CN104170389B|2018-10-26|The production method of motion vector predictor candidate between the production method and device and viewpoint of motion vector predictor
JP5021083B2|2012-09-05|Bitstream generation method
TWI526048B|2016-03-11|Method and apparatus for encoding/decoding motion vector
JP2014014169A|2014-01-23|Method and apparatus for estimating motion vector using plurality of motion vector predictors, encoder, decoder, and decoding method
US8391364B2|2013-03-05|Moving picture encoding device, moving picture decoding device, moving picture encoding method, moving picture decoding method, program, and computer readable recording medium storing program
KR100283343B1|2001-03-02|Image signal encoding method and decoding method, image signal encoding apparatus and decoding apparatus
EP0719049B1|2003-05-28|Method and apparatus for image coding
USRE44663E1|2013-12-24|Image decoding apparatus for persistently storing reference images
US5177608A|1993-01-05|Method and apparatus for coding moving image signal
EP2094017B1|2015-11-04|Method for direct mode encoding and decoding
DE69724673T2|2004-07-15|Video decoding device for decoding shape and texture signals using inter / intra modes
CN101595735B|2011-11-09|Method and apparatus for encoding video and method and apparatus for decoding video
KR101450670B1|2014-10-15|Method and apparatus for generating block-based stereoscopic image format, and method and apparatus for reconstructing stereoscopic images from the block-based stereoscopic image format
JP3920849B2|2007-05-30|Image encoding device, image decoding device, image encoding method, and image decoding method
DE69912527T2|2004-05-13|Device and method for motion vector coding
JP2013070399A|2013-04-18|Scalable video coding with filtering of lower layers
US7359558B2|2008-04-15|Spatial scalable compression
TWI449432B|2014-08-11|Methods for decoder-side motion vector derivation
KR100716992B1|2007-05-10|Method for encoding and decoding of stereo video, and apparatus thereof
KR100774296B1|2007-11-08|Method and apparatus for encoding and decoding motion vectors
同族专利:
公开号 | 公开日
KR100212554B1|1999-08-02|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题
法律状态:
1996-12-27|Application filed by 배순훈, 대우전자 주식회사
1996-12-27|Priority to KR1019960072677A
1998-09-25|Publication of KR19980053571A
1999-08-02|Application granted
1999-08-02|Publication of KR100212554B1
优先权:
申请号 | 申请日 | 专利标题
KR1019960072677A|KR100212554B1|1996-12-27|1996-12-27|Apparatus for reconstructing bits error of motion vector in the image decoder|
[返回顶部]