Abstract:
An decoding method is disclosed, including: parsing a bitstream to obtain a first flag, wherein the first flag specifies whether a current coding block is required to be partitioned; when the first flag specifies that the current coding block is required to be partitioned, parsing the bitstream to obtain a second flag, wherein the second flag specifies whether the current coding blocks is partitioned in a horizontal direction or a vertical direction; partitioning the current coding block into four first rectangular subblocks in the horizontal direction or four second rectangular subblocks in the vertical direction; and reconstructing the current coding block based on the four first rectangular subblocks or the four second rectangular subblocks.
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 this application relate to the video coding and compression field, and disclose an encoding method and apparatus, and a decoding method and apparatus, to resolve a problem that an existing split mode cannot satisfy a relatively complex texture requirement. The decoding method specifically includes: parsing a bitstream to determine a basic split mode for a current to-be-decoded picture block and a target derivation mode for a subpicture block of the current to-be-decoded picture block; splitting the current to-be-decoded picture block into N subpicture blocks in the basic split mode, where N is an integer greater than or equal to 2; deriving one derived picture block from at least two adjacent subpicture blocks in the N subpicture blocks in the target derivation mode; and decoding the derived picture block.
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:
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:
This application provides a picture block splitting method and an apparatus. The picture block splitting method in this application includes: obtaining a picture block in a to-be-processed picture, where the picture block is an object on which encoding is performed; determining, based on a length of a first side and a length of a second side of the picture block, a block splitting method used for the picture block, where the first side and the second side are two neighboring sides of the picture block, the first side is a horizontal line, and the second side is a vertical line; and splitting the picture block according to the block splitting method. In this application, an unnecessary block splitting method is omitted, operation overheads are reduced, and picture encoding efficiency is improved.
Abstract:
A method and apparatus is provided for encoding image data comprising receiving image data and an initial quantization matrix for encoding the image data; converting the initial quantization matrix into a modified scaling matrix, wherein the modified scaling matrix has a plurality of coefficients divided into different frequency bands; adjusting a value corresponding to at least one of the plurality of coefficients to control quality of an image to be encoded; generating a parameter set having a plurality of band parameters, each band parameter corresponding to a coefficient of the modified scaling matrix; writing the encoded image data and the parameter set having the plurality of band parameters into a bitstream; and transmitting the bitstream over the network to a decoding device. The present disclosure may improve quality of the encoded image efficiently.
Abstract:
A method and apparatus is provided for encoding/decoding an image in a process of transmission. A plurality of frequency bands are divided into different frequency zones; a scaling value is assigned for each frequency zone; a scaling matrix is established with coefficients comprising the scaling values for the different frequency zones; wherein a number of the frequency zones is smaller than a number of coefficients in the matrix, and each frequency zone corresponds to one scaling value in the coefficient matrix such that every coefficient in said each frequency zone has the same scaling value that is assigned to said frequency bands; and corresponding quantization/dequantization is performed in process of encoding/decoding respectively using the scaling matrix,