00001 #ifndef __ARMultiScaleImGenerator__ 00002 #define __ARMultiScaleImGenerator__ 00003 00004 00005 00029 #include "RImage.hpp" 00030 #include "RMultiScaleImage.hpp" 00031 00032 class ARMultiScaleImGenerator 00033 { 00034 protected: 00035 00036 int channel; 00037 00038 double scale; 00039 int maxLevels; 00040 00041 int filler; 00042 00043 public: 00044 00045 ARMultiScaleImGenerator( int levels=4, double scales=0.5, bool filled=true) 00046 { maxLevels= levels; scale=scales; filler= filled; } 00047 virtual ~ARMultiScaleImGenerator(){} 00048 00049 void setInputChannel(int ch=0){channel=ch;} 00050 void setNumberOfLevels(int lvls=4){maxLevels=lvls;} 00051 void setScale(double myscales=0.5){scale= myscales;} 00052 00053 virtual RMultiScaleImage* generate(RImage* src, RMultiScaleImage* dest=0)=0; 00054 }; 00055 00056 #endif