Code

fixed const decls
authorishmal <ishmal@users.sourceforge.net>
Sat, 25 Mar 2006 16:54:49 +0000 (16:54 +0000)
committerishmal <ishmal@users.sourceforge.net>
Sat, 25 Mar 2006 16:54:49 +0000 (16:54 +0000)
src/trace/siox.cpp
src/trace/siox.h

index 876e8eb7cf48526543b02a03f98c821faabd96c7..b210606b179a3065483b01e64ac3e0a50536f279 100644 (file)
@@ -928,6 +928,21 @@ static std::vector<CLAB> createSignature(std::vector<CLAB> &input,
 
 //### NOTE: Doxygen comments are in siox-segmentator.h
 
+/** Confidence corresponding to a certain foreground region (equals one). */
+const float SioxSegmentator::CERTAIN_FOREGROUND_CONFIDENCE=1.0f;
+
+/** Confidence for a region likely being foreground.*/
+const float SioxSegmentator::FOREGROUND_CONFIDENCE=0.8f;
+
+/** Confidence for foreground or background type being equally likely.*/
+const float SioxSegmentator::UNKNOWN_REGION_CONFIDENCE=0.5f;
+
+/** Confidence for a region likely being background.*/
+const float SioxSegmentator::BACKGROUND_CONFIDENCE=0.1f;
+
+/** Confidence corresponding to a certain background reagion (equals zero). */
+const float SioxSegmentator::CERTAIN_BACKGROUND_CONFIDENCE=0.0f;
+
 
 SioxSegmentator::SioxSegmentator(int w, int h, float *limitsArg, int limitsSize)
 {
index bb955f28adebbe8d0ed410f4facc52cb130c9dac..cfb7ea19cc92523b3cdce7448674271f3dcdf179 100644 (file)
@@ -156,19 +156,19 @@ class SioxSegmentator
 public:\r
 \r
     /** Confidence corresponding to a certain foreground region (equals one). */\r
-    static const float CERTAIN_FOREGROUND_CONFIDENCE=1.0f;\r
+    static const float CERTAIN_FOREGROUND_CONFIDENCE;  //=1.0f;\r
 \r
     /** Confidence for a region likely being foreground.*/\r
-    static const float FOREGROUND_CONFIDENCE=0.8f;\r
+    static const float FOREGROUND_CONFIDENCE;  //=0.8f;\r
 \r
     /** Confidence for foreground or background type being equally likely.*/\r
-    static const float UNKNOWN_REGION_CONFIDENCE=0.5f;\r
+    static const float UNKNOWN_REGION_CONFIDENCE;  //=0.5f;\r
 \r
     /** Confidence for a region likely being background.*/\r
-    static const float BACKGROUND_CONFIDENCE=0.1f;\r
+    static const float BACKGROUND_CONFIDENCE;  //=0.1f;\r
 \r
     /** Confidence corresponding to a certain background reagion (equals zero). */\r
-    static const float CERTAIN_BACKGROUND_CONFIDENCE=0.0f;\r
+    static const float CERTAIN_BACKGROUND_CONFIDENCE;  //=0.0f;\r
 \r
 \r
     /**\r