What is threshold value mean?

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

Hello Vu Trinh,
Please attach your code. It will be easy for us to solve your problem.
@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.

Asked:

on 21 May 2017

Answered:

on 31 May 2017

Community Treasure Hunt

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

Start Hunting!