Panda3D
 All Classes Functions Variables Enumerations
arToolKit.I
1 // Filename: arToolKit.I
2 // Created by: jyelon (01Nov2007)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 ////////////////////////////////////////////////////////////////////
16 // Function: ARToolKit::set_threshold
17 // Access: private
18 // Description: As part of its analysis, the ARToolKit occasionally
19 // converts images to black and white by thresholding
20 // them. The threshold is set to 0.5 by default, but
21 // you can tweak it here.
22 ////////////////////////////////////////////////////////////////////
23 INLINE void ARToolKit::
24 set_threshold(double thresh) {
25  _threshold = thresh;
26 }
27