What is an image with values one and 255 only called?
조회 수: 1 (최근 30일)
이전 댓글 표시
What is an image with values one and 255 only called?
댓글 수: 0
답변 (2개)
John D'Errico
2015년 8월 20일
편집: John D'Errico
2015년 8월 20일
I'm not at all sure why you would have stopped at 1 for the low level pixel, since it s 0 that would represent black.
ASSUMING that your image is a one channel image, this is a binary (two-level or bilevel) image, thus composed of only (almost) black and white pixels. If the image has three channels, and you can have any combination of the colors:
[ 0 0 0;
0 0 255;
0 255 0;
0 255 255;
255 0 0;
255 0 255;
255 255 0;
255 255 255]
for any given pixel, then this would be an image composed of the primary and secondary colors, at their maximum values.
댓글 수: 2
Walter Roberson
2015년 8월 21일
When you have an image with two colors, the colors are not necessarily black and white. For example you can have an image created from pink and green.
The "primary" color in that case would be the color that occurs more often than the other color, and the "secondary" color would be the one that occurs less.
참고 항목
카테고리
Help Center 및 File Exchange에서 Modify Image Colors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!