imbinarize function do not work im2bw also does not work
2 次查看(过去 30 天)
显示 更早的评论
ı am trying to get an image in the binary form but the funtions for it doesn't work.
ı tried both imbinarize and im2bw.
I = imread('a.png');
BW = im2bw(I, 0.4);
figure
imshow(I)
0 个评论
回答(1 个)
KALYAN ACHARJYA
2019-11-30
编辑:KALYAN ACHARJYA
2019-11-30
I = rgb2gray(imread('a.png'));
BW = im2bw(I, 0.4);
8 个评论
Zarwish Javaid
2021-1-20
how to install image processing toolbox?
and how to remove errors shown in below image?

另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!