imbinarize function do not work im2bw also does not work
31 views (last 30 days)
Show older comments
ı 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 Comments
Answers (1)
KALYAN ACHARJYA
on 30 Nov 2019
Edited: KALYAN ACHARJYA
on 30 Nov 2019
I = rgb2gray(imread('a.png'));
BW = im2bw(I, 0.4);
8 Comments
Zarwish Javaid
on 20 Jan 2021
how to install image processing toolbox?
and how to remove errors shown in below image?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!