Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SketchTypes.h

Go to the documentation of this file.
00001 //-*-c++-*-
00002 #ifndef INCLUDED_SketchTypes_h
00003 #define INCLUDED_SketchTypes_h
00004 
00005 #include <string>
00006 
00007 namespace DualCoding {
00008 
00009 typedef unsigned char uchar;
00010 typedef unsigned short int usint;
00011 
00012 #if defined(TGT_ERS7) || defined(TGT_ERS2xx) || defined(TGT_ERS210) || defined(TGT_ERS220)
00013   typedef unsigned short int uint;
00014 #else
00015   typedef unsigned int uint;
00016 #endif
00017 
00018 
00019 enum SketchType_t {
00020   sketchUnknown = 0,
00021   sketchBool,
00022   sketchUchar,
00023   sketchUint,
00024   sketchFloat
00025 };
00026 
00027 const std::string SketchTypeNames[] = {"unknown","bool","uchar","uint","float"};
00028 
00029 enum ColorMapType_t {
00030   segMap = 0, // use the color segmentation table (default)
00031   grayMap = 1,  // gray scale image
00032   jetMap = 2, // Matlab-style blue to red color map
00033   jetMapScaled = 3  // blue to red map that  scales the spectrum to the image
00034 };
00035 
00036 } // namespace
00037 
00038 #endif

DualCoding 4.0
Generated Thu Nov 22 00:52:36 2007 by Doxygen 1.5.4