DLBlur.h

Go to the documentation of this file.
00001 #ifndef _DLBlur_H_
00002 #define _DLBlur_H_
00003 
00004 #include "DLImage.h"
00005 #include "DLPoint.h"
00006 #include "DLBitsPerPixelConverter.h"
00007 
00008 #include <cmath>
00009 
00013 class DLBlur
00014 {
00015    public:
00020    DLBlur();
00021 
00025    ~DLBlur();
00052    static DLImage dlBlur ( const DLImage & in, int numberOfTimes = 1 );
00053 
00104    DLImage dlBinaryHorizontalBlur ( const DLImage & in, int thresholdValue, bool reload = false );
00105 
00112    DLImage dlBinaryHorizontalBlur ( int thresholdValue );
00113 
00114 
00115    private:
00116         
00122    void dlHorizontalBlurLoad ( const DLImage & inputImage );
00123 
00124    float *distanceRep;
00125 
00129    int *distanceRepHistogram;
00130 
00132    int _imageWidth;
00133 
00135    int _imageHeight;
00136 
00137 };//end class
00138 
00139 #endif //_DLBlur_H_

DOCLIB is being developed under contract by a collaboration between:
The Laboratory for Language and Media Processing
Unviersity of Maryland, College Park
and
Booz | Allen | Hamilton

All Rights Reserved, 2003-2007