US 12,482,151 B2
Stroke-guided sketch vectorization
Vineet Batra, Pitam Pura (IN); Matthew David Fisher, Burlingame, CA (US); Deepali Aneja, Seattle, WA (US); Ashwani Chandil, Noida (IN); and Ankit Phogat, Noida (IN)
Assigned to Adobe Inc., San Jose, CA (US)
Filed by Adobe Inc., San Jose, CA (US)
Filed on Nov. 19, 2021, as Appl. No. 17/530,760.
Prior Publication US 2023/0162413 A1, May 25, 2023
Int. Cl. G06T 11/20 (2006.01); G06T 5/70 (2024.01); G06T 7/194 (2017.01); G06T 7/30 (2017.01); G06V 10/75 (2022.01)
CPC G06T 11/203 (2013.01) [G06T 5/70 (2024.01); G06T 7/30 (2017.01); G06V 10/751 (2022.01); G06T 7/194 (2017.01); G06T 2207/20081 (2013.01)] 20 Claims
OG exemplary drawing
 
1. In a digital medium environment, a method comprising:
receiving, by a computing device, an input sketch and a guide image that includes an approximate vector representation of the input sketch;
determining, by the computing device, a plurality of black levels representing a vector stroke in the input sketch and a plurality of white levels representing a background in the input sketch, the plurality of black levels including, for each of a plurality of pixels in the input sketch, a black level representing the vector stroke in the pixel and the plurality of white levels including, for each of the plurality of pixels in the input sketch, a white level representing a background in the pixel; and
generating, by the computing device, an aligned guide image that includes a vector representation of the input sketch by:
determining, for each of a plurality of aligned guide image pixels, a black threshold value using at least two of the plurality of black levels and a white threshold value using at least two of the plurality of white levels, the white threshold value being different than the black threshold value; and
mapping each of the plurality of aligned guide image pixels to a vector stroke in the aligned guide image or a background in the aligned guide image based on the black threshold value and the white threshold value for the aligned guide image pixel.