imbinarize function do not work im2bw also does not work

4 ビュー (過去 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 Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by