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

Implementation of noise following a rician distribution. More...

#include <mitkRicianNoiseModel.h>

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

Public Types

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

Public Member Functions

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

Protected Attributes

itk::Statistics::MersenneTwisterRandomVariateGenerator::Pointer m_RandGen
 
double m_NoiseVariance
 variance of underlying distribution More...
 

Detailed Description

template<class ScalarType>
class mitk::RicianNoiseModel< ScalarType >

Implementation of noise following a rician distribution.

Definition at line 31 of file mitkRicianNoiseModel.h.

Member Typedef Documentation

Definition at line 38 of file mitkRicianNoiseModel.h.

Constructor & Destructor Documentation

template<class ScalarType >
RicianNoiseModel::RicianNoiseModel ( )

Definition at line 23 of file mitkRicianNoiseModel.cpp.

References mitk::New().

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

Definition at line 31 of file mitkRicianNoiseModel.cpp.

Member Function Documentation

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

Adds rician noise to the input pixel

Implements mitk::DiffusionNoiseModel< ScalarType >.

Definition at line 46 of file mitkRicianNoiseModel.cpp.

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

Set seed for random number generator.

Implements mitk::DiffusionNoiseModel< ScalarType >.

Definition at line 37 of file mitkRicianNoiseModel.cpp.

Member Data Documentation

template<class ScalarType >
double mitk::RicianNoiseModel< ScalarType >::m_NoiseVariance
protected
template<class ScalarType >
itk::Statistics::MersenneTwisterRandomVariateGenerator::Pointer mitk::RicianNoiseModel< ScalarType >::m_RandGen
protected

Definition at line 49 of file mitkRicianNoiseModel.h.


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