Abstract:
A method and device for coding and decoding are disclosed. The method includes: dividing a picture to be encoded into several slices, each containing macroblocks continuous in a designated scanning sequence in the picture; dividing slices in the picture into one or more slice sets according to attribute information of the slices, each slice set containing one or more slices; and encoding the slices in the slice sets according to slice and slice set division information to get a coded bit stream of the picture. The decoding method includes: obtaining slice and slice set division information from a bit stream to be decoded and decoding the bit stream according to the obtained slice and slice set division information. The invention improves the performance of video transmission effectively and realizes region based coding. The implementation of coding and decoding is simple and the complexity of coding and decoding systems is reduced.
Abstract:
Embodiments of the present invention provide methods and apparatuses for coding and decoding a depth map, where the coding method includes: acquiring an intra-frame prediction mode of a current image block of the depth map; determining whether the intra-frame prediction mode belongs to a preset intra-frame prediction mode set; if yes, using a preset intra-frame prediction method to perform coding processing on the current image block, so as to acquire a residual of the current image block. The preset intra-frame prediction method includes a first intra-frame prediction method; and a difference operation is performed between an average pixel value of the current image block and an average pixel value of prediction data of the current image block to obtain the residual of the current image block.
Abstract:
Embodiments of the present disclosure provide a video encoding method, a video decoding method, a video encoder, and a video decoder. The video encoding method includes: obtaining a to-be-encoded HDR image frame, where the HDR image frame includes multiple image blocks; determining, in multiple preset optical-electro transfer functions according to a statistical luminance value of each of the multiple image blocks, an optical-electro transfer function corresponding to the image block; performing optical-to-electrical conversion on the image block according to the optical-electro transfer function corresponding to the image block; and encoding the multiple image blocks on which the optical-to-electrical conversion has been performed. According to the embodiments of the present disclosure, one corresponding optical-electro transfer function is set for each image block, so as to improve a video encoding effect and better adapt to an existing video encoding framework.
Abstract:
The present application discloses an image coding/decoding method, device, and system, where an encoder performs singular vector decomposition on a prediction block corresponding to a to-be-coded image block, to obtain eigenvector matrices U and V of the prediction block; and performs coding processing on residual data according to the eigenvector matrices U and V of the prediction block, where the residual data is a difference between a pixel value of the to-be-coded image block and a pixel value of the corresponding prediction block. This can reduce identifier load of a coded bit stream.
Abstract:
A coding method includes: partitioning an image block to be decoded irregularly according to an irregular partitioning mode and a position parameter to obtain at least two different sub-blocks; comparing the sub-blocks with a reference sub-block to obtain a residual of a pixel value of the image block to be coded; obtaining a reference position parameter according to a surrounding block of the image block to be coded, and subtracting the reference position parameter from the position parameter of the image block to be coded to obtain a position parameter difference of the image block to be coded; quantizing the residual, and performing entropy coding on a result of the quantization, the motion vector information, and the position parameter difference; and writing the entropy coding result and partitioning mode information of the image block into a code stream.
Abstract:
The present disclosure provides a method for obtaining a size of a transform block, where the method includes: obtaining a dividing manner of an image block; and obtaining size information of a post-dividing transform block according to the dividing manner of the image block and a width and a height of a pre-dividing transform block. By using the method for obtaining a size of a transform block provided in this embodiment of the present disclosure, a size of a transform block may be coded according to a dividing manner of an image block or a height and a width of a pre-dividing transform block, thereby effectively improving coding efficiency.
Abstract:
The present disclosure provides a method and an apparatus for coding or decoding a matrix, includes: dividing a matrix into layers according to a preset quantity of divided layers, and grouping matrix elements into different layers; performing, according to a determined layer number of a highest layer to be coded and in an order of layers one by one, coding processing on matrix elements at each layer to be coded; for a layer having a layer number less than or equal to the layer number of the highest layer to be coded, writing residual data between an original matrix element value corresponding to the layer and a corresponding matrix element predicted value into a bit stream; for a layer having a layer number greater than the layer number of the highest layer to be coded, writing no coded data of the layer into the bit stream.
Abstract:
Embodiments of the present invention provide a method and a device for determining a transform block size, and can improve image compression efficiency. The method includes: obtaining, according to image block information and a splitting manner of an image block, a parameter of a transform block corresponding to the image block; and obtaining a transform block size according to the parameter of the transform block and the splitting manner of the image block. In the embodiments of the present invention, during determination of a transform block size, the transform block size is obtained according to a splitting manner of an image block and a parameter of a transform block corresponding to the image block. Therefore, a transform block matching the splitting manner of the image block can be used, improving image compression efficiency.
Abstract:
A method for processing an intra prediction mode includes: determining whether an intra prediction mode of each neighboring block in multiple neighboring blocks of a current block is applicable to the current block; and obtaining multiple mapped intra prediction modes of the current block according to a result of the determining, if it is determined that an intra prediction mode of a neighboring block is applicable to the current block, setting the intra prediction mode of the neighboring block as a mapped intra prediction mode of the current block, and if it is determined that the intra prediction mode of the neighboring block is not applicable to the current block, setting a specific intra prediction mode as the mapped intra prediction mode of the current block.
Abstract:
A method for processing an intra prediction mode includes: determining whether an intra prediction mode of each neighboring block in multiple neighboring blocks of a current block is applicable to the current block; and obtaining multiple mapped intra prediction modes of the current block according to a result of the determining, if it is determined that an intra prediction mode of a neighboring block is applicable to the current block, setting the intra prediction mode of the neighboring block as a mapped intra prediction mode of the current block, and if it is determined that the intra prediction mode of the neighboring block is not applicable to the current block, setting a specific intra prediction mode as the mapped intra prediction mode of the current block.