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