summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41629a7)
raw | patch | inline | side by side (parent: 41629a7)
author | ishmal <ishmal@users.sourceforge.net> | |
Sat, 25 Mar 2006 16:54:49 +0000 (16:54 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sat, 25 Mar 2006 16:54:49 +0000 (16:54 +0000) |
src/trace/siox.cpp | patch | blob | history | |
src/trace/siox.h | patch | blob | history |
diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp
index 876e8eb7cf48526543b02a03f98c821faabd96c7..b210606b179a3065483b01e64ac3e0a50536f279 100644 (file)
--- a/src/trace/siox.cpp
+++ b/src/trace/siox.cpp
//### 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)
{
diff --git a/src/trace/siox.h b/src/trace/siox.h
index bb955f28adebbe8d0ed410f4facc52cb130c9dac..cfb7ea19cc92523b3cdce7448674271f3dcdf179 100644 (file)
--- a/src/trace/siox.h
+++ b/src/trace/siox.h
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