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

6 visualizaciones (últimos 30 días)
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,[]) ;

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 22 de Mayo de 2015
you can use im2bw function

Categorías

Más información sobre Images en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by