Chamfer2D_7x7.h

Go to the documentation of this file.
00001 
00029 #ifndef Chamfer2D_7x7_h
00030 #define Chamfer2D_7x7_h
00031 
00032 #include "DistanceTransform.h"
00033 //----------------------------------------------------------------------
00035 class Chamfer2D_7x7 : public DistanceTransform {
00036 
00037 public:
00038     Chamfer2D_7x7 ( const int xSize, const int ySize, const bool unload=true )
00039         : DistanceTransform(xSize, ySize, unload)
00040     {
00041     }
00042 
00047     void doTransform ( const unsigned char* const I ) {
00048         doTransform(I, 12, 17, 27, 38, 43, true);
00049     }
00050 
00051     void doTransform ( const unsigned char* const I,
00052         const int A, const int B, const int C, const int D, const int E,
00053         const bool halfIsZero );
00054 
00055 private:
00056     void borderCheck ( const unsigned char* const I );
00057 
00058 };
00059 
00060 #endif
00061 //----------------------------------------------------------------------
00062 

Generated on Thu Jan 12 10:28:41 2006 by  doxygen 1.4.5