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 typedef unsigned int uint;
00012 
00013 #if defined(TGT_ERS7) || defined(TGT_ERS210) || defined(TGT_ERS220) // save memory when running onboard aibo
00014   typedef unsigned short int skindex;
00015 #else
00016   typedef unsigned int skindex;
00017 #endif
00018 
00019 enum SketchType_t {
00020   sketchUnknown = 0,
00021   sketchBool,
00022   sketchUchar,
00023   sketchUsint,
00024   sketchUint,
00025   sketchFloat,
00026   sketchYUV,
00027 };
00028 
00029 const std::string SketchTypeNames[] = {"unknown","bool","uchar","usint","uint","float"};
00030 
00031 enum ColorMapType_t {
00032   segMap = 0, // use the color segmentation table (default)
00033   grayMap = 1,  // gray scale image
00034   jetMap = 2, // Matlab-style blue to red color map
00035   jetMapScaled = 3  // blue to red map that  scales the spectrum to the image
00036 };
00037 
00038 } // namespace
00039 
00040 using DualCoding::uint;
00041 
00042 #endif

DualCoding 5.1CVS
Generated Mon May 9 04:56:28 2016 by Doxygen 1.6.3