|
ANIMA
4.0
|
Gaussian Model estimator Class performing expectation-maximation algorithm. More...
#include <animaGaussianEMEstimator.h>
Inheritance diagram for anima::GaussianEMEstimator< TInputImage, TMaskImage >:
Collaboration diagram for anima::GaussianEMEstimator< TInputImage, TMaskImage >:Public Types | |
| typedef itk::SmartPointer< const Self > | ConstPointer |
| typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorType > | GaussianFunctionType |
| typedef std::map< Intensities, std::vector< Ocurrences > > | GenericContainer |
| typedef std::map< Intensities, Ocurrences > | Histogram |
| typedef itk::ImageRegionConstIterator< InputImageType > | InputConstIteratorType |
| typedef InputImageType::ConstPointer | InputImageConstPointer |
| typedef TInputImage | InputImageType |
| typedef std::vector< MeasureType > | Intensities |
| typedef itk::ImageRegionConstIterator< MaskImageType > | MaskConstIteratorType |
| typedef TMaskImage | MaskImageType |
| typedef itk::ImageRegionIterator< MaskImageType > | MaskIteratorType |
| typedef itk::VariableLengthVector< NumericType > | MeasurementVectorType |
| typedef unsigned short | MeasureType |
| typedef double | NumericType |
| typedef double | Ocurrences |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef GaussianEMEstimator | Self |
| typedef itk::ProcessObject | Superclass |
Public Member Functions | |
| double | computeDistance (std::vector< GaussianFunctionType::Pointer > &newModel) |
| virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
| void | createJointHistogram () |
| virtual double | expectation () |
| std::vector< double > | GetAlphas () |
| GenericContainer | GetAPosterioriProbability () |
| std::vector< GaussianFunctionType::Pointer > | GetGaussianModel () |
| TInputImage::ConstPointer | GetInputImage1 () |
| TInputImage::ConstPointer | GetInputImage2 () |
| TInputImage::ConstPointer | GetInputImage3 () |
| TInputImage::ConstPointer | GetInputImage4 () |
| TInputImage::ConstPointer | GetInputImage5 () |
| Histogram | GetJointHistogram () |
| return joint histogram More... | |
| virtual double | GetLikelihood () |
| TMaskImage::ConstPointer | GetMask () |
| virtual unsigned int | GetMaxIterations () |
| virtual double | GetModelMinDistance () |
| virtual const char * | GetNameOfClass () const |
| virtual bool | GetVerbose () |
| double | likelihood (GaussianFunctionType::CovarianceMatrixType *invCovariance=NULL, double *detCovariance=NULL) |
| virtual bool | maximization (std::vector< GaussianFunctionType::Pointer > &newModel, std::vector< double > &newAlphas) |
| void | SetInitialAlphas (std::vector< double > &theValue) |
| void | SetInitialGaussianModel (std::vector< GaussianFunctionType::Pointer > &theValue) |
| Set model to be estimated. More... | |
| void | SetInputImage1 (const TInputImage *image) |
| void | SetInputImage2 (const TInputImage *image) |
| void | SetInputImage3 (const TInputImage *image) |
| void | SetInputImage4 (const TInputImage *image) |
| void | SetInputImage5 (const TInputImage *image) |
| virtual void | SetLikelihood (double _arg) |
| void | SetMask (const TMaskImage *mask) |
| virtual void | SetMaxIterations (unsigned int _arg) |
| virtual void | SetModelMinDistance (double _arg) |
| virtual void | SetVerbose (bool _arg) |
| virtual void | Update () ITK_OVERRIDE |
Static Public Member Functions | |
| static Pointer | New () |
Protected Member Functions | |
| GaussianEMEstimator (const Self &) | |
| GaussianEMEstimator () | |
| void | operator= (const Self &) |
| virtual | ~GaussianEMEstimator () |
Protected Attributes | |
| std::vector< double > | m_Alphas |
| model to be estimated (and solution if already run) More... | |
| GenericContainer | m_APosterioriProbability |
| std::vector< GaussianFunctionType::Pointer > | m_GaussianModel |
| std::vector< InputImageConstPointer > | m_ImagesVector |
| unsigned int | m_IndexImage1 |
| unsigned int | m_IndexImage2 |
| unsigned int | m_IndexImage3 |
| unsigned int | m_IndexImage4 |
| unsigned int | m_IndexImage5 |
| unsigned int | m_IndexImage6 |
| Histogram | m_JointHistogram |
| joint histogram The points stored here will be used for estimate de model More... | |
| Histogram | m_JointHistogramInitial |
| double | m_Likelihood |
| unsigned int | m_MaxIterations |
| double | m_ModelMinDistance |
| unsigned int | m_NbInputs |
| unsigned int | m_nbMaxImages |
| bool | m_Verbose |
Gaussian Model estimator Class performing expectation-maximation algorithm.
Definition at line 13 of file animaGaussianEMEstimator.h.
| typedef itk::SmartPointer<const Self> anima::GaussianEMEstimator< TInputImage, TMaskImage >::ConstPointer |
Definition at line 21 of file animaGaussianEMEstimator.h.
| typedef itk::Statistics::GaussianMembershipFunction< MeasurementVectorType > anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianFunctionType |
Definition at line 47 of file animaGaussianEMEstimator.h.
| typedef std::map< Intensities, std::vector<Ocurrences> > anima::GaussianEMEstimator< TInputImage, TMaskImage >::GenericContainer |
Definition at line 42 of file animaGaussianEMEstimator.h.
| typedef std::map<Intensities,Ocurrences> anima::GaussianEMEstimator< TInputImage, TMaskImage >::Histogram |
Definition at line 43 of file animaGaussianEMEstimator.h.
| typedef itk::ImageRegionConstIterator< InputImageType > anima::GaussianEMEstimator< TInputImage, TMaskImage >::InputConstIteratorType |
Definition at line 32 of file animaGaussianEMEstimator.h.
| typedef InputImageType::ConstPointer anima::GaussianEMEstimator< TInputImage, TMaskImage >::InputImageConstPointer |
Definition at line 31 of file animaGaussianEMEstimator.h.
| typedef TInputImage anima::GaussianEMEstimator< TInputImage, TMaskImage >::InputImageType |
Type of the input image.
Definition at line 27 of file animaGaussianEMEstimator.h.
| typedef std::vector<MeasureType> anima::GaussianEMEstimator< TInputImage, TMaskImage >::Intensities |
Definition at line 41 of file animaGaussianEMEstimator.h.
| typedef itk::ImageRegionConstIterator< MaskImageType > anima::GaussianEMEstimator< TInputImage, TMaskImage >::MaskConstIteratorType |
Definition at line 37 of file animaGaussianEMEstimator.h.
| typedef TMaskImage anima::GaussianEMEstimator< TInputImage, TMaskImage >::MaskImageType |
Type of the mask image.
Definition at line 35 of file animaGaussianEMEstimator.h.
| typedef itk::ImageRegionIterator< MaskImageType > anima::GaussianEMEstimator< TInputImage, TMaskImage >::MaskIteratorType |
Definition at line 36 of file animaGaussianEMEstimator.h.
| typedef itk::VariableLengthVector<NumericType> anima::GaussianEMEstimator< TInputImage, TMaskImage >::MeasurementVectorType |
Definition at line 46 of file animaGaussianEMEstimator.h.
| typedef unsigned short anima::GaussianEMEstimator< TInputImage, TMaskImage >::MeasureType |
Definition at line 40 of file animaGaussianEMEstimator.h.
| typedef double anima::GaussianEMEstimator< TInputImage, TMaskImage >::NumericType |
Definition at line 45 of file animaGaussianEMEstimator.h.
| typedef double anima::GaussianEMEstimator< TInputImage, TMaskImage >::Ocurrences |
Definition at line 39 of file animaGaussianEMEstimator.h.
| typedef itk::SmartPointer<Self> anima::GaussianEMEstimator< TInputImage, TMaskImage >::Pointer |
Definition at line 20 of file animaGaussianEMEstimator.h.
| typedef GaussianEMEstimator anima::GaussianEMEstimator< TInputImage, TMaskImage >::Self |
Standard class typedefs.
Definition at line 18 of file animaGaussianEMEstimator.h.
| typedef itk::ProcessObject anima::GaussianEMEstimator< TInputImage, TMaskImage >::Superclass |
Definition at line 19 of file animaGaussianEMEstimator.h.
|
protected |
|
inlineprotected |
Definition at line 109 of file animaGaussianEMEstimator.h.
References anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_IndexImage1, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_IndexImage2, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_IndexImage3, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_IndexImage4, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_IndexImage5, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_IndexImage6, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_MaxIterations, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_ModelMinDistance, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_NbInputs, anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_nbMaxImages, and anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_Verbose.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
|
inlineprotectedvirtual |
Definition at line 123 of file animaGaussianEMEstimator.h.
| double anima::GaussianEMEstimator< TInputImage, TMaskImage >::computeDistance | ( | std::vector< GaussianFunctionType::Pointer > & | newModel | ) |
Definition at line 533 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetJointHistogram().
| virtual::itk::LightObject::Pointer anima::GaussianEMEstimator< TInputImage, TMaskImage >::CreateAnother | ( | void | ) | const |
| void anima::GaussianEMEstimator< TInputImage, TMaskImage >::createJointHistogram | ( | ) |
Definition at line 95 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
|
virtual |
Definition at line 148 of file animaGaussianEMEstimator.hxx.
References anima::xi().
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetJointHistogram().
|
inline |
Definition at line 55 of file animaGaussianEMEstimator.h.
References anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_Alphas.
|
inline |
Definition at line 70 of file animaGaussianEMEstimator.h.
References anima::GaussianEMEstimator< TInputImage, TMaskImage >::createJointHistogram(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage1(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage2(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage3(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage4(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage5(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetMask(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_APosterioriProbability, anima::GaussianEMEstimator< TInputImage, TMaskImage >::operator=(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage1(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage2(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage3(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage4(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage5(), and anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetMask().
|
inline |
Definition at line 54 of file animaGaussianEMEstimator.h.
References anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_GaussianModel.
| TInputImage::ConstPointer anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage1 | ( | ) |
Definition at line 60 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
| TInputImage::ConstPointer anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage2 | ( | ) |
Definition at line 67 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
| TInputImage::ConstPointer anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage3 | ( | ) |
Definition at line 74 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
| TInputImage::ConstPointer anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage4 | ( | ) |
Definition at line 81 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
| TInputImage::ConstPointer anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetInputImage5 | ( | ) |
Definition at line 88 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
|
inline |
return joint histogram
Definition at line 59 of file animaGaussianEMEstimator.h.
References anima::GaussianEMEstimator< TInputImage, TMaskImage >::computeDistance(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::expectation(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::likelihood(), anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_JointHistogramInitial, anima::GaussianEMEstimator< TInputImage, TMaskImage >::maximization(), and anima::GaussianEMEstimator< TInputImage, TMaskImage >::Update().
|
virtual |
| TMaskImage::ConstPointer anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetMask | ( | ) |
Definition at line 53 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
|
virtual |
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented in anima::GaussianREMEstimator< TInputImage, TMaskImage >.
|
virtual |
| double anima::GaussianEMEstimator< TInputImage, TMaskImage >::likelihood | ( | GaussianFunctionType::CovarianceMatrixType * | invCovariance = NULL, |
| double * | detCovariance = NULL |
||
| ) |
Definition at line 444 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetJointHistogram().
|
virtual |
Definition at line 273 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetJointHistogram().
|
static |
Method for creation through the object factory.
|
protected |
|
inline |
Definition at line 52 of file animaGaussianEMEstimator.h.
References anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_Alphas.
|
inline |
Set model to be estimated.
Definition at line 51 of file animaGaussianEMEstimator.h.
References anima::GaussianEMEstimator< TInputImage, TMaskImage >::m_GaussianModel.
| void anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage1 | ( | const TInputImage * | image | ) |
The mri images.
Definition at line 13 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
| void anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage2 | ( | const TInputImage * | image | ) |
Definition at line 21 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
| void anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage3 | ( | const TInputImage * | image | ) |
Definition at line 29 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
| void anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage4 | ( | const TInputImage * | image | ) |
Definition at line 37 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
| void anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInputImage5 | ( | const TInputImage * | image | ) |
Definition at line 45 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
|
virtual |
| void anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetMask | ( | const TMaskImage * | mask | ) |
mask in which the segmentation will be performed
Definition at line 7 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in anima::GaussianREMEstimator< TInputImage, TMaskImage >.
Definition at line 409 of file animaGaussianEMEstimator.hxx.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetJointHistogram().
|
protected |
model to be estimated (and solution if already run)
Definition at line 133 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAlphas(), and anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInitialAlphas().
|
protected |
Definition at line 125 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetAPosterioriProbability().
|
protected |
Definition at line 134 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetGaussianModel(), and anima::GaussianEMEstimator< TInputImage, TMaskImage >::SetInitialGaussianModel().
|
protected |
Definition at line 142 of file animaGaussianEMEstimator.h.
|
protected |
Definition at line 147 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
|
protected |
Definition at line 147 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
|
protected |
Definition at line 147 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
|
protected |
Definition at line 147 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
|
protected |
Definition at line 147 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
|
protected |
Definition at line 147 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
|
protected |
joint histogram The points stored here will be used for estimate de model
Definition at line 139 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianREMEstimator< TInputImage, TMaskImage >::GetConcentrationJointHistogram().
|
protected |
Definition at line 140 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GetJointHistogram().
|
protected |
Definition at line 148 of file animaGaussianEMEstimator.h.
|
protected |
Definition at line 129 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator(), and anima::GaussianREMEstimator< TInputImage, TMaskImage >::GaussianREMEstimator().
|
protected |
Definition at line 127 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator(), and anima::GaussianREMEstimator< TInputImage, TMaskImage >::GaussianREMEstimator().
|
protected |
Definition at line 146 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
|
protected |
Definition at line 145 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
|
protected |
Definition at line 144 of file animaGaussianEMEstimator.h.
Referenced by anima::GaussianEMEstimator< TInputImage, TMaskImage >::GaussianEMEstimator().
1.8.13