STIRA
0.1
|
A class to compute anisotropic diffusion for more info, see http://www.cs.sfu.ca/~stella/papers/blairthesis/main/node22.html. More...
#include <AnisotropicDiffusion.h>
Public Member Functions | |
AnisotropicDiffusion (Image *pSourceImage) | |
Constructor. A clone is made of the source image, which is returned after processing, leaving the source data intact The returned object becomes the responsability of the caller to delete. More... | |
~AnisotropicDiffusion () | |
Destructor. | |
void | SetFlowFactor (double fc) |
sets the flow constant, that regulates the strength of the diffusion More... | |
double | GetFlowFactor () |
gets the flow constant, that regulates the strength of the diffusion | |
void | SetMaxNumberOfIterations (int maxnr) |
sets the maximum number of iterations More... | |
int | GetMaxNumberOfIterations () |
gets the maximum number of iterations | |
Image * | Run () |
the run method of the object | |
A class to compute anisotropic diffusion for more info, see http://www.cs.sfu.ca/~stella/papers/blairthesis/main/node22.html.
stira::diffusion::AnisotropicDiffusion::AnisotropicDiffusion | ( | Image * | pSourceImage | ) |
Constructor. A clone is made of the source image, which is returned after processing, leaving the source data intact The returned object becomes the responsability of the caller to delete.
pSourceImage | source image on which to perform the diffusion |
References stira::imagedata::Image::Clone(), and stira::imagedata::Image::GetImageName().
void stira::diffusion::AnisotropicDiffusion::SetFlowFactor | ( | double | fc | ) |
sets the flow constant, that regulates the strength of the diffusion
fc | the constant to set |
void stira::diffusion::AnisotropicDiffusion::SetMaxNumberOfIterations | ( | int | maxnr | ) |
sets the maximum number of iterations
maxnr | the maximum number of iterations |