Is this grayscale image?

9 views (last 30 days)
Kiha Kim
Kiha Kim on 13 Dec 2021
Answered: Walter Roberson on 13 Dec 2021
A= zeros(10,10);
B=ones(10,10);
C=[ A B A B A B A];
D=[C;C;C;C;C;C;C;C];
imshow(D)

Accepted Answer

Walter Roberson
Walter Roberson on 13 Dec 2021
Yes.
It could also be considered a black and white image.

More Answers (0)

Categories

Find more on Modify Image Colors in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!