IP Library Granted Patent US 9,799,106
Granted Patent B2
US 9,799,106 · App. 14/971,733 · Granted Oct 24, 2017

Enhancing a digital image

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,799,106
App. No.
14/971,733
Granted
Oct 24, 2017
Kind
B2
Abstract

One or more embodiments of an image enhancement system enable a computing device to generate an enhanced digital image. In particular, a computing device can enhance a digital image including, for example, a photograph of a whiteboard, document, chalkboard, or other object having a uniform background. The computing device can determine modifications to apply to the digital image by minimizing an energy heuristic that both causes pixels of the digital image to change to a uniform color (e.g., white) and preserves gradients from the digital image. The computing device can further generate an enhanced digital image by applying the determined modifications to the digital image.

Claims (51)

1. A method for enhancing digital images, comprising:

accessing an input image comprising a background and a foreground;

determining, by at least one processor, modifications to enhance the input image by minimizing an energy heuristic comprising a sum of a background parameter and a foreground parameter, wherein;

the background parameter causes background pixels of the input image to change to a uniform color; and

the foreground parameter preserves gradients of foreground pixels from the input image; and

generating, by the at least one processor, an output image with an enhanced foreground by applying the determined modifications to the input image.

2. The method as recited in claim 1 , wherein the input image comprises a digital photograph of a whiteboard with written text.

3. The method as recited in claim 1 , wherein the uniform color comprises a white pixel value.

4. The method as recited in claim 1 , wherein the one or more foreground parameters that preserve gradients from the input image comprise:

a first foreground parameter that preserves horizontal gradients of foreground pixels from the input image; and

a second foreground parameter that preserves vertical gradients of foreground pixels from the input image.

5. The method as recited in claim 1 , further comprising converting the input image to grayscale.

6. The method as recited in claim 5 , wherein converting the input image to grayscale comprises:

identifying one or more minimum red green blue (RGB) pixel values across the input image; and

normalizing the one or more minimum RGB pixel values to zero.

7. The method as recited in claim 1 , wherein generating the output image with the enhanced foreground further comprises blending color from the input image to the output image.

8. The method as recited in claim 7 , wherein blending color from the original color image to the output image comprises adding color to the enhanced foreground based on fractional values of gradients from the input image.

9. The method as recited in claim 1 , wherein determining the modifications to enhance the input image comprises:

converting the sum of the background parameter and the foreground parameter to a frequency domain; and

solving for one or more zero values for the converted sum of the background parameter and the foreground parameter.

10. The method as recited in claim 9 , wherein converting the sum of the background parameter and the foreground parameter to the frequency domain comprises performing a Fast Fourier Transform (FFT).

11. The method as recited in claim 1 , further comprising filtering the output image to fill in hollow portions of the enhanced foreground.

12. The method as recited in claim 11 , wherein filtering the output image to fill in hollow portions of the enhanced foreground comprises applying a cross-bilateral filter to the output image with respect to the input image.

13. The method as recited in claim 12 , further comprising:

generating, based on the determined modifications to enhance the input image, a binarization map comprising pixel values to apply to the input image; and

wherein generating the output image with the enhanced foreground by applying the determined modifications to the input image comprises masking the binarization map to the input image.

14. The method as recited in claim 1 , wherein the energy heuristic comprises a screened Poisson equation.

15. The method of claim 1 , wherein the input image comprises a digital photograph of a document.

16. The method of claim 1 , further comprising minimizing the energy heuristic in accordance with one or more received user inputs identifying a weighting factor to apply to the background parameter or the foreground parameter.

17. A method for enhancing digital images, comprising:

accessing a digital image comprising a photograph of a whiteboard and textual content;

determining, by at least one processor, modifications to enhance the digital image by minimizing a sum of squared parameters, the squared parameters comprising;

a background parameter comprising an indication that background pixels of an enhanced digital image be a uniform color; and

a foreground parameter comprising a difference between gradient values of foreground pixels of the digital image and foreground pixels of the enhanced digital image; and

generating, by the at least one processor, the enhanced digital image having enhanced textual content by causing pixels of the digital image to change in accordance with the determined modifications to the digital image.

18. The method as recited in claim 17 , further comprising:

converting the sum of squared parameters to a frequency domain; and

wherein calculating the minimum value of the sum of squared parameters comprises solving for one or more zero values for the converted sum of squared parameters.

19. A computing device comprising:

at least one processor; and

a non-transitory computer-readable medium storing instructions thereon that, when executed by the at least one processor, cause the computing device to:

access an input image comprising a background and a foreground;

determine modifications to enhance the input image by minimizing an energy heuristic comprising a sum of a background parameter and a foreground parameter, wherein;

the background parameter causes background pixels of the input image to change to a uniform color; and

the foreground parameter preserves gradients of foreground pixels from the input image; and

generate an output image with an enhanced foreground by applying the determined modifications to the input image.

20. The computing device of claim 19 , wherein the instructions further cause the computing device to:

generate a trimap based on an output of the energy heuristic, the trimap classifying portions of the output image as foreground, background, and unknown;

for each pixel within the output image, determine a pixel value based on neighboring foreground and background portions of the output image; and

generate, based on the determined pixel value for each pixel within the output image, a binarization map;

wherein generating the output image with the enhanced foreground by applying the determined modifications to the input image comprises masking the generated binarization map against the input image.

Assignments (6)
RELEASE OF SECURITY INTEREST Recorded Dec 13, 2024
From: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
To: DROPBOX, INC.
Reel/Frame 069635/0332 →
SECURITY INTEREST Recorded Dec 12, 2024
From: DROPBOX, INC.
To: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 069604/0611 →
RELEASE OF SECURITY INTEREST Recorded Dec 12, 2024
From: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
To: DROPBOX, INC.
Reel/Frame 069613/0744 →
PATENT SECURITY AGREEMENT Recorded Mar 10, 2021
From: DROPBOX, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 055670/0219 →
SECURITY INTEREST Recorded Apr 14, 2017
From: DROPBOX, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 042254/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 21, 2017
From: BAEK, JONGMIN
To: DROPBOX, INC.
Reel/Frame 041660/0009 →