Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions

cmtk::TypedArrayNoiseEstimatorBrummer Class Reference

Estimate noise level in data stored in a TypedArray. More...

#include <cmtkTypedArrayNoiseEstimatorBrummer.h>

Inheritance diagram for cmtk::TypedArrayNoiseEstimatorBrummer:
Inheritance graph
[legend]
Collaboration diagram for cmtk::TypedArrayNoiseEstimatorBrummer:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
TypedArrayNoiseEstimatorBrummer 
Self
 This class.
typedef
TypedArrayNoiseEstimatorNaiveGaussian 
Superclass
 Base class.

Public Member Functions

 TypedArrayNoiseEstimatorBrummer (const TypedArray *data, const size_t histogramBins=255)
 Constructor.

Protected Member Functions

 TypedArrayNoiseEstimatorBrummer ()
 Default constructor; should not be invoked by user code.

Static Protected Member Functions

static double SijbersBiasHat (const Histogram< unsigned int >::SmartPtr histogram, const double sigmaHat, const int numBinsToUse)
 Compute bias in an ML noise estimate.
static double SijbersLogLikelihood (const Histogram< unsigned int >::SmartPtr histogram, const double sigma, const int numBinsToUse)
 Compute the log-likelihood for the ML noise estimate.
static double SijbersVarHat (const Histogram< unsigned int >::SmartPtr histogram, const double sigmaHat, const int numBinsToUse)
 Compute variance of an ML noise estimate.
static double EstimateNumBinsToUse (const TypedArray *data, const Histogram< unsigned int >::SmartPtr histogram, const double sigmaHat)
 Figure out how many bins to use in ML noise estimate.

Detailed Description

Estimate noise level in data stored in a TypedArray.

Estimate Rician noise variance using Brummer's method.

Author:
Mike Hasak

Definition at line 45 of file cmtkTypedArrayNoiseEstimatorBrummer.h.


Member Typedef Documentation

Base class.

Reimplemented in cmtk::TypedArrayNoiseEstimatorMaximumLikelihood.

Definition at line 55 of file cmtkTypedArrayNoiseEstimatorBrummer.h.


Constructor & Destructor Documentation

cmtk::TypedArrayNoiseEstimatorBrummer::TypedArrayNoiseEstimatorBrummer ( const TypedArray data,
const size_t  histogramBins = 255 
)
cmtk::TypedArrayNoiseEstimatorBrummer::TypedArrayNoiseEstimatorBrummer (  ) [inline, protected]

Default constructor; should not be invoked by user code.

Definition at line 62 of file cmtkTypedArrayNoiseEstimatorBrummer.h.


Member Function Documentation

double cmtk::TypedArrayNoiseEstimatorBrummer::EstimateNumBinsToUse ( const TypedArray data,
const Histogram< unsigned int >::SmartPtr  histogram,
const double  sigmaHat 
) [static, protected]

Figure out how many bins to use in ML noise estimate.

Section 2.3.1 from Sijbers et al, 2007

Definition at line 289 of file cmtkTypedArrayNoiseEstimatorBrummer.cxx.

References cmtk::Histogram< T >::GetNumBins().

double cmtk::TypedArrayNoiseEstimatorBrummer::SijbersBiasHat ( const Histogram< unsigned int >::SmartPtr  histogram,
const double  sigmaHat,
const int  numBinsToUse 
) [static, protected]

Compute bias in an ML noise estimate.

Eq. 26 from Sijbers et al, 2007

Definition at line 147 of file cmtkTypedArrayNoiseEstimatorBrummer.cxx.

References cmtk::HistogramBase::BinToValue(), and cmtk::Histogram< T >::GetNumBins().

double cmtk::TypedArrayNoiseEstimatorBrummer::SijbersLogLikelihood ( const Histogram< unsigned int >::SmartPtr  histogram,
const double  sigma,
const int  numBinsToUse 
) [static, protected]

Compute the log-likelihood for the ML noise estimate.

Eq. 26 from Sijbers et al, 2007

Definition at line 237 of file cmtkTypedArrayNoiseEstimatorBrummer.cxx.

References cmtk::HistogramBase::BinToValue().

double cmtk::TypedArrayNoiseEstimatorBrummer::SijbersVarHat ( const Histogram< unsigned int >::SmartPtr  histogram,
const double  sigmaHat,
const int  numBinsToUse 
) [static, protected]

Compute variance of an ML noise estimate.

Eq. 21 from Sijbers et al, 2007

Definition at line 266 of file cmtkTypedArrayNoiseEstimatorBrummer.cxx.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines