WO2006104364A1 - Method for scalably encoding and decoding video signal - Google Patents

Method for scalably encoding and decoding video signal Download PDF

Info

Publication number
WO2006104364A1
WO2006104364A1 PCT/KR2006/001197 KR2006001197W WO2006104364A1 WO 2006104364 A1 WO2006104364 A1 WO 2006104364A1 KR 2006001197 W KR2006001197 W KR 2006001197W WO 2006104364 A1 WO2006104364 A1 WO 2006104364A1
Authority
WO
WIPO (PCT)
Prior art keywords
layer
shift information
base layer
macroblock
image
Prior art date
Application number
PCT/KR2006/001197
Other languages
French (fr)
Inventor
Byeong Moon Jeon
Seung Wook Park
Ji Ho Park
Doe Hyun Yoon
Hyun Wook Park
Original Assignee
Lg Electronics Inc.
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 KR1020050084729A external-priority patent/KR20060105407A/en
Application filed by Lg Electronics Inc. filed Critical Lg Electronics Inc.
Priority to EP06716551A priority Critical patent/EP1878248A4/en
Priority to CN200680016296XA priority patent/CN101176349B/en
Publication of WO2006104364A1 publication Critical patent/WO2006104364A1/en

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/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • H04N19/615Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding using motion compensated temporal filtering [MCTF]
    • 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
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • 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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/63Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]

