<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<div><br></div><div>I used so far in Xcode at setting the User Header Search Path the ITK180 files from Osirix source code, because i am developing a plugin for Osirix, and there was no other way that i could include this headers without getting thousands of errors.</div><div> Now i want to use The Chan And Vese Level Set Segmentation, but it was still not in the ITK180 folder from Osirix, so although i copied the headers in the ITK180 folder , it seems i am again like at the beginning with 2076 errors. Is there another way. I tried already compiling InsightToolkit-3.20.0 with cmake, but it just wouldn't work with Osirix.</div><div>Thanks,</div><div>Ella</div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">In file included from
/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Algorithms/itkSparseMultiphaseSegmentationLevelSetImageFilter.h:20,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Algorithms/itkSparseMultiphaseLevelSetImageFilter.h:4,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkRegionBasedLevelSetFunction.h:7,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkScalarLevelSetFunctionBase.h:4,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkScalarChanAndVeseLevelSetFunction.h:4,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ChanVese.h:38,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ChanVese.m:9:</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:135: error: wrong number of template arguments (3, should be 2)</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkMultiphaseFiniteDifferenceImageFilter.h:119: error: provided for 'template<class TInputImage, class TOutputImage> class itk::MultiphaseFiniteDifferenceImageFilter'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:140: error: wrong number of template arguments (3, should be 2)</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkMultiphaseFiniteDifferenceImageFilter.h:119: error: provided for 'template<class TInputImage, class TOutputImage> class itk::MultiphaseFiniteDifferenceImageFilter'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:146: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:156: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:157: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:158: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:159: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:160: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:161: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:163: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:164: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:165: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:166: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:167: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:168: error: 'OutputImageType' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:169: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:170: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:171: error: 'OutputImageType' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:176: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkConstNeighborhoodIterator.h: In instantiation of 'itk::ConstNeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> >':</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkNeighborhoodIterator.h:213: instantiated from 'itk::NeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> >'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkSparseFieldLevelSetImageFilter.h:73: instantiated from 'itk::SparseFieldCityBlockNeighborList<itk::NeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> > >'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:257: instantiated from here</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkConstNeighborhoodIterator.h:55: error: 'int' is not a class, struct, or union type</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"><font class="Apple-style-span" face="arial" size="3"><span class="Apple-style-span" style="font-size: 13px;"><font class="Apple-style-span" face="Menlo" size="3"><span class="Apple-style-span" style="font-size: 11px;"><p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkConstNeighborhoodIterator.h: In instantiation of 'itk::ConstNeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> >':</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkNeighborhoodIterator.h:213: instantiated from 'itk::NeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> >'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkSparseFieldLevelSetImageFilter.h:73: instantiated from 'itk::SparseFieldCityBlockNeighborList<itk::NeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> > >'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:257: instantiated from here</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkConstNeighborhoodIterator.h:508: error: 'int' is not a class, struct, or union type</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:268: error: 'OutputImageType' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h: In member function 'void itk::MultiphaseSparseFieldLevelSetImageFilter<TInputImage, TOutputImage, TFunction>::SetFunctionCount(unsigned int)':</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:427: error: invalid use of qualified-name '::SetFunctionCount'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">In file included from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.h:450,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Algorithms/itkSparseMultiphaseSegmentationLevelSetImageFilter.h:20,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Algorithms/itkSparseMultiphaseLevelSetImageFilter.h:4,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkRegionBasedLevelSetFunction.h:7,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkScalarLevelSetFunctionBase.h:4,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkScalarChanAndVeseLevelSetFunction.h:4,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ChanVese.h:38,</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo"> from /Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ChanVese.m:9:</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx: In member function 'typename itk::MultiphaseSparseFieldLevelSetImageFilter<TInputImage, TOutputImage, TFunction>::TimeStepType itk::MultiphaseSparseFieldLevelSetImageFilter<TInputImage, TOutputImage, TFunction>::CalculateChange()':</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:21: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:21: error: expected initializer before 'df'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:26: error: 'Superclass' is not a class or namespace</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:26: error: expected initializer before 'offset'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:30: error: 'df' was not declared in this scope</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:51: error: no matching function for call to 'itk::NeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> >::SetLocation(const int&)'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/Common/itkConstNeighborhoodIterator.h:351: note: candidates are: void itk::ConstNeighborhoodIterator<TImage, TBoundaryCondition>::SetLocation(const itk::Index<itk::ConstNeighborhoodIterator<TImage,TBoundaryCondition>::Dimension>&) [with TImage = int, TBoundaryCondition = itk::ZeroFluxNeumannBoundaryCondition<int>]</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:57: error: 'class itk::NeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> >' has no member named 'GetCenterPixel'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:66: error: 'class itk::NeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> >' has no member named 'GetNext'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:67: error: 'class itk::NeighborhoodIterator<int, itk::ZeroFluxNeumannBoundaryCondition<int> >' has no member named 'GetPrevious'</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/Users/ellaK/osirix/osirixplugins/_help/LesionDetection/ITK180/Code/BasicFilters/itkMultiphaseSparseFieldLevelSetImageFilter.txx:77: error: 'offset' was not declared in this scope</p>
<p style="margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo">/</p></span></font></span></font></p></div></td></tr></table><br>