have no effects after changing minimum threshold

Post Reply
xwy8187
Posts: 6
Joined: Fri Mar 13, 2009 1:58 am

have no effects after changing minimum threshold

Post 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.
Birch
Posts: 1139
Joined: Thu Jan 30, 2003 5:00 am
Location: Corvallis, Oregon

Re: have no effects after changing minimum threshold

Post 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.
Post Reply