Patent Document ID: 20170289405
Application ID: 15090397
Patent Status: 0

Claim One:
1. In a digital medium environment for editing digital images, a method of enhancing digital images by modifying illumination of pixels based on pixel content, comprising: generating, by at least one processor, a cleaning confidence map comprising a plurality of cleaning confidence values corresponding to a plurality of pixels of a digital image, wherein each cleaning confidence value is generated based on a color and a luminosity of a corresponding pixel from the plurality of pixels and based on a determination of whether the corresponding pixel portrays a glyph in the digital image; removing, using the cleaning confidence map, a shadow represented by one or more pixels in the digital image by adjusting a luminosity of each of the one or more pixels representing the shadow based on luminosities of pixels surrounding the pixel and a cleaning confidence value corresponding to the pixel; and modifying, using the cleaning confidence map, a contrast of the digital image by modifying a luminosity of each pixel in the plurality of pixels based on a maximum luminance value of the digital image, a minimum luminance value of the digital image, and a cleaning confidence value of the cleaning confidence map corresponding to the pixel.