Definitions

  • the present invention relates to scalable encoding and decoding of a video signal.
  • Such mobile devices have a variety of processing and presentation capabilities so that a variety of compressed video data forms should be prepared. This means that a variety of different quality video data with different combinations of a number of variables such as the number of frames transmitted per second, resolution, and the number of bits per pixel should be provided based on a single video source. This imposes a great burden on content providers .
  • content providers prepare high-bitrate compressed video data for each source video and perform, when receiving a request from a mobile device, a process of decoding compressed video and encoding it back into video data suited to the video processing capabilities of the mobile device.
  • this method entails a transcoding procedure including decoding, scaling, and encoding processes, which causes some time delay in providing the requested data to the mobile device.
  • the transcoding procedure also requires complex hardware and algorithms to cope with the wide variety of target encoding formats.
  • SVC Scalable Video Codec
  • Motion Compensated Temporal Filtering is an encoding scheme that has been suggested for use in the Scalable Video Codec.
  • the MCTF scheme has a high compression efficiency (i.e., a high coding efficiency) for reducing the number of bits transmitted per second.
  • the MCTF scheme is likely to be applied to transmission environments such as a mobile communication environment where bandwidth is limited. Although it is ensured that part of a sequence of pictures encoded in the scalable MCTF coding scheme can be received and processed to video with a certain level of image quality as described above, there is still a problem in that the image quality is significantly reduced if the bitrate is lowered.
  • One solution to this problem is to provide an auxiliary picture sequence for low bitrates, for example, a sequence of pictures that have a small screen size and/or a low frame rate.
  • the auxiliary picture sequence is referred to as a base layer (BL)
  • the main picture sequence is referred to as an enhanced or enhancement layer.
  • Video signals of the base and enhanced layers have redundancy since the same video content is encoded into two layers with different spatial resolution or different frame rates .
  • a video signal of the enhanced layer may be predicted using motion information and/or texture information of the base layer.
  • This prediction method is referred to as inter-layer prediction.
  • FIG. 1 illustrates examples of an intra BL prediction method and an inter-layer residual prediction method, which are inter-layer prediction methods for encoding the enhanced layer using the base layer.
  • the intra BL prediction method uses a texture (or image data) of the base layer. Specifically, the intra BL prediction method produces predictive data of a macroblock of the enhanced layer using a corresponding block of the base layer encoded in an intra mode.
  • corresponding block refers to a block which is located in a base layer frame temporally coincident with a frame including the macroblock and which would have an area covering the macroblock if the base layer frame were enlarged by the ratio of the screen size of the enhanced layer to the screen size of the base layer.
  • the intra BL prediction method uses the corresponding block of the base layer after enlarging the corresponding block by the ratio of the screen size of the enhanced layer to the screen size of the base layer through upsampling.
  • the inter-layer residual prediction method is similar to the intra BL prediction method except that it uses a corresponding block of the base layer encoded so as to contain residual data, which is data of an image difference, rather than a corresponding block of the base layer containing image data.
  • the inter-layer residual prediction method produces predictive data of a macroblock of the enhanced layer encoded so as to contain residual data, which is data of an image difference, using a corresponding block of the base layer encoded so as to contain residual data.
  • the inter-layer residual prediction method uses the corresponding block of the base layer containing residual data after enlarging the corresponding block by the ratio of the screen size of the enhanced layer to the screen size of the base layer through upsampling.
  • a base layer with lower resolution for use in the inter-layer prediction method is produced by downsampling a video source.
  • Corresponding pictures (frames or blocks) in enhanced and base layers produced from the same video source may be out of phase since a variety of different downsampling techniques and downsampling ratios (i.e., horizontal and/or vertical size reduction ratios) may be employed.
  • FIG. 2 illustrates a phase relationship between enhanced and base layers.
  • a base layer may be produced (i) by sampling a video source at lower spatial resolution separately from an enhanced layer or (ii) by downsampling an enhanced layer with higher spatial resolution.
  • the downsampling ratio between the enhanced and base layers is 2/3.
  • a video signal is managed as separate components, namely, a luma component and two chroma components.
  • the luma component is associated with luminance information Y and the two chroma components are associated with chrominance information Cb and Cr.
  • a ratio of 4:2:0 (Y: Cb: Cr) between luma and chroma signals is widely used.
  • Samples of the chroma signal are typically located midway between samples of the luma signal .
  • luma and chroma signals of the enhanced layer and/or the base layer are sampled so as to satisfy the 4:2:0 ratio and a position condition according to the 4:2:0 ratio.
  • the enhanced and base layers may be out of phase as shown in section (a) of Fig. 2 since the enhanced and base layers may have different sampling positions.
  • luma and chroma signals of each of the enhanced and base layers satisfy the 4:2:0 ratio and a position condition according to the 4:2:0 ratio.
  • the base layer is produced by downsampling luma and chroma signals of the enhanced layer by a specific ratio. If the base layer is produced such that luma and chroma signals of the base layer are in phase with luma and chroma signals of the enhanced layer, the luma and chroma signals of the base layer do not satisfy a position condition according to the 4:2:0 ratio as illustrated in section (b) of Fig. 2.
  • the chroma signal of the base layer is out of phase with the chroma signal of the enhanced layer as illustrated in section (c) of Fig. 2.
  • the chroma signal of the base layer is upsampled by a specific ratio according to the inter-layer prediction method, the upsampled chroma signal of the base layer is out of phase with the chroma signal of the enhanced layer.
  • the enhanced and base layers may be out of phase as illustrated in section (a) .
  • the phase of the base layer may be changed in the downsampling procedure for producing the base layer and in the upsampling procedure of the inter-layer prediction method, so that the base layer is out of phase with the enhanced layer, thereby reducing coding efficiency.
  • decoding of a video signal includes predicting at least a portion of a current image in a current layer based on at least a residual coded portion of a base image in a base layer and shift information for samples in the predicted current image.
  • the samples may be luma and/or chroma samples .
  • the shift information is based on corresponding samples in the residual coded portion of the base image .
  • the predicting step predicts the portion of the current image based on at least part of an up-sampled portion of the base image and the shift information.
  • the shift information is phase shift information.
  • the predicting step may obtain the shift information from a header of a slice in the base layer, and in another embodiment the shift information may be obtained from a sequence level header in the current layer.
  • Other related embodiments include methods of encoding a video signal, and apparatuses for encoding and decoding a video signal .
  • FIG. 1 illustrates an example of an inter-layer prediction method for encoding an enhanced layer using a base layer
  • FIG. 2 illustrates examples of phase relationships between enhanced and base layers
  • FIG. 3 is a block diagram of a video signal encoding apparatus to which a scalable video signal coding method according to the present invention may be applied;
  • FIG. 4 illustrates elements of an EL encoder shown in FIG. 3;
  • FIG. 5 illustrates a method for upsampling a base layer for use in decoding an enhanced layer, encoded according to an inter-layer prediction method, taking into account a phase shift in the base layer and/or the enhanced layer, according to an embodiment of the present invention
  • Fig. 6 is a block diagram of an apparatus for decoding a bit stream encoded by the apparatus of Fig. 3; and Fig. 7 illustrates elements of an EL decoder shown in FIG.
  • FIG. 3 is a block diagram .of a video signal encoding apparatus to which a scalable video signal coding method according to the present invention may be applied.
  • the video signal encoding apparatus shown in FIG. 3 comprises an enhanced layer (EL) encoder 100, a texture coding unit 110, a motion coding unit 120, a muxer (or multiplexer) 130, a downsampling unit 140, and a base layer (BL) encoder 150.
  • the downsampling unit 140 produces an enhanced layer signal directly from an input video signal or by downsampling the input video signal, and produces a base layer signal by downsampling the input video signal or the enhanced layer signal according to a specific scheme.
  • the EL encoder 100 encodes the enhanced layer signal generated by the downsampling unit 140 on a per macroblock basis in a scalable fashion according to a specified encoding scheme (for example, an MCTF scheme) , and generates suitable management information.
  • the texture coding unit 110 converts data of encoded macroblocks into a compressed bitstream.
  • the motion coding unit 120 codes motion vectors of image blocks obtained by the EL encoder 100 into ' - a compressed bitstream according to a specified scheme.
  • the BL encoder 150 encodes the base layer signal generated by the downsampling unit 140 according to a specified scheme, for example, according to the MPEG-I, 2 or 4 standard or the H.261 or H.264 standard, and produces a small-screen picture sequence, for example, a sequence of pictures scaled down to 25% of their original size if needed.
  • the muxer 130 encapsulates the output data of the texture coding unit 110, the small-screen sequence from the BL encoder 150, and the output vector data of the motion coding unit 120 into a desired format.
  • the muxer 130 multiplexes and outputs the encapsulated data into a desired transmission format .
  • the downsampling unit 140 not only transmits the enhanced and base layer signals to the EL and BL encoders 100 and 150, but also transmits sampling-related information of the two layers to the EL and BL encoders 100 and 150.
  • the sampling-related information of the two layers may include spatial resolution (or screen sizes) , frame rates, the ratios between luma and chroma signals of the two layers, the positions of chroma signals of the two layers, and information regarding a phase shift between luma and chroma signals of the two layers based on the respective positions of the luma and chroma signals of the two layers.
  • the phase shift can be defined as the phase difference between luma signals of the two layers.
  • luma and chroma signals of the two layers are sampled so as to satisfy a position condition according to the ratio between the luma and chroma signals, and the luma signals of the two layers are sampled so as to be in phase with each other.
  • the phase shift can also be defined as the phase difference between chroma signals of the two layers.
  • the phase difference between chroma signals of the two layers can be determined based on the difference between positions of the chroma signals of the two layers after the positions of the luma signals of the two layers are matched to each other so that the luma signals of the two layers are in phase with each other.
  • the phase shift can also be individually defined for each layer, for example, with reference to a single virtual layer (e.g. , an upsampled base layer) based on the input video signal for generating the enhanced or base layer.
  • the phase difference is between luma and/or chroma samples (i.e., pixels) of the enhanced layer of the base layer and the virtual layer (e.g., an upsampled base layer) .
  • the EL encoder 100 records the phase shift information transmitted from the downsampling unit 140 in a header area of a sequence layer or a slice layer. If the phase shift information has a value other than 0, the EL encoder 100 sets a global shift flag "global_shift_flag" , which indicates whether or not there is a phase shift between the two layers, to, for example, "1", and records the value of the phase shift in information in fields "global_shift_x" and ⁇ global_shift_y” .
  • the "global_shift_x" value represents the horizontal phase shift.
  • the "global_shift_x” value represents the horizontal position offset between the samples (i.e., pixels)
  • the "global_shift_y” represents the vertical position offset between the samples (i.e., pixels).
  • the EL encoder 100 sets the flag "global_shift_flag” to, for example, "0" , and does not record the values of the phase shift in the information fields "global_shift_x" and "global_shift_y” .
  • the EL encoder 100 also records the sampling-related information in the header area of the sequence layer or the slice layer if needed.
  • the EL encoder 100 performs MCTF on the video data received from the down-sampling unit 140. Accordingly, the EL encoder 100 performs a prediction operation on each macroblock in a video frame (or picture) by subtracting a reference block, found by motion estimation, from the macroblock. Also, the EL encoder 100 selectively performs an update operation by adding an image difference between the reference block and the macroblock to the reference block.
  • the EL encoder 100 separates an input video frame sequence into, for example, odd and even frames.
  • the EL encoder 100 performs prediction and update operations on the separated frames over a number of encoding levels, for example, until the number of L frames, which are produced by the update operation, is reduced to one for a group of pictures (GOP) .
  • FIG. 4 shows elements of the EL - encoder 100 associated with prediction and update operations at one of the encoding levels.
  • the elements of the EL encoder 100 shown in FIG. 4 include an estimator/predictor 101.
  • the estimator/predictor 101 searches for a reference block of each macroblock of a frame (for example, an odd frame in the enhanced layer) , which is to contain residual data, and then performs a prediction operation to calculate an image difference (i.e., a pixel-to-pixel difference) of the macroblock from the reference block and a motion vector from the macroblock to the reference block.
  • the EL encoder 100 may further include an updater 102 for performing an update operation on a frame (for example, an even frame) including the reference block of the macroblock by normalizing the calculated image difference of the macroblock from the reference block and adding the normalized value to the reference block.
  • a block having the smallest image difference from a target block has the highest correlation with the target block.
  • the image difference of two blocks is defined, for example, as the sum or average of pixel-to-pixel differences of the two blocks.
  • a block (s) having the smallest difference sum (or average) is referred to as a reference block(s) .
  • the operation carried out by the estimator/predictor 101 is referred to as a 1 P' operation, and a frame produced by the ⁇ P' operation is referred to as an 1 H' frame.
  • the residual data present in the N H' frame reflects high frequency components of the video signal.
  • the operation carried out by the updater 102 is referred to as a 1 U 1 operation, and a frame produced by the 1 U 1 operation is referred to as an 1 L' frame.
  • the 'L' frame is a low-pass subband picture.
  • the estimator/predictor 101 and the updater 102 of FIG. 4 may perform their operations on a plurality of slices, which are produced by dividing a single frame, simultaneously and in parallel, instead of performing their operations in units of frames.
  • 'frame' is used in a broad sense to include a 'slice', provided that replacement of the term 'frame' with the term 'slice' is technically equivalent.
  • the estimator/predictor 101 divides each input video frame or each odd one of the L frames obtained at the previous level into macroblocks of a size.
  • the estimator/predictor 101 searches for a block, whose image is most certain similar to that of each divided macroblock, in the current odd frame or in even frames prior to and subsequent to the current odd frame at the same temporal decomposition level, and produces a predictive image of each divided macroblock using the most similar or reference block and obtains a motion vector thereof .
  • the EL encoder 100 may also include a BL decoder 105.
  • the BL decoder 105 extracts encoding information such as a macroblock mode from an encoded base layer stream containing a small-screen sequence received from the BL encoder 150, and decodes the encoded base layer stream to produce frames, each composed of one or more macroblocks.
  • the estimator/predictor 101 can also search for a reference block of the macroblock in a frame of the base layer according to the intra BL prediction method.
  • the estimator/predictor 101 searches for a corresponding block encoded in an intra mode in a frame of the base layer reconstructed by the BL decoder 105, which is temporally coincident with the frame including the macroblock.
  • corresponding block refers to a block which is located in the temporally coincident base layer frame and which would have an area covering the macroblock if the base layer frame were enlarged by the ratio of the screen size of the enhanced layer to the screen size of the base layer.
  • the estimator/predictor 101 reconstructs an original image of the found corresponding block by decoding the intra-coded pixel values of the corresponding block, and then upsamples the found corresponding block to enlarge it by the ratio of the screen size of the enhanced layer to the screen size of the base layer.
  • the estimator/predictor 101 performs this upsampling taking into account the phase shift information "global_shift_x/y" transmitted from the downsampling unit 140 so that the enlarged corresponding block of the base layer is in phase with the macroblock of the enhanced layer.
  • the estimator/predictor 101 encodes the macroblock with reference to a corresponding area in the corresponding block of the base layer, which has been enlarged so as to be in phase with the macroblock.
  • corresponding area refers to a partial area in the corresponding block which is at the same relative position in the frame as the macroblock.
  • the estimator/predictor 101 searches for a reference area more highly correlated with the macroblock in the enlarged corresponding block of the base layer by performing motion estimation on the macroblock while changing the phase of the corresponding block, and encodes the macroblock using the found reference area.
  • the estimator/predictor 101 sets a local shift flag "local_shift_flag” , which indicates whether or not there is a phase shift, different from the global phase shift "global_shift_x/y” , between the macroblock and the corresponding upsampled block, to, for example, "1" . Also, the estimator/predictor 101 records the local shift flag in a header area of the macroblock and records the local phase shift between the macroblock and the corresponding block in information fields "local_, ⁇ ?hift_x" and "local_shift_y” .
  • the local phase shift information may be replacement information, and provide the entire phase shift information as a replacement or substitute for the global phase shift information.
  • the local phase shift information may be additive information, wherein the local phase shift information added to the corresponding global phase shift information provides the entire or total phase shift information.
  • the estimator/predictor 101 further inserts information indicating that the macroblock of the enhanced layer has been encoded in an intra BL mode in the header area of the macroblock so as to inform the decoder of the same .
  • the estimator/predictor 101 can also apply the inter-layer residual prediction method to a macroblock to contain residual data, which is data of an image difference, using a reference block found in other frames prior to and subsequent to the macroblock. Also in this case, the estimator/predictor 101 upsamples a corresponding block of the base layer encoded so as to contain residual data, which is data of an image difference, taking into account the phase shift information "global_shift_x/y" transmitted from the downsampling unit 140 so that the base layer is in phase with the enhanced layer.
  • the corresponding block of the base layer is a block which has been encoded so as to contain residual data, which is data of an image difference.
  • the estimator/predictor 101 inserts information indicating that the macroblock of the enhanced layer has been encoded according to the inter-layer residual prediction method in the header area of the macroblock so as to inform the decoder of the same .
  • the estimator/predictor 101 performs the above procedure for all macroblocks in the frame to complete an H frame which is a predictive image of the frame.
  • the estimator/predictor 101 performs the above procedure for all macroblocks in the frame to complete an H frame which is a predictive image of the frame.
  • the updater 102 adds an image difference of each macroblock in an H frame produced by the estimator/predictor 101 to an L frame having its reference block, which is an input video frame or an even one of the L frames obtained at the previous level .
  • the data stream encoded in the method described above is transmitted by wire or wirelessly to a decoding apparatus or is delivered via recording media.
  • the decoding apparatus reconstructs the original video signal according to the method described below.
  • FIG. 5 illustrates a method for upsampling a base layer for use in decoding an enhanced layer, encoded according to the inter-layer prediction method, taking into account a phase shift in the base layer and/or the enhanced layer, according to an embodiment of the present invention.
  • a block of the base layer corresponding to the macroblock is enlarged by the ratio of the screen size of the enhanced layer to the screen size of the base layer through upsampling. This upsampling is performed taking into account phase shift information
  • global_shift_x/y in the enhanced layer and/or the base layer, so as to compensate for a global phase shift between the macroblock of the enhanced layer and the enlarged corresponding block of the base layer.
  • the local phase shift information may be used instead of the global phase shift information in one embodiment, or alternatively, in addition to the global phase shift information in another embodiment .
  • an original image of the macroblock of the enhanced layer is reconstructed using the corresponding block which has been enlarged so as to be in phase with the macroblock.
  • Fig. 6 is a block diagram of an apparatus for decoding a bit stream encoded by the apparatus of Fig. 3.
  • the decoding apparatus of Fig. 6 includes a demuxer (or demultiplexer) 200, a texture decoding unit 210, a motion decoding unit 220, an EL decoder 230, and a BL decoder 240.
  • the demuxer 200 separates a received bit stream into a compressed motion vector stream and a compressed macroblock information stream.
  • the texture decoding unit 210 reconstructs the compressed macroblock information stream to its original uncompressed state.
  • the motion decoding unit 220 reconstructs the compressed motion vector stream to its original uncompressed state.
  • the EL decoder 230 converts the uncompressed macroblock information stream and the uncompressed motion vector stream back to an original video signal according to a specified scheme (for example, an MCTF scheme) .
  • the BL decoder 240 decodes a base layer stream according to a specified scheme (for example, the MPEG4 or H.264 standard).
  • the EL decoder 230 uses encoding information of the base layer and/or a decoded frame or macroblock of the base layer in order to decode an enhanced layer stream according to the inter-layer prediction method. To accomplish this, the EL decoder 230 reads a global shift flag "global_shift_flag" and phase shift information "global_shift_x/y" from a sequence header area or a slice header area of the enhanced layer to determine whether or not there is a phase shift in the enhanced layer and/or the base layer and to confirm the phase shift . The EL decoder 230 upsamples the base layer taking into account the confirmed phase shift so that the base layer to be used for the inter-layer prediction method is in phase with the enhanced layer.
  • the EL decoder 230 reconstructs an input stream to an original frame sequence.
  • Fig. 7 illustrates main elements of an
  • EL decoder 230 which is implemented according to the MCTF scheme.
  • the elements of the EL decoder 230 of Fig. 7 perform temporal composition of H and L frame sequences of temporal decomposition level N into an L frame sequence of temporal decomposition level N-I.
  • the elements of Fig. 7 include an inverse updater 231, an inverse predictor 232, a motion vector decoder 233, and an arranger 234.
  • the inverse updater 231 selectively subtracts difference values of pixels of input H frames from corresponding pixel values of input L frames.
  • the inverse predictor 232 reconstructs input H frames into L frames of original images using both the H frames and the above L frames, from which the image differences of the H frames have been subtracted.
  • the motion vector decoder 233 decodes an input motion vector stream into motion vector information of blocks in H frames and provides the motion vector information to an inverse updater 231 and an inverse predictor 232 of each stage.
  • the arranger 234 interleaves the L frames completed by the inverse predictor 232 between the L frames output from the inverse updater 231, thereby producing a normal L frame sequence .
  • the L frames output from the arranger 234 constitute an L frame sequence 701 of level N-I.
  • a next-stage inverse updater and predictor of level N-I reconstructs the L frame sequence 701 and an input H frame sequence 702 of level N-I to an L frame sequence. This decoding process is performed over the same number of levels as the number of encoding levels performed in the encoding procedure, thereby reconstructing an original video frame sequence .
  • a reconstruction (temporal composition) procedure at level N in which received H frames of level N and L frames of level N produced at level N+l are reconstructed to L frames of level N-I, will now be described in more detail.
  • the inverse updater 231 determines all corresponding H frames of level N, whose image differences have been obtained using, as reference blocks, blocks in an original L frame of level N-I updated to the input L frame of level N at the encoding procedure, with reference to motion vectors provided from the motion vector decoder 233. The inverse updater 231 then subtracts error values of macroblocks in the corresponding H frames of level N from pixel values of corresponding blocks in the input L frame of level N, thereby reconstructing an original L frame.
  • Such an inverse update operation is performed for blocks in the current L frame of level N, which have been updated using error values of macroblocks in H frames in the encoding procedure, thereby reconstructing the L frame of level N to an L frame of level N-I.
  • the inverse predictor 232 determines its reference blocks in inverse-updated L frames output from the inverse updater 231 with reference to motion vectors provided from the motion vector decoder 233, and adds pixel values of the reference blocks to difference (error) values of pixels of the target macroblock, thereby reconstructing its original image.
  • the inverse predictor 232 reconstructs an original image of the macroblock using a base layer frame provided from the BL decoder 240.
  • the following is a detailed example of this process.
  • the inverse predictor 232 reconstructs an original image of an intra-coded block in the base layer, which corresponds to the macroblock in the enhanced layer, and upsamples the reconstructed corresponding block from the base layer to enlarge it by the ratio of the screen size of the enhanced layer to the screen size of the base layer.
  • the inverse predictor 232 performs this upsampling taking into account phase shift information "global_shift_x/y" in the enhanced layer and/or the base layer so that the enlarged corresponding block of the base layer is in phase with the macroblock of the enhanced layer. Namely, if the "global_shift_flag" indicates a phase shift exists between the base layer and the enhanced layer (e.g., equals 1), then the inverse predictor 232 phase shifts the corresponding macroblock from the base layer during upsampling by the "global_shift_x" and "global_shift_y” values.
  • the inverse predictor 232 reconstructs an original image of the macroblock by adding pixel values of a corresponding area in the enlarged corresponding block of the base layer, which has been enlarged so as to be in phase with the macroblock, to the difference values of pixels of the macroblock.
  • corresponding area refers to a partial area in the corresponding block which is at the same relative position in the frame as the macroblock.
  • the inverse predictor 232 upsamples the corresponding block taking into account the local phase shift "local_shift_x/y" (as substitute or additional phase shift information) .
  • the local phase shift information may be included in the header area of the macroblock.
  • the inverse predictor 232 upsamples a corresponding block of the base layer encoded so as to contain residual data, taking into account the global phase shift "global_shift_x/y" as discussed above to enlarge the corresponding block so as to be in phase with the macroblock of the enhanced layer.
  • the inverse predictor 232 then reconstructs residual data of the macroblock using the corresponding block enlarged so as to be in phase with the macroblock.
  • the inverse predictor 232 searches for a reference block of the reconstructed macroblock containing residual data in an L frame with reference to a motion vector provided from the motion vector decoder 233, and reconstructs an original image of the macroblock by adding pixel values of the reference block to difference values of pixels (i.e., residual data) of the macroblock. All macroblocks in the current H frame are reconstructed to their original images in the same manner as the above operation, and the reconstructed macroblocks are combined to reconstruct the current H frame to an L frame.
  • the arranger 234 alternately arranges L frames reconstructed by the inverse predictor 232 and L frames updated by the inverse updater 231, and outputs such arranged L frames to the next stage .
  • the above decoding method reconstructs an MCTF-encoded data stream to a complete video frame sequence .
  • a video frame sequence with the original image quality is obtained if the inverse update and prediction operations are performed N times in the MCTF decoding procedure .
  • a video frame sequence with a lower image quality and at a lower bitrate may be obtained if the inverse update and prediction operations are performed less than N times.
  • the decoding apparatus is designed to perform inverse update and prediction operations to the extent suitable for the performance thereof.
  • the decoding apparatus described above can be incorporated into a mobile communication terminal, a media player, or the like.
  • a method for encoding and decoding a video signal according to the present invention increases coding efficiency by preventing a phase shift in a base layer and/or an enhanced layer caused in downsampling and upsampling procedures when encoding/decoding the video signal according to an inter-layer prediction method.

