$search
00001 00005 #ifndef P_DEFINITIONS_HH 00006 #define P_DEFINITIONS_HH 00007 00008 #pragma once 00009 00010 #include <blort/Recognizer3D/PNamespace.hh> 00011 00012 //for debugging 00013 //#define DEBUG 00014 00015 #define NUM_THREADS 2 00016 00017 00018 00019 namespace P 00020 { 00021 00022 class Def 00023 { 00024 public: 00025 static const int DO_MAX_RANSAC_TRIALS; 00026 static const int DO_MATCHER; //0 = use match second nearest match, 1=threshold, 2=gpu 00027 static const float DO_MIN_DESC_DIST; // descriptor distance for object detection 00028 static const double DO_RANSAC_ETA0; //failure probability 00029 static const double DO_RANSAC_INL_DIST; //1.; 00030 static const float DO_CLUSTER_SIGMA_THR; // cluster threshold for codebook 00031 static const double DO_TIME_MEAN; 00032 static const double DISTANCE_RATIO; // least squares is only accepted if pose does not change very much 00033 }; 00034 00035 } 00036 #endif