STIRA
0.1
|
A class to estimate blur using method of Hu and de Haan References: - "Low Cost Robust Blur estimator". H. Hu and G. De Haan in IEEE ICIP 2006, Oct. 8-11, 2006, Atlanta (GA), pp. 617-620. More...
#include <BlurEstimatorHu.h>
Public Member Functions | |
BlurEstimatorHu () | |
Constructor. | |
~BlurEstimatorHu () | |
Destructor. | |
double | GetSigmaA () |
gets smallest reblur sigma value | |
void | SetSigmaA (double sigmaA) |
sets smallest reblur sigma value More... | |
double | GetSigmaB () |
gets largest reblur sigma value | |
void | SetSigmaB (double sigmaB) |
sets largest reblur sigma value More... | |
double | Run (ArrayGrid< double > *pGrid) |
gets the sigma of the blur for the given grid More... | |
A class to estimate blur using method of Hu and de Haan References: - "Low Cost Robust Blur estimator". H. Hu and G. De Haan in IEEE ICIP 2006, Oct. 8-11, 2006, Atlanta (GA), pp. 617-620.
double stira::degradationestimation::BlurEstimatorHu::Run | ( | ArrayGrid< double > * | pGrid | ) |
gets the sigma of the blur for the given grid
pGrid | the grid for which to determine the blur |
References stira::imagedata::ArrayGrid< T >::Clone(), stira::filter::GaussConvolve::Convolve(), stira::imagedata::ArrayGrid< T >::GetHeight(), stira::imagedata::ArrayGrid< T >::GetValue(), stira::imagedata::ArrayGrid< T >::GetWidth(), stira::imagetools::ImageIO::NORMAL_OUT, stira::imagetools::ImageIO::NULL_OUT, stira::imagedata::ArrayGrid< T >::SetValue(), and stira::imagetools::ImageIO::WritePGM().
void stira::degradationestimation::BlurEstimatorHu::SetSigmaA | ( | double | sigmaA | ) |
sets smallest reblur sigma value
sigmaA | smallest reblur sigma value |
void stira::degradationestimation::BlurEstimatorHu::SetSigmaB | ( | double | sigmaB | ) |
sets largest reblur sigma value
sigmaB | largest reblur sigma value |