ANIMA  4.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
anima::RandomInitializer Class Reference

Class initializing ramdomly a gaussian model. More...

#include <animaRandomInitializer.h>

+ Inheritance diagram for anima::RandomInitializer:
+ Collaboration diagram for anima::RandomInitializer:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorTypeGaussianFunctionType
 
typedef itk::VariableLengthVector< double > MeasurementVectorType
 
typedef itk::SmartPointer< SelfPointer
 
typedef RandomInitializer Self
 
typedef itk::ProcessObject Superclass
 
- Public Types inherited from anima::ModelInitializer
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorTypeGaussianFunctionType
 
typedef itk::VariableLengthVector< double > MeasurementVectorType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ModelInitializer Self
 
typedef itk::ProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual unsigned int GetDimensionGaussian ()
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNbGaussian ()
 
virtual void SetDimensionGaussian (unsigned int _arg)
 
void SetMaxValues (std::vector< double > &max)
 Set max values of random means. More...
 
void SetMinValues (std::vector< double > &min)
 Set min values of random means. More...
 
virtual void SetNbGaussian (unsigned int _arg)
 
void Update () ITK_OVERRIDE
 
- Public Member Functions inherited from anima::ModelInitializer
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
std::vector< double > GetAlphas ()
 
std::vector< GaussianFunctionType::Pointer > GetInitialization ()
 returns a new initialization for the model More...
 
virtual bool GetVerbose ()
 
virtual void SetVerbose (bool _arg)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from anima::ModelInitializer
static Pointer New ()
 

Protected Member Functions

void operator= (const Self &)
 
itk::Statistics::GaussianMembershipFunction< itk::VariableLengthVector< double > >::Pointer randomDistribution ()
 initilize a Gaussian distribution More...
 
 RandomInitializer (const Self &)
 
 RandomInitializer ()
 
double randUniform (double min, double max)
 
virtual ~RandomInitializer ()
 
- Protected Member Functions inherited from anima::ModelInitializer
 ModelInitializer (const Self &)
 
 ModelInitializer ()
 
void operator= (const Self &)
 
virtual ~ModelInitializer ()
 

Protected Attributes

unsigned int m_DimensionGaussian
 
unsigned int m_NbGaussian
 
std::vector< double > maxValues
 max values More...
 
std::vector< double > minValues
 min values More...
 
- Protected Attributes inherited from anima::ModelInitializer
std::vector< double > m_Alphas
 
std::vector< GaussianFunctionType::Pointer > m_GaussianModel
 
bool m_Verbose
 

Detailed Description

Class initializing ramdomly a gaussian model.

Definition at line 13 of file animaRandomInitializer.h.

Member Typedef Documentation

◆ ConstPointer

typedef itk::SmartPointer<const Self> anima::RandomInitializer::ConstPointer

Definition at line 21 of file animaRandomInitializer.h.

◆ GaussianFunctionType

typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorType > anima::RandomInitializer::GaussianFunctionType

Definition at line 30 of file animaRandomInitializer.h.

◆ MeasurementVectorType

typedef itk::VariableLengthVector<double> anima::RandomInitializer::MeasurementVectorType

Definition at line 29 of file animaRandomInitializer.h.

◆ Pointer

typedef itk::SmartPointer<Self> anima::RandomInitializer::Pointer

Definition at line 20 of file animaRandomInitializer.h.

◆ Self

Standard class typedefs.

Definition at line 18 of file animaRandomInitializer.h.

◆ Superclass

typedef itk::ProcessObject anima::RandomInitializer::Superclass

Definition at line 19 of file animaRandomInitializer.h.

Constructor & Destructor Documentation

◆ RandomInitializer() [1/2]

anima::RandomInitializer::RandomInitializer ( const Self )
protected

◆ RandomInitializer() [2/2]

anima::RandomInitializer::RandomInitializer ( )
inlineprotected

Definition at line 52 of file animaRandomInitializer.h.

◆ ~RandomInitializer()

virtual anima::RandomInitializer::~RandomInitializer ( )
inlineprotectedvirtual

Definition at line 60 of file animaRandomInitializer.h.

Member Function Documentation

◆ CreateAnother()

virtual::itk::LightObject::Pointer anima::RandomInitializer::CreateAnother ( void  ) const

◆ GetDimensionGaussian()

virtual unsigned int anima::RandomInitializer::GetDimensionGaussian ( )
virtual

◆ GetNameOfClass()

virtual const char* anima::RandomInitializer::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from anima::ModelInitializer.

◆ GetNbGaussian()

virtual unsigned int anima::RandomInitializer::GetNbGaussian ( )
virtual

◆ New()

static Pointer anima::RandomInitializer::New ( )
static

Method for creation through the object factory.

Referenced by anima::HierarchicalInitializer< TInputImage, TMaskImage >::ComputeSolution1D().

◆ operator=()

void anima::RandomInitializer::operator= ( const Self )
protected

◆ randomDistribution()

itk::Statistics::GaussianMembershipFunction< itk::VariableLengthVector< double > >::Pointer anima::RandomInitializer::randomDistribution ( )
protected

initilize a Gaussian distribution

Definition at line 55 of file animaRandomInitializer.cxx.

References m_DimensionGaussian, maxValues, minValues, and randUniform().

Referenced by Update().

◆ randUniform()

double anima::RandomInitializer::randUniform ( double  min,
double  max 
)
protected

Definition at line 76 of file animaRandomInitializer.cxx.

Referenced by randomDistribution().

◆ SetDimensionGaussian()

virtual void anima::RandomInitializer::SetDimensionGaussian ( unsigned int  _arg)
virtual

◆ SetMaxValues()

void anima::RandomInitializer::SetMaxValues ( std::vector< double > &  max)
inline

Set max values of random means.

Definition at line 40 of file animaRandomInitializer.h.

◆ SetMinValues()

void anima::RandomInitializer::SetMinValues ( std::vector< double > &  min)
inline

Set min values of random means.

Definition at line 36 of file animaRandomInitializer.h.

◆ SetNbGaussian()

virtual void anima::RandomInitializer::SetNbGaussian ( unsigned int  _arg)
virtual

◆ Update()

void anima::RandomInitializer::Update ( )

Member Data Documentation

◆ m_DimensionGaussian

unsigned int anima::RandomInitializer::m_DimensionGaussian
protected

Definition at line 79 of file animaRandomInitializer.h.

Referenced by randomDistribution(), and Update().

◆ m_NbGaussian

unsigned int anima::RandomInitializer::m_NbGaussian
protected

Definition at line 78 of file animaRandomInitializer.h.

Referenced by Update().

◆ maxValues

std::vector<double> anima::RandomInitializer::maxValues
protected

max values

Definition at line 76 of file animaRandomInitializer.h.

Referenced by randomDistribution(), and Update().

◆ minValues

std::vector<double> anima::RandomInitializer::minValues
protected

min values

Definition at line 72 of file animaRandomInitializer.h.

Referenced by randomDistribution(), and Update().


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