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

ColorSegmentationAlgorithm.h

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

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