[Insight-users] MixtureModelEstimator....
Kostas Rapantzikos
rap at image.ntua.gr
Mon Jul 25 08:46:09 EDT 2005
Dear all,
I am back again with the same question as few weeks ago... I am trying to
change the ExpectationMaximizationMixtureModelEstimator example so as to
have 3 feature vectors as inputs. The declarations are:
typedef itk::Vector< double, 3 > MeasurementVectorType;
typedef itk::Statistics::ListSample< MeasurementVectorType > SampleType;
SampleType::Pointer sample = SampleType::New();
How about the initialization code? For multidimensional Gaussians I have to
initialize the "initialParameters" vector accordingly. How is this done? I
always get an infinite value in the "m_PreFactor" field of the Gaussian
density function... :(
In general: I think that presenting a multidimensional example code in the
ITK manual would be rather helpful. The 1D case is rather simplistic for the
the ITK data containers.
Kind regards,
Kostas
-----Original Message-----
From: insight-users-bounces+rap=image.ntua.gr at itk.org
[mailto:insight-users-bounces+rap=image.ntua.gr at itk.org] On Behalf Of Stefan
Demharter
Sent: Monday, July 25, 2005 2:54 PM
To: insight-users at itk.org
Subject: [Insight-users] Homogeneity matrix
inVectorFuzzyConnectednessImageFilter
Hello,
i want to use the VectorFuzzyConnectednessImageFilter.
The meaning of the two parameters mean and covariance matrix for each object
is clear. You can set them by calling SetObjectsMean and SetObjectsMatrix
respectively.
However i don't understand the meaning of homogeneity matrix which can be
set by calling SetHomogeneityMatrix.
In doxygen documentation it says you can set the covariance matrix for a
specified object. But that is done by calling SetObjectsMatrix.
So could you please give me an explanation of what is different if you run
the filter with different values of the homogeneity matrix.
Thanks a lot.
Stefan
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
__________ NOD32 1.1176 (20050722) Information __________
This message was checked by NOD32 antivirus system.
http://www.nod32.com
More information about the Insight-users
mailing list