STIRA
0.1
|
non-local means filter More...
#include <NonLocalMeansFilter.h>
Public Member Functions | |
NonLocalMeansFilter (int size=7) | |
constructor More... | |
~NonLocalMeansFilter () | |
destructor | |
void | SetBlockSize (int size) |
sets block size More... | |
int | GetBlockSize () |
gets block size | |
void | SetSigma (double sigma) |
sets sigma of the Gaussian weight function to be applied within the window More... | |
double | GetSigma () |
gets sigma of the Gaussian weight function to be applied within the window | |
Image * | Run (Image *pImageIn) |
runs non-local means filter More... | |
non-local means filter
Experimental version; last satisfactory tested version 22 september 2009
Reference: "A non-local algorithm for image denoising" Buades, A. and Coll, B. and Morel, J.-M. Computer Vision and Pattern Recognition, 2005. CVPR 2005. Volume: 2, pages: 60- 65 vol. 2 http://dmi.uib.es/~abuades/nlmeanscode.html (planned but not yet implemented) "An improved non-local means algorithm for image denoising", Goossens, B. and Luong, H.Q. and Pizurica, A. and Philips, W., 2008 International Workshop on Local and Non-Local Approximation in Image Processing (LNLA2008), Lausanne, Switzerland, Aug. 25-29
stira::filter::NonLocalMeansFilter::NonLocalMeansFilter | ( | int | size = 7 | ) |
constructor
size | filter window size to consider |
runs non-local means filter
pImageIn | Image to filter |
References stira::imagedata::Image::Clone(), stira::imagedata::Image::CopyImageValues(), stira::imagetools::ImageTools::CropBorder(), stira::imagedata::Image::GetBands(), stira::imagedata::Image::GetHeight(), stira::imagedata::Image::GetImageName(), stira::imagedata::Image::GetNumberOfBands(), stira::imagedata::Image::GetWidth(), stira::imagetools::ImageTools::MirrorBorder(), and stira::imagedata::Image::SetImageName().
void stira::filter::NonLocalMeansFilter::SetBlockSize | ( | int | size | ) |
sets block size
size | filter window size to consider |
void stira::filter::NonLocalMeansFilter::SetSigma | ( | double | sigma | ) |
sets sigma of the Gaussian weight function to be applied within the window
sigma | sigma of the Gaussian weight function to be applied |