STIRA  0.1
Public Member Functions | List of all members
stira::diffusion::AnisotropicDiffusion Class Reference

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
 
ImageRun ()
 the run method of the object
 

Detailed Description

A class to compute anisotropic diffusion for more info, see http://www.cs.sfu.ca/~stella/papers/blairthesis/main/node22.html.

Constructor & Destructor Documentation

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.

Parameters
pSourceImagesource image on which to perform the diffusion

References stira::imagedata::Image::Clone(), and stira::imagedata::Image::GetImageName().

Member Function Documentation

void stira::diffusion::AnisotropicDiffusion::SetFlowFactor ( double  fc)

sets the flow constant, that regulates the strength of the diffusion

Parameters
fcthe constant to set
void stira::diffusion::AnisotropicDiffusion::SetMaxNumberOfIterations ( int  maxnr)

sets the maximum number of iterations

Parameters
maxnrthe maximum number of iterations

The documentation for this class was generated from the following files: