imbinarize function do not work im2bw also does not work

31 visualizaciones (últimos 30 días)
Ahsen Cakmakci
Ahsen Cakmakci el 30 de Nov. de 2019
Comentada: Zarwish Javaid el 20 de En. de 2021
ı 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)

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 30 de Nov. de 2019
Editada: KALYAN ACHARJYA el 30 de Nov. de 2019
I = rgb2gray(imread('a.png'));
BW = im2bw(I, 0.4);
  8 comentarios
Ahsen Cakmakci
Ahsen Cakmakci el 30 de Nov. de 2019
ı am so sorry for bothering so much but as ı have said before ı cannot install it when ı try ı get an error that says something unexpected happened.
Zarwish Javaid
Zarwish Javaid el 20 de En. de 2021
how to install image processing toolbox?
and how to remove errors shown in below image?

Iniciar sesión para comentar.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by