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

mitkFootprint1DGaussian Class Reference

mitkFootprint1DGaussian - concrete class for one dimensional footprint with Gaussian kernel More...

#include <mitkFootprint1DGaussian.h>

Inherits mitkFootprint1D.

Inheritance diagram for mitkFootprint1DGaussian:

Inheritance graph
[legend]
Collaboration diagram for mitkFootprint1DGaussian:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

mitkFootprint1DGaussian - concrete class for one dimensional footprint with Gaussian kernel

mitkFootprint1DGaussian is a concrete class to encode and decode one 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:

    mitkFootprint1DGaussian *footprint = new mitkFootprint1DGaussian;
    footprint->SetCoefficient(coeff);
    footprint->SetAdjustRadii(adjustradii);
    footprint->SetVarianceMatrix(vmatrix);
    footprint->SetRadiiSquare(rs);
    footprint->SetSampleNumber(num);
    table = footprint->EncodeFootprintTable();
    .....
    if(table)
      { value = footprint->DecodeFootprintTable(x, y); }


Constructor & Destructor Documentation

mitkFootprint1DGaussian::mitkFootprint1DGaussian  ) 
 

Constructor of the class


Member Function Documentation

float mitkFootprint1DGaussian::DecodeFootprintTable float  rs  ) 
 

Decode the footprint table.

Parameters:
rs Radii square in radial direction.
Returns:
Return the corresponding value in the footprint table.

virtual float mitkFootprint1DGaussian::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* mitkFootprint1DGaussian::EncodeFootprintTable  )  [virtual]
 

Encode the footprint table.

Returns:
Return the entry of the footprint table.

Reimplemented from mitkFootprint.

float mitkFootprint1DGaussian::GetAdjustRadii  )  [inline]
 

Get the adjust radii coefficient of Gaussian kernel.

Returns:
Return the adjust radii coefficient of Gaussian kernel.

float mitkFootprint1DGaussian::GetCoefficient  )  [inline]
 

Get the weight coefficient of Gaussian kernel.

Returns:
Return the weight coefficient of Gaussian kernel.

void mitkFootprint1DGaussian::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 mitkFootprint1DGaussian::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 mitkFootprint1D.

void mitkFootprint1DGaussian::SetAdjustRadii float  adjustradii  )  [inline]
 

Set the adjust radii coefficient of Gaussian kernel.

Parameters:
adjustradii The adjust radii coefficient of Gaussian kernel.

void mitkFootprint1DGaussian::SetCoefficient float  coeff  )  [inline]
 

Set the weight coefficient of Gaussian kernel.

Parameters:
coeff The weight coefficient of Gaussian kernel.

void mitkFootprint1DGaussian::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:46 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3