ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkGaussianMixtureModelComponent.h>
is a component (derived from MixtureModelComponentBase) for Gaussian class. This class is used in ExpectationMaximizationMixtureModelEstimator.
On every iteration of EM estimation, this class's GenerateData method is called to compute the new distribution parameters.
Recent API changes: The static const macro to get the length of a measurement vector, MeasurementVectorSize
has been removed to allow the length of a measurement vector to be specified at run time. It is now obtained at run time from the sample set as input. Please use the function GetMeasurementVectorSize() to get the length.
Definition at line 50 of file itkGaussianMixtureModelComponent.h.
Public Member Functions | |
void | SetParameters (const ParametersType ¶meters) |
void | SetSample (const TSample *sample) |
Public Member Functions inherited from itk::Statistics::MixtureModelComponentBase< TSample > | |
void | AreParametersModified (bool flag) |
bool | AreParametersModified () |
double | Evaluate (MeasurementVectorType &measurements) |
virtual ParametersType | GetFullParameters () |
MembershipFunctionType * | GetMembershipFunction () |
double | GetMinimalParametersChange () |
const TSample * | GetSample () const |
double | GetWeight (unsigned int index) const |
virtual const WeightArrayType & | GetWeights () |
void | SetMinimalParametersChange (double change) |
virtual void | SetParameters (const ParametersType ¶meters) |
void | SetWeight (unsigned int index, double value) |
virtual void | Update () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Protected Member Functions | |
double | CalculateParametersChange () |
GaussianMixtureModelComponent () | |
void | GenerateData () |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~GaussianMixtureModelComponent () |
Protected Member Functions inherited from itk::Statistics::MixtureModelComponentBase< TSample > | |
MixtureModelComponentBase () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | SetMembershipFunction (MembershipFunctionType *function) |
virtual | ~MixtureModelComponentBase () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
CovarianceEstimatorType::MatrixType | m_Covariance |
CovarianceEstimatorType::Pointer | m_CovarianceEstimator |
NativeMembershipFunctionType::Pointer | m_GaussianMembershipFunction |
MeanEstimatorType::MeasurementVectorType | m_Mean |
MeanEstimatorType::Pointer | m_MeanEstimator |
virtual const char * | GetNameOfClass () const |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
static Pointer | New () |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef SmartPointer< const Self > itk::Statistics::GaussianMixtureModelComponent< TSample >::ConstPointer |
Definition at line 58 of file itkGaussianMixtureModelComponent.h.
typedef WeightedCovarianceSampleFilter< TSample > itk::Statistics::GaussianMixtureModelComponent< TSample >::CovarianceEstimatorType |
Definition at line 79 of file itkGaussianMixtureModelComponent.h.
typedef CovarianceEstimatorType::OutputType itk::Statistics::GaussianMixtureModelComponent< TSample >::CovarianceMatrixType |
Type of the covariance matrix
Definition at line 85 of file itkGaussianMixtureModelComponent.h.
typedef WeightedMeanSampleFilter< TSample > itk::Statistics::GaussianMixtureModelComponent< TSample >::MeanEstimatorType |
Types of the mean and the covariance calculator that will update this component's distribution parameters
Definition at line 78 of file itkGaussianMixtureModelComponent.h.
typedef MeanEstimatorType::OutputType itk::Statistics::GaussianMixtureModelComponent< TSample >::MeanVectorType |
Type of the mean vector
Definition at line 82 of file itkGaussianMixtureModelComponent.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::GaussianMixtureModelComponent< TSample >::MeasurementVectorSizeType |
Definition at line 67 of file itkGaussianMixtureModelComponent.h.
typedef Superclass::MeasurementVectorType itk::Statistics::GaussianMixtureModelComponent< TSample >::MeasurementVectorType |
Typedefs from the superclass
Definition at line 62 of file itkGaussianMixtureModelComponent.h.
typedef Superclass::MembershipFunctionType itk::Statistics::GaussianMixtureModelComponent< TSample >::MembershipFunctionType |
Definition at line 68 of file itkGaussianMixtureModelComponent.h.
typedef GaussianMembershipFunction< MeasurementVectorType > itk::Statistics::GaussianMixtureModelComponent< TSample >::NativeMembershipFunctionType |
Type of the membership function. Gaussian density function
Definition at line 74 of file itkGaussianMixtureModelComponent.h.
typedef Superclass::ParametersType itk::Statistics::GaussianMixtureModelComponent< TSample >::ParametersType |
Definition at line 70 of file itkGaussianMixtureModelComponent.h.
typedef SmartPointer< Self > itk::Statistics::GaussianMixtureModelComponent< TSample >::Pointer |
Definition at line 57 of file itkGaussianMixtureModelComponent.h.
typedef GaussianMixtureModelComponent itk::Statistics::GaussianMixtureModelComponent< TSample >::Self |
Standard class typedefs.
Definition at line 55 of file itkGaussianMixtureModelComponent.h.
typedef MixtureModelComponentBase< TSample > itk::Statistics::GaussianMixtureModelComponent< TSample >::Superclass |
Definition at line 56 of file itkGaussianMixtureModelComponent.h.
typedef Superclass::WeightArrayType itk::Statistics::GaussianMixtureModelComponent< TSample >::WeightArrayType |
Definition at line 69 of file itkGaussianMixtureModelComponent.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 95 of file itkGaussianMixtureModelComponent.h.
|
protected |
Returns the sum of squared changes in parameters between iterations
|
virtual |
Standard Macros
Reimplemented from itk::Object.
|
protectedvirtual |
Computes the new distribution parameters
Implements itk::Statistics::MixtureModelComponentBase< TSample >.
|
virtual |
Standard Macros
Reimplemented from itk::Statistics::MixtureModelComponentBase< TSample >.
|
static |
Standard Macros
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
void itk::Statistics::GaussianMixtureModelComponent< TSample >::SetParameters | ( | const ParametersType & | parameters | ) |
Sets the component's distribution parameters.
|
virtual |
Sets the input sample
Reimplemented from itk::Statistics::MixtureModelComponentBase< TSample >.
|
private |
Definition at line 110 of file itkGaussianMixtureModelComponent.h.
|
private |
Definition at line 114 of file itkGaussianMixtureModelComponent.h.
|
private |
Definition at line 106 of file itkGaussianMixtureModelComponent.h.
|
private |
Definition at line 108 of file itkGaussianMixtureModelComponent.h.
|
private |
Definition at line 112 of file itkGaussianMixtureModelComponent.h.