[Insight-users] help with wrapping of itkVoronoiSegmentationImageFilter

Luis Ibanez luis.ibanez at kitware.com
Wed Oct 27 17:43:40 EDT 2004


Bruno,

You will find new examples on how to use the
VoronoiSegmenationImageFilter in the directory

     Insight/Examples/Segmentation/


They are

         VoronoiSegmenationImageFilter.py
         VoronoiSegmenationImageFilter.tcl
         VoronoiSegmenationImageFilter.java


Please let us know if you find any problems,


    Thanks


      Luis


===========================================
Luis Ibanez wrote:

> 
> Hi Bruno,
> 
> Thanks for pointing this out.
> 
> We added this issue as Bug # 1292
> http://www.itk.org/Bug/bug.php?op=show&bugid=1292&pos=0
> 
> The wrapper for this class is being added as we speak.
> 
> ----------
> 
> The process for adding a class to the wrapping involves
> three steps:
> 
> A) Create a wrap_itkCLASSNAME.cxx file in one of the
>    directories in
> 
>      Insight/Wrapping/CSWig
> 
>    This file will specify the C++ instantiations that
>    are going to be wrapped into Tcl, Python and Java.
> 
> 
> B) Edit the master file of that directory. In this
>    case the file
> 
> 
>      wrap_ITKAlgorithms.cxx
> 
>    and add the group of the new instantiations of this
>    filter.  That's a line like
> 
>     ITK_WRAP_GROUP(itkVoronoiSegmentationImageFilter),
> 
> 
> C) Edit the CMakeLists.txt file in the same directory
>    and add the new wrap_itkCLASSNAME.cxx file to the
>    list of files in WRAP_SOURCE.
> 
> 
> We just did this procedure in the CVS repository.
> Please update your CVS checkout of ITK and rebuild
> the wrapping.
> 
> 
> 
> Please let us know if you have further questions,
> 
> 
> 
>    Thanks
> 
> 
> 
>       Luis
> 
> 
> 
> --------------------
> Bruno Cassaro wrote:
> 
>> *Hi ITK user's .....*
>> ** *I'm trying to use itkVoronoiSegmentationImageFilter , and use 
>> python for it. But I can't find  the class. When i was looking for it, 
>> i perceive in my cmakelist don't have 
>> itkVoronoiSegmentationImageFilter wrap.*
>> ** *Updating my itk by CVS i note what a have the 
>> itkVoronoiSegmentationImageFilter class in c++, but it didn't be 
>> wrapped in python by cmake how the others classes were. The stretch of 
>> my cmake code ...*
>> ** *# create the ITKAlgorithmsTcl libraries
>> SET(WRAP_SOURCES
>>     wrap_itkCurvatureFlowImageFilter
>>     wrap_itkHistogramMatchingImageFilter
>>     wrap_itkImageRegistrationMethod
>>     wrap_itkImageToImageMetric
>>     wrap_itkMattesMutualInformationImageToImageMetric
>>     wrap_itkMeanSquaresImageToImageMetric
>>     wrap_itkMinMaxCurvatureFlowImageFilter
>>     wrap_itkMutualInformationImageToImageMetric
>>     wrap_itkMultiResolutionImageRegistrationMethod
>>     wrap_itkNormalizedCorrelationImageToImageMetric
>>     wrap_itkOtsuThresholdImageCalculator
>>     wrap_itkMeanReciprocalSquareDifferenceImageToImageMetric
>>     wrap_itkRecursiveMultiResolutionPyramidImageFilter
>>     wrap_itkSimpleFuzzyConnectednessImageFilterBase
>>     wrap_itkSimpleFuzzyConnectednessScalarImageFilter
>>     wrap_itkThresholdSegmentationLevelSetImageFilter
>>     wrap_itkGeodesicActiveContourLevelSetImageFilter
>>     wrap_itkShapeDetectionLevelSetImageFilter
>>     wrap_itkCurvesLevelSetImageFilter
>>     wrap_itkNarrowBandCurvesLevelSetImageFilter
>> )*
>> ** ** *Can someone help me?*
>> *how can adjust my cmake to do the itkVoronoiSegmentationImageFilter 
>> in python ??*
>>  
>> Regards,
>> Bruno Cassaro
>> *
>> *
>>  
>>  
>>  
>>  
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
> 
> 
> 
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 






More information about the Insight-users mailing list