Abstract:
A method for dividing a prediction block, an encoding device, and a decoding device, where the method includes acquiring a manner of division into the prediction block, where the manner of division into the prediction block is a horizontal division manner, a vertical division manner, or a square division manner, determining a horizontal division size and a vertical division size according to the manner of division into the prediction block, and dividing the prediction block into at least one prediction subblock according to the horizontal division size and the vertical division size.
Abstract:
Embodiments of the present disclosure provide an image encoding method, an image decoding method, an encoding device, and a decoding device. The method includes: determining a conversion function parameter of a current image block; determining a conversion function parameter of a neighboring image block corresponding to the current image block; determining, according to a correlation between the conversion function parameter of the current image block and the conversion function parameter of the neighboring image block, whether to perform merge encoding on the conversion function parameter of the current image block and the conversion function parameter of the neighboring image block, and determining a first indicator, where the first indicator is used to indicate whether to perform merge encoding on the conversion function parameter of the current image block and the conversion function parameter of the neighboring image block; and encoding the first indicator.
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 three-dimensional (3D) video encoding method, decoding method, and related apparatus is disclosed. The decoding method may include decoding a video bitstream to obtain a single sample flag bit corresponding to a current image block in a current depth map, performing detection on a first adjacent prediction sampling point and a second adjacent prediction sampling point of the current image block in the current depth map if the single sample flag bit obtained by decoding indicates that a decoding mode corresponding to the current image block is a single depth intra-frame mode (SDM), and constructing a sample candidate set according to results of the detection on the first adjacent prediction sampling point and the second adjacent prediction sampling point, where the sample candidate set includes a first index location and a second index location, decoding the video bitstream to obtain a single sample index flag bit corresponding to the current image block.
Abstract:
A method and an apparatus for processing a high dynamic range (HDR) image, and a terminal device to improve quantization quality, where the method includes obtaining brightness information of an image, processing the brightness information to obtain processed image information, quantizing the processed image information to obtain quantized image information, and encoding the quantized image information to obtain encoded image information.
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:
Embodiments of the present invention provide methods and devices for coding and decoding a depth map, including: determining to perform simplified depth coding (SDC) decoding according to a flag of an SDC mode; determining a size of an image block and a maximum prediction size; determining an intra-frame prediction mode; in a case in which the size of the image block is greater than the maximum prediction size, splitting the image block to obtain N split image blocks; and performing the SDC decoding on the N split image blocks by using the intra-frame prediction mode. In this way, processing efficiency of coding and decoding a depth map can be improved.
Abstract:
An embodiment of the present invention provides a method for acquiring position information of a transform block. The method includes: obtaining a splitting manner of an image block; obtaining splitting direction information according to the splitting manner of the image block and a splitting layer number of a transform block, or obtaining splitting direction information according to the splitting manner of the image block and a numerical relationship between a width and a height of a transform block; and obtaining position information of a post-splitting transform block according to the splitting direction information. In embodiments of the present invention, splitting direction information is obtained directly according to a splitting manner of an image block and a layer number, and then, size information of a transform block is coded according to the splitting direction information, thereby effectively reducing complexity of a coding process.
Abstract:
A method and a device for coding and decoding images are disclosed. The method for coding images includes: determining a second length according to a direction of a division line, a scale value, and a position parameter value; determining a division mode of the image block according to the direction of the division line, a first length, the second length, and the scale value; coding the image block according to the division mode of the image block; and coding a direction parameter value, the scale value, and the position parameter value. With the technical solution provided in the embodiments of the present invention, the determining of the division mode of the image block on the image coder is simplified.
Abstract:
Image encoding and decoding methods and related devices are provided. An image encoding and decoding method includes: for a sub-image block obtained by partitioning an image block, determining at least two position parameters, in which the at least two position parameters include a first position parameter and a second position parameter, the first position parameter identifies whether the sub-image block is a rectangle or not a rectangle, and the second position parameter identifies endpoint information of the sub-image block; determining an encoding sequence of the first position parameter and the second position parameter according to a partition manner of the image block; and encoding the at least two position parameters according to the determined encoding sequence.