Abstract

In one embodiment, decoding of a video signal includes predicting at least a portion of a current image in a current layer based on at least a residual coded portion of a base image in a base layer and shift information for samples in the predicted current image.

Description

D E S C R I P T I O N
METHOD FOR SCALABLY ENCODING AND DECODING
VIDEO SIGNAL
1 . Technical Field The present invention relates to scalable encoding and decoding of a video signal.
2. Background Art
It is difficult to allocate high bandwidth, required for TV signals, to digital video signals wirelessly transmitted and received by mobile phones and notebook computers. It is expected that similar difficulties will occur with mobile TVs and handheld PCs, which will come into widespread use in the future. Thus, video compression standards for use with mobile devices should have high video signal compression efficiencies.
Such mobile devices have a variety of processing and presentation capabilities so that a variety of compressed video data forms should be prepared. This means that a variety of different quality video data with different combinations of a number of variables such as the number of frames transmitted per second, resolution, and the number of bits per pixel should be provided based on a single video source. This imposes a great burden on content providers .
Because of the above, content providers prepare high-bitrate compressed video data for each source video and perform, when receiving a request from a mobile device, a process of decoding compressed video and encoding it back into video data suited to the video processing capabilities of the mobile device.
However, this method entails a transcoding procedure including decoding, scaling, and encoding processes, which causes some time delay in providing the requested data to the mobile device. The transcoding procedure also requires complex hardware and algorithms to cope with the wide variety of target encoding formats.
The Scalable Video Codec (SVC) has been developed in an attempt' to overcome these problems. This scheme encodes video into a sequence of pictures with the highest image quality while ensuring that part of the encoded picture (frame) sequence (specifically, a partial sequence of frames intermittently selected from the total sequence of frames) can be decoded to produce a certain level of image quality.
Motion Compensated Temporal Filtering (MCTF) is an encoding scheme that has been suggested for use in the Scalable Video Codec. The MCTF scheme has a high compression efficiency (i.e., a high coding efficiency) for reducing the number of bits transmitted per second. The MCTF scheme is likely to be applied to transmission environments such as a mobile communication environment where bandwidth is limited. Although it is ensured that part of a sequence of pictures encoded in the scalable MCTF coding scheme can be received and processed to video with a certain level of image quality as described above, there is still a problem in that the image quality is significantly reduced if the bitrate is lowered. One solution to this problem is to provide an auxiliary picture sequence for low bitrates, for example, a sequence of pictures that have a small screen size and/or a low frame rate.
The auxiliary picture sequence is referred to as a base layer (BL) , and the main picture sequence is referred to as an enhanced or enhancement layer. Video signals of the base and enhanced layers have redundancy since the same video content is encoded into two layers with different spatial resolution or different frame rates . To increase the coding efficiency of the enhanced layer, a video signal of the enhanced layer may be predicted using motion information and/or texture information of the base layer.
This prediction method is referred to as inter-layer prediction.
FIG. 1 illustrates examples of an intra BL prediction method and an inter-layer residual prediction method, which are inter-layer prediction methods for encoding the enhanced layer using the base layer.
The intra BL prediction method uses a texture (or image data) of the base layer. Specifically, the intra BL prediction method produces predictive data of a macroblock of the enhanced layer using a corresponding block of the base layer encoded in an intra mode. The term "corresponding block" refers to a block which is located in a base layer frame temporally coincident with a frame including the macroblock and which would have an area covering the macroblock if the base layer frame were enlarged by the ratio of the screen size of the enhanced layer to the screen size of the base layer. The intra BL prediction method uses the corresponding block of the base layer after enlarging the corresponding block by the ratio of the screen size of the enhanced layer to the screen size of the base layer through upsampling.
The inter-layer residual prediction method is similar to the intra BL prediction method except that it uses a corresponding block of the base layer encoded so as to contain residual data, which is data of an image difference, rather than a corresponding block of the base layer containing image data. The inter-layer residual prediction method produces predictive data of a macroblock of the enhanced layer encoded so as to contain residual data, which is data of an image difference, using a corresponding block of the base layer encoded so as to contain residual data. Similar to the intra BL prediction method, the inter-layer residual prediction method uses the corresponding block of the base layer containing residual data after enlarging the corresponding block by the ratio of the screen size of the enhanced layer to the screen size of the base layer through upsampling. A base layer with lower resolution for use in the inter-layer prediction method is produced by downsampling a video source. Corresponding pictures (frames or blocks) in enhanced and base layers produced from the same video source may be out of phase since a variety of different downsampling techniques and downsampling ratios (i.e., horizontal and/or vertical size reduction ratios) may be employed.
FIG. 2 illustrates a phase relationship between enhanced and base layers. A base layer may be produced (i) by sampling a video source at lower spatial resolution separately from an enhanced layer or (ii) by downsampling an enhanced layer with higher spatial resolution. In the example of FIG. 2, the downsampling ratio between the enhanced and base layers is 2/3. A video signal is managed as separate components, namely, a luma component and two chroma components. The luma component is associated with luminance information Y and the two chroma components are associated with chrominance information Cb and Cr. A ratio of 4:2:0 (Y: Cb: Cr) between luma and chroma signals is widely used. Samples of the chroma signal are typically located midway between samples of the luma signal . When an enhanced layer and/or a base layer are produced directly from a video source, luma and chroma signals of the enhanced layer and/or the base layer are sampled so as to satisfy the 4:2:0 ratio and a position condition according to the 4:2:0 ratio.
In the above case (i) , the enhanced and base layers may be out of phase as shown in section (a) of Fig. 2 since the enhanced and base layers may have different sampling positions. In the example of section (a) , luma and chroma signals of each of the enhanced and base layers satisfy the 4:2:0 ratio and a position condition according to the 4:2:0 ratio.
In the above case (ii) , the base layer is produced by downsampling luma and chroma signals of the enhanced layer by a specific ratio. If the base layer is produced such that luma and chroma signals of the base layer are in phase with luma and chroma signals of the enhanced layer, the luma and chroma signals of the base layer do not satisfy a position condition according to the 4:2:0 ratio as illustrated in section (b) of Fig. 2.
In,- addition, if the base layer is produced such that luma and chroma signals of the base layer satisfy a position condition according to the 4:2:0 ratio, the chroma signal of the base layer is out of phase with the chroma signal of the enhanced layer as illustrated in section (c) of Fig. 2. In this case, if the chroma signal of the base layer is upsampled by a specific ratio according to the inter-layer prediction method, the upsampled chroma signal of the base layer is out of phase with the chroma signal of the enhanced layer. Also in case (ii) , the enhanced and base layers may be out of phase as illustrated in section (a) .
That is, the phase of the base layer may be changed in the downsampling procedure for producing the base layer and in the upsampling procedure of the inter-layer prediction method, so that the base layer is out of phase with the enhanced layer, thereby reducing coding efficiency.
3. Disclosure of Invention
In one embodiment, decoding of a video signal includes predicting at least a portion of a current image in a current layer based on at least a residual coded portion of a base image in a base layer and shift information for samples in the predicted current image. For example, the samples may be luma and/or chroma samples . In one embodiment, the shift information is based on corresponding samples in the residual coded portion of the base image .
In another embodiment, the predicting step predicts the portion of the current image based on at least part of an up-sampled portion of the base image and the shift information.
In one embodiment, the shift information is phase shift information. In an embodiment, the predicting step may obtain the shift information from a header of a slice in the base layer, and in another embodiment the shift information may be obtained from a sequence level header in the current layer.
Other related embodiments include methods of encoding a video signal, and apparatuses for encoding and decoding a video signal .
4. Brief Description of Drawings
The above and other objects, features and other advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
FIG. 1 illustrates an example of an inter-layer prediction method for encoding an enhanced layer using a base layer; FIG. 2 illustrates examples of phase relationships between enhanced and base layers;
FIG. 3 is a block diagram of a video signal encoding apparatus to which a scalable video signal coding method according to the present invention may be applied; FIG. 4 illustrates elements of an EL encoder shown in FIG. 3;
FIG. 5 illustrates a method for upsampling a base layer for use in decoding an enhanced layer, encoded according to an inter-layer prediction method, taking into account a phase shift in the base layer and/or the enhanced layer, according to an embodiment of the present invention;
Fig. 6 is a block diagram of an apparatus for decoding a bit stream encoded by the apparatus of Fig. 3; and Fig. 7 illustrates elements of an EL decoder shown in FIG.
5. Modes for Carrying out the Invention Example embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
FIG. 3 is a block diagram .of a video signal encoding apparatus to which a scalable video signal coding method according to the present invention may be applied. The video signal encoding apparatus shown in FIG. 3 comprises an enhanced layer (EL) encoder 100, a texture coding unit 110, a motion coding unit 120, a muxer (or multiplexer) 130, a downsampling unit 140, and a base layer (BL) encoder 150. The downsampling unit 140 produces an enhanced layer signal directly from an input video signal or by downsampling the input video signal, and produces a base layer signal by downsampling the input video signal or the enhanced layer signal according to a specific scheme. The specific scheme will depend on the applications or devices receiving each layer; and therefore, is a matter of design choice. The EL encoder 100 encodes the enhanced layer signal generated by the downsampling unit 140 on a per macroblock basis in a scalable fashion according to a specified encoding scheme (for example, an MCTF scheme) , and generates suitable management information. The texture coding unit 110 converts data of encoded macroblocks into a compressed bitstream. The motion coding unit 120 codes motion vectors of image blocks obtained by the EL encoder 100 into'- a compressed bitstream according to a specified scheme. The BL encoder 150 encodes the base layer signal generated by the downsampling unit 140 according to a specified scheme, for example, according to the MPEG-I, 2 or 4 standard or the H.261 or H.264 standard, and produces a small-screen picture sequence, for example, a sequence of pictures scaled down to 25% of their original size if needed. The muxer 130 encapsulates the output data of the texture coding unit 110, the small-screen sequence from the BL encoder 150, and the output vector data of the motion coding unit 120 into a desired format. The muxer 130 multiplexes and outputs the encapsulated data into a desired transmission format .
The downsampling unit 140 not only transmits the enhanced and base layer signals to the EL and BL encoders 100 and 150, but also transmits sampling-related information of the two layers to the EL and BL encoders 100 and 150. The sampling-related information of the two layers may include spatial resolution (or screen sizes) , frame rates, the ratios between luma and chroma signals of the two layers, the positions of chroma signals of the two layers, and information regarding a phase shift between luma and chroma signals of the two layers based on the respective positions of the luma and chroma signals of the two layers.
The phase shift can be defined as the phase difference between luma signals of the two layers. Typically, luma and chroma signals of the two layers are sampled so as to satisfy a position condition according to the ratio between the luma and chroma signals, and the luma signals of the two layers are sampled so as to be in phase with each other.
The phase shift can also be defined as the phase difference between chroma signals of the two layers. The phase difference between chroma signals of the two layers can be determined based on the difference between positions of the chroma signals of the two layers after the positions of the luma signals of the two layers are matched to each other so that the luma signals of the two layers are in phase with each other.
The phase shift can also be individually defined for each layer, for example, with reference to a single virtual layer (e.g. , an upsampled base layer) based on the input video signal for generating the enhanced or base layer. Here, the phase difference is between luma and/or chroma samples (i.e., pixels) of the enhanced layer of the base layer and the virtual layer (e.g., an upsampled base layer) .
The EL encoder 100 records the phase shift information transmitted from the downsampling unit 140 in a header area of a sequence layer or a slice layer. If the phase shift information has a value other than 0, the EL encoder 100 sets a global shift flag "global_shift_flag" , which indicates whether or not there is a phase shift between the two layers, to, for example, "1", and records the value of the phase shift in information in fields "global_shift_x" and Λλglobal_shift_y" . The "global_shift_x" value represents the horizontal phase shift. The
"global_shift__y" value represents the vertical phase shift.
Stated another way, the "global_shift_x" value represents the horizontal position offset between the samples (i.e., pixels), and the "global_shift_y" represents the vertical position offset between the samples (i.e., pixels).
On the other hand, if the phase shift information has a value of 0, the EL encoder 100 sets the flag "global_shift_flag" to, for example, "0" , and does not record the values of the phase shift in the information fields "global_shift_x" and "global_shift_y" .
The EL encoder 100 also records the sampling-related information in the header area of the sequence layer or the slice layer if needed.
The EL encoder 100 performs MCTF on the video data received from the down-sampling unit 140. Accordingly, the EL encoder 100 performs a prediction operation on each macroblock in a video frame (or picture) by subtracting a reference block, found by motion estimation, from the macroblock. Also, the EL encoder 100 selectively performs an update operation by adding an image difference between the reference block and the macroblock to the reference block.
The EL encoder 100 separates an input video frame sequence into, for example, odd and even frames. The EL encoder 100 performs prediction and update operations on the separated frames over a number of encoding levels, for example, until the number of L frames, which are produced by the update operation, is reduced to one for a group of pictures (GOP) . FIG. 4 shows elements of the EL - encoder 100 associated with prediction and update operations at one of the encoding levels.
The elements of the EL encoder 100 shown in FIG. 4 include an estimator/predictor 101. Through motion estimation, the estimator/predictor 101 searches for a reference block of each macroblock of a frame (for example, an odd frame in the enhanced layer) , which is to contain residual data, and then performs a prediction operation to calculate an image difference (i.e., a pixel-to-pixel difference) of the macroblock from the reference block and a motion vector from the macroblock to the reference block. The EL encoder 100 may further include an updater 102 for performing an update operation on a frame (for example, an even frame) including the reference block of the macroblock by normalizing the calculated image difference of the macroblock from the reference block and adding the normalized value to the reference block.
A block having the smallest image difference from a target block has the highest correlation with the target block. The image difference of two blocks is defined, for example, as the sum or average of pixel-to-pixel differences of the two blocks. Of blocks having a threshold pixel-to-pixel difference sum (or average) or less from the target block, a block (s) having the smallest difference sum (or average) is referred to as a reference block(s) .
The operation carried out by the estimator/predictor 101 is referred to as a 1P' operation, and a frame produced by the λP' operation is referred to as an 1H' frame. The residual data present in the NH' frame reflects high frequency components of the video signal. The operation carried out by the updater 102 is referred to as a 1U1 operation, and a frame produced by the 1U1 operation is referred to as an 1L' frame. The 'L' frame is a low-pass subband picture.
The estimator/predictor 101 and the updater 102 of FIG. 4 may perform their operations on a plurality of slices, which are produced by dividing a single frame, simultaneously and in parallel, instead of performing their operations in units of frames. In the following description of the embodiments, the term
'frame' is used in a broad sense to include a 'slice', provided that replacement of the term 'frame' with the term 'slice' is technically equivalent.
More specifically, the estimator/predictor 101 divides each input video frame or each odd one of the L frames obtained at the previous level into macroblocks of a size. The estimator/predictor 101 then searches for a block, whose image is most certain similar to that of each divided macroblock, in the current odd frame or in even frames prior to and subsequent to the current odd frame at the same temporal decomposition level, and produces a predictive image of each divided macroblock using the most similar or reference block and obtains a motion vector thereof .
As shown in Fig. 4, the EL encoder 100 may also include a BL decoder 105. The BL decoder 105 extracts encoding information such as a macroblock mode from an encoded base layer stream containing a small-screen sequence received from the BL encoder 150, and decodes the encoded base layer stream to produce frames, each composed of one or more macroblocks. The estimator/predictor 101 can also search for a reference block of the macroblock in a frame of the base layer according to the intra BL prediction method. Specifically, the estimator/predictor 101 searches for a corresponding block encoded in an intra mode in a frame of the base layer reconstructed by the BL decoder 105, which is temporally coincident with the frame including the macroblock. The term "corresponding block" refers to a block which is located in the temporally coincident base layer frame and which would have an area covering the macroblock if the base layer frame were enlarged by the ratio of the screen size of the enhanced layer to the screen size of the base layer.
The estimator/predictor 101 reconstructs an original image of the found corresponding block by decoding the intra-coded pixel values of the corresponding block, and then upsamples the found corresponding block to enlarge it by the ratio of the screen size of the enhanced layer to the screen size of the base layer. The estimator/predictor 101 performs this upsampling taking into account the phase shift information "global_shift_x/y" transmitted from the downsampling unit 140 so that the enlarged corresponding block of the base layer is in phase with the macroblock of the enhanced layer.
The estimator/predictor 101 encodes the macroblock with reference to a corresponding area in the corresponding block of the base layer, which has been enlarged so as to be in phase with the macroblock. Here, the term "corresponding area" refers to a partial area in the corresponding block which is at the same relative position in the frame as the macroblock.
If needed, the estimator/predictor 101 searches for a reference area more highly correlated with the macroblock in the enlarged corresponding block of the base layer by performing motion estimation on the macroblock while changing the phase of the corresponding block, and encodes the macroblock using the found reference area.
If the phase of the enlarged corresponding block is further changed while the reference area is searched for, the estimator/predictor 101 sets a local shift flag "local_shift_flag" , which indicates whether or not there is a phase shift, different from the global phase shift "global_shift_x/y" , between the macroblock and the corresponding upsampled block, to, for example, "1" . Also, the estimator/predictor 101 records the local shift flag in a header area of the macroblock and records the local phase shift between the macroblock and the corresponding block in information fields "local_,<?hift_x" and "local_shift_y" . The local phase shift information may be replacement information, and provide the entire phase shift information as a replacement or substitute for the global phase shift information. Alternatively, the local phase shift information may be additive information, wherein the local phase shift information added to the corresponding global phase shift information provides the entire or total phase shift information.
The estimator/predictor 101 further inserts information indicating that the macroblock of the enhanced layer has been encoded in an intra BL mode in the header area of the macroblock so as to inform the decoder of the same .
The estimator/predictor 101 can also apply the inter-layer residual prediction method to a macroblock to contain residual data, which is data of an image difference, using a reference block found in other frames prior to and subsequent to the macroblock. Also in this case, the estimator/predictor 101 upsamples a corresponding block of the base layer encoded so as to contain residual data, which is data of an image difference, taking into account the phase shift information "global_shift_x/y" transmitted from the downsampling unit 140 so that the base layer is in phase with the enhanced layer. Here, the corresponding block of the base layer is a block which has been encoded so as to contain residual data, which is data of an image difference.
The estimator/predictor 101 inserts information indicating that the macroblock of the enhanced layer has been encoded according to the inter-layer residual prediction method in the header area of the macroblock so as to inform the decoder of the same .
Figure imgf000016_0001
The estimator/predictor 101 performs the above procedure for all macroblocks in the frame to complete an H frame which is a predictive image of the frame. The estimator/predictor
101 performs the above procedure for all input video frames or all odd"ones of the L frames obtained at the previous level to complete H frames which are predictive images of the input frames.
As described above, the updater 102 adds an image difference of each macroblock in an H frame produced by the estimator/predictor 101 to an L frame having its reference block, which is an input video frame or an even one of the L frames obtained at the previous level .
The data stream encoded in the method described above is transmitted by wire or wirelessly to a decoding apparatus or is delivered via recording media. The decoding apparatus reconstructs the original video signal according to the method described below.
FIG. 5 illustrates a method for upsampling a base layer for use in decoding an enhanced layer, encoded according to the inter-layer prediction method, taking into account a phase shift in the base layer and/or the enhanced layer, according to an embodiment of the present invention.
In order to decode a macroblock of the enhanced layer encoded according to the inter-layer prediction method, a block of the base layer corresponding to the macroblock is enlarged by the ratio of the screen size of the enhanced layer to the screen size of the base layer through upsampling. This upsampling is performed taking into account phase shift information
"global_shift_x/y" in the enhanced layer and/or the base layer, so as to compensate for a global phase shift between the macroblock of the enhanced layer and the enlarged corresponding block of the base layer.
If there is a local phase shift "local_shift_x/y" , different from the global phase shift λλglobal_shift_x/y" , between the macroblock of the enhanced layer and the corresponding block of the base layer, the corresponding block is upsampled taking into account the local phase shift "local_shift_x/y" . For example, the local phase shift information may be used instead of the global phase shift information in one embodiment, or alternatively, in addition to the global phase shift information in another embodiment .
Then, an original image of the macroblock of the enhanced layer is reconstructed using the corresponding block which has been enlarged so as to be in phase with the macroblock.
Fig. 6 is a block diagram of an apparatus for decoding a bit stream encoded by the apparatus of Fig. 3. The decoding apparatus of Fig. 6 includes a demuxer (or demultiplexer) 200, a texture decoding unit 210, a motion decoding unit 220, an EL decoder 230, and a BL decoder 240. The demuxer 200 separates a received bit stream into a compressed motion vector stream and a compressed macroblock information stream. The texture decoding unit 210 reconstructs the compressed macroblock information stream to its original uncompressed state. The motion decoding unit 220 reconstructs the compressed motion vector stream to its original uncompressed state. The EL decoder 230 converts the uncompressed macroblock information stream and the uncompressed motion vector stream back to an original video signal according to a specified scheme (for example, an MCTF scheme) . The BL decoder 240 decodes a base layer stream according to a specified scheme (for example, the MPEG4 or H.264 standard).
The EL decoder 230 uses encoding information of the base layer and/or a decoded frame or macroblock of the base layer in order to decode an enhanced layer stream according to the inter-layer prediction method. To accomplish this, the EL decoder 230 reads a global shift flag "global_shift_flag" and phase shift information "global_shift_x/y" from a sequence header area or a slice header area of the enhanced layer to determine whether or not there is a phase shift in the enhanced layer and/or the base layer and to confirm the phase shift . The EL decoder 230 upsamples the base layer taking into account the confirmed phase shift so that the base layer to be used for the inter-layer prediction method is in phase with the enhanced layer.
The EL decoder 230 reconstructs an input stream to an original frame sequence. Fig. 7 illustrates main elements of an
EL decoder 230 which is implemented according to the MCTF scheme.
The elements of the EL decoder 230 of Fig. 7 perform temporal composition of H and L frame sequences of temporal decomposition level N into an L frame sequence of temporal decomposition level N-I. The elements of Fig. 7 include an inverse updater 231, an inverse predictor 232, a motion vector decoder 233, and an arranger 234. The inverse updater 231 selectively subtracts difference values of pixels of input H frames from corresponding pixel values of input L frames. The inverse predictor 232 reconstructs input H frames into L frames of original images using both the H frames and the above L frames, from which the image differences of the H frames have been subtracted. The motion vector decoder 233 decodes an input motion vector stream into motion vector information of blocks in H frames and provides the motion vector information to an inverse updater 231 and an inverse predictor 232 of each stage. The arranger 234 interleaves the L frames completed by the inverse predictor 232 between the L frames output from the inverse updater 231, thereby producing a normal L frame sequence .
The L frames output from the arranger 234 constitute an L frame sequence 701 of level N-I. A next-stage inverse updater and predictor of level N-I reconstructs the L frame sequence 701 and an input H frame sequence 702 of level N-I to an L frame sequence. This decoding process is performed over the same number of levels as the number of encoding levels performed in the encoding procedure, thereby reconstructing an original video frame sequence .
A reconstruction (temporal composition) procedure at level N, in which received H frames of level N and L frames of level N produced at level N+l are reconstructed to L frames of level N-I, will now be described in more detail.
For an input L frame of level N, the inverse updater 231 determines all corresponding H frames of level N, whose image differences have been obtained using, as reference blocks, blocks in an original L frame of level N-I updated to the input L frame of level N at the encoding procedure, with reference to motion vectors provided from the motion vector decoder 233. The inverse updater 231 then subtracts error values of macroblocks in the corresponding H frames of level N from pixel values of corresponding blocks in the input L frame of level N, thereby reconstructing an original L frame.
Such an inverse update operation is performed for blocks in the current L frame of level N, which have been updated using error values of macroblocks in H frames in the encoding procedure, thereby reconstructing the L frame of level N to an L frame of level N-I.
For a target macroblock in an input H frame, the inverse predictor 232 determines its reference blocks in inverse-updated L frames output from the inverse updater 231 with reference to motion vectors provided from the motion vector decoder 233, and adds pixel values of the reference blocks to difference (error) values of pixels of the target macroblock, thereby reconstructing its original image.
If information indicating that a macroblock in an H frame has been encoded in an intra BL mode is included in a header area of the macroblock, the inverse predictor 232 reconstructs an original image of the macroblock using a base layer frame provided from the BL decoder 240. The following is a detailed example of this process. The inverse predictor 232 reconstructs an original image of an intra-coded block in the base layer, which corresponds to the macroblock in the enhanced layer, and upsamples the reconstructed corresponding block from the base layer to enlarge it by the ratio of the screen size of the enhanced layer to the screen size of the base layer. The inverse predictor 232 performs this upsampling taking into account phase shift information "global_shift_x/y" in the enhanced layer and/or the base layer so that the enlarged corresponding block of the base layer is in phase with the macroblock of the enhanced layer. Namely, if the "global_shift_flag" indicates a phase shift exists between the base layer and the enhanced layer (e.g., equals 1), then the inverse predictor 232 phase shifts the corresponding macroblock from the base layer during upsampling by the "global_shift_x" and "global_shift_y" values. The inverse predictor 232 reconstructs an original image of the macroblock by adding pixel values of a corresponding area in the enlarged corresponding block of the base layer, which has been enlarged so as to be in phase with the macroblock, to the difference values of pixels of the macroblock. Here, the term "corresponding area" refers to a partial area in the corresponding block which is at the same relative position in the frame as the macroblock.
If a local shift flag "local_shift_flag" indicates that there is a local phase shift "local_shift_x/y" different from the global phase shift "global_shift_x/y" between the macroblock and the corresponding block, the inverse predictor 232 upsamples the corresponding block taking into account the local phase shift "local_shift_x/y" (as substitute or additional phase shift information) . The local phase shift information may be included in the header area of the macroblock.
If information indicating that a macroblock in an H frame has been encoded in an inter-layer residual mode is included in a header area of the macroblock, the inverse predictor 232 upsamples a corresponding block of the base layer encoded so as to contain residual data, taking into account the global phase shift "global_shift_x/y" as discussed above to enlarge the corresponding block so as to be in phase with the macroblock of the enhanced layer. The inverse predictor 232 then reconstructs residual data of the macroblock using the corresponding block enlarged so as to be in phase with the macroblock.
The inverse predictor 232 searches for a reference block of the reconstructed macroblock containing residual data in an L frame with reference to a motion vector provided from the motion vector decoder 233, and reconstructs an original image of the macroblock by adding pixel values of the reference block to difference values of pixels (i.e., residual data) of the macroblock. All macroblocks in the current H frame are reconstructed to their original images in the same manner as the above operation, and the reconstructed macroblocks are combined to reconstruct the current H frame to an L frame. The arranger 234 alternately arranges L frames reconstructed by the inverse predictor 232 and L frames updated by the inverse updater 231, and outputs such arranged L frames to the next stage .
The above decoding method reconstructs an MCTF-encoded data stream to a complete video frame sequence . In the case where the prediction and update operations have been performed for a group of pictures (GOP) N times in the MCTF encoding procedure described above, a video frame sequence with the original image quality is obtained if the inverse update and prediction operations are performed N times in the MCTF decoding procedure . However, a video frame sequence with a lower image quality and at a lower bitrate may be obtained if the inverse update and prediction operations are performed less than N times. Accordingly, the decoding apparatus is designed to perform inverse update and prediction operations to the extent suitable for the performance thereof. The decoding apparatus described above can be incorporated into a mobile communication terminal, a media player, or the like.
As is apparent from the above description, a method for encoding and decoding a video signal according to the present invention increases coding efficiency by preventing a phase shift in a base layer and/or an enhanced layer caused in downsampling and upsampling procedures when encoding/decoding the video signal according to an inter-layer prediction method.
Although the example embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various improvements, modifications, substitutions, and additions are possible, without departing from the scope and spirit of the invention.

