Database class that registers the marker templates to detect.[Details]
#include <narMarkerDatabase.h>
List of All Members
Description
Database class that registers the marker templates to detect.
Constructors and Destructors
mw::nar::MarkerDatabase_cl::MarkerDatabase_cl |
( |
f32 |
th = 0.5f |
) |
[inline] |
- Argument:
-
| th | Threshold value for determining a marker.(-1.0 - 1.0) |
When an image is similar to a marker, the relatedness approaches 1.0. You can thus check strictly for relatedness by setting the threshold closer to 1.0.
Functions
Registers a marker template.
- Return values:
-
| true | Registration succeeded. |
| false | Registration failed. Registration will fail when the number of registered items reaches the maximum value for an unsigned long . |
void mw::nar::MarkerDatabase_cl::SetThreshold |
( |
f32 |
th |
) |
[inline] |
- Argument:
-
| th | Threshold value for determining whether the image is a marker. Use larger values (min: -1.0, max: 1.0) for stricter checks. 0.0 indicates no association; -1.0 indicates inverse. |
Unregisters a marker template.
- Return values:
-
| true | Unregistered. |
| false | The specified template was not found in the database. |
This class description was generated from the following file.