Binary image conversion from real image
古いコメントを表示
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 ??.. In my binarized image, I am seeing any subject, instead it's just blank / white image..
BW = imbinarize(h,'global');
imshow (BW);
採用された回答
その他の回答 (1 件)
Matt Gaidica
2020 年 12 月 16 日
Are you perhaps looking for:
BW = im2bw(h);
カテゴリ
ヘルプ センター および File Exchange で Display and Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!