Claims

C L A I M S
1. A method for decoding a video signal, comprising: predicting at least a portion of a current image in a current layer based on at least a residual coded portion of a base image in a base layer and shift information for samples in the predicted current image, the residual coded portion representing difference pixel data.
2. The method of claim 1, wherein the samples are luma samples.
3. The method of claim 1, wherein the samples are chroma samples .
4. The method of claim 1, wherein the samples are luma and chroma samples .
5. The method of claim 1, wherein the shift information is based on corresponding samples in the residual coded portion of the base image .
6. The method of claim 5, wherein the predicting step obtains the shift information from a header of a slice in the base layer.
7. The method of claim 5, wherein the shift information is phase shift information.
8. The method of claim 1, wherein the predicting step predicts the portion of the current image based on at least part of an up-sampled portion of the residual coded portion of the base image and the shift information.
9. The method of claim 8, wherein the up-sampling is performed based on the shift information.
10. The method of claim 7, wherein the shift information is phase shift information.
11. The method of claim 1, wherein the predicting step obtains the shift information from a header of a slice in the base layer.
12. The method of claim 11, wherein the predicting step determines that the shift information is present based on an indicator in the header of the slice.
13. The method of claim 1, wherein the predicting step obtains the shift information from a sequence level header in the current layer.
14. The method of claim 13, wherein the predicting step determines that the shift information is present based on an indicator in the sequence level header.
15. The method of claim 1, wherein the predicting step determines that the shift information is present based on an indicator in one of the base layer and the current layer.
16. The method of claim 1, wherein the shift information is phase shift information.
17. A method of encoding a video signal, comprising: encoding at least a portion of a current image in a current layer based on at least a residual coded portion of a base image in a base layer; and recording shift information for samples in the predicted current image in the encoded video signal .
18. An apparatus for decoding a video signal, comprising: a decoder predicting at least a portion of a current image in a current layer based on at least a residual coded portion of a base image in a base layer and shift information for samples in the predicted current image.
19. An apparatus for encoding a video signal, comprising: an encoder encoding at least a portion of a current image in a current layer based on at least a residual coded portion of a base image in a base layer, and recording shift information for samples in the predicted current image in the encoded video signal .
PCT/KR2006/001197 2005-04-01 2006-03-31 Method for scalably encoding and decoding video signal WO2006104364A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP06716551A EP1878248A4 (en) 2005-04-01 2006-03-31 Method for scalably encoding and decoding video signal
CN200680016296XA CN101176349B (en) 2005-04-01 2006-03-31 Method for scalably encoding and decoding video signal

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
US66711505P 2005-04-01 2005-04-01
US60/667,115 2005-04-01
US67024605P 2005-04-12 2005-04-12
US67024105P 2005-04-12 2005-04-12
US60/670,241 2005-04-12
US60/670,246 2005-04-12
KR10-2005-0084729 2005-09-12
KR1020050084729A KR20060105407A (en) 2005-04-01 2005-09-12 Method for scalably encoding and decoding video signal

