imbinarize function do not work im2bw also does not work

조회 수: 6 (최근 30일)
Ahsen Cakmakci
Ahsen Cakmakci 2019년 11월 30일
댓글: Zarwish Javaid 2021년 1월 20일
ı 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)

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 11월 30일
편집: KALYAN ACHARJYA 2019년 11월 30일
I = rgb2gray(imread('a.png'));
BW = im2bw(I, 0.4);
  댓글 수: 8
Ahsen Cakmakci
Ahsen Cakmakci 2019년 11월 30일
ı 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 2021년 1월 20일
how to install image processing toolbox?
and how to remove errors shown in below image?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by