필터 지우기
필터 지우기

How do i display the binary matrix of an image in the command window?

조회 수: 8 (최근 30일)
Yashlin Naidoo
Yashlin Naidoo 2015년 5월 22일
답변: Azzi Abdelmalek 2015년 5월 22일
I need to display the binary matrix of a binary image in the command window. My code is below;
input_file='untitled.bmp' ;
img_wk=imread(input_file) ;
figure(1),imshow(img_wk,[]) ;

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2015년 5월 22일
you can use im2bw function

카테고리

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