Publications (1)

Publication Number Publication Date
WO2006104364A1 true WO2006104364A1 (en) 2006-10-05

Family

ID=37053593

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2006/001197 WO2006104364A1 (en) 2005-04-01 2006-03-31 Method for scalably encoding and decoding video signal

Country Status (3)

Country Link
EP (1) EP1878248A4 (en)
KR (1) KR100883604B1 (en)
WO (1) WO2006104364A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7864841B2 (en) 2005-04-01 2011-01-04 Lg Electronics, Inc. Method for scalably encoding and decoding video signal
US8660180B2 (en) 2005-04-01 2014-02-25 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
US8755434B2 (en) 2005-07-22 2014-06-17 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
US8761252B2 (en) 2003-03-27 2014-06-24 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
US9357218B2 (en) 2010-05-04 2016-05-31 Lg Electronics Inc. Method and apparatus for processing a video signal

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013069972A1 (en) * 2011-11-08 2013-05-16 한국전자통신연구원 Method for intra-prediction and device thereof
DE202023001728U1 (en) 2023-08-02 2023-10-19 Torsten Hilpert Linear drive with piston segments

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6057884A (en) * 1997-06-05 2000-05-02 General Instrument Corporation Temporal and spatial scaleable coding for video object planes
US6510177B1 (en) * 2000-03-24 2003-01-21 Microsoft Corporation System and method for layered video coding enhancement
US6728317B1 (en) * 1996-01-30 2004-04-27 Dolby Laboratories Licensing Corporation Moving image compression quality enhancement using displacement filters with negative lobes
US6836512B2 (en) * 2000-10-11 2004-12-28 Koninklijke Philips Electronics N.V. Spatial scalability for fine granular video encoding

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5418570A (en) * 1992-03-03 1995-05-23 Kabushiki Kaisha Toshiba Motion picture coding apparatus
US7694326B2 (en) * 2002-05-17 2010-04-06 Sony Corporation Signal processing system and method, signal processing apparatus and method, recording medium, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6728317B1 (en) * 1996-01-30 2004-04-27 Dolby Laboratories Licensing Corporation Moving image compression quality enhancement using displacement filters with negative lobes
US6057884A (en) * 1997-06-05 2000-05-02 General Instrument Corporation Temporal and spatial scaleable coding for video object planes
US6510177B1 (en) * 2000-03-24 2003-01-21 Microsoft Corporation System and method for layered video coding enhancement
US6836512B2 (en) * 2000-10-11 2004-12-28 Koninklijke Philips Electronics N.V. Spatial scalability for fine granular video encoding

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8761252B2 (en) 2003-03-27 2014-06-24 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
US9288486B2 (en) 2005-04-01 2016-03-15 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
US7864849B2 (en) 2005-04-01 2011-01-04 Lg Electronics, Inc. Method for scalably encoding and decoding video signal
US7970057B2 (en) 2005-04-01 2011-06-28 Lg Electronics Inc. Method for scalably encoding and decoding video signal
US8369400B2 (en) 2005-04-01 2013-02-05 Lg Electronics, Inc. Method for scalably encoding and decoding video signal
US8514936B2 (en) 2005-04-01 2013-08-20 Lg Electronics Inc. Method for scalably encoding and decoding video signal
US8660180B2 (en) 2005-04-01 2014-02-25 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
US7864841B2 (en) 2005-04-01 2011-01-04 Lg Electronics, Inc. Method for scalably encoding and decoding video signal
US8755434B2 (en) 2005-07-22 2014-06-17 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
US9357218B2 (en) 2010-05-04 2016-05-31 Lg Electronics Inc. Method and apparatus for processing a video signal
US9363520B2 (en) 2010-05-04 2016-06-07 Lg Electronics Inc. Method and apparatus for processing a video signal
US9936202B2 (en) 2010-05-04 2018-04-03 Lg Electronics Inc. Method and apparatus for processing a video signal
US10397580B2 (en) 2010-05-04 2019-08-27 Lg Electronics Inc. Method and apparatus for processing a video signal
US10666947B2 (en) 2010-05-04 2020-05-26 Lg Electronics Inc. Method and apparatus for processing a video signal
US11006123B2 (en) 2010-05-04 2021-05-11 Lg Electronics Inc. Method and apparatus for processing a video signal

Also Published As

Publication number Publication date
KR20080004565A (en) 2008-01-09
KR100883604B1 (en) 2009-02-13
EP1878248A4 (en) 2012-11-21
EP1878248A1 (en) 2008-01-16

Similar Documents

Publication Publication Date Title
US8514936B2 (en) Method for scalably encoding and decoding video signal
US9288486B2 (en) Method and apparatus for scalably encoding and decoding video signal
US7924917B2 (en) Method for encoding and decoding video signals
US20060133482A1 (en) Method for scalably encoding and decoding video signal
US8755434B2 (en) Method and apparatus for scalably encoding and decoding video signal
US8660180B2 (en) Method and apparatus for scalably encoding and decoding video signal
KR100880640B1 (en) Method for scalably encoding and decoding video signal
EP1878249B1 (en) Method for scalably decoding a video signal
KR100883604B1 (en) Method for scalably encoding and decoding video signal
US20060120454A1 (en) Method and apparatus for encoding/decoding video signal using motion vectors of pictures in base layer
US20080008241A1 (en) Method and apparatus for encoding/decoding a first frame sequence layer based on a second frame sequence layer
US20060159176A1 (en) Method and apparatus for deriving motion vectors of macroblocks from motion vectors of pictures of base layer when encoding/decoding video signal
US20070223573A1 (en) Method and apparatus for encoding/decoding a first frame sequence layer based on a second frame sequence layer
US20070280354A1 (en) Method and apparatus for encoding/decoding a first frame sequence layer based on a second frame sequence layer
US20070242747A1 (en) Method and apparatus for encoding/decoding a first frame sequence layer based on a second frame sequence layer
KR100878825B1 (en) Method for scalably encoding and decoding video signal

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200680016296.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

WWE Wipo information: entry into national phase

Ref document number: 1020077025372

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2006716551

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2006716551

Country of ref document: EP