Give me some help to solve this problem ?

 採用された回答

Erivelton Gualter
Erivelton Gualter 2019 年 11 月 20 日

1 投票

First, your code shows two different variables: BW and bw.
Also, you might adjust the binarization with some threshold.
BW = imbinarize(I, T); % T is the constant threshold value.

2 件のコメント

Ulzii Bayar
Ulzii Bayar 2019 年 11 月 20 日
Thank, you so much your answer :) First time ,I write code in matlab.I have one question.What is the threshold ?
Erivelton Gualter
Erivelton Gualter 2019 年 11 月 20 日
Here is more information about imbinarize.
Basically, it is a contanst value from 0 to 1 used when converting to binary image.

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by