Page 1 of 1

have no effects after changing minimum threshold

Posted: Sun Mar 22, 2009 11:28 pm
by xwy8187
Hi, guys.

Currently we want to change the minumum threshold in Optitrack.h to enable objects with lower light intensity to be captured.

So I changed NP_THRESHOLD_MIN from 1 to 0.001 or even smaller values, it didn't work.

Actually I found it is no use to change the value. all the same.

How come?

Thanks for whoever answer me.

Re: have no effects after changing minimum threshold

Posted: Mon Mar 23, 2009 2:04 am
by Birch
There are two settings you can use to allow darker objects to be detected.

* You can lower NP_OPTION_THRESHOLD to accept darker objects.

* You can also increase the exposure time NP_OPTION_EXPOSURE to make darker objects appear brighter.

The both accept only integer values. SetOption() will reject floating point values for them. The functional minimum value for both is 1, check the docs for their max values.

You can check the C++ VC8/2005 sample's camera options page for examples of how to adjust them.