ANIMA
4.0
|
Class initializing ramdomly a gaussian model. More...
#include <animaRandomInitializer.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorType > | GaussianFunctionType |
typedef itk::VariableLengthVector< double > | MeasurementVectorType |
typedef itk::SmartPointer< Self > | Pointer |
typedef RandomInitializer | Self |
typedef itk::ProcessObject | Superclass |
Public Types inherited from anima::ModelInitializer | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorType > | GaussianFunctionType |
typedef itk::VariableLengthVector< double > | MeasurementVectorType |
typedef itk::SmartPointer< Self > | Pointer |
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 |
Class initializing ramdomly a gaussian model.
Definition at line 13 of file animaRandomInitializer.h.
typedef itk::SmartPointer<const Self> anima::RandomInitializer::ConstPointer |
Definition at line 21 of file animaRandomInitializer.h.
typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorType > anima::RandomInitializer::GaussianFunctionType |
Definition at line 30 of file animaRandomInitializer.h.
typedef itk::VariableLengthVector<double> anima::RandomInitializer::MeasurementVectorType |
Definition at line 29 of file animaRandomInitializer.h.
typedef itk::SmartPointer<Self> anima::RandomInitializer::Pointer |
Definition at line 20 of file animaRandomInitializer.h.
Standard class typedefs.
Definition at line 18 of file animaRandomInitializer.h.
typedef itk::ProcessObject anima::RandomInitializer::Superclass |
Definition at line 19 of file animaRandomInitializer.h.
|
protected |
|
inlineprotected |
Definition at line 52 of file animaRandomInitializer.h.
|
inlineprotectedvirtual |
Definition at line 60 of file animaRandomInitializer.h.
virtual::itk::LightObject::Pointer anima::RandomInitializer::CreateAnother | ( | void | ) | const |
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented from anima::ModelInitializer.
|
virtual |
|
static |
Method for creation through the object factory.
Referenced by anima::HierarchicalInitializer< TInputImage, TMaskImage >::ComputeSolution1D().
|
protected |
|
protected |
initilize a Gaussian distribution
Definition at line 55 of file animaRandomInitializer.cxx.
References m_DimensionGaussian, maxValues, minValues, and randUniform().
Referenced by Update().
|
protected |
Definition at line 76 of file animaRandomInitializer.cxx.
Referenced by randomDistribution().
|
virtual |
|
inline |
Set max values of random means.
Definition at line 40 of file animaRandomInitializer.h.
|
inline |
Set min values of random means.
Definition at line 36 of file animaRandomInitializer.h.
|
virtual |
void anima::RandomInitializer::Update | ( | ) |
Definition at line 6 of file animaRandomInitializer.cxx.
References anima::ModelInitializer::m_Alphas, m_DimensionGaussian, anima::ModelInitializer::m_GaussianModel, m_NbGaussian, maxValues, minValues, and randomDistribution().
|
protected |
Definition at line 79 of file animaRandomInitializer.h.
Referenced by randomDistribution(), and Update().
|
protected |
Definition at line 78 of file animaRandomInitializer.h.
Referenced by Update().
|
protected |
max values
Definition at line 76 of file animaRandomInitializer.h.
Referenced by randomDistribution(), and Update().
|
protected |
min values
Definition at line 72 of file animaRandomInitializer.h.
Referenced by randomDistribution(), and Update().