필터 지우기
필터 지우기

Grayscale, monochrome, binary image in matlab

조회 수: 3 (최근 30일)
MKN
MKN 2015년 2월 14일
댓글: Image Analyst 2015년 3월 11일
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
Geoff Hayes
Geoff Hayes 2015년 2월 14일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Guillaume
Guillaume 2015년 2월 14일
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
Image Analyst
Image Analyst 2015년 3월 11일
Sounds right to me. Not sure why MKN isn't accepting this answer.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modify Image Colors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by