Commit 433134a1 authored by Julien Michel's avatar Julien Michel

Ajout de la structure de base pour le wrapping de l'otb. Les filtres itk sont...

Ajout de la structure de base pour le wrapping de l'otb. Les filtres itk sont disponibles avec les image otb, les IO otbs ainsi que la visu est disponible. Testé avec python.
Modification du otbTestMain.h pour support d'un nouveau type de pointeur.
Corrections dans le code d'erreurs repérées grace aux wrapping.
parent fb2c033e
......@@ -270,6 +270,17 @@ SET(OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING 8*2000*10 CACHE STRING "Max size bu
MARK_AS_ADVANCED(OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING)
#-----------------------------------------------------------------------------
# Perform a setup of OTB Wrapping. This will provide CMake options for
# individual wrapping as well as determine if CableSwig is required. If it is,
# OTB_NEED_CableSwig will be set. This file also tries to locate CableSwig by
# searching first in the source tree of OTB, and if that fails, it searches
# for a binary built of CableSwig.
#
INCLUDE(${OTB_SOURCE_DIR}/Wrapping/otbsWrapSetup.cmake)
#-----------------------------------------------------------------------------
# Option for generate Patented examples !!!
OPTION(OTB_USE_PATENTED "Build patented examples. ITK must be genereted whith patented option (ITK_USE_PATENTED = ON)." OFF)
......@@ -293,6 +304,9 @@ OPTION(BUILD_TESTING "Generer les tests." OFF)
# Dispatch the build into the proper subdirectories.
SUBDIRS(Utilities Code)
SUBDIRS(Wrapping)
IF (BUILD_EXAMPLES)
SUBDIRS(Examples)
ENDIF (BUILD_EXAMPLES)
......
......@@ -359,6 +359,16 @@ bool isHexaPointerAddress(std::string str)
start = 2;
size = str.size();
}
// if 01adress
else if(
(str[0]==48) &&
(str[1]==49) &&
(str.size()==8))
{
result = true;
start = 2;
size = str.size();
}
unsigned int i(start);
while(result&&(i<size))
......
......@@ -89,7 +89,8 @@ public:
* that the IORegion has been set properly. */
virtual void Write(const void* buffer);
void SampleImage(void* buffer,int XBegin, int YBegin, int SizeXRead, int SizeYRead, int XSample, int YSample);
// JULIEN: NOT USED, NOT IMPLEMENTED
// void SampleImage(void* buffer,int XBegin, int YBegin, int SizeXRead, int SizeYRead, int XSample, int YSample);
protected:
/** Construtor.*/
......
......@@ -112,7 +112,8 @@ public:
* that the IORegion has been set properly. */
virtual void Write(const void* buffer);
void SampleImage(void* buffer,int XBegin, int YBegin, int SizeXRead, int SizeYRead, int XSample, int YSample);
// JULIEN: NOT USED, NOT IMPLEMENTED
//void SampleImage(void* buffer,int XBegin, int YBegin, int SizeXRead, int SizeYRead, int XSample, int YSample);
protected:
/** Construtor.*/
......
......@@ -88,8 +88,8 @@ public:
/** Writes the data to disk from the memory buffer provided. Make sure
* that the IORegion has been set properly. */
virtual void Write(const void* buffer);
void SampleImage(void* buffer,int XBegin, int YBegin, int SizeXRead, int SizeYRead, int XSample, int YSample);
// JULIEN: NOT USED, NOT IMPLEMENTED
//void SampleImage(void* buffer,int XBegin, int YBegin, int SizeXRead, int SizeYRead, int XSample, int YSample);
protected:
/** Construtor.*/
......
......@@ -87,8 +87,8 @@ public:
/** Writes the data to disk from the memory buffer provided. Make sure
* that the IORegion has been set properly. */
virtual void Write(const void* buffer);
void SampleImage(void* buffer,int XBegin, int YBegin, int SizeXRead, int SizeYRead, int XSample, int YSample);
// JULIEN: NOT USED, NOT IMPLEMENTED
//void SampleImage(void* buffer,int XBegin, int YBegin, int SizeXRead, int SizeYRead, int XSample, int YSample);
protected:
/** Construtor.*/
......
......@@ -123,7 +123,7 @@ class ITK_EXPORT ImageViewer
/** Set the input image */
virtual void SetImage(itk::ImageBase<2> * img);
virtual void SetImage(ImageType * img);
/** Show the viewer (Update) */
virtual void Show(void);
/** Hide all Image View Windows */
......@@ -164,6 +164,9 @@ protected:
~ImageViewer();
private:
ImageViewer(const Self&); //purposely not implemented
void operator=(const Self&); //purposely not implemented
/// zoom widget component
ZoomWidgetPointerType m_ZoomWidget;
/// scroll widget component
......
......@@ -383,7 +383,7 @@ namespace otb
template <class TPixel>
void
ImageViewer<TPixel>
::SetImage(itk::ImageBase<2> * img)
::SetImage(ImageType * img)
{
m_InputImage = dynamic_cast<ImageType *>( img );
}
......
IF("${OTB_COMMON_BUILD_TYPE}" MATCHES "SHARED")
SET(BUILD_SHARED_LIBS ON)
ENDIF("${OTB_COMMON_BUILD_TYPE}" MATCHES "SHARED")
#-----------------------------------------------------------------------------
# Find wrapping language API libraries.
IF(OTB_CSWIG_TCL)
FIND_PACKAGE(TCL)
# Hide useless settings provided by FindTCL.
FOREACH(entry TCL_LIBRARY_DEBUG
TK_LIBRARY_DEBUG
TCL_STUB_LIBRARY
TCL_STUB_LIBRARY_DEBUG
TK_STUB_LIBRARY
TK_STUB_LIBRARY_DEBUG
TK_WISH)
SET(${entry} "${${entry}}" CACHE INTERNAL "This value is not used by OTB.")
ENDFOREACH(entry)
ENDIF(OTB_CSWIG_TCL)
IF(OTB_CSWIG_PYTHON)
INCLUDE(${CMAKE_ROOT}/Modules/FindPythonLibs.cmake)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
PATHS
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.3\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.2\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.1\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.0\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\1.6\\InstallPath]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\1.5\\InstallPath]
)
MARK_AS_ADVANCED(PYTHON_EXECUTABLE)
ENDIF(OTB_CSWIG_PYTHON)
IF(OTB_CSWIG_JAVA)
FIND_PACKAGE(Java)
FIND_PACKAGE(JNI)
ENDIF(OTB_CSWIG_JAVA)
IF(OTB_CSWIG_PERL)
FIND_PACKAGE(Perl)
FIND_PACKAGE(PerlLibs)
ENDIF(OTB_CSWIG_PERL)
MARK_AS_ADVANCED(OTB_CSWIG_PYTHON)
MARK_AS_ADVANCED(OTB_CSWIG_TCL)
MARK_AS_ADVANCED(OTB_CSWIG_JAVA)
MARK_AS_ADVANCED(OTB_CSWIG_PERL)
MARK_AS_ADVANCED(CABLE_INDEX)
MARK_AS_ADVANCED(CSWIG)
MARK_AS_ADVANCED(GCCXML)
# set a variable to determine if
# the CSwig directory should be used
SET(OTB_CSWIG_DIR 0)
IF(OTB_CSWIG_TCL)
SET(OTB_CSWIG_DIR 1)
ENDIF(OTB_CSWIG_TCL)
IF(OTB_CSWIG_PYTHON)
SET(OTB_CSWIG_DIR 1)
ENDIF(OTB_CSWIG_PYTHON)
IF(OTB_CSWIG_JAVA)
SET(OTB_CSWIG_DIR 1)
ENDIF(OTB_CSWIG_JAVA)
IF(OTB_CSWIG_DIR)
SUBDIRS(CSwig)
ENDIF(OTB_CSWIG_DIR)
# create the ITKAlgorithmsTcl libraries
SET(WRAP_SOURCES
wrap_itkCurvatureFlowImageFilter
wrap_itkDemonsRegistrationFilter
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_itkThresholdSegmentationLevelSetImageFilter
wrap_itkGeodesicActiveContourLevelSetImageFilter
wrap_itkShapeDetectionLevelSetImageFilter
# wrap_itkCurvesLevelSetImageFilter
# wrap_itkNarrowBandLevelSetImageFilter
wrap_itkPDEDeformableRegistrationFilter
# wrap_itkNarrowBandCurvesLevelSetImageFilter
wrap_itkVoronoiSegmentationImageFilter
wrap_itkWatershedImageFilter
wrap_itkSegmentationLevelSetImageFilter
wrap_itkSparseFieldLevelSetImageFilter
wrap_itkSymmetricForcesDemonsRegistrationFilter
wrap_itkTreeNodeSO
wrap_itkLevelSetFunction
)
SET(MASTER_INDEX_FILES "${WrapOTB_BINARY_DIR}/VXLNumerics/VXLNumerics.mdx"
"${WrapOTB_BINARY_DIR}/Numerics/ITKNumerics.mdx"
"${WrapOTB_BINARY_DIR}/CommonA/ITKCommonA.mdx"
"${WrapOTB_BINARY_DIR}/CommonB/ITKCommonB.mdx"
"${WrapOTB_BINARY_DIR}/BasicFiltersA/ITKBasicFiltersA.mdx"
"${WrapOTB_BINARY_DIR}/BasicFiltersB/ITKBasicFiltersB.mdx"
"${WrapOTB_BINARY_DIR}/Algorithms/ITKAlgorithms.mdx"
)
ITK_WRAP_LIBRARY("${WRAP_SOURCES}" ITKAlgorithms Algorithms
"ITKNumerics;ITKCommonB;ITKCommonA;ITKBasicFiltersA;ITKBasicFiltersB" "" "")
/.NoDartCoverage/1.1/Sat Sep 25 17:38:41 2004//TITK-3-0-1
/CMakeLists.txt/1.31/Fri Jun 3 08:37:35 2005//TITK-3-0-1
/wrap_ITKAlgorithms.cxx/1.18/Fri Jun 3 08:37:35 2005//TITK-3-0-1
/wrap_ITKAlgorithmsJava.cxx/1.2/Wed Feb 18 14:47:41 2004//TITK-3-0-1
/wrap_ITKAlgorithmsPython.cxx/1.1/Tue May 13 20:28:38 2003//TITK-3-0-1
/wrap_ITKAlgorithmsTcl.cxx/1.1/Tue May 13 20:28:38 2003//TITK-3-0-1
/wrap_itkCurvatureFlowImageFilter.cxx/1.5/Wed Nov 26 02:01:03 2003//TITK-3-0-1
/wrap_itkCurvesLevelSetImageFilter.cxx/1.2/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkDemonsRegistrationFilter.cxx/1.5/Fri Apr 1 16:30:14 2005//TITK-3-0-1
/wrap_itkGeodesicActiveContourLevelSetImageFilter.cxx/1.2/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkHistogramMatchingImageFilter.cxx/1.5/Thu Jan 13 18:37:50 2005//TITK-3-0-1
/wrap_itkImageRegistrationMethod.cxx/1.6/Wed Jan 19 16:45:43 2005//TITK-3-0-1
/wrap_itkImageToImageMetric.cxx/1.4/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkLevelSetFunction.cxx/1.1/Tue Jan 25 22:50:35 2005//TITK-3-0-1
/wrap_itkMattesMutualInformationImageToImageMetric.cxx/1.4/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkMeanReciprocalSquareDifferenceImageToImageMetric.cxx/1.2/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkMeanSquaresImageToImageMetric.cxx/1.4/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkMinMaxCurvatureFlowImageFilter.cxx/1.1/Wed Nov 26 02:01:03 2003//TITK-3-0-1
/wrap_itkMultiResolutionImageRegistrationMethod.cxx/1.1/Tue Oct 14 17:59:55 2003//TITK-3-0-1
/wrap_itkMutualInformationImageToImageMetric.cxx/1.4/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkNarrowBandCurvesLevelSetImageFilter.cxx/1.3/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkNarrowBandLevelSetImageFilter.cxx/1.2/Thu Jan 13 18:37:50 2005//TITK-3-0-1
/wrap_itkNormalizedCorrelationImageToImageMetric.cxx/1.4/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkOtsuThresholdImageCalculator.cxx/1.4/Wed Sep 10 14:30:12 2003//TITK-3-0-1
/wrap_itkPDEDeformableRegistrationFilter.cxx/1.3/Fri Apr 1 16:30:14 2005//TITK-3-0-1
/wrap_itkRecursiveMultiResolutionPyramidImageFilter.cxx/1.2/Thu Nov 6 22:24:13 2003//TITK-3-0-1
/wrap_itkSegmentationLevelSetImageFilter.cxx/1.1/Thu Jan 20 15:19:57 2005//TITK-3-0-1
/wrap_itkShapeDetectionLevelSetImageFilter.cxx/1.4/Wed Jan 19 16:45:43 2005//TITK-3-0-1
/wrap_itkSparseFieldLevelSetImageFilter.cxx/1.2/Tue Jan 25 16:40:03 2005//TITK-3-0-1
/wrap_itkSymmetricForcesDemonsRegistrationFilter.cxx/1.1/Fri Jun 3 08:37:35 2005//TITK-3-0-1
/wrap_itkThresholdSegmentationLevelSetImageFilter.cxx/1.5/Wed Jan 26 17:15:22 2005//TITK-3-0-1
/wrap_itkTreeNode.cxx/1.1/Thu Jan 20 15:19:57 2005//TITK-3-0-1
/wrap_itkTreeNodeSO.cxx/1.1/Fri Jan 14 15:27:23 2005//TITK-3-0-1
/wrap_itkVoronoiSegmentationImageFilter.cxx/1.2/Thu Jan 13 18:37:50 2005//TITK-3-0-1
/wrap_itkWatershedImageFilter.cxx/1.1/Fri Mar 26 12:57:10 2004//TITK-3-0-1
D
Insight/Wrapping/CSwig/Algorithms
:pserver:anonymous@www.itk.org:/cvsroot/Insight
CVS: ----------------------------------------------------------------------
CVS: CVS Commits to CMake/ITK/ParaView/VTK require commit type in the
CVS: comment. Valid commit types are:
CVS:
CVS: BUG: - a change made to fix a runtime issue
CVS: (crash, segmentation fault, exception, or incorrect result,
CVS: COMP: - a fix for a compilation issue, error or warning,
CVS: ENH: - new functionality added to the project,
CVS: PERF: - a performance improvement,
CVS: STYLE: - a change that does not impact the logic or execution of the
CVS: code. (improve coding style, comments, documentation).
CVS:
CVS: The cvs command to commit the change is:
CVS:
CVS: cvs commit -m "BUG: fixed core dump when passed float data" filename
CVS:
CVS: you can also use the syntax below which omits the -m flag. In this
CVS: case cvs will start up an editor for you to enter a comment on why you
CVS: made the change.
CVS:
CVS: cvs commit filename
CVS: ----------------------------------------------------------------------
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_ITKAlgorithms.cxx,v $
Language: C++
Date: $Date: 2005/06/03 08:37:35 $
Version: $Revision: 1.18 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
namespace _cable_
{
const char* const package = ITK_WRAP_PACKAGE_NAME(ITK_WRAP_PACKAGE);
const char* const groups[] =
{
ITK_WRAP_GROUP(itkCurvatureFlowImageFilter),
ITK_WRAP_GROUP(itkDemonsRegistrationFilter),
ITK_WRAP_GROUP(itkHistogramMatchingImageFilter),
ITK_WRAP_GROUP(itkImageRegistrationMethod),
ITK_WRAP_GROUP(itkImageToImageMetric),
ITK_WRAP_GROUP(itkMeanSquaresImageToImageMetric),
ITK_WRAP_GROUP(itkMutualInformationImageToImageMetric),
ITK_WRAP_GROUP(itkMultiResolutionImageRegistrationMethod),
ITK_WRAP_GROUP(itkNormalizedCorrelationImageToImageMetric),
ITK_WRAP_GROUP(itkOtsuThresholdImageCalculator),
ITK_WRAP_GROUP(itkMeanReciprocalSquareDifferenceImageToImageMetric),
ITK_WRAP_GROUP(itkThresholdSegmentationLevelSetImageFilter),
ITK_WRAP_GROUP(itkGeodesicActiveContourLevelSetImageFilter),
ITK_WRAP_GROUP(itkShapeDetectionLevelSetImageFilter),
// ITK_WRAP_GROUP(itkCurvesLevelSetImageFilter),
// ITK_WRAP_GROUP(itkNarrowBandLevelSetImageFilter),
// ITK_WRAP_GROUP(itkNarrowBandCurvesLevelSetImageFilter),
ITK_WRAP_GROUP(itkMattesMutualInformationImageToImageMetric),
ITK_WRAP_GROUP(itkPDEDeformableRegistrationFilter),
ITK_WRAP_GROUP(itkRecursiveMultiResolutionPyramidImageFilter),
ITK_WRAP_GROUP(itkVoronoiSegmentationImageFilter),
ITK_WRAP_GROUP(itkWatershedImageFilter),
ITK_WRAP_GROUP(itkSegmentationLevelSetImageFilter),
ITK_WRAP_GROUP(itkTreeNodeSO),
ITK_WRAP_GROUP(itkSparseFieldLevelSetImageFilter),
ITK_WRAP_GROUP(itkSymmetricForcesDemonsRegistrationFilter),
ITK_WRAP_GROUP(itkLevelSetFunction)
};
}
#endif
#define ITK_WRAP_PACKAGE "ITKAlgorithmsJava"
#include "wrap_ITKAlgorithms.cxx"
#define ITK_WRAP_PACKAGE "ITKAlgorithmsPython"
#include "wrap_ITKAlgorithms.cxx"
#define ITK_WRAP_PACKAGE "ITKAlgorithmsTcl"
#include "wrap_ITKAlgorithms.cxx"
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkCurvatureFlowImageFilter.cxx,v $
Language: C++
Date: $Date: 2003/11/26 02:01:03 $
Version: $Revision: 1.5 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkCurvatureFlowImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkCurvatureFlowImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2(CurvatureFlowImageFilter, image::F2, image::F2,
itkCurvatureFlowImageFilterF2F2);
ITK_WRAP_OBJECT2(CurvatureFlowImageFilter, image::F3, image::F3,
itkCurvatureFlowImageFilterF3F3);
ITK_WRAP_OBJECT2(CurvatureFlowImageFilter, image::D2, image::D2,
itkCurvatureFlowImageFilterD2D2);
ITK_WRAP_OBJECT2(CurvatureFlowImageFilter, image::D3, image::D3,
itkCurvatureFlowImageFilterD3D3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkCurvesLevelSetImageFilter.cxx,v $
Language: C++
Date: $Date: 2003/09/10 14:30:12 $
Version: $Revision: 1.2 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkCurvesLevelSetImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkCurvesLevelSetImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2(CurvesLevelSetImageFilter, image::F2, image::F2,
itkCurvesLevelSetImageFilterF2F2);
ITK_WRAP_OBJECT2(CurvesLevelSetImageFilter, image::F3, image::F3,
itkCurvesLevelSetImageFilterF3F3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkDemonsRegistrationFilter.cxx,v $
Language: C++
Date: $Date: 2005/04/01 16:30:14 $
Version: $Revision: 1.5 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkDemonsRegistrationFilter.h"
#include "itkVector.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkDemonsRegistrationFilter);
namespace wrappers
{
ITK_WRAP_OBJECT3(DemonsRegistrationFilter, image::F2, image::F2, image::VF2,
itkDemonsRegistrationFilterF2F2);
ITK_WRAP_OBJECT3(DemonsRegistrationFilter, image::F3, image::F3, image::VF3,
itkDemonsRegistrationFilterF3F3);
ITK_WRAP_OBJECT3(DemonsRegistrationFilter, image::US2, image::US2, image::VF2,
itkDemonsRegistrationFilterUS2US2);
ITK_WRAP_OBJECT3(DemonsRegistrationFilter, image::US3, image::US3, image::VF3,
itkDemonsRegistrationFilterUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkGeodesicActiveContourLevelSetImageFilter.cxx,v $
Language: C++
Date: $Date: 2003/09/10 14:30:12 $
Version: $Revision: 1.2 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkGeodesicActiveContourLevelSetImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkGeodesicActiveContourLevelSetImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2(GeodesicActiveContourLevelSetImageFilter, image::F2, image::F2,