채택된 답변

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개)

태그

질문:

2019년 11월 20일

댓글:

2019년 11월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by