Effacer les filtres
Effacer les filtres

Present 0 with white pixel and 1 with black pixel in matrix

2 vues (au cours des 30 derniers jours)
Hassan Zhairabany
Hassan Zhairabany le 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.

Réponse acceptée

Image Analyst
Image Analyst le 28 Mai 2020

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by