primatologist-gpl  5.1.2
aims::NormalEstimation< DataType, WeightType, MaskType > Class Template Reference

#include <primatologist/proba/normal.h>

Public Member Functions

 NormalEstimation ()
 
 ~NormalEstimation ()
 
void setData (const carto::VolumeRef< DataType > &data=vol::empty< DataType >())
 
void setWeight (const carto::VolumeRef< WeightType > &weight=vol::empty< WeightType >())
 
void setMask (const carto::VolumeRef< MaskType > &mask=vol::empty< MaskType >())
 
void setBessel (bool bessel=true)
 
void setRobust (bool robust=true)
 
void setMultiWeights (bool multi=true)
 
void fit ()
 
double getMu () const
 
double getSigma () const
 
NormalDistribution getDistribution () const
 
std::vector< NormalDistributiongetDistributionVector () const
 

Protected Member Functions

bool inMask (long x=0, long y=0, long z=0, long t=0)
 
void fitOne (const carto::VolumeRef< WeightType > &volweight, NormalDistribution &distrib)
 

Detailed Description

template<typename DataType = double, typename WeightType = double, typename MaskType = char>
class aims::NormalEstimation< DataType, WeightType, MaskType >

Definition at line 73 of file normal.h.

Constructor & Destructor Documentation

◆ NormalEstimation()

template<typename DataType , typename WeightType , typename MaskType >
aims::NormalEstimation< DataType, WeightType, MaskType >::NormalEstimation

Definition at line 38 of file normal_d.h.

◆ ~NormalEstimation()

template<typename DataType , typename WeightType , typename MaskType >
aims::NormalEstimation< DataType, WeightType, MaskType >::~NormalEstimation

Definition at line 51 of file normal_d.h.

Member Function Documentation

◆ fit()

template<typename DataType , typename WeightType , typename MaskType >
void aims::NormalEstimation< DataType, WeightType, MaskType >::fit

Definition at line 162 of file normal_d.h.

◆ fitOne()

template<typename DataType , typename WeightType , typename MaskType >
void aims::NormalEstimation< DataType, WeightType, MaskType >::fitOne ( const carto::VolumeRef< WeightType > &  volweight,
NormalDistribution distrib 
)
protected

◆ getDistribution()

template<typename DataType , typename WeightType , typename MaskType >
NormalDistribution aims::NormalEstimation< DataType, WeightType, MaskType >::getDistribution

Definition at line 122 of file normal_d.h.

◆ getDistributionVector()

template<typename DataType , typename WeightType , typename MaskType >
std::vector< NormalDistribution > aims::NormalEstimation< DataType, WeightType, MaskType >::getDistributionVector

Definition at line 129 of file normal_d.h.

◆ getMu()

template<typename DataType , typename WeightType , typename MaskType >
double aims::NormalEstimation< DataType, WeightType, MaskType >::getMu

Definition at line 109 of file normal_d.h.

◆ getSigma()

template<typename DataType , typename WeightType , typename MaskType >
double aims::NormalEstimation< DataType, WeightType, MaskType >::getSigma

Definition at line 115 of file normal_d.h.

◆ inMask()

template<typename DataType , typename WeightType , typename MaskType >
bool aims::NormalEstimation< DataType, WeightType, MaskType >::inMask ( long  x = 0,
long  y = 0,
long  z = 0,
long  t = 0 
)
inlineprotected

Definition at line 137 of file normal_d.h.

◆ setBessel()

template<typename DataType , typename WeightType , typename MaskType >
void aims::NormalEstimation< DataType, WeightType, MaskType >::setBessel ( bool  bessel = true)

Definition at line 89 of file normal_d.h.

◆ setData()

template<typename DataType , typename WeightType , typename MaskType >
void aims::NormalEstimation< DataType, WeightType, MaskType >::setData ( const carto::VolumeRef< DataType > &  data = vol::empty<DataType>())

Definition at line 58 of file normal_d.h.

◆ setMask()

template<typename DataType , typename WeightType , typename MaskType >
void aims::NormalEstimation< DataType, WeightType, MaskType >::setMask ( const carto::VolumeRef< MaskType > &  mask = vol::empty<MaskType>())

Definition at line 76 of file normal_d.h.

◆ setMultiWeights()

template<typename DataType , typename WeightType , typename MaskType >
void aims::NormalEstimation< DataType, WeightType, MaskType >::setMultiWeights ( bool  multi = true)

Definition at line 101 of file normal_d.h.

◆ setRobust()

template<typename DataType , typename WeightType , typename MaskType >
void aims::NormalEstimation< DataType, WeightType, MaskType >::setRobust ( bool  robust = true)

Definition at line 95 of file normal_d.h.

◆ setWeight()

template<typename DataType , typename WeightType , typename MaskType >
void aims::NormalEstimation< DataType, WeightType, MaskType >::setWeight ( const carto::VolumeRef< WeightType > &  weight = vol::empty<WeightType>())

Definition at line 69 of file normal_d.h.


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