US 12,437,411 B2
Localized seam carving and expansion with configurable localization threshold
Anant Gilra, San Jose, CA (US)
Assigned to Adobe Inc., San Jose, CA (US)
Filed by Adobe Inc., San Jose, CA (US)
Filed on Nov. 14, 2022, as Appl. No. 17/986,156.
Prior Publication US 2024/0161302 A1, May 16, 2024
Int. Cl. G06T 7/11 (2017.01); G06T 7/13 (2017.01)
CPC G06T 7/11 (2017.01) [G06T 7/13 (2017.01)] 20 Claims
OG exemplary drawing
 
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.