Effacer les filtres
Effacer les filtres

Grayscale, monochrome, binary image in matlab

3 vues (au cours des 30 derniers jours)
MKN
MKN le 14 Fév 2015
Commenté : Image Analyst le 11 Mar 2015
In Matlab,
1. An 8-bit gray scale image has pixel values ranging from 0 to 255. The pixel depth may vary (16-bit, 32-bit, etc)
2. A binary image has pixel values, either 0 or 1 (logical) My question is that, is monochrome image, a binary image or a gray scale image as per points 1 and 2. I need clarification because I want to be 100 % sure about monochrome image.
(As per 'Digital Image Processing Using Matlab' by Gonzalez, Woods, Eddins, a monochrome image is a grayscale image. (Topic 3.2, pg no. 66))
Comments, suggestions are welcome.
  1 commentaire
Geoff Hayes
Geoff Hayes le 14 Fév 2015
MKN - I would (rightly or wrongly!) define a monochrome image as one that consists of various shades of a single colour. So you could fix the red and green channels, and then vary the blue from 0 to 255 (or whatever the pixel depth is: 8, 16, 32, etc.). For gray scale, the red, green and blue channels would be identical.
Using the above, a gray scale image would be considered a monochrome image, but a monochrome image would not necessarily be a gray scale image.
A binary image has two colours, typically black (0) and white (1). Though if 8 (or more) bits are used for the two colours and/or three channels, then you could have two other colours (of your choice) used to represent the binary image.

Connectez-vous pour commenter.

Réponse acceptée

Guillaume
Guillaume le 14 Fév 2015
A monochrome image is an image with only one colour channel. Thus, both greyscale and binary images are monochrome. Note that the pixel intensities don't necessarily have to be represented in grey, you could just as well use different shades of red.
  1 commentaire
Image Analyst
Image Analyst le 11 Mar 2015
Sounds right to me. Not sure why MKN isn't accepting this answer.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Modify Image Colors dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by