Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkFootprint2DGaussian Class Reference

mitkFootprint2DGaussian - concrete class for two dimensional footprint with Gaussian kernel More...

#include <mitkFootprint2DGaussian.h>

Inherits mitkFootprint2D.

Inheritance diagram for mitkFootprint2DGaussian:

Inheritance graph
[legend]
Collaboration diagram for mitkFootprint2DGaussian:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
 mitkFootprint2DGaussian ()
void SetCoefficient (float coeff)
void SetVarianceMatrix (float vmatrix[4])
void SetAdjustRadii (float adjustradii)
float GetCoefficient ()
void GetVarianceMatrix (float vmatrix[4])
float GetAdjustRadii ()
virtual float * EncodeFootprintTable ()
virtual float DecodeFootprintTable (float x, float y)

Detailed Description

mitkFootprint2DGaussian - concrete class for two dimensional footprint with Gaussian kernel

mitkFootprint2DGaussian is a concrete class to encode and decode two dimensional footprint table using Gaussian kernel. The Gaussian footprint function is as follows: footprint(x,y) = coeff * exp{-[(x,y) * F^(-1) * (x,y)']/adjustradii} , where "coeff" is the weight coefficient, adjustradii is the adjust radii coefficient, _ _ | vmatrix[0] vmatrix[2] | and "F" is the variance matrix = | | |_ vmatrix[1] vmatrix[3] _| the code snippet to use this class is:

    mitkFootprint2DGaussian *footprint = new mitkFootprint2DGaussian;
    footprint->SetCoefficient(coeff);
    footprint->SetAdjustRadii(adjustradii);
    footprint->SetVarianceMatrix(vmatrix);
    footprint->SetExtent(ex, ey);
    footprint->SetSampleNumber(numx, numy);
    table = footprint->EncodeFootprintTable();
    .....
    if(table)
      { value = footprint->DecodeFootprintTable(x, y); }


Constructor & Destructor Documentation

mitkFootprint2DGaussian::mitkFootprint2DGaussian  ) 
 

Constructor of the class


Member Function Documentation

virtual float mitkFootprint2DGaussian::DecodeFootprintTable float  x,
float  y
[virtual]
 

Decode the footprint table.

Parameters:
x Coordinate value in horizon axis.
y Coordinate value in vertical axis.
Returns:
Return the corresponding value in the footprint table.

Reimplemented from mitkFootprint.

virtual float* mitkFootprint2DGaussian::EncodeFootprintTable  )  [virtual]
 

Encode the footprint table.

Returns:
Return the entry of the footprint table.

Reimplemented from mitkFootprint.

float mitkFootprint2DGaussian::GetAdjustRadii  )  [inline]
 

Get the adjust radii coefficient of Gaussian kernel.

Returns:
Return the adjust radii coefficient of Gaussian kernel.

float mitkFootprint2DGaussian::GetCoefficient  )  [inline]
 

Get the weight coefficient of Gaussian kernel.

Returns:
Return the weight coefficient of Gaussian kernel.

void mitkFootprint2DGaussian::GetVarianceMatrix float  vmatrix[4]  ) 
 

Get the variance matrix of Gaussian kernel.

Parameters:
vmatrix[0] Element of variance matrix at (row, column) = (0, 0).
vmatrix[1] Element of variance matrix at (row, column) = (1, 0).
vmatrix[2] Element of variance matrix at (row, column) = (0, 1).
vmatrix[3] Element of variance matrix at (row, column) = (1, 1).

virtual void mitkFootprint2DGaussian::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkFootprint2D.

void mitkFootprint2DGaussian::SetAdjustRadii float  adjustradii  )  [inline]
 

Set the adjust radii coefficient of Gaussian kernel.

Parameters:
adjustradii The adjust radii coefficient of Gaussian kernel.

void mitkFootprint2DGaussian::SetCoefficient float  coeff  )  [inline]
 

Set the weight coefficient of Gaussian kernel.

Parameters:
coeff The weight coefficient of Gaussian kernel.

void mitkFootprint2DGaussian::SetVarianceMatrix float  vmatrix[4]  ) 
 

Set the variance matrix of Gaussian kernel.

Parameters:
vmatrix[0] Element of variance matrix at (row, column) = (0, 0).
vmatrix[1] Element of variance matrix at (row, column) = (1, 0).
vmatrix[2] Element of variance matrix at (row, column) = (0, 1).
vmatrix[3] Element of variance matrix at (row, column) = (1, 1).


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:02:48 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3