00001
00029 #ifndef FourSED_h
00030 #define FourSED_h
00031
00032 #include "DistanceTransform.h"
00033
00039 class FourSED : public DistanceTransform {
00040
00041 public:
00042 FourSED ( const int xSize, const int ySize, const bool unload=true )
00043 : DistanceTransform(xSize, ySize, unload)
00044 {
00045 }
00046
00047 void doTransform ( const unsigned char* const I ) {
00048 doTransform(I, 1, 1, true);
00049 }
00050
00051 void doTransform ( const unsigned char* const I, const int dx,
00052 const int dy, const bool halfIsZero );
00053
00054 private:
00055 P *p;
00056
00057 };
00058
00059 #endif
00060
00061