set_color
skimage.draw.set_color(img, coords, color, alpha=1) [source]
Set pixel color in the image at the given coordinates. Coordinates that exceed the shape of the image will be ignored. Parameters:
img : (M, N, D) ndarray Image coords : tuple of ((P,) ndarray, (P,) ndarray) Row and column coordinates of pixels to be colored. color : (D,) ndarray Color to be assigned to coordinates in the image. alpha : scalar or (N,) ndarray Alpha values used to blend color with image. 0 is trans