<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Dear All:</DIV>
<DIV> </DIV>
<DIV>I have check the base class</DIV>
<DIV> </DIV>
<DIV> </DIV>
<H3>template<class TSample><BR>class itk::Statistics::MixtureModelComponentBase< TSample ></H3>
<DIV>the type of parameter is Array double</DIV>
<DIV> </DIV>
<DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD class=memItemLeft vAlign=top noWrap align=right>typedef <A class=el href="http://www.itk.org/Doxygen/html/classitk_1_1Array.html"><FONT color=#0000ff>Array</FONT></A>< double > </TD>
<TD class=memItemRight vAlign=bottom><A class=el href="http://www.itk.org/Doxygen/html/classitk_1_1Statistics_1_1MixtureModelComponentBase.html#510f71c9bd3c1b348549bf2db671b058"><FONT color=#800080>ParametersType</FONT></A></TD></TR></TBODY></TABLE></DIV>
<DIV> </DIV>
<DIV>So I think I need to give the tweleve pararameters in the case dimenion of measurmentvetor is 3.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Am I correct?</DIV>
<DIV> </DIV>
<DIV>Is is ok I give the mean followed by covariance as:</DIV>
<DIV> </DIV>
<DIV>params[0] = 10;params[1] = 10;params[2]=10;<BR> params[3]=1;params[4]=0;params[5]=0;<BR> params[6]=0;params[7]=1;params[8]=0;<BR> params[9]=0;params[10]=0;params[11]=1;</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Baoyun<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Baoyun Li <baoyun_li123@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Luis Ibanez <luis.ibanez@kitware.com>; Insight Users <insight-users@itk.org><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, March 11, 2009 11:16:08 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> GaussianMixtureModelComponent set parameters when the measurments vector has dimension>1<BR></FONT><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>Dear All:</DIV>
<DIV> </DIV>
<DIV>Can somebody have experience to SetParameters for GaussianMixtureModelComponent class?</DIV>
<DIV> </DIV>
<DIV>ITK statistic example is for one dimension MesuremenVector, thus </DIV>
<DIV> typedef itk::Array< double > ParametersType;<BR> ParametersType params( 2 );</DIV>
<DIV> </DIV>
<DIV>params(2) containing mean and variation are enough.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Now my measurement vection is 3x1.</DIV>
<DIV> </DIV>
<DIV>so the mean is 3x1, and the covariance matrix should be 3x3.</DIV>
<DIV> </DIV>
<DIV>How should I give this intial parameters in this case? Only mean value for each component ok? (I tried only give means, at least, the program can be build).</DIV>
<DIV> </DIV>
<DIV>Can somebody teach me?</DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Baoyun</DIV></DIV><BR></DIV></DIV></div><br>
</body></html>