is there any difference between grey scale image and binary image?

Sweety Khan picture Sweety Khan · Jun 26, 2010 · Viewed 13.1k times · Source

is there any difference between grey scale image and binary image?

Answer

InsertNickHere picture InsertNickHere · Jun 26, 2010

Yes, the one is grayscale, e.g. gray scales from 0.255, the binary imange is binary, that means black(0) or white(1).

EDIT: Convert grayscale to binary. Directly converting color images (like RGB) to binary is not that easy, because you have to handle every color channel within the image seperatly.

Converting to binary is done using a ceratin threshold. E.g. you can say, all pixels with gray > 125 will become white, the others black. There are several thresholding algorithm out there, but maybe the most common is Otsu. You can find it here Thresholding by Otsu