<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>&nbsp;</DIV>
<DIV>I have check the base class</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<H3>template&lt;class TSample&gt;<BR>class itk::Statistics::MixtureModelComponentBase&lt; TSample &gt;</H3>
<DIV>the type of parameter is Array double</DIV>
<DIV>&nbsp;</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>&lt; double &gt;&nbsp;</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>&nbsp;</DIV>
<DIV>So I think I need to give the tweleve pararameters in the case dimenion of measurmentvetor is 3.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Am I correct?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is is ok I give the mean followed by covariance as:</DIV>
<DIV>&nbsp;</DIV>
<DIV>params[0] = 10;params[1] = 10;params[2]=10;<BR>&nbsp;params[3]=1;params[4]=0;params[5]=0;<BR>&nbsp; params[6]=0;params[7]=1;params[8]=0;<BR>&nbsp; params[9]=0;params[10]=0;params[11]=1;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>&nbsp;</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 &lt;baoyun_li123@yahoo.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Luis Ibanez &lt;luis.ibanez@kitware.com&gt;; Insight Users &lt;insight-users@itk.org&gt;<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&gt;1<BR></FONT><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>Dear All:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Can somebody have experience to SetParameters for&nbsp; GaussianMixtureModelComponent class?</DIV>
<DIV>&nbsp;</DIV>
<DIV>ITK statistic example is for one dimension MesuremenVector, thus </DIV>
<DIV>&nbsp; typedef itk::Array&lt; double &gt; ParametersType;<BR>&nbsp; ParametersType params( 2 );</DIV>
<DIV>&nbsp;</DIV>
<DIV>params(2) containing mean and variation are enough.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now my measurement vection is 3x1.</DIV>
<DIV>&nbsp;</DIV>
<DIV>so the mean is 3x1, and the covariance &nbsp;matrix should be 3x3.</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>Can somebody teach me?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Baoyun</DIV></DIV><BR></DIV></DIV></div><br>

      </body></html>