IP Library Granted Patent US 9,305,329
Granted Patent B2
US 9,305,329 · App. 14/339,161 · Granted Apr 5, 2016

Low memory content aware fill

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,305,329
App. No.
14/339,161
Granted
Apr 5, 2016
Kind
B2
Abstract

A first image at a first resolution is received, the first image having a first hole therein. Based on the first image, a second image is generated at a second resolution lower than the first resolution, the second image having a second hole therein corresponding to the first hole. In the second image, one or more second-image source patches for the second hole are identified. At least one first-image source patch in the first image is identified based on a location of the identified second-image source patch. The identified at least one first-image source patch are stored in memory. Fill content are identified in the at least one first-image source patch stored in the memory. The identified fill content are placed in the first hole.

Claims (54)

1. A method performed by data processing apparatus, the method comprising:

accessing a second image corresponding to a lower resolution of a first image, the second image comprising a second hole corresponding to a first hole of the first image;

identifying, in the second image, one or more second-image source patches for the second hole;

identifying at least one first-image source patch in the first image based on a location of the identified second-image source patch;

identifying fill content in the at least one first-image source patch; and

placing the identified fill content in the first hole.

2. The method of claim 1 , wherein the identified at least one first-image source patch is stored in memory, wherein the first hole comprises a plurality of tiles, and wherein i) the identification of the at least one first-image source patch in the first image; ii) the storing of the identified at least one first-image source patch; and iii) the placement of the identified fill content are performed for each first-hole tile.

3. The method of claim 2 , wherein one or more portions of some of the first-hole tiles overlap with one or more portions of other first-hole tiles, the method further comprising:

feathering at least one of the portions of first-hole tiles that overlap.

4. The method of claim 1 , the method further comprising:

determining that the first image cannot be stored in memory; and

creating the second image by progressively reducing the resolution of the first image until the second image can be stored in memory.

5. The method of claim 1 , wherein identifying the first-image source patch comprises:

generating a map of the first-image source patches, the map indicating a count of the times each source patch is identified;

generating, for each entry in the map of the first-image of source patches, a summation value that aggregates that entry and neighboring entries; and

identifying a highest summation value.

6. The method of claim 5 , wherein generating the summation value comprises convolving the map of the first-image source patches.

7. The method of claim 1 , wherein the fill content is identified using image content bordering that part of the first hole as a constraint.

8. A non-transitory computer storage medium encoded with a computer program, the program comprising instructions that when executed by data processing apparatus cause the data processing apparatus to perform operations comprising:

generating, based on a first image having a first hole, a second image corresponding to a lower resolution of the first image, the second image having a second hole corresponding to the first hole;

identifying, in the second image, one or more second-image source patches for the second hole;

identifying at least one first-image source patch in the first image based on a location of the identified second-image source patch;

identifying fill content in the at least one first-image source patch; and

placing the identified fill content in the first hole.

9. The medium of claim 8 , wherein the identified at least one first-image source patch is stored in memory, wherein the first hole comprises a plurality of tiles, and wherein i) identifying at least one first-image source patch in the first image based on a location of the identified second-image source patch; ii) storing the identified at least one first-image source patch in memory; and iii) placing the identified fill content in the first hole is repeated for each first-hole tiles.

10. The medium of claim 9 , wherein some portions of some of the first-hole tiles overlap with some portions of other first-hole tiles, the method further comprising:

feathering the portions of first-hole tiles that overlap.

11. The medium of claim 9 , the operations further comprising:

determining that the first image cannot be stored in memory; and

creating the second image by progressively reducing the resolution of the first image until the second image can be stored in memory.

12. The medium of claim 9 , wherein identifying the first-image source patch comprises:

generating a map of the first-image source patches, the map indicating a count of the times each source patch is identified;

generating, for each entry in the map of the first-image of source patches, a summation value that aggregates that entry and neighboring entries; and

identifying a highest summation value.

13. The medium of claim 12 , wherein generating the summation value comprises convolving the map of the first-image source patches.

14. The medium of claim 9 , wherein the fill content is identified using image content bordering the first hole as a constraint.

15. A system comprising:

a processor;

a memory communicatively coupled to the processor and bearing instructions that, upon execution by the processor, cause the system to at least:

generate a second image corresponding to a lower resolution of a first image having a first hole, the second image having a second hole corresponding to the first hole;

identify, in the second image, one or more second-image source patches for the second hole;

identify at least one first-image source patch in the first image based on a location of the identified second-image source patch;

identify fill content in the at least one first-image source patch; and

place the identified fill content in the first hole.

16. The system of claim 15 , wherein the one or more computers comprise a server operable to interact with the device through a data communication network, and the device is operable to interact with the server as a client.

17. The system of claim 16 , wherein the device comprises a personal computer running a web browser, a mobile telephone running a web browser, a tablet computer running a web browser.

18. The system of claim 15 , wherein the one or more computers consist of one computer, the device is a user interface device, and the one computer comprises the user interface device.

19. The system of claim 15 , wherein generating the second image at a lower resolution that the first image comprises:

determining that the first image cannot be stored in memory; and

creating the second image by progressively reducing the resolution of the first image until the second image can be stored in memory, and

wherein identifying at least one first-image source patch in the first image comprises:

storing the at least one first-image source patch in memory; and

using the at least at least one first-image source patch stored in memory to place the identified fill content in the first hole.

20. The system of claim 15 , wherein the identified at least one first-image source patch is stored in a memory buffer, wherein the first hole comprises a plurality of tiles, and wherein the plurality of tiles are sized as a function of a size of the memory buffer.

Assignments (2)
CHANGE OF NAME Recorded Mar 6, 2019
From: ADOBE SYSTEMS INCORPORATED
To: ADOBE INC.
Reel/Frame 048525/0042 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 23, 2014
From: GOLDMAN, DAN; SHECHTMAN, ELYA
To: ADOBE SYSTEMS INCORPORATED
Reel/Frame 033376/0961 →