Locally adapted histogram equalization
First Claim
1. A computer-implemented process for improving the uniformity in exposure and tone of a digital image, said process comprising using a computer to perform the following acts:
- segmenting the digital image into a plurality of image patches;
for each image patch, creating a pixel brightness level histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch;
averaging said pixel brightness level histogram with the histograms associated with a prescribed number of neighboring image patches to produce an averaged histogram;
for each image patch, generating a normalized cumulative distribution function based on the histogram, wherein a maximum cumulative count value thereof corresponds to a maximum original pixel brightness level, and wherein said normalized cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels as represented by the normalized pixel count value corresponding to each respective original pixel brightness level;
for each image patch, respectively blending the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch; and
for each image patch, replacing the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for improving the uniformity in exposure and tone of a digital image using a locally adapted histogram equalization approach. This approach involves first segmenting the digital image into a plurality of image patches. For each of these patches, a pixel brightness level histogram is created. The histogram for each patch is then optionally averaged with the histograms associated with a prescribed number of neighboring image patches. A normalized cumulative distribution function is generated for each patch based on the associated averaged histogram. This normalized-cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels. For each of the original pixel brightness levels, the 1s associated new pixel brightness levels from one or more of the image patches are blended. Preferably, this blending is accomplished using either a bilinear or biquadratic interpolator function. Finally, for each image patch, the original pixel brightness level of each pixel in the image patch is replaced with the blended pixel brightness level corresponding to that original brightness level. A further refinement can also be implemented to mitigate the effects of noise caused by areas of a single color in the scene depicted in patch. In one embodiment, this refinement entails employing a partially equalization approach. In another embodiment, the refinement entails limiting the gain exhibited by any of the blended pixel brightness levels associated with an image patch, in comparison to its associated original pixel brightness level, to a prescribed level.
-
Citations
38 Claims
-
1. A computer-implemented process for improving the uniformity in exposure and tone of a digital image, said process comprising using a computer to perform the following acts:
-
segmenting the digital image into a plurality of image patches;
for each image patch, creating a pixel brightness level histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch;
averaging said pixel brightness level histogram with the histograms associated with a prescribed number of neighboring image patches to produce an averaged histogram;
for each image patch, generating a normalized cumulative distribution function based on the histogram, wherein a maximum cumulative count value thereof corresponds to a maximum original pixel brightness level, and wherein said normalized cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels as represented by the normalized pixel count value corresponding to each respective original pixel brightness level;
for each image patch, respectively blending the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch; and
for each image patch, replacing the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for improving the uniformity in exposure and tone of a digital image, comprising:
-
a general purpose computing device;
a computer program comprising program modules executable by the computing device, wherein the computing device is directed by the program modules of the computer program to, segment the digital image into a plurality of sub-image sectors referred to hereinafter as image patches, for each image patch, create a histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch, said pixel count representing the number of image patch pixels exhibiting a particular pixel brightness level, performing an averaging of the pixel count of each of the plurality of original pixel brightness levels with the pixels counts associated with the corresponding brightness levels of a prescribed number of neighboring image patches to produce an averaged histogram for each image patch, for each image patch, generate a cumulative distribution function based on the histogram, for each image patch, normalize the cumulative distribution function so that a maximum cumulative count value thereof corresponds to the maximum original pixel brightness level, for each image patch, create a look-up table from the normalized cumulative distribution function that associates each original pixel brightness level to a new pixel brightness level represented by the normalized pixel count value associated with that original pixel brightness level, for each image patch, respectively blend the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch, and for each image patch, replace the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level of the patch'"'"'s look-up table corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer-readable memory for causing a computer to improve the uniformity in exposure and tone of a digital image, comprising:
-
a computer-readable storage medium; and
a computer program comprising program modules stored in the storage medium, wherein the storage medium is so configured by the computer program that it causes the computer to, segment the digital image into a plurality of image patches, for each image patch, create a histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch, performing an averaging of the pixel count of each of the plurality of original pixel brightness levels with the pixels counts associated with the corresponding brightness levels of a prescribed number of neighboring image patches to Produce an averaged histogram for each image patch, for each image patch, generate a cumulative distribution function based on the histogram, for each image patch, normalize the cumulative distribution function so that a maximum cumulative count value thereof corresponds to the maximum original pixel brightness level, and wherein said normalized cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels as represented by the normalized pixel count value corresponding to each respective original pixel brightness level, for each image patch, respectively blend the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch, and for each image patch, replace the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. A computer-implemented process for improving the uniformity in exposure and tone of a digital image, said process comprising using a computer to perform the following acts:
-
segmenting the digital image into a plurality of image patches;
for each image patch, creating a pixel brightness level histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch;
for each image patch, averaging said pixel brightness level histogram with the histograms associated with a prescribed number of neighboring image patches to produce an averaged histogram;
for each image patch, generating a normalized cumulative distribution function based on the averaged histogram, wherein a maximum cumulative count value thereof corresponds to a maximum original pixel brightness level, and wherein said normalized cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels as represented by the normalized pixel count value corresponding to each respective original pixel brightness level;
for each image patch, replacing the original pixel brightness level of each pixel in the image patch with the new pixel brightness level corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone.
-
-
27. A computer-implemented process for generating a composite image that exhibits an improved uniformity in both exposure and tone in comparison to a set of digital input images each of which exhibits a different exposure level, said process comprising using a computer to perform the following acts:
-
accessing said set of digital images;
computing a summed brightness level for each pixel set in the set of images by adding the brightness level exhibited by each pixel in a pixel set to produce a summed brightness image, wherein a pixel set comprises a pixel from each image of the image set which represents the same portion of the scene depicted by the set of images;
segmenting the summed brightness image into a plurality of image patches;
for each image patch, creating a pixel brightness level histogram which identifies a respective pixel count for each of a plurality of original summed brightness levels exhibited by the pixel sets of the patch;
for each image patch, averaging said pixel brightness level histogram with the histograms associated with a prescribed number of neighboring image patches to produce an averaged histogram;
for each image patch, generating a normalized cumulative distribution function based on the averaged histogram, wherein a maximum cumulative count value thereof corresponds to a maximum original summed brightness level, and wherein said normalized cumulative distribution function identifies a respective new summed brightness level for each of the original summed brightness levels as represented by the normalized pixel count value corresponding to each respective original summed brightness level;
for each image patch, respectively blending the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch;
for each image patch, replacing the original summed brightness level of each pixel in the image patch with the blended summed brightness level corresponding to that original summed brightness level; and
for each image patch, dividing each blended summed brightness level by the number of digital images in the set of images to produce a final image exhibiting improved uniformity in exposure and tone.
-
-
28. A computer-implemented process for improving the uniformity in exposure and tone of a digital image, said process comprising using a computer to perform the following acts:
-
segmenting the digital image into a plurality of image patches;
for each image patch, creating a pixel brightness level histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch;
for each image patch, generating a normalized cumulative distribution function based on the histogram, wherein a maximum cumulative count value thereof corresponds to a maximum original pixel brightness level, and wherein said normalized cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels as represented by the normalized pixel count value corresponding to each respective original pixel brightness level;
for each image patch, respectively blending the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch using a bilinear interpolator function to blend the new pixel brightness levels; and
for each image patch, replacing the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone.
-
-
29. A computer-implemented process for improving the uniformity in exposure and tone of a digital image, said process comprising using a computer to perform the following acts:
-
segmenting the digital image into a plurality of image patches;
for each image patch, creating a pixel brightness level histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch;
for each image patch, generating a normalized cumulative distribution function based on the histogram, wherein a maximum cumulative count value thereof corresponds to a maximum original pixel brightness level, and wherein said normalized cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels as represented by the normalized pixel count value corresponding to each respective original pixel brightness level;
for each image patch, respectively blending the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch using a biquadratic interpolator function to blend the new pixel brightness levels; and
for each image patch, replacing the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone.
-
-
30. A computer-implemented process for improving the uniformity in exposure and tone of a digital image, said process comprising using a computer to perform the following acts:
-
segmenting the digital image into a plurality of image patches;
for each image patch, creating a pixel brightness level histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch;
for each image patch, generating a normalized cumulative distribution function based on the histogram, wherein a maximum cumulative count value thereof corresponds to a maximum original pixel brightness level, and wherein said normalized cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels as represented by the normalized pixel count value a corresponding to each respective original pixel brightness level;
for each image patch, respectively blending the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch;
for each image patch, replacing the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone; and
blending the normalized cumulative distribution function of an image patch exhibiting noise caused by areas of a single color in the scene depicted in the patch with a straight line function to produce a blended distribution function which reduces the reduces the effects of said noise, wherein said blended normalized cumulative distribution function is employed to identify the respective new pixel brightness level for each of the original pixel brightness levels as represented by the blended and normalized pixel count value corresponding to each respective original pixel brightness level. - View Dependent Claims (31, 32)
-
-
33. A computer-implemented process for improving the uniformity in exposure and tone of a digital image, said process comprising using a computer to perform the following acts:
-
segmenting the digital image into a plurality of image patches;
for each image patch, creating a pixel brightness level histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch;
for each image patch, generating a normalized cumulative distribution function based on the histogram, wherein a maximum cumulative count value thereof corresponds to a maximum original pixel brightness level, and wherein said normalized cumulative distribution function identifies a respective new pixel brightness level for each of the original pixel brightness levels as represented by the normalized pixel count value corresponding to each respective original pixel brightness level;
for each image patch, respectively blending the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch;
for each image patch, replacing the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone; and
limiting the gain exhibited by any of the blended pixel brightness levels associated with an image patch, in comparison to its associated original pixel brightness level, to a prescribed level, said prescribed level being chosen so as to mitigate the effects of noise caused by areas of a single color in the scene depicted in the image patch.
-
-
34. A system for improving the uniformity in exposure and tone of a digital image, comprising:
-
a general purpose computing device;
a computer program comprising program modules executable by the computing device, wherein the computing device is directed by the program modules of the computer program to, segment the digital image into a plurality of sub-image sectors referred to hereinafter as image patches, for each image patch, create a histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch, said pixel count representing the number of image patch pixels exhibiting a particular pixel brightness level, performing an averaging of the pixel count of each of the plurality of original pixel brightness levels with the pixels counts associated with the corresponding brightness levels of a prescribed number of neighboring image patches to produce an averaged histogram for each image patch, for each image patch, generate a cumulative distribution function based on the histogram, for each image patch, normalize the cumulative distribution function so that a maximum cumulative count value thereof corresponds to the maximum original pixel brightness level, for each image patch, create a look-up table from the normalized cumulative distribution function that associates each original pixel brightness level to a new pixel brightness level represented by the normalized pixel count value associated with that original pixel brightness level, for each image patch, respectively blend the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch, and for each image patch, replace the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level of the patch'"'"'s look-up table corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone.
-
-
35. A system for improving the uniformity in exposure and tone of a digital image, comprising:
-
a general purpose computing device;
a computer program comprising program modules executable by the computing device, wherein the computing device is directed by the program modules of the computer program to, segment the digital image into a plurality of sub-image sectors referred to hereinafter as image patches, for each image patch, create a histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch, said pixel count representing the number of image patch pixels exhibiting a particular pixel brightness level, for each image patch, generate a cumulative distribution function based on the histogram, for each image patch, normalize the cumulative distribution function so that a maximum cumulative count value thereof corresponds to the maximum original pixel brightness level, for each image patch, create a look-up table from the normalized cumulative distribution function that associates each original pixel brightness level to a new pixel brightness level represented by the normalized pixel count value associated with that original pixel brightness level, for each image patch, respectively blend the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch, said blending comprising any of a sub-module for using a bilinear interpolator function to blend the new pixel brightness levels, and a sub-module for using a biquadratic interpolator function to blend the new pixel brightness levels, and for each image patch, replace the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level of the patch'"'"'s look-up table corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone.
-
-
36. A system for improving the uniformity in exposure and tone of a digital image, comprising:
-
a general purpose computing device;
a computer program comprising program modules executable by the computing device, wherein the computing device is directed by the program modules of the computer program to, segment the digital image into a plurality of sub-image sectors referred to hereinafter as image patches, for each image patch, create a histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch, said pixel count representing the number of image patch pixels exhibiting a particular pixel brightness level, for each image patch, generate a cumulative distribution function based on the histogram, for each image patch, normalize the cumulative distribution function so that a maximum cumulative count value thereof corresponds to the maximum original pixel brightness level, blending the normalized cumulative distribution function of an image patch exhibiting noise caused by areas of a single color in the scene depicted in the patch with a straight line function to produce a blended distribution function which reduces the reduces the effects of said noise, wherein said blended normalized cumulative distribution function is employed to identify the respective new pixel brightness level for each of the original pixel brightness levels as represented by the blended and normalized pixel count value corresponding to each respective original pixel brightness level, for each image patch, create a look-up table from the normalized cumulative distribution function that associates each original pixel brightness level to a new pixel brightness level represented by the normalized pixel count value associated with that original pixel brightness level, for each image patch, respectively blend the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch, and for each image patch, replace the original pixel brightness level of each pixel in the image patch with the blended pixel brightness level of the patch'"'"'s look-up table corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone. - View Dependent Claims (37)
-
-
38. A system for improving the uniformity in exposure and tone of a digital image, comprising:
-
a general purpose computing device;
a computer program comprising program modules executable by the computing device, wherein the computing device is directed by the program modules of the computer program to, segment the digital image into a plurality of sub-image sectors referred to hereinafter as image patches, for each image patch, create a histogram which identifies a respective pixel count for each of a plurality of original pixel brightness levels exhibited by the pixels of the patch, said pixel count representing the number of image patch pixels exhibiting a particular pixel brightness level, for each image patch, generate a cumulative distribution function based on the histogram, for each image patch, normalize the cumulative distribution function so that a maximum cumulative count value thereof corresponds to the maximum original pixel brightness level, for each image patch, create a look-up table from the normalized cumulative distribution function that associates each original pixel brightness level to a new pixel brightness level represented by the normalized pixel count value associated with that original pixel brightness level, for each image patch, respectively blend the new pixel brightness level associated with each of the original pixel brightness levels with the new pixel brightness level associated with the same original pixel brightness level in at least one neighboring image patch, limiting the gain exhibited by any of the blended pixel brightness levels associated with an image patch, in comparison to its associated original pixel brightness level, to a prescribed level, said prescribed level being chosen so as to mitigate the effects of noise caused by areas of a single color in the scene depicted in the image patch, and for each image patch, replace the original pixel brightness level of each pixel in the image with the blended pixel brightness level of the patch'"'"'s look-up table corresponding to that original brightness level, to produce a final image exhibiting improved uniformity in exposure and tone.
-
Specification