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

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
#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,
itkGeodesicActiveContourLevelSetImageFilterF2F2);
ITK_WRAP_OBJECT2(GeodesicActiveContourLevelSetImageFilter, image::F3, image::F3,
itkGeodesicActiveContourLevelSetImageFilterF3F3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkHistogramMatchingImageFilter.cxx,v $
Language: C++
Date: $Date: 2005/01/13 18:37:50 $
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 "itkHistogramMatchingImageFilter.h"
#include "itkSpatialObject.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkHistogramMatchingImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2(HistogramMatchingImageFilter, image::F2, image::F2,
itkHistogramMatchingImageFilterF2F2);
ITK_WRAP_OBJECT2(HistogramMatchingImageFilter, image::F3, image::F3,
itkHistogramMatchingImageFilterF3F3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkImageRegistrationMethod.cxx,v $
Language: C++
Date: $Date: 2005/01/19 16:45:43 $
Version: $Revision: 1.6 $
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 "itkImageRegistrationMethod.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkImageRegistrationMethod);
namespace wrappers
{
ITK_WRAP_OBJECT2(ImageRegistrationMethod, image::F2, image::F2,
itkImageRegistrationMethodF2F2);
ITK_WRAP_OBJECT2(ImageRegistrationMethod, image::F3, image::F3,
itkImageRegistrationMethodF3F3);
ITK_WRAP_OBJECT2(ImageRegistrationMethod, image::US2, image::US2,
itkImageRegistrationMethodUS2US2);
ITK_WRAP_OBJECT2(ImageRegistrationMethod, image::US3, image::US3,
itkImageRegistrationMethodUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkImageToImageMetric.cxx,v $
Language: C++
Date: $Date: 2003/09/10 14:30:12 $
Version: $Revision: 1.4 $
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 "itkImageToImageMetric.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkImageToImageMetric);
namespace wrappers
{
ITK_WRAP_OBJECT2(ImageToImageMetric, image::F2, image::F2,
itkImageToImageMetricF2F2);
ITK_WRAP_OBJECT2(ImageToImageMetric, image::F3, image::F3,
itkImageToImageMetricF3F3);
ITK_WRAP_OBJECT2(ImageToImageMetric, image::US2, image::US2,
itkImageToImageMetricUS2US2);
ITK_WRAP_OBJECT2(ImageToImageMetric, image::US3, image::US3,
itkImageToImageMetricUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkLevelSetFunction.cxx,v $
Language: C++
Date: $Date: 2005/01/25 22:50:35 $
Version: $Revision: 1.1 $
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 "itkLevelSetFunction.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkLevelSetFunction);
namespace wrappers
{
ITK_WRAP_OBJECT1(LevelSetFunction,image::F2,itkLevelSetFunctionF2);
ITK_WRAP_OBJECT1(LevelSetFunction,image::F3,itkLevelSetFunctionF3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkMattesMutualInformationImageToImageMetric.cxx,v $
Language: C++
Date: $Date: 2003/09/10 14:30:12 $
Version: $Revision: 1.4 $
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 "itkMattesMutualInformationImageToImageMetric.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkMattesMutualInformationImageToImageMetric);
namespace wrappers
{
ITK_WRAP_OBJECT2(MattesMutualInformationImageToImageMetric, image::F2, image::F2,
itkMattesMutualInformationImageToImageMetricF2F2);
ITK_WRAP_OBJECT2(MattesMutualInformationImageToImageMetric, image::F3, image::F3,
itkMattesMutualInformationImageToImageMetricF3F3);
ITK_WRAP_OBJECT2(MattesMutualInformationImageToImageMetric, image::US2, image::US2,
itkMattesMutualInformationImageToImageMetricUS2US2);
ITK_WRAP_OBJECT2(MattesMutualInformationImageToImageMetric, image::US3, image::US3,
itkMattesMutualInformationImageToImageMetricUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkMeanReciprocalSquareDifferenceImageToImageMetric.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 "itkMeanReciprocalSquareDifferenceImageToImageMetric.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkMeanReciprocalSquareDifferenceImageToImageMetric);
namespace wrappers
{
ITK_WRAP_OBJECT2(MeanReciprocalSquareDifferenceImageToImageMetric, image::F2, image::F2,
itkMeanReciprocalSquareDifferenceImageToImageMetricF2F2);
ITK_WRAP_OBJECT2(MeanReciprocalSquareDifferenceImageToImageMetric, image::F3, image::F3,
itkMeanReciprocalSquareDifferenceImageToImageMetricF3F3);
ITK_WRAP_OBJECT2(MeanReciprocalSquareDifferenceImageToImageMetric, image::US2, image::US2,
itkMeanReciprocalSquareDifferenceImageToImageMetricUS2US2);
ITK_WRAP_OBJECT2(MeanReciprocalSquareDifferenceImageToImageMetric, image::US3, image::US3,
itkMeanReciprocalSquareDifferenceImageToImageMetricUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkMeanSquaresImageToImageMetric.cxx,v $
Language: C++
Date: $Date: 2003/09/10 14:30:12 $
Version: $Revision: 1.4 $
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 "itkMeanSquaresImageToImageMetric.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkMeanSquaresImageToImageMetric);
namespace wrappers
{
ITK_WRAP_OBJECT2(MeanSquaresImageToImageMetric, image::F2, image::F2,
itkMeanSquaresImageToImageMetricF2F2);
ITK_WRAP_OBJECT2(MeanSquaresImageToImageMetric, image::F3, image::F3,
itkMeanSquaresImageToImageMetricF3F3);
ITK_WRAP_OBJECT2(MeanSquaresImageToImageMetric, image::US2, image::US2,
itkMeanSquaresImageToImageMetricUS2US2);
ITK_WRAP_OBJECT2(MeanSquaresImageToImageMetric, image::US3, image::US3,
itkMeanSquaresImageToImageMetricUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkMinMaxCurvatureFlowImageFilter.cxx,v $
Language: C++
Date: $Date: 2003/11/26 02:01:03 $
Version: $Revision: 1.1 $
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 "itkMinMaxCurvatureFlowImageFilter.h"
#include "otbImage.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
//=================================
//THIS FILE GENERATED WITH MakeConsistentWrappedClasses.sh
//=================================
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkMinMaxCurvatureFlowImageFilter);
namespace wrappers
{
//===========2D Wrapped Filters==============
ITK_WRAP_OBJECT2(MinMaxCurvatureFlowImageFilter, image::F2 , image::F2 , itkMinMaxCurvatureFlowImageFilterF2F2 );
ITK_WRAP_OBJECT2(MinMaxCurvatureFlowImageFilter, image::D2 , image::D2 , itkMinMaxCurvatureFlowImageFilterD2D2 );
//===========3D Wrapped Filters==============
ITK_WRAP_OBJECT2(MinMaxCurvatureFlowImageFilter, image::F3 , image::F3 , itkMinMaxCurvatureFlowImageFilterF3F3 );
ITK_WRAP_OBJECT2(MinMaxCurvatureFlowImageFilter, image::D3 , image::D3 , itkMinMaxCurvatureFlowImageFilterD3D3 );
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkMultiResolutionImageRegistrationMethod.cxx,v $
Language: C++
Date: $Date: 2003/10/14 17:59:55 $
Version: $Revision: 1.1 $
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 "itkMultiResolutionImageRegistrationMethod.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkMultiResolutionImageRegistrationMethod);
namespace wrappers
{
ITK_WRAP_OBJECT2(MultiResolutionImageRegistrationMethod, image::F2, image::F2,
itkMultiResolutionImageRegistrationMethodF2F2);
ITK_WRAP_OBJECT2(MultiResolutionImageRegistrationMethod, image::F3, image::F3,
itkMultiResolutionImageRegistrationMethodF3F3);
ITK_WRAP_OBJECT2(MultiResolutionImageRegistrationMethod, image::US2, image::US2,
itkMultiResolutionImageRegistrationMethodUS2US2);
ITK_WRAP_OBJECT2(MultiResolutionImageRegistrationMethod, image::US3, image::US3,
itkMultiResolutionImageRegistrationMethodUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkMutualInformationImageToImageMetric.cxx,v $
Language: C++
Date: $Date: 2003/09/10 14:30:12 $
Version: $Revision: 1.4 $
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 "itkMutualInformationImageToImageMetric.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkMutualInformationImageToImageMetric);
namespace wrappers
{
ITK_WRAP_OBJECT2(MutualInformationImageToImageMetric, image::F2, image::F2,
itkMutualInformationImageToImageMetricF2F2);
ITK_WRAP_OBJECT2(MutualInformationImageToImageMetric, image::F3, image::F3,
itkMutualInformationImageToImageMetricF3F3);
ITK_WRAP_OBJECT2(MutualInformationImageToImageMetric, image::US2, image::US2,
itkMutualInformationImageToImageMetricUS2US2);
ITK_WRAP_OBJECT2(MutualInformationImageToImageMetric, image::US3, image::US3,
itkMutualInformationImageToImageMetricUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkNarrowBandCurvesLevelSetImageFilter.cxx,v $
Language: C++
Date: $Date: 2003/09/10 14:30:12 $
Version: $Revision: 1.3 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.