Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ChiSquareNoiseModel< ScalarType > Class Template Reference

Implementation of noise following a chi-squared distribution. More...

#include <mitkChiSquareNoiseModel.h>

Inheritance diagram for mitk::ChiSquareNoiseModel< ScalarType >:
Collaboration diagram for mitk::ChiSquareNoiseModel< ScalarType >:

Public Types

typedef DiffusionNoiseModel< ScalarType >::PixelType PixelType
 
- Public Types inherited from mitk::DiffusionNoiseModel< ScalarType >
typedef itk::VariableLengthVector< ScalarTypePixelType
 

Public Member Functions

 ChiSquareNoiseModel ()
 
 ~ChiSquareNoiseModel ()
 
void AddNoise (PixelType &pixel)
 
void SetNoiseVariance (double var)
 
double GetNoiseVariance ()
 
void SetSeed (int seed)
 seed for random number generator More...
 
- Public Member Functions inherited from mitk::DiffusionNoiseModel< ScalarType >
 DiffusionNoiseModel ()
 
virtual ~DiffusionNoiseModel ()
 

Protected Attributes

boost::random::mt19937 m_RandGen
 
boost::random::chi_squared_distribution< double > m_Distribution
 

Detailed Description

template<class ScalarType>
class mitk::ChiSquareNoiseModel< ScalarType >

Implementation of noise following a chi-squared distribution.

Definition at line 31 of file mitkChiSquareNoiseModel.h.

Member Typedef Documentation

Definition at line 38 of file mitkChiSquareNoiseModel.h.

Constructor & Destructor Documentation

template<class ScalarType >
ChiSquareNoiseModel::ChiSquareNoiseModel ( )

Definition at line 23 of file mitkChiSquareNoiseModel.cpp.

template<class ScalarType >
ChiSquareNoiseModel::~ChiSquareNoiseModel ( )

Definition at line 29 of file mitkChiSquareNoiseModel.cpp.

Member Function Documentation

template<class ScalarType >
void ChiSquareNoiseModel::AddNoise ( PixelType pixel)
virtual

Adds rician noise to the input pixel

Implements mitk::DiffusionNoiseModel< ScalarType >.

Definition at line 44 of file mitkChiSquareNoiseModel.cpp.

template<class ScalarType >
double mitk::ChiSquareNoiseModel< ScalarType >::GetNoiseVariance ( )
inlinevirtual
template<class ScalarType >
void mitk::ChiSquareNoiseModel< ScalarType >::SetNoiseVariance ( double  var)
inlinevirtual
template<class ScalarType >
void ChiSquareNoiseModel::SetSeed ( int  seed)
virtual

seed for random number generator

Implements mitk::DiffusionNoiseModel< ScalarType >.

Definition at line 35 of file mitkChiSquareNoiseModel.cpp.

Member Data Documentation

template<class ScalarType >
boost::random::chi_squared_distribution<double> mitk::ChiSquareNoiseModel< ScalarType >::m_Distribution
protected
template<class ScalarType >
boost::random::mt19937 mitk::ChiSquareNoiseModel< ScalarType >::m_RandGen
protected

Definition at line 49 of file mitkChiSquareNoiseModel.h.


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