how to obtain Binary image ?? , Image binarization
Mostrar comentarios más antiguos
Hi,
I intend to obtain the binary image. The intensity values of real image (varies from 0 to 4096) stored in the matrix, let's say 'h' . I tried to obtain the binarized images with the follwoing code, but I got some wierd image.. Do I need to play with the thresold ??
BW = imbinarize(h,'global');
imagesc(BW);
Respuestas (1)
Walter Roberson
el 15 de Dic. de 2020
imagesc uses the current colormap. After you use it
colormap(gray(2))
1 comentario
Turbulence Analysis
el 15 de Dic. de 2020
Categorías
Más información sobre Image Type Conversion en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!