segmentation_models icon indicating copy to clipboard operation
segmentation_models copied to clipboard

how to make color black and white instead of purple and yellow in binary image segmentation

Open kaushik25T opened this issue 4 years ago • 3 comments

kaushik25T avatar May 25 '21 09:05 kaushik25T

help!!

kaushik25T avatar May 27 '21 06:05 kaushik25T

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

sumanttyagi avatar Jun 01 '21 08:06 sumanttyagi

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

bsariturk avatar Aug 13 '21 18:08 bsariturk