[Insight-users] WrapITK filter coverage

Lisa Koch kochl at gmx.ch
Fri May 20 06:18:31 EDT 2011


Hi Gaëtan

These were my wrapping options:

 WRAP_BinaryMorphology            ON                            
 WRAP_Calculators                 ON                            
 WRAP_Compose                     ON                            
 WRAP_DeformableTransforms        ON                            
 WRAP_Denoising                   ON                            
 WRAP_DistanceMap                 ON                            
 WRAP_EdgesAndContours            ON                            
 WRAP_FFT                         ON                            
 WRAP_FFTW                        OFF                           
 WRAP_Filtering                   ON                            
 WRAP_IO                          ON                            
 WRAP_ITK_DIMS                    2;3                           
 WRAP_ITK_DOC                     OFF                           
 WRAP_ITK_GCCXML                  ON                            
 WRAP_ITK_INSTALL_PREFIX          lib/InsightToolkit/WrapITK    
 WRAP_ITK_JAVA                    OFF                           
 WRAP_ITK_PERL                    OFF                           
 WRAP_ITK_PYTHON                  ON                            
 WRAP_ITK_RUBY                    OFF                           
 WRAP_ITK_SWIGINTERFACE           ON                            
 WRAP_ITK_TCL                     OFF                           
 WRAP_ITK_USE_CCACHE              OFF                           
 WRAP_IntensityFilters            ON                            
 WRAP_Interpolators               ON                            
 WRAP_Iterators                   ON                            
 WRAP_ItkVtk                      OFF                           
 WRAP_LevelSet                    OFF                           
 WRAP_Mesh                        ON                            
 WRAP_Morphology                  ON                            
 WRAP_Numerics                    ON                            
 WRAP_PixelMath                   ON                            
 WRAP_Registration                OFF                           
 WRAP_Resize                      ON                            
 WRAP_Review                      ON                            
 WRAP_SegmentationAndThreshold    ON                            
 WRAP_SegmentationValidation      ON   
 WRAP_SimpleFilters               ON                            
 WRAP_SpatialObject               ON                            
 WRAP_Transforms                  ON                            
 WRAP_UnaryPixelMath              ON                            
 WRAP_complex_double              OFF                           
 WRAP_complex_float               ON                            
 WRAP_covariant_vector_double     OFF                           
 WRAP_covariant_vector_float      ON                            
 WRAP_double                      ON                            
 WRAP_float                       ON                            
 WRAP_rgb_unsigned_char           OFF                           
 WRAP_rgb_unsigned_short          OFF                           
 WRAP_rgba_unsigned_char          OFF                           
 WRAP_rgba_unsigned_short         OFF                           
 WRAP_signed_char                 ON                            
 WRAP_signed_long                 ON                            
 WRAP_signed_short                ON                            
 WRAP_unsigned_char               ON                            
 WRAP_unsigned_long               ON                            
 WRAP_unsigned_short              ON                            
 WRAP_vector_double               OFF                           
 WRAP_vector_float                ON         

Lisa

-------- Original-Nachricht --------
> Datum: Fri, 20 May 2011 11:32:46 +0200
> Von: "Gaëtan Lehmann" <gaetan.lehmann at jouy.inra.fr>
> An: Lisa Koch <kochl at gmx.ch>
> CC: insight-users at itk.org, dora.szasz at yahoo.com, ashishs99 at gmail.com
> Betreff: Re: [Insight-users] WrapITK filter coverage

> 
> Le 20 mai 11 à 11:29, Lisa Koch a écrit :
> 
> > Hi Gaëtan
> >
> > This was it! I could build and everything seems to be there, so  
> > thank you very much.
> >
> > There were still some warnings in this form:
> >
> > [ 98%] Building CXX object Libraries/UnaryPixelMath/CMakeFiles/ 
> > UnaryPixelMathPython.dir/wrap_itkTanImageFilterPython.o
> > ~/InsightToolkit-3.20.0/Code/Common/itkConceptChecking.h: In member  
> > function ‘void itk::Concept::GreaterThanComparable<T1,  
> > T2>::Constraints::constraints() [with T1 = long unsigned int, T2 =  
> > int]’:
> > ~/InsightToolkit-3.20.0/Code/Common/itkConceptChecking.h:245:    
> > instantiated from ‘itk::Concept::GreaterThanComparable<long unsigned  
> > int, int>’
> > ~/InsightToolkit-3.20.0/Code/BasicFilters/itkAbsImageFilter.h:83:    
> > instantiated from ‘itk::AbsImageFilter<itk::Image<long unsigned int,  
> > 2u>, itk::Image<long unsigned int, 2u> >’
> > ~/WrapITK/Typedefs/UnaryPixelMath.includes:350:   instantiated from  
> > here
> > ~/InsightToolkit-3.20.0/Code/Common/itkConceptChecking.h:238:  
> > warning: comparison between signed and unsigned integer expressions
> >
> >
> > I'm not sure if this will affect me or not. Do I need to change  
> > something?
> >
> 
> Hi Luis,
> 
> It won't change anything for you.
> 
> Can you tell us which options you have turned on while configuring  
> wrapitk?
> 
> Gaëtan
> 
> 
> 
> > Thanks,
> > Lisa
> >
> >
> >
> >
> > -------- Original-Nachricht --------
> >> Datum: Thu, 19 May 2011 14:27:22 +0200
> >> Von: "Gaëtan Lehmann" <gaetan.lehmann at jouy.inra.fr>
> >> An: Lisa Koch <kochl at gmx.ch>
> >> CC: Ashish Sharma <ashishs99 at gmail.com>, dora.szasz at yahoo.com,
> insight-users at itk.org
> >> Betreff: Re: [Insight-users] WrapITK filter coverage
> >
> >>
> >> Hi Lisa,
> >>
> >> Have you used the maint branch of wrapitk, as pointed by Ashish?
> >> The maint branch should build fine with ITK 3.20.
> >>
> >> The trunk won't build properly with ITK 3.20: it has been modified to
> >> prepare its integration in ITK 4.
> >>
> >> Just do
> >>
> >>   svn checkout http://wrapitk.googlecode.com/svn/branches/maint  
> >> wrapitk
> >>
> >> to get the sources.
> >>
> >> Regards,
> >>
> >> Gaëtan
> >>
> >>
> >> Le 19 mai 11 à 12:44, Lisa Koch a écrit :
> >>
> >>> Thanks Ashish and Dora,
> >>>
> >>> I tried again, using the WrapITK you (Ashish) suggested. However,
> >>> the next problem arises:
> >>>
> >>> [ 11%] Generating wrap_itkEuclideanDistance.xml
> >>> $ITK/WrapITK/Libraries/Numerics/wrap_itkEuclideanDistance.cxx:21:40:
> >>> error: itkEuclideanDistanceMetric.h: No such file or directory
> >>>
> >>> I suppose the reason here is that in my ITK release,
> >>> itkEuclideanDistance.cxx was still in the Review folder and has now
> >>> probably been incorporated into numerics. So WrapITK looks for it
> >>> there..
> >>>
> >>> So I'd need another (newer) ITK version.. All in all, I think it
> >>> will save me a lot of time to just switch to C++!
> >>>
> >>> But thanks for your help!
> >>>
> >>> -------- Original-Nachricht --------
> >>>> Datum: Wed, 18 May 2011 22:22:08 -0400
> >>>> Von: Ashish Sharma <ashishs99 at gmail.com>
> >>>> An: Dora Szasz <dora.szasz at yahoo.com>
> >>>> CC: "insight-users at itk.org" <insight-users at itk.org>
> >>>> Betreff: Re: [Insight-users] WrapITK filter coverage
> >>>
> >>>> Lisa,
> >>>>
> >>>> You can checkout the WrapITK from the link here:
> >>>> http://code.google.com/p/wrapitk/source/browse/#svn%2Fbranches
> >>>> %2Fmaint
> >>>>
> >>>> This has the wrappers for the filters you need and this is expected
> >>>> to
> >>>> work
> >>>> with the last version.
> >>>>
> >>>> Ashish
> >>>>
> >>>> On Wed, May 18, 2011 at 9:32 AM, Dora Szasz <dora.szasz at yahoo.com>
> >>>> wrote:
> >>>>
> >>>>> They should be in the source folder of the ITK, in the folder  
> >>>>> Code.
> >>>>> I've found them: I use the last version of ITK.
> >>>>> I can send them for you. Please let me know if you find them  
> >>>>> there.
> >>>>>
> >>>>> Dora
> >>>>>
> >>>>> ------------------------------
> >>>>> *From:* Ashish Sharma <ashishs99 at gmail.com>
> >>>>> *To:* Lisa Koch <kochl at gmx.ch>
> >>>>> *Cc:* insight-users at itk.org
> >>>>> *Sent:* Wednesday, May 18, 2011 4:11 PM
> >>>>> *Subject:* Re: [Insight-users] WrapITK filter coverage
> >>>>>
> >>>>> I built the InsightToolkit (3.20.0) with python bindings (using  
> >>>>> the
> >>>>> WrapITK that came with the ITK release).
> >>>>>
> >>>>> My problem now is that some classes are missing, for example:
> >>>>> itkHessianToObjectnessMeasureImageFilter
> >>>>> itkMultiScaleHessianBasedMeasureImageFilter
> >>>>>
> >>>>> Does WrapITK not wrap these classes? Is there any way to configure
> >>>> WrapITK
> >>>>> so that I can get python bindings for these classes? Or do I need
> >>>>> to use
> >>>> a
> >>>>> newer version of WrapITK?
> >>>>>
> >>>>>
> >>>>> The newer version of WrapITK does contain wrappers for these
> >>>>> filters.
> >>>>>
> >>>>> Ashish
> >>>>>
> >>>>>
> >>>>> _____________________________________
> >>>>> Powered by www.kitware.com
> >>>>>
> >>>>> Visit other Kitware open-source projects at
> >>>>> http://www.kitware.com/opensource/opensource.html
> >>>>>
> >>>>> Kitware offers ITK Training Courses, for more information visit:
> >>>>> http://www.kitware.com/products/protraining.html
> >>>>>
> >>>>> Please keep messages on-topic and check the ITK FAQ at:
> >>>>> http://www.itk.org/Wiki/ITK_FAQ
> >>>>>
> >>>>> Follow this link to subscribe/unsubscribe:
> >>>>> http://www.itk.org/mailman/listinfo/insight-users
> >>>>>
> >>>>>
> >>>>>
> >>>
> >>> -- 
> >>> NEU: FreePhone - kostenlos mobil telefonieren!			
> >>> Jetzt informieren: http://www.gmx.net/de/go/freephone
> >>> _____________________________________
> >>> Powered by www.kitware.com
> >>>
> >>> Visit other Kitware open-source projects at
> >>> http://www.kitware.com/opensource/opensource.html
> >>>
> >>> Kitware offers ITK Training Courses, for more information visit:
> >>> http://www.kitware.com/products/protraining.html
> >>>
> >>> Please keep messages on-topic and check the ITK FAQ at:
> >>> http://www.itk.org/Wiki/ITK_FAQ
> >>>
> >>> Follow this link to subscribe/unsubscribe:
> >>> http://www.itk.org/mailman/listinfo/insight-users
> >>
> >> -- 
> >> Gaëtan Lehmann
> >> Biologie du Développement et de la Reproduction
> >> INRA de Jouy-en-Josas (France)
> >> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> >> http://voxel.jouy.inra.fr  http://www.itk.org
> >> http://www.mandriva.org  http://www.bepo.fr
> >>
> >
> > -- 
> > NEU: FreePhone - kostenlos mobil telefonieren!			
> > Jetzt informieren: http://www.gmx.net/de/go/freephone
> 
> -- 
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr  http://www.itk.org
> http://www.mandriva.org  http://www.bepo.fr
> 

-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the Insight-users mailing list