Give me some help to solve this problem ?

1 visualizzazione (ultimi 30 giorni)
This is not work! Why ?????
Screen Shot 2019-11-21 at 01.01.34.png

Risposta accettata

Erivelton Gualter
Erivelton Gualter il 20 Nov 2019
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 Commenti
Ulzii Bayar
Ulzii Bayar il 20 Nov 2019
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 il 20 Nov 2019
Here is more information about imbinarize.
Basically, it is a contanst value from 0 to 1 used when converting to binary image.

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by