CPC H04N 19/159 (2014.11) [H04N 19/124 (2014.11); H04N 19/182 (2014.11); H04N 19/45 (2014.11)] | 16 Claims |
1. An apparatus for encoding images, the apparatus comprising:
an input for accessing an input image in a first codeword representation; and a processor, wherein the processor:
generates a forward reshaping function mapping pixels of the input image to a second codeword representation;
generates an inverse reshaping function based on the forward reshaping function, wherein the inverse reshaping function maps pixels from the second coding representation to the first coding representation;
generates coded pixel regions of the input image based on input pixel regions in the input image, the forward reshaping function and the inverse reshaping function;
generates reshaping metadata which characterize the forward reshaping function based on a piecewise-linear representation; and
generates an output bitstream based on the coded pixel regions of the input image and the reshaping metadata.
|