What is threshold value mean?

2 views (last 30 days)
Vu Trinh
Vu Trinh on 21 May 2017
Answered: Image Analyst on 31 May 2017
I have just download a code about detecting and tracking RGB colour. I saw they set the colour threshold like red Thresh = 0.25, green Thresh = 0.3 So I dont understand about these values. Why he chooses 0.25, what if I set it is 0.99. What gonna happend? Thanks for your help.
  2 Comments
MathReallyWorks
MathReallyWorks on 21 May 2017
Hello Vu Trinh,
Please attach your code. It will be easy for us to solve your problem.
Jan
Jan on 22 May 2017
@Vu Trinh: Seriously? If you do not mention, which code you are using, how could we guess, what the parameters are doing? Please explain the details.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 31 May 2017
If you change the threshold(s), I would guess that you're going to be tracking an object of a different color, or an object of a different size.

Community Treasure Hunt

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

Start Hunting!