<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>Hi all,<div>I was happy to see that i can use the installed ITK installed Folder with Xcode.</div><div>I did the big mistake to try to use the example provided</div><div>http://www.insight-journal.org/browse/publication/322</div><div>because i think that would be very close to what i need.&nbsp;</div><div>Unfortunatly the classes are not in the Review, so trying to create the source code folder structure by copying and including the folders in Xcode got me to have 3216 errors now.&nbsp;</div><div>Like: Used 5 template parameter instead of 2</div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp;<span style="color: #b830a1">template</span> &lt; <span style="color: #b830a1">class</span> TInputImage, <span style="color: #b830a1">class</span> TOutputImage &gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #6f41a8"><span style="color: #b830a1">class</span><span style="color: #000000"> ITK_EXPORT </span>MultiphaseFiniteDifferenceImageFilter</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; : <span style="color: #b830a1">public</span> InPlaceImageFilter&lt; TInputImage, TOutputImage &gt;</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><b>invalid use of 'this' is non-member function</b></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><b>ImageDimension was not declared in this scope</b></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><b>m_UseImageSpacing was not declared in this scope.....</b></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp;if (this-&gt;GetState() == UNINITIALIZED)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; // Set the coefficients for the deriviatives</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; double coeffs[ImageDimension];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; if (m_UseImageSpacing)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; for (unsigned int i = 0; i &lt; ImageDimension; i++)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">&nbsp; &nbsp; &nbsp; &nbsp; coeffs[i] = 1.0 / m_LevelSet[0]-&gt;GetSpacing()[i];</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">So my question is how can i use this headers is there were still not in the InsightToolkit 3.20.0?</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">Cheers,</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo">Ella</p></p></div></td></tr></table><br>