摘要:
An encoding method for encoding of images and corresponding decoding method is disclosed, as well as an encoder and a decoder. The encoding method comprises creating, in an encoder, a residual block from an original block and a prediction block which is an approximation of the original block, wherein the created residual block comprises residual block elements. The en-coding method further comprises re-ordering, in the encoder, the residual block elements within the residual block; and applying, in the encoder, a transform to the re-ordered residual block. By re-ordering the residual block elements prior to applying a transform, an improved efficiency of the encoding may be obtained.
摘要:
An encoding method for encoding of images and corresponding decoding method is disclosed, as well as an encoder and a decoder. The encoding method comprises creating, in an encoder, a residual block from an original block and a prediction block which is an approximation of the original block, wherein the created residual block comprises residual block elements. The en-coding method further comprises re-ordering, in the encoder, the residual block elements within the residual block; and applying, in the encoder, a transform to the re-ordered residual block. By re-ordering the residual block elements prior to applying a transform, an improved efficiency of the encoding may be obtained.
摘要:
A solution according to one or more embodiments of the present invention is to reconstruct image blocks where only the frequency coefficient that is most sensitive to changes of an average value of the residual image block, typically the lowest frequency coefficient, is present with a flat residual image. The other image blocks are reconstructed by applying an inverse spatial 2D transform. Hence, the other image blocks comprise image blocks with multiple coefficients and image blocks with a single coefficient and wherein the single coefficient is not the coefficient determining that is most sensitive to changes of an average value of the residual image block.
摘要:
A solution according to one or more embodiments of the present invention is to reconstruct image blocks where only the frequency coefficient that is most sensitive to changes of an average value of the residual image block, typically the lowest frequency coefficient, is present with a flat residual image. The other image blocks are reconstructed by applying an inverse spatial 2D transform. Hence, the other image blocks comprise image blocks with multiple coefficients and image blocks with a single coefficient and wherein the single coefficient is not the coefficient determining that is most sensitive to changes of an average value of the residual image block.
摘要:
A block-specific filter decision value is calculated for a pixel block (10) in a video frame. If the block-specific filter decision value is below a block-specific threshold, each row or column (12) in the block (10) is individually processed in order to select between a strong and a weak de-blocking filter. A respective line-specific filter decision value is thereby calculated for each row or column (12) in the block (10) and compared to a line-specific threshold. If the line-specific filter decision value calculated for a row or column (12) is below the line-specific threshold a strong de-blocking filter is selected for the row or column (12), otherwise a weak de-blocking filter is instead selected to combat any blocking artifacts.
摘要:
First and second filter decision values are calculated for a pixel block in a video frame. The first filter decision value is representative of how smooth pixel values in a first line of pixels in the block and in a corresponding first line of pixels in a neighboring pixel block in the video frame are in a direction parallel to a filtering direction. The second filter decision value is representative of how close pixel values in a current line of pixels in the block approximate a flat line and how close pixel values in a corresponding current line of pixels in the neighboring block approximate a flat line. The two filter decision values are compared to respective thresholds and a strong de-blocking filter is selected for the current line if the filter decision values are below the thresholds, otherwise a weak de-blocking filter is selected to combat any blocking artifacts.
摘要:
Methods and arrangements in video encoding and decoding entities. The methods and arrangements involve determining (804) the frequency of occurrence of a plurality of reference pictures associated with an obtained (802) set of blocks, which are neighbors of a block B. The methods and arrangements further involve selecting (806) a reference picture or combination of reference pictures having the highest determined frequency of occurrence to be a prediction, Cpred, of the reference picture or combination of reference pictures, C, to be used when encoding/decoding the block, B. The methods and arrangements further involve providing/obtaining (610,612, 808) an indication specifying whether the prediction, Cpred, corresponds to C, and when the prediction, Cpred, is indicated to correspond to C, the encoded block, Be, is decoded (812) based on the prediction Cpred.
摘要:
Methods and arrangements in video encoding and decoding entities. The methods and arrangements relate to the joint encoding of reference information associated with encoded video. The method and arrangement in a decoding entity relate to obtaining (402) a single syntax element associated with an encoded block Be, and identifying (404) a reference mode and one or more reference pictures based on the obtained syntax element. The method and arrangement further relate to-decoding (406) of the block Be based on the identified reference mode and one or more reference pictures, thus providing a decoded block, B, of pixels.
摘要:
Methods and arrangements in video encoding and decoding entities. The methods and arrangements involve determining (804) the frequency of occurrence of a plurality of reference pictures associated with an obtained (802) set of blocks, which are neighbors of a block B. The methods and arrangements further involve selecting (806) a reference picture or combination of reference pictures having the highest determined frequency of occurrence to be a prediction, Cpred, of the reference picture or combination of reference pictures, C, to be used when encoding/decoding the block, B. The methods and arrangements further involve providing/obtaining (610,612, 808) an indication specifying whether the prediction, Cpred, corresponds to C, and when the prediction, Cpred, is indicated to correspond to C, the encoded block, Be, is decoded (812) based on the prediction Cpred.
摘要:
A method of reducing blocking artifacts associated with consecutive pixels of a block boundary of an image, such as e.g. a video frame is provided. Pixels values of pixels selected from a first block and at least a neighboring block, being located on opposite sides of a block boundary are evaluated. A first offset for the two pixels of each block located next to the block boundary is calculated, after which the first offset is compared to a first threshold value. If abs[first offset] =first threshold, the respective pixel values of j consecutive pixels from the first block and the respective pixel values of k consecutive pixels from the second block are modified by applying weak filtering or no filtering at all on the respective pixels, where n>0, m>0 n>=j, and m>=k.