Present 0 with white pixel and 1 with black pixel in matrix
    2 次查看(过去 30 天)
  
       显示 更早的评论
    
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

