<div><FONT face=arial>Hi all,</FONT></div>  <div><FONT face=arial></FONT>&nbsp;</div>  <div><FONT face=arial>I was wondering if anyone might be able to explain to me/help me better understand 2 errors&nbsp;I get while using the ImagePCAShapeModelEstimator. I get 2 errors as follows:</FONT></div>  <div>&nbsp;</div>  <div><FONT face=arial><STRONG>1.</STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error C2039: 'SetNumberofTrainingImages' : is not a member of 'itk::ImagePCAShapeModelEstimator&lt;TInputImage,TOutputImage&gt;'</FONT></div>  <div><FONT face=arial>with</FONT></div>  <div><FONT face=arial>[</FONT></div>  <div><FONT face=arial>TInputImage=InputImageType,</FONT></div>  <div><FONT face=arial>TOutputImage=OutputImageType</FONT></div>  <div><FONT face=arial>]</FONT></div>  <div>&nbsp;</div>  <div><FONT face=arial><STRONG>2.</STRONG>&nbsp; &nbsp;error C2039: 'SetNumberofPrincipalComponentsrequired' : is not a member of
 'itk::ImagePCAShapeModelEstimator&lt;TInputImage,TOutputImage&gt;'</FONT></div>  <div><FONT face=arial>with</FONT></div>  <div><FONT face=arial>[</FONT></div>  <div><FONT face=arial>TInputImage=InputImageType,</FONT></div>  <div><FONT face=arial>TOutputImage=OutputImageType</FONT></div>  <div><FONT face=arial>]</FONT></div>  <div><FONT face=arial color=#008000></FONT>&nbsp;</div>  <div><FONT face=arial>Here is how I set up the ImagePCAShapeModelEstimator:</FONT></div>  <div>&nbsp;</div><FONT color=#0000ff>  <div><FONT face=arial>typedef</FONT></FONT><FONT face=arial> itk::ImagePCAShapeModelEstimator&lt; InputImageType, </FONT></div>  <div><FONT face=arial>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OutputImageType &gt; EstimatorType;</FONT></div>  <div><FONT face=arial>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EstimatorType::Pointer shapeestimator = EstimatorType::New();</FONT></div> 
 <div><FONT face=arial>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shapeestimator-&gt;SetNumberofTrainingImages(6);</FONT></div>  <div><FONT face=arial>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shapeestimator-&gt;SetNumberofPrincipalComponentsrequired(6);</FONT></div>  <div>&nbsp;</div>  <div>It states in the deoxygen documentation for the ImagePCAShapeModelEstimator that 'SetNumberofTrainingImages' and 'SetNumberofPrincipalComponentsrequired' are public member functions: <A href="http://www.itk.org/Doxygen32/html/classitk_1_1ImagePCAShapeModelEstimator.html">http://www.itk.org/Doxygen32/html/classitk_1_1ImagePCAShapeModelEstimator.html</A></div>  <div>&nbsp;</div>  <div>Can someone please explain what might be wrong. I'm fairly new to itk and I'm not that good&nbsp;at coding in c++. I think might be misunderstanding or over looking something.</div>  <div>&nbsp;</div>  <div>Thanks in advance for your assistance.</div>  <div>&nbsp;</div> 
 <div>Tomi L. </div><p>&#32;
      <hr size=1>Catch up on <a href="http://us.rd.yahoo.com/tv/mail/tagline/falltv/evt=47093/*http://tv.yahoo.com/collections/3658 
">fall's hot new shows</a> on Yahoo! TV.  Watch previews, get listings, and more!