segmentation_models
segmentation_models copied to clipboard
how to make color black and white instead of purple and yellow in binary image segmentation
help!!
use numpy simply alot the class 255 pixel value in all 3 channel. I guess you are using opencv or something to display image in python that's the issue please read about proper display or saving image
Firstly, check if the pixel values of the image are 0 or 255. If that's ok, add (cmap='gray') to your show/imshow code line. e.g., plt.imshow(image, cmap='gray')