Overlapped curve mapping for histogram-based local tone and local contrast
AssigneeAdvanced Micro Devices, Inc.
InventorYing-Ru Chen
Life of this patent
Estimating the term…
Abstract
Methods and apparatuses are disclosed herein for performing tone mapping and/or contrast enhancement. In some examples, a block mapping curve is low-pass filtered with block mapping curves of surrounding blocks to form a smoothed block mapping curve. In some examples, overlapped curve mapping of block mapping curves, including smoothed block mapping curves, is performed, including weighting, based on a pixel location, block mapping curves of a group of blocks to generate an interpolated block mapping curve and applying the interpolated block mapping curve to a pixel to perform ton mapping and/or contrast enhancement.
Claims20
A non-transitory computer readable storage medium storing computer code thereon for execution by at least one processor, the computer code comprising:
- instructions to select an input pixel from within a plurality of blocks of pixels of at least a portion of an input image, wherein the plurality of pixel blocks include at least three blocks of pixels in a vertical direction and at least three blocks of pixels in a horizontal direction, and wherein the input pixel has an input pixel value and a pixel location;
- instructions to generate a respective initial block mapping curve for each block of the plurality of blocks;
- instructions to determine, from the plurality of blocks 9f pixels, a set of overlap blocks based on the pixel location;
- and
- instructions to generate a new pixel value for the input pixel based on a spatially low-pass filtered block mapping curve, wherein the spatially low-pass filtered block mapping curve is a function of a weighted average of the respective initial block mapping curves for each overlap block of the set of overlap blocks.
A method of image signal processing, the method comprising:
- selecting an input pixel from within a plurality of blocks of pixels of at least a portion of an input image, wherein the plurality of pixel blocks include at least three blocks of pixels in a vertical direction and at least three blocks of pixels in a horizontal direction, and wherein the input pixel has an input pixel value and a pixel location
- generating a respective initial block mapping curve for each block of the plurality of blocks;
- determining, from the plurality of blocks gf pixels, a set of overlap blocks based on the pixel location;
- and
- generating a new pixel value for the input pixel based on a spatially low-pass filtered block mapping curve, wherein the spatially low-pass filtered block mapping curve is a function of a weighted average of the respective initial block mapping curves for each overlap block of the set of overlap blocks.
A computer system comprising:
- an image signal processor, the image signal processor configured to:
- select an input pixel from within a plurality of blocks of pixels of at least a portion of an input image, wherein the plurality of pixel blocks include at least three blocks of pixels in a vertical direction and at least three blocks of pixels in a horizontal direction, and wherein the input pixel has an input pixel value and a pixel location;
- generate a respective initial block mapping curve for each block of the plurality of blocks;
- determine, from the plurality of blocks of pixels, a set of overlap blocks based on the pixel location;
- and
- generate a new pixel value for the input pixel based on a spatially low-pass filtered block mapping curve, wherein the spatially low-pass filtered block mapping curve is a function of a weighted average of the respective initial block mapping curves for each overlap block of the set of overlap blocks.
Dependencies are inferred from the claim text.