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

6 Ansichten (letzte 30 Tage)
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,[]) ;

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 22 Mai 2015
you can use im2bw function

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by