00001 /******************************************************************************* 00002 * ColorImageUV8.h 00003 * 00004 * (C) 2006 AG Aktives Sehen <agas@uni-koblenz.de> 00005 * Universitaet Koblenz-Landau 00006 * 00007 * Additional information: 00008 * $Id: ColorImageUV8.h 44313 2011-04-06 22:46:28Z agas $ 00009 *******************************************************************************/ 00010 00011 #ifndef ColorImageUV8_H 00012 #define ColorImageUV8_H 00013 00014 #include <limits.h> 00015 00016 #include "ImageSuperClasses.h" 00017 #include "MultiElementImage.h" 00018 00019 namespace puma2 { 00020 00021 typedef unsigned char byte; 00022 00027 class ColorImageUV8 : 00028 public MultiElementImage<byte,2> 00029 { 00030 public: 00031 00035 ColorImageUV8(int x = 0, int y = 0); 00036 00037 ColorImageUV8(int x, int y, ColorImageUV8 * m, int xo, int yo); 00038 00046 void assign(int x, int y, int u, int v); 00047 00048 /* 00049 void operator= (const ColorImageUV8 & o); 00050 */ 00051 00053 double getElementTypeMinimum() const { return 0.0; }; 00054 00056 double getElementTypeMaximum() const { return UCHAR_MAX; }; 00057 00058 protected: 00059 void reset(); 00060 }; 00061 00062 } 00063 #endif