US20120099652A1 - Method and apparatus for scalable motion vector coding - Google Patents

Method and apparatus for scalable motion vector coding Download PDF

Info

Publication number
US20120099652A1
US20120099652A1 US13/338,795 US201113338795A US2012099652A1 US 20120099652 A1 US20120099652 A1 US 20120099652A1 US 201113338795 A US201113338795 A US 201113338795A US 2012099652 A1 US2012099652 A1 US 2012099652A1
Authority
US
United States
Prior art keywords
block
motion vector
blocks
motion
frame
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.)
Abandoned
Application number
US13/338,795
Inventor
John W. Woods
Yongjun Wu
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 US10/864,833 external-priority patent/US7627040B2/en
Priority claimed from US10/965,237 external-priority patent/US7653133B2/en
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority to US13/338,795 priority Critical patent/US20120099652A1/en
Publication of US20120099652A1 publication Critical patent/US20120099652A1/en
Abandoned legal-status Critical Current

Links

Images

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
    • H04N19/31Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability in the temporal domain
    • 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/36Scalability techniques involving formatting the layers as a function of picture distortion after decoding, e.g. signal-to-noise [SNR] scalability
    • 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
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • 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/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
    • H04N19/64Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission
    • H04N19/647Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission using significance based coding, e.g. Embedded Zerotrees of Wavelets [EZW] or Set Partitioning in Hierarchical Trees [SPIHT]
    • 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

  • Methods and apparatuses consistent with the present invention relate to scalable video coding, and more specifically, to scalable motion vector coding by providing motion vector with scalability, i.e., adjusting the amount of bit allotted to motion vector and coding motion vector residual based on Context Based Adaptive Binary Arithmetic Coder (CABAC).
  • CABAC Context Based Adaptive Binary Arithmetic Coder
  • bitstream is generally divided into motion vector information (motion vector, divided block map, etc) and texture information including residual obtained by motion estimation.
  • Motion information is losslessly compressed.
  • currently used motion vector coding in the context of scalable video coders collects all the motion information together and places it at the beginning of the compressed bitstream. Because it contains the motion vectors at the highest frame rate and for the best image quality, this portion of data takes a large amount of bits. Hence, the coding performance at low bit-rates is relatively poor because the truncated bitstream contains mostly the motion information.
  • the present invention provides a scalable motion vector coding method comprising: estimating a motion vector of a current block with a first pixel accuracy; separating the estimated motion vector into a base layer's motion vector component having a second pixel accuracy and an enhancement layer's motion vector component having a third pixel accuracy; and coding the base layer's motion vector component and the enhancement layer's motion vector component respectively.
  • the present invention provides a scalable motion vector coder comprising: a motion estimation unit estimating a motion vector of a current block with a first pixel accuracy; a separating unit separating the estimated motion vector into a base layer's motion vector component having a second pixel accuracy and an enhancement layer's motion vector component having a third pixel accuracy; and a motion vector coding unit coding the base layer's motion vector component and the enhancement layer's motion vector component.
  • the present invention provides a scalable motion vector coding method comprising: dividing a current frame into a plurality of blocks and performing motion estimation to determine a motion vector for each of the divided blocks; forming a base layer including motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size, using the motion vectors of the divided blocks; and coding the base layer and the enhancement layer, respectively.
  • the present invention provides a scalable motion vector coder comprising: a motion estimation unit dividing a current frame into a plurality of blocks and performing motion estimation to determine a motion vector for each of the divided blocks; a layer forming unit forming a base layer including motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size, using the motion vectors of the divided blocks; and a layered motion vector coding unit coding the base layer and the enhancement layer, respectively.
  • the present invention provides a scalable motion vector decoding method for decoding a motion vector coded into a base layer and an enhancement layer, comprising: extracting motion vector information by analyzing an input bitstream; restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector, wherein the base layer has a pixel accuracy that is lower than that of an estimated motion vector and the enhancement layer has a pixel accuracy that is higher than that of the motion vector component of the base layer.
  • the present invention provides a scalable motion vector decoder for decoding a motion vector coded into a base layer and an enhancement layer, comprising: a motion vector restoring unit extracting motion vector information by analyzing an input bitstream and restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and a summing unit summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector, wherein the base layer has a pixel accuracy that is lower than that of an estimated motion vector and the enhancement layer has a pixel accuracy that is higher than that of the motion vector component of the base layer.
  • the present invention provides a scalable motion vector decoding method for decoding a motion vector coded into a base layer and an enhancement layer, comprising: extracting motion vector information by analyzing an input bitstream; restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector, wherein the base layer includes information about motion vectors of blocks larger than or equal to a predetermined size and the enhancement layer includes information about motion vectors of blocks smaller than the predetermined size.
  • the present invention provides a scalable motion vector decoder for decoding a motion vector coded into a base layer and an enhancement layer, comprising: a motion vector restoring unit extracting motion vector information by analyzing an input bitstream and restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and a summing unit summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector, wherein the base layer includes information about motion vectors of blocks larger than or equal to a predetermined size and the enhancement layer includes information about motion vectors of blocks smaller than the predetermined size.
  • the present invention advantageously provides motion vector scalability with respect to temporal, SNR and resolution in the context of scalable video coders and enhances the visual quality of video in the low bit-rate and resolution than currently exists in the related art.
  • FIG. 1 illustrates a video coding system comprising a Motion Compensated Temporal Filtering (MCTF) processor, in accordance with an exemplary embodiment of the present invention.
  • MCTF Motion Compensated Temporal Filtering
  • FIG. 2 illustrates the MCTF process implemented by the MCTF processor of FIG. 1 , in accordance with an exemplary embodiment of the present invention.
  • FIG. 3 is a flow chart depicting utilizing I-BLOCKs in temporal high frames generated by the MCTF process of FIG. 2 , in accordance with an exemplary embodiment of the present invention.
  • FIG. 4 illustrates connections between pixels of successive frames, in accordance with an exemplary embodiment of the present invention.
  • FIG. 5 illustrates a frame comprising I-BLOCKs and P-BLOCKs, in accordance with an exemplary embodiment of the present invention.
  • FIG. 6 illustrates notation used for spatial interpolation of an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 7A-7C illustrate spatial interpolation of an I-BLOCK for a case in which only one neighbor block is available, in accordance with an exemplary embodiment of the present invention.
  • FIG. 8 illustrates a variable block size of I-BLOCKs in a frame, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 9A-9F illustrate directional spatial interpolation of an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 10 illustrates hybrid spatial interpolation of an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 11 illustrates a current frame that has been configured into variable-size blocks, in accordance with an exemplary embodiment of the present invention.
  • FIG. 12 illustrates the current frame of FIG. 11 and its reference frame together with motion vectors that link blocks in the current frame with corresponding blocks in the reference frame, in accordance with an exemplary embodiment of the present invention.
  • FIG. 13A is a flow chart for utilizing variable block-size OBMC in the MCTF temporal high frames of FIG. 2 , in accordance with an exemplary embodiment of the present invention.
  • FIG. 13B is a flow chart describing the variable block-size OBMC processing operation of FIG. 13A , in accordance with an exemplary embodiment of the present invention.
  • FIG. 14 is a block diagram of frame processing associated with the flow charts of FIGS. 13A-13B , in accordance with an exemplary embodiment of the present invention.
  • FIG. 15 illustrates two successive input frames to be transformed by the MCTF into a high temporal frame and a low temporal frame, in accordance with an exemplary embodiment of the present invention.
  • FIG. 16 illustrates a self block and associated nearest neighboring blocks used by OBMC, in accordance with an exemplary embodiment of the present invention.
  • FIG. 17A illustrates 4 ⁇ 4 weighting windows, wherein a self block is a motion block, in accordance with an exemplary embodiment of the present invention.
  • FIG. 17B illustrates 4 ⁇ 4 weighting windows, wherein a self block is an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 18A illustrates 8 ⁇ 8 weighting windows, wherein a self block is a motion block, in accordance with an exemplary embodiment of the present invention.
  • FIG. 18B illustrates 8 ⁇ 8 weighting windows, wherein a self block is an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 19 shows the frame of FIG. 11 such that portions of selected nearest neighbor blocks are depicted, the selected nearest neighbor blocks being larger than their associated self block, in accordance with an exemplary embodiment of the present invention.
  • FIG. 20 shows the frame of FIG. 11 , depicting portions of a self block that is larger than associated nearest neighbor blocks, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 21A through 21C depict weighting windows for a self block and an associated smaller nearest neighboring block used by OBMC in conjunction with a shrinking scheme wherein the nearest neighboring block is a motion block, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 22A through 22C depict weighting windows for a self block and an associated smaller nearest neighboring block used by OBMC in conjunction with a reflecting scheme wherein the nearest neighboring block is an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 23 is a flow chart for calculating weighting windows for variable block-size OBMC, in accordance with an exemplary embodiment of the present invention.
  • FIG. 24 is a flow chart for calculating successively improved motion vectors for the self blocks of a current frame processed according to variable block size OBMC using the probability weighting windows calculated according to according to the methodology described by the flow charts of FIGS. 13A , 13 B, and 23 , in accordance with an exemplary embodiment of the present invention.
  • FIG. 25 illustrates an example of a quad-tree dividing map resulting from motion estimation according to an embodiment of the present invention.
  • FIG. 26 illustrates the scan order of frames and blocks divided according to the quad-tree dividing map of FIG. 25 .
  • FIG. 27 is a view for explaining the spatial prediction of a motion vector of a current block from neighboring blocks according to an embodiment of the present invention.
  • FIG. 28 is a flowchart illustrating a scalable motion vector coding method according to an embodiment of the present invention, in which a motion vector is separated into a base layer and an enhancement layer according to pixel accuracies.
  • FIG. 29 is a block diagram of a scalable motion vector coder according to an embodiment of the present invention.
  • FIG. 30 illustrates division of a motion vector according to pixel accuracies according to an embodiment of the present invention.
  • FIG. 31 illustrates a motion vector bitstream 3100 produced according to an embodiment of the present invention.
  • FIG. 32 is a view for explaining a layered structure of a motion vector, applied to the scalable motion vector coding method according to another embodiment of the present invention.
  • FIG. 33 is a flowchart illustrating the scalable motion vector coding method according to another embodiment of the present invention.
  • FIG. 34 is a view for explaining a sub-sample selection scheme applied to a layered structure of a motion vector according to another embodiment of the present invention.
  • FIG. 35 is a block diagram of a scalable motion vector coder 3500 according to another embodiment of the present invention.
  • FIG. 36 illustrates a bitstream produced by the scalable motion vector coding method and the scalable motion vector coder according to another embodiment of the present invention.
  • FIG. 37 is a block diagram of a scalable motion vector decoder 3700 according to an embodiment of the present invention.
  • Video compression schemes remove redundant information from input video signals before their transmission, by encoding frames of the input video signals into compressed information that represents an approximation of the images comprised by the frames of the input video signals. Following the transmission of the compressed information to its destination, the video signals are reconstructed by decoding the approximation of the images from the compressed information. With temporal redundancy, pixel values are not independent but are correlated with their neighbors across successive frames of the input video signals.
  • MCP motion-compensated prediction
  • a video signal is typically divided into a series of groups of pictures (GOP), where each GOP begins with an intra-coded frame (I) followed by an arrangement of forward predictive-coded frames (P) and bidirectional predicted frames (B). Both P-frames and B-frames are interframes.
  • a target macroblock in a P-frame can be predicted from one or more past reference frames (forward prediction).
  • Bidirectional prediction also called motion-compensated (MC) interpolation, is an important feature of MPEG video.
  • B-frames coded with bidirectional prediction use two reference frames, one in the past and one in the future.
  • a target macroblock in a B-frame can be predicted from past reference frames (forward prediction) or from future reference frames (backward prediction), or by an average of these two predictions (interpolation).
  • the target macroblock in either a P-frame or a B-frame can also be intra coded as an I-BLOCK or a P-BLOCK as defined infra.
  • Forward or backward prediction encodes data in a current input frame (i.e., picture) based upon the contents of a preceding or succeeding reference frame, respectively, in consideration of luminance and/or chrominance values at the pixels in both the current input frame and one or more reference frames.
  • the reference frames used for the predictive encoding are either preceding reference frames or succeeding reference frames.
  • the predictive encoding utilizes motion compensated prediction (MCP) to successively shift blocks in the reference frames, within a predetermined search range, to determine whether there is a 16 ⁇ 16 array of pixels found within a reference frame which has at least a given minimum degree of correlation with the input block.
  • MCP motion compensated prediction
  • the amount and direction of displacement between the found 16 ⁇ 16 pixel array in the reference frame and the input block is obtained in the form of a motion vector (MV), with horizontal and vertical components.
  • the respective values of the difference between the pixel values (e.g., luminance values alone or luminance and chrominance values) of the input block and the corresponding pixels within the found 16 ⁇ 16 array of pixels in the reference frame are motion compensated prediction error values, sometimes called prediction residuals or simply residuals.
  • prediction from a preceding reference frame is referred to as forward prediction
  • backward prediction is referred to as backward prediction.
  • the input block may be intra-coded within the input frame, and is referred to as an I-BLOCK.
  • values for the input block may be predicted based on 16 ⁇ 16 blocks of pixels within both preceding and succeeding reference frames, respectively.
  • the preceding discussion of 16 ⁇ 16 pixel blocks is merely illustrative and the scope of the present invention includes pixel blocks of any pixel array size.
  • VSBM variable size block matching
  • An unconnected block within a current input frame is classified to be either an I-BLOCK or a P-BLOCK.
  • An I-BLOCK is defined as an input block in the current input frame that does not have sufficient correlation (e.g., a given minimum degree of correlation) with a corresponding block of pixels in the reference frame that is being used for forward or backward prediction in relation to the frame. Due to the lack of sufficient correlation, an I-BLOCK is encoded entirely within the given frame independent of a reference frame.
  • a P-BLOCK is encoded by: forward prediction from the reference frame under the assumption that the reference frame precedes the given frame; backward prediction from the reference frame under the assumption that the reference frame succeeds the given frame; or bidirectional prediction using both a preceding and succeeding reference frame.
  • I-BLOCK is a block of newly uncovered pixels in the current input frame having no corresponding pixels in the preceding frame.
  • Other examples of I-BLOCKs include poorly matched motion blocks such as, inter alia, a block of partially covered or partially occluded pixels in the current input frame wherein the block does not have sufficient correlation with a corresponding block of pixels in the reference frame.
  • the present invention provides a method of determining and encoding I-BLOCKs.
  • the present invention is directed to the quality of the motion, since Motion Compensated Temporal Filtering (MCTF) is rather sensitive to the quality.
  • MCTF Motion Compensated Temporal Filtering
  • the conventionally used block based motion in MPEG video standards is not of sufficient high quality to avoid the creation of artifacts in the lower frame rate videos output by the MCTF and resultant scalable video coder.
  • VSBM scalable video coder
  • the present invention provides a method of determining and coding a more smooth and consistent motion for MCTF use.
  • the present invention provides method and apparatus for scalable motion vector coding based on CABAC for MC-Embedded Zero Block Coding (EZBC).
  • EZBC MC-Embedded Zero Block Coding
  • a layered structure for motion vector coding and Alphabet General Partition (AGP) of motion vector symbols are employed for signal-to-noise ration (SNR) and resolution scalability of motion vector bitstream.
  • SNR signal-to-noise ration
  • the present invention provides temporal, SNR and resolution scalability for motion vectors, and improve significantly both visual and objective results for low rates and low resolution with slight PSNR loss and unnoticeable visual loss at high rates.
  • a “video coding system” is a system that encodes video data.
  • a “video coder” is an algorithm which reduces the number of bits necessary to store a video clip by removing redundancy and introducing controlled distortion
  • a “subband/wavelet coder” is a video coder that uses the subband/wavelet transformation in the process of redundancy reduction
  • a “temporal correlation” is a correlation between pixels in adjacent or nearby frames
  • “Motion estimation” is estimation of a motion or displacement vector that locates a matching block in another frame
  • MC Motion compensation
  • MCTF Motion compensated temporal filtering
  • Temporal low frame is a frame containing the spatial low frequencies that are common in a pair (or larger set) of frames.
  • Temporal high frame is a frame containing the spatial high frequencies that constitute the MC difference in a pair (or larger set) of frames
  • Temporal redundancy denotes a dependency between pixels in adjacent or nearby frames
  • Block matching is a method that assigns one motion to a block of pixels.
  • Variable size block matching is a block matching motion estimation using variable size blocks to better represent the motion.
  • Block sizes may range, inter alia, from 4 ⁇ 4 to 64 ⁇ 64.
  • Hierarchical VSBM is a motion estimation method that uses a hierarchy of spatial resolutions to perform the VSBM, progressing from lowest to highest (full) resolution.
  • OBMC overlapped block motion compensation
  • a “global motion vector” is a motion vector that is used for the entire frame, wherein the pertinent block size is equal to the frame size.
  • An “unconnected area” is an area of the image frame that does not have a corresponding region in the reference frames or a region where the motion is too complicated for the motion estimator to track properly.
  • MCP Motion compensated prediction
  • DMD Displaced frame difference
  • a “hybrid coder” is a video coder such as MPEG-2 that makes use of MC prediction inside a feedback loop to temporally compress the data, and then a spatial transform coder to code the resulting prediction error.
  • Moving Picture Experts Group which is one of subcommittees of International Organization for Standardization (ISO) is exploring scalable coding.
  • the purpose of MPEG is to design international standards for the transmission and storage of combined audio and video signals.
  • a key element in this is the compression of these audiovisual signals due to their large uncompressed size.
  • a scalable video coder provides an embedded bit stream containing a whole range of bit rates, lower resolutions, and lower frame rates, in addition to the full frame rate and full resolution input to the scalable coder. With the embedding, the lower bit rate result is embedded in each of the higher bit rate streams.
  • FIG. 1 illustrates a video coding system 50 , in accordance with an exemplary embodiment of the present invention.
  • Input video 51 is received by an MCTF processor 52 and comprises a group of pictures (GOP) such as 16 input frames. Each frame has pixels, and each pixel has pixel value for the pixel characteristics of luminance and chrominance.
  • the MCTF processor 52 needs motion information in the form of a motion vector.
  • the input video 51 data is sent from the MCTF processor 52 to a motion estimation unit 56 which determines the motion vectors and sends the determined motion vectors back up to the MCTF processor 52 to perform the motion compensated temporal filtering.
  • the motion information is coded in the motion field coding processor 57 , and then transmitted to the packetizer 55 .
  • the motion field coding processor 57 according to the present invention codes the motion information scalablely using CABAC.
  • the MCTF processor 52 generates output frames comprising one temporal low frame and multiple temporal high frames of transformed pixel values, derived from the input frames of the input video 51 as will be described infra in conjunction with FIG. 2 .
  • the generated output frames are processed by spatial analysis unit 53 by being analyzed spatially with a subband wavelet coder, namely a discrete wavelet transform.
  • the spatial analysis unit 53 decomposes the generated output frames (i.e., one temporal low frame and multiple temporal high frames) into one low frequency band and bands having increasing scales of higher and higher frequency.
  • the spatial analysis unit 53 performs a spatial pixel transformation to derive spatial subbands in a manner that is analogous to pixel transformation performed by the MCTF processor 52 in the time domain.
  • the output of spatial analysis unit 53 is uncompressed floating point data and many of the subbands may comprise mostly near zero values.
  • the embedded zero block coder 54 is one of a family of subband/wavelet coders that exploit temporal correlation but is fully embedded in quality/bit-rate, spatial resolution, and frame rate.
  • the embedded zero block coder 54 algorithm provides the basic scalability properties by individually coding each spatial resolution and temporal high subband.
  • the embedded zero block coder 54 includes a compression block that quantizes the subband coefficients and assigns bits to them. The quantizing converts the floating point output of spatial analysis unit 53 to a binary bit representation, followed by truncating the binary bit representation to discard relatively insignificant bits such that no more than negligible distortion is generated from the truncation.
  • the embedded zero block coder 54 is an adaptive arithmetic coder which converts the fixed bit strings into variable length strings, thereby achieving further compression.
  • the embedded zero block coder 54 is both a quantizer and a variable length coder called a conditional adaptive arithmetic coder. Whereas the quantizer is throwing away bits, the variable length coder compresses output from the quantizer losslessly.
  • the bit streams generated by the embedded zero block coder 54 are interleaved and sent to the packetizer 55 .
  • the embedded zero block coder 54 can be substituted by another suitable embedded or layered coder, e.g., JPEG 2000 and others.
  • the packetizer 55 combines the bits of the streams generated by the embedded zero block coder 54 with the bits of motion vectors (needed for doing decoding later) transmitted from the motion field coding processor 57 and separates the combination of bits into packets of desired sizes (e.g., Internet packets of 500 kilobytes or less). The packetizer 55 subsequently sends the packets over a communication channel to a destination (e.g., a storage area for storing the encoded video information).
  • a destination e.g., a storage area for storing the encoded video information
  • FIG. 2 illustrates the MCTF process implemented by the MCTF processor 52 of FIG. 1 for an exemplary GOP size of 16 frames, in accordance with an exemplary embodiment of the present invention.
  • FIG. 2 shows 5 levels in the MCTF process of successive filtering, namely levels 5 , 4 , 3 , 2 , and 1 having 16, 8 4, 2, and 1 frames therein, respectively.
  • Level 5 contains the 16 input frames of the input video 51 of FIG. 1 , namely input frames F 1 , F 2 , . . . , F 16 ordered in the direction of increasing time from left to right.
  • MC temporal filtering is performed on pairs of frames to produce temporal low (t-L) and high (t-H) subband frames at the next lower temporal scale or frame rate.
  • t-L temporal low
  • t-H high subband frames
  • solid lines indicate the temporal low frames
  • dashed lines indicate the temporal high frames.
  • curved lines indicate the corresponding motion vectors.
  • the MC temporal filtering is performed four times in FIG. 2 to generate 5 temporal scales or frame rates, the original frame rate and four lower frame rates.
  • the frame rates generated are full rate, 1 ⁇ 2 full rate, 1 ⁇ 4 full rate, 1 ⁇ 8 full rate, and 1/16 full frame rate at levels 5 , 4 , 3 , 2 , and 1 , respectively.
  • the input frame rate were 32 frames per second (fps)
  • the lowest frame rate out is 2 fps at level 1 .
  • the lowest frame rate is denoted ( 1 )
  • the next higher frame rate is denoted as ( 2 ), etc.
  • the motion estimation unit 56 of FIG. 1 performs motion estimation from F 1 to F 2 , F 3 to F 4 , F 5 to F 6 , F 7 to F 8 , F 9 to F 10 , F 11 to F 12 , F 13 to F 14 , and F 15 to F 16 , and determines the associated motion vectors M 1 , M 2 , M 3 , M 4 , M 5 , M 6 , M 7 , and M 8 , respectively.
  • the frames being temporally filtered into temporal low and temporal high frames are called “child frames”.
  • the F 1 and F 2 frames are child frames of the L 1 and H 1 frames.
  • the corresponding pixel values in the temporal low and temporal high frames are proportional to V A +V B and V A ⁇ V B , respectively, in the special case where Haar filters are used for temporal filtering.
  • pixel values in temporal low frames are proportional to the average of the corresponding pixel values in the child frames.
  • pixel values in temporal high frames are proportional to the difference between corresponding pixel values in the child frames.
  • the pixels in the temporal high frames generally have a low energy (i.e., a large number of near zero values) and are therefore highly compressible.
  • the motion estimation unit 56 of FIG. 1 further performs motion estimation from L 1 to L 2 , L 3 to L 4 , L 5 to L 6 , and L 7 to L 8 , and determines the associated motion vectors M 9 , M 10 , M 11 , and M 12 , respectively.
  • temporal filtering on frames L 1 and L 2 to generate temporal low frame L 9 and temporal high frame H 9 ; temporal filtering on frames L 3 and L 4 to generate temporal low frame L 10 and temporal high frame H 10 ; temporal filtering on frames L 5 and L 6 to generate temporal low frame L 11 and temporal high frame H 11 ; and temporal filtering on frames L 7 and L 8 to generate temporal low frame L 12 and temporal high frame H 12 .
  • the motion estimation unit 56 of FIG. 1 further performs: motion estimation from: L 9 to L 10 and L 11 to L 12 and determines the associated motion vectors M 13 and M 14 , respectively.
  • the MCTF processor 52 of FIG. 1 further performs temporal filtering on frames L 9 and L 10 to generate temporal low frame L 13 and temporal high frame H 13 ; and temporal filtering on frames L 11 and L 12 to generate temporal low frame L 14 and temporal high frame H 14 .
  • the motion estimation unit 56 of FIG. 1 further performs motion estimation from L 13 to L 14 , and determines the associated motion vector M 15 .
  • the MCTF processor 52 of FIG. 1 further performs temporal filtering on frames L 13 and L 14 to generate temporal low frame L 15 and temporal high frame H 15 .
  • the 16 frames in this 5 level example consisting of the temporal low frame L 15 and the temporal high frames H 1 , H 2 , . . . , H 15 are output from the MCTF processor 52 to the spatial analysis unit 53 of FIG. 1 .
  • the temporal high frames H 1 , H 2 , . . . , H 15 may comprise a large number of near zero values, as explained supra, the temporal high frames H 1 , H 2 , . . . , H 15 frames are amenable to being highly compressed.
  • frames L 15 , H 1 , H 2 , . . . , H 15 the frames in Levels 2 , 3 , 4 , and 5 may be regenerated by sequentially reversing the process that generated frames L 15 , H 1 , H 2 , . . . , H 15 .
  • frames L 15 and H 15 of Level 1 may be mathematically combined to regenerate frames L 13 and L 14 of Level 2 .
  • frames L 13 and H 13 of Level 2 may be mathematically combined to regenerate frames L 9 and L 10 of Level 3
  • frames L 14 and H 14 of Level 2 may be mathematically combined to regenerate frames L 11 and L 12 of Level 3 .
  • This process may be sequentially continued until frames F 1 , F 2 , . . . , F 16 of Level 1 are regenerated. Since the compression performed by the embedded zero block coder 54 of FIG. 1 is lossy, the regenerated frames in Levels 2 - 5 will be approximately, but not exactly, the same as the original frames in Levels 2 - 5 before being temporally filtered.
  • the representative two frames of this pair of successive frames are denoted as frames A and B, wherein forward estimation is performed from frame A to frame B, so that frame A is earlier in time than frame B.
  • Newly uncovered pixels in frame B have no corresponding pixels in frame A.
  • occluded pixels in frame A have no corresponding pixel in frame B.
  • the present invention utilizes I-BLOCKs to deal locally with poorly matched motion blocks resulting from the newly uncovered pixels in frame B.
  • MC temporal filtering is omitted and spatial interpolation is used instead to determine pixel values in the I-BLOCK.
  • the resulting spatial interpolation error block for the I-BLOCK (also called the residual error block of the interpolated I-BLOCK) is subsequently overlayed on (i.e., inserted into) the corresponding block within the associated MCTF temporal high frame.
  • the present invention discloses a method of compressing video that involves a spatiotemporal or space-time transformation utilizing motion compensated blocks in pairs of input frames, such as the representative pair having input frames A and B. These blocks are of various sizes and are chosen to match the local motion vector field, so there are small blocks where the field has a high spatial gradient and large blocks in more flat regions where the spatial gradient is small. This block based motion field is used to control the spatiotemporal transformation so that it filters along approximate motion trajectories. The output of such a transformation is compressed for transmission or storage.
  • Some of the blocks may be unconnected with neighbors in the next frame (timewise) because of covering or uncovering of regions in the frame due to motion, e.g., a ball moving in front of a background object that is stationary.
  • Such regions i.e., I-BLOCKs
  • I-BLOCKs should not take part in the MC temporal filtering, since the MC temporal filtering would lead to artifacts in the low frame rate video.
  • These I-BLOCKs need to be compressed along with the other blocks (i.e., P-BLOCKs) in the temporal high frame.
  • the P-BLOCKs can be used to spatially predict the unconnected I-BLOCKs via spatial interpolation. These I-BLOCKs are thus suited to work with non-hybrid MCTF.
  • FIG. 3 is a flow chart a method for utilizing I-BLOCKs in the MCTF temporal high frames, in accordance with an exemplary embodiment of the present invention.
  • Operation 31 utilizes two successive frames, A and B, in an MCTF filtering level, wherein forward estimation is performed from frame A to frame B.
  • frames A and B could represent frames F 1 and F 2 in level 5 of FIG. 2 , or frames L 1 and L 2 in level 4 of FIG. 2 .
  • connection state of pixels in frames A and B is determined as illustrated in FIG. 4 in accordance with an exemplary embodiment of the present invention.
  • Each pixel in frames A and B will be classified as having a connection state of “connected” or “unconnected” as follows.
  • FIG. 4 shows pixels A 1 , A 2 , . . . , A 12 in frame A and pixels B 1 , B 2 , . . . , B 12 in frame B.
  • Pixels A 1 , A 2 , A 3 , and A 4 are in block 1 of frame A.
  • Pixels A 5 , A 6 , A 7 , and A 8 are in block 2 of frame A.
  • Pixels A 9 , A 10 , A 11 , and A 12 are in block 3 of frame A.
  • Pixels B 1 , B 2 , B 3 , and B 4 are in block 1 of frame B.
  • Pixels B 5 , B 6 , B 7 , and B 8 are in block 2 of frame B.
  • Pixels B 9 , B 10 , B 11 , and B 12 are in block 3 of frame B.
  • Pixels in frame A are used as references for pixels in frame B in relation to the forward motion estimation from frame A to frame B.
  • the blocks in frames A and B are 4 ⁇ 4 pixel blocks, and FIG. 4 shows only one column of each 4-column block.
  • a pixel P A in frame A that is pointed to by an arrow from a pixel P B in frame B is being used as a reference for pixel P B .
  • pixel A 1 in frame A is being used as a reference for pixel B 1 in frame B.
  • pixel A 3 is being used as a reference by pixels B 3 and B 5 of frame B, and the present invention uses an algorithm based on minimum mean-squared displaced frame difference (DFD) (to be defined infra) calculations to retain pixel A 1 as a reference for pixel B 3 or for pixel B 5 but not for both pixels B 3 and B 5 .
  • DFD minimum mean-squared displaced frame difference
  • the algorithm calculates DFD 11 which is the mean-squared DFD between block 1 of frame A and block 1 of frame B.
  • the algorithm calculates DFD 12 which is the mean-squared DFD between block 1 of frame A and block 2 of frame B. If DFD 11 is less than DFD 12 then pixel A 3 is retained as a reference for pixel B 3 and pixel A 3 is dropped as a reference for pixel B 5 . If DFD 12 is less than DFD 11 then pixel A 3 is retained as a reference for pixel B 5 and is dropped a reference for pixel B 3 . If DFD 11 is equal to DFD 12 then any tie-breaker may be used.
  • a first example of a tie-breaker is “scan order” which means that pixel A 3 is retained as a reference for whichever of pixels B 3 and B 5 is first determined to use pixel A 3 as a reference.
  • a second example of a tie-breaker is to pick a random number R from a uniform distribution between 0 and 1, and to retain pixel A 3 as a reference for pixel B 3 if R is less than 0.5; or as a reference for pixel B 5 if R is not less than 0.5.
  • DFD 11 is less than DFD 12 so that pixel A 3 is retained as a reference for pixel B 3 and dropped as a reference for pixel B 5 .
  • pixels B 4 and B 6 each use pixel A 4 as a reference and the previously-described DFD-based algorithm may be used to retain pixel A 4 as a reference for either pixel B 4 or pixel B 6 but not for both pixels B 4 and B 6 .
  • pixel A 4 is retained as a reference for pixel B 4 and dropped as a reference for pixel B 6 based on the previously-described DFD-based algorithm.
  • a pixel in frame B is labeled as unconnected if not using a reference pixel in frame A after the DFD-based algorithm has been applied to resolve those cases in which a pixel in frame A is used as a reference by more than one pixel in frame B.
  • pixels A 3 and A 4 were dropped as a reference for pixels B 5 and B 6 , respectively, after application of the DFD-based algorithm, as explained supra. Accordingly, pixels B 5 and B 6 are unconnected. Otherwise pixels in frame B are connected. Accordingly, pixels B 1 -B 4 and B 7 -B 12 are connected.
  • the previously-described DFD-based algorithm may be executed before operation 32 , between operations 32 and 33 , or after operation 33 .
  • the previously-described DFD-based algorithm may be executed before operation 33 , between operations 33 and 32 , or after operation 32 .
  • connection state i.e., connected or unconnected
  • operation 32 may alternatively be omitted, since the connection state of each pixel in frame B requires knowledge of the reference pixels in frame A for each pixel in frame B but does not require knowledge of the connection state of each pixel in frame A.
  • the mean-squared DFD between a block in frame A and a block in frame B is defined as follows. Let n denote the number of pixels in each of the blocks. Let V A1 , V A2 , . . . V An denote the values (e.g., luminance or chrominance) of the pixels in the block in frame A. Let V B1 , V B2 , . . . , V Bn , denote the values of the corresponding pixels in the block in frame B.
  • the mean-squared DFD between the block in frame A and the block in frame B is:
  • Mean-squared DFD [( V A1 ⁇ V B1 ) 2 +( V A2 ⁇ V B2 ) 2 + . . . +( V An ⁇ V Bn ) n ]/n (1)
  • Operation 34 classifies the blocks in frame B as being “uni-connected” or “unconnected”, in accordance with an exemplary embodiment of the present invention. If at least a fraction F of the pixels in a block of a frame are unconnected, then the block is an “unconnected” block; otherwise the block is a “uni-connected” block.
  • the fraction F has a value reflective of a tradeoff between image quality and processing time, since I-BLOCKs require extra processing time.
  • the fraction F may have a value, inter alia, of at least 0.50 (e.g., in a range of 0.50 to 0.60, 0.50 to 0.75, 0.60 to 0.80, 0.50 to 1.00, 0.30 to 1.00, 0.50 to less than 1.00, etc.).
  • a matched block in frame A (called a uni-connected block of frame A) may be determined for each uni-connected block in frame B.
  • the resultant uni-connected blocks in frames A and B form a set of matched pairs of uni-connected blocks, wherein each matched pair consists of a uni-connected block in frame B and a matched uni-connected block in frame A.
  • Let the matched pair of uni-connected blocks be denoted as first and second uni-connected blocks in frame A and frame B, respectively.
  • Operation 35 reclassifies the first and second uni-connected blocks of the matched pair of uni-connected blocks as being unconnected if the following reclassification criteria is satisfied, in accordance with an exemplary embodiment of the present invention.
  • V 1 and V 2 denote the pixel variance of the first and second uni-connected blocks, respectively.
  • the pixel variance of a block is the mean-squared deviation between the pixel values in the block and the mean pixel value for the block.
  • V MIN denote the minimum of V 1 and V 2 .
  • first and second uni-connected blocks are reclassified as being unconnected blocks if the mean-squared DFD between the first and second blocks exceeds fV MIN , wherein f is a real number in a range of 0 to 1.
  • f may be in a range of, inter alia, 0.4 to 0.6, 0.5 to 0.7, 0.4 to 0.75, 0.5 to 0.9, 0.4 to 1.00, etc.
  • Operation 36 categorizes each unconnected block in frame B as a P-BLOCK or an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • An I-BLOCK will subsequently have its initial pixel values replaced by spatially interpolated values derived from neighboring pixels outside of the I-BLOCK, as will be described infra.
  • the difference between an initial pixel value and a spatially interpolated pixel value of an I-BLOCK pixel is the residual error of the interpolated I-BLOCK pixel.
  • the block of residual errors at all pixels in the I-BLOCK is called a residual error block of, or associated with, the I-block.
  • an unconnected block is an I-BLOCK or a P-BLOCK
  • the interpolated I-BLOCK is formed, its residual error block is computed, and the absolute value of the sum of the residual errors (S RES ) in the residual error block is also computed.
  • S RES is called the “residual interpolation error” of the unconnected block.
  • the residual errors are the errors at the pixels of the residual error block.
  • forward and backward motion is performed on the unconnected block.
  • the sum of the absolute DFDs of the forward and backward motion compensated prediction errors are computed.
  • the minimum of the sum of the absolute DFDs for the forward and backward motion compensated prediction errors (S MC-MIN ) is determined.
  • S MC-MIN is called the “minimum motion compensated error” of the unconnected block.
  • the unconnected block is classified as an I-BLOCK if S RES is less than S MC-MIN .
  • the unconnected block is classified as a P-BLOCK if S RES is not less than S MC-MIN .
  • the I-BLOCKs determined in operation 36 are processed by spatial interpolation from available neighboring pixels and the residual error block associated with the interpolated I-BLOCK is generated, in accordance with an exemplary embodiment of the present invention.
  • the blocks in a frame may have a fixed size or a variable size.
  • FIGS. 5-7 and 9 describe infra interpolation an exemplary embodiment for the fixed block size case in accordance with an exemplary embodiment of the present invention, and FIG. 8 is used to describe infra the variable block size case in accordance with an exemplary embodiment of the present invention.
  • the residual error block associated with the interpolated I-BLOCK is overlayed on (i.e., placed within) the pertinent temporal high frame associated with the frame pair A and B being analyzed, for subsequent compression of the pertinent temporal high frame by the embedded zero block coder 54 after execution of the spatial analysis of FIG. 2 .
  • FIG. 7C shows that the residual error block contains numerous near zero values and is thus suitable for being efficiently compressed.
  • FIG. 5 shows a frame comprising I-BLOCKs, P-BLOCKs, and uni-connected blocks.
  • the I-BLOCKs comprise blocks 1 - 3
  • the P-BLOCKs and uni-connected blocks comprise the remaining blocks which include blocks 4 - 10 .
  • Each I-BLOCK has four possible neighbors: an upper neighbor, a lower neighbor, a left neighbor, and a right neighbor.
  • the blocks of a frame are processed in accordance with a scan order and only “available” blocks (i.e., previously processed I-BLOCKs having established pixel values therein, P-BLOCKs having original data therein, and/or uni-connected blocks) can be used for the spatial interpolation.
  • the spatial interpolation is performed following a raster scanning rule such as the aforementioned left-to-right and then top-to-bottom scanning rule. Based on the number of available neighbors and their positions, there are different interpolation functions.
  • FIG. 6 illustrates the following notation: “u” represents the upper neighboring pixels, “lw” represents the lower neighboring pixels, “lf” represent the left neighboring pixels, “r” represents the right neighboring pixels, and “in” represents the interpolated pixel values in the I-BLOCK.
  • the interpolation may be linear or non-linear and many different interpolation schemes may be used.
  • FIGS. 7A-7C illustrate a case in which only one neighbor block is available.
  • the 4 ⁇ 4 pixel I-BLOCK 40 in FIG. 7A is defined by row segments 41 - 44 , and it is assumed that the only available neighbors are in row segment 45 in a neighboring upper block above block 40 .
  • the example pixel values shown for I-BLOCK 40 in FIG. 7A are the initial values prior to the spatial interpolation.
  • the pixel values in row segment 45 are used for spatial interpolation.
  • the C-code in Table 1 may be used to effectuate the spatial interpolation.
  • FIG. 7B shows the resultant interpolated values in the I-BLOCK 40 resulting from execution of the C-code of Table 1.
  • FIG. 7C shows the residual error block determined by subtracting the interpolated pixel values of FIG. 7B from the initial pixel values of FIG. 7A .
  • the residual error block depicted FIG. 7C is overlayed within (i.e., placed within) the pertinent temporal high frame associated with the frame pair A and B being analyzed, for subsequent compression of the pertinent temporal high frame by the embedded zero block coder 54 of FIG. 2 . While FIGS.
  • Tables 2 and 3 illustrate interpolation algorithms in which two neighboring blocks are available.
  • Table 2 specifies formulas for calculating the interpolated pixel values in[0] . . . in[15] (see FIG. 6 ) in the 4 ⁇ 4 I-BLOCK using available neighboring pixels in the upper and left positions in accordance with the notation of FIG. 6 .
  • Table 3 specifies C-code for calculating the interpolated pixel values in[0] . . . in[15] in the 4 ⁇ 4 I-BLOCK using neighboring pixels in the upper and lower positions in accordance with the notation of FIG. 6 .
  • Table 4 illustrates interpolation algorithms in which three neighboring blocks are available. Table 4 specifies C-code for calculating the interpolated pixel values in[0] . . . in[15] (see FIG. 6 ) in the 4 ⁇ 4 I-BLOCK using neighboring pixels in the upper, left, and right positions in accordance with the notation of FIG. 6 .
  • Table 5 illustrates interpolation algorithms in which four neighboring blocks are available. Table 5 specifies C-code for calculating the interpolated pixel values in[0] . . . in[15] (see FIG. 6 ) in the 4 ⁇ 4 I-BLOCK using neighboring pixels in the upper, lower, left, and right positions in accordance with the notation of FIG. 6 .
  • FIG. 8 illustrates the variable block size case, which arises from 5-level hierarchical variable size block matching where block sizes range from 4 ⁇ 4 to 64 ⁇ 64.
  • I-BLOCKs 11 and 12 are shown.
  • Block 11 has a pixel size of 8 ⁇ 8 and block 12 has a pixel size of 4 ⁇ 4.
  • block 11 may be treated as 4 separate 4 ⁇ 4 I-BLOCKs for interpolation purposes, so that the spatial interpolation may be implemented as fixed-block interpolation.
  • FIGS. 9A-9F illustrate a directional spatial interpolation scheme for determining pixel values for I-BLOCKs, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 9A-9F depict a 4 ⁇ 4 I-BLOCK 61 within a portion of a frame 60 .
  • the portion of the frame 60 contains pixels P 11 . . . P 99 .
  • I-BLOCK 61 contains pixels P 22 , P 23 , P 24 , P 25 , P 32 , P 33 , P 34 , P 35 , P 42 , P 43 , P 44 , P 45 , P 52 , P 53 , P 54 , and P 55 .
  • FIGS. 9A-9F depict a 4 ⁇ 4 I-BLOCK 61 within a portion of a frame 60 .
  • the portion of the frame 60 contains pixels P 11 . . . P 99 .
  • I-BLOCK 61 contains pixels P 22 , P 23 , P 24 , P
  • FIGS. 9B-9F each represent an embodiment with a different value of ⁇ .
  • 45 degrees for the line 66 in FIG. 9A which passes through diagonally opposite vertices of pixels P 25 , P 34 , P 43 , and P 52 .
  • will differ from 45 degrees for line 62 in FIG. 9A if the pixels have a rectangular, non-square shape.
  • ⁇ and ⁇ +180 degrees represent the same set of parallel lines.
  • the interpolations along each such line utilizes pixel values of the nearest available neighbors on the line, wherein an available neighbor is a neighbor whose pixel value has been previously established.
  • the directional interpolation scheme assumes that at least one neighbor is always available for each such line of the parallel lines.
  • Lines 63 , 64 , . . . , 69 are called “directional lines.” Since line 63 passes though pixel P 22 , line 63 is used to determine the value of pixel P 22 based on interpolation using: neighbor pixels P 13 and P 31 if both pixel P 13 and pixel P 31 are available; only neighbor pixel P 13 if P 13 is available and pixel P 31 is not available; or only neighbor pixel P 31 if pixel P 31 is available and pixel P 13 is not available.
  • line 64 passes though pixels P 23 and P 32 , line 64 is used to determine the value of pixels P 23 and P 32 based on interpolation using: neighbor pixels P 14 and P 41 if both pixel P 14 and pixel P 41 are available; only neighbor pixel P 14 if pixel P 14 is available and pixel P 41 is not available; or only neighbor pixel P 31 if pixel P 31 is available and pixel P 13 is not available.
  • interpolations along lines 65 , 66 , 67 , 68 , and 69 are used to determine pixel values at (P 24 , P 33 , P 42 ), (P 25 , P 34 , P 43 , P 52 ), (P 35 , P 44 , P 53 ), (P 45 , P 54 ), and (P 55 ), respectively.
  • Lines 67 - 69 present alternative possibilities for nearest neighbors.
  • line 68 has neighbor pixels (P 36 , P 27 , and P 18 ) and (P 63 , P 72 , and P 81 ) at opposite borders of the I-BLOCK 61 .
  • the directional interpolation will use pixel P 36 if available since pixel P 36 is the nearest neighbor of the neighbor pixels (P 36 , P 27 , and P 18 ). If pixel P 36 is unavailable then the directional interpolation will use pixel P 27 if available since pixel P 27 is the nearest neighbor of the neighbors (P 27 and P 18 ).
  • the directional interpolation will use the remaining neighbor pixel P 18 if available. If pixel P 27 is unavailable then the directional interpolation will not use any of pixels (P 36 , P 27 , and P 18 ). Similarly, the directional interpolation will choose one pixel of neighbor pixels (P 63 , P 72 , and P 81 ) based on the nearest available neighbor criteria for making this choice.
  • the directional interpolation along line 68 for determining the values of pixels P 45 and P 54 will utilize one of the following neighbor pixel combinations: pixel P 63 alone, pixel P 72 alone, P 81 alone, pixels P 63 and P 36 , pixels P 63 and P 27 , pixels P 63 and P 18 , pixels P 72 and P 36 , pixels P 72 and pixels P 27 , P 72 and P 18 , pixels P 81 and P 36 , pixels P 81 and P 27 , pixels P 81 and P 18 , pixel P 36 alone, pixel P 27 alone, and pixel P 18 alone.
  • the directional interpolation for linear interpolation along line 68 is next illustrated for determining pixel values for pixels P 45 and P 54 , assuming that neighbor pixels P 36 and P 63 are both available.
  • the points Q 0 , Q 1 , Q 2 , Q 3 , and Q 4 along line 68 are as shown in FIG. 9B .
  • Point Q 0 , Q 1 , Q 2 , Q 3 , and Q 4 is at the midpoint of the portion of line 68 that respectively spans pixel P 27 , P 36 , P 45 , P 54 , and P 63 .
  • D 12 , D 13 , and D 14 respectively denote the distance between point Q 1 and point Q 2 , Q 3 , and Q 4 .
  • F 1214 and F 1314 respectively denote D 12 /D 14 and D 13 /D 14 .
  • V 36 and V 63 respectively denote the pixel value at pixel P 36 and P 63 .
  • the pixel value at pixel P 45 and P 54 is (1 ⁇ F 1214 )*V 36 +F 1214 *V 63 and (1 ⁇ F 1314 )*V 36 +F 1314 *V 63 , respectively.
  • the directional interpolation for linear interpolation along line 68 raises the question of how to do the interpolation if neighbor pixel P 36 in not available and neighbor pixel P 27 is available. If V 27 denotes the pixel value at pixel P 27 then V 27 will substitute for V 36 wherever V 36 appears in the interpolation formula. However, the scope of the present invention includes three options for treating the distances along line 68 .
  • a first option is to retain the parameters F 1214 and F 1314 in the interpolation formulas, which is conceptually equivalent utilizing point Q 1 as a reference for measuring distances even though pixel P 36 has been replaced by pixel P 27 as the nearest available neighbor.
  • the pixel value at pixel P 45 and P 54 is (1 ⁇ F 1214 )*V 27 +F 1214 *V 63 and (1 ⁇ F 1314 )*V 27 +F 1314 *V 63 , respectively.
  • a second option is to utilize distances from point Q 0 where line 68 begins at neighbor pixel P 27 .
  • D 02 , D 03 , and D 04 respectively denote the distance between point Q 0 and point Q 2 , Q 3 , and Q 4 .
  • F 0204 and F 0304 respectively denote D 02 /D 04 and D 03 /D 04 .
  • the pixel value at pixel P 45 and P 54 is (1 ⁇ F 0204 )*V 27 +F 0204 *V 63 and (1 ⁇ F 0304 )*V 27 +F 0304 *V 63 , respectively.
  • a third option is to use a compromise between the first and second options.
  • the parameters (F 1214 ,F 0204 ) AVE and (F 1314 ,F 0304 ) AVE are used, wherein (F 1214 ,F 0204 ) AVE is a weighted or unweighted average of F 1214 and F 0204 , and (F 1314 ,F 0304 ) AVE is a weighted or unweighted average of F 1314 and F 0304 .
  • the pixel value at pixel P 45 and P 54 is (1 ⁇ (F 1214 ,F 0204 ) AVE )*V 27 +(F 1214 ,F 0204 ) AVE *V 63 and (F 1314 ,F 0304 ) AVE *V 27 +(F 1314 ,F 0304 ) AVE *V 63 , respectively.
  • (F 1214 ,F 0204 ) AVE ) and (F 1314 ,F 0304 ) AVE are weighted averages, the weighting could be based on extrinsic factors such as an extrinsic knowledge of the relative importance of pixels P 36 and P 27 to the image quality of the I-BLOCK 61 along line 68 , irrespective of the distances of pixels P 36 and P 27 from points Q 2 and Q 3 along line 68 .
  • FIGS. 9C-9F are similar to FIG. 9B except for the value of ⁇ .
  • 90 degrees for directional lines 71 - 74 .
  • Values at pixels P 22 , P 32 , P 42 , and P 52 are determined from interpolation along line 71 , using a subset of neighbor pixels P 12 , P 62 , P 72 , P 82 , and P 92 .
  • Values at pixels P 23 , P 33 , P 43 , and P 53 are determined from interpolation along line 72 , using a subset of neighbor pixels P 13 , P 63 , P 73 , P 83 , and P 93 .
  • Values at pixels P 24 , P 34 , P 44 , and P 54 are determined from interpolation along line 73 , using a subset of neighbor pixels P 14 , P 64 , P 74 , P 84 , and P 94 .
  • Values at pixels P 25 , P 35 , P 45 , and P 55 are determined from interpolation along line 74 , using a subset of neighbor pixels P 15 , P 65 , P 75 , P 85 , and P 95 .
  • 135 degrees for directional lines 81 - 87 .
  • the value at pixel P 52 is determined from interpolation along line 81 , using a subset of neighbor pixels P 41 , P 63 , P 74 , P 85 , and P 96 .
  • Values at pixels P 42 and P 53 are determined from interpolation along line 82 , using a subset of neighbor pixels P 31 , P 64 , P 75 , P 86 , and P 97 .
  • Values at pixels P 32 , P 43 , and P 54 are determined from interpolation along line 83 , using a subset of neighbor pixels P 21 , P 65 , P 76 , P 87 , and P 98 .
  • Values at pixels P 22 , P 33 , P 44 , and P 55 are determined from interpolation along line 84 , using a subset of neighbor pixels P 11 , P 66 , P 77 , P 88 , and P 99 .
  • Values at pixels P 23 , P 34 , and P 45 are determined from interpolation along line 85 , using a subset of neighbor pixels P 12 , P 56 , P 67 , P 78 , and P 89 .
  • Values at pixels P 24 and P 35 are determined from interpolation along line 86 , using a subset of neighbor pixels P 13 , P 46 , P 57 , P 68 , and P 79 .
  • the value at pixel P 25 is determined from interpolation along line 87 , using a subset of neighbor pixels P 14 , P 36 , P 47 , P 58 , and P 69 .
  • 0 degrees (or 180 degrees) for directional lines 76 - 79 .
  • Values at pixels P 22 , P 23 , P 24 , and P 25 are determined from interpolation along line 76 , using a subset of neighbor pixels P 21 , P 26 , P 27 , P 28 , and P 29 .
  • Values at pixels P 32 , P 33 , P 34 , and P 35 are determined from interpolation along line 77 , using a subset of neighbor pixels P 31 , P 36 , P 37 , P 38 , and P 39 .
  • Values at pixels P 42 , P 43 , P 44 , and P 45 are determined from interpolation along line 78 , using a subset of neighbor pixels P 41 , P 46 , P 47 , P 48 , and P 49 .
  • Values at pixels P 52 , P 53 , P 54 , and P 55 are determined from interpolation along line 79 , using a subset of neighbor pixels P 51 , P 56 , P 57 , P 58 , and P 59 .
  • 26.56 degrees (i.e., ⁇ is the inverse tangent of 2/4) for directional lines 101 - 105 .
  • Values at pixels P 22 and P 23 are determined from interpolation along line 101 , using a subset of neighbor pixels P 31 and P 14 .
  • Values at pixels P 32 , P 33 , P 24 , and P 25 are determined from interpolation along line 102 , using a subset of neighbor pixels P 41 and P 16 .
  • Values at pixels P 42 , P 43 , P 34 , and P 35 are determined from interpolation along line 103 , using a subset of neighbor pixels P 51 , P 26 , P 27 , P 18 , and P 19 .
  • Values at pixels P 52 , P 53 , P 44 , and P 45 are determined from interpolation along line 104 , using a subset of neighbor pixels P 61 , P 36 , P 37 , P 28 , and P 29 .
  • Values at pixels P 54 and P 55 are determined from interpolation along line 105 , using a subset of neighbor pixels P 71 , P 46 , P 47 , P 38 , and P 39 .
  • FIGS. 9A-9F illustrate directional spatial interpolation characterized by all pixel values in the I-BLOCK being determined by spatial interpolation along parallel directional lines.
  • FIGS. 7A-7C and Tables 1-5 illustrate nondirectional spatial interpolation characterized by all pixel values in the I-BLOCK being determined by nearest available neighbor spatial interpolation in which no directional line passing through the I-BLOCK is utilized in the spatial interpolations.
  • Another spatial interpolation method for an I-BLOCK is hybrid spatial interpolation which comprises a combination of directional spatial interpolation and nondirectional spatial interpolation.
  • hybrid spatial interpolation at least one directional line is used for some spatial interpolations in the I-BLOCK, and some pixel values in the I-BLOCK are determined by nearest available neighbor spatial interpolation in which no directional line passing through the I-BLOCK is utilized.
  • directional spatial interpolation or hybrid spatial interpolation the chosen direction and hybrid mask must be coded and transmitted as side information.
  • An embodiment of the present invention uses a short fixed Huffman code for this purpose.
  • FIG. 10 illustrates hybrid spatial interpolation, in accordance with an exemplary embodiment of the present invention.
  • FIG. 10 includes directional lines 121 - 124 which are used in the spatial interpolations for determining values at pixels P 25 , P 34 , P 43 , and P 52 (along line 121 ), pixels P 35 , P 44 , and P 53 (along line 122 ), pixels P 45 and P 54 (along line 123 ), and pixel P 55 (along line 124 ).
  • values at pixels P 22 , P 23 , P 24 , P 32 , P 33 , and P 42 are determined by nondirectional spatial interpolation using nearest neighbor upper pixels P 12 , P 13 , P 14 and nearest neighbor left pixels P 21 , P 31 , and P 41 .
  • the values for the pixels of each I-BLOCK in a given frame are calculated by spatial interpolation based on values of nearest available neighbor pixels relative to each the I-BLOCK in the given frame.
  • a given pixel outside of a specified I-BLOCK of the given frame is the to be a neighbor pixel relative to the I-BLOCK if the given pixel is sufficiently close to the I-BLOCK to potentially contribute to the value of a pixel in the I-BLOCK by the spatial interpolation.
  • the present invention discloses exemplary embodiments relating to a processing of video frames, wherein each frame processed is divided into M blocks that include at least two differently sized blocks, and wherein M is at least 9.
  • the current frame being processed is divided into blocks of pixels, wherein each such block B CUR0 of pixels in the current frame is predicted from a block B REF0 of the same size in the reference frame.
  • the block B CUR0 of pixels in the current frame is called a “current block” or a “self block”.
  • the self block B CUR0 in the current frame is spatially shifted from the block B REF0 in the reference frame by a motion vector V 0 .
  • a pixel value I CUR0 (P CUR0 ) at a pixel location P o (identified by vector P CUR0 ) in the self block B CUR0 in the current frame is predicted to equal the pixel value I REF0 (P CUR0 ⁇ V 0 ) at a pixel location identified by vector (P CUR0 ⁇ V o ) in the block B REF0 in the reference frame.
  • the dependent variable “I” denotes a pixel value of luminance and/or chrominance.
  • the discontinuities may have the form of sharp horizontal and vertical edges which may be highly visible to the human eye and may also produce ringing effects (i.e., big coefficients in high frequency sub-bands) in the Fourier-related transform used for transform coding of the residual frames.
  • nearest neighboring blocks of the self block B CUR may be utilized for predicting the pixel values in the self block B CUR .
  • the nearest neighboring blocks may consist of the four nearest neighboring blocks immediately to the right, bottom, left, and top of the self block B CUR , respectively denoted as B 1 , B 2 , B 3 , and B 4 which are spatially shifted from corresponding blocks B REF1 , B REF2 , B REF3 , and B REF4 in the reference frame by the motion vectors V 1 , V 2 , V 3 , and V 4 , respectively.
  • the blocks B REF1 , B REF2 , B REF3 , and B REF4 in the reference frame are most likely not nearest neighbor blocks of the block B REF0 in the reference frame.
  • a weight W(P CUR0 ) is associated with a pixel location P 0 (identified by vector P CUR0 ) in the self block B CUR0 .
  • Weights W(P 1 ), W(P 2 ), W(P 3 ), and W(P 4 ) are associated with the pixel locations P 1 , P 2 , P 3 , and P 4 in the nearest neighboring blocks B 1 , B 2 , B 3 , and B 4 , respectively, such that the pixel locations P 1 , P 2 , P 3 , and P 4 correspond to the pixel location P 0 .
  • the pixel value I CUR0 (P CUR0 ) at the pixel location P 0 is predicted to equal W(P CUR0 )*I REF0 (P CUR0 ⁇ V o )+[W(P 1 )*I(P 1 ⁇ V 1 )+W(P 2 )*I(P 2 ⁇ V 2 )+W(P 3 )*I(P 3 ⁇ V 3 )+W(P 4 )*I(P 4 ⁇ V 4 )].
  • the predicted pixel value at the pixel location identified by vector P CUR0 in the self block B CUR0 mitigates the discontinuities introduced at block borders by taking into account pixel value contributions from nearest neighbor blocks in their displaced locations in the reference frame.
  • An array of weights that includes W(P CUR0 ) for all pixels in the self block B CUR0 constitutes a “weighting window” for the self block B CUR0 .
  • an array of weights that includes W(P 1 ), W(P 2 ), W(P 3 ), and W(P 4 ), for all pixels in the nearest neighboring blocks B 1 , B 2 , B 3 , and B 4 constitutes a weighting window for the nearest neighboring blocks B 1 , B 2 , B 3 , and B 4 , respectively. Examples of weighting windows and their generation according to the present invention are presented in FIGS. 17 , 18 , 21 , and 22 , discussed infra.
  • the present invention discloses variable block size OBMC.
  • the blocks in the current frame and its relationship to blocks in the reference frame are illustrated next in FIGS. 11 and 12 .
  • FIG. 11 illustrates a current frame 240 that has been configured into variables size blocks (e.g., by a quad tree algorithm), in accordance with an exemplary embodiment of the present invention.
  • the current frame 240 comprises 22 blocks as shown.
  • Each block of FIG. 11 is processed as a self block in consideration of its nearest neighbor blocks.
  • Block 241 being processed as a self block.
  • Self block 244 has nearest neighbor blocks 242 - 246 .
  • the self block may have a size that is equal to, larger than or smaller than the nearest neighbor block.
  • the size of the self block 241 is equal to the size of its nearest neighbor block 242 , larger than the size of its nearest neighbor blocks 245 and 246 , and smaller than the size of its nearest neighbor blocks 243 and 244 .
  • FIG. 12 illustrates the current frame 240 of FIG. 11 and a reference frame 260 together with vectors 251 - 256 that respectively link blocks 241 - 246 in the current frame 240 with corresponding blocks 261 - 266 in the reference frame 260 , in accordance with an exemplary embodiment of the present invention.
  • a normal projection of the vectors 251 - 256 onto the reference frame 260 are the motion vectors denoting a vector displacement of the blocks 241 - 246 from the blocks 261 - 266 , respectively.
  • the reference frame 260 represents one or more reference frames, each such reference frame having its own motion vectors and blocks associated with the blocks of the current frame, since each pixel in the current frame may be predicted from corresponding pixels in a single reference frame or in a plurality of reference frames.
  • the present invention discloses a method of compressing video that involves a spatiotemporal or space-time transformation utilizing motion compensated blocks in pairs of input frames, such as the representative pair having input frames A and B discussed supra in conjunction with FIG. 3 .
  • These blocks are of various sizes and are chosen to match the local motion vector field, so there are small blocks where the motion has a high spatial gradient and large blocks in more flat regions where the spatial gradient of the motion is small. Nevertheless as explained supra, the motion vectors of the different blocks are not continuous across the block edges. As a result artifacts can be created in the prediction of one frame from the other frame.
  • OBMC of the present invention addresses this problem by making the prediction from a weighted combination of estimates using the current block's motion vector and the motion vectors of its nearest neighbor blocks.
  • the OBMC of the present invention is further improved by iterative adjustments to the block motion vectors to arrive at improved motion vectors, which increase the accuracy of the resulting frame prediction and therefore increase coding efficiency. With the present invention, this iteration may be optionally omitted.
  • the output of the MCTF obtained using the OBMC is then compressed for transmission or storage. Additionally, the motion vectors are sent to the receiver as overhead, and may constitute about 10-15% of the total bit rate.
  • FIG. 13A is a flow chart illustrating a method for utilizing variable block size OBMC in the MCTF temporal high frames of FIG. 2 , in accordance with an exemplary embodiment of the present invention.
  • the current frame Prior to operation 211 , the current frame has been configured into M blocks that include at least two differently sized blocks, wherein M is at least 9.
  • the variable size block matching (VSBM) is performed to obtain the initial vectors for the motion blocks as is known in the art (e.g., see Ostermann, and Zhang, “Video Processing and Communications”, Prentice-Hall, pp. 182-187 (2002)).
  • I operation 212 the blocks in the current frame are classified as being either I-BLOCKs or motion blocks.
  • a “motion block” is defined to be a non I-BLOCK. Detection and classification of unconnected blocks (i.e., I-BLOCKs and P-BLOCKs) and uniconnected blocks was described supra in conjunction with operations 31 - 36 of FIG. 3 .
  • FIG. 15 describes infra the various categories of motion blocks including P-BLOCKs, DEFAULT blocks, and REVERSE blocks.
  • variable block size OBMC is performed to provide an overlap smoothing for the motion blocks and the I-BLOCKs.
  • the motion field i.e., the smoothed motion blocks and/or I-BLOCKs
  • the motion field i.e., the smoothed motion blocks and/or I-BLOCKs
  • FIG. 13B is a flow chart illustrating the variable block size OBMC processing of operation 213 of FIG. 13A , in accordance with an exemplary embodiment of the present invention.
  • operation 221 executes a shrinking scheme that generates a weighting window for the self block and its associated nearest neighbor block which takes into account whether the self block is a motion block or an I-BLOCK, and also takes into account whether the nearest neighbor block is a motion block or an I-BLOCK.
  • the shrinking scheme of operation 221 invokes operation 222 which executes a reflecting scheme that impacts the generation of the weighting widows in a manner that accounts for the intrinsic inability of the nearest neighbor I-BLOCK to communicate with the reference frame.
  • the shrinking scheme execution operation 221 is performed for all nearest neighbor blocks of the given self block, and then for all self blocks of the current frame in a sequence dictated by a predetermined scan order.
  • Operation 223 is executed, wherein an initial motion vector for each self block in the current frame has been utilized. Although the initial motion vectors for the self blocks were used to generate the weighting windows, the initial motion vectors may not be the optimum weighting windows inasmuch as a perturbed set of motion vectors may result in more accurate predictions of pixel values in the current frame when the generated weighting windows are taken into account. Accordingly, operation 223 performs an iterative process such that each iteration perturbs the motion vectors in a manner that improves the accuracy of pixel values in the current frame in light of the weighting windows generated in operation 222 .
  • Operations 221 - 223 in FIG. 13B reflect a simplified description of the variable block size OBMC processing operation 213 of FIG. 13A .
  • FIG. 23 illustrates a flow chart that describes in detail an exemplary embodiment of the variable block size OBMC processing of operations 221 - 222 of FIG. 13B .
  • FIG. 24 illustrates a flow chart that describes in detail the iterative process for improving the motion vectors in operation 223 of FIG. 13B .
  • FIG. 14 is a block diagram of frame processing associated with the flow charts of FIGS. 13A-13B , in accordance with an exemplary embodiment of the present invention.
  • FIG. 14 illustrates the following sequentially ordered processing: the component (YUV) hierarchical variable-size block matching (HVSBM) motion estimation 231 (which corresponds to operation 211 of FIG. 13A ); I-BLOCK detection 232 (which corresponds to operation 212 of FIG. 13A ); variable block size OBMC execution 233 (which is performed in operation 213 of FIG. 13A ); MTCF processing 234 (which corresponds to operation 214 of FIG. 13A ); and MC-EZBC coder processing 235 .
  • the component (YUV) hierarchical variable-size block matching (HVSBM) motion estimation 231 which corresponds to operation 211 of FIG. 13A
  • I-BLOCK detection 232 which corresponds to operation 212 of FIG. 13A
  • variable block size OBMC execution 233 which is performed in operation 213 of FIG. 13A
  • the HVSBM motion estimation 231 generates motion vectors which are processed by an arithmetic coder 236 .
  • a bit stream 237 is formed from coded output generated by the EZBC 235 and from coded output generated by the arithmetic coder 236 .
  • the MCTF processing 234 sequentially comprises the processing of I-BLOCKs, P-BLOCKs, REVERSE blocks, and DEFAULT blocks.
  • the REVERSE block prediction comprises a prediction of those blocks best predicted from the previous B frame.
  • the pixels of the DEFAULT block includes those pixels actually taking part in the MC filtering, both for the “predict” operation for parent frame H and the “update” operation for parent frame L.
  • FIG. 15 illustrates two successive input frames A and B to be transformed by the MCTF into a high temporal frame H and a low temporal frame L, in accordance with an exemplary embodiment of the present invention. See FIG. 2 (and a discussion thereof supra) for a derivation of the H and L frames from frames A and B by the MCTF processing. In FIG. 2 , however, a different choice is made for the temporal location of the H and L frames. In FIG. 2 the L frame is time referenced to that of the input frame A and the H frame is time referenced to that of the input frame B, whereas in FIG. 15 the H frame is time referenced to that of the input frame A and the L frame is time referenced to that of the input frame B.
  • the present invention views any data received by the decoder prior to the decoding of a frame as a source of information about the true prediction scheme finally employed.
  • FIG. 16 illustrates a self block and four nearest neighbor blocks in the current frame, in accordance with an exemplary embodiment of the present invention.
  • the four nearest neighbor blocks of the self block 270 in FIG. 16 are a right nearest neighbor 271 , a lower nearest neighbor 272 , a left nearest neighbor 273 , and an upper nearest neighbor 274 .
  • the self block and its nearest neighbor blocks are assumed to have the same size. According to the preceding assumption, the weighting window used is symmetric left-to-right and top-to-bottom.
  • FIGS. 17A and 17B illustrate 4 ⁇ 4 weighting windows, in accordance with an exemplary embodiment of the present invention.
  • the self block is a motion block
  • the self block is an I-BLOCK.
  • FIG. 17A shows a weighting window 270 A for the self block and its associated nearest neighbor weighting windows 271 A, 272 A, 273 A, and 274 A for the right nearest neighbor block, lower nearest neighbor block, left nearest neighbor block, and upper nearest neighbor block, respectively.
  • FIG. 17B shows a weighting window 270 B for the self block and its associated nearest neighbor weighting windows 271 B, 272 B, 273 B, and 274 B for the right nearest neighbor block, lower nearest neighbor block, left nearest neighbor block, and upper nearest neighbor block, respectively.
  • the pixel weights shown in FIG. 17A are in the same relative pixel positions as are the corresponding pixel values at the physical pixel locations.
  • the pixel weights shown in FIG. 17A are ordered and displayed reflectively opposite the corresponding pixel values at the physical pixel locations. For example in FIG.
  • the uppermost row 276 A of weights (1 1 1 1) of the upper neighbor weighting window 274 A is for pixels in the top row 277 A of the self block (in terms of physical pixel locations) weighting window 270 A.
  • the rightmost column 278 A of weights (1 1 1 1) of the right neighbor weighting window 271 A is for pixels in the rightmost column 279 A of the self block 270 A.
  • the preceding convention has the visual advantage that if a nearest neighbor weighting window is superimposed over the self block weighting window 270 A, the indicated weight at a given matrix position in the nearest neighbor-block weighting window and the weight directly underneath this matrix position in the self-block weighting window are being used as weights for the same physical pixel in the OBMC calculation of the present invention.
  • the sum of the weights at each matrix position is 4, or generally N for N ⁇ N blocks. For example in FIG.
  • the weights for the self block weighting window 270 A, right neighbor weighting window 271 A, lower neighbor weighting window 272 A, left neighbor weighting window 273 A, and upper neighbor weighting window 274 A are 2, 1, 0, 0, and 1, respectively, which are summed to equal 4.
  • weighting window For a weighting window to be a probability weighting window, the sum of the weights in the weighting window would be equal to 1, which would result in the weights having a fractional or decimal value less than or equal to 1.
  • the weighting windows used in the illustrative examples herein in FIGS. 17-20 are normalized such that the sum of the weights is equal to N (instead of equal to 1) for a N ⁇ N weighting window size, with the understanding that the weighting window should be implemented as a probability weighting window (or its equivalent) when the weights in the weighting window are used to calculate pixel values.
  • the self block is a motion block and two-dimensional (2-D) bilinear (i.e., straight-line) interpolation is used to determine the weights in the self block weighting window 270 A and the nearest neighbor weighting windows 271 A, 272 A, 273 A, and 274 A.
  • the 2-D bilinearly interpolated pixel values correspond to linear interpolation along the straight line between the center of the self block and the center of the neighboring block. Since the 2-D bilinear interpolation is two-dimensional, a bilinearly interpolated weight is the product of such interpolated values in two mutually orthogonal directions.
  • the weights resulting from the 2-D bilinear interpolation have been rounded to the nearest integer, subject to the constraint that the normalization condition (i.e., the sum of the weights associated with each pixel is equal to N) is satisfied. If one or more self block boundaries coincide with a frame boundary, then at least one side of the self block will not have a nearest neighbor block and the resultant bilinear weighting window weights will therefore differ from the bilinear weighting window weights that exist when no self block boundary coincides with a frame boundary. Studies indicate that the 2-D bilinear interpolation weighting window is nearly as accurate as an iterated optimal weighting window.
  • biquadratic interpolation e.g., biquadratic interpolation, exponential interpolation, etc.
  • other forms of interpolation e.g., biquadratic interpolation, exponential interpolation, etc.
  • bilinear interpolation may be used instead of bilinear interpolation for the weighting windows of FIG. 17A or for weighting windows of any other embodiment discussed herein such that bilinear interpolation is disclosed as being used.
  • the self block is an I-BLOCK.
  • the weights in the weighting windows in FIG. 17B are derived from the weights in the weighting windows in FIG. 17A by extracting portions of the weights in the self-block weighting window in and adding the portions to selected weights in the nearest neighbor weighting windows, subject to the constraint that the normalization condition is satisfied.
  • the “portion of the weights” adjustment was experimentally determined in terms of giving a good visual error performance and was not optimized in any way. Other “portion of the weights” adjustments may be utilized if validated or substantiated by experimental and/or analytical methodology.
  • the selected weights are weights which are near the block boundaries. The preceding modification of the weights of FIG.
  • the weight distribution method used for FIG. 17B is a “radiation scheme” that radiates weight components outward from the self cell to its neighbor cells.
  • the nearest neighbor weighting window for the left nearest neighbor may be determined by exploiting the reflective symmetry shown in FIG. 16 , or may be calculated via bilinear interpolation.
  • the nearest neighbor weighting window for the top nearest neighbor may be determined by exploiting the reflective symmetry shown in FIG. 16 , or may be calculated via bilinear interpolation.
  • FIGS. 17A and 17B illustrate an exemplary embodiment, wherein the self block is an I-BLOCK, and wherein the generated window of the self block consists of first pixel weights and second pixel weights.
  • the first pixel weights are less than what the first pixel weights would have been if the self block had been a motion block, and the second pixel weights are equal to what the second pixel weights would have been if the self block had been the motion block.
  • the first pixel weights of “2” in selected matrix positions of the self I-BLOCK 270 B of FIG. 17B are less than the weights of “3” in the corresponding selected matrix positions of the motion block 270 A of FIG.
  • the second pixel weights are the remaining pixel weights which are the same weights (i.e., same weight magnitudes) in the self I-BLOCK 270 B of FIG. 17B and the motion block 270 A of FIG. 17A .
  • generating the weighting window for the self block may comprise: generating a first weighting window for the self block as if the self block is the motion block (e.g., generating the motion block 270 A of FIG. 17A ); and generating the weighting window for the self block from the first weighting window by reducing weights in the first weighting window (e.g., generating the self I-BLOCK 270 B of FIG. 17B by reducing the weights in the motion block 270 A of FIG. 17A ).
  • the generated window of each neighbor block of the self block may consist of third pixel weights and fourth pixel weights, wherein the third pixel weights are greater than what the third pixel weights would have been if the self block had been the motion block, and wherein the fourth pixel weights are equal to what the fourth pixel weights would have been if the self block had been the motion block.
  • the third weights are illustrated by selected portions of the right, bottom, left, and upper neighbor block weights which are greater in magnitude in FIG. 17B than in FIG. 17A
  • the fourth weights are illustrated by the remaining portions of the right, bottom, left, and upper neighbor block weights which are equal in magnitude in FIG. 17B and FIG. 17A .
  • FIGS. 18A and 18B illustrate 8 ⁇ 8 weighting windows wherein the associated self block is a motion block and an IBLOCK, respectively, in accordance with an exemplary embodiment of the present invention.
  • FIG. 18A shows a weighting window 270 C for the self block and its associated nearest neighbor weighting windows 271 C, 272 C, 273 C, and 274 C for the right nearest neighbor block, lower nearest neighbor block, left nearest neighbor block, and upper nearest neighbor block, respectively.
  • FIG. 18B shows a weighting window 270 D for the self block and its associated nearest neighbor weighting windows 271 D, 272 D, 273 D, and 274 D for the right nearest neighbor block, lower nearest neighbor block, left nearest neighbor block, and upper nearest neighbor block, respectively.
  • the methods for generating the weighting windows in FIGS. 18A and 18B are the same as the methods used to generate the weighting windows in FIGS. 17A and 17B as described supra.
  • the self block and its associated nearest neighbor blocks may all have the same size, or the size of the self block may differ from the size of at least one of its associated nearest neighbor blocks.
  • a nearest neighbor block associated with of a given self block there are three exemplary embodiments for a nearest neighbor block associated with of a given self block:
  • the spatial nearest neighbor block size is the same as that of the self block (e.g., self block 241 and its neighbor block 242 in FIG. 14 ), which is the “standard same block-size” case analyzed supra in conjunction with FIGS. 17A-18B .
  • the weighting windows for this embodiment are generated as described supra in conjunction with FIGS. 17A-18B .
  • the spatial nearest neighbor block size is larger than that of the self block (e.g., self block 241 and its neighbor blocks 243 and 244 in FIG. 11 ), which is treated by utilizing the portion of the larger nearest neighbor block that is the same size as the self block, wherein the portion occupies the same space within the current frame as does the nearest neighbor block of the standard same block-size case (a).
  • FIG. 19 illustrates frame 240 of FIG. 11 , wherein portions 243 A and 244 A of nearest neighbor blocks 243 and 244 are shown, in accordance with an exemplary embodiment of the present invention. Portions 243 A and 244 A have the same size as self block 241 and occupy the space within the frame 240 appropriate to the standard same block-size case.
  • the portions 243 A and 244 A of nearest neighbor blocks 243 and 244 are utilized as effective nearest neighbor blocks to the self block 241 .
  • the portion 243 A portion of the neighbor block 243 is the only portion of the neighbor block 243 whose weighting window impacts a predicting of pixel values in the self block 241 during the performing of OBMC on the self block 241 .
  • the portion 244 A of the neighbor block 244 is the only portion of the neighbor block 244 whose weighting window impacts a predicting of pixel values in the self block 241 during the performing of OBMC on the self block 241 .
  • the present invention “shrinks” the blocks 243 and 244 to the respective portions 243 A and 244 A.
  • the self block 241 and the neighbor block 243 (or 244 ) may each be a motion block, wherein the generated weighting window of the portion 243 A (or 244 A) of the neighbor block 243 (or 244 ) may consist of bilinearly interpolated weights.
  • the weighting windows for this embodiment are generated as described supra in conjunction with FIGS. 17A-18B for the standard same block-size case.
  • the motion vector associated with the larger nearest neighbor block are used to provide the weighted neighbor estimate.
  • the motion vector 253 would be used to locate the block 263 in the reference frame 260 in conjunction with utilizing the portion 243 A (see FIG. 19 ) of the larger neighbor block 243 for processing the self block 241 .
  • the spatial nearest neighbor block size is smaller than that of the self block (e.g., self block 241 and its neighbor blocks 245 and 246 in FIG. 11 ), which necessitates choosing a portion of the self block to be of the same size as the smaller nearest neighbor block and adjacently located with respect to smaller nearest neighbor block.
  • FIG. 20 illustrates frame 240 of FIG. 11 , wherein portions 1 A and 1 B of self block 241 are shown, in accordance with an exemplary embodiment of the present invention. Portions 1 A and 1 B have the same size as (and are located adjacent to) the nearest neighbor blocks 245 and 246 , respectively.
  • the portions 1 A and 1 B of the self block 241 are utilized as effective self block portions with respect to the nearest neighbor blocks 245 and 246 , respectively.
  • the portion 1 A of the self block 241 is the only portion of the self block 241 at which a predicting of pixel values is impacted by the weighting window of the neighbor block 245 during the performing of OBMC on the portion 1 A of the self block 241 .
  • the portion 1 B of the self block 241 is the only portion of the self block 241 at which a predicting of pixel values is impacted by the weighting window of the neighbor block 246 during the performing of OBMC on the portion 1 A of the self block 241 .
  • the present invention “shrinks” the self block 241 so as to utilize only the portions 1 A and 1 B
  • the weighting windows are generated as described infra in conjunction with the shrinking scheme examples of FIGS. 21A-21C and 22 A- 22 C, wherein each utilized portion of the self block comprise an affected area and an unaffected area such that the affected area is affected by the smaller nearest neighbor block and the unaffected area is not affected by the smaller nearest neighbor block.
  • the affected area may comprise half of the smaller nearest neighbor block size, both horizontally and vertically.
  • the weights in the weighting window of the affected area of the utilized portion of the self block and the corresponding portion of the weighting window of the smaller nearest neighbor block are the same as is derived from the standard same block-size case.
  • the weights in the portion of the weighting window of the smaller nearest neighbor block that corresponds to the unaffected area of the utilized portion of the self block are “removed” and then set equal to zero.
  • the weights in the unaffected area of the utilized portion of the self block are incremented (relative to the standard same block-size case) by the removed weights from the corresponding portion of the weighting window of the smaller nearest neighbor block, as will be illustrated infra in conjunction with the example of FIGS. 22A-22C .
  • this shrinking scheme reduces the smoothing at a motion discontinuity, since this shrinking scheme reduces the smoothing radius to be compatible with the smaller nearest neighbor block size.
  • each self block For each self block, the operations of analyzing the relative block size of its nearest neighbors are repeated for each such nearest neighbor.
  • the self blocks are sequentially processed in accordance with a predetermined scan order.
  • FIGS. 21A-21C depict weighting windows for a self block and an associated smaller nearest neighboring block used by OBMC in conjunction with a shrinking scheme, wherein the nearest neighboring block is a motion block, in accordance with an exemplary embodiment of the present invention.
  • the self block 280 is an 8 ⁇ 8 block
  • its right neighbor block 281 is a 4 ⁇ 4 block.
  • FIG. 21B provides a self block weighting window 280 A and its right neighbor weighting window 281 A, respectively associated with the self block 280 and the right neighbor block 281 of FIG. 21A .
  • the self block weighting window 280 A includes a utilized portion 282 A that is utilized in the OBMC procedure in conjunction with the right neighbor weighting window 281 A.
  • the utilized portion 282 A is a “shrinked” form of the self block weighting window 280 A and has the same size as the right neighbor weighting window 281 A.
  • the numerical weights shown are not the final weights but rather are the standard initial weights used for computing the final weights.
  • the final weights are shown in FIG. 21C .
  • the initial weights in FIG. 21B are the weights pertinent to the standard same block-size case.
  • the weights in the self block weighting window 280 A of FIG. 21B are the same bilinear weights that appear in the weighting window 270 C of FIG. 18A
  • the weights in the right neighbor weighting window 281 A of FIG. 21B are the same bilinear weights that appear in the upper-right quadrant of the weighting window 271 C of FIG. 18A
  • the utilized portion 282 A consists of an affected area 283 A and an unaffected area 284 A.
  • the pixels of the self block that relate to the affected area 283 A are affected in the OBMC procedure by an affecting area 285 A of the right neighbor weighting window 281 A.
  • the pixels of the self block that relate to the unaffected area 284 A are unaffected in the OBMC procedure by an unaffecting area 286 A of the right neighbor weighting window 281 A.
  • the weights in FIG. 21C are derived from the weights in FIG. 21B as follows.
  • the weights in the affecting area 285 A and the affected area 283 A in FIG. 21C are the same as in FIG. 21B .
  • the weights in the unaffecting area 286 A in FIG. 21B are added to the corresponding weights in the unaffected area 284 A in FIG. 21B to form the weights in the unaffected area 284 A in FIG. 21C , and the weights in the unaffecting area 286 A in FIG. 21C are set to zero.
  • the preceding shrinking scheme illustrated in FIGS. 21A-21C avoids over smoothing at motion discontinuities. Since a large block may have a different a motion vector from its small nearest neighbors, the shrinking scheme can reduce over-smoothing at a motion discontinuity.
  • the shrinking scheme can be applied to rectangular as well as the square block sizes discussed supra and the rectangular block sizes are thus within the scope of the present invention. Note, however, that a simple quadtree decomposition may be used to generate an array of square blocks only. An array of rectangular blocks may be effectuated by a horizontal and/or vertical splitting algorithm (e.g., splitting an 8 ⁇ 8 block into two 8 ⁇ 4 blocks or two 4 ⁇ 8 blocks).
  • the nearest neighbor block is a motion block characterized by a motion vector.
  • a nearest neighbor block that is an I-BLOCK has no associated motion vector. If the nearest neighbor I-BLOCK does not participate in the OBMC smoothed prediction, however, the nearest neighbor I-BLOCK may create some block artifacts with nearest neighboring motion blocks (i.e., DEFAULT, P-BLOCK, or REVERSE block). Accordingly, the reflecting scheme of the present invention incorporates a nearest neighbor I-BLOCK into the framework of OBMC as discussed infra.
  • the reflecting scheme is used if a nearest neighbor is an I-BLOCK.
  • the reflecting scheme reflects the nearest neighbor I-BLOCK weighting back on the self block. This effectively means that the self block's motion vector is used in place of the missing motion vector of the I-BLOCK.
  • FIGS. 22A-22C depict weighting windows for a self block and an associated smaller nearest neighboring block used by OBMC in conjunction with a shrinking scheme, wherein the nearest neighboring block is an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • the self block 290 is an 8 ⁇ 8 block
  • its right neighbor block 291 is a 4 ⁇ 4 block.
  • FIG. 22B provides a self block weighting window 290 A and its right neighbor weighting window 291 A, respectively associated with the self block 290 and the right neighbor block 291 of FIG. 22A .
  • the self block weighting window 290 A includes a utilized portion 292 A that is utilized in the OBMC procedure in conjunction with the right neighbor weighting window 291 A.
  • the utilized portion 292 A has the same size as the right neighbor weighting window 291 A.
  • the numerical weights shown are not the final weights but rather are the standard initial weights used for computing the final weights.
  • the final weights are shown in FIG. 22C .
  • the initial weights in FIG. 22B are the weights pertinent to the standard same block-size case.
  • the weights in the self block weighting window 290 A of FIG. 22B are the same bilinear weights that appear in the weighting window 270 C of FIG. 18A
  • the weights in the right neighbor weighting window 291 A of FIG. 22B are the same bilinear weights that appear in the upper-right quadrant of the weighting window 271 C of FIG. 18A
  • the weights in FIG. 22C are derived from the weights in FIG. 22B as follows.
  • the weights in the right neighbor weighting window 291 A in FIG. 22B are added to the utilized portion 292 A in FIG. 22B to form the weights in the utilized portion 292 A in FIG. 22C , and the weights in the right neighbor weighting window 291 A in FIG. 21C are set to zero.
  • FIG. 23 is a flow chart illustrating a method for calculating weighting windows for variable block size OBMC, in accordance with an exemplary embodiment of the present invention.
  • the flow chart of FIG. 23 includes details of operations 221 - 222 in the flow chart of FIG. 11B discussed supra.
  • the flow chart of FIG. 23 sequentially processes all self blocks in the current frame according to a predetermined scan order.
  • Operation 311 steps to the next self block to process which initially is the first block to be scanned according to the predetermined scan order.
  • the next self block is processed with respect to its neighbor blocks consisting of the nearest neighbor blocks of the next self block.
  • the neighbor blocks of the self block (i.e., next self block) comprise a first neighbor block.
  • the self block and the first neighbor block may each be a motion block.
  • the self block and the first neighbor block may each be an I-BLOCK.
  • the self block may be a motion block and the first neighbor block may be an I-BLOCK.
  • the self block may be an I-BLOCK and the first neighbor block may be a motion block.
  • operation 312 steps to the next neighbor block which initially is a first neighbor block of a sequence of nearest neighbor blocks around the self block established in operation 311 .
  • the shrinking scheme is performed in operation 314 , followed by execution of operation 316 .
  • the shrinking scheme generates the weighting window for the self block and the neighbor block, based on whether the size of the neighbor block is equal to, larger than, or smaller than the size of the self block as discussed supra.
  • the reflecting scheme is performed in operation 315 , followed by execution of operation 316 .
  • the reflecting scheme generates the weighting window for the self block and the neighbor block in accordance with the procedure described supra in conjunction with FIGS. 22A-22C
  • the algorithm loops back to operation 312 to step to the next neighbor block to process.
  • operation 317 is executed.
  • I operation 317 it is determined whether the self block is an I-BLOCK. If it is determined that the self block is not an I-BLOCK, then operation 319 is executed. If it is determined that the self block is an I-BLOCK, then operation 318 performs the radiation scheme described supra in conjunction with FIG. 17B to modify the weighting window of the self block and its neighbor blocks, followed by execution of operation 319 .
  • operation 319 it is determined whether there are more self blocks in the frame to process. If it is determined that there are more self blocks in the frame to process, then the algorithm loops back to operation 311 to operation to the next self block to process. If it is determined that there are no more self blocks in the frame to process, then the algorithm ends.
  • OBMC allows the nearest neighboring motion vectors to affect the prediction error in the self block, and that makes such a decoupled estimation suboptimal. Moreover, OBMC specifies a non-causal nearest neighborhood, so there is no block scanning order such that, for every block, all its nearest neighbor blocks are scanned before it. Thus, the present invention uses an iterative estimation or search procedure for optimized motion estimation and spatial interpolation/prediction mode selection, which ensures that the mean absolute distortion (MAD) converges to a local minimum.
  • MAD mean absolute distortion
  • a residual error r(s) for pixel location s is computed as
  • r ⁇ ( s ) I ⁇ ( s ) - ⁇ v s k ⁇ ( i ) ⁇ v b k ⁇ h 1 ⁇ ⁇ or ⁇ ⁇ 2 ⁇ ( i ) ⁇ I ⁇ ⁇ ( s - v s k ⁇ ( i ) , ( 2 )
  • Equation (2) the h 1 or 2 (i) are the weighting window coefficients (i.e., weights) of the neighbor blocks i, wherein h 1 (i) is used as the weighting window when the self block b is a motion block, and wherein h 2 (i) is used as the weighting window when the self block b is an I-BLOCK.
  • v s (i) is a motion vector for the neighbor block i at pixel location s
  • I(s) is the true pixel value at pixel location s
  • denotes an interpolated value (needed because of sub-pixel accuracy) in the reference frame for the neighbor block pixel.
  • the residual error image r(s) is the motion compensation error that results when vector v b k , namely the motion vector from the self block b or the spatial interpolation/prediction for the block, is omitted and all the nearest neighbors' motion vectors are fixed.
  • the present invention further optimizes ⁇ circumflex over (v) ⁇ b for motion blocks or further optimizes ⁇ circumflex over (m) ⁇ b , the spatial interpolation mode, from the spatial interpolation modes permitted for I-BLOCKs, according to,
  • v ⁇ b argmin v ⁇ ⁇ s ⁇ ( j ) ⁇ w b ⁇ ⁇ r ⁇ ( s ⁇ ( j ) ) - h 1 ⁇ ( j ) ⁇ I ⁇ k - 1 ⁇ ( s ⁇ ( j ) - v b ) ⁇ ( 3 )
  • m ⁇ b argmin m ⁇ ⁇ s ⁇ ( j ) ⁇ w b ⁇ ⁇ r ⁇ ( s ⁇ ( j ) - h 2 ⁇ ( j ) ⁇ I _ k ⁇ ( s ⁇ ( j ) ⁇ ( 4 )
  • ⁇ circumflex over (v) ⁇ b are the conditional best motion vector
  • ⁇ circumflex over (m) ⁇ b are the conditional best spatial interpolation/prediction mode for block b
  • Î k ⁇ 1 (s(j) ⁇ v b ) is the motion compensated value with the motion vector from the block b
  • ⁇ k (s(j)) is the spatial interpolation/prediction value from self block b's nearest neighbors.
  • the OBMC iterations are controlled by the design parameters ⁇ and ⁇ , i.e., a predetermined total or maximum number of iterations ⁇ and an adjustment distance ⁇ for the motion vectors at each iteration.
  • Equations (3) and (4) determine which of the 25 motion vector perturbations is the best choice for the motion vector at each self block.
  • the best motion vector at each self block is so determined at a given iteration, the best motion vector is perturbed in accordance with ⁇ in the next iteration to determine a further improved value of the motion vector at each self block.
  • the convergence speed is very fast, but it can be switched off to reduce computational complexity, resulting in a modest suboptimality, depending on the video clip.
  • U and V are sub-sampled frame data after some transform from RGB data.
  • the weighting windows used for U and V are also sub-sampled versions of those used for Y.
  • OBMC iterations computes successively improved sets of motion vectors for each self block of the current frame for a fixed number ( ⁇ ) of iterations or until a convergence criteria is satisfied.
  • FIG. 24 is a flow chart illustrating a method for calculating successively improved motion vectors for the self blocks of a current frame processed according to variable block size OBMC using the weighting windows calculated according to the methodology described by the flow charts of FIGS. 13A , 13 B, and 23 , in accordance with an exemplary embodiment of the present invention.
  • the calculated weighting windows constitute inputs to the OBMC iterations and do not change during the OBMC iterations.
  • ⁇ , ⁇ , and the weighting windows are provided as inputs.
  • Operation 322 steps to the next iteration to execute which initially is the first iteration.
  • operation 323 steps to the next self block to process which initially is the first block to be scanned according to a predetermined scan order.
  • the best motion vector for the self block selected from the perturbed ⁇ -based motion vectors is determined using Equations (3) or (4) in conjunction with Equation (2).
  • operation 325 it is determined whether there are more self blocks in the frame to process. If it is determined that there are more self blocks in the frame to process, then the algorithm loops back to operation 323 to step to the next self block to process. If it is determined that there are no more self blocks in the frame to process, then operation 326 is next executed.
  • I operation 326 it is determined whether there are more iterations to perform.
  • a convergence criteria may be, inter alia, that the mean square fractional change in the motion vectors (individually at each self block, or summed over all self blocks) from the immediately previous iteration to the present iteration is less than a predetermined tolerance.
  • the mean square fractional change in the motion vectors (individually at each self block, or summed over all self blocks) from the immediately previous iteration to the present iteration is less than a predetermined tolerance.
  • only ⁇ . is used in operation 326 to determine whether there are more iterations to perform.
  • a convergence criteria is used in operation 326 to determine whether there are more iterations to perform.
  • both ⁇ . and a convergence criteria are used in operation 326 to determine whether there are more iterations to perform.
  • the present invention performs OBMC in a lifting implementation for DEFAULT blocks, i.e. with the prediction and update steps as normal in order to reduce the noise in the area of good motion.
  • the specific equations for OBMC in lifting implementation are as follows,
  • OBMC regards the motion vector field (d m , d n ) as random process. That means that pixel B[m, n] in frame B has motion vector (d mk ,d nk ) with probability h k [m, n] from its corresponding probability window as stated earlier, and is compensated by the weighted average of the predicted sub-pixels.
  • ( d m , d n ) is the nearest integer to (d m ,d n ).
  • motion estimation is performed using hierarchical variable size block matching (HVSBM) 231 and a full motion vector quad-tree is formed between each frame pairs. Then the quad-tree is pruned in a rate-distortion sense. Due to a Haar filter, pixel values in low temporal frames are scaled up by a factor of ⁇ square root over (2) ⁇ as a temporal level decreases.
  • Motion compensated temporal filtering (MCTF) 234 is performed using the pruned motion vectors and produces high temporal frames and low temporal frames as mentioned above. MCTF will continue between the low temporal frames until a bottom temporal level.
  • one temporal low frame and a set of high temporal frames are coded by an embedded zero block coder 235 . Because of the properties of the embedded zero block coder 235 and the pyramid structure of MCTF, the temporal signal-to-noise ratio (SNR), and resolution scalability of frame data, i.e., texture data, are obtained.
  • SNR signal-to-noise ratio
  • the bitstream of motion vectors in each temporal layer can have temporal scalability after being grouped with the bitstream of frame data in that temporal layer.
  • the bitstream of motion vectors is not still scalable with respect to SNR and resolution.
  • the bitstream of motion vectors produced according to the prior art is optimized only in some range of bit rates at full resolution and is not optimized for low rates. More especially, in low resolution cases, the same number of motion vectors as that in full resolution are not required because a block size decreases and many motion vectors can be merged or replaced by only one representative. Furthermore, at low resolution, since motion vectors are scaled down, the full-accuracy motion vectors as that in full resolution are not required.
  • the present invention suggests a method and apparatus for separating a motion vector into a basic layer and an enhancement layer according to pixel accuracies and a method and apparatus for separating motion vectors into a base layer including only motion vectors corresponding to blocks having a predetermined size or larger and an enhancement layer including only motion vectors corresponding to blocks smaller than the predetermined size.
  • FIG. 25 illustrates an example of a quad-tree dividing map resulting from motion estimation according to an embodiment of the present invention
  • FIG. 26 illustrates the scan order of frames and blocks divided according to the quad-tree dividing map of FIG. 25 .
  • Motion vector data resulting from motion estimation with respect to each frame using HVSBM includes a motion vector dividing map and motion vector information.
  • the motion vector dividing map should be transmitted due to a non-uniform block structure.
  • a 64 ⁇ 64 parent block and a quad-tree dividing map corresponding thereto are illustrated as an example in FIG. 25 .
  • each leaf node or terminal node is indicated by 0 and other intermediate nodes are indicated by 1.
  • a block corresponding to the node 0 is not further divided into smaller blocks through variable size block motion estimation and a block corresponding to the node 1 is further divided into smaller blocks.
  • both an encoder and a decoder follows a quad-tree scan order as illustrated in FIG. 26 .
  • the quad-tree scan order motion vectors of blocks are read by scanning the blocks left-to-right and top-to-bottom.
  • a motion vector for a current block is estimated based on the types of motion vectors of neighboring blocks scanned along the scanning path and a difference between the estimated motion vector and the actual motion vector of the current block is encoded using CABAC.
  • FIG. 27 is a view for explaining the spatial prediction of a motion vector of a current block from neighboring blocks according to an embodiment of the present invention.
  • a motion vector MV of a current block 270 can be spatially predicted from motion vectors MV 1 , MV 2 , and MV 3 of three direct neighboring blocks 271 , 272 , and 273 of the current block 270 .
  • the motion vector MV of the current block 270 may be predicted to be the average or median of the motion vectors MV 1 , MV 2 , and MV 3 of the direct neighboring blocks 271 , 272 , and 273 .
  • a motion vector of the same type as the motion vector MV of the current block 270 is used among the motion vectors MV 1 , MV 2 , and MV 3 .
  • Motion vectors in the DEFAULT blocks and the P-BLOCKs are between current and next frames (defined as normal motion vectors), the motion vectors in the REVERSE blocks are between current and previous frames (defined as reverse motion vectors), and there is no motion vector in the I-BLOCKs except for a spatial prediction mode.
  • a motion vector of a current block is predicted using motion vectors of neighboring blocks having the same type as the motion vector of the current block. For example, when the motion vector MV of the current block 270 is a normal motion vector in FIG.
  • a motion vector having the same type as the motion vector MV i.e., a normal motion vector among the motion vectors MV 1 , MV 2 , and MV 3 of the neighboring blocks 271 , 272 , and 273 of the current block 270 is used for the prediction of the motion vector MV of the current block 270 .
  • the motion vector MV of the current block 270 is predicted using a normal motion vector among motion vectors of previous blocks scanned according to the quad-tree scan order illustrated in FIG. 26 .
  • a prediction residual between a predicted motion vector and an actual motion vector is coded by CABAC.
  • CABAC CABAC
  • AGP alphabet general partition
  • FIG. 28 is a flowchart illustrating a scalable motion vector coding method according to an embodiment of the present invention, in which a motion vector is separated into a base layer and an enhancement layer according to pixel accuracies.
  • FIG. 29 is a block diagram of a scalable motion vector coder according to an embodiment of the present invention.
  • FIG. 30 illustrates division of a motion vector according to pixel accuracies according to an embodiment of the present invention.
  • a motion vector of a current block is estimated with a first pixel accuracy in operation 2800 .
  • the motion estimation of the current block is performed with a 1 ⁇ 8 pixel accuracy.
  • the pixel accuracy can reduce a mean squared error (MSE) after motion compensation
  • MSE mean squared error
  • a 1 ⁇ 4 or 1 ⁇ 8 pixel accuracy of motion vectors is quite random due to the camera noise and quantization noise because the MSE after motion compensation is already near a total noise variance after 1 ⁇ 4 or 1 ⁇ 8 pixel accuracy motion compensation.
  • the motion vector can be modeled as follows (the one dimensional case is presented for convenience of explanation although the motion vector has two components such as x and y components).
  • the spirit of the present invention can also be applied to scalable motion vector coding for a motion vector in other dimensions.
  • r k is an estimated kth motion vector
  • s k is an actual kth motion vector
  • n k is a noisy motion vector due to noises in frame data. All of the three components r k , s k , and n k are assumed to be in the 1 ⁇ 8 pixel accuracy.
  • the estimated motion vector r k is separated into two symbols in operation 2810 , as follows:
  • r k1 is a major symbol up to the 1 ⁇ 2 pixel accuracy and r k2 is a sub-symbol for the 1 ⁇ 4 and 1 ⁇ 8 pixel accuracies.
  • the estimated motion vector r k ⁇ 1.625
  • r k1 ⁇ 1.5
  • r k2 ⁇ 0.125.
  • the estimated motion vector r k is separated into a major symbol having low pixel accuracy and a sub-symbol having high pixel accuracy corresponding to a difference between the actual value of the estimated motion vector and the major symbol.
  • the major symbol forms a base layer of the motion vector and the sub-symbol forms an enhancement layer of the motion vector.
  • the major symbol is estimated from motion vectors of neighboring blocks of a current block based on a predetermined scan order and the type of a motion vector to be estimated and a residual between the estimated motion vector and the actual motion vector is coded using CABAC, as described with reference to FIGS. 26 and 27 .
  • the sub-symbol is coded in a binary sequence in operation 2820 .
  • FIG. 31 illustrates a motion vector bitstream 3100 produced according to an embodiment of the present invention.
  • the motion vector bitstream 3100 includes base layer's motion vectors 3110 composed of major symbols having low pixel accuracy, enhancement layer's motion vectors 3120 composed of sub-symbols having high pixel accuracy, and sign bits 3130 indicating the signs of the sub-symbols.
  • the sign bits 3130 are added when the major symbols are 0, e.g., the base layer's motion vectors 3110 having the 1 ⁇ 8 pixel accuracy are in the range [ ⁇ 0.375, +0.375].
  • the motion vector bitstream 3100 i.e., the base layer's motion vectors 3110 , the enhancement layer's motion vectors 3120 , and the sign bits 3130 .
  • the lossless motion vectors can be obtained and frames can be reconstructed at a decoder.
  • the enhancement layer's motion vectors 3120 and the sign bits 3130 are thrown away and only the base layer's motion vectors 3110 are transmitted.
  • a limited bandwidth can be efficiently used in the same bit budget in spite of lossy motion vectors.
  • the motion vectors are lossy, their inaccuracy can be compensated by the more accuracy of frame data.
  • the total performance can be improved by separating motion vectors according to pixel accuracies and substituting frame data for enhancement layer's motion vectors according to channel states.
  • a scalable motion vector coder 2900 includes a motion estimation unit 2910 , a separating unit 2920 , and a motion vector coding unit 2930 .
  • the motion estimation unit 2910 performs HVSBM ( 231 of FIG. 14 ) to estimate an actual motion vector of a current block with a first pixel accuracy.
  • the first pixel accuracy is the 1 ⁇ 8 pixel accuracy.
  • the separating unit 2920 separates the estimated motion vectors having the first pixel accuracy into base layer's motion vector components having a low second pixel accuracy and enhancement layer's motion vector components having a high third pixel accuracy.
  • the second pixel accuracy may be the 1 ⁇ 2 pixel accuracy
  • the third pixel accuracy may be the 1 ⁇ 4 or 1 ⁇ 8 pixel accuracy.
  • the motion vector coding unit 2930 includes a base layer coder 2932 for coding the base layer's motion vector components and an enhancement layer coder 2934 for coding the enhancement layer's motion vector components.
  • the base layer coder 2932 scans motion vectors of blocks of a current frame according to a predetermined scan order, estimates a base layer of a motion vector of a current block from motion vectors of neighboring blocks of the current block having the same type as the motion vector of the current block, and codes a residual between the estimated base layer and the actual base layer of the motion vector of the current block using CABAC.
  • the enhancement layer coder 2934 codes sub-symbols of the enhancement layer in a binary sequence.
  • a motion vector may also be separated into a base layer and at least two enhancement layers according to additionally subdivided pixel accuracies.
  • the sub-symbol is coded in a binary sequence in the foregoing description, it may also be coded using CABAC.
  • a block size is halved.
  • 16 ⁇ 16, 8 ⁇ 8, and 4 ⁇ 4 blocks become 8 ⁇ 8, 4 ⁇ 4, and 2 ⁇ 2 blocks.
  • the motion vectors are also scaled down by a factor of 2 after one spatial level down. If adjacent two motion vectors have a difference less than 2 pixels at full resolution, then in half resolution they have a difference less than 1 pixel. For these two motion vectors, they can be replaced by any one of them.
  • a motion vector field has a layered structure composed of a base layer including only motion vectors of blocks of a predetermined size or larger and an enhancement layer including only motion vectors of blocks smaller than the predetermined size.
  • FIG. 32 is a view for explaining a layered structure of a motion vector, applied to the scalable motion vector coding method according to another embodiment of the present invention.
  • a representative motion vector selected among motion vectors of the small blocks is assigned to the formed larger block.
  • a base layer having only motion vectors of blocks of a predetermined size or larger is formed and motion vectors of blocks of a predetermined size or smaller to be merged are formed as an enhancement layer.
  • a predetermined block 3200 of a current frame is divided as shown in FIG. 32 after motion estimation using VSBM.
  • a 64 ⁇ 64 block of the current frame may be divided into 4 ⁇ 4 blocks using HVSBM, but the block 3200 has a size of 32 ⁇ 32 in FIG. 32 for convenience of explanation.
  • small blocks of a predetermined size or smaller are merged into a larger block and a representative motion vector among motion vectors of the small blocks is assigned to the larger block.
  • the first motion vector in the quad-tree scan order of FIG. 26 may be determined to be the representative motion vector based on the type of the motion vector.
  • the first normal motion vector and the first reverse motion vector among motion vectors of blocks scanned in the quad-tree scan order are assigned to the larger block based on the type of the motion vector. For example, by merging four 4 ⁇ 4 blocks 3210 corresponding to children nodes in the quad-tree structure as a result of HVSBM into a single 8 ⁇ 8 block 3231 , a base layer including only motion vectors of 8 ⁇ 8 or larger blocks is formed.
  • the first normal motion vector and the first reverse motion vector among motion vectors of the four 4 ⁇ 4 blocks 3210 scanned in the quad-tree scan order are assigned to the 8 ⁇ 8 block 3231 into which the four 4 ⁇ 4 blocks 3210 are merged.
  • four 4 ⁇ 4 blocks 3220 corresponding to children nodes in the quad-tree structure are merged into a single 8 ⁇ 8 block 3232 and the first normal motion vector and the first reverse motion vector among motion vectors of the four 4 ⁇ 4 blocks 3220 are assigned to the 8 ⁇ 8 block 3232 .
  • Motion vectors of the four 4 ⁇ 4 blocks 3210 and the four 4 ⁇ 4 blocks 3220 form enhancement layers 3241 and 3242 and are coded independently of a base layer 3230 including motion vectors of 8 ⁇ 8 or larger blocks.
  • the normal motion vector and the reverse motion vector are assigned to the larger block to reserve the representative normal motion vector to be assigned to a block having the normal motion vector among four children nodes and the representative reverse motion vector to be assigned to a block having the reverse motion vector among the four children nodes.
  • FIG. 33 is a flowchart illustrating the scalable motion vector coding method according to another embodiment of the present invention.
  • a current frame is divided into a plurality of blocks and motion estimation is performed to determine a motion vector for each block in operation 3310 .
  • HVSBM may be used to determine the motion vector for each block.
  • a base layer including motion vectors of blocks of a predetermined size or larger and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size are formed in operation 3320 .
  • blocks corresponding to parent nodes in the quad-tree structure are assigned a normal motion vector and a reverse motion vector as representative motion vectors, which are selected among motion vectors of children nodes according to a sub-sample selection scheme to be described later.
  • the base layer and the enhancement layer are coded in operation 3330 .
  • blocks of the base layer and the enhancement layer are scanned according to a predetermined scan order, a motion vector of a current block is estimated from motion vectors of neighboring blocks of the current block based on the type of the motion vector, and a residual between the estimated motion vector and the actual motion vector is coded using CABAC.
  • FIG. 34 is a view for explaining a sub-sample selection scheme applied to a layered structure of a motion vector according to another embodiment of the present invention.
  • a dotted arrow indicates a reverse motion vector and a solid arrow indicates a normal motion vector.
  • representative normal and reverse motion vectors are selected from four 4 ⁇ 4 children blocks and are assigned to an 8 ⁇ 8 parent block as illustrated in Set 1 and Set 2 of FIG. 34 .
  • the first normal and reverse motion vectors in the quad-tree scan order of FIG. 26 may be selected as the representative normal and reverse motion vectors.
  • a normal motion vector of a 4 ⁇ 4 block 3412 having the first normal motion vector according to the quad-tree scan order is assigned as the representative normal motion vector to an 8 ⁇ 8 parent block 3412 .
  • a reverse motion vector of a 4 ⁇ 4 block 3414 having the first reverse motion vector is assigned as the representative reverse motion vector to the 8 ⁇ 8 parent block 3412 .
  • Motion vectors of blocks having sizes larger than or equal to 8 ⁇ 8 are coded as a base layer and motion vectors of 4 ⁇ 4 blocks are coded as an enhancement layer. Then a two-layer structure for motion vector coding is formed.
  • the first normal and reverse motion vectors according to the quad-tree scan order are assigned to the 8 ⁇ 8 block and coded as a base layer, since the first normal and reverse motion vectors in the four 4 ⁇ 4 children blocks have already been coded at the base layer, it is not necessary to code them again in the enhancement layer.
  • the total number of coded motion vectors is the same as that of coded motion vectors without a layered structure.
  • both the base layer and enhancement layer of motion vectors can be transmitted.
  • motion vectors can be reconstructed without distortion.
  • the enhancement layer may be thrown away and more bits may be spent on frame data. Then in four grouped 4 ⁇ 4 blocks, all the normal motion vectors are replaced by their corresponding representatives in their 8 ⁇ 8 parent blocks.
  • FIG. 36 illustrates a motion vector bitstream 3600 when the motion vectors having the three-layer structure are coded.
  • motion vectors of blocks having sizes larger than or equal to 16 ⁇ 16 form a base layer
  • motion vectors of 8 ⁇ 8 blocks having children nodes form a first enhancement layer
  • motion vectors of 4 ⁇ 4 blocks form a second enhancement layer.
  • motion vectors of the 16 ⁇ 16 block are replaced by motion vectors of children blocks of the 16 ⁇ 16 block.
  • the decoder receives a base layer including only motion vectors of blocks having sizes larger than or equal to 16 ⁇ 16, it replaces all the reverse motion vectors of 8 ⁇ 8 and 4 ⁇ 4 blocks divided according to received block map information by the reverse motion vector of the top-most 16 ⁇ 16 block.
  • the decoder receives a base layer including only motion vectors of blocks larger than 16 ⁇ 16, it replaces all the normal motion vectors of 8 ⁇ 8 and 4 ⁇ 4 blocks divided according to received block map information by a normal motion vector of the top-most 16 ⁇ 16 block.
  • the motion vectors may also have a four-layered structure.
  • the four-layered structure may include a base layer composed of motion vectors of blocks larger than 32 ⁇ 32, a first enhancement layer composed of motion vectors of the 16 ⁇ 16 blocks, a second enhancement layer composed of motion vectors of the 8 ⁇ 8 blocks, and a third enhancement layer composed of motion vectors of the 4 ⁇ 4 blocks.
  • motion vector estimation using the foregoing scan order and neighboring blocks is used.
  • the motion vector of the current block may be estimated from the same-type motion vector of the neighboring block. If there is no the same-type motion vector in any of the neighboring blocks, the motion vector of the current block may be estimated from the same-type motion vector of a previously processed block in the quad-tree scan order.
  • FIG. 35 is a block diagram of a scalable motion vector coder 3500 according to another embodiment of the present invention.
  • the scalable motion vector coder 3500 includes a motion estimation unit 3510 , a layer forming unit 3520 , and a layered motion vector coder 3530 .
  • the motion estimation unit 3510 divides a current frame into a plurality of blocks and performs motion estimation to determine a motion vector for each of the divided blocks through HVSBM ( 231 of FIG. 14 ).
  • the layer forming unit 3520 forms a base layer including motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size, using the motion vectors of the divided blocks.
  • the layer forming unit 3520 selects normal and reverse motion vectors as representative motion vectors from motion vectors of children nodes according to the sub-sample selection scheme and assigns the selected normal and reverse motion vectors to a large block corresponding to a parent node.
  • the layered motion vector coder 3530 scans motion vectors of the base layer and the enhancement layer according to a predetermined scan order, estimates a motion vector of a current block from motion vectors of neighboring blocks having the same type as the motion vector of the current block, and codes a residual between the estimated motion vector and the actual motion vector using CABAC.
  • all information up to this enhancement layer i.e., an updated motion field and updated context model information in a previous layer, may be used.
  • the scalable motion vector coding method according to an embodiment of the present invention may be replaced by a conventional motion vector coding method selectively according to encoded motion vectors and predetermined rate distortion (RD) costs.
  • RD rate distortion
  • FIG. 36 illustrates a bitstream produced by the scalable motion vector coding method and the scalable motion vector coder according to another embodiment of the present invention.
  • the bitstream is produced for motion vectors have a three-layer structure including one base layer and two enhancement layers.
  • a base layer 3610 when motion vectors are coded into a three layer, a base layer 3610 includes motion vector information of blocks having sizes equal to or larger than 16 ⁇ 16, a first enhancement layer 3620 includes motion vector information of 8 ⁇ 8 blocks, and a second enhancement layer 3630 includes motion vector information of 4 ⁇ 4 blocks.
  • the motion vector information of all the layers can be transmitted at high rates, but motion vector information of the base layer 3610 or the motion vector information of the first enhancement layer 3620 can be selectively transmitted according to a channel status.
  • FIG. 37 is a block diagram of a scalable motion vector decoder 3700 according to an embodiment of the present invention.
  • the scalable motion vector decoder 3700 includes a layered motion vector restoring unit 3710 and a summing unit 3712 .
  • the layered motion vector restoring unit 3710 extracts layered motion vector information coded according to an embodiment of the present invention from an input bitstream and analyzes the extracted motion vector information to read motion information of each layer.
  • Motion vector information coded according to an embodiment of the present invention includes motion vector components of a base layer and an enhancement layer having different pixel accuracies.
  • Motion vector information coded according to another embodiment of the present invention includes a base layer composed of motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer composed of motion vectors of blocks smaller than the predetermined size.
  • the layered motion vector restoring unit 3710 restores motion vectors of the base layer and the enhancement layer by decoding the layered motion vector information.
  • the summing unit 3712 outputs the motion vectors of the base layer restored by the layered motion vector restoring unit 3710 if the received bitstream includes only motion vector information of the base layer. If the received bitstream includes motion vector information of the base layer and the enhancement layer, the summing unit 3712 adds the motion vector components of the enhancement layer to the motion vector components of the base layer, thereby outputting layered motion vector information.
  • the present invention can also be embodied as computer-readable code on a computer-readable recording medium.
  • the computer-readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer-readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (e.g., transmission over the Internet).
  • ROM read-only memory
  • RAM random-access memory
  • CD-ROMs compact discs, digital versatile discs, digital versatile discs, and Blu-rays, etc.
  • magnetic tapes floppy disks
  • optical data storage devices e.g., digital versatile discs
  • carrier waves e.g., transmission over the Internet

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A method and apparatus for scalable coding of a motion vector generated during motion estimation, in which a generated motion vector field is separated into a base layer and an enhancement layer according to pixel accuracies to obtain a layered structure for a motion vector. In addition, the motion vector field has a layered structure including a base layer composed of motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer composed of motion vectors of blocks smaller than a predetermined size.

Description

    CROSS REFERENCE TO RELATED APPLICATIONS
  • The present application is a divisional of U.S. application Ser. No. 11/370,948 filed Mar. 9, 2006 which claims priority from U.S. Provisional Application No. 60/659,423 filed Mar. 9, 2005, the disclosure of each of which are incorporated herein by reference in their entirety. The parent application Ser. No. 11/370,948 is also a continuation-in-part application of U.S. application Ser. No. 10/864,833 filed Jun. 9, 2004 which claims priority from U.S. Provisional Application No. 60/477,183 filed Jun. 10, 2003, the disclosures of which are incorporated herein by reference in their entirety. The parent application Ser. No. 11/370,948 is also a continuation-in-part application of U.S. application Ser. No. 10/965,237 filed Oct. 14, 2004, which claims priority from U.S. Provisional Application 60/512,120, filed Oct. 17, 2003, and U.S. Provisional Application 60/477,183, filed Jun. 10, 2003, the disclosures of each of which are incorporated herein by reference in their entirety.
  • BACKGROUND OF THE INVENTION
  • 1. Technical Field
  • Methods and apparatuses consistent with the present invention relate to scalable video coding, and more specifically, to scalable motion vector coding by providing motion vector with scalability, i.e., adjusting the amount of bit allotted to motion vector and coding motion vector residual based on Context Based Adaptive Binary Arithmetic Coder (CABAC).
  • 2. Related Art
  • In scalable video coding, bitstream is generally divided into motion vector information (motion vector, divided block map, etc) and texture information including residual obtained by motion estimation. Motion information is losslessly compressed. However, currently used motion vector coding in the context of scalable video coders collects all the motion information together and places it at the beginning of the compressed bitstream. Because it contains the motion vectors at the highest frame rate and for the best image quality, this portion of data takes a large amount of bits. Hence, the coding performance at low bit-rates is relatively poor because the truncated bitstream contains mostly the motion information. Thus, there is a need for dividing motion information according to its importance and transmitting a portion of motion vector depending on channel condition in the context of scalable video coders.
  • SUMMARY OF THE INVENTION
  • The present invention provides a scalable motion vector coding method comprising: estimating a motion vector of a current block with a first pixel accuracy; separating the estimated motion vector into a base layer's motion vector component having a second pixel accuracy and an enhancement layer's motion vector component having a third pixel accuracy; and coding the base layer's motion vector component and the enhancement layer's motion vector component respectively.
  • The present invention provides a scalable motion vector coder comprising: a motion estimation unit estimating a motion vector of a current block with a first pixel accuracy; a separating unit separating the estimated motion vector into a base layer's motion vector component having a second pixel accuracy and an enhancement layer's motion vector component having a third pixel accuracy; and a motion vector coding unit coding the base layer's motion vector component and the enhancement layer's motion vector component.
  • The present invention provides a scalable motion vector coding method comprising: dividing a current frame into a plurality of blocks and performing motion estimation to determine a motion vector for each of the divided blocks; forming a base layer including motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size, using the motion vectors of the divided blocks; and coding the base layer and the enhancement layer, respectively.
  • The present invention provides a scalable motion vector coder comprising: a motion estimation unit dividing a current frame into a plurality of blocks and performing motion estimation to determine a motion vector for each of the divided blocks; a layer forming unit forming a base layer including motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size, using the motion vectors of the divided blocks; and a layered motion vector coding unit coding the base layer and the enhancement layer, respectively.
  • The present invention provides a scalable motion vector decoding method for decoding a motion vector coded into a base layer and an enhancement layer, comprising: extracting motion vector information by analyzing an input bitstream; restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector, wherein the base layer has a pixel accuracy that is lower than that of an estimated motion vector and the enhancement layer has a pixel accuracy that is higher than that of the motion vector component of the base layer.
  • The present invention provides a scalable motion vector decoder for decoding a motion vector coded into a base layer and an enhancement layer, comprising: a motion vector restoring unit extracting motion vector information by analyzing an input bitstream and restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and a summing unit summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector, wherein the base layer has a pixel accuracy that is lower than that of an estimated motion vector and the enhancement layer has a pixel accuracy that is higher than that of the motion vector component of the base layer.
  • The present invention provides a scalable motion vector decoding method for decoding a motion vector coded into a base layer and an enhancement layer, comprising: extracting motion vector information by analyzing an input bitstream; restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector, wherein the base layer includes information about motion vectors of blocks larger than or equal to a predetermined size and the enhancement layer includes information about motion vectors of blocks smaller than the predetermined size.
  • The present invention provides a scalable motion vector decoder for decoding a motion vector coded into a base layer and an enhancement layer, comprising: a motion vector restoring unit extracting motion vector information by analyzing an input bitstream and restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and a summing unit summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector, wherein the base layer includes information about motion vectors of blocks larger than or equal to a predetermined size and the enhancement layer includes information about motion vectors of blocks smaller than the predetermined size.
  • The present invention advantageously provides motion vector scalability with respect to temporal, SNR and resolution in the context of scalable video coders and enhances the visual quality of video in the low bit-rate and resolution than currently exists in the related art.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 illustrates a video coding system comprising a Motion Compensated Temporal Filtering (MCTF) processor, in accordance with an exemplary embodiment of the present invention.
  • FIG. 2 illustrates the MCTF process implemented by the MCTF processor of FIG. 1, in accordance with an exemplary embodiment of the present invention.
  • FIG. 3 is a flow chart depicting utilizing I-BLOCKs in temporal high frames generated by the MCTF process of FIG. 2, in accordance with an exemplary embodiment of the present invention.
  • FIG. 4 illustrates connections between pixels of successive frames, in accordance with an exemplary embodiment of the present invention.
  • FIG. 5 illustrates a frame comprising I-BLOCKs and P-BLOCKs, in accordance with an exemplary embodiment of the present invention.
  • FIG. 6 illustrates notation used for spatial interpolation of an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 7A-7C illustrate spatial interpolation of an I-BLOCK for a case in which only one neighbor block is available, in accordance with an exemplary embodiment of the present invention.
  • FIG. 8 illustrates a variable block size of I-BLOCKs in a frame, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 9A-9F illustrate directional spatial interpolation of an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 10 illustrates hybrid spatial interpolation of an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 11 illustrates a current frame that has been configured into variable-size blocks, in accordance with an exemplary embodiment of the present invention.
  • FIG. 12 illustrates the current frame of FIG. 11 and its reference frame together with motion vectors that link blocks in the current frame with corresponding blocks in the reference frame, in accordance with an exemplary embodiment of the present invention.
  • FIG. 13A is a flow chart for utilizing variable block-size OBMC in the MCTF temporal high frames of FIG. 2, in accordance with an exemplary embodiment of the present invention.
  • FIG. 13B is a flow chart describing the variable block-size OBMC processing operation of FIG. 13A, in accordance with an exemplary embodiment of the present invention.
  • FIG. 14 is a block diagram of frame processing associated with the flow charts of FIGS. 13A-13B, in accordance with an exemplary embodiment of the present invention.
  • FIG. 15 illustrates two successive input frames to be transformed by the MCTF into a high temporal frame and a low temporal frame, in accordance with an exemplary embodiment of the present invention.
  • FIG. 16 illustrates a self block and associated nearest neighboring blocks used by OBMC, in accordance with an exemplary embodiment of the present invention.
  • FIG. 17A illustrates 4×4 weighting windows, wherein a self block is a motion block, in accordance with an exemplary embodiment of the present invention.
  • FIG. 17B illustrates 4×4 weighting windows, wherein a self block is an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 18A illustrates 8×8 weighting windows, wherein a self block is a motion block, in accordance with an exemplary embodiment of the present invention.
  • FIG. 18B illustrates 8×8 weighting windows, wherein a self block is an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 19 shows the frame of FIG. 11 such that portions of selected nearest neighbor blocks are depicted, the selected nearest neighbor blocks being larger than their associated self block, in accordance with an exemplary embodiment of the present invention.
  • FIG. 20 shows the frame of FIG. 11, depicting portions of a self block that is larger than associated nearest neighbor blocks, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 21A through 21C depict weighting windows for a self block and an associated smaller nearest neighboring block used by OBMC in conjunction with a shrinking scheme wherein the nearest neighboring block is a motion block, in accordance with an exemplary embodiment of the present invention.
  • FIGS. 22A through 22C depict weighting windows for a self block and an associated smaller nearest neighboring block used by OBMC in conjunction with a reflecting scheme wherein the nearest neighboring block is an I-BLOCK, in accordance with an exemplary embodiment of the present invention.
  • FIG. 23 is a flow chart for calculating weighting windows for variable block-size OBMC, in accordance with an exemplary embodiment of the present invention.
  • FIG. 24 is a flow chart for calculating successively improved motion vectors for the self blocks of a current frame processed according to variable block size OBMC using the probability weighting windows calculated according to according to the methodology described by the flow charts of FIGS. 13A, 13B, and 23, in accordance with an exemplary embodiment of the present invention.
  • FIG. 25 illustrates an example of a quad-tree dividing map resulting from motion estimation according to an embodiment of the present invention.
  • FIG. 26 illustrates the scan order of frames and blocks divided according to the quad-tree dividing map of FIG. 25.
  • FIG. 27 is a view for explaining the spatial prediction of a motion vector of a current block from neighboring blocks according to an embodiment of the present invention.
  • FIG. 28 is a flowchart illustrating a scalable motion vector coding method according to an embodiment of the present invention, in which a motion vector is separated into a base layer and an enhancement layer according to pixel accuracies.
  • FIG. 29 is a block diagram of a scalable motion vector coder according to an embodiment of the present invention.
  • FIG. 30 illustrates division of a motion vector according to pixel accuracies according to an embodiment of the present invention.
  • FIG. 31 illustrates a motion vector bitstream 3100 produced according to an embodiment of the present invention.
  • FIG. 32 is a view for explaining a layered structure of a motion vector, applied to the scalable motion vector coding method according to another embodiment of the present invention.
  • FIG. 33 is a flowchart illustrating the scalable motion vector coding method according to another embodiment of the present invention.
  • FIG. 34 is a view for explaining a sub-sample selection scheme applied to a layered structure of a motion vector according to another embodiment of the present invention.
  • FIG. 35 is a block diagram of a scalable motion vector coder 3500 according to another embodiment of the present invention.
  • FIG. 36 illustrates a bitstream produced by the scalable motion vector coding method and the scalable motion vector coder according to another embodiment of the present invention.
  • FIG. 37 is a block diagram of a scalable motion vector decoder 3700 according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE INVENTION
  • Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The present invention and methods of accomplishing the same may be understood more readily by reference to the following detailed description of exemplary embodiments and the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of the invention to those skilled in the art, and the present invention will only be defined by the appended claims. Like reference numerals refer to like elements throughout the specification.
  • Video compression schemes remove redundant information from input video signals before their transmission, by encoding frames of the input video signals into compressed information that represents an approximation of the images comprised by the frames of the input video signals. Following the transmission of the compressed information to its destination, the video signals are reconstructed by decoding the approximation of the images from the compressed information. With temporal redundancy, pixel values are not independent but are correlated with their neighbors across successive frames of the input video signals.
  • In Moving Pictures Experts Group (MPEG) hybrid coding, temporal redundancy may be removed by motion-compensated prediction (MCP). A video signal is typically divided into a series of groups of pictures (GOP), where each GOP begins with an intra-coded frame (I) followed by an arrangement of forward predictive-coded frames (P) and bidirectional predicted frames (B). Both P-frames and B-frames are interframes. A target macroblock in a P-frame can be predicted from one or more past reference frames (forward prediction). Bidirectional prediction, also called motion-compensated (MC) interpolation, is an important feature of MPEG video. B-frames coded with bidirectional prediction use two reference frames, one in the past and one in the future. A target macroblock in a B-frame can be predicted from past reference frames (forward prediction) or from future reference frames (backward prediction), or by an average of these two predictions (interpolation). The target macroblock in either a P-frame or a B-frame can also be intra coded as an I-BLOCK or a P-BLOCK as defined infra.
  • Forward or backward prediction encodes data in a current input frame (i.e., picture) based upon the contents of a preceding or succeeding reference frame, respectively, in consideration of luminance and/or chrominance values at the pixels in both the current input frame and one or more reference frames. Thus the reference frames used for the predictive encoding are either preceding reference frames or succeeding reference frames. For a given input block of pixels (e.g., a 16×16 array of pixels) in the current input frame, the predictive encoding utilizes motion compensated prediction (MCP) to successively shift blocks in the reference frames, within a predetermined search range, to determine whether there is a 16×16 array of pixels found within a reference frame which has at least a given minimum degree of correlation with the input block. If the given minimum degree of correlation is determined to exist, then the amount and direction of displacement between the found 16×16 pixel array in the reference frame and the input block is obtained in the form of a motion vector (MV), with horizontal and vertical components. The respective values of the difference between the pixel values (e.g., luminance values alone or luminance and chrominance values) of the input block and the corresponding pixels within the found 16×16 array of pixels in the reference frame are motion compensated prediction error values, sometimes called prediction residuals or simply residuals. As stated supra, prediction from a preceding reference frame is referred to as forward prediction, and from a succeeding reference frame is referred to as backward prediction. If no correlated 16×16 blocks in the reference frames are found within the search range, then the input block may be intra-coded within the input frame, and is referred to as an I-BLOCK. With bidirectional prediction, values for the input block may be predicted based on 16×16 blocks of pixels within both preceding and succeeding reference frames, respectively. The preceding discussion of 16×16 pixel blocks is merely illustrative and the scope of the present invention includes pixel blocks of any pixel array size. With variable size block matching (VSBM), for example, the block sizes are at least 4×4.
  • An unconnected block within a current input frame is classified to be either an I-BLOCK or a P-BLOCK. An I-BLOCK is defined as an input block in the current input frame that does not have sufficient correlation (e.g., a given minimum degree of correlation) with a corresponding block of pixels in the reference frame that is being used for forward or backward prediction in relation to the frame. Due to the lack of sufficient correlation, an I-BLOCK is encoded entirely within the given frame independent of a reference frame. A P-BLOCK is encoded by: forward prediction from the reference frame under the assumption that the reference frame precedes the given frame; backward prediction from the reference frame under the assumption that the reference frame succeeds the given frame; or bidirectional prediction using both a preceding and succeeding reference frame.
  • An example of an I-BLOCK is a block of newly uncovered pixels in the current input frame having no corresponding pixels in the preceding frame. Other examples of I-BLOCKs include poorly matched motion blocks such as, inter alia, a block of partially covered or partially occluded pixels in the current input frame wherein the block does not have sufficient correlation with a corresponding block of pixels in the reference frame. The present invention provides a method of determining and encoding I-BLOCKs.
  • The present invention is directed to the quality of the motion, since Motion Compensated Temporal Filtering (MCTF) is rather sensitive to the quality. The conventionally used block based motion in MPEG video standards is not of sufficient high quality to avoid the creation of artifacts in the lower frame rate videos output by the MCTF and resultant scalable video coder. Currently, even VSBM is not sufficient to reliably avoid artifacts. In contrast, the present invention provides a method of determining and coding a more smooth and consistent motion for MCTF use.
  • Also, the present invention provides method and apparatus for scalable motion vector coding based on CABAC for MC-Embedded Zero Block Coding (EZBC). A layered structure for motion vector coding and Alphabet General Partition (AGP) of motion vector symbols are employed for signal-to-noise ration (SNR) and resolution scalability of motion vector bitstream. With these two features and the careful arrangement of motion vector bitstream already existing in MC-EZBC, the present invention provides temporal, SNR and resolution scalability for motion vectors, and improve significantly both visual and objective results for low rates and low resolution with slight PSNR loss and unnoticeable visual loss at high rates.
  • DEFINITIONS
  • The following definitions apply herein to the description of the present invention:
  • A “video coding system” is a system that encodes video data.
  • A “video coder” is an algorithm which reduces the number of bits necessary to store a video clip by removing redundancy and introducing controlled distortion
  • A “subband/wavelet coder” is a video coder that uses the subband/wavelet transformation in the process of redundancy reduction
  • A “temporal correlation” is a correlation between pixels in adjacent or nearby frames
  • “Spatial correlation” is a correlation between pixels in the same frame
  • “Motion estimation” is estimation of a motion or displacement vector that locates a matching block in another frame
  • “Motion compensation” (MC) is a process of actually an alignment of a block in the present frame with a matching block in a different frame.
  • “Motion compensated temporal filtering” (MCTF) is a process of filtering a block or array of pixels along the time axis (i.e., motion trajectory) in a manner to be described infra in conjunction with FIG. 2.
  • “Temporal low frame” is a frame containing the spatial low frequencies that are common in a pair (or larger set) of frames.
  • “Temporal high frame” is a frame containing the spatial high frequencies that constitute the MC difference in a pair (or larger set) of frames
  • “Temporal redundancy” denotes a dependency between pixels in adjacent or nearby frames
  • “Block matching” is a method that assigns one motion to a block of pixels.
  • “Variable size block matching” (VSBM) is a block matching motion estimation using variable size blocks to better represent the motion. Block sizes may range, inter alia, from 4×4 to 64×64.
  • “Hierarchical VSBM” (HVSBM) is a motion estimation method that uses a hierarchy of spatial resolutions to perform the VSBM, progressing from lowest to highest (full) resolution.
  • “Overlapped block motion compensation” (OBMC) is a method of enhancing block-based motion to make the resulting motion based prediction smoother and reduce or eliminate the effect of motion vector discontinuities between neighboring blocks.
  • A “global motion vector” is a motion vector that is used for the entire frame, wherein the pertinent block size is equal to the frame size.
  • An “unconnected area” is an area of the image frame that does not have a corresponding region in the reference frames or a region where the motion is too complicated for the motion estimator to track properly.
  • “Motion compensated prediction” (MCP) is a data reduction technique, wherein motion vectors are used to warp a previously transmitted frame prior to its use as a prediction of the current frame, and only the resulting prediction error is quantized and transmitted for this frame.
  • “Displaced frame difference” (DFD) is an error resulting from a motion compensated prediction.
  • A “hybrid coder” is a video coder such as MPEG-2 that makes use of MC prediction inside a feedback loop to temporally compress the data, and then a spatial transform coder to code the resulting prediction error.
  • Motion Compensated Temporal Filtering (MCTF)
  • Moving Picture Experts Group (MPEG), which is one of subcommittees of International Organization for Standardization (ISO), is exploring scalable coding. The purpose of MPEG is to design international standards for the transmission and storage of combined audio and video signals. A key element in this is the compression of these audiovisual signals due to their large uncompressed size. A scalable video coder provides an embedded bit stream containing a whole range of bit rates, lower resolutions, and lower frame rates, in addition to the full frame rate and full resolution input to the scalable coder. With the embedding, the lower bit rate result is embedded in each of the higher bit rate streams.
  • FIG. 1 illustrates a video coding system 50, in accordance with an exemplary embodiment of the present invention. Input video 51 is received by an MCTF processor 52 and comprises a group of pictures (GOP) such as 16 input frames. Each frame has pixels, and each pixel has pixel value for the pixel characteristics of luminance and chrominance. For each block of data processed by the MCTF processor 52, the MCTF processor 52 needs motion information in the form of a motion vector. Accordingly, the input video 51 data is sent from the MCTF processor 52 to a motion estimation unit 56 which determines the motion vectors and sends the determined motion vectors back up to the MCTF processor 52 to perform the motion compensated temporal filtering. In addition, the motion information is coded in the motion field coding processor 57, and then transmitted to the packetizer 55. Especially, the motion field coding processor 57 according to the present invention codes the motion information scalablely using CABAC.
  • The MCTF processor 52 generates output frames comprising one temporal low frame and multiple temporal high frames of transformed pixel values, derived from the input frames of the input video 51 as will be described infra in conjunction with FIG. 2. The generated output frames are processed by spatial analysis unit 53 by being analyzed spatially with a subband wavelet coder, namely a discrete wavelet transform. By using the MCTF processor 52, the video coding system 50 does not suffer the drift problem exhibited by hybrid coders that have feedback loops.
  • The spatial analysis unit 53 decomposes the generated output frames (i.e., one temporal low frame and multiple temporal high frames) into one low frequency band and bands having increasing scales of higher and higher frequency. Thus, the spatial analysis unit 53 performs a spatial pixel transformation to derive spatial subbands in a manner that is analogous to pixel transformation performed by the MCTF processor 52 in the time domain. The output of spatial analysis unit 53 is uncompressed floating point data and many of the subbands may comprise mostly near zero values.
  • These spatial subbands in space generated by the spatial analysis unit 53 are sent to an embedded zero block coder 54 which is one of a family of subband/wavelet coders that exploit temporal correlation but is fully embedded in quality/bit-rate, spatial resolution, and frame rate. The embedded zero block coder 54 algorithm provides the basic scalability properties by individually coding each spatial resolution and temporal high subband. The embedded zero block coder 54 includes a compression block that quantizes the subband coefficients and assigns bits to them. The quantizing converts the floating point output of spatial analysis unit 53 to a binary bit representation, followed by truncating the binary bit representation to discard relatively insignificant bits such that no more than negligible distortion is generated from the truncation. The embedded zero block coder 54 is an adaptive arithmetic coder which converts the fixed bit strings into variable length strings, thereby achieving further compression. Thus, the embedded zero block coder 54 is both a quantizer and a variable length coder called a conditional adaptive arithmetic coder. Whereas the quantizer is throwing away bits, the variable length coder compresses output from the quantizer losslessly. The bit streams generated by the embedded zero block coder 54 are interleaved and sent to the packetizer 55. The embedded zero block coder 54 can be substituted by another suitable embedded or layered coder, e.g., JPEG 2000 and others.
  • The packetizer 55 combines the bits of the streams generated by the embedded zero block coder 54 with the bits of motion vectors (needed for doing decoding later) transmitted from the motion field coding processor 57 and separates the combination of bits into packets of desired sizes (e.g., Internet packets of 500 kilobytes or less). The packetizer 55 subsequently sends the packets over a communication channel to a destination (e.g., a storage area for storing the encoded video information).
  • FIG. 2 illustrates the MCTF process implemented by the MCTF processor 52 of FIG. 1 for an exemplary GOP size of 16 frames, in accordance with an exemplary embodiment of the present invention. FIG. 2 shows 5 levels in the MCTF process of successive filtering, namely levels 5, 4, 3, 2, and 1 having 16, 8 4, 2, and 1 frames therein, respectively. Thus, each level N contains 2N−1 frames for N=1, 2, 3, 4, 5. Level 5 contains the 16 input frames of the input video 51 of FIG. 1, namely input frames F1, F2, . . . , F16 ordered in the direction of increasing time from left to right. MC temporal filtering is performed on pairs of frames to produce temporal low (t-L) and high (t-H) subband frames at the next lower temporal scale or frame rate. In FIG. 2, solid lines indicate the temporal low frames and dashed lines indicate the temporal high frames. At each temporal scale, curved lines indicate the corresponding motion vectors.
  • The MC temporal filtering is performed four times in FIG. 2 to generate 5 temporal scales or frame rates, the original frame rate and four lower frame rates. The frame rates generated are full rate, ½ full rate, ¼ full rate, ⅛ full rate, and 1/16 full frame rate at levels 5, 4, 3, 2, and 1, respectively. Thus, if the input frame rate were 32 frames per second (fps), then the lowest frame rate out is 2 fps at level 1. In FIG. 2, the lowest frame rate is denoted (1), the next higher frame rate is denoted as (2), etc.
  • In motion estimation and associated temporal filtering from level 5 to level 4, the motion estimation unit 56 of FIG. 1 performs motion estimation from F1 to F2, F3 to F4, F5 to F6, F7 to F8, F9 to F10, F11 to F12, F13 to F14, and F15 to F16, and determines the associated motion vectors M1, M2, M3, M4, M5, M6, M7, and M8, respectively. The MCTF processor 52 of FIG. 1 performs temporal filtering on frames F1 and F2 to generate temporal low frame L1 and temporal high frame H1; temporal filtering on frames F3 and F4 to generate temporal low frame L2 and temporal high frame H2; temporal filtering on frames F5 and F6 to generate temporal low frame L3 and temporal high frame H3; temporal filtering on frames F7 and F8 to generate temporal low frame L4 and temporal high frame H4; temporal filtering on frames F9 and F10 to generate temporal low frame L5 and temporal high frame H5; temporal filtering on frames F11 and F12 to generate temporal low frame L6 and temporal high frame H6; temporal filtering on frames F13 and F14 to generate temporal low frame L7 and temporal high frame H7; and temporal filtering on frames F15 and F16 to generate temporal low frame L8 and temporal high frame H18. Generally, the frames being temporally filtered into temporal low and temporal high frames are called “child frames”. For example, the F1 and F2 frames are child frames of the L1 and H1 frames. Generally, if corresponding pixel values in the child frames are VA and VB, then the corresponding pixel values in the temporal low and temporal high frames are proportional to VA+VB and VA−VB, respectively, in the special case where Haar filters are used for temporal filtering. Thus, pixel values in temporal low frames are proportional to the average of the corresponding pixel values in the child frames. In contrast, pixel values in temporal high frames are proportional to the difference between corresponding pixel values in the child frames. Thus, if the pixel values in the child frames are close to each other, then the pixels in the temporal high frames generally have a low energy (i.e., a large number of near zero values) and are therefore highly compressible.
  • In motion estimation and associated temporal filtering from level 4 to level 3, the motion estimation unit 56 of FIG. 1 further performs motion estimation from L1 to L2, L3 to L4, L5 to L6, and L7 to L8, and determines the associated motion vectors M9, M10, M11, and M12, respectively. The MCTF processor 52 of FIG. 1 further performs: temporal filtering on frames L1 and L2 to generate temporal low frame L9 and temporal high frame H9; temporal filtering on frames L3 and L4 to generate temporal low frame L10 and temporal high frame H10; temporal filtering on frames L5 and L6 to generate temporal low frame L11 and temporal high frame H11; and temporal filtering on frames L7 and L8 to generate temporal low frame L12 and temporal high frame H12.
  • In motion estimation and associated temporal filtering from level 3 to level 2, the motion estimation unit 56 of FIG. 1 further performs: motion estimation from: L9 to L10 and L11 to L12 and determines the associated motion vectors M13 and M14, respectively. The MCTF processor 52 of FIG. 1 further performs temporal filtering on frames L9 and L10 to generate temporal low frame L13 and temporal high frame H13; and temporal filtering on frames L11 and L12 to generate temporal low frame L14 and temporal high frame H14.
  • In motion estimation and associated temporal filtering from level 2 to level 1, the motion estimation unit 56 of FIG. 1 further performs motion estimation from L13 to L14, and determines the associated motion vector M15. The MCTF processor 52 of FIG. 1 further performs temporal filtering on frames L13 and L14 to generate temporal low frame L15 and temporal high frame H15.
  • As a result of the MCTF of FIG. 2, the 16 frames in this 5 level example, consisting of the temporal low frame L15 and the temporal high frames H1, H2, . . . , H15 are output from the MCTF processor 52 to the spatial analysis unit 53 of FIG. 1. Since the temporal high frames H1, H2, . . . , H15 may comprise a large number of near zero values, as explained supra, the temporal high frames H1, H2, . . . , H15 frames are amenable to being highly compressed.
  • Given frames L15, H1, H2, . . . , H15, the frames in Levels 2, 3, 4, and 5 may be regenerated by sequentially reversing the process that generated frames L15, H1, H2, . . . , H15. For example, frames L15 and H15 of Level 1 may be mathematically combined to regenerate frames L13 and L14 of Level 2. Similarly, frames L13 and H13 of Level 2 may be mathematically combined to regenerate frames L9 and L10 of Level 3, and frames L14 and H14 of Level 2 may be mathematically combined to regenerate frames L11 and L12 of Level 3. This process may be sequentially continued until frames F1, F2, . . . , F16 of Level 1 are regenerated. Since the compression performed by the embedded zero block coder 54 of FIG. 1 is lossy, the regenerated frames in Levels 2-5 will be approximately, but not exactly, the same as the original frames in Levels 2-5 before being temporally filtered.
  • Detecting and Processing I-BLOCKs
  • Because the MCTF decomposition is applied similarly to multiple pairs of frames as explained supra in conjunction with FIG. 2, attention is next focused on a representative pair of successive frames in a level of FIG. 2 (e.g., frames L1 and L2 in level 4). The representative two frames of this pair of successive frames are denoted as frames A and B, wherein forward estimation is performed from frame A to frame B, so that frame A is earlier in time than frame B. Newly uncovered pixels in frame B have no corresponding pixels in frame A. Similarly, occluded pixels in frame A have no corresponding pixel in frame B. The present invention utilizes I-BLOCKs to deal locally with poorly matched motion blocks resulting from the newly uncovered pixels in frame B. For I-BLOCKs identified in accordance with the present invention as described infra, MC temporal filtering is omitted and spatial interpolation is used instead to determine pixel values in the I-BLOCK. The resulting spatial interpolation error block for the I-BLOCK (also called the residual error block of the interpolated I-BLOCK) is subsequently overlayed on (i.e., inserted into) the corresponding block within the associated MCTF temporal high frame.
  • The present invention discloses a method of compressing video that involves a spatiotemporal or space-time transformation utilizing motion compensated blocks in pairs of input frames, such as the representative pair having input frames A and B. These blocks are of various sizes and are chosen to match the local motion vector field, so there are small blocks where the field has a high spatial gradient and large blocks in more flat regions where the spatial gradient is small. This block based motion field is used to control the spatiotemporal transformation so that it filters along approximate motion trajectories. The output of such a transformation is compressed for transmission or storage.
  • Some of the blocks may be unconnected with neighbors in the next frame (timewise) because of covering or uncovering of regions in the frame due to motion, e.g., a ball moving in front of a background object that is stationary. Such regions (i.e., I-BLOCKs) should not take part in the MC temporal filtering, since the MC temporal filtering would lead to artifacts in the low frame rate video. These I-BLOCKs need to be compressed along with the other blocks (i.e., P-BLOCKs) in the temporal high frame. The P-BLOCKs can be used to spatially predict the unconnected I-BLOCKs via spatial interpolation. These I-BLOCKs are thus suited to work with non-hybrid MCTF.
  • FIG. 3 is a flow chart a method for utilizing I-BLOCKs in the MCTF temporal high frames, in accordance with an exemplary embodiment of the present invention.
  • Operation 31 utilizes two successive frames, A and B, in an MCTF filtering level, wherein forward estimation is performed from frame A to frame B. As an example, frames A and B could represent frames F1 and F2 in level 5 of FIG. 2, or frames L1 and L2 in level 4 of FIG. 2.
  • In operations 32 and 33, the connection state of pixels in frames A and B is determined as illustrated in FIG. 4 in accordance with an exemplary embodiment of the present invention. Each pixel in frames A and B will be classified as having a connection state of “connected” or “unconnected” as follows. FIG. 4 shows pixels A1, A2, . . . , A12 in frame A and pixels B1, B2, . . . , B12 in frame B. Pixels A1, A2, A3, and A4 are in block 1 of frame A. Pixels A5, A6, A7, and A8 are in block 2 of frame A. Pixels A9, A10, A11, and A12 are in block 3 of frame A. Pixels B1, B2, B3, and B4 are in block 1 of frame B. Pixels B5, B6, B7, and B8 are in block 2 of frame B. Pixels B9, B10, B11, and B12 are in block 3 of frame B. Pixels in frame A are used as references for pixels in frame B in relation to the forward motion estimation from frame A to frame B. Note that the blocks in frames A and B are 4×4 pixel blocks, and FIG. 4 shows only one column of each 4-column block. In FIG. 4, a pixel PA in frame A that is pointed to by an arrow from a pixel PB in frame B is being used as a reference for pixel PB. For example, pixel A1 in frame A is being used as a reference for pixel B1 in frame B.
  • In operation 32, a pixel in frame A is labeled as unconnected if it is not used as a reference by any pixel in frame B. Accordingly, pixels A7 and A8 are unconnected. A pixel in frame A is connected if used as a reference for a pixel in frame B. Accordingly, pixels A1-A6 and A9-A12 are connected. Pixels A3 and A4 require special treatment, however, since pixels A3 and A4 are each being used as a reference by more than one pixel in frame B. For example, pixel A3 is being used as a reference by pixels B3 and B5 of frame B, and the present invention uses an algorithm based on minimum mean-squared displaced frame difference (DFD) (to be defined infra) calculations to retain pixel A1 as a reference for pixel B3 or for pixel B5 but not for both pixels B3 and B5. Noting that pixel A3 is within block 1 of frame A and that pixel B3 is within block 1 of frame B, the algorithm calculates DFD11 which is the mean-squared DFD between block 1 of frame A and block 1 of frame B. Noting that pixel A3 is within block 1 of frame A and that pixel B5 is within block 2 of frame B, the algorithm calculates DFD12 which is the mean-squared DFD between block 1 of frame A and block 2 of frame B. If DFD11 is less than DFD12 then pixel A3 is retained as a reference for pixel B3 and pixel A3 is dropped as a reference for pixel B5. If DFD12 is less than DFD11 then pixel A3 is retained as a reference for pixel B5 and is dropped a reference for pixel B3. If DFD11 is equal to DFD12 then any tie-breaker may be used. A first example of a tie-breaker is “scan order” which means that pixel A3 is retained as a reference for whichever of pixels B3 and B5 is first determined to use pixel A3 as a reference. A second example of a tie-breaker is to pick a random number R from a uniform distribution between 0 and 1, and to retain pixel A3 as a reference for pixel B3 if R is less than 0.5; or as a reference for pixel B5 if R is not less than 0.5. In the example of FIG. 4, DFD11 is less than DFD12 so that pixel A3 is retained as a reference for pixel B3 and dropped as a reference for pixel B5. Similarly, pixels B4 and B6 each use pixel A4 as a reference and the previously-described DFD-based algorithm may be used to retain pixel A4 as a reference for either pixel B4 or pixel B6 but not for both pixels B4 and B6. In the example of FIG. 4, pixel A4 is retained as a reference for pixel B4 and dropped as a reference for pixel B6 based on the previously-described DFD-based algorithm.
  • In operation 33, a pixel in frame B is labeled as unconnected if not using a reference pixel in frame A after the DFD-based algorithm has been applied to resolve those cases in which a pixel in frame A is used as a reference by more than one pixel in frame B. For example, pixels A3 and A4 were dropped as a reference for pixels B5 and B6, respectively, after application of the DFD-based algorithm, as explained supra. Accordingly, pixels B5 and B6 are unconnected. Otherwise pixels in frame B are connected. Accordingly, pixels B1-B4 and B7-B12 are connected. Note that if the previously-described DFD-based algorithm has been executed (i.e., when the connection states of the pixels in frame A were determined) then the arrow pointing from pixel B5 to pixel A3 and the arrow pointing from pixel B6 to pixel A4 in FIG. 4 are irrelevant since pixels A3 and A4 have already been dropped as a reference for pixels B5 and B6, respectively. While FIG. 4 shows operation 33 being executed after operation 32, operation 33 may alternatively be executed before operation 32. The previously-described DFD-based algorithm for resolving cases in which a pixel in frame A is used as a reference for more than one pixel in frame B may be executed at any time before, during, or after execution of operations 32 and 33. For example if operation 32 is executed prior to operation 33, then the previously-described DFD-based algorithm may be executed before operation 32, between operations 32 and 33, or after operation 33. As another example, if operation 33 is executed prior to operation 32, then the previously-described DFD-based algorithm may be executed before operation 33, between operations 33 and 32, or after operation 32.
  • What is actually needed as a result of executing operations 32 and 33 is the connection state (i.e., connected or unconnected) of each pixel in frame B relative to the pixels of frame A. Thus, operation 32 may alternatively be omitted, since the connection state of each pixel in frame B requires knowledge of the reference pixels in frame A for each pixel in frame B but does not require knowledge of the connection state of each pixel in frame A.
  • The mean-squared DFD between a block in frame A and a block in frame B is defined as follows. Let n denote the number of pixels in each of the blocks. Let VA1, VA2, . . . VAn denote the values (e.g., luminance or chrominance) of the pixels in the block in frame A. Let VB1, VB2, . . . , VBn, denote the values of the corresponding pixels in the block in frame B. The mean-squared DFD between the block in frame A and the block in frame B is:

  • Mean-squared DFD=[(V A1 −V B1)2+(V A2 −V B2)2+ . . . +(V An −V Bn)n ]/n  (1)
  • The previously-described DFD-based algorithm is applicable to motion vectors with sub-pixel accuracy in relation to connections between subpixels, as utilized in high performance video coders. A subpixel is location between adjacent pixels. The interpolated subpixel is used to calculate the DFD. Thus, no other changes in the MCTF algorithm are necessary but the use of a prescribed form of spatial interpolation when the reference pixel is not an integer. As an example, a separable 9-tap FIR interpolation filter may be utilized for this purpose.
  • After operations 32 and 33 of FIG. 4 have been executed, all pixels in frames A and B have been classified as being “unconnected” or “connected”. Since the previously-described DFD-based algorithm eliminates multiple connections from two or more pixels in frame B to a reference pixel in frame A, each “connected” pixels in frame A is connected to exactly one pixel in frame B and vice versa.
  • Operation 34 classifies the blocks in frame B as being “uni-connected” or “unconnected”, in accordance with an exemplary embodiment of the present invention. If at least a fraction F of the pixels in a block of a frame are unconnected, then the block is an “unconnected” block; otherwise the block is a “uni-connected” block. The fraction F has a value reflective of a tradeoff between image quality and processing time, since I-BLOCKs require extra processing time. The fraction F may have a value, inter alia, of at least 0.50 (e.g., in a range of 0.50 to 0.60, 0.50 to 0.75, 0.60 to 0.80, 0.50 to 1.00, 0.30 to 1.00, 0.50 to less than 1.00, etc.). By examining the reference pixels in frame A to which pixels in a uni-connected block in frame B are connected, a matched block in frame A (called a uni-connected block of frame A) may be determined for each uni-connected block in frame B. The resultant uni-connected blocks in frames A and B form a set of matched pairs of uni-connected blocks, wherein each matched pair consists of a uni-connected block in frame B and a matched uni-connected block in frame A. Let the matched pair of uni-connected blocks be denoted as first and second uni-connected blocks in frame A and frame B, respectively.
  • Operation 35 reclassifies the first and second uni-connected blocks of the matched pair of uni-connected blocks as being unconnected if the following reclassification criteria is satisfied, in accordance with an exemplary embodiment of the present invention. Let V1 and V2 denote the pixel variance of the first and second uni-connected blocks, respectively. The pixel variance of a block is the mean-squared deviation between the pixel values in the block and the mean pixel value for the block. Let VMIN denote the minimum of V1 and V2. Then the first and second uni-connected blocks are reclassified as being unconnected blocks if the mean-squared DFD between the first and second blocks exceeds fVMIN, wherein f is a real number in a range of 0 to 1. For example, f may be in a range of, inter alia, 0.4 to 0.6, 0.5 to 0.7, 0.4 to 0.75, 0.5 to 0.9, 0.4 to 1.00, etc. After operation 35 is executed, the classification of each block in frame B as “unconnected” or uni-connected” is complete.
  • Operation 36 categorizes each unconnected block in frame B as a P-BLOCK or an I-BLOCK, in accordance with an exemplary embodiment of the present invention. An I-BLOCK will subsequently have its initial pixel values replaced by spatially interpolated values derived from neighboring pixels outside of the I-BLOCK, as will be described infra. The difference between an initial pixel value and a spatially interpolated pixel value of an I-BLOCK pixel is the residual error of the interpolated I-BLOCK pixel. The block of residual errors at all pixels in the I-BLOCK is called a residual error block of, or associated with, the I-block.
  • To determine whether an unconnected block is an I-BLOCK or a P-BLOCK, the interpolated I-BLOCK is formed, its residual error block is computed, and the absolute value of the sum of the residual errors (SRES) in the residual error block is also computed. SRES is called the “residual interpolation error” of the unconnected block. The residual errors are the errors at the pixels of the residual error block. In addition, forward and backward motion is performed on the unconnected block. The sum of the absolute DFDs of the forward and backward motion compensated prediction errors are computed. The minimum of the sum of the absolute DFDs for the forward and backward motion compensated prediction errors (SMC-MIN) is determined. SMC-MIN is called the “minimum motion compensated error” of the unconnected block. The unconnected block is classified as an I-BLOCK if SRES is less than SMC-MIN. The unconnected block is classified as a P-BLOCK if SRES is not less than SMC-MIN.
  • In operation 37, the I-BLOCKs determined in operation 36 are processed by spatial interpolation from available neighboring pixels and the residual error block associated with the interpolated I-BLOCK is generated, in accordance with an exemplary embodiment of the present invention. The blocks in a frame may have a fixed size or a variable size. FIGS. 5-7 and 9 describe infra interpolation an exemplary embodiment for the fixed block size case in accordance with an exemplary embodiment of the present invention, and FIG. 8 is used to describe infra the variable block size case in accordance with an exemplary embodiment of the present invention.
  • In operation 38, the residual error block associated with the interpolated I-BLOCK is overlayed on (i.e., placed within) the pertinent temporal high frame associated with the frame pair A and B being analyzed, for subsequent compression of the pertinent temporal high frame by the embedded zero block coder 54 after execution of the spatial analysis of FIG. 2. FIG. 7C (described infra) shows that the residual error block contains numerous near zero values and is thus suitable for being efficiently compressed.
  • FIG. 5 shows a frame comprising I-BLOCKs, P-BLOCKs, and uni-connected blocks. The I-BLOCKs comprise blocks 1-3, and the P-BLOCKs and uni-connected blocks comprise the remaining blocks which include blocks 4-10. Each I-BLOCK has four possible neighbors: an upper neighbor, a lower neighbor, a left neighbor, and a right neighbor. In the interpolation algorithms used herein, the blocks of a frame are processed in accordance with a scan order and only “available” blocks (i.e., previously processed I-BLOCKs having established pixel values therein, P-BLOCKs having original data therein, and/or uni-connected blocks) can be used for the spatial interpolation. For example, using a scan order of left-to-right and then top-to-bottom in FIG. 5 for block 1, only neighboring blocks 4 and 5 can be used for the block 1 spatial interpolations, since both block 2 and block 3 are not available. For block 2, however, there are four neighboring blocks available for the block 2 spatial interpolations after block 1 is interpolated, namely blocks 1 and 6-8. Similarly, there are four neighboring blocks available for the block 3 spatial interpolation after block 1 is interpolated, namely blocks 1 and 8-10.
  • The spatial interpolation is performed following a raster scanning rule such as the aforementioned left-to-right and then top-to-bottom scanning rule. Based on the number of available neighbors and their positions, there are different interpolation functions. FIG. 6 illustrates the following notation: “u” represents the upper neighboring pixels, “lw” represents the lower neighboring pixels, “lf” represent the left neighboring pixels, “r” represents the right neighboring pixels, and “in” represents the interpolated pixel values in the I-BLOCK. The interpolation may be linear or non-linear and many different interpolation schemes may be used.
  • FIGS. 7A-7C (collectively, “FIG. 7) illustrate a case in which only one neighbor block is available. The 4×4 pixel I-BLOCK 40 in FIG. 7A is defined by row segments 41-44, and it is assumed that the only available neighbors are in row segment 45 in a neighboring upper block above block 40. The example pixel values shown for I-BLOCK 40 in FIG. 7A are the initial values prior to the spatial interpolation. The pixel values in row segment 45 are used for spatial interpolation. For this case, the C-code in Table 1 may be used to effectuate the spatial interpolation.
  • TABLE 1
    for (i=0; i<4; i++)
    for (j=0; j<4; j++)
    in[i*4+j] = u[j];
  • FIG. 7B shows the resultant interpolated values in the I-BLOCK 40 resulting from execution of the C-code of Table 1. FIG. 7C shows the residual error block determined by subtracting the interpolated pixel values of FIG. 7B from the initial pixel values of FIG. 7A. The residual error block depicted FIG. 7C is overlayed within (i.e., placed within) the pertinent temporal high frame associated with the frame pair A and B being analyzed, for subsequent compression of the pertinent temporal high frame by the embedded zero block coder 54 of FIG. 2. While FIGS. 7A-7C described the embodiment in which only upper neighboring pixels are available for interpolation, the cases in which only left, right, or lower neighboring pixels are available for interpolation may be derived analogously from the “upper” neighboring case described supra, or by a proper coordinate rotation.
  • Tables 2 and 3 illustrate interpolation algorithms in which two neighboring blocks are available. Table 2 specifies formulas for calculating the interpolated pixel values in[0] . . . in[15] (see FIG. 6) in the 4×4 I-BLOCK using available neighboring pixels in the upper and left positions in accordance with the notation of FIG. 6. Table 3 specifies C-code for calculating the interpolated pixel values in[0] . . . in[15] in the 4×4 I-BLOCK using neighboring pixels in the upper and lower positions in accordance with the notation of FIG. 6.
  • TABLE 2
    in[0]=(lf[0]+u[0])/2; in[1]=u[1]; in[2]=u[2]; in[3]=u[3];
    in[4]=lf[1]; in[5]=(in[4]+in[1])/2; in[6]=in[2]; in[7]=in[3];
    in[8]=lf[2]; in[9]=in[8]; in[10]=(in[9]+in[6])/2; in[11]=in[7];
    in[12]=lf[3]; in[13]=in[12]; in[14]=in[13]; in[15]=(in[11]+in[14])/2
  • TABLE 3
    or (i=0; i<4; i++)
    {
    in[i]=u[i];
    in[12+i]=lw[i];
    in[4+i] = in[8+i] = (u[i]+lw[i])/2;
    }
  • Other exemplary embodiments in which two neighboring blocks are available may be derived analogously from the “upper and left” or “upper and lower” neighboring cases described supra in conjunction with Tables 2 and 3, respectively, or by a proper coordinate rotation.
  • Table 4 illustrates interpolation algorithms in which three neighboring blocks are available. Table 4 specifies C-code for calculating the interpolated pixel values in[0] . . . in[15] (see FIG. 6) in the 4×4 I-BLOCK using neighboring pixels in the upper, left, and right positions in accordance with the notation of FIG. 6.
  • TABLE 4
    in[0]=(lf[0]+u[0])/2; in[1]=u[1]; in[2]=u[2]; in[3]=(u[3]+r[0])/2;
    in[4]=lf[1]; in[5]=(in[4]+in[1])/2; in[7]=r[1]; in[6]=(in[2]+in[7])/2;
    in[8]=lf[2]; in[9]=in[8]; in[11]=r[2]; in[10]=in[11];
    in[12]=lf[3]; in[13]=in[12]; in[15]=r[3]; in[14]=in[15];
  • Other exemplary embodiments in which three neighboring blocks are available may be derived analogously from the “upper, left, and right” neighboring case described supra in conjunction with Table 4, or by a proper coordinate rotation.
  • Table 5 illustrates interpolation algorithms in which four neighboring blocks are available. Table 5 specifies C-code for calculating the interpolated pixel values in[0] . . . in[15] (see FIG. 6) in the 4×4 I-BLOCK using neighboring pixels in the upper, lower, left, and right positions in accordance with the notation of FIG. 6.
  • TABLE 5
    in[0]=(lf[0]+u[0])/2; in[1]=u[1]; in[2]=u[2]; in[3]=(u[3]+r[0])/2;
    in[4]=lf[1]; in[5]=(m[4]+in[1])/2; in[7]=r[1]; in[6]=(in[2]+in[7])/2;
    in[12]=(lf[3]+lw[0])/2; in[13]=lw[1]; in[14]=lw[2]; in[15]=(lw[3]+r[3])/2;
    in[8]=lf[2]; in[9]=(m[8]+in[13])/2; in[11]=r[2]; in[10]=(m[14]+in[11])/2
  • FIG. 8 illustrates the variable block size case, which arises from 5-level hierarchical variable size block matching where block sizes range from 4×4 to 64×64. For example in FIG. 8, I- BLOCKs 11 and 12 are shown. Block 11 has a pixel size of 8×8 and block 12 has a pixel size of 4×4. If I- BLOCKs 11 and 12 are processed in the previously mentioned left-to-right and then top-to-bottom scanning order (i.e., block 11 is interpolated before block 12 is interpolated) then block 12 will not be available for block 11's interpolation. To simplify the interpolation, block 11 may be treated as 4 separate 4×4 I-BLOCKs for interpolation purposes, so that the spatial interpolation may be implemented as fixed-block interpolation.
  • FIGS. 9A-9F illustrate a directional spatial interpolation scheme for determining pixel values for I-BLOCKs, in accordance with an exemplary embodiment of the present invention. FIGS. 9A-9F depict a 4×4 I-BLOCK 61 within a portion of a frame 60. The portion of the frame 60 contains pixels P11 . . . P99. I-BLOCK 61 contains pixels P22, P23, P24, P25, P32, P33, P34, P35, P42, P43, P44, P45, P52, P53, P54, and P55. In FIGS. 9A-9F, all pixels not in I-BLOCK 61 are neighbors of the pixels in I-BLOCK 61. The interpolation for the pixels in I-BLOCK 61 are along parallel lines making a fixed angle θ with the X axis as illustrated by one of the parallel lines, namely line 66, shown in FIG. 9A. FIGS. 9B-9F each represent an embodiment with a different value of θ. For the purpose of estimating values of θ for illustrative purposes, it is assumed for simplicity that each pixel is a square. Thus, θ=45 degrees for the line 66 in FIG. 9A which passes through diagonally opposite vertices of pixels P25, P34, P43, and P52. Of course, θ will differ from 45 degrees for line 62 in FIG. 9A if the pixels have a rectangular, non-square shape. Note that θ and θ+180 degrees represent the same set of parallel lines. The interpolations along each such line utilizes pixel values of the nearest available neighbors on the line, wherein an available neighbor is a neighbor whose pixel value has been previously established. The directional interpolation scheme assumes that at least one neighbor is always available for each such line of the parallel lines.
  • FIG. 9B illustrates a directional interpolation such that θ=45 degrees with respect to parallel lines 63, 64, . . . , 69. Lines 63, 64, . . . , 69 are called “directional lines.” Since line 63 passes though pixel P22, line 63 is used to determine the value of pixel P22 based on interpolation using: neighbor pixels P13 and P31 if both pixel P13 and pixel P31 are available; only neighbor pixel P13 if P13 is available and pixel P31 is not available; or only neighbor pixel P31 if pixel P31 is available and pixel P13 is not available. Since line 64 passes though pixels P23 and P32, line 64 is used to determine the value of pixels P23 and P32 based on interpolation using: neighbor pixels P14 and P41 if both pixel P14 and pixel P41 are available; only neighbor pixel P14 if pixel P14 is available and pixel P41 is not available; or only neighbor pixel P31 if pixel P31 is available and pixel P13 is not available. Similarly, interpolations along lines 65, 66, 67, 68, and 69 are used to determine pixel values at (P24, P33, P42), (P25, P34, P43, P52), (P35, P44, P53), (P45, P54), and (P55), respectively.
  • Lines 67-69 present alternative possibilities for nearest neighbors. For example, line 68 has neighbor pixels (P36, P27, and P18) and (P63, P72, and P81) at opposite borders of the I-BLOCK 61. In choosing which neighbor of the neighbor pixels (P36, P27, and P18) to use, the directional interpolation will use pixel P36 if available since pixel P36 is the nearest neighbor of the neighbor pixels (P36, P27, and P18). If pixel P36 is unavailable then the directional interpolation will use pixel P27 if available since pixel P27 is the nearest neighbor of the neighbors (P27 and P18). If pixel P27 is unavailable then the directional interpolation will use the remaining neighbor pixel P18 if available. If pixel P27 is unavailable then the directional interpolation will not use any of pixels (P36, P27, and P18). Similarly, the directional interpolation will choose one pixel of neighbor pixels (P63, P72, and P81) based on the nearest available neighbor criteria for making this choice. Therefore, as a result of the applying the nearest available neighbor criteria, the directional interpolation along line 68 for determining the values of pixels P45 and P54 will utilize one of the following neighbor pixel combinations: pixel P63 alone, pixel P72 alone, P81 alone, pixels P63 and P36, pixels P63 and P27, pixels P63 and P18, pixels P72 and P36, pixels P72 and pixels P27, P72 and P18, pixels P81 and P36, pixels P81 and P27, pixels P81 and P18, pixel P36 alone, pixel P27 alone, and pixel P18 alone.
  • The directional interpolation for linear interpolation along line 68 is next illustrated for determining pixel values for pixels P45 and P54, assuming that neighbor pixels P36 and P63 are both available. The points Q0, Q1, Q2, Q3, and Q4 along line 68 are as shown in FIG. 9B. Point Q0, Q1, Q2, Q3, and Q4 is at the midpoint of the portion of line 68 that respectively spans pixel P27, P36, P45, P54, and P63. Let D12, D13, and D14 respectively denote the distance between point Q1 and point Q2, Q3, and Q4. Let F1214 and F1314 respectively denote D12/D14 and D13/D14. Let V36 and V63 respectively denote the pixel value at pixel P36 and P63. Then the pixel value at pixel P45 and P54 is (1−F1214)*V36+F1214*V63 and (1−F1314)*V36+F1314*V63, respectively.
  • The directional interpolation for linear interpolation along line 68 raises the question of how to do the interpolation if neighbor pixel P36 in not available and neighbor pixel P27 is available. If V27 denotes the pixel value at pixel P27 then V27 will substitute for V36 wherever V36 appears in the interpolation formula. However, the scope of the present invention includes three options for treating the distances along line 68.
  • A first option is to retain the parameters F1214 and F1314 in the interpolation formulas, which is conceptually equivalent utilizing point Q1 as a reference for measuring distances even though pixel P36 has been replaced by pixel P27 as the nearest available neighbor. For the first option, the pixel value at pixel P45 and P54 is (1−F1214)*V27+F1214*V63 and (1−F1314)*V27+F1314*V63, respectively.
  • A second option is to utilize distances from point Q0 where line 68 begins at neighbor pixel P27. For the second option, D02, D03, and D04 respectively denote the distance between point Q0 and point Q2, Q3, and Q4. Let F0204 and F0304 respectively denote D02/D04 and D03/D04. Then the pixel value at pixel P45 and P54 is (1−F0204)*V27+F0204*V63 and (1−F0304)*V27+F0304*V63, respectively.
  • A third option is to use a compromise between the first and second options. Instead of using either (F1214 and F1314) or (F0204 and F0304) as in the first and second options, the parameters (F1214,F0204)AVE and (F1314,F0304)AVE are used, wherein (F1214,F0204)AVE is a weighted or unweighted average of F1214 and F0204, and (F1314,F0304)AVE is a weighted or unweighted average of F1314 and F0304. Then the pixel value at pixel P45 and P54 is (1−(F1214,F0204)AVE)*V27+(F1214,F0204)AVE*V63 and (F1314,F0304)AVE*V27+(F1314,F0304)AVE*V63, respectively. If (F1214,F0204)AVE) and (F1314,F0304)AVE are weighted averages, the weighting could be based on extrinsic factors such as an extrinsic knowledge of the relative importance of pixels P36 and P27 to the image quality of the I-BLOCK 61 along line 68, irrespective of the distances of pixels P36 and P27 from points Q2 and Q3 along line 68.
  • FIGS. 9C-9F are similar to FIG. 9B except for the value of θ. In FIG. 9C, θ=90 degrees for directional lines 71-74. Values at pixels P22, P32, P42, and P52 are determined from interpolation along line 71, using a subset of neighbor pixels P12, P62, P72, P82, and P92. Values at pixels P23, P33, P43, and P53 are determined from interpolation along line 72, using a subset of neighbor pixels P13, P63, P73, P83, and P93. Values at pixels P24, P34, P44, and P54 are determined from interpolation along line 73, using a subset of neighbor pixels P14, P64, P74, P84, and P94. Values at pixels P25, P35, P45, and P55 are determined from interpolation along line 74, using a subset of neighbor pixels P15, P65, P75, P85, and P95.
  • In FIG. 9D, θ=135 degrees for directional lines 81-87. The value at pixel P52 is determined from interpolation along line 81, using a subset of neighbor pixels P41, P63, P74, P85, and P96. Values at pixels P42 and P53 are determined from interpolation along line 82, using a subset of neighbor pixels P31, P64, P75, P86, and P97. Values at pixels P32, P43, and P54 are determined from interpolation along line 83, using a subset of neighbor pixels P21, P65, P76, P87, and P98. Values at pixels P22, P33, P44, and P55 are determined from interpolation along line 84, using a subset of neighbor pixels P11, P66, P77, P88, and P99. Values at pixels P23, P34, and P45 are determined from interpolation along line 85, using a subset of neighbor pixels P12, P56, P67, P78, and P89. Values at pixels P24 and P35 are determined from interpolation along line 86, using a subset of neighbor pixels P13, P46, P57, P68, and P79. The value at pixel P25 is determined from interpolation along line 87, using a subset of neighbor pixels P14, P36, P47, P58, and P69.
  • In FIG. 9E, θ=0 degrees (or 180 degrees) for directional lines 76-79. Values at pixels P22, P23, P24, and P25 are determined from interpolation along line 76, using a subset of neighbor pixels P21, P26, P27, P28, and P29. Values at pixels P32, P33, P34, and P35 are determined from interpolation along line 77, using a subset of neighbor pixels P31, P36, P37, P38, and P39. Values at pixels P42, P43, P44, and P45 are determined from interpolation along line 78, using a subset of neighbor pixels P41, P46, P47, P48, and P49. Values at pixels P52, P53, P54, and P55 are determined from interpolation along line 79, using a subset of neighbor pixels P51, P56, P57, P58, and P59.
  • In FIG. 9F, θ=26.56 degrees (i.e., θ is the inverse tangent of 2/4) for directional lines 101-105. Values at pixels P22 and P23 are determined from interpolation along line 101, using a subset of neighbor pixels P31 and P14. Values at pixels P32, P33, P24, and P25 are determined from interpolation along line 102, using a subset of neighbor pixels P41 and P16. Values at pixels P42, P43, P34, and P35 are determined from interpolation along line 103, using a subset of neighbor pixels P51, P26, P27, P18, and P19. Values at pixels P52, P53, P44, and P45 are determined from interpolation along line 104, using a subset of neighbor pixels P61, P36, P37, P28, and P29. Values at pixels P54 and P55 are determined from interpolation along line 105, using a subset of neighbor pixels P71, P46, P47, P38, and P39.
  • FIGS. 9A-9F illustrate directional spatial interpolation characterized by all pixel values in the I-BLOCK being determined by spatial interpolation along parallel directional lines. In contrast, FIGS. 7A-7C and Tables 1-5 illustrate nondirectional spatial interpolation characterized by all pixel values in the I-BLOCK being determined by nearest available neighbor spatial interpolation in which no directional line passing through the I-BLOCK is utilized in the spatial interpolations. Another spatial interpolation method for an I-BLOCK is hybrid spatial interpolation which comprises a combination of directional spatial interpolation and nondirectional spatial interpolation. With hybrid spatial interpolation, at least one directional line is used for some spatial interpolations in the I-BLOCK, and some pixel values in the I-BLOCK are determined by nearest available neighbor spatial interpolation in which no directional line passing through the I-BLOCK is utilized. When directional spatial interpolation or hybrid spatial interpolation is used, the chosen direction and hybrid mask must be coded and transmitted as side information. An embodiment of the present invention uses a short fixed Huffman code for this purpose.
  • FIG. 10 illustrates hybrid spatial interpolation, in accordance with an exemplary embodiment of the present invention. FIG. 10 includes directional lines 121-124 which are used in the spatial interpolations for determining values at pixels P25, P34, P43, and P52 (along line 121), pixels P35, P44, and P53 (along line 122), pixels P45 and P54 (along line 123), and pixel P55 (along line 124). However, values at pixels P22, P23, P24, P32, P33, and P42 are determined by nondirectional spatial interpolation using nearest neighbor upper pixels P12, P13, P14 and nearest neighbor left pixels P21, P31, and P41.
  • As illustrated in the preceding spatial interpolation examples associated with FIGS. 6-10 and Tables 1-5, the values for the pixels of each I-BLOCK in a given frame are calculated by spatial interpolation based on values of nearest available neighbor pixels relative to each the I-BLOCK in the given frame. A given pixel outside of a specified I-BLOCK of the given frame is the to be a neighbor pixel relative to the I-BLOCK if the given pixel is sufficiently close to the I-BLOCK to potentially contribute to the value of a pixel in the I-BLOCK by the spatial interpolation.
  • The preceding discussion herein in conjunction with FIGS. 6-10 and Tables 1-5 for determining values of pixels in I-BLOCKs by interpolation focused on linear interpolation. Nonetheless, the scope of the present invention includes nonlinear interpolation as well in accordance with any nonlinear interpolation scheme that exploits the relative importance of the various neighboring pixels which contribute to the value of the pixels in the I-BLOCK.
  • OBMC Processing
  • The present invention discloses exemplary embodiments relating to a processing of video frames, wherein each frame processed is divided into M blocks that include at least two differently sized blocks, and wherein M is at least 9.
  • With traditional block motion compensation, the current frame being processed is divided into blocks of pixels, wherein each such block BCUR0 of pixels in the current frame is predicted from a block BREF0 of the same size in the reference frame. The block BCUR0 of pixels in the current frame is called a “current block” or a “self block”. The self block BCUR0 in the current frame is spatially shifted from the block BREF0 in the reference frame by a motion vector V0. Thus a pixel value ICUR0(PCUR0) at a pixel location Po (identified by vector PCUR0) in the self block BCUR0 in the current frame is predicted to equal the pixel value IREF0(PCUR0−V0) at a pixel location identified by vector (PCUR0−Vo) in the block BREF0 in the reference frame. The dependent variable “I” denotes a pixel value of luminance and/or chrominance. A disadvantage of traditional block motion compensation relates to discontinuities introduced at block borders (blocking artifacts). The discontinuities may have the form of sharp horizontal and vertical edges which may be highly visible to the human eye and may also produce ringing effects (i.e., big coefficients in high frequency sub-bands) in the Fourier-related transform used for transform coding of the residual frames.
  • With overlapped block motion compensation (OBMC), nearest neighboring blocks of the self block BCUR may be utilized for predicting the pixel values in the self block BCUR. For example, the nearest neighboring blocks may consist of the four nearest neighboring blocks immediately to the right, bottom, left, and top of the self block BCUR, respectively denoted as B1, B2, B3, and B4 which are spatially shifted from corresponding blocks BREF1, BREF2, BREF3, and BREF4 in the reference frame by the motion vectors V1, V2, V3, and V4, respectively. The blocks BREF1, BREF2, BREF3, and BREF4 in the reference frame are most likely not nearest neighbor blocks of the block BREF0 in the reference frame. A weight W(PCUR0) is associated with a pixel location P0 (identified by vector PCUR0) in the self block BCUR0. Weights W(P1), W(P2), W(P3), and W(P4) are associated with the pixel locations P1, P2, P3, and P4 in the nearest neighboring blocks B1, B2, B3, and B4, respectively, such that the pixel locations P1, P2, P3, and P4 correspond to the pixel location P0. With OBMC, the pixel value ICUR0 (PCUR0) at the pixel location P0 is predicted to equal W(PCUR0)*IREF0 (PCUR0−Vo)+[W(P1)*I(P1−V1)+W(P2)*I(P2−V2)+W(P3)*I(P3−V3)+W(P4)*I(P4−V4)]. Thus, the predicted pixel value at the pixel location identified by vector PCUR0 in the self block BCUR0 mitigates the discontinuities introduced at block borders by taking into account pixel value contributions from nearest neighbor blocks in their displaced locations in the reference frame. An array of weights that includes W(PCUR0) for all pixels in the self block BCUR0 constitutes a “weighting window” for the self block BCUR0. Similarly, an array of weights that includes W(P1), W(P2), W(P3), and W(P4), for all pixels in the nearest neighboring blocks B1, B2, B3, and B4 constitutes a weighting window for the nearest neighboring blocks B1, B2, B3, and B4, respectively. Examples of weighting windows and their generation according to the present invention are presented in FIGS. 17, 18, 21, and 22, discussed infra.
  • The present invention discloses variable block size OBMC. The blocks in the current frame and its relationship to blocks in the reference frame are illustrated next in FIGS. 11 and 12.
  • FIG. 11 illustrates a current frame 240 that has been configured into variables size blocks (e.g., by a quad tree algorithm), in accordance with an exemplary embodiment of the present invention. The current frame 240 comprises 22 blocks as shown. Each block of FIG. 11 is processed as a self block in consideration of its nearest neighbor blocks. For example, consider block 241 being processed as a self block. Self block 244 has nearest neighbor blocks 242-246. Note the self block may have a size that is equal to, larger than or smaller than the nearest neighbor block. In FIG. 11, the size of the self block 241 is equal to the size of its nearest neighbor block 242, larger than the size of its nearest neighbor blocks 245 and 246, and smaller than the size of its nearest neighbor blocks 243 and 244.
  • FIG. 12 illustrates the current frame 240 of FIG. 11 and a reference frame 260 together with vectors 251-256 that respectively link blocks 241-246 in the current frame 240 with corresponding blocks 261-266 in the reference frame 260, in accordance with an exemplary embodiment of the present invention. A normal projection of the vectors 251-256 onto the reference frame 260 are the motion vectors denoting a vector displacement of the blocks 241-246 from the blocks 261-266, respectively. Although the blocks 261-266 appear for simplicity as having the same size in the reference frame 260, the blocks 261-266 in reality have the same size as their corresponding blocks 241-246, respectively, in the current frame 240. The reference frame 260 represents one or more reference frames, each such reference frame having its own motion vectors and blocks associated with the blocks of the current frame, since each pixel in the current frame may be predicted from corresponding pixels in a single reference frame or in a plurality of reference frames.
  • The present invention discloses a method of compressing video that involves a spatiotemporal or space-time transformation utilizing motion compensated blocks in pairs of input frames, such as the representative pair having input frames A and B discussed supra in conjunction with FIG. 3. These blocks are of various sizes and are chosen to match the local motion vector field, so there are small blocks where the motion has a high spatial gradient and large blocks in more flat regions where the spatial gradient of the motion is small. Nevertheless as explained supra, the motion vectors of the different blocks are not continuous across the block edges. As a result artifacts can be created in the prediction of one frame from the other frame. OBMC of the present invention addresses this problem by making the prediction from a weighted combination of estimates using the current block's motion vector and the motion vectors of its nearest neighbor blocks. The OBMC of the present invention is further improved by iterative adjustments to the block motion vectors to arrive at improved motion vectors, which increase the accuracy of the resulting frame prediction and therefore increase coding efficiency. With the present invention, this iteration may be optionally omitted. The output of the MCTF obtained using the OBMC is then compressed for transmission or storage. Additionally, the motion vectors are sent to the receiver as overhead, and may constitute about 10-15% of the total bit rate.
  • FIG. 13A is a flow chart illustrating a method for utilizing variable block size OBMC in the MCTF temporal high frames of FIG. 2, in accordance with an exemplary embodiment of the present invention. Prior to operation 211, the current frame has been configured into M blocks that include at least two differently sized blocks, wherein M is at least 9. In operation 211, the variable size block matching (VSBM) is performed to obtain the initial vectors for the motion blocks as is known in the art (e.g., see Ostermann, and Zhang, “Video Processing and Communications”, Prentice-Hall, pp. 182-187 (2002)). I operation 212, the blocks in the current frame are classified as being either I-BLOCKs or motion blocks. A “motion block” is defined to be a non I-BLOCK. Detection and classification of unconnected blocks (i.e., I-BLOCKs and P-BLOCKs) and uniconnected blocks was described supra in conjunction with operations 31-36 of FIG. 3. FIG. 15 describes infra the various categories of motion blocks including P-BLOCKs, DEFAULT blocks, and REVERSE blocks. In operation 213, variable block size OBMC is performed to provide an overlap smoothing for the motion blocks and the I-BLOCKs. In operation 214, the motion field (i.e., the smoothed motion blocks and/or I-BLOCKs) generated in operation 213 is processed in accordance with MCTF.
  • FIG. 13B is a flow chart illustrating the variable block size OBMC processing of operation 213 of FIG. 13A, in accordance with an exemplary embodiment of the present invention. For a given self block and associated nearest neighbor block in the current frame, operation 221 executes a shrinking scheme that generates a weighting window for the self block and its associated nearest neighbor block which takes into account whether the self block is a motion block or an I-BLOCK, and also takes into account whether the nearest neighbor block is a motion block or an I-BLOCK. If the nearest neighbor block is an I-BLOCK, the shrinking scheme of operation 221 invokes operation 222 which executes a reflecting scheme that impacts the generation of the weighting widows in a manner that accounts for the intrinsic inability of the nearest neighbor I-BLOCK to communicate with the reference frame.
  • The shrinking scheme execution operation 221 is performed for all nearest neighbor blocks of the given self block, and then for all self blocks of the current frame in a sequence dictated by a predetermined scan order. Operation 223 is executed, wherein an initial motion vector for each self block in the current frame has been utilized. Although the initial motion vectors for the self blocks were used to generate the weighting windows, the initial motion vectors may not be the optimum weighting windows inasmuch as a perturbed set of motion vectors may result in more accurate predictions of pixel values in the current frame when the generated weighting windows are taken into account. Accordingly, operation 223 performs an iterative process such that each iteration perturbs the motion vectors in a manner that improves the accuracy of pixel values in the current frame in light of the weighting windows generated in operation 222.
  • Operations 221-223 in FIG. 13B reflect a simplified description of the variable block size OBMC processing operation 213 of FIG. 13A. Following the illustrative weighting window generation examples of FIGS. 16-18 and 21-22, FIG. 23 illustrates a flow chart that describes in detail an exemplary embodiment of the variable block size OBMC processing of operations 221-222 of FIG. 13B. In addition, FIG. 24 illustrates a flow chart that describes in detail the iterative process for improving the motion vectors in operation 223 of FIG. 13B.
  • FIG. 14 is a block diagram of frame processing associated with the flow charts of FIGS. 13A-13B, in accordance with an exemplary embodiment of the present invention. FIG. 14 illustrates the following sequentially ordered processing: the component (YUV) hierarchical variable-size block matching (HVSBM) motion estimation 231 (which corresponds to operation 211 of FIG. 13A); I-BLOCK detection 232 (which corresponds to operation 212 of FIG. 13A); variable block size OBMC execution 233 (which is performed in operation 213 of FIG. 13A); MTCF processing 234 (which corresponds to operation 214 of FIG. 13A); and MC-EZBC coder processing 235. The HVSBM motion estimation 231 generates motion vectors which are processed by an arithmetic coder 236. A bit stream 237 is formed from coded output generated by the EZBC 235 and from coded output generated by the arithmetic coder 236.
  • In FIG. 14, the MCTF processing 234 sequentially comprises the processing of I-BLOCKs, P-BLOCKs, REVERSE blocks, and DEFAULT blocks. The REVERSE block prediction comprises a prediction of those blocks best predicted from the previous B frame. The pixels of the DEFAULT block includes those pixels actually taking part in the MC filtering, both for the “predict” operation for parent frame H and the “update” operation for parent frame L.
  • FIG. 15 illustrates two successive input frames A and B to be transformed by the MCTF into a high temporal frame H and a low temporal frame L, in accordance with an exemplary embodiment of the present invention. See FIG. 2 (and a discussion thereof supra) for a derivation of the H and L frames from frames A and B by the MCTF processing. In FIG. 2, however, a different choice is made for the temporal location of the H and L frames. In FIG. 2 the L frame is time referenced to that of the input frame A and the H frame is time referenced to that of the input frame B, whereas in FIG. 15 the H frame is time referenced to that of the input frame A and the L frame is time referenced to that of the input frame B. Actually, either set of time references has been found to work well and is present in modern MCTF based scalable video coders. The superscript “t” and “t−1” respectively denote a current time t and the previous time t−1. As indicated by the double arrow heads, the DEFAULT blocks participate in both predict (for frame H) and update (for frame L) processing, as mentioned supra. As indicated by single arrow heads, the PBLOCKs, REVERSE blocks and I-BLOCKs only affect one frame, namely the H frame. Update is not shown for these blocks. The I-BLOCK denotes a block employing spatial interpolation/prediction only as discussed supra. After I-BLOCK detection, the variable size OBMC execution 233 of FIG. 14 is performed.
  • In the OBMC framework, the present invention views any data received by the decoder prior to the decoding of a frame as a source of information about the true prediction scheme finally employed.
  • FIG. 16 illustrates a self block and four nearest neighbor blocks in the current frame, in accordance with an exemplary embodiment of the present invention. The four nearest neighbor blocks of the self block 270 in FIG. 16 are a right nearest neighbor 271, a lower nearest neighbor 272, a left nearest neighbor 273, and an upper nearest neighbor 274. For the illustrated examples of FIGS. 17-18 discussed infra, the self block and its nearest neighbor blocks are assumed to have the same size. According to the preceding assumption, the weighting window used is symmetric left-to-right and top-to-bottom.
  • FIGS. 17A and 17B illustrate 4×4 weighting windows, in accordance with an exemplary embodiment of the present invention. In FIG. 17A the self block is a motion block, and in FIG. 17B the self block is an I-BLOCK. FIG. 17A shows a weighting window 270A for the self block and its associated nearest neighbor weighting windows 271A, 272A, 273A, and 274A for the right nearest neighbor block, lower nearest neighbor block, left nearest neighbor block, and upper nearest neighbor block, respectively. FIG. 17B shows a weighting window 270B for the self block and its associated nearest neighbor weighting windows 271B, 272B, 273B, and 274B for the right nearest neighbor block, lower nearest neighbor block, left nearest neighbor block, and upper nearest neighbor block, respectively.
  • The following convention is used to represent the weighting windows in the examples of FIGS. 17, 18, 21A-21C and 22A-22C, using FIG. 17A for illustrative purposes. For the self block weighting window 270A, the pixel weights shown in FIG. 17A are in the same relative pixel positions as are the corresponding pixel values at the physical pixel locations. For the nearest neighbor blocks, however, the pixel weights shown in FIG. 17A are ordered and displayed reflectively opposite the corresponding pixel values at the physical pixel locations. For example in FIG. 17A with respect to the self block weighting window 270A and its upper neighbor weighting window 274A, the uppermost row 276A of weights (1 1 1 1) of the upper neighbor weighting window 274A is for pixels in the top row 277A of the self block (in terms of physical pixel locations) weighting window 270A. As another example in FIG. 17A with respect to the self block weighting window 270A and its right neighbor weighting window 271A, the rightmost column 278A of weights (1 1 1 1) of the right neighbor weighting window 271A is for pixels in the rightmost column 279A of the self block 270A.
  • The preceding convention has the visual advantage that if a nearest neighbor weighting window is superimposed over the self block weighting window 270A, the indicated weight at a given matrix position in the nearest neighbor-block weighting window and the weight directly underneath this matrix position in the self-block weighting window are being used as weights for the same physical pixel in the OBMC calculation of the present invention. Thus, when all nearest neighbor weighting windows are superimposed over the self block weighting window 270A, the sum of the weights at each matrix position is 4, or generally N for N×N blocks. For example in FIG. 17A, when all nearest neighbor weighting windows are superimposed over the self block weighting window 270A at the upper-right corner matrix position, the weights for the self block weighting window 270A, right neighbor weighting window 271A, lower neighbor weighting window 272A, left neighbor weighting window 273A, and upper neighbor weighting window 274A are 2, 1, 0, 0, and 1, respectively, which are summed to equal 4.
  • For a weighting window to be a probability weighting window, the sum of the weights in the weighting window would be equal to 1, which would result in the weights having a fractional or decimal value less than or equal to 1. For simplicity of representing the weights numerically, the weighting windows used in the illustrative examples herein in FIGS. 17-20 are normalized such that the sum of the weights is equal to N (instead of equal to 1) for a N×N weighting window size, with the understanding that the weighting window should be implemented as a probability weighting window (or its equivalent) when the weights in the weighting window are used to calculate pixel values.
  • In FIG. 17A with a fixed 4×4 block size, the self block is a motion block and two-dimensional (2-D) bilinear (i.e., straight-line) interpolation is used to determine the weights in the self block weighting window 270A and the nearest neighbor weighting windows 271A, 272A, 273A, and 274A. The 2-D bilinearly interpolated pixel values correspond to linear interpolation along the straight line between the center of the self block and the center of the neighboring block. Since the 2-D bilinear interpolation is two-dimensional, a bilinearly interpolated weight is the product of such interpolated values in two mutually orthogonal directions. The weights resulting from the 2-D bilinear interpolation have been rounded to the nearest integer, subject to the constraint that the normalization condition (i.e., the sum of the weights associated with each pixel is equal to N) is satisfied. If one or more self block boundaries coincide with a frame boundary, then at least one side of the self block will not have a nearest neighbor block and the resultant bilinear weighting window weights will therefore differ from the bilinear weighting window weights that exist when no self block boundary coincides with a frame boundary. Studies indicate that the 2-D bilinear interpolation weighting window is nearly as accurate as an iterated optimal weighting window. However, other forms of interpolation (e.g., biquadratic interpolation, exponential interpolation, etc.) may be used instead of bilinear interpolation for the weighting windows of FIG. 17A or for weighting windows of any other embodiment discussed herein such that bilinear interpolation is disclosed as being used.
  • In FIG. 17B, with fixed 4×4 block size, the self block is an I-BLOCK. The weights in the weighting windows in FIG. 17B are derived from the weights in the weighting windows in FIG. 17A by extracting portions of the weights in the self-block weighting window in and adding the portions to selected weights in the nearest neighbor weighting windows, subject to the constraint that the normalization condition is satisfied. The “portion of the weights” adjustment was experimentally determined in terms of giving a good visual error performance and was not optimized in any way. Other “portion of the weights” adjustments may be utilized if validated or substantiated by experimental and/or analytical methodology. The selected weights are weights which are near the block boundaries. The preceding modification of the weights of FIG. 17A when the self block is an IBLOCK facilitates a more aggressive smoothing of the interpolated pixel values at self block boundaries, by providing relatively higher weights to the neighbor blocks. The weight distribution method used for FIG. 17B is a “radiation scheme” that radiates weight components outward from the self cell to its neighbor cells.
  • For FIG. 17A and/or FIG. 17B, once the nearest neighbor weighting window has been determined for the right nearest neighbor, the nearest neighbor weighting window for the left nearest neighbor may be determined by exploiting the reflective symmetry shown in FIG. 16, or may be calculated via bilinear interpolation. Similarly, once the nearest neighbor weighting window has been determined for the bottom nearest neighbor, the nearest neighbor weighting window for the top nearest neighbor may be determined by exploiting the reflective symmetry shown in FIG. 16, or may be calculated via bilinear interpolation.
  • The example of FIGS. 17A and 17B illustrate an exemplary embodiment, wherein the self block is an I-BLOCK, and wherein the generated window of the self block consists of first pixel weights and second pixel weights. The first pixel weights are less than what the first pixel weights would have been if the self block had been a motion block, and the second pixel weights are equal to what the second pixel weights would have been if the self block had been the motion block. For example, the first pixel weights of “2” in selected matrix positions of the self I-BLOCK 270B of FIG. 17B are less than the weights of “3” in the corresponding selected matrix positions of the motion block 270A of FIG. 17A, and the second pixel weights are the remaining pixel weights which are the same weights (i.e., same weight magnitudes) in the self I-BLOCK 270B of FIG. 17B and the motion block 270A of FIG. 17A.
  • Accordingly, generating the weighting window for the self block may comprise: generating a first weighting window for the self block as if the self block is the motion block (e.g., generating the motion block 270A of FIG. 17A); and generating the weighting window for the self block from the first weighting window by reducing weights in the first weighting window (e.g., generating the self I-BLOCK 270B of FIG. 17B by reducing the weights in the motion block 270A of FIG. 17A).
  • Moreover, in the preceding embodiment illustrated by the example of FIGS. 17A and 17B, the generated window of each neighbor block of the self block may consist of third pixel weights and fourth pixel weights, wherein the third pixel weights are greater than what the third pixel weights would have been if the self block had been the motion block, and wherein the fourth pixel weights are equal to what the fourth pixel weights would have been if the self block had been the motion block. For example, the third weights are illustrated by selected portions of the right, bottom, left, and upper neighbor block weights which are greater in magnitude in FIG. 17B than in FIG. 17A, and the fourth weights are illustrated by the remaining portions of the right, bottom, left, and upper neighbor block weights which are equal in magnitude in FIG. 17B and FIG. 17A.
  • FIGS. 18A and 18B illustrate 8×8 weighting windows wherein the associated self block is a motion block and an IBLOCK, respectively, in accordance with an exemplary embodiment of the present invention. FIG. 18A shows a weighting window 270C for the self block and its associated nearest neighbor weighting windows 271C, 272C, 273C, and 274C for the right nearest neighbor block, lower nearest neighbor block, left nearest neighbor block, and upper nearest neighbor block, respectively. FIG. 18B shows a weighting window 270D for the self block and its associated nearest neighbor weighting windows 271D, 272D, 273D, and 274D for the right nearest neighbor block, lower nearest neighbor block, left nearest neighbor block, and upper nearest neighbor block, respectively. The methods for generating the weighting windows in FIGS. 18A and 18B are the same as the methods used to generate the weighting windows in FIGS. 17A and 17B as described supra.
  • Shrinking Scheme
  • As explained supra in conjunction with FIGS. 11 and 12, the self block and its associated nearest neighbor blocks may all have the same size, or the size of the self block may differ from the size of at least one of its associated nearest neighbor blocks. Essentially, there are three exemplary embodiments for a nearest neighbor block associated with of a given self block:
  • The spatial nearest neighbor block size is the same as that of the self block (e.g., self block 241 and its neighbor block 242 in FIG. 14), which is the “standard same block-size” case analyzed supra in conjunction with FIGS. 17A-18B. Thus, the weighting windows for this embodiment are generated as described supra in conjunction with FIGS. 17A-18B.
  • The spatial nearest neighbor block size is larger than that of the self block (e.g., self block 241 and its neighbor blocks 243 and 244 in FIG. 11), which is treated by utilizing the portion of the larger nearest neighbor block that is the same size as the self block, wherein the portion occupies the same space within the current frame as does the nearest neighbor block of the standard same block-size case (a). To illustrate, FIG. 19 illustrates frame 240 of FIG. 11, wherein portions 243A and 244A of nearest neighbor blocks 243 and 244 are shown, in accordance with an exemplary embodiment of the present invention. Portions 243A and 244A have the same size as self block 241 and occupy the space within the frame 240 appropriate to the standard same block-size case. For this embodiment, the portions 243A and 244A of nearest neighbor blocks 243 and 244, respectively, are utilized as effective nearest neighbor blocks to the self block 241. Thus, the portion 243A portion of the neighbor block 243 is the only portion of the neighbor block 243 whose weighting window impacts a predicting of pixel values in the self block 241 during the performing of OBMC on the self block 241. Similarly, the portion 244A of the neighbor block 244 is the only portion of the neighbor block 244 whose weighting window impacts a predicting of pixel values in the self block 241 during the performing of OBMC on the self block 241. In effect, the present invention “shrinks” the blocks 243 and 244 to the respective portions 243A and 244A. The self block 241 and the neighbor block 243 (or 244) may each be a motion block, wherein the generated weighting window of the portion 243A (or 244A) of the neighbor block 243 (or 244) may consist of bilinearly interpolated weights. The weighting windows for this embodiment are generated as described supra in conjunction with FIGS. 17A-18B for the standard same block-size case. However, the motion vector associated with the larger nearest neighbor block are used to provide the weighted neighbor estimate. For example with reference to FIG. 12, the motion vector 253 would be used to locate the block 263 in the reference frame 260 in conjunction with utilizing the portion 243A (see FIG. 19) of the larger neighbor block 243 for processing the self block 241.
  • The spatial nearest neighbor block size is smaller than that of the self block (e.g., self block 241 and its neighbor blocks 245 and 246 in FIG. 11), which necessitates choosing a portion of the self block to be of the same size as the smaller nearest neighbor block and adjacently located with respect to smaller nearest neighbor block. To illustrate, FIG. 20 illustrates frame 240 of FIG. 11, wherein portions 1A and 1B of self block 241 are shown, in accordance with an exemplary embodiment of the present invention. Portions 1A and 1B have the same size as (and are located adjacent to) the nearest neighbor blocks 245 and 246, respectively. For this embodiment, the portions 1A and 1B of the self block 241 are utilized as effective self block portions with respect to the nearest neighbor blocks 245 and 246, respectively. The portion 1A of the self block 241 is the only portion of the self block 241 at which a predicting of pixel values is impacted by the weighting window of the neighbor block 245 during the performing of OBMC on the portion 1A of the self block 241. Similarly, the portion 1B of the self block 241 is the only portion of the self block 241 at which a predicting of pixel values is impacted by the weighting window of the neighbor block 246 during the performing of OBMC on the portion 1A of the self block 241. In effect, the present invention “shrinks” the self block 241 so as to utilize only the portions 1A and 1B
  • For the embodiment in which the spatial nearest neighbor block size is smaller than that of the self block, the weighting windows are generated as described infra in conjunction with the shrinking scheme examples of FIGS. 21A-21C and 22A-22C, wherein each utilized portion of the self block comprise an affected area and an unaffected area such that the affected area is affected by the smaller nearest neighbor block and the unaffected area is not affected by the smaller nearest neighbor block. For some applications, the affected area may comprise half of the smaller nearest neighbor block size, both horizontally and vertically. The weights in the weighting window of the affected area of the utilized portion of the self block and the corresponding portion of the weighting window of the smaller nearest neighbor block are the same as is derived from the standard same block-size case. The weights in the portion of the weighting window of the smaller nearest neighbor block that corresponds to the unaffected area of the utilized portion of the self block are “removed” and then set equal to zero. The weights in the unaffected area of the utilized portion of the self block are incremented (relative to the standard same block-size case) by the removed weights from the corresponding portion of the weighting window of the smaller nearest neighbor block, as will be illustrated infra in conjunction with the example of FIGS. 22A-22C.
  • Since a self block may have a different motion vector from its smaller nearest neighbor, this shrinking scheme reduces the smoothing at a motion discontinuity, since this shrinking scheme reduces the smoothing radius to be compatible with the smaller nearest neighbor block size.
  • For each self block, the operations of analyzing the relative block size of its nearest neighbors are repeated for each such nearest neighbor. The self blocks are sequentially processed in accordance with a predetermined scan order.
  • FIGS. 21A-21C depict weighting windows for a self block and an associated smaller nearest neighboring block used by OBMC in conjunction with a shrinking scheme, wherein the nearest neighboring block is a motion block, in accordance with an exemplary embodiment of the present invention. In FIG. 21A, the self block 280 is an 8×8 block, and its right neighbor block 281 is a 4×4 block.
  • FIG. 21B provides a self block weighting window 280A and its right neighbor weighting window 281A, respectively associated with the self block 280 and the right neighbor block 281 of FIG. 21A. In FIG. 21B, the self block weighting window 280A includes a utilized portion 282A that is utilized in the OBMC procedure in conjunction with the right neighbor weighting window 281A. The utilized portion 282A is a “shrinked” form of the self block weighting window 280A and has the same size as the right neighbor weighting window 281A.
  • In FIG. 21B, the numerical weights shown are not the final weights but rather are the standard initial weights used for computing the final weights. The final weights are shown in FIG. 21C. In particular, the initial weights in FIG. 21B are the weights pertinent to the standard same block-size case. Thus, the weights in the self block weighting window 280A of FIG. 21B are the same bilinear weights that appear in the weighting window 270C of FIG. 18A, and the weights in the right neighbor weighting window 281A of FIG. 21B are the same bilinear weights that appear in the upper-right quadrant of the weighting window 271C of FIG. 18A
  • In FIG. 21B, the utilized portion 282A consists of an affected area 283A and an unaffected area 284A. The pixels of the self block that relate to the affected area 283A are affected in the OBMC procedure by an affecting area 285A of the right neighbor weighting window 281A. The pixels of the self block that relate to the unaffected area 284A are unaffected in the OBMC procedure by an unaffecting area 286A of the right neighbor weighting window 281A.
  • The weights in FIG. 21C are derived from the weights in FIG. 21B as follows. The weights in the affecting area 285A and the affected area 283A in FIG. 21C are the same as in FIG. 21B. The weights in the unaffecting area 286A in FIG. 21B are added to the corresponding weights in the unaffected area 284A in FIG. 21B to form the weights in the unaffected area 284A in FIG. 21C, and the weights in the unaffecting area 286A in FIG. 21C are set to zero.
  • The preceding shrinking scheme illustrated in FIGS. 21A-21C avoids over smoothing at motion discontinuities. Since a large block may have a different a motion vector from its small nearest neighbors, the shrinking scheme can reduce over-smoothing at a motion discontinuity. The shrinking scheme can be applied to rectangular as well as the square block sizes discussed supra and the rectangular block sizes are thus within the scope of the present invention. Note, however, that a simple quadtree decomposition may be used to generate an array of square blocks only. An array of rectangular blocks may be effectuated by a horizontal and/or vertical splitting algorithm (e.g., splitting an 8×8 block into two 8×4 blocks or two 4×8 blocks).
  • For the preceding shrinking scheme illustrated in FIGS. 21A-21C, the nearest neighbor block is a motion block characterized by a motion vector. In contrast, a nearest neighbor block that is an I-BLOCK has no associated motion vector. If the nearest neighbor I-BLOCK does not participate in the OBMC smoothed prediction, however, the nearest neighbor I-BLOCK may create some block artifacts with nearest neighboring motion blocks (i.e., DEFAULT, P-BLOCK, or REVERSE block). Accordingly, the reflecting scheme of the present invention incorporates a nearest neighbor I-BLOCK into the framework of OBMC as discussed infra.
  • Reflecting Scheme
  • The reflecting scheme is used if a nearest neighbor is an I-BLOCK. The reflecting scheme reflects the nearest neighbor I-BLOCK weighting back on the self block. This effectively means that the self block's motion vector is used in place of the missing motion vector of the I-BLOCK.
  • FIGS. 22A-22C depict weighting windows for a self block and an associated smaller nearest neighboring block used by OBMC in conjunction with a shrinking scheme, wherein the nearest neighboring block is an I-BLOCK, in accordance with an exemplary embodiment of the present invention. In FIG. 22A, the self block 290 is an 8×8 block, and its right neighbor block 291 is a 4×4 block.
  • FIG. 22B provides a self block weighting window 290A and its right neighbor weighting window 291A, respectively associated with the self block 290 and the right neighbor block 291 of FIG. 22A. In FIG. 22B, the self block weighting window 290A includes a utilized portion 292A that is utilized in the OBMC procedure in conjunction with the right neighbor weighting window 291A. The utilized portion 292A has the same size as the right neighbor weighting window 291A.
  • In FIG. 22B, the numerical weights shown are not the final weights but rather are the standard initial weights used for computing the final weights. The final weights are shown in FIG. 22C. In particular, the initial weights in FIG. 22B are the weights pertinent to the standard same block-size case. Thus, the weights in the self block weighting window 290A of FIG. 22B are the same bilinear weights that appear in the weighting window 270C of FIG. 18A, and the weights in the right neighbor weighting window 291A of FIG. 22B are the same bilinear weights that appear in the upper-right quadrant of the weighting window 271C of FIG. 18A
  • The weights in FIG. 22C are derived from the weights in FIG. 22B as follows. The weights in the right neighbor weighting window 291A in FIG. 22B are added to the utilized portion 292A in FIG. 22B to form the weights in the utilized portion 292A in FIG. 22C, and the weights in the right neighbor weighting window 291A in FIG. 21C are set to zero.
  • Experiments conducted by the inventors of the present invention show that if nearest neighbor I-BLOCKs are not included in the OBMC framework, there may be visible block boundaries between I-BLOCKs and motion compensated blocks, which is explained by the fact that the motion compensated blocks are interframe compensated whereas I-BLOCKs are intraframe interpolated/predicted. After nearest neighbor I-BLOCKs are incorporated into the OBMC framework as discussed supra, most of the block boundaries are eliminated and a slight Peak Signal to Noise Ratio (PSNR) gain is observed.
  • OBMC Weighting Window Algorithm
  • Based on the preceding discussions of weighting windows for OBMC, FIG. 23 is a flow chart illustrating a method for calculating weighting windows for variable block size OBMC, in accordance with an exemplary embodiment of the present invention. The flow chart of FIG. 23 includes details of operations 221-222 in the flow chart of FIG. 11B discussed supra. The flow chart of FIG. 23 sequentially processes all self blocks in the current frame according to a predetermined scan order.
  • Operation 311 steps to the next self block to process which initially is the first block to be scanned according to the predetermined scan order. The next self block is processed with respect to its neighbor blocks consisting of the nearest neighbor blocks of the next self block. The neighbor blocks of the self block (i.e., next self block) comprise a first neighbor block. The self block and the first neighbor block may each be a motion block. The self block and the first neighbor block may each be an I-BLOCK. The self block may be a motion block and the first neighbor block may be an I-BLOCK. The self block may be an I-BLOCK and the first neighbor block may be a motion block.
  • For the self block established in operation 311, operation 312 steps to the next neighbor block which initially is a first neighbor block of a sequence of nearest neighbor blocks around the self block established in operation 311.
  • In operation 313, it is determined whether the neighbor block is a motion block or an I-BLOCK.
  • If it is determined that the neighbor block is a motion block then the shrinking scheme is performed in operation 314, followed by execution of operation 316. The shrinking scheme generates the weighting window for the self block and the neighbor block, based on whether the size of the neighbor block is equal to, larger than, or smaller than the size of the self block as discussed supra.
  • If it is determined that the neighbor block is an I-BLOCK, then the reflecting scheme is performed in operation 315, followed by execution of operation 316. The reflecting scheme generates the weighting window for the self block and the neighbor block in accordance with the procedure described supra in conjunction with FIGS. 22A-22C
  • In operation 316, it is determined whether there are more neighbor blocks of the self block to process.
  • If it is determined that there are more neighbor blocks of the self block to process then the algorithm loops back to operation 312 to step to the next neighbor block to process.
  • If it is determined that there are no more neighbor blocks of the self block to process then operation 317 is executed.
  • I operation 317, it is determined whether the self block is an I-BLOCK. If it is determined that the self block is not an I-BLOCK, then operation 319 is executed. If it is determined that the self block is an I-BLOCK, then operation 318 performs the radiation scheme described supra in conjunction with FIG. 17B to modify the weighting window of the self block and its neighbor blocks, followed by execution of operation 319.
  • In operation 319, it is determined whether there are more self blocks in the frame to process. If it is determined that there are more self blocks in the frame to process, then the algorithm loops back to operation 311 to operation to the next self block to process. If it is determined that there are no more self blocks in the frame to process, then the algorithm ends.
  • Iterating on OBMC
  • OBMC allows the nearest neighboring motion vectors to affect the prediction error in the self block, and that makes such a decoupled estimation suboptimal. Moreover, OBMC specifies a non-causal nearest neighborhood, so there is no block scanning order such that, for every block, all its nearest neighbor blocks are scanned before it. Thus, the present invention uses an iterative estimation or search procedure for optimized motion estimation and spatial interpolation/prediction mode selection, which ensures that the mean absolute distortion (MAD) converges to a local minimum.
  • For each pixel location s (which is a two-dimensional spatial vector) in a self block b, a residual error r(s) for pixel location s is computed as,
  • r ( s ) = I ( s ) - v s k ( i ) v b k h 1 or 2 ( i ) I ~ ( s - v s k ( i ) ) , ( 2 )
  • where the index i effectuates a summation over the nearest neighbors of the self block b, and k is an iteration index. In Equation (2), the h1 or 2(i) are the weighting window coefficients (i.e., weights) of the neighbor blocks i, wherein h1 (i) is used as the weighting window when the self block b is a motion block, and wherein h2 (i) is used as the weighting window when the self block b is an I-BLOCK. In Equation (2), vs(i) is a motion vector for the neighbor block i at pixel location s, and I(s) is the true pixel value at pixel location s, and Ĩ denotes an interpolated value (needed because of sub-pixel accuracy) in the reference frame for the neighbor block pixel. The residual error image r(s) is the motion compensation error that results when vector vb k, namely the motion vector from the self block b or the spatial interpolation/prediction for the block, is omitted and all the nearest neighbors' motion vectors are fixed. Then, the present invention further optimizes {circumflex over (v)}b for motion blocks or further optimizes {circumflex over (m)}b, the spatial interpolation mode, from the spatial interpolation modes permitted for I-BLOCKs, according to,
  • v ^ b = argmin v s ( j ) w b r ( s ( j ) ) - h 1 ( j ) I ^ k - 1 ( s ( j ) - v b ) ( 3 ) m ^ b = argmin m s ( j ) w b r ( s ( j ) ) - h 2 ( j ) I _ k ( s ( j ) ) ( 4 )
  • Here {circumflex over (v)}b are the conditional best motion vector, and {circumflex over (m)}b are the conditional best spatial interpolation/prediction mode for block b, Îk−1(s(j)−vb) is the motion compensated value with the motion vector from the block b, and Īk(s(j)) is the spatial interpolation/prediction value from self block b's nearest neighbors.
  • The OBMC iterations are controlled by the design parameters α and β, i.e., a predetermined total or maximum number of iterations α and an adjustment distance β for the motion vectors at each iteration. For example α=4 may be chosen. For example, motion vector perturbation parameter β=2 (corresponding to motion vector perturbations in proportionality to a fraction of a pixel unit in the orthogonal X and Y directions (e.g., horizontal and vertical directions, respectively): −4/8, −2/8, 0, +2/8, +4/8) may be chosen. Since the X and Y perturbations are independent, β=2 represents the preceding 5 perturbations in each of the X and Y directions for a total of 25 different directions of the motion vector at each iteration. Equations (3) and (4) determine which of the 25 motion vector perturbations is the best choice for the motion vector at each self block. When the best motion vector at each self block is so determined at a given iteration, the best motion vector is perturbed in accordance with β in the next iteration to determine a further improved value of the motion vector at each self block. The convergence speed is very fast, but it can be switched off to reduce computational complexity, resulting in a modest suboptimality, depending on the video clip.
  • Since bi-directional color HVSBM runs on both luminance and chrominance data, it follows naturally that the OBMC iterations may be applied to YUV simultaneously. U and V are sub-sampled frame data after some transform from RGB data. Thus, the weighting windows used for U and V are also sub-sampled versions of those used for Y.
  • Based on the preceding discussion, the iterative estimation approach of the present invention for OBMC (“OBMC iterations”) computes successively improved sets of motion vectors for each self block of the current frame for a fixed number (α) of iterations or until a convergence criteria is satisfied.
  • FIG. 24 is a flow chart illustrating a method for calculating successively improved motion vectors for the self blocks of a current frame processed according to variable block size OBMC using the weighting windows calculated according to the methodology described by the flow charts of FIGS. 13A, 13B, and 23, in accordance with an exemplary embodiment of the present invention. The calculated weighting windows constitute inputs to the OBMC iterations and do not change during the OBMC iterations.
  • In operation 321, α, β, and the weighting windows are provided as inputs.
  • Operation 322 steps to the next iteration to execute which initially is the first iteration.
  • For the iteration established in operation 322, operation 323 steps to the next self block to process which initially is the first block to be scanned according to a predetermined scan order.
  • In operation 324, the best motion vector for the self block selected from the perturbed β-based motion vectors, is determined using Equations (3) or (4) in conjunction with Equation (2).
  • In operation 325, it is determined whether there are more self blocks in the frame to process. If it is determined that there are more self blocks in the frame to process, then the algorithm loops back to operation 323 to step to the next self block to process. If it is determined that there are no more self blocks in the frame to process, then operation 326 is next executed.
  • I operation 326, it is determined whether there are more iterations to perform.
  • If it is determined that there are more iterations to perform then the algorithm loops back to operation 322 to step to the next iteration.
  • If it is determined that there are no more iterations to perform then the algorithm ends. There may be no more iterations to perform, because the number of iteration performed is equal to α. There may also be no more iterations to perform, because a predetermined convergence criteria for the updated motion vectors has been satisfied. For example, a convergence criteria may be, inter alia, that the mean square fractional change in the motion vectors (individually at each self block, or summed over all self blocks) from the immediately previous iteration to the present iteration is less than a predetermined tolerance. In a first exemplary embodiment, only α. is used in operation 326 to determine whether there are more iterations to perform. In a second exemplary embodiment, only a convergence criteria is used in operation 326 to determine whether there are more iterations to perform. In a third exemplary embodiment, both α. and a convergence criteria are used in operation 326 to determine whether there are more iterations to perform.
  • Modification of Lifting-Based MCTF
  • The present invention performs OBMC in a lifting implementation for DEFAULT blocks, i.e. with the prediction and update steps as normal in order to reduce the noise in the area of good motion. The specific equations for OBMC in lifting implementation are as follows,
  • H [ m , n ] = 1 2 A [ m , n ] - 1 2 k h k [ m , n ] B ~ [ m - d mk , n - d nk ] , ( 5 ) L [ m - d _ m , n - d _ n ] = H ~ [ m - d _ m + d m , n - d _ n + d n ] + 2 B [ m - d _ m , n - d _ n ] . ( 6 )
  • OBMC regards the motion vector field (dm, dn) as random process. That means that pixel B[m, n] in frame B has motion vector (dmk,dnk) with probability hk[m, n] from its corresponding probability window as stated earlier, and is compensated by the weighted average of the predicted sub-pixels. In Equations (5) and (6), ( d m, d n) is the nearest integer to (dm,dn). Although the form of the low temporal frame seems the same as that without OBMC, actually OBMC affects both high temporal frame and low temporal frame. The low temporal frames from OBMC are still visually preferred and more suitable for further stages of MCTF.
  • Scalable Coding for Motion Vector
  • Referring back to FIG. 14, in the scalable video coder MC-EZBC, prior to the coding of frame data, motion estimation is performed using hierarchical variable size block matching (HVSBM) 231 and a full motion vector quad-tree is formed between each frame pairs. Then the quad-tree is pruned in a rate-distortion sense. Due to a Haar filter, pixel values in low temporal frames are scaled up by a factor of √{square root over (2)} as a temporal level decreases. Motion compensated temporal filtering (MCTF) 234 is performed using the pruned motion vectors and produces high temporal frames and low temporal frames as mentioned above. MCTF will continue between the low temporal frames until a bottom temporal level. Finally, one temporal low frame and a set of high temporal frames are coded by an embedded zero block coder 235. Because of the properties of the embedded zero block coder 235 and the pyramid structure of MCTF, the temporal signal-to-noise ratio (SNR), and resolution scalability of frame data, i.e., texture data, are obtained.
  • The bitstream of motion vectors in each temporal layer can have temporal scalability after being grouped with the bitstream of frame data in that temporal layer. However, the bitstream of motion vectors is not still scalable with respect to SNR and resolution. The bitstream of motion vectors produced according to the prior art is optimized only in some range of bit rates at full resolution and is not optimized for low rates. More especially, in low resolution cases, the same number of motion vectors as that in full resolution are not required because a block size decreases and many motion vectors can be merged or replaced by only one representative. Furthermore, at low resolution, since motion vectors are scaled down, the full-accuracy motion vectors as that in full resolution are not required.
  • Therefore, to provide not only temporal scalability but also SNR and resolution scalability to the bitstream of motion vectors, the present invention suggests a method and apparatus for separating a motion vector into a basic layer and an enhancement layer according to pixel accuracies and a method and apparatus for separating motion vectors into a base layer including only motion vectors corresponding to blocks having a predetermined size or larger and an enhancement layer including only motion vectors corresponding to blocks smaller than the predetermined size.
  • First, motion vector estimation in the coding of motion vectors in each layer according to an embodiment of the present invention will be described.
  • FIG. 25 illustrates an example of a quad-tree dividing map resulting from motion estimation according to an embodiment of the present invention, and FIG. 26 illustrates the scan order of frames and blocks divided according to the quad-tree dividing map of FIG. 25.
  • Motion vector data resulting from motion estimation with respect to each frame using HVSBM includes a motion vector dividing map and motion vector information. The motion vector dividing map should be transmitted due to a non-uniform block structure. A 64×64 parent block and a quad-tree dividing map corresponding thereto are illustrated as an example in FIG. 25. In FIG. 25, each leaf node or terminal node is indicated by 0 and other intermediate nodes are indicated by 1. In other words, a block corresponding to the node 0 is not further divided into smaller blocks through variable size block motion estimation and a block corresponding to the node 1 is further divided into smaller blocks.
  • For the encoding of motion vectors, both an encoder and a decoder follows a quad-tree scan order as illustrated in FIG. 26. According to the quad-tree scan order, motion vectors of blocks are read by scanning the blocks left-to-right and top-to-bottom. In the encoding of motion vectors, it is desirable to encode only a difference between a previously encoded motion vector and a current motion vector along the scanning path, instead of to encode the x and y components of a motion vector of each block. In particular, in a scalable motion vector coding method according to the present invention, a motion vector for a current block is estimated based on the types of motion vectors of neighboring blocks scanned along the scanning path and a difference between the estimated motion vector and the actual motion vector of the current block is encoded using CABAC.
  • FIG. 27 is a view for explaining the spatial prediction of a motion vector of a current block from neighboring blocks according to an embodiment of the present invention.
  • According to the foregoing scan order, a motion vector MV of a current block 270 can be spatially predicted from motion vectors MV1, MV2, and MV3 of three direct neighboring blocks 271, 272, and 273 of the current block 270. For example, the motion vector MV of the current block 270 may be predicted to be the average or median of the motion vectors MV1, MV2, and MV3 of the direct neighboring blocks 271, 272, and 273. In particular, in an embodiment of the present invention, for the prediction of the motion vector MV of the current block 270, a motion vector of the same type as the motion vector MV of the current block 270 is used among the motion vectors MV1, MV2, and MV3. Referring back to FIG. 15, there are four types of blocks to be encoded according to the present invention: DEFAULT blocks with prediction and update steps in lifting implementation between current and next frames, P-BLOCKs with a prediction operation from a next frame only, REVERSE blocks with prediction from a previous frame only, and I-BLOCKs with spatial prediction from neighboring pixels in the same frame. Motion vectors in the DEFAULT blocks and the P-BLOCKs are between current and next frames (defined as normal motion vectors), the motion vectors in the REVERSE blocks are between current and previous frames (defined as reverse motion vectors), and there is no motion vector in the I-BLOCKs except for a spatial prediction mode.
  • The characteristics of the normal motion vectors and the reserve motion vectors are quite different from each other in the coding of the motion vectors. For this reason, the two sets of motion vectors are separately predicted and coded, thereby improving the prediction and coding efficiency. Thus, in an embodiment of the present invention, a motion vector of a current block is predicted using motion vectors of neighboring blocks having the same type as the motion vector of the current block. For example, when the motion vector MV of the current block 270 is a normal motion vector in FIG. 27, i.e., is between current and next frames, a motion vector having the same type as the motion vector MV, i.e., a normal motion vector among the motion vectors MV1, MV2, and MV3 of the neighboring blocks 271, 272, and 273 of the current block 270 is used for the prediction of the motion vector MV of the current block 270. If there is no normal motion vector among the motion vectors MV1, MV2, and MV3 of the neighboring blocks 271, 272, and 273 of the current block 270, the motion vector MV of the current block 270 is predicted using a normal motion vector among motion vectors of previous blocks scanned according to the quad-tree scan order illustrated in FIG. 26. Next, a prediction residual between a predicted motion vector and an actual motion vector is coded by CABAC. In the following description, the foregoing combined spatial and scan-order prediction is consistently applied to the coding of a motion vector of each block in each layer.
  • Hereinafter, a description will be made regarding alphabet general partition (AGP) in which a motion vector is separated into a base layer and an enhancement layer according to pixel accuracies for scalable motion vector coding according to an embodiment of the present invention.
  • FIG. 28 is a flowchart illustrating a scalable motion vector coding method according to an embodiment of the present invention, in which a motion vector is separated into a base layer and an enhancement layer according to pixel accuracies. FIG. 29 is a block diagram of a scalable motion vector coder according to an embodiment of the present invention. FIG. 30 illustrates division of a motion vector according to pixel accuracies according to an embodiment of the present invention.
  • Referring to FIG. 28, a motion vector of a current block is estimated with a first pixel accuracy in operation 2800. In MC-EZBC, the motion estimation of the current block is performed with a ⅛ pixel accuracy. Although the pixel accuracy can reduce a mean squared error (MSE) after motion compensation, a ¼ or ⅛ pixel accuracy of motion vectors is quite random due to the camera noise and quantization noise because the MSE after motion compensation is already near a total noise variance after ¼ or ⅛ pixel accuracy motion compensation. Thus, the motion vector can be modeled as follows (the one dimensional case is presented for convenience of explanation although the motion vector has two components such as x and y components). However, the spirit of the present invention can also be applied to scalable motion vector coding for a motion vector in other dimensions.

  • r k =s k +n k  (7),
  • where rk is an estimated kth motion vector, sk is an actual kth motion vector, and nk is a noisy motion vector due to noises in frame data. All of the three components rk, sk, and nk are assumed to be in the ⅛ pixel accuracy.
  • Since noises in frame data are quite small, they only contaminate ¼ and ⅛ pixel accuracies of the estimated motion vector during motion estimation. In the scalable motion vector coding method according to an embodiment of the present invention, the estimated motion vector rk is separated into two symbols in operation 2810, as follows:

  • r k =r k1 +r k2  (8),
  • where rk1 is a major symbol up to the ½ pixel accuracy and rk2 is a sub-symbol for the ¼ and ⅛ pixel accuracies. For example, if the estimated motion vector rk=−1.625, then rk1=−1.5 and rk2=−0.125. As such, in the scalable motion vector coding method according to an embodiment of the present invention, the estimated motion vector rk is separated into a major symbol having low pixel accuracy and a sub-symbol having high pixel accuracy corresponding to a difference between the actual value of the estimated motion vector and the major symbol. Here, the major symbol forms a base layer of the motion vector and the sub-symbol forms an enhancement layer of the motion vector. In an embodiment of the present invention, the major symbol is estimated from motion vectors of neighboring blocks of a current block based on a predetermined scan order and the type of a motion vector to be estimated and a residual between the estimated motion vector and the actual motion vector is coded using CABAC, as described with reference to FIGS. 26 and 27. The sub-symbol is coded in a binary sequence in operation 2820.
  • Except for one case, it is not necessary to code the sign of the sub-symbol because the signs of the sub-symbol and the major symbol are the same. In the above example, since the major symbol rk1=−1.5, it can be seen that the sign of the sub-symbol rk2 is negative and thus, the sub-symbol rk2 can be coded as 0.125. The exceptional case is for motion vectors in a range [−0.375, +0.375]. For those motion vectors, the major symbol rk1=0. In this case, the sign of the sub-symbol cannot be known from the major symbol. For this case, a sign bit indicating whether the sub-symbol is positive or negative may be added to the bitstream of motion vectors.
  • FIG. 31 illustrates a motion vector bitstream 3100 produced according to an embodiment of the present invention. Referring to FIG. 31, the motion vector bitstream 3100 includes base layer's motion vectors 3110 composed of major symbols having low pixel accuracy, enhancement layer's motion vectors 3120 composed of sub-symbols having high pixel accuracy, and sign bits 3130 indicating the signs of the sub-symbols. As mentioned above, the sign bits 3130 are added when the major symbols are 0, e.g., the base layer's motion vectors 3110 having the ⅛ pixel accuracy are in the range [−0.375, +0.375].
  • At high rates and full resolution, all the three parts of the motion vector bitstream 3100, i.e., the base layer's motion vectors 3110, the enhancement layer's motion vectors 3120, and the sign bits 3130, are transmitted. In this case, the lossless motion vectors can be obtained and frames can be reconstructed at a decoder. However, at low rates, the enhancement layer's motion vectors 3120 and the sign bits 3130 are thrown away and only the base layer's motion vectors 3110 are transmitted. In this case, by substituting frame data for the enhancement layer's motion vectors 3120 and the sign bits 3130 in the motion vector bitstream 3100, a limited bandwidth can be efficiently used in the same bit budget in spite of lossy motion vectors. In other words, although the motion vectors are lossy, their inaccuracy can be compensated by the more accuracy of frame data. The total performance can be improved by separating motion vectors according to pixel accuracies and substituting frame data for enhancement layer's motion vectors according to channel states.
  • In addition, at low resolution, since the motion vectors are scaled down in MC-EZBC, the same accuracy for motion vectors as that in full resolution are not required. Thus, the sub-symbol and sign bit parts can be thrown away and the saved bits can be spent on frame data.
  • Referring back to FIG. 29, a scalable motion vector coder 2900 according to an embodiment of the present invention includes a motion estimation unit 2910, a separating unit 2920, and a motion vector coding unit 2930.
  • The motion estimation unit 2910 performs HVSBM (231 of FIG. 14) to estimate an actual motion vector of a current block with a first pixel accuracy. Here, the first pixel accuracy is the ⅛ pixel accuracy.
  • A set of motion vectors for each frame, obtained through motion estimation of the motion estimation unit 2910, is input to the separating unit 2920. The separating unit 2920 separates the estimated motion vectors having the first pixel accuracy into base layer's motion vector components having a low second pixel accuracy and enhancement layer's motion vector components having a high third pixel accuracy. Here, the second pixel accuracy may be the ½ pixel accuracy and the third pixel accuracy may be the ¼ or ⅛ pixel accuracy.
  • The motion vector coding unit 2930 includes a base layer coder 2932 for coding the base layer's motion vector components and an enhancement layer coder 2934 for coding the enhancement layer's motion vector components. The base layer coder 2932 scans motion vectors of blocks of a current frame according to a predetermined scan order, estimates a base layer of a motion vector of a current block from motion vectors of neighboring blocks of the current block having the same type as the motion vector of the current block, and codes a residual between the estimated base layer and the actual base layer of the motion vector of the current block using CABAC. The enhancement layer coder 2934 codes sub-symbols of the enhancement layer in a binary sequence.
  • In the foregoing description, a motion vector may also be separated into a base layer and at least two enhancement layers according to additionally subdivided pixel accuracies. Although the sub-symbol is coded in a binary sequence in the foregoing description, it may also be coded using CABAC.
  • Hereinafter, a scalable motion vector coding method according to another embodiment of the present invention will be described.
  • In general, in a scalable image, after one spatial level down, a block size is halved. In other words, 16×16, 8×8, and 4×4 blocks become 8×8, 4×4, and 2×2 blocks. After one or two spatial level down, the same number of motion vectors as those at full resolution are not required. Moreover, the motion vectors are also scaled down by a factor of 2 after one spatial level down. If adjacent two motion vectors have a difference less than 2 pixels at full resolution, then in half resolution they have a difference less than 1 pixel. For these two motion vectors, they can be replaced by any one of them. In the scalable motion vector coding method according to another embodiment of the present invention, by merging blocks smaller than a predetermined size using the foregoing fact, a motion vector field has a layered structure composed of a base layer including only motion vectors of blocks of a predetermined size or larger and an enhancement layer including only motion vectors of blocks smaller than the predetermined size.
  • FIG. 32 is a view for explaining a layered structure of a motion vector, applied to the scalable motion vector coding method according to another embodiment of the present invention.
  • In the scalable motion vector coding method according to another embodiment of the present invention, among blocks estimated using VSBM, small blocks smaller than the predetermined size are merged to form a larger block and a representative motion vector selected among motion vectors of the small blocks is assigned to the formed larger block. In this way, a base layer having only motion vectors of blocks of a predetermined size or larger is formed and motion vectors of blocks of a predetermined size or smaller to be merged are formed as an enhancement layer.
  • It is assumed that a predetermined block 3200 of a current frame is divided as shown in FIG. 32 after motion estimation using VSBM. A 64×64 block of the current frame may be divided into 4×4 blocks using HVSBM, but the block 3200 has a size of 32×32 in FIG. 32 for convenience of explanation. As mentioned above, in the scalable motion vector coding method according to another embodiment of the present invention, small blocks of a predetermined size or smaller are merged into a larger block and a representative motion vector among motion vectors of the small blocks is assigned to the larger block. Here, the first motion vector in the quad-tree scan order of FIG. 26 may be determined to be the representative motion vector based on the type of the motion vector. In other words, in the scalable motion vector coding method according to another embodiment of the present invention, in the determination of the representative motion vector, the first normal motion vector and the first reverse motion vector among motion vectors of blocks scanned in the quad-tree scan order are assigned to the larger block based on the type of the motion vector. For example, by merging four 4×4 blocks 3210 corresponding to children nodes in the quad-tree structure as a result of HVSBM into a single 8×8 block 3231, a base layer including only motion vectors of 8×8 or larger blocks is formed. The first normal motion vector and the first reverse motion vector among motion vectors of the four 4×4 blocks 3210 scanned in the quad-tree scan order are assigned to the 8×8 block 3231 into which the four 4×4 blocks 3210 are merged. Similarly, four 4×4 blocks 3220 corresponding to children nodes in the quad-tree structure are merged into a single 8×8 block 3232 and the first normal motion vector and the first reverse motion vector among motion vectors of the four 4×4 blocks 3220 are assigned to the 8×8 block 3232.
  • Motion vectors of the four 4×4 blocks 3210 and the four 4×4 blocks 3220 form enhancement layers 3241 and 3242 and are coded independently of a base layer 3230 including motion vectors of 8×8 or larger blocks.
  • In the scalable motion vector coding method according to another embodiment of the present invention, since the normal motion vector and the reverse motion vector have different characteristics, the normal motion vector and the reverse motion vector are assigned to the larger block to reserve the representative normal motion vector to be assigned to a block having the normal motion vector among four children nodes and the representative reverse motion vector to be assigned to a block having the reverse motion vector among the four children nodes.
  • FIG. 33 is a flowchart illustrating the scalable motion vector coding method according to another embodiment of the present invention.
  • Referring to FIG. 33, a current frame is divided into a plurality of blocks and motion estimation is performed to determine a motion vector for each block in operation 3310. As mentioned above, HVSBM may be used to determine the motion vector for each block.
  • By using motion vectors of the divided blocks, a base layer including motion vectors of blocks of a predetermined size or larger and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size are formed in operation 3320. At this time, blocks corresponding to parent nodes in the quad-tree structure are assigned a normal motion vector and a reverse motion vector as representative motion vectors, which are selected among motion vectors of children nodes according to a sub-sample selection scheme to be described later.
  • The base layer and the enhancement layer are coded in operation 3330. For the coding of the base layer and the enhancement layer, blocks of the base layer and the enhancement layer are scanned according to a predetermined scan order, a motion vector of a current block is estimated from motion vectors of neighboring blocks of the current block based on the type of the motion vector, and a residual between the estimated motion vector and the actual motion vector is coded using CABAC.
  • FIG. 34 is a view for explaining a sub-sample selection scheme applied to a layered structure of a motion vector according to another embodiment of the present invention. In FIG. 34, a dotted arrow indicates a reverse motion vector and a solid arrow indicates a normal motion vector.
  • Referring to FIG. 34, representative normal and reverse motion vectors are selected from four 4×4 children blocks and are assigned to an 8×8 parent block as illustrated in Set 1 and Set 2 of FIG. 34. The first normal and reverse motion vectors in the quad-tree scan order of FIG. 26 may be selected as the representative normal and reverse motion vectors. For example, a normal motion vector of a 4×4 block 3412 having the first normal motion vector according to the quad-tree scan order is assigned as the representative normal motion vector to an 8×8 parent block 3412. A reverse motion vector of a 4×4 block 3414 having the first reverse motion vector is assigned as the representative reverse motion vector to the 8×8 parent block 3412.
  • Motion vectors of blocks having sizes larger than or equal to 8×8 are coded as a base layer and motion vectors of 4×4 blocks are coded as an enhancement layer. Then a two-layer structure for motion vector coding is formed. When the first normal and reverse motion vectors according to the quad-tree scan order are assigned to the 8×8 block and coded as a base layer, since the first normal and reverse motion vectors in the four 4×4 children blocks have already been coded at the base layer, it is not necessary to code them again in the enhancement layer. Thus, the total number of coded motion vectors is the same as that of coded motion vectors without a layered structure.
  • In the case of a large channel bandwidth, i.e., at high rates, both the base layer and enhancement layer of motion vectors can be transmitted. In this case, at a decoder, motion vectors can be reconstructed without distortion. In the case of a small channel bandwidth, i.e., at low rates, the enhancement layer may be thrown away and more bits may be spent on frame data. Then in four grouped 4×4 blocks, all the normal motion vectors are replaced by their corresponding representatives in their 8×8 parent blocks.
  • When the motion vectors are layered into a base layer and at least one enhancement layer, four 8×8 parent blocks are merged into a 16×16 block again and normal and reverse motion vectors selected from motion vectors of the 8×8 children blocks are assigned to the 16×16 block, thereby forming a three-layer structure for motion vector coding. FIG. 36 illustrates a motion vector bitstream 3600 when the motion vectors having the three-layer structure are coded. In the three-layer structure for motion vector coding, motion vectors of blocks having sizes larger than or equal to 16×16 form a base layer, motion vectors of 8×8 blocks having children nodes form a first enhancement layer, and motion vectors of 4×4 blocks form a second enhancement layer. In this case, at a decoder, when only base layer's motion vectors are received due to a limit of a channel bandwidth, motion vectors of the 16×16 block are replaced by motion vectors of children blocks of the 16×16 block. For example, in FIG. 34, if the decoder receives a base layer including only motion vectors of blocks having sizes larger than or equal to 16×16, it replaces all the reverse motion vectors of 8×8 and 4×4 blocks divided according to received block map information by the reverse motion vector of the top-most 16×16 block. Similarly, if the decoder receives a base layer including only motion vectors of blocks larger than 16×16, it replaces all the normal motion vectors of 8×8 and 4×4 blocks divided according to received block map information by a normal motion vector of the top-most 16×16 block.
  • In addition to the three-layer structure, the motion vectors may also have a four-layered structure. By merging four 16×16 blocks into a 32×32 block and assigning representative normal and reverse motion vectors selected among motion vectors of the four 16×16 blocks to the 32×32 block, the four-layered structure may include a base layer composed of motion vectors of blocks larger than 32×32, a first enhancement layer composed of motion vectors of the 16×16 blocks, a second enhancement layer composed of motion vectors of the 8×8 blocks, and a third enhancement layer composed of motion vectors of the 4×4 blocks.
  • When each motion vector layer is coded, motion vector estimation using the foregoing scan order and neighboring blocks is used. In other words, as described with reference to FIGS. 26 and 27, if at least one of neighboring blocks located above, to the left of, and above and to the left of a current block has a motion vector having the same type as a motion vector of the current block (i.e., a normal or reverse motion vector), the motion vector of the current block may be estimated from the same-type motion vector of the neighboring block. If there is no the same-type motion vector in any of the neighboring blocks, the motion vector of the current block may be estimated from the same-type motion vector of a previously processed block in the quad-tree scan order.
  • FIG. 35 is a block diagram of a scalable motion vector coder 3500 according to another embodiment of the present invention.
  • Referring to FIG. 35, the scalable motion vector coder 3500 includes a motion estimation unit 3510, a layer forming unit 3520, and a layered motion vector coder 3530.
  • The motion estimation unit 3510 divides a current frame into a plurality of blocks and performs motion estimation to determine a motion vector for each of the divided blocks through HVSBM (231 of FIG. 14).
  • A set of motion vectors of each frame, obtained through motion estimation of the motion estimation unit 3510, is input to the layer forming unit 3520. The layer forming unit 3520 forms a base layer including motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size, using the motion vectors of the divided blocks. As mentioned above, the layer forming unit 3520 selects normal and reverse motion vectors as representative motion vectors from motion vectors of children nodes according to the sub-sample selection scheme and assigns the selected normal and reverse motion vectors to a large block corresponding to a parent node.
  • The layered motion vector coder 3530 scans motion vectors of the base layer and the enhancement layer according to a predetermined scan order, estimates a motion vector of a current block from motion vectors of neighboring blocks having the same type as the motion vector of the current block, and codes a residual between the estimated motion vector and the actual motion vector using CABAC. In the coding of the enhancement layer, all information up to this enhancement layer, i.e., an updated motion field and updated context model information in a previous layer, may be used.
  • The scalable motion vector coding method according to an embodiment of the present invention may be replaced by a conventional motion vector coding method selectively according to encoded motion vectors and predetermined rate distortion (RD) costs. This is because motion vector coding into a layered structure according to another embodiment of the present invention does not have a large influence on a reconstructed image of a smooth image due to a small difference between motion vectors, but may aggravate distortion of a reconstructed image of a complicated image. Thus, by comparing RD costs of bitstreams generated by motion vector coding into a layered structure according to another embodiment of the present invention and conventional motion vector coding into a non-layered structure, the two coding methods may be selectively used according to the result of comparison.
  • FIG. 36 illustrates a bitstream produced by the scalable motion vector coding method and the scalable motion vector coder according to another embodiment of the present invention. In FIG. 36, the bitstream is produced for motion vectors have a three-layer structure including one base layer and two enhancement layers.
  • Referring to FIG. 36, when motion vectors are coded into a three layer, a base layer 3610 includes motion vector information of blocks having sizes equal to or larger than 16×16, a first enhancement layer 3620 includes motion vector information of 8×8 blocks, and a second enhancement layer 3630 includes motion vector information of 4×4 blocks. As mentioned above, the motion vector information of all the layers can be transmitted at high rates, but motion vector information of the base layer 3610 or the motion vector information of the first enhancement layer 3620 can be selectively transmitted according to a channel status.
  • FIG. 37 is a block diagram of a scalable motion vector decoder 3700 according to an embodiment of the present invention.
  • Referring to FIG. 37, the scalable motion vector decoder 3700 includes a layered motion vector restoring unit 3710 and a summing unit 3712.
  • The layered motion vector restoring unit 3710 extracts layered motion vector information coded according to an embodiment of the present invention from an input bitstream and analyzes the extracted motion vector information to read motion information of each layer. Motion vector information coded according to an embodiment of the present invention includes motion vector components of a base layer and an enhancement layer having different pixel accuracies. Motion vector information coded according to another embodiment of the present invention includes a base layer composed of motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer composed of motion vectors of blocks smaller than the predetermined size. The layered motion vector restoring unit 3710 restores motion vectors of the base layer and the enhancement layer by decoding the layered motion vector information.
  • The summing unit 3712 outputs the motion vectors of the base layer restored by the layered motion vector restoring unit 3710 if the received bitstream includes only motion vector information of the base layer. If the received bitstream includes motion vector information of the base layer and the enhancement layer, the summing unit 3712 adds the motion vector components of the enhancement layer to the motion vector components of the base layer, thereby outputting layered motion vector information.
  • Meanwhile, the present invention can also be embodied as computer-readable code on a computer-readable recording medium. The computer-readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer-readable recording medium include read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (e.g., transmission over the Internet). The computer-readable recording medium can also be distributed over network coupled computer systems so that the computer-readable code is stored and executed in a distributed fashion.
  • While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.

Claims (16)

1. A scalable motion vector coding method comprising:
(a) dividing a current frame into a plurality of blocks and performing motion estimation to determine a motion vector for each of the divided blocks;
(b) forming a base layer including motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size, using the motion vectors of the divided blocks; and
(c) coding the base layer and the enhancement layer.
2. The scalable motion vector coding method of claim 1, wherein in (a), a motion vector for each of the divided blocks is determined using hierarchical variable size block matching.
3. The scalable motion vector coding method of claim 1, wherein in (b), the base layer is formed by assigning a representative motion vector selected from motion vectors of adjacent small blocks smaller than the predetermined size among the divided blocks to a larger block formed by merging the small blocks and the enhancement layer is formed of the motion vectors of the merged small blocks.
4. The scalable motion vector coding method of claim 3, wherein the representative motion vector is the first motion vector having a same type as the motion vector of the larger block among the motion vectors of the small blocks scanned according to a predetermined scan order.
5. The scalable motion vector coding method of claim 4, wherein the predetermined scan order is a quad-tree scan order.
6. The scalable motion vector coding method of claim 4, wherein the type of the motion vector is identified according to whether a reference frame indicated by the motion vector of the larger block is a previous or next frame of the current frame.
7. The scalable motion vector coding method of claim 1, wherein (c) comprises:
scanning blocks of the base layer and the enhancement layer according to a predetermined scan order and estimating the motion vectors of the base layer and the enhancement layer using motion vectors of neighboring blocks that are processed prior to the scanned blocks of the base layer and the enhancement layer; and
coding a difference between the motion vectors of the base layer and the enhancement layer, which are estimated using the motion vectors of the neighboring blocks, and actual motion vectors using context-based adaptive binary arithmetic coding.
8. A scalable motion vector coder comprising:
a motion estimation unit which divides a current frame into a plurality of blocks and performs motion estimation to determine a motion vector for each of the divided blocks;
a layer forming unit which forms a base layer including motion vectors of blocks larger than or equal to a predetermined size and at least one enhancement layer including motion vectors of blocks smaller than the predetermined size, using the motion vectors of the divided blocks; and
a layered motion vector coding unit which codes the base layer and the enhancement layer.
9. The scalable motion vector coder of claim 8, wherein the motion estimation unit determines a motion vector for each of the divided blocks using hierarchical variable size block matching.
10. The scalable motion vector coder of claim 8, wherein the layer forming unit forms the base layer by assigning a representative motion vector selected from motion vectors of adjacent small blocks smaller than the predetermined size among the divided blocks to a larger block formed by merging the small blocks and forms the enhancement layer with the motion vectors of the merged small blocks.
11. The scalable motion vector coder of claim 10, wherein the representative motion vector is the first motion vector having a same type as the motion vector of the larger block among the motion vectors of the small blocks scanned according to a predetermined scan order.
12. The scalable motion vector coder of claim 11, wherein the predetermined scan order is a quad-tree scan order.
13. The scalable motion vector coder of claim 11, wherein the type of the motion vector is identified according to whether a reference frame indicated by the motion vector of the larger block is a previous or next frame of the current frame.
14. The scalable motion vector coder of claim 8, wherein the layered motion vector coding unit scans blocks of the base layer and the enhancement layer according to a predetermined scan order, estimates the motion vectors of the base layer and the enhancement layer using motion vectors of neighboring blocks that are processed prior to the scanned blocks of the base layer and the enhancement layer, and codes a difference between the motion vectors of the base layer and the enhancement ‘layer, which are estimated using the motion vectors of the neighboring blocks, and actual motion vectors using context-based adaptive binary arithmetic coding.
15. A scalable motion vector decoding method for decoding a motion vector coded into a base layer and an enhancement layer, comprising:
extracting motion vector information by analyzing an input bitstream;
restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and
summing the restored motion vector components of the base layer and the enhancement layer to output a layered motion vector,
wherein the base layer includes information about motion vectors of blocks larger than or equal to a predetermined size and the enhancement layer includes information about motion vectors of blocks smaller than the predetermined size.
16. A scalable motion vector decoder for decoding a motion vector coded into a base layer and an enhancement layer, the decoder comprising:
a motion vector restoring unit which extracts motion vector information by analyzing an input bitstream and restoring motion vector components of the base layer and the enhancement layer from the extracted motion vector information; and
a summing unit which sums the restored motion vector components of the base layer and the enhancement layer to generate a layered motion vector,
wherein the base layer includes information about motion vectors of blocks larger than or equal to a predetermined size and the enhancement layer includes information about motion vectors of blocks smaller than the predetermined size.
US13/338,795 2003-06-10 2011-12-28 Method and apparatus for scalable motion vector coding Abandoned US20120099652A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/338,795 US20120099652A1 (en) 2003-06-10 2011-12-28 Method and apparatus for scalable motion vector coding

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
US47718303P 2003-06-10 2003-06-10
US51212003P 2003-10-17 2003-10-17
US10/864,833 US7627040B2 (en) 2003-06-10 2004-06-09 Method for processing I-blocks used with motion compensated temporal filtering
US10/965,237 US7653133B2 (en) 2003-06-10 2004-10-14 Overlapped block motion compression for variable size blocks in the context of MCTF scalable video coders
US65942305P 2005-03-09 2005-03-09
US11/370,948 US8107535B2 (en) 2003-06-10 2006-03-09 Method and apparatus for scalable motion vector coding
US13/338,795 US20120099652A1 (en) 2003-06-10 2011-12-28 Method and apparatus for scalable motion vector coding

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US11/370,948 Division US8107535B2 (en) 2003-06-10 2006-03-09 Method and apparatus for scalable motion vector coding

Publications (1)

Publication Number Publication Date
US20120099652A1 true US20120099652A1 (en) 2012-04-26

Family

ID=46324042

Family Applications (2)

Application Number Title Priority Date Filing Date
US11/370,948 Expired - Fee Related US8107535B2 (en) 2003-06-10 2006-03-09 Method and apparatus for scalable motion vector coding
US13/338,795 Abandoned US20120099652A1 (en) 2003-06-10 2011-12-28 Method and apparatus for scalable motion vector coding

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US11/370,948 Expired - Fee Related US8107535B2 (en) 2003-06-10 2006-03-09 Method and apparatus for scalable motion vector coding

Country Status (1)

Country Link
US (2) US8107535B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120249812A1 (en) * 2011-03-31 2012-10-04 Fujitsu Limited Method and apparatus for camera motion analysis in video
GB2504068A (en) * 2012-07-11 2014-01-22 Canon Kk Independently Decodable Enhancement Layers in Block-Based Scalable Video Coding Based on RoI Base Layer Blocks
US20140321559A1 (en) * 2013-04-24 2014-10-30 Sony Corporation Local detection model (ldm) for recursive motion estimation
US20150043639A1 (en) * 2012-03-20 2015-02-12 Samsung Electronics Co., Ltd. Method and device for coding scalable video on basis of coding unit of tree structure, and method and device for decoding scalable video on basis of coding unit of tree structure
US9307239B2 (en) 2011-03-14 2016-04-05 Mediatek Inc. Method and apparatus for derivation of motion vector candidate and motion vector prediction candidate
US9781414B2 (en) 2011-03-17 2017-10-03 Hfi Innovation Inc. Method and apparatus for derivation of spatial motion vector candidate and motion vector prediction candidate
WO2020039407A1 (en) * 2018-08-24 2020-02-27 Beijing Bytedance Network Technology Co., Ltd. Overlapped block motion compensation using spatial neighbors
US11490108B2 (en) 2017-08-29 2022-11-01 Kt Corporation Method of decoding/encoding a video signal with sub-block based motion vector derivation

Families Citing this family (69)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2867328A1 (en) * 2004-03-02 2005-09-09 Thomson Licensing Sa Image sequence decoding method for e.g. videotelephony field, involves determining motion resolution and filter based on spatial and temporal resolution of sources and decoding rate, or on level of temporal decomposition of images
US7953152B1 (en) 2004-06-28 2011-05-31 Google Inc. Video compression and encoding method
FR2872973A1 (en) * 2004-07-06 2006-01-13 Thomson Licensing Sa METHOD OR DEVICE FOR CODING A SEQUENCE OF SOURCE IMAGES
US8442108B2 (en) * 2004-07-12 2013-05-14 Microsoft Corporation Adaptive updates in motion-compensated temporal filtering
US8340177B2 (en) * 2004-07-12 2012-12-25 Microsoft Corporation Embedded base layer codec for 3D sub-band coding
US8374238B2 (en) * 2004-07-13 2013-02-12 Microsoft Corporation Spatial scalability in 3D sub-band decoding of SDMCTF-encoded video
WO2006106039A1 (en) * 2005-04-06 2006-10-12 Thomson Licensing Method and apparatus for encoding enhancement layer video data
JP2007142521A (en) * 2005-11-15 2007-06-07 Sharp Corp Apparatus and method for calculating motion vector
US7956930B2 (en) 2006-01-06 2011-06-07 Microsoft Corporation Resampling and picture resizing operations for multi-resolution video coding and decoding
US8250618B2 (en) * 2006-09-18 2012-08-21 Elemental Technologies, Inc. Real-time network adaptive digital video encoding/decoding
US20080075173A1 (en) * 2006-09-22 2008-03-27 Texas Instruments Incorporated Systems and Methods for Context Adaptive Video Data Preparation
KR100827093B1 (en) * 2006-10-13 2008-05-02 삼성전자주식회사 Method for video encoding and apparatus for the same
JP2008244846A (en) * 2007-03-27 2008-10-09 Toshiba Corp Device and method for interpolating frame
US8184715B1 (en) 2007-08-09 2012-05-22 Elemental Technologies, Inc. Method for efficiently executing video encoding operations on stream processor architectures
US8121197B2 (en) 2007-11-13 2012-02-21 Elemental Technologies, Inc. Video encoding and decoding using parallel processors
US8953673B2 (en) * 2008-02-29 2015-02-10 Microsoft Corporation Scalable video coding and decoding with sample bit depth and chroma high-pass residual layers
US8711948B2 (en) 2008-03-21 2014-04-29 Microsoft Corporation Motion-compensated prediction of inter-layer residuals
JP5012647B2 (en) * 2008-04-30 2012-08-29 ソニー株式会社 Image processing apparatus and method, and program
KR101361005B1 (en) 2008-06-24 2014-02-13 에스케이 텔레콤주식회사 Intra Prediction Method and Apparatus and Image Encoding/Decoding Method and Apparatus Using Same
EP2304963B1 (en) * 2008-07-01 2015-11-11 Orange Method and device for encoding images using improved prediction, and corresponding decoding method and device, signal and computer software
TWI376645B (en) * 2008-07-29 2012-11-11 Sonix Technology Co Ltd Image processing methof of noise reduction and apparatus thereof
US9571856B2 (en) 2008-08-25 2017-02-14 Microsoft Technology Licensing, Llc Conversion operations in scalable video encoding and decoding
US8213503B2 (en) 2008-09-05 2012-07-03 Microsoft Corporation Skip modes for inter-layer residual video coding and decoding
US8379727B2 (en) * 2008-09-26 2013-02-19 General Instrument Corporation Method and apparatus for scalable motion estimation
US8363727B2 (en) * 2008-09-30 2013-01-29 Microsoft Corporation Techniques to perform fast motion estimation
KR101543298B1 (en) * 2008-10-13 2015-08-10 에스케이 텔레콤주식회사 / Video encoding/decoding apparatus and Variable OBMC apparatus and method
KR101543301B1 (en) * 2008-10-15 2015-08-10 에스케이 텔레콤주식회사 / / Video encoding/decoding apparatus and Hybrid Block Motion Compensation/Overlapped Block Motion Compensation method and apparatus
WO2010056310A1 (en) * 2008-11-12 2010-05-20 Thomson Licensing I-frame de-flickering for gop-parallel multi-thread video encoding
EP2347518A4 (en) * 2008-11-12 2012-10-17 Thomson Licensing Light change coding
CN102217309B (en) * 2008-11-13 2014-04-09 汤姆逊许可证公司 Multiple thread video encoding using HRD information sharing and bit allocation waiting
KR101548269B1 (en) * 2008-12-02 2015-08-31 삼성전자주식회사 Apparatus and method for estimating motion by block segmentation and combination
US20100135395A1 (en) * 2008-12-03 2010-06-03 Marc Paul Servais Efficient spatio-temporal video up-scaling
KR101210578B1 (en) * 2008-12-23 2012-12-11 한국전자통신연구원 Method of Fast Mode Decision of Enhanced layer using Rate-Distortion cost in SVC Encoder and thereof apparatus
JP5686499B2 (en) * 2009-01-22 2015-03-18 株式会社Nttドコモ Image predictive encoding apparatus, method and program, image predictive decoding apparatus, method and program, and encoding / decoding system and method
KR20100095992A (en) * 2009-02-23 2010-09-01 한국과학기술원 Method for encoding partitioned block in video encoding, method for decoding partitioned block in video decoding and recording medium implementing the same
US8811485B1 (en) 2009-05-12 2014-08-19 Accumulus Technologies Inc. System for generating difference measurements in a video processor
US8218644B1 (en) 2009-05-12 2012-07-10 Accumulus Technologies Inc. System for compressing and de-compressing data used in video processing
KR101510108B1 (en) 2009-08-17 2015-04-10 삼성전자주식회사 Method and apparatus for encoding video, and method and apparatus for decoding video
KR101630688B1 (en) * 2010-02-17 2016-06-16 삼성전자주식회사 Apparatus for motion estimation and method thereof and image processing apparatus
KR101847072B1 (en) * 2010-04-05 2018-04-09 삼성전자주식회사 Method and apparatus for video encoding, and method and apparatus for video decoding
JP2012019447A (en) * 2010-07-09 2012-01-26 Sony Corp Image processor and processing method
EP2424243B1 (en) * 2010-08-31 2017-04-05 OCT Circuit Technologies International Limited Motion estimation using integral projection
US9807424B2 (en) 2011-01-10 2017-10-31 Qualcomm Incorporated Adaptive selection of region size for identification of samples in a transition zone for overlapped block motion compensation
KR20120095610A (en) * 2011-02-21 2012-08-29 삼성전자주식회사 Method and apparatus for encoding and decoding multi-view video
WO2012134046A2 (en) * 2011-04-01 2012-10-04 주식회사 아이벡스피티홀딩스 Method for encoding video
RU2571561C2 (en) * 2011-04-05 2015-12-20 Ниппон Телеграф Энд Телефон Корпорейшн Method of encoding and decoding, coder and decoder, programme and recording carrier
US8995523B2 (en) 2011-06-03 2015-03-31 Qualcomm Incorporated Memory efficient context modeling
US8768082B2 (en) * 2011-06-22 2014-07-01 Blackberry Limited Compressing image data
US8837582B2 (en) 2011-06-22 2014-09-16 Blackberry Limited Compressing image data
GB2493212B (en) * 2011-07-29 2015-03-11 Canon Kk Method and device for error concealment in motion estimation of video data
EA017302B1 (en) * 2011-10-07 2012-11-30 Закрытое Акционерное Общество "Импульс" Method of noise reduction of digital x-ray image series
TWI580264B (en) * 2011-11-10 2017-04-21 Sony Corp Image processing apparatus and method
AU2011253779A1 (en) * 2011-12-01 2013-06-20 Canon Kabushiki Kaisha Estimation of shift and small image distortion
KR101449435B1 (en) * 2012-01-09 2014-10-17 삼성전자주식회사 Method and apparatus for encoding image, and method and apparatus for decoding image based on regularization of motion vector
KR20130103140A (en) * 2012-03-09 2013-09-23 한국전자통신연구원 Preprocessing method before image compression, adaptive motion estimation for improvement of image compression rate, and image data providing method for each image service type
US9338452B2 (en) * 2012-07-09 2016-05-10 Qualcomm Incorporated Motion vector difference coding extension for enhancement layer
US9672584B2 (en) * 2012-09-06 2017-06-06 Imagination Technologies Limited Systems and methods of partial frame buffer updating
WO2014053518A1 (en) 2012-10-01 2014-04-10 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Scalable video coding using subblock-based coding of transform coefficient blocks in the enhancement layer
FR2999370B1 (en) * 2012-12-11 2018-04-27 Sagemcom Broadband Sas DEVICE AND METHOD FOR SWITCHING FROM A FIRST FLOW TO A SECOND FLOW
CN105794210B (en) * 2013-12-06 2019-05-10 联发科技股份有限公司 The motion prediction compensation method and device of boundary pixel are used in video coding system
GB2527315B (en) * 2014-06-17 2017-03-15 Imagination Tech Ltd Error detection in motion estimation
US9936201B2 (en) 2015-01-27 2018-04-03 Qualcomm Incorporated Contexts for large coding tree units
KR101754527B1 (en) * 2015-03-09 2017-07-06 한국항공우주연구원 Apparatus and method for coding packet
US10148961B2 (en) * 2015-05-29 2018-12-04 Qualcomm Incorporated Arithmetic coder with multiple window sizes
US11611757B2 (en) * 2018-04-02 2023-03-21 Qualcomm Incorproated Position dependent intra prediction combination extended with angular modes
WO2019229683A1 (en) 2018-05-31 2019-12-05 Beijing Bytedance Network Technology Co., Ltd. Concept of interweaved prediction
WO2020140951A1 (en) * 2019-01-02 2020-07-09 Beijing Bytedance Network Technology Co., Ltd. Motion vector derivation between color components
CN115361550B (en) * 2021-02-22 2024-07-05 北京达佳互联信息技术有限公司 Improved overlapped block motion compensation for inter prediction
US12106488B2 (en) * 2022-05-09 2024-10-01 Qualcomm Incorporated Camera frame extrapolation for video pass-through

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130272408A1 (en) * 2011-04-20 2013-10-17 Qualcomm Incorporated Motion vector prediction in video coding
US20150103899A1 (en) * 2012-04-27 2015-04-16 Canon Kabushiki Kaisha Scalable encoding and decoding

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4849810A (en) 1987-06-02 1989-07-18 Picturetel Corporation Hierarchial encoding method and apparatus for efficiently communicating image sequences
US5408274A (en) 1993-03-11 1995-04-18 The Regents Of The University Of California Method and apparatus for compositing compressed video data
KR0174453B1 (en) 1995-02-28 1999-03-20 배순훈 Method for decoding digital image
US6108448A (en) 1997-06-12 2000-08-22 International Business Machines Corporation System and method for extracting spatially reduced image sequences in a motion compensated compressed format
KR20010105362A (en) 1999-12-28 2001-11-28 요트.게.아. 롤페즈 Video encoding method based on the matching pursuit algorithm
WO2001049036A1 (en) 1999-12-28 2001-07-05 Koninklijke Philips Electronics N.V. Snr scalable video encoding method and corresponding decoding method
WO2001063839A2 (en) * 2000-02-23 2001-08-30 Tantivy Communications, Inc. Access probe acknowledgment with collision detection
US20020037046A1 (en) 2000-09-22 2002-03-28 Philips Electronics North America Corporation Totally embedded FGS video coding with motion compensation
US7463683B2 (en) * 2000-10-11 2008-12-09 Koninklijke Philips Electronics N.V. Method and apparatus for decoding spatially scaled fine granular encoded video signals
KR100783396B1 (en) 2001-04-19 2007-12-10 엘지전자 주식회사 Spatio-temporal hybrid scalable video coding using subband decomposition
US7023923B2 (en) 2002-04-29 2006-04-04 Koninklijke Philips Electronics N.V. Motion compensated temporal filtering based on multiple reference frames for wavelet based coding
US7042946B2 (en) 2002-04-29 2006-05-09 Koninklijke Philips Electronics N.V. Wavelet based coding using motion compensated filtering based on both single and multiple reference frames
US20030202599A1 (en) 2002-04-29 2003-10-30 Koninklijke Philips Electronics N.V. Scalable wavelet based coding using motion compensated temporal filtering based on multiple reference frames
US20040008785A1 (en) 2002-07-15 2004-01-15 Koninklijke Philips Electronics N.V. L-frames with both filtered and unfilterd regions for motion comensated temporal filtering in wavelet based coding

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130272408A1 (en) * 2011-04-20 2013-10-17 Qualcomm Incorporated Motion vector prediction in video coding
US20150103899A1 (en) * 2012-04-27 2015-04-16 Canon Kabushiki Kaisha Scalable encoding and decoding

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9307239B2 (en) 2011-03-14 2016-04-05 Mediatek Inc. Method and apparatus for derivation of motion vector candidate and motion vector prediction candidate
US9860552B2 (en) 2011-03-14 2018-01-02 Hfi Innovation Inc. Method and apparatus for derivation of motion vector candidate and motion vector prediction candidate
US9781414B2 (en) 2011-03-17 2017-10-03 Hfi Innovation Inc. Method and apparatus for derivation of spatial motion vector candidate and motion vector prediction candidate
US8867892B2 (en) * 2011-03-31 2014-10-21 Fujitsu Limited Method and apparatus for camera motion analysis in video
US20120249812A1 (en) * 2011-03-31 2012-10-04 Fujitsu Limited Method and apparatus for camera motion analysis in video
US20150043639A1 (en) * 2012-03-20 2015-02-12 Samsung Electronics Co., Ltd. Method and device for coding scalable video on basis of coding unit of tree structure, and method and device for decoding scalable video on basis of coding unit of tree structure
GB2504068B (en) * 2012-07-11 2015-03-11 Canon Kk Methods and devices for controlling spatial access granularity in compressed video streams
GB2504068A (en) * 2012-07-11 2014-01-22 Canon Kk Independently Decodable Enhancement Layers in Block-Based Scalable Video Coding Based on RoI Base Layer Blocks
US9544613B2 (en) * 2013-04-24 2017-01-10 Sony Corporation Local detection model (LDM) for recursive motion estimation
US20140321559A1 (en) * 2013-04-24 2014-10-30 Sony Corporation Local detection model (ldm) for recursive motion estimation
US11490108B2 (en) 2017-08-29 2022-11-01 Kt Corporation Method of decoding/encoding a video signal with sub-block based motion vector derivation
WO2020039407A1 (en) * 2018-08-24 2020-02-27 Beijing Bytedance Network Technology Co., Ltd. Overlapped block motion compensation using spatial neighbors
CN110858901A (en) * 2018-08-24 2020-03-03 北京字节跳动网络技术有限公司 Overlapped block motion compensation using temporal neighbors
CN110858908A (en) * 2018-08-24 2020-03-03 北京字节跳动网络技术有限公司 Overlapped block motion compensation using spatial neighbors
US11700381B2 (en) 2018-08-24 2023-07-11 Beijing Bytedance Network Technology Co., Ltd Overlapped block motion compensation using spatial neighbors
US11758145B2 (en) 2018-08-24 2023-09-12 Beijing Bytedance Network Technology Co., Ltd Overlapped block motion compensation using temporal neighbors
TWI822838B (en) * 2018-08-24 2023-11-21 大陸商北京字節跳動網絡技術有限公司 Overlapped block motion compensation using spatial neighbors

Also Published As

Publication number Publication date
US20060193388A1 (en) 2006-08-31
US8107535B2 (en) 2012-01-31

Similar Documents

Publication Publication Date Title
US8107535B2 (en) Method and apparatus for scalable motion vector coding
US7653133B2 (en) Overlapped block motion compression for variable size blocks in the context of MCTF scalable video coders
US7627040B2 (en) Method for processing I-blocks used with motion compensated temporal filtering
US9374577B2 (en) Method and apparatus for selecting a coding mode
US8249159B2 (en) Scalable video coding with grid motion estimation and compensation
KR100654436B1 (en) Method for video encoding and decoding, and video encoder and decoder
US8224100B2 (en) Method and device for intra prediction coding and decoding of image
US6438168B2 (en) Bandwidth scaling of a compressed video stream
US20060120450A1 (en) Method and apparatus for multi-layered video encoding and decoding
EP1980115B1 (en) Method and apparatus for determining an encoding method based on a distortion value related to error concealment
US20060088102A1 (en) Method and apparatus for effectively encoding multi-layered motion vectors
EP1757108A1 (en) Method and system for representing correlated set of images
US7092442B2 (en) System and method for adaptive field and frame video encoding using motion activity
KR20040069209A (en) Video encoding method
Huang et al. Improved side information generation for distributed video coding
US20240031580A1 (en) Method and apparatus for video coding using deep learning based in-loop filter for inter prediction
EP1817911A1 (en) Method and apparatus for multi-layered video encoding and decoding
KR100801155B1 (en) A spatial error concealment method with low complexity in h. 264/avc video coding
KR100801532B1 (en) Temporal error concealment based on optical flow in h. 264/avc video coding
Lee et al. Low bit rates video coding using hybrid frame resolutions
Chono et al. Picture Partitioning Design of Neural Network-Based Intra Coding For Video Coding For Machines
Rusert Interframe wavelet video coding with operating point adaptation
Rusert et al. Interrelation of Block-based Motion Compensation and Spatial Filtering in Interframe Wavelet Video Coding
Nakachi et al. A study on multiresolution lossless video coding using inter/intra frame adaptive prediction
Lee et al. An integrated application of multiple description transform coding and error concealment for error-resilient video streaming

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION