I need an algorithm or filter to color lines. The input is a 2D black/white image. The output is the same 2D image but the curves are colored in grayscale as a function of the lines thickness.
How can this be accomplished? My initial thought is just a convolution with a gaussian.
Your thoughts, /sci/?
How can this be accomplished? My initial thought is just a convolution with a gaussian.
Your thoughts, /sci/?
