imbinarize function do not work im2bw also does not work
Mostra commenti meno recenti
ı 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)
Risposte (1)
KALYAN ACHARJYA
il 30 Nov 2019
Modificato: KALYAN ACHARJYA
il 30 Nov 2019
I = rgb2gray(imread('a.png'));
BW = im2bw(I, 0.4);
8 Commenti
Ahsen Cakmakci
il 30 Nov 2019
KALYAN ACHARJYA
il 30 Nov 2019
Modificato: KALYAN ACHARJYA
il 30 Nov 2019
Please change the other image file and do verify?
Can you share the code and error message in larger texts (The image above is not visible)?
Ahsen Cakmakci
il 30 Nov 2019
Modificato: Ahsen Cakmakci
il 30 Nov 2019
KALYAN ACHARJYA
il 30 Nov 2019
Just type ver in the command window, then enter, it shows all Toolboxes installed, is their Image Processing Toolbox, please confirm?
>>ver
Ahsen Cakmakci
il 30 Nov 2019
KALYAN ACHARJYA
il 30 Nov 2019
Because all images functions are in image processing toolbox, this is the reason it showing the error. You have to install image processing toolbox or use Matlab platform in other system which already have image processing toolbox installed.
Ahsen Cakmakci
il 30 Nov 2019
Zarwish Javaid
il 20 Gen 2021
how to install image processing toolbox?
and how to remove errors shown in below image?

Categorie
Scopri di più su Image Processing Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
