00001 #ifndef _DLPolar_H_ 00002 #define _DLPolar_H_ 00003 00004 #include "DLImage.h" 00005 #include "DLPoint.h" 00006 #include "DLBitsPerPixelConverter.h" 00007 00008 #include <cmath> 00009 00016 class DLPolar 00017 { 00018 public: 00023 DLPolar(); 00024 00028 virtual ~DLPolar(); 00048 static DLImage dlPolarImage ( const DLImage & in, bool flag = true ); 00049 00050 private: 00051 00052 static DLImage dlPolarImageBinary ( DLImage &, bool flag = true ); 00053 static DLImage dlPolarImageColor ( DLImage &, bool flag = true ); 00054 00055 static DLImage dlPolarImageGray ( DLImage &, bool flag = true ); 00056 static DLImage dlPolarImageGray( DLImage & in, DLPoint centroid, double rmax); 00057 00058 };//end class 00059 00060 #endif //_DLPolar_H_