Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

ColorSegmentationInvariant.h

Go to the documentation of this file.
00001 #ifndef Impala_Core_Array_ColorSegmentationInvariant_h
00002 #define Impala_Core_Array_ColorSegmentationInvariant_h
00003 
00004 #include <string>
00005 
00006 namespace Impala
00007 {
00008 namespace Core
00009 {
00010 namespace Array
00011 {
00012 
00013 
00014 enum ColorSegmentationInvariant
00015 {
00016     E,
00017     W,
00018     C,
00019     Ci
00020 };
00021 
00022 } // namespace Array
00023 } // namespace Core
00024 
00025 
00026 namespace Util
00027 {
00028 
00029 inline std::string
00030 MakeString(Impala::Core::Array::ColorSegmentationInvariant inv)
00031 {
00032     if (inv == Impala::Core::Array::E)
00033         return std::string("E");
00034     if (inv == Impala::Core::Array::W)
00035         return std::string("W");
00036     if (inv == Impala::Core::Array::C)
00037         return std::string("C");
00038     return std::string("Ci");
00039 }
00040 
00041 } // namespace Util
00042 
00043 } // namespace Impala
00044 
00045 #endif

Generated on Fri Mar 19 09:30:44 2010 for ImpalaSrc by  doxygen 1.5.1