What is an image with values one and 255 only called?

1 次查看(过去 30 天)
What is an image with values one and 255 only called?

回答(2 个)

Walter Roberson
Walter Roberson 2015-8-20
"bi-level".
Sometimes "binary" images are represented that way.

John D'Errico
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
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 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