필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Hassan Zhairabany
Hassan Zhairabany 2020년 5월 28일
댓글: Hassan Zhairabany 2020년 5월 28일
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.

채택된 답변

Image Analyst
Image Analyst 2020년 5월 28일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by