4 #include "itkProcessObject.h" 18 template <
typename TInputImage,
typename TMaskImage>
43 typedef std::map<double,std::vector<unsigned short> >
ResidualMap;
48 virtual void Update() ITK_OVERRIDE;
52 int PrintSolution(
std::vector<
double> alphas,
std::vector<GaussianFunctionType::Pointer> model);
60 itkSetMacro(RejectionRatio,
double);
61 itkGetMacro(RejectionRatio,
double);
63 itkSetMacro(MaxIterationsConc,
int);
64 itkGetMacro(MaxIterationsConc,
int);
66 itkSetMacro(StremMode,
bool);
67 itkGetMacro(StremMode,
bool);
itk::SmartPointer< const Self > ConstPointer
Gaussian Model estimator Class performing expectation-maximation algorithm.
std::map< Intensities, Ocurrences > Histogram
Histogram m_JointHistogram
joint histogram The points stored here will be used for estimate de model
bool m_StremMode
doing as STREM => first a complete EM before concentration. It may be useful if initializations are n...
Class performing a robust expectation-maximation (REM) algorithm. Allow finding the 3-classes NABT mo...
std::vector< MeasureType > Intensities
itk::VariableSizeMatrix< NumericType >::InternalMatrixType DoubleVariableSizeMatrixVnlType
unsigned int m_MaxIterations
int PrintSolution(std::vector< double > alphas, std::vector< GaussianFunctionType::Pointer > model)
virtual bool concentration()
itk::VariableLengthVector< double > MeasurementVectorType
Histogram m_OriginalJointHistogram
input joint histogram, it will never be modified
itk::ProcessObject Superclass
GaussianREMEstimator Self
void operator=(const Self &)
unsigned short MeasureType
double m_RejectionRatio
ratio of rejection This is the ratio of samples that will be trimmed to calculate the estimation Valu...
virtual ~GaussianREMEstimator()
itk::Statistics::GaussianMembershipFunction< MeasurementVectorType > GaussianFunctionType
double m_ModelMinDistance
int m_MaxIterationsConc
max number of iterations between to concentration steps
virtual void Update() ITK_OVERRIDE
std::map< double, std::vector< unsigned short > > ResidualMap
std::map< Intensities, std::vector< Ocurrences > > GenericContainer
itk::SmartPointer< Self > Pointer
Histogram GetConcentrationJointHistogram()
Get the "concentrated" joint histogram This joint histogram is the original without the samples consi...