| 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 |

|
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.
|