Why in the binary image when the image values are just 0 or

Why in the binary image, when the image values are just 0 or 1 we can see just black image. And if we change the values of 1 to 255 we can see some white spots?! Explain that?!

Solution

Please note that, in binary image, when the image values are just 0 or 1, the image is black and white. The binary image is represented by a m*n matrix, with the value for each pixel being 0 or 1. 0 corresponds to black colored pixel and 1 corresponds to white colored pixel. Thats why binary images dispay just 2 colors black and white. RGB image is represented by m*n*3 matrix. Each pixel has 3 values for (R,G,B) intensities. These values are in the range 0 to 255. As, RGB images store the exact content of Red, Green and Blue color, we can view the real, exact and clear image.
Why in the binary image, when the image values are just 0 or 1 we can see just black image. And if we change the values of 1 to 255 we can see some white spots?

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site