imtools.blendedges¶
-
imtools.
blendedges
(Im, chim)[source]¶ Superimpose a (binary) edge set on an gray-scale image using Matplotlib’s imshow
Parameters: Im: NumPy 2darray
Grayscale image (has to be a 2D array)
chim: NumPy 2darray
Binary edge map (has to be a 2D array). Note that the edge map must be binary, i.e., it must only contain the values 0 and 1
Returns: Nothing : None
See also
imshow
- in the Matplotlib documentation
Stackoverflow
- This submission illustrates how to use variable alpha blending in Matplotlib