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

6 vues (au cours des 30 derniers jours)
Yashlin Naidoo
Yashlin Naidoo le 22 Mai 2015
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,[]) ;

Réponses (1)

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

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by