SketchTypes.h
Go to the documentation of this file.00001
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,
00033 grayMap = 1,
00034 jetMap = 2,
00035 jetMapScaled = 3
00036 };
00037
00038 }
00039
00040 using DualCoding::uint;
00041
00042 #endif