US 11,704,848 B2
Systems for generating stroked paths
Vineet Batra, Pitam Pura (IN); Praveen Kumar Dhanuka, Howrah (IN); and Ankit Phogat, Noida (IN)
Assigned to Adobe Inc., San Jose, CA (US)
Filed by Adobe Inc., San Jose, CA (US)
Filed on Oct. 19, 2021, as Appl. No. 17/504,814.
Prior Publication US 2023/0117487 A1, Apr. 20, 2023
Int. Cl. G06T 11/20 (2006.01); G06T 11/40 (2006.01); G06V 30/32 (2022.01)
CPC G06T 11/203 (2013.01) [G06T 11/40 (2013.01); G06V 30/347 (2022.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
receiving, by a processing device, input data describing a vector object having a filled path;
generating, by the processing device, a medial axis for the filled path by performing a medial axis transform on a boundary of the filled path;
estimating, by the processing device, a stroke width based on distances between the medial axis and the boundary of the filled path that are normal to the medial axis;
generating, by the processing device, a candidate stroked path having a stroke attribute and identifying the stroke attribute by comparing the candidate stroked path with the filled path by:
rasterizing the filled path;
rasterizing the candidate stroked path; and
computing a loss between the rasterized filled path and the rasterized candidate stroked path;
generating, by the processing device, an initial stroked path having a first number of anchor points; and
generating, by the processing device for display in a user interface, a stroked path that is visually similar to the filled path based on the medial axis, the stroke width, and the stroke attribute by optimizing the initial stroked path to reduce the first number of anchor points, the stroked path having a second number of anchor points that is less than the first number of anchor points.