AUTOMATIC OBJECT REPLACEMENT IN AN IMAGE
First Claim
1. A computer-implemented method for automatic object replacement in an image, the method comprising:
- receiving an original image and a sky image;
automatically segmenting the original image into an original image foreground region and an original image sky region;
automatically segmenting the sky image into a sky image foreground region and a sky image sky region;
automatically composing a composite image by replacing the original image sky region with the sky image sky region such that the composite image includes the original image foreground region and the sky image sky region; and
automatically adjusting an attribute of the composite image.
1 Assignment
0 Petitions
Accused Products
Abstract
Systems and techniques for automatic object replacement in an image include receiving an original image and a preferred image. The original image is automatically segmented into an original image foreground region and an original image object region. The preferred image is automatically segmented into a preferred image foreground region and a preferred image object region. A composite image is automatically composed by replacing the original image object region with the preferred image object region such that the composite image includes the original image foreground region and the preferred image object region. An attribute of the composite image is automatically adjusted.
18 Citations
20 Claims
-
1. A computer-implemented method for automatic object replacement in an image, the method comprising:
-
receiving an original image and a sky image; automatically segmenting the original image into an original image foreground region and an original image sky region; automatically segmenting the sky image into a sky image foreground region and a sky image sky region; automatically composing a composite image by replacing the original image sky region with the sky image sky region such that the composite image includes the original image foreground region and the sky image sky region; and automatically adjusting an attribute of the composite image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for automatic object replacement in an image, the system comprising:
-
at least one memory including instructions; and at least one processor that is operably coupled to the at least one memory and that is arranged and configured to execute instructions that, when executed, cause the at least one processor to implement an application, the application comprising; a convolutional neural network (CNN) that is arranged and configured to; receive an original image and a sky image, segment the original image into an original image foreground region and an original image sky region by generating a probability map for the original image that identifies a probability for each pixel in the original image of whether the pixel is part of the original image foreground region or the original image sky region, and segment the sky image into a sky image foreground region and a sky image sky region by generating a probability map for the sky image that identifies a probability for each pixel in the sky image of whether the pixel is part of the sky image foreground region or the sky image sky region; and a composition module that is arranged and configured to; detect a maximum tight bounding box in the sky image sky region in which all pixels in the maximum tight bounding box are sky pixels, determine if the maximum tight bounding box covers the original image sky region, replace the original image sky region with the maximum tight bounding box if the maximum tight bounding box covers the original image sky region to form a composite image, and upscale the maximum tight bounding box to cover the original image sky region if the maximum tight bounding box does not cover the original image sky region and replace the original image sky region with the upscaled maximum tight bounding box to form the composite image, wherein the composite image includes the original image foreground region and the sky image sky region. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for automatic object replacement in an image, the computer program product being tangibly embodied on a non-transitory computer-readable storage medium and comprising instructions that, when executed by at least one computing device, are configured to cause the at least one computing device to:
-
receive an original image and a preferred image using a graphical user interface (GUI); automatically segment the original image into an original image foreground region and an original image object region; automatically segment the preferred image into a preferred image foreground region and a preferred image object region; automatically compose a composite image by replacing the original image object region with the preferred image object region such that the composite image includes the original image foreground region and the preferred image object region; automatically adjust an attribute of the composite image; and display the composite image on the GUI. - View Dependent Claims (18, 19, 20)
-
Specification