EP1889487A1 - Multilayer-based video encoding method, decoding method, video encoder, and video decoder using smoothing prediction - Google Patents

Multilayer-based video encoding method, decoding method, video encoder, and video decoder using smoothing prediction

Info

Publication number
EP1889487A1
EP1889487A1 EP06768807A EP06768807A EP1889487A1 EP 1889487 A1 EP1889487 A1 EP 1889487A1 EP 06768807 A EP06768807 A EP 06768807A EP 06768807 A EP06768807 A EP 06768807A EP 1889487 A1 EP1889487 A1 EP 1889487A1
Authority
EP
European Patent Office
Prior art keywords
block
current picture
picture
smoothing
multilayer
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.)
Withdrawn
Application number
EP06768807A
Other languages
German (de)
French (fr)
Inventor
Woo-jin 108-703 Jugong 2-danji Apt. Han
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.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics 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
Priority claimed from KR1020050073835A external-priority patent/KR100703788B1/en
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of EP1889487A1 publication Critical patent/EP1889487A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/187Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scalable video layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • H04N19/33Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability in the spatial domain
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop

Definitions

  • Apparatuses and methods consistent with the present invention relates generally to video coding technology and, more particularly, to a method and apparatus for decreasing block artifacts in multilayer-based video coding.
  • Data can be compressed by eliminating spatial redundancy, such as the case where the same color or object is repeated in an image, temporal redundancy, such as the case where there is little change between neighboring frames or the same audio sound is repeated, or psychovisual redundancy in which the fact that humans' visual and perceptual abilities are insensitive to high frequencies is taken into account.
  • spatial redundancy such as the case where the same color or object is repeated in an image
  • temporal redundancy such as the case where there is little change between neighboring frames or the same audio sound is repeated
  • psychovisual redundancy in which the fact that humans' visual and perceptual abilities are insensitive to high frequencies is taken into account.
  • temporal redundancy is eliminated using temporal filtering based on motion compensation
  • spatial redundancy is eliminated using spatial transform.
  • transmission media are necessary. Performance differs according to transmission medium.
  • Currently used transmission media have various transmission speeds ranging from the speed of an ultra high-speed communication network, which can transmit data at a transmission rate of several tens of megabits per second, to the speed of a mobile communication network, which can transmit data at a transmission rate of 384 Kbits per second.
  • a scalable video encoding method which can support transmission media having a variety of speeds or can transmit multimedia at a transmission speed suitable for each transmission environment, is required.
  • Such a scalable video coding method refers to a coding method that allows a video resolution, a frame rate, a Signal-to-Noise Ratio (SNR), etc. to be adjusted by truncating part of an already compressed bitstream in conformity with surrounding conditions, such as a transmission bit rate, a transmission error rate, a system source, etc.
  • SNR Signal-to-Noise Ratio
  • JVT Joint Video Team
  • MPEG Moving Picture Experts Group
  • ITU International Telecommunication Union
  • the H.264 SE and a multilayer-based scalable video codec basically support four prediction modes, that is, inter prediction, directional intra prediction (hereinafter simply referred to as 'intra prediction'), residual prediction and intra-base prediction.
  • 'intra prediction' directional intra prediction
  • residual prediction residual prediction
  • intra-base prediction intra-base prediction.
  • 'prediction' implies a technique of compressively representing original data using prediction data generated based on information that can be commonly used in an encoder and a decoder.
  • Inter predictions are classified into bi-directional prediction for which two reference pictures are used, forward prediction for which a previous reference picture is used, and backward prediction for which a subsequent reference picture is used, according to the method of making reference to a reference picture.
  • the intra-base prediction may be used in the case where a lower layer picture
  • a 'base picture' having a temporal location identical to a current picture, exists in a video codec having a multi-layer structure.
  • the macroblock of the current picture can be efficiently predicted from the macroblock of the base picture corresponding to the macroblock of the current picture. That is, a difference between the macroblock of the current picture and the macroblock of the base picture is quantized.
  • inter prediction with residual prediction (hereinafter simply called 'residual prediction') is a prediction method in which the existing inter prediction in a single layer is extended to a multilayer form. According to the residual prediction method of FIG. 3, a difference generated by the current layer inter prediction process is not directly quantized, a difference generated by the current layer and a difference generated by a lower layer inter prediction process are subtracted from each other again, and a result obtained by the subtraction is quantized.
  • the most efficient of the above-described four prediction methods is used for respective macroblocks forming a picture.
  • the inter prediction and the residual prediction may be chiefly used for a video sequence in which motion is slow.
  • the intra-base prediction may be chiefly used for a video sequence in which motion is fast.
  • the video codec having the multi-layer structure has a relatively complicated prediction structure compared to a video codec having a single-layer structure and chiefly employs an open-loop structure, so that a lot of block artifacts appear in contrast to the codec having the single-layer structure.
  • the above- described residual prediction uses the residual signals of the lower layer picture, so that excessive distortion may occur in the case where the characteristics of the residual signals are greatly different from those of the inter prediction signals of the current layer picture.
  • prediction signals for the macroblock of the current picture are not original signals, and are restored signals after quanization. Accordingly, the prediction signals are signals that can be obtained in common by both an encoder and a decoder, so that encoder-decoder mismatch does not occur. In particular, a difference with the macroblock of the current picture is obtained using a smoothing filter for the prediction signals, so that block artifacts are considerably reduced. Disclosure of Invention
  • H.264 SE allows intra-base prediction to be used in the case where a specific condition is satisfied, so that only decoding can be performed in a manner similar to that in a video codec having a single-layer structure, although encoding is performed in a multi-layer form.
  • aspect of the present invention relates to improving coding performance when inter prediction or residual prediction is performed in a multilayer- based video codec.
  • the present invention provides a multilayer-based video encoding method, including the steps of (a) calculating a difference between an inter prediction block for the block of a lower layer picture, which corresponds to an arbitrary block of a current picture, and the block of the lower layer picture; (b) adding the calculated difference to an inter prediction block for the block of the current picture; (c) smoothing a block, which is generated by the adding, using a smoothing filter; and (d) encoding a difference between the block of the current picture and a block generated by the smoothing.
  • the present invention provides a multilayer-based video encoding method, including the steps of (a) generating an inter prediction block for an arbitrary block of a current picture; (b) smoothing the generated inter prediction block using a smoothing filter; (c) calculating a difference between the block of the current picture and a block generated by the smoothing; and (d) encoding a difference.
  • the present invention provides a multilayer-based video decoding method, comprising the steps of (a) restoring the residual signals of an arbitrary block of a current picture, which is contained in an input bitstream, based on texture data for the block of the current picture; (b) restoring the residual signals of the block of a lower layer picture, which is contained in the bitstream and corresponds to the block of the current picture; (c) adding the residual signals, which are restored at step (b), to an inter prediction block for the current picture; (d) smoothing a block, which is generated by the adding, using a smoothing filter; and (e) adding the residual signals, which are restored at step (a), to a block generated by the smoothing.
  • the present invention also provides a multilayer-based video encoder, including a means for generating an inter prediction block for an arbitrary block of a current picture; a means for smoothing the generated inter prediction block using a smoothing filter; a means for calculating a difference between the block of the current picture and a block generated by the smoothing; and a means for encoding a difference.
  • the present invention further provides a multilayer-based video encoder, including a means for restoring the residual signals of an arbitrary block of a current picture, which is contained in an input bitstream, based on texture data for the block of the current picture; a means for restoring the residual signals of the block of a lower layer picture, which is contained in the bitstream and corresponds to the block of the current picture; a means for adding the residual signals, which are restored at step (b), to an inter prediction block for the current picture; a means for smoothing a block generated by the adding using a smoothing filter; and a means for adding the residual signals, which are restored at step (a), to a block generated by the smoothing.
  • FlG. 1 is a diagram illustrating a related method
  • FlG. 2 is a diagram illustrating a related intra-base prediction method
  • FlG. 3 is a diagram illustrating a related residual prediction method
  • FlG. 4 is a diagram illustrating a smoothing prediction method according to an exemplary embodiment of the present invention.
  • FlG. 6 is a diagram showing an example of applying a smoothing filter to the lateral boundary of a sub-block having a size of 4 x 4 pixels;
  • FlG. 7 is a block diagram showing the construction of a video encoder according to an exemplary embodiment of the present invention.
  • FlG. 8 a block diagram showing the construction of a video decoder according to an exemplary embodiment of the present invention.
  • FlG. 9 is a diagram showing the construction of a system for implementing the video encoder of FlG. 7 and the video decoder of FIG. 8. Mode for Invention
  • R r O 1 , - P F ⁇ R R (1)
  • Equations 1 and 2 are compared to each other, they seem not to have a common point at first glance. However, when the equations are expressed by the following Equations 3 and 4, respectively, the similarity there between can be found.
  • Equation 4 the symbol U indicates an up-sampling function, and the symbol B indicates a deblock function. Since the up-sampling function is used in the case where the resolution of the current layer and the resolution of the lower layer are different from each other, the up-sampling function is expressed by the symbol [U] in the sense that it can be selectively used.
  • Equation 3 the inter prediction block P of the lower layer is used in Equation 4.
  • Equation 3 the existing residual prediction can be complemented.
  • Equation 5 A prediction mode based on Equation 5 may be applied to the inter prediction without change. That is, the prediction mode can be regarded as the case where the R B is 0 in the inter prediction, R can be expressed by the following Equation 6:
  • a method of employing the smoothing filter when the existing residual prediction or inter prediction is performed is defined as the term 'smoothing prediction'.
  • a process of performing the smoothing prediction is described in more detail with reference to FIG. 4.
  • FIG. 4 a process of encoding an arbitrary block of the current picture 20 (hereinafter referred to as a 'current block') is exemplified.
  • the block 10 in the base picture, which corresponds to the current block 20, is named 'base block.'
  • the inter prediction block 13 for the base block 10 is generated using the base block 10, and blocks 11 and 12 in the neighboring reference pictures (forward reference picture and backward reference picture) of the lower layer, which correspond to the base block 10 based on motion vectors. Thereafter, a difference (corresponding to R in Equation 5) between the base block 10 and the prediction
  • the inter prediction block 23, generated based on the current layer, is smoothened using the smoothing filter, and then a difference between the current block 20 and a block (corresponding to F(P ) in Equation 6) generated by the smoothing is quantized.
  • the smoothing function (F) may be formed of only the deblock function (B) in the simplest manner, or includes the deblock function (B) and functions (U-D).
  • F is a function applied to the resolution of the current layer
  • the down- sampling function (D) is applied prior to the application of the up-sampling function (U).
  • (U) chiefly performs a smoothing task, the tasks overlap each other. Furthermore, the deblock function, the up-sampling function, and the down-sampling function require the considerable amount of operations at the time of application, and the down- sampling function assumes a role of very strong low-pass filtering, so that the details of an image obtained when prediction is performed can be deteriorated.
  • the smoothing filter (F) allows boundary pixels and their neighboring pixels to be represented in a linear coupling form so that the process of applying the smoothing filter is performed by a small amount of operations.
  • FIGS. 5 and 6 are diagrams illustrating the application examples of the smoothing filter, and show examples of applying the smoothing filter to the vertical boundary and lateral boundary of sub-blocks, each having a 4x4 size.
  • boundary pixels x(n-l) and x(n) can be smoothened in a form in which the boundary pixels and their neighboring pixels are linearly coupled.
  • x'(n-l) ⁇ *x(n-2) + ⁇ *x(n-l ) + ⁇ *x(n)
  • x'(n) ⁇ *x(n-l) + ⁇ *x(n) + ⁇ *x(n+l) (8)
  • ⁇ *, ⁇ *, and ⁇ * can be appropriately selected such that the sum thereof is 1.
  • the weighted value of a corresponding pixel can increase in contrast to neighboring pixels.
  • a further host of pixels may be selected to be neighboring pixels.
  • the smoothing prediction method described above may be selectively used along with the four existing prediction methods.
  • the reason that the smoothing prediction method is selectively used is because the smoothing prediction method exerts an effect when it is used for an image for which the characteristics of the blocks P F and R B do not match each other well, while the deterioration of performance may result when the smoothing prediction method is used for an image for which the characteristics of the blocks P and R match each other.
  • flags are respectively provided for macroblocks, and the encoder is allowed to selectively use the smoothing prediction method and the existing prediction methods based on the values of the flags.
  • the decoder reads the flags, thus determining whether the smoothing prediction has been used.
  • the number of blocks from which artifacts occur is not too many in contrast to overall blocks, so that it is expected that a image quality improvement effect, which can be acquired by eliminating the block artifacts, is greater than that acquired from overhead bits that occur due to the adding of the flags.
  • FlG. 7 is a block diagram showing the construction of a video encoder 100 according to an exemplary embodiment of the present invention.
  • a block identifier is represented using a subscript of character 'F' that indicates a picture.
  • a picture, including a block R is represented by F
  • a current picture F is input to a motion estimation unit 105, a buffer 101, a subtractor 115, and a down-sampler 103.
  • the down-sampler 103 performs spatial and/or temporal down-sampling on the current picture F and generates a lower layer picture F .
  • a motion estimation unit 205 performs motion estimation on the lower layer picture F with reference to neighboring pictures F , thus obtaining motion vectors
  • a block matching algorithm is widely used to performs motion estimation. That is, a displacement, obtained when an error is minimized while moving a given block within the specific search area of a reference picture on a pixel basis or a sub- pixel (2/2 pixel, 1/4 pixel, etc.) basis, is estimated as a motion vector.
  • a fixed-size block matching method may be used to perform motion estimation, and a hierarchical method based on a Hierarchical Variable Size Block Matching (HVSBM), such as H.264, may also be used.
  • HVSBM Hierarchical Variable Size Block Matching
  • the motion vectors MV obtained by the motion estimation unit 205 are provided to a motion compensation unit 210.
  • the motion compensation unit 210 compensates for the motion of the reference picture FOB' using the motion vectors MV and
  • the prediction picture F is composed of a plurality of inter prediction blocks
  • a subtractor 215 calculates a difference between the lower layer picture
  • a difference calculation process may be referred to as a process of calculating a difference between a block O B , which is contained in the lower layer picture F , and a residual block R , which is contained in the prediction picture F .
  • the prediction picture F is provided to an adder 135. If the resolutions of layers are different to each other, the prediction picture FPB is up-sampled to the resolution of a current layer by an up-sampler 140 and is then provided to the adder 135.
  • the current picture F is input to the motion estimation unit 105, the buffer 101, and the subtractor 115.
  • the motion estimation unit 105 performs motion estimation on the current picture with reference to a neighboring picture reference, thus obtaining motion vectors MV . Since the process of performing motion estimation is the same as that occurring in the motion estimation unit 205, a repeated description is omitted.
  • the motion vectors MV obtained by the motion estimation unit 105 are provided to a motion compensation unit 110.
  • the motion compensation unit 110 compensates for the motion of a reference picture F using the motion vectors MV , and generates a prediction picture F for the current picture.
  • an adder 135 adds the prediction picture F and the residual picture FR provided from the lower layer. From a point of view of a block basis, the addition
  • B process may be referred to as a process of adding an inter prediction block P , which is contained in the prediction picture F , and the residual block R , which is contained in the residual picture F .
  • a smoothing filter unit 130 smoothes the output F +F of the adder 135 using a smoothing filter.
  • the smoothing function may have a form in which the boundary pixels of the smoothened block and their neighboring pixels are linearly coupled, as described in Equation 8.
  • the neighboring pixels as shown in FIGS. 5 and 6, are pixels that neighbor the boundary pixels, a weighted value of each of the boundary pixels may be defined as 1/2, and a weighted value of each of the neighboring pixels may be defined as 1/4.
  • the process of generating a difference may be referred to as a process of performing subtraction on the block O , which is contained in the current picture F , and a block (F(P +R ) of Equation 5, which is generated by the smoothing.
  • the transform unit 120 performs spatial transform on the deferential picture F , and generates transform coefficients F .
  • the spatial transform method may employ Discrete Cosine Transform (DCT), wavelet transform or the like.
  • the transform coefficients may be DCT coefficients in the case where the DCT is used, and the transform coefficients may be wavelet coefficients in the case where the wavelet transform is used.
  • the quantization unit 125 quantizes the transform coefficients.
  • the quantization refers to a process of converting the transform coefficients, which are expressed by arbitrary real number values, into discrete values.
  • the quantization unit 125 performs quantization in such a manner as to divide the transform coefficients, which are expressed by arbitrary real number values by a predetermined quantization step, and then round off the divided results to integer values.
  • the residual picture F of the lower layer is converted into quantization coefficients F Q via a transform unit 220 and a quantization unit 225.
  • the entropy encoding unit 150 encodes the motion vectors MV estimated by the motion estimation unit 105, the motion vectors MV estimated by the motion
  • the bitstream may further include a flag for indicating whether the quantization co- efficients F Q have been encoded by the smoothing prediction proposed by the present invention, that is, whether the quantization coefficients F Q have been
  • Equation 5 a process of actually implementing the numerical formula of Equation 5 has been described in conjunction with FIG. 7.
  • the present invention is not limited to this, and may be implemented based on the numerical formula of Equation 6 in consideration of the case where R is set to '0' in Equation 5, that is, the characteristics of a single layer.
  • This is a method that can be applied to the single layer, and may be implemented in such a manner that the operational process of the lower layer is omitted in FIG. 7, and the prediction picture F , which is output from the motion compensation unit 110, is directly input to the smoothing filter 130 without passing through the adder 135. Accordingly, a separate drawing is not provided.
  • a video encoding method may include the steps of generating an inter prediction block for an arbitrary block of a current picture, smoothing the generated inter prediction block using a smoothing filter, calculating a difference between the block of the current picture and a block generated by the smoothing, and encoding a difference.
  • FIG. 8 is a block diagram showing the construction of a video decoder 300 according to an exemplary embodiment of the present invention.
  • An entropy decoding unit 305 decodes an input bitstream without loss, the texture data F Q of the current picture, the texture
  • the lossless decoding is a process that is
  • the texture data F Q of the current picture is provided to a dequantization unit
  • An inverse transform unit 320 performs dequantization on the results of the de- quantization.
  • the inverse transform process is performed in a reverse order to that of the transform process of the encoder and, specifically, may employ inverse DCT, inverse wavelet transform or the like.
  • the residual picture F RF is composed of a plurality of residual signals R , that is, a plurality of residual blocks.
  • a dequantization unit 410 de- quantizes the provided texture data F Q of the lower layer picture, and an inverse
  • RB transform unit 420 performs inverse transform on the results of the dequantization. As the result of the transform, a residual picture F with respect to the lower layer picture
  • the residual picture F is composed of a plurality of residual signals R . [89]
  • the restored residual picture F is provided to an adder 360. In this case, when the
  • the motion compensation unit 350 performs motion compensation on a reference picture F provided from a buffer 340 using the motion vectors MV , thus generating an inter prediction picture F .
  • the reference picture F refers to the neighboring picture of the current picture, which was previously restored and then stored to the buffer 340.
  • the adder 360 adds the prediction picture FPF to the residual picture F RB provided from the lower layer. From a view of point of a block basis, the addition process may be referred to as a process of adding an inter prediction block P , which is contained in the prediction picture F , and the residual block R , which is contained in the residual p ⁇ icture F RB . [93] Thereafter, the fourth step is described below.
  • a smoothing filter 370 smoothes the output F +F of the adder 360 using a smoothing filter.
  • a smoothing function for the smoothing filter may be implemented in various forms. For example, as described in Equation 7, when the resolutions of layers are the same, a deblock function may be used without change as the smoothing function for the smoothing filter. In contrast, when the resolutions of layers are different, a combination of a deblock function, a down-sampling function and an up-sampling function may be used as the smoothing function.
  • the smoothing function may have a form in which the boundary pixels of the smoothened block and their neighboring pixels are linearly coupled, as described in Equation 8.
  • the neighboring pixels as shown in FIGS. 5 and 6, are pixels that neighbor the boundary pixels, a weighted value of each of the boundary pixels may be defined as 1/2, and a weighted value of each of the neighboring pixels may be defined as 1/4.
  • motion vectors of the current layer and MV (motion vectors of the lower layer) to the video decoder 300.
  • the video encoder 100 only sends MV and the video decoder 300 uses the MV as motion vectors of the current layer.
  • FIG. 9 is a diagram showing the construction of a system for implementing the video encoder 100 or the video decoder 300.
  • the system may include a TV, set-top box, a desktop computer, a laptop computer, a palmtop computer, a Personal Digital Assistant (PDA), or a video or image storage device (for example, a Video Cassette Recorder (VCR), or a Digital Video Recorder (DVR)).
  • the system may be formed of a combination of the above-described devices, or be formed such that one or more devices described above are contained in another device as part thereof.
  • the system may include at least one video source 910, one or more input/output devices 920, a processor 940, memory 950, and a display device 930.
  • the video source 910 may be a Television (TV) receiver, or a VCR or another video storage device. Furthermore, the source 910 may be one or more network connections for receiving video from a server using Internet, a Wide Area Network (WAN), a Local Area Network (LAN), a terrestrial broadcast system, a cable network, a satellite communication network, a wireless network, or a telephone network. Furthermore, the source may be formed of a combination of the above-described networks, or be formed such that one or more networks described-above are contained in another network as part thereof.
  • WAN Wide Area Network
  • LAN Local Area Network
  • the source may be formed of a combination of the above-described networks, or be formed such that one or more networks described-above are contained in another network as part thereof.
  • the input/output device 920, the processor 940, and the memory 950 perform communication through a communication medium 960.
  • the communication medium 960 may be a communication bus, a communication network, or one or more internal connection circuits.
  • Input video data received from the source 910 may be processed by the processor 940 based on one or more software programs stored in the memory 950, and may be processed by the processor 940 for the generation of output video provided to the display device 930.
  • the software programs stored in the memory 950 may include a scalable video codec for performing the methods according to the present invention.
  • the encoder or the codec may be stored in the memory 950, or may be read from a storage medium, such as Compact Disc (CD)-Read Only Memory (ROM) or a floppy disc or downloaded from a predetermined server through various networks.
  • the encoder or the codec may be replaced with software programs or hardware circuits, or may be replaced with a combination of the software programs and the hardware circuits.
  • the present invention can improve the performance of a codec using residual prediction or inter prediction.
  • the present invention can improve a codec using intra-base prediction depending on a low-complicated decoding condition.

Abstract

A method and apparatus for decreasing block artifacts in multilayer-based video coding are provided. A multilayer-based video encoding method includes calculating a difference between an inter prediction block for the block of a lower layer picture, which corresponds to an arbitrary block of a current picture, and the block of the lower layer picture, adding the calculated difference to an inter prediction block for the block of the current picture, smoothing a block, which is generated by the adding, using a smoothing filter, and encoding a difference between the block of the current picture and a block generated by the smoothing.

Description

Description
MULTILAYER-BASED VIDEO ENCODING METHOD, DECODING METHOD, VIDEO ENCODER, AND VIDEO
DECODER USING SMOOTHING PREDICTION
Technical Field
[1] Apparatuses and methods consistent with the present invention relates generally to video coding technology and, more particularly, to a method and apparatus for decreasing block artifacts in multilayer-based video coding.
Background Art
[2] As information and communication technology, including the Internet, develops, image-based communication as well as text-based communication and voice-based communication is increasing. The existing text-based communication is insufficient to satisfy consumers' various demands. Therefore, the provision of multimedia service capable of accommodating various types of information, such as text, images and music, is increasing. Since the amount of multimedia data is large, multimedia data requires high-capacity storage media and requires broad bandwidth at the time of transmission. Therefore, to transmit multimedia data, including text, images and audio, it is essential to compress the data.
[3] The fundamental principle of data compression is to eliminate redundancy in data.
Data can be compressed by eliminating spatial redundancy, such as the case where the same color or object is repeated in an image, temporal redundancy, such as the case where there is little change between neighboring frames or the same audio sound is repeated, or psychovisual redundancy in which the fact that humans' visual and perceptual abilities are insensitive to high frequencies is taken into account. In a general coding method, temporal redundancy is eliminated using temporal filtering based on motion compensation, and spatial redundancy is eliminated using spatial transform.
[4] In order to transmit multimedia data after the redundancy of data has been removed, transmission media are necessary. Performance differs according to transmission medium. Currently used transmission media have various transmission speeds ranging from the speed of an ultra high-speed communication network, which can transmit data at a transmission rate of several tens of megabits per second, to the speed of a mobile communication network, which can transmit data at a transmission rate of 384 Kbits per second. In these environments, a scalable video encoding method, which can support transmission media having a variety of speeds or can transmit multimedia at a transmission speed suitable for each transmission environment, is required.
[5] Such a scalable video coding method refers to a coding method that allows a video resolution, a frame rate, a Signal-to-Noise Ratio (SNR), etc. to be adjusted by truncating part of an already compressed bitstream in conformity with surrounding conditions, such as a transmission bit rate, a transmission error rate, a system source, etc.
[6] Currently, in order to implement multi-layer type of scalability based on H.264, standardization (hereinafter referred to as Η.264 Scalable Extension (SE)') is in progress in the Joint Video Team (JVT), which is the working group of the Moving Picture Experts Group (MPEG) and the International Telecommunication Union (ITU).
[7] The H.264 SE and a multilayer-based scalable video codec basically support four prediction modes, that is, inter prediction, directional intra prediction (hereinafter simply referred to as 'intra prediction'), residual prediction and intra-base prediction. The term 'prediction' implies a technique of compressively representing original data using prediction data generated based on information that can be commonly used in an encoder and a decoder.
[8] Of the four prediction modes, inter prediction is a prediction mode that is generally used in a video codec having an existing single-layer structure. The inter prediction, as shown in FIG. 1, is a method of searching at least one reference picture for a block closest to an arbitrary block (current block) of a current picture, acquiring a prediction block that can best represent the current block from the search, and quantizing a difference between the current block and the prediction block.
[9] Inter predictions are classified into bi-directional prediction for which two reference pictures are used, forward prediction for which a previous reference picture is used, and backward prediction for which a subsequent reference picture is used, according to the method of making reference to a reference picture.
[10] Meanwhile, the intra prediction is a prediction method that can be used even in a single-layer based video codec based on H.264. Furthermore, the intra prediction is a method of predicting a current block using pixels neighboring the current block, which belong to neighboring blocks around the current block. The intra prediction differs from other prediction methods in that it uses only information about the current picture, and does not make reference to the other pictures of the same layer and the pictures of other layers.
[11] The intra-base prediction may be used in the case where a lower layer picture
(hereinafter referred to as a 'base picture'), having a temporal location identical to a current picture, exists in a video codec having a multi-layer structure. As shown in FIG. 2, the macroblock of the current picture can be efficiently predicted from the macroblock of the base picture corresponding to the macroblock of the current picture. That is, a difference between the macroblock of the current picture and the macroblock of the base picture is quantized.
[12] If the resolution of the lower layer and the resolution of a current layer are different from each other, the resolution of the base picture must be up-sampled into the resolution of the current layer before the obtainment of a difference. Such an intra-base prediction is particularly efficient in the case where the efficiency of the inter prediction is not high, for example, in images in which motion is very fast or in images in which scene conversion occurs. Finally, inter prediction with residual prediction (hereinafter simply called 'residual prediction') is a prediction method in which the existing inter prediction in a single layer is extended to a multilayer form. According to the residual prediction method of FIG. 3, a difference generated by the current layer inter prediction process is not directly quantized, a difference generated by the current layer and a difference generated by a lower layer inter prediction process are subtracted from each other again, and a result obtained by the subtraction is quantized.
[13] In consideration of various video sequence characteristics, the most efficient of the above-described four prediction methods is used for respective macroblocks forming a picture. For example, the inter prediction and the residual prediction may be chiefly used for a video sequence in which motion is slow. In contrast, the intra-base prediction may be chiefly used for a video sequence in which motion is fast.
[14] The video codec having the multi-layer structure has a relatively complicated prediction structure compared to a video codec having a single-layer structure and chiefly employs an open-loop structure, so that a lot of block artifacts appear in contrast to the codec having the single-layer structure. Particularly, the above- described residual prediction uses the residual signals of the lower layer picture, so that excessive distortion may occur in the case where the characteristics of the residual signals are greatly different from those of the inter prediction signals of the current layer picture.
[15] In contrast, when the intra-base prediction is performed, prediction signals for the macroblock of the current picture, that is, the macroblock of the base picture, are not original signals, and are restored signals after quanization. Accordingly, the prediction signals are signals that can be obtained in common by both an encoder and a decoder, so that encoder-decoder mismatch does not occur. In particular, a difference with the macroblock of the current picture is obtained using a smoothing filter for the prediction signals, so that block artifacts are considerably reduced. Disclosure of Invention
Technical Problem
[16] However, according to a low-complexity decoding condition that has been adopted as in the working draft of the current H.264 SE, the use of the intra-base prediction is limited. That is, H.264 SE allows intra-base prediction to be used in the case where a specific condition is satisfied, so that only decoding can be performed in a manner similar to that in a video codec having a single-layer structure, although encoding is performed in a multi-layer form.
[17] According to the low-complexity decoding condition, the intra-base prediction is used only in the case where the type of the macroblock of the lower layer, corresponding to the arbitrary macroblock of the current layer, is an intra prediction mode or an intra-base prediction mode. This is to reduce the amount of operation depending on a motion compensation process that occupies the largest amount of operation in a decoding process. In contrast, a problem occurs in that performance for images in which motion is fast is lowered because the intra-base prediction is limitedly used.
[18] Accordingly, in the case where the inter prediction or the residual prediction is used according to the low-complexity condition or other conditions, technology capable of reducing various distortions, such as encoder-decoder mismatch and block artifacts, is necessary.
Technical Solution
[19] Accordingly, as aspect of the present invention relates to improving coding performance when inter prediction or residual prediction is performed in a multilayer- based video codec.
[20] The present invention provides a multilayer-based video encoding method, including the steps of (a) calculating a difference between an inter prediction block for the block of a lower layer picture, which corresponds to an arbitrary block of a current picture, and the block of the lower layer picture; (b) adding the calculated difference to an inter prediction block for the block of the current picture; (c) smoothing a block, which is generated by the adding, using a smoothing filter; and (d) encoding a difference between the block of the current picture and a block generated by the smoothing.
[21] In addition, the present invention provides a multilayer-based video encoding method, including the steps of (a) generating an inter prediction block for an arbitrary block of a current picture; (b) smoothing the generated inter prediction block using a smoothing filter; (c) calculating a difference between the block of the current picture and a block generated by the smoothing; and (d) encoding a difference.
[22] In order to accomplish the above, the present invention provides a multilayer-based video decoding method, comprising the steps of (a) restoring the residual signals of an arbitrary block of a current picture, which is contained in an input bitstream, based on texture data for the block of the current picture; (b) restoring the residual signals of the block of a lower layer picture, which is contained in the bitstream and corresponds to the block of the current picture; (c) adding the residual signals, which are restored at step (b), to an inter prediction block for the current picture; (d) smoothing a block, which is generated by the adding, using a smoothing filter; and (e) adding the residual signals, which are restored at step (a), to a block generated by the smoothing.
[23] The present invention also provides a multilayer-based video encoder, including a means for generating an inter prediction block for an arbitrary block of a current picture; a means for smoothing the generated inter prediction block using a smoothing filter; a means for calculating a difference between the block of the current picture and a block generated by the smoothing; and a means for encoding a difference.
[24] The present invention further provides a multilayer-based video encoder, including a means for restoring the residual signals of an arbitrary block of a current picture, which is contained in an input bitstream, based on texture data for the block of the current picture; a means for restoring the residual signals of the block of a lower layer picture, which is contained in the bitstream and corresponds to the block of the current picture; a means for adding the residual signals, which are restored at step (b), to an inter prediction block for the current picture; a means for smoothing a block generated by the adding using a smoothing filter; and a means for adding the residual signals, which are restored at step (a), to a block generated by the smoothing.
Description of Drawings
[25] The above aspects of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
[26] FlG. 1 is a diagram illustrating a related method;
[27] FlG. 2 is a diagram illustrating a related intra-base prediction method;
[28] FlG. 3 is a diagram illustrating a related residual prediction method;
[29] FlG. 4 is a diagram illustrating a smoothing prediction method according to an exemplary embodiment of the present invention;
[30] FlG. 5 is a diagram showing an example of applying a smoothing filter to the vertical boundary of a sub-block having a size of 4 x 4 pixels;
[31] FlG. 6 is a diagram showing an example of applying a smoothing filter to the lateral boundary of a sub-block having a size of 4 x 4 pixels;
[32] FlG. 7 is a block diagram showing the construction of a video encoder according to an exemplary embodiment of the present invention;
[33] FlG. 8 a block diagram showing the construction of a video decoder according to an exemplary embodiment of the present invention; and
[34] FlG. 9 is a diagram showing the construction of a system for implementing the video encoder of FlG. 7 and the video decoder of FIG. 8. Mode for Invention
[35] Aspects of the present invention, and a method of achieving them, will be apparent with reference to exemplary embodiments described in detail later in conjunction with accompanying drawings. However, the present invention is not limited to the exemplary embodiments disclosed below, but may be implemented in various ways. Furthermore, the exemplary embodiments are provided to complete the disclosure of the present invention, and to fully notify those skilled in the art of the scope of the present invention. The present invention is defined only by the appended claims. The same reference numerals are used throughout the different drawings to designate the same or similar components.
[36] Assuming that the block of a current picture is O , a prediction block obtained by performing inter prediction on the current picture is P , the block of a base picture corresponding to the block of the current picture is O , and a prediction block obtained by performing inter prediction on the base picture is P , residual signals R , which are
B B contained in the block O , are obtained by subtracting the prediction block P from the block O .
B
[37] In this case, the blocks O , P , and R are values restored after already being
B B B quantized, and the blocks O and P imply original signals in the case of an open-loop method, and values restored after already being quantized in the case of a closed-loop method. In this case, assuming that a value desired to be coded in the current picture is R , residual prediction can be expressed by the following Equation 1 :
Rr = O1, - PF ~ RR (1)
[38] Meanwhile, intra-base prediction can be expressed by the following Equation 2:
RF = oF - oB (2)
[39] When Equations 1 and 2 are compared to each other, they seem not to have a common point at first glance. However, when the equations are expressed by the following Equations 3 and 4, respectively, the similarity there between can be found.
R∑ = OF _ (pF + RB ) (3)
R, = 0F - [U] B[P, + RB) (4)
[40] In Equation 4, the symbol U indicates an up-sampling function, and the symbol B indicates a deblock function. Since the up-sampling function is used in the case where the resolution of the current layer and the resolution of the lower layer are different from each other, the up-sampling function is expressed by the symbol [U] in the sense that it can be selectively used.
[41] Upon comparing Equations 3 and 4, R is common in both Equations, and the most
B significant difference is that the inter prediction block P of the current layer is used in Equation 3, and the inter prediction block P of the lower layer is used in Equation 4.
B Furthermore, in the intra-base prediction, when the deblock function and the up- sampling function are used, the image of a restored picture is smoothened, so that block artifacts decrease.
[42] In Equation 3, the residual signals R of the base picture, which is obtained using P
, is added to the block P obtained by performing inter prediction on the current
B F picture and, therefore, mismatch between layers or block artifacts can occur. Although the problems may be alleviated if intra-base prediction is used, intra-base prediction cannot be used in the case where the efficiency of the intra-base prediction is not high in contrast to the residual prediction. Furthermore, in the case where a low-complexity decoding condition is used, blocks for which the intra-base prediction is not used increase even in the situation in which the intra-base prediction is efficient, so that performance is remarkably deteriorated. Accordingly, a method of reducing block artifacts while applying the residual prediction to the case must be considered. [43] In the present invention, a smoothing function F is additionally assigned to
Equation 3 and, therefore, the existing residual prediction can be complemented. In accordance with the present invention, the data R of a current block to be quantized is expressed by the following Equation 5: R, = OF - F(PF + R1, ) (5)
[44] A prediction mode based on Equation 5 may be applied to the inter prediction without change. That is, the prediction mode can be regarded as the case where the R B is 0 in the inter prediction, R can be expressed by the following Equation 6:
RF = 0F - F(Pt ) (6)
[45] From Equations 5 and 6 described above, a method of employing the smoothing filter when the existing residual prediction or inter prediction is performed is defined as the term 'smoothing prediction'. A process of performing the smoothing prediction is described in more detail with reference to FIG. 4. In FIG. 4, a process of encoding an arbitrary block of the current picture 20 (hereinafter referred to as a 'current block') is exemplified. The block 10 in the base picture, which corresponds to the current block 20, is named 'base block.'
[46] First, at step Sl, the inter prediction block 13 for the base block 10 is generated using the base block 10, and blocks 11 and 12 in the neighboring reference pictures (forward reference picture and backward reference picture) of the lower layer, which correspond to the base block 10 based on motion vectors. Thereafter, a difference (corresponding to R in Equation 5) between the base block 10 and the prediction
B block 13 is calculated at step S2. Meanwhile, at step S3, an inter prediction block 23 (corresponding to P in Equation 5) for the current block 20 is generated using the current block 20, and blocks 21 and 22 in the neighboring reference pictures of the current layer, which correspond to the current block 20 based on motion vectors. Step S3 may be performed prior to steps Sl and S2. Generally, the term 'inter prediction block' refers to a prediction block for the block that is acquired from an image (or images) on a reference picture corresponding to an arbitrary block within a picture desired to be encoded picture. The correspondence relationship between the block and the image is indicated by a motion vector. Generally, the inter prediction block refers to an corresponding image itself in the case of a single reference picture, and refers to the weighted sum of corresponding images in the case of a plurality of reference pictures.
[47] Thereafter, the prediction block 23 and a difference obtained at step S2 are added at step S4. A block (corresponding to P +R in Equation 5) generated as the result of
F B the adding, is smoothened using a smoothing filter at step S5. Finally, a difference between the current block 20 and a block (corresponding to F(P +R ) in Equation 5)
F B generated as the result of the smoothing is calculated at step S6, and then a difference is quantized at step S7.
[48] FIG. 4 illustrates a smoothing prediction process based on the residual prediction.
If a smoothing prediction process based on the inter prediction is far more simplified than this process, all steps Sl, S2 and S4 described in conjunction with FIG. 4 may be omitted because R , related to calculation on the lower layer, is omitted from Equation
B
5. Accordingly, the inter prediction block 23, generated based on the current layer, is smoothened using the smoothing filter, and then a difference between the current block 20 and a block (corresponding to F(P ) in Equation 6) generated by the smoothing is quantized.
[49] Meanwhile, different types of smoothing filters actually applied to the smoothing prediction may be used. First, a smoothing function based on Equation 4 can be considered. The smoothing function (F) may be formed of only the deblock function (B) in the simplest manner, or includes the deblock function (B) and functions (U-D).
[50] When the resolution of the current layer and the resolution of the lower layer are different from each other, functions (U-D-B) may be applied, that is, the deblock function (B) is applied, and then the down-sampling function (D) and the up-sampling function (U) are subsequently applied. In contrast, when the resolutions of the layers are the same, the deblock function (B) is simply applied. In sum, Equation 7 is as follows: when the resolutions of the layers are differnt : F = U D B (?) when the resolutions of the layers are the same : F = B
[51] Since F is a function applied to the resolution of the current layer, the down- sampling function (D) is applied prior to the application of the up-sampling function (U). By doing so, even in the inter prediction or the residual prediction, block artifacts can be effectively eliminated as in the intra-base prediction.
[52] Meanwhile, since each of the deblock function (D) and the up-sampling function
(U) chiefly performs a smoothing task, the tasks overlap each other. Furthermore, the deblock function, the up-sampling function, and the down-sampling function require the considerable amount of operations at the time of application, and the down- sampling function assumes a role of very strong low-pass filtering, so that the details of an image obtained when prediction is performed can be deteriorated.
[53] Accordingly, the smoothing filter (F) allows boundary pixels and their neighboring pixels to be represented in a linear coupling form so that the process of applying the smoothing filter is performed by a small amount of operations.
[54] FIGS. 5 and 6 are diagrams illustrating the application examples of the smoothing filter, and show examples of applying the smoothing filter to the vertical boundary and lateral boundary of sub-blocks, each having a 4x4 size. In FIGS. 5 and 6, boundary pixels x(n-l) and x(n) can be smoothened in a form in which the boundary pixels and their neighboring pixels are linearly coupled. If results, obtained when the smoothing filter is used for the pixels x(n-l) and x(n), are represented by x'(n-l) and x'(n), x'(n-l) and x'(n) can be expressed by the following Equation 8: x'(n-l ) = α*x(n-2) + β*x(n-l ) + γ*x(n)
x'(n) = γ*x(n-l) + β*x(n) + α*x(n+l) (8) where α*, β*, and γ* can be appropriately selected such that the sum thereof is 1. For example, when α*=l/4, β*=l/2, and γ*=l/4 in Equation 8, the weighted value of a corresponding pixel can increase in contrast to neighboring pixels. In Equation 8, a further host of pixels may be selected to be neighboring pixels.
[55] When such a simple type of smoothing filter (F) is used, the amount of operations are greatly reduced, and an image detail deterioration phenomenon, which is generated when down-sampling is performed, can be prevented to some extent.
[56] The smoothing prediction method described above may be selectively used along with the four existing prediction methods. The reason that the smoothing prediction method is selectively used is because the smoothing prediction method exerts an effect when it is used for an image for which the characteristics of the blocks P F and R B do not match each other well, while the deterioration of performance may result when the smoothing prediction method is used for an image for which the characteristics of the blocks P and R match each other.
F B
[57] Accordingly, flags are respectively provided for macroblocks, and the encoder is allowed to selectively use the smoothing prediction method and the existing prediction methods based on the values of the flags. The decoder reads the flags, thus determining whether the smoothing prediction has been used. Generally, the number of blocks from which artifacts occur is not too many in contrast to overall blocks, so that it is expected that a image quality improvement effect, which can be acquired by eliminating the block artifacts, is greater than that acquired from overhead bits that occur due to the adding of the flags. [58] FlG. 7 is a block diagram showing the construction of a video encoder 100 according to an exemplary embodiment of the present invention. In the descriptions of the Equations 1 to 8, the descriptions are made based on blocks (macroblocks or sub- blocks) constituting a picture. However, in the following description, a description is made in the point of view of a picture including the blocks. For the unification of expressions, a block identifier is represented using a subscript of character 'F' that indicates a picture. For example, a picture, including a block R , is represented by F
B RB.
[59] An operational process performed by the video encoder 100 may be classified into four steps. The operational process includes the first step of calculating a difference between an inter prediction block for the block of a lower layer picture, which corresponds to an arbitrary block of a current picture, and the block of the lower layer picture the second step of adding the calculated difference to an inter prediction block for the block of the current picture, the third step of smoothing a block, which is generated by the adding, using a smoothing filter, and the fourth step of encoding a difference between the block of the current picture and a block generated by the smoothing.
[60] First, the first step is described. A current picture F is input to a motion estimation unit 105, a buffer 101, a subtractor 115, and a down-sampler 103.
[61] The down-sampler 103 performs spatial and/or temporal down-sampling on the current picture F and generates a lower layer picture F .
[62] A motion estimation unit 205 performs motion estimation on the lower layer picture F with reference to neighboring pictures F , thus obtaining motion vectors
OB OB"
MV . The above-described neighboring pictures are called 'reference pictures.'
B
Generally, a block matching algorithm is widely used to performs motion estimation. That is, a displacement, obtained when an error is minimized while moving a given block within the specific search area of a reference picture on a pixel basis or a sub- pixel (2/2 pixel, 1/4 pixel, etc.) basis, is estimated as a motion vector. A fixed-size block matching method may be used to perform motion estimation, and a hierarchical method based on a Hierarchical Variable Size Block Matching (HVSBM), such as H.264, may also be used.
[63] If the video encoder 100 is formed in the form of an open loop codec, the original neighboring picture F OB" stored in a buffer 201 is used as a reference picture without change. In contrast, if the video encoder 100 is formed in the form of a closed loop codec, a decoded picture after encoding (not shown) is used as a reference picture. In the present specification, a description is made based on the open loop codec, but is not limited thereto.
[64] The motion vectors MV obtained by the motion estimation unit 205 are provided to a motion compensation unit 210. The motion compensation unit 210 compensates for the motion of the reference picture FOB' using the motion vectors MV and
B, generates a prediction picture F for the current picture. When a bi-directional reference is used, the prediction picture may be obtained by calculating the average of a motion-compensated reference picture. In contrast, when a unidirectional reference is used, the prediction picture may be the same as the motion-compensated reference picture. The prediction picture F is composed of a plurality of inter prediction blocks
PB
P B .
[65] Meanwhile, a subtractor 215 calculates a difference between the lower layer picture
F and the prediction picture F , and generates a residual picture F . From a point of view of a block basis, such a difference calculation process may be referred to as a process of calculating a difference between a block O B , which is contained in the lower layer picture F , and a residual block R , which is contained in the prediction picture F . The prediction picture F is provided to an adder 135. If the resolutions of layers are different to each other, the prediction picture FPB is up-sampled to the resolution of a current layer by an up-sampler 140 and is then provided to the adder 135.
[66] Thereafter, the second step is described. The current picture F is input to the motion estimation unit 105, the buffer 101, and the subtractor 115. The motion estimation unit 105 performs motion estimation on the current picture with reference to a neighboring picture reference, thus obtaining motion vectors MV . Since the process of performing motion estimation is the same as that occurring in the motion estimation unit 205, a repeated description is omitted.
[67] The motion vectors MV obtained by the motion estimation unit 105 are provided to a motion compensation unit 110. The motion compensation unit 110 compensates for the motion of a reference picture F using the motion vectors MV , and generates a prediction picture F for the current picture.
[68] Thereafter, an adder 135 adds the prediction picture F and the residual picture FR provided from the lower layer. From a point of view of a block basis, the addition
B process may be referred to as a process of adding an inter prediction block P , which is contained in the prediction picture F , and the residual block R , which is contained in the residual picture F .
RB
[69] Thereafter, the third step is described. A smoothing filter unit 130 smoothes the output F +F of the adder 135 using a smoothing filter.
PF RB [70] A smoothing function for the smoothing filter may be implemented in various forms. For example, as described in Equation 7, when the resolutions of layers are the same, a deblock function may be used without change as the smoothing function for the smoothing filter. In contrast, when the resolutions of layers are different, a combination of a deblock function, a down-sampling function and an up-sampling function may be used as the smoothing function.
[71] Furthermore, the smoothing function may have a form in which the boundary pixels of the smoothened block and their neighboring pixels are linearly coupled, as described in Equation 8. In particular, the neighboring pixels, as shown in FIGS. 5 and 6, are pixels that neighbor the boundary pixels, a weighted value of each of the boundary pixels may be defined as 1/2, and a weighted value of each of the neighboring pixels may be defined as 1/4.
[72] Finally, the fourth step is described. The subtractor 115 generates a difference F
RF between the current picture F and a picture generated by the smoothing. From a point of view of a block basis, the process of generating a difference may be referred to as a process of performing subtraction on the block O , which is contained in the current picture F , and a block (F(P +R ) of Equation 5, which is generated by the smoothing.
OF F B
[73] The transform unit 120 performs spatial transform on the deferential picture F , and generates transform coefficients F . The spatial transform method may employ Discrete Cosine Transform (DCT), wavelet transform or the like. The transform coefficients may be DCT coefficients in the case where the DCT is used, and the transform coefficients may be wavelet coefficients in the case where the wavelet transform is used.
[74] The quantization unit 125 quantizes the transform coefficients. The quantization refers to a process of converting the transform coefficients, which are expressed by arbitrary real number values, into discrete values. For example, the quantization unit 125 performs quantization in such a manner as to divide the transform coefficients, which are expressed by arbitrary real number values by a predetermined quantization step, and then round off the divided results to integer values.
[75] Meanwhile, the residual picture F of the lower layer is converted into quantization coefficients F Q via a transform unit 220 and a quantization unit 225.
[76] The entropy encoding unit 150 encodes the motion vectors MV estimated by the motion estimation unit 105, the motion vectors MV estimated by the motion
B estimation unit 205, quantization coefficients F provided by the quantization unit
RF
125, and the quantization coefficients F provided by the quantization unit 225
RB without loss, and generates a bitstream. Such a lossless encoding method may employ Huffman coding, arithmetic coding, variable length coding, and various other methods. [77] The bitstream may further include a flag for indicating whether the quantization co- efficients F Q have been encoded by the smoothing prediction proposed by the present invention, that is, whether the quantization coefficients F Q have been
RF encoded through steps 1 to 4.
[78] Until now, a process of actually implementing the numerical formula of Equation 5 has been described in conjunction with FIG. 7. The present invention is not limited to this, and may be implemented based on the numerical formula of Equation 6 in consideration of the case where R is set to '0' in Equation 5, that is, the characteristics of a single layer. This is a method that can be applied to the single layer, and may be implemented in such a manner that the operational process of the lower layer is omitted in FIG. 7, and the prediction picture F , which is output from the motion compensation unit 110, is directly input to the smoothing filter 130 without passing through the adder 135. Accordingly, a separate drawing is not provided.
[79] A video encoding method according to the above-described exemplary embodiment may include the steps of generating an inter prediction block for an arbitrary block of a current picture, smoothing the generated inter prediction block using a smoothing filter, calculating a difference between the block of the current picture and a block generated by the smoothing, and encoding a difference.
[80] FIG. 8 is a block diagram showing the construction of a video decoder 300 according to an exemplary embodiment of the present invention.
[81] An operational process, which is performed by the video encoder 100, can be divided into five steps. The operational process includes the first step of restoring residual signals of the arbitrary block of the current picture, which is contained in an input bitstream, based on texture data for the block of the current picture, the second step of restoring the residual signals of the block of the lower layer picture, which is contained in the bitstream and corresponds to the block of the current block, the third step of adding the residual signals, which are restored at the second step, to an inter prediction block for the current picture, the fourth step of smoothing a block, which is generated by the adding, using a smoothing filter, and the fifth step of adding the residual signals, which are restored at the first step, to a block generated by the smoothing.
[82] First, the first step is described below. An entropy decoding unit 305 decodes an input bitstream without loss, the texture data F Q of the current picture, the texture
RF data F of the lower layer picture (a picture having a temporal location identical to
RB the current picture), the motion vectors MV of the current picture, and the motion vectors MV of the lower layer picture. The lossless decoding is a process that is
B performed in a reverse order to that of the lossless encoding process of the encoder. [83] In this case, the following operational steps may be performed in the case where the flag of the video encoder 100 is contained in the bitstream, and the flag indicates that encoding has been performed using the smoothing prediction proposed in the present invention.
[84] The texture data F Q of the current picture is provided to a dequantization unit
310, and the texture data F Q of the lower layer picture is provided to a de-
RB quantization unit 410. The motion vectors MV of the current picture are provided to a motion compensation unit 350, and the motion vectors MV of the lower layer picture
B are provided to a motion compensation 450.
[85] The dequantization unit 310 dequantizes the provided texture data F Q of the current picture. The dequantization process is a process of restoring a value matching from an index, which is generated by a quantization process, using a quantization table that is used in the quantization process.
[86] An inverse transform unit 320 performs dequantization on the results of the de- quantization. The inverse transform process is performed in a reverse order to that of the transform process of the encoder and, specifically, may employ inverse DCT, inverse wavelet transform or the like.
[87] As the result of the inverse transform, a residual picture F with respect to the current picture is restored. The residual picture F RF is composed of a plurality of residual signals R , that is, a plurality of residual blocks.
[88] Meanwhile, the second step is described below. A dequantization unit 410 de- quantizes the provided texture data F Q of the lower layer picture, and an inverse
RB transform unit 420 performs inverse transform on the results of the dequantization. As the result of the transform, a residual picture F with respect to the lower layer picture
RB is restored. The residual picture F is composed of a plurality of residual signals R . [89] The restored residual picture F is provided to an adder 360. In this case, when the
RB resolutions of layers are different from each other, the residual picture FRB is up- sampled to the resolution of the current layer by an up-sampler 380 and is then provided to the adder 360.
[90] Thereafter, the third step is described below.
[91] The motion compensation unit 350 performs motion compensation on a reference picture F provided from a buffer 340 using the motion vectors MV , thus generating an inter prediction picture F . The reference picture F refers to the neighboring picture of the current picture, which was previously restored and then stored to the buffer 340.
[92] The adder 360 adds the prediction picture FPF to the residual picture F RB provided from the lower layer. From a view of point of a block basis, the addition process may be referred to as a process of adding an inter prediction block P , which is contained in the prediction picture F , and the residual block R , which is contained in the residual p ^icture F RB . [93] Thereafter, the fourth step is described below. A smoothing filter 370 smoothes the output F +F of the adder 360 using a smoothing filter.
[94] A smoothing function for the smoothing filter may be implemented in various forms. For example, as described in Equation 7, when the resolutions of layers are the same, a deblock function may be used without change as the smoothing function for the smoothing filter. In contrast, when the resolutions of layers are different, a combination of a deblock function, a down-sampling function and an up-sampling function may be used as the smoothing function.
[95] Furthermore, the smoothing function may have a form in which the boundary pixels of the smoothened block and their neighboring pixels are linearly coupled, as described in Equation 8. In particular, the neighboring pixels, as shown in FIGS. 5 and 6, are pixels that neighbor the boundary pixels, a weighted value of each of the boundary pixels may be defined as 1/2, and a weighted value of each of the neighboring pixels may be defined as 1/4.
[96] Finally, the fifth step is described below. An adder 330 adds the residual picture
FRF provided from the inverse transform unit 320 to a picture generated by the smoothing. From a point of view of a block basis, the addition process may be referred to as a process of adding a block (F(P +R ) of Equation 5) generated by the smoothing
F B to a block R contained in the residual picture F . As the result of the addition of the
F r RF adder 330, the current picture F is finally restored.
[97] Until now, in the descriptions of FIGS. 7 and 8, an example of coding a video frame that is formed of two layers has been described. However, the present invention is not limited to this, and may be applied to the coding of a video frame having a three or more layer structure.
[98] In addition, in the descriptions of FIGS. 7 and 8, the video encoder 100 sends MV
(motion vectors of the current layer) and MV (motion vectors of the lower layer) to the video decoder 300. However, it is possible that the video encoder 100 only sends MV and the video decoder 300 uses the MV as motion vectors of the current layer.
B B ^
[99] FIG. 9 is a diagram showing the construction of a system for implementing the video encoder 100 or the video decoder 300. The system may include a TV, set-top box, a desktop computer, a laptop computer, a palmtop computer, a Personal Digital Assistant (PDA), or a video or image storage device (for example, a Video Cassette Recorder (VCR), or a Digital Video Recorder (DVR)). Furthermore, the system may be formed of a combination of the above-described devices, or be formed such that one or more devices described above are contained in another device as part thereof. The system may include at least one video source 910, one or more input/output devices 920, a processor 940, memory 950, and a display device 930.
[100] The video source 910 may be a Television (TV) receiver, or a VCR or another video storage device. Furthermore, the source 910 may be one or more network connections for receiving video from a server using Internet, a Wide Area Network (WAN), a Local Area Network (LAN), a terrestrial broadcast system, a cable network, a satellite communication network, a wireless network, or a telephone network. Furthermore, the source may be formed of a combination of the above-described networks, or be formed such that one or more networks described-above are contained in another network as part thereof.
[101] The input/output device 920, the processor 940, and the memory 950 perform communication through a communication medium 960. The communication medium 960 may be a communication bus, a communication network, or one or more internal connection circuits. Input video data received from the source 910 may be processed by the processor 940 based on one or more software programs stored in the memory 950, and may be processed by the processor 940 for the generation of output video provided to the display device 930.
[102] In particular, the software programs stored in the memory 950 may include a scalable video codec for performing the methods according to the present invention. The encoder or the codec may be stored in the memory 950, or may be read from a storage medium, such as Compact Disc (CD)-Read Only Memory (ROM) or a floppy disc or downloaded from a predetermined server through various networks. The encoder or the codec may be replaced with software programs or hardware circuits, or may be replaced with a combination of the software programs and the hardware circuits.
Industrial Applicability
[103] The present invention can improve the performance of a codec using residual prediction or inter prediction.
[104] In particular, the present invention can improve a codec using intra-base prediction depending on a low-complicated decoding condition.
[ 105] Although the exemplary embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

Claims

Claims
[1] A multilayer-based video encoding method, comprising:
(a) calculating a difference between an inter prediction block for a block of a lower layer picture, which corresponds to an arbitrary block of a current picture, and a block of the lower layer picture;
(b) adding the calculated difference to an inter prediction block for the block of the current picture;
(c) smoothing a block, which is generated by the adding, using a smoothing filter; and
(d) encoding a difference between the block of the current picture and a block generated by the smoothing.
[2] The multilayer-based video encoding method as set forth in claim 1, wherein the inter prediction block for the block of the lower layer picture and the inter prediction block for the block of the current picture are generated through a motion estimation process and a motion compensation process.
[3] The multilayer-based video encoding method as set forth in claim 1, wherein, when a resolution of the current picture and a resolution of the lower layer picture are identical, a smoothing function for the smoothing filter is a deblock function.
[4] The multilayer-based video encoding method as set forth in claim 1, wherein, when a resolution of the current picture and a resolution of the lower layer picture are not identical, a smoothing function for the smoothing filter is a combination of a deblock function, a down-sampling function, and an up- sampling function.
[5] The multilayer-based video encoding method as set forth in claim 1, wherein a smoothing function for the smoothing filter is represented in a form in which boundary pixels of the smoothened block and neighboring pixels of the boundary pixels are linearly coupled.
[6] The multilayer-based video encoding method as set forth in claim 5, wherein a weighted value of each of the boundary pixels is 1/2, and a weighted value of each of the neighboring pixels is 1/4.
[7] The multilayer-based video encoding method as set forth in claim 1, further comprising generating a bitstream including a flag, which indicates whether the encoded difference has been encoded through the operations (a) to (d), and the encoded difference.
[8] The multilayer-based video encoding method as set forth in claim 1, wherein the operation (d) comprises: generating transform coefficients by performing spatial transform on a difference; generating quantized coefficients by quantizing the transform coefficients; and encoding the quantized coefficients without loss.
[9] A multilayer-based video encoding method, comprising:
(a) generating an inter prediction block for a block of a current picture;
(b) smoothing the generated inter prediction block using a smoothing filter;
(c) calculating a difference between the block of the current picture and a block generated by the smoothing; and
(d) encoding the difference.
[10] The multilayer-based video encoding method as set forth in claim 9, wherein the inter prediction block is generated through a motion estimation process and a motion compensation process.
[11] The multilayer-based video encoding method as set forth in claim 9, wherein a smoothing function for the smoothing filter is represented in a form in which boundary pixels of the smoothened block and neighboring pixels of the boundary pixels are linearly coupled.
[12] The multilayer-based video encoding method as set forth in claim 11, wherein a weighted value of each of the boundary pixels is 1/2, and a weighted value of each of the neighboring pixels is 1/4.
[13] The multilayer-based video encoding method as set forth in claim 9, further comprising generating a bitstream including a flag, which indicates whether the encoded difference has been encoded through the operation (a) to (d), and the encoded difference.
[14] A multilayer-based video decoding method, comprising:
(a) restoring residual signals of a block of a current picture, which is contained in an input bitstream, based on texture data for the block of the current picture;
(b) restoring residual signals of a block of a lower layer picture, which is contained in the input bitstream and corresponds to the block of the current picture;
(c) adding the restored residual signals of the block of the lower layer picture, which are restored at operation (b), to an inter prediction block for the current picture;
(d) smoothing a block, which is generated by the adding, using a smoothing filter; and
(e) adding the restored residual signals of the block of the current picture, which are restored at operation (a), to a block generated by the smoothing.
[15] The multilayer-based video decoding method as set forth in claim 14, wherein, when a resolution of the current picture and a resolution of the lower layer picture are identical, a smoothing function for the smoothing filter is a deblock function.
[16] The multilayer-based video decoding method as set forth in claim 14, wherein, when a resolution of the current picture and a resolution of the lower layer picture are not identical, a smoothing function for the smoothing filter is a combination of a deblock function, a down-sampling function, and an up- sampling function.
[17] The multilayer-based video decoding method as set forth in claim 14, wherein a smoothing function for the smoothing filter is represented in a form in which boundary pixels of the smoothened block and neighboring pixels of the boundary pixels are linearly coupled.
[18] The multilayer-based video decoding method as set forth in claim 17, wherein a weighted value of each of the boundary pixels is 1/2, and a weighted value of each of the neighboring pixels is 1/4.
[19] The multilayer-based video decoding method as set forth in claim 14, further comprising interpreting a flag indicating whether the block of the current picture has been encoded using smoothing prediction, wherein the operations (c) to (e) are performed according to a value of the flag.
[20] The multilayer-based video decoding method as set forth in claim 14, wherein the operation (a) comprises performing a first inverse spatial transform on texture data for the block of the current picture, and dequantizing results obtained from the first inverse spatial transform; wherein the operation (b) comprises performing a second inverse spatial transform on texture data for the block of the lower layer picture, and de- quantizing results obtained from the second inverse spatial transform.
[21] A multilayer-based video encoder, comprising; a calculator which calculates a difference between an inter prediction block for a block of a lower layer picture, which corresponds to a block of a current picture, and the block of the lower layer picture; an adder which adds the calculated difference to an inter prediction block for the block of the current picture; a smoother which smoothes a block generated by the adder using a smoothing filter; and an encoder which encodes a difference between the block of the current picture and a block generated by the smoother.
[22] A multilayer-based video encoder, comprising; a generator which generates an inter prediction block for a block of a current picture; a smoother which smoothes the generated inter prediction block using a smoothing filter; a calculator which calculates a difference between the block of the current picture and a block generated by the smoother; and an encoder which encodes the difference. [23] A multilayer-based video decoder, comprising; a first restorer which restores residual signals of a block of a current picture, which is contained in an input bitstream, based on texture data for the block of the current picture; a second restorer which restores residual signals of a block of a lower layer picture, which is contained in the input bitstream and corresponds to the block of the current picture; a first adder which adds the restored residual signals of the block of the lower layer picture to an inter prediction block for the current picture; a smoother which smoothes a block generated by the first adder using a smoothing filter; and a second adder which adds the restored residual signals of the block of the current picture to a block generated by the smoother.
EP06768807A 2005-06-10 2006-06-09 Multilayer-based video encoding method, decoding method, video encoder, and video decoder using smoothing prediction Withdrawn EP1889487A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US68908705P 2005-06-10 2005-06-10
KR1020050073835A KR100703788B1 (en) 2005-06-10 2005-08-11 Video encoding method, video decoding method, video encoder, and video decoder, which use smoothing prediction
PCT/KR2006/002205 WO2006132509A1 (en) 2005-06-10 2006-06-09 Multilayer-based video encoding method, decoding method, video encoder, and video decoder using smoothing prediction

Publications (1)

Publication Number Publication Date
EP1889487A1 true EP1889487A1 (en) 2008-02-20

Family

ID=37498674

Family Applications (1)

Application Number Title Priority Date Filing Date
EP06768807A Withdrawn EP1889487A1 (en) 2005-06-10 2006-06-09 Multilayer-based video encoding method, decoding method, video encoder, and video decoder using smoothing prediction

Country Status (2)

Country Link
EP (1) EP1889487A1 (en)
WO (1) WO2006132509A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070038396A (en) 2005-10-05 2007-04-10 엘지전자 주식회사 Method for encoding and decoding video signal
KR100891662B1 (en) * 2005-10-05 2009-04-02 엘지전자 주식회사 Method for decoding and encoding a video signal
KR101365575B1 (en) * 2007-02-05 2014-02-25 삼성전자주식회사 Method and apparatus for encoding and decoding based on inter prediction
US20130329806A1 (en) * 2012-06-08 2013-12-12 Qualcomm Incorporated Bi-layer texture prediction for video coding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO2006132509A1 *

Also Published As

Publication number Publication date
WO2006132509A1 (en) 2006-12-14

Similar Documents

Publication Publication Date Title
US20060280372A1 (en) Multilayer-based video encoding method, decoding method, video encoder, and video decoder using smoothing prediction
KR101033548B1 (en) Video encoding method, video decoding method, video encoder, and video decoder, which use smoothing prediction
KR100714696B1 (en) Method and apparatus for coding video using weighted prediction based on multi-layer
JP4922391B2 (en) Multi-layer video encoding method and apparatus
KR100763194B1 (en) Intra base prediction method satisfying single loop decoding condition, video coding method and apparatus using the prediction method
KR100703760B1 (en) Video encoding/decoding method using motion prediction between temporal levels and apparatus thereof
KR100703778B1 (en) Method and apparatus for coding video supporting fast FGS
KR100746011B1 (en) Method for enhancing performance of residual prediction, video encoder, and video decoder using it
KR100763182B1 (en) Method and apparatus for coding video using weighted prediction based on multi-layer
US8085847B2 (en) Method for compressing/decompressing motion vectors of unsynchronized picture and apparatus using the same
US20060120448A1 (en) Method and apparatus for encoding/decoding multi-layer video using DCT upsampling
KR20060135992A (en) Method and apparatus for coding video using weighted prediction based on multi-layer
JP2008503981A (en) Scalable video coding using grid motion estimation / compensation
JP2006304307A5 (en)
US20060165303A1 (en) Video coding method and apparatus for efficiently predicting unsynchronized frame
US20060250520A1 (en) Video coding method and apparatus for reducing mismatch between encoder and decoder
JP2005160084A (en) Apparatus and method for processing video for implementing snr (signal to noise ratio) scalability
JP2008539646A (en) Video coding method and apparatus for providing high-speed FGS
EP1878252A1 (en) Method and apparatus for encoding/decoding multi-layer video using weighted prediction
EP1889487A1 (en) Multilayer-based video encoding method, decoding method, video encoder, and video decoder using smoothing prediction
WO2006104357A1 (en) Method for compressing/decompressing motion vectors of unsynchronized picture and apparatus using the same
WO2006109989A1 (en) Video coding method and apparatus for reducing mismatch between encoder and decoder
WO2006098586A1 (en) Video encoding/decoding method and apparatus using motion prediction between temporal levels

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20071119

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI SK TR

DAX Request for extension of the european patent (deleted)
DAX Request for extension of the european patent (deleted)
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20100105