| CPC G06T 7/11 (2017.01) [G06T 7/13 (2017.01)] | 20 Claims |

|
1. A method comprising:
obtaining an image for performing localized seam carving, the image comprising a plurality of low activity regions;
receiving a selection of a point of interest and a requested adjustment, wherein the point of interest is within a low activity region of the plurality of low activity regions, and wherein the adjustment includes a bounding box of an object to be inserted into the image in the low activity region;
selecting a set of seams that are present in the low activity region, wherein each seam is a connected path of pixels, each pixel having low activity;
computing a number of additional seams to be duplicated based on a comparison of the set of seams and a dimension of the bounding box;
generating an adjusted set of seams by duplicating or removing one or more seams from the set of seams based on the comparison of the set of seams and a dimension of the bounding box;
replacing the set of seams in the low activity region with the adjusted set of seams; and
outputting an updated image including the low activity region with the adjusted set of seams.
|