摘要:
To encode High Dynamic Range (HDR) images, the HDR images can be converted to Low Dynamic Range (LDR) images through tone mapping operation, and the LDR images can be encoded with an LDR encoder. The present principles formulates a rate distortion minimization problem when designing the tone mapping curve. In particular, the tone mapping curve is formulated as a function of the probability distribution function of the HDR images to be encoded and a Lagrangian multiplier that depends on encoding parameters. At the decoder, based on the parameters indicative of the tone mapping function, an inverse tone mapping function can be derived to reconstruct HDR images from decoded LDR images.
摘要:
A method for encoding and decoding an image block, an encoder, and a decoder are provided. The method for encoding an image block comprises: determining a local dynamic range of the block; adaptively precision-extending pixel values of the block based on the local dynamic range of the block; and encoding the block with an adaptively extended precision. The method for decoding an image block comprises: determining a minimum pixel value of the block and an indicating value for indicating a precision extension factor according to precision extension information; decoding the block according to the indicating value; and de-extending precision of the decoded block based on the minimum pixel value of the block and the precision extension factor. The precision of the intermediate calculations may be improved without increasing an original intermediate bit depth used in intermediate calculations.
摘要:
A method for encoding and decoding an image block, an encoder, and a decoder are provided. The method for encoding an image block comprises: determining a local dynamic range of the block; adaptively precision-extending pixel values of the block based on the local dynamic range of the block; and encoding the block with an adaptively extended precision. The method for decoding an image block comprises: determining a minimum pixel value of the block and an indicating value for indicating a precision extension factor according to precision extension information; decoding the block according to the indicating value; and de-extending precision of the decoded block based on the minimum pixel value of the block and the precision extension factor. The precision of the intermediate calculations may be improved without increasing an original intermediate bit depth used in intermediate calculations.
摘要:
The present principles provide a method and an encoder for encoding an image frame. The method includes generating, with a processor, for each block in the image frame a prediction block based on at least a prediction method; generating a scaling factor and an offset for adjusting the prediction block; and transforming the prediction block into an adjusted prediction block based on the scaling factor and the offset. The encoder includes a processor configured to, for each block in the image frame, generate a prediction block based on at least a prediction method and generate a scaling factor and an offset for adjusting the prediction block and to transform the prediction block into an adjusted prediction block based on the scaling factor and the offset. The scaling factor and offset minimize error between the block and the adjusted prediction block.
摘要:
A method of encoding a video image includes, for each one of blocks of the video image, calculating virtual gradient values in the block depending on neighboring gradient values computed in a causal neighborhood of the block and acquiring one prediction direction or non-directional intra prediction mode based on the virtual gradient values; and determining a coding mode by comparing different predictions for the block , acquiring a predicted block by applying the determined "coding mode", acquiring a residual error between the predicted block and the current block and encoding a difference between the determined coding mode and the prediction direction or non-directional intra prediction mode. The calculating includes, for each prediction direction, propagating the neighboung gradient values along the prediction direction to estimate the virtual gradient values in the block.