Method for sliced inpainting
First Claim
1. A computer-implemented method comprising:
- identifying a plurality of areas adjoining borders of an image, wherein the plurality of areas are created by a misalignment of the borders of the image with respect to a horizontal axis and a vertical axis;
finding a respective set of replacement image data corresponding to each area of the plurality of areas, wherein each respective set of replacement image data is obtained from a respective source region of the image or of a different image;
adapting pixels of each respective set of replacement image data to visually fit the corresponding area of the plurality of areas; and
after the adapting, producing an updated image by replacing each of the areas of the plurality of areas with the corresponding respective set of replacement image data.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for replacing image data in a destination region that is divided into sub-pieces along one or more cutting paths, which start and end at two different points on the border, and finding replacement data for the sub-pieces. The cutting paths may be determined as a function of the type of image structured at the start and the end points. The cutting paths may also be determined as a function of the area of the sub-pieces and the lengths of the cutting paths. Optionally, the destination region may be determined by a spot detection algorithm. Further optionally, the spot detection algorithm may comprise calculation of a high pass filter, or detection of areas of luminosity and border-to-volume ratios. A method for moving an image element within an image is also provided.
27 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
identifying a plurality of areas adjoining borders of an image, wherein the plurality of areas are created by a misalignment of the borders of the image with respect to a horizontal axis and a vertical axis; finding a respective set of replacement image data corresponding to each area of the plurality of areas, wherein each respective set of replacement image data is obtained from a respective source region of the image or of a different image; adapting pixels of each respective set of replacement image data to visually fit the corresponding area of the plurality of areas; and after the adapting, producing an updated image by replacing each of the areas of the plurality of areas with the corresponding respective set of replacement image data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
a storage device; and at least one processor operative to access the storage device and configured to perform operations comprising; detecting a plurality of areas along borders of a rectangular image, wherein the plurality of areas are created by a misalignment of the borders of the rectangular image with respect to a horizontal axis and a vertical axis; finding a respective set of replacement image data corresponding to each area of the plurality of areas, wherein each respective set of replacement image data is obtained from a respective source region of the rectangular image or of a different image; adapting pixels of each respective set of replacement image data to fit a corresponding area of the plurality of areas, wherein the adapting is based upon differences between pixel values of a margin of the respective source region and a margin of the corresponding area; and after the adapting, producing an updated image by replacing each of the areas of the plurality of areas with a corresponding respective set of replacement image data. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A non-transitory computer readable medium having stored thereon program instructions that, when executed by a processor, cause the processor to perform operations including:
-
modifying an image to cause misalignment of borders of the image with respect to a horizontal axis and a vertical axis; identifying a plurality of border areas adjoining the borders of the image, wherein the plurality of border areas have pixels with undefined pixel values with respect to pixel values of the image, wherein the plurality of border areas are created by the misalignment of the borders of the image; finding a respective set of replacement image data corresponding to each border area of the plurality of border areas, wherein each respective set of replacement image data is obtained from a respective source region of the image or of a different image; adapting pixels of each respective set of replacement image data to visually fit the corresponding border area of the plurality of border areas; and after the adapting, producing an updated image by replacing each of the border areas of the plurality of border areas with the corresponding respective set of replacement image data. - View Dependent Claims (20)
-
Specification