Removing illumination variation from images
AssigneeGoogle Inc.
InventorsVivek Kwatra, Mei Han
Life of this patent
Estimating the term…
Abstract
An image comprising varying illumination is selected. Patches of pixels from among the plurality of pixels with the image are identified. Similarities between pairs of patches of pixels based on pixel intensities associated with the pairs of patches of pixels are calculated. Illumination values for the plurality of pixels within the image based on the calculated similarities between the pairs of patches of pixels is calculated. The illumination variation from the image is removed based on the calculated illumination values for the plurality of pixels within the image.
Claims31
A computer-implemented method of removing illumination variation from an image, the method comprising:
- selecting, by one or more computers, an image containing varying illumination across a plurality of pixels within the selected image;
- identifying, by the one or more computers, patches of pixels from among the plurality of pixels within the selected image;
- calculating, by the one or more computers, similarities between pairs of patches of pixels from within the selected image based on pixel intensities associated with the pairs of patches of pixels;
- calculating, by the one or more computers, illumination values for the plurality of pixels within the selected image based on the calculated similarities between the pairs of patches of pixels from within the selected image;
- and
- removing, by the one or more computers, the illumination variation from the selected image based on the calculated illumination values for the plurality of pixels within the selected image.
A non-transitory computer-readable storage medium storing computer-executable code for removing illumination variation from an image, the code executable to perform steps comprising:
- selecting an image containing varying illumination across a plurality of pixels within the selected image;
- identifying patches of pixels from among the plurality of pixels within the selected image;
- calculating similarities between pairs of patches of pixels from within the selected image based on pixel intensities associated with the pairs of patches of pixels;
- calculating illumination values for the plurality of pixels within the selected image based on the calculated similarities between the pairs of patches of pixels from within the selected image;
- and
- removing the illumination variation from the selected image based on the calculated illumination values for the plurality of pixels within the selected image.
A computer system for removing illumination variation from an image, the system comprising:
- one or more computer processors;
- and
- a non-transitory computer-readable storage medium storing executable instructions configured to execute on the one or more computer processors, the instructions when executed by the one or more computer processors are configured to perform steps comprising:
- selecting an image containing varying illumination across a plurality of pixels within the selected image;
- identifying patches of pixels from among the plurality of pixels within the selected image;
- calculating similarities between pairs of patches of pixels from within the selected image based on pixel intensities associated with the pairs of patches of pixels;
- calculating illumination values for the plurality of pixels within the selected image based on the calculated similarities between the pairs of patches of pixels from within the selected image;
- and
- removing the illumination variation from the selected image based on the calculated illumination values for the plurality of pixels within the selected image.
Dependencies are inferred from the claim text.