<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. </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. </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"> <span style="color: #b830a1">template</span> < <span style="color: #b830a1">class</span> TInputImage, <span style="color: #b830a1">class</span> TOutputImage ></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"> : <span style="color: #b830a1">public</span> InPlaceImageFilter< TInputImage, TOutputImage ></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"> if (this->GetState() == UNINITIALIZED)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"> {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"> // Set the coefficients for the deriviatives</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"> double coeffs[ImageDimension];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"> if (m_UseImageSpacing)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"> for (unsigned int i = 0; i < ImageDimension; i++)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo"> coeffs[i] = 1.0 / m_LevelSet[0]->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>