Azzera filtri
Azzera filtri

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

8 visualizzazioni (ultimi 30 giorni)
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,[]) ;

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 22 Mag 2015
you can use im2bw function

Categorie

Scopri di più su Images in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by