<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ella,<div><br></div><div>The code of this insight journal has been moved in ITK (in the review directory), API has changed in the process.</div><div><br></div><div>To be able to use this code, you need to turn on ITK_USE_REVIEW when building ITK.</div><div><br></div><div>Then you can have a look at this example:</div><div><br></div><div><a href="http://www.itk.org/Wiki/ITK/Examples/Segmentation/MultiphaseChanAndVeseSparseFieldLevelSetSegmentation">http://www.itk.org/Wiki/ITK/Examples/Segmentation/MultiphaseChanAndVeseSparseFieldLevelSetSegmentation</a></div><div><br></div><div>This example shows how to use this filter in the multiphase case.</div><div><br></div><div>Best,</div><div>Arnaud</div><div><br><div><div>On Feb 18, 2011, at 10:27 AM, Ella Maria Kadas wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font: inherit;">Hi,<div><br></div><div><span class="Apple-style-span" style="font-size: small; ">Gave up to try to run eventually the example provided with the Paper "</span><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; line-height: 22px; "><span class="Apple-style-span" style="font-size: small;">Level Set Segmentation: Active Contours without edg</span></span><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; line-height: 22px; "><span class="Apple-style-span" style="font-size: small;">e" from the insight Journal, and tried the example from Insight-v.3.20.0/code/Review.</span></span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; line-height: 22px; "><span class="Apple-style-span" style="font-size: small;">I get the following error and i assume it is a casting problem, although i don't see where this was done in the example</span></span></div><div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 16px; line-height: 22px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/itkConstrainedRegionBasedLevelSetFunctionSharedData.h:148: error: no matching function for call to 'itk::Statistics::KdTree<itk::Statistics::ListSample<itk::Vector<float, 3u> > >::Search(float [3], unsigned int&, std::vector<long unsigned int, std::allocator<long unsigned int> >&)'</div><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"></p><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/itkRegionBasedLevelSetFunction.h:90: error: no type named 'NeighborhoodScalesType' in 'class itk::FiniteDifferenceFunction<itk::Image<float, 3u> >'</div><div><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">Cheers,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">Ella</div></span></div></td></tr></tbody></table><br><span><ATT00001.txt></span></blockquote></div><br></div></body></html>