Abstract:
Embodiments of the present disclosure provide an image encoding and decoding method and apparatus. A division mode used for a current image block is acquired, division information of the current image block is acquired according to the division mode, and encoding processing is performed on a division mode identifier and the division information that correspond to the division mode, so that a decoder obtains, according to the division mode identifier and the division information, a division template used by an encoder, so as to perform decoding. The encoder and the decoder do not need to store a large quantity of division templates, thereby lightening a burden on an encoding and decoding system.
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:
A picture encoding and decoding method, a picture encoding and decoding device and a network system are provided, in which, the picture encoding method includes: determining a prediction block used by a picture block according to a division manner of the picture block; determining a corresponding division level in the picture block or the prediction block of transform blocks corresponding to the picture block or the prediction block, in which, the transform blocks corresponding to the picture block or the prediction block include one or more transform blocks; determining a size of the transform blocks corresponding to the picture block or the prediction block according to the division manner of the picture block and the division level; determining identification information for identifying the division level corresponding to the transform blocks corresponding to the picture block or the prediction block; and writing the identification information into a code stream.
Abstract:
An encoding method with multiple image block division manners is disclosed, including: determining a division manner and a division direction of an image block; dividing the image block to obtain image subblocks sequentially arranged horizontally or vertically; determining whether the image subblocks need subdivision, and if subdivision is not needed, predicting the encoding object in the frame according to the image subblocks, to obtain residual data; performing transformation, quantization, and entropy encoding for the residual data so as to obtain coded residual data; and writing the division manner of the image block, the division direction of the image block, an identifier indicating whether the image subblocks need subdivision, and the coded residual data into a bitstream. By applying the encoding method, better prediction accuracy can be achieved when the image block presents a small change of pixel value in the horizontal or vertical direction.
Abstract:
A methods and apparatus for coding and decoding a MATRIX. The coding method includes: dividing a MATRIX into layers according to a preset quantity of layers, and grouping MATRIX elements into different layers; performing, according to a determined to-be-coded layer number 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 to-be-coded layer number, 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 to-be-coded layer number, writing no coded data of the layer into the bit stream; and coding the to-be-coded layer number and writing the coded layer number of the coded layer into the bit stream.
Abstract:
The present application discloses video data encoding and decoding methods and apparatuses, so as to conveniently perform data encoding and decoding on video data. The method includes: arithmetic encoding, where the arithmetic encoding includes: obtaining a binary symbol of image data; and if the binary symbol is a most probable symbol MPS, updating a first encoding interval corresponding to the MPS in a logarithm domain, and if the first updated encoding interval is less than a preset range of an arithmetic encoding interval, performing normalization processing on the first encoding interval in the logarithm domain; or if the binary symbol is a least probable symbol LPS, updating a second encoding interval corresponding to the LPS in an original number domain, and performing normalization processing on the second encoding interval in the original number domain.
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:
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 provide a transform method in picture block encoding, an inverse transform method in picture block decoding, and an apparatus. The inverse transform method includes: determining, in a target transform set, a corresponding transform pair of each region of at least two regions that constitute a to-be-decoded current block; inverse transforming each region based on the corresponding transform pair of each region to obtain an inverse transform result of each region; and obtaining an inverse transform result of the current block based on the inverse transform result of each region and a position of each region in the current block, where the at least two regions do not overlap each other, the target transform set includes a correspondence between a transform pair and a position of a region in the current block, and the transform pair includes a horizontal transform core and a vertical transform core.
Abstract:
Methods and apparatus for coding and decoding a MATRIX. A coding method includes: dividing a MATRIX into layers according to a preset quantity of layers, and grouping MATRIX elements into different layers; performing, according to a determined to-be-coded layer number 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 to-be-coded layer number, 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 to-be-coded layer number, writing no coded data of the layer into the bit stream; and coding the to-be-coded layer number and writing the coded layer number of the coded layer into the bit stream.