Present 0 with white pixel and 1 with black pixel in matrix
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hassan Zhairabany
am 28 Mai 2020
Kommentiert: Hassan Zhairabany
am 28 Mai 2020
Hello,
I have a matrix A, with elements are 0 or 1,
how to tell
imshow(); function
to represent 0 value with a while pixel and 1 value with a black pixel ?
when I use imshow(A); only. Sometimes I had like want I want, and sometimes I had the inverse.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!