I have a binary image and want to set black to a grayscale colour, e.g. 160, in matlab.
How do I change the colours of a binary image? I understand it is no way to change the color back to original, but only change black and white to gray colors.
I have a binary image and want to set black to a grayscale colour, e.g. 160, in matlab.
How do I change the colours of a binary image? I understand it is no way to change the color back to original, but only change black and white to gray colors.