]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 28 Nov 2016 13:16:32 +0000 (08:16 -0500)
committerLeonardo Flórez-Valencia <florez-l@javeriana.edu.co>
Mon, 28 Nov 2016 13:16:32 +0000 (08:16 -0500)
20 files changed:
lib/cpInstances/ITK2VTKImageFilters.i [new file with mode: 0644]
lib/cpInstances/ITKBaseImageFilters.i [new file with mode: 0644]
lib/cpInstances/ITKBoundingBoxes.i [new file with mode: 0644]
lib/cpInstances/ITKImages.i [new file with mode: 0644]
lib/cpInstances/ITKMeshes.i [new file with mode: 0644]
lib/cpInstances/ITKNeighborhoodImageIterators.i [new file with mode: 0644]
lib/cpInstances/ITKPaths.i [new file with mode: 0644]
lib/cpInstances/ITKSimpleImageIterators.i [new file with mode: 0644]
plugins/ITKAnisotropicSmoothing/ITKAnisotropicSmoothing.i [new file with mode: 0644]
plugins/ITKBinaryFunctorFilters/ITKBinaryFunctorFilters.i [new file with mode: 0644]
plugins/ITKDistanceMapFilters/ITKDistanceMapFilters.i [new file with mode: 0644]
plugins/ITKFiniteDifference/ITKFiniteDifference.i [new file with mode: 0644]
plugins/ITKIO/ITKIO.i [new file with mode: 0644]
plugins/ITKImageGenericFilters_1/ITKImageGenericFilters_1.i [new file with mode: 0644]
plugins/ITKLevelSetFilters/ITKLevelSetFilters.i [new file with mode: 0644]
plugins/ITKNeighborhoodOperatorFilters/ITKNeighborhoodOperatorFilters.i [new file with mode: 0644]
plugins/ITKParaMorphology/ITKParaMorphology.i [new file with mode: 0644]
plugins/ITKUnaryFunctorFilters/ITKUnaryFunctorFilters.i [new file with mode: 0644]
plugins/ITKUnaryFunctorFilters/UnaryThresholdImageFilter.cxx [new file with mode: 0644]
plugins/ITKUnaryFunctorFilters/UnaryThresholdImageFilter.h [new file with mode: 0644]

diff --git a/lib/cpInstances/ITK2VTKImageFilters.i b/lib/cpInstances/ITK2VTKImageFilters.i
new file mode 100644 (file)
index 0000000..4166981
--- /dev/null
@@ -0,0 +1,21 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define color_pixels=RGBPixel;RGBAPixel
+define vector_pixels=CovariantVector;Point;Vector
+define matrices=Matrix
+define pixels=#scalar_types#;itk::#color_pixels#< #scalar_types# >
+
+cinclude itkImage.h
+cinclude itk#color_pixels#.h
+cinclude itkFixedArray.h
+cinclude itk#vector_pixels#.h
+cinclude itk#matrices#.h
+
+define filters=VTKImageImport;VTKImageExport;ImageToVTKImageFilter;VTKImageToImageFilter
+tinclude itk#filters#:h|hxx
+instances itk::#filters#< itk::Image< #pixels#, #vdims# > >
+instances itk::#filters#< itk::Image< itk::FixedArray< #scalar_types#, #vdims# >, #vdims# > >
+instances itk::#filters#< itk::Image< itk::#vector_pixels#< #real_types#, #vdims# >, #vdims# > >
+instances itk::#filters#< itk::Image< itk::#matrices#< #real_types#, #vdims#, #vdims# >, #vdims# > >
+
+** eof - $RCSfile$
diff --git a/lib/cpInstances/ITKBaseImageFilters.i b/lib/cpInstances/ITKBaseImageFilters.i
new file mode 100644 (file)
index 0000000..33df95f
--- /dev/null
@@ -0,0 +1,54 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define color_pixels=RGBPixel;RGBAPixel
+define vector_pixels=CovariantVector;Point;Vector;SymmetricSecondRankTensor
+define matrices=Matrix
+define pixels=#scalar_types#;itk::#color_pixels#< #scalar_types# >;std::complex< #real_types# >
+
+cinclude complex
+cinclude itkImage.h
+cinclude itk#color_pixels#.h
+cinclude itkFixedArray.h
+cinclude itk#vector_pixels#.h
+cinclude itk#matrices#.h
+cinclude itkDiffusionTensor3D.h
+
+tinclude itkImageSource:h|hxx
+instances itk::ImageSource< itk::Image< #pixels#, #pdims# > >
+instances itk::ImageSource< itk::Image< itk::FixedArray< #scalar_types#, #pdims# >, #pdims# > >
+instances itk::ImageSource< itk::Image< itk::#vector_pixels#< #real_types#, #pdims# >, #pdims# > >
+instances itk::ImageSource< itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# > >
+instances itk::ImageSource< itk::Image< itk::Offset< #pdims# >, #pdims# > >
+instances itk::ImageSource< itk::Image< itk::DiffusionTensor3D< #real_types# >, 3 > >
+
+define i_pixels=#pixels#
+define o_pixels=#pixels#
+define i_scalar_types=#scalar_types#
+define o_scalar_types=#scalar_types#
+define i_real_types=#real_types#
+define o_real_types=#real_types#
+define filters=ImageToImageFilter;InPlaceImageFilter
+tinclude itk#filters#:h|hxx
+instances itk::#filters#< itk::Image< #i_pixels#, #pdims# >, itk::Image< #o_pixels#, #pdims# > >
+instances itk::#filters#< itk::Image< itk::FixedArray< #i_scalar_types#, #pdims# >, #pdims# >, itk::Image< itk::FixedArray< #o_scalar_types#, #pdims# >, #pdims# > >
+instances itk::#filters#< itk::Image< itk::#vector_pixels#< #i_real_types#, #pdims# >, #pdims# >, itk::Image< itk::#vector_pixels#< #o_real_types#, #pdims# >, #pdims# > >
+instances itk::#filters#< itk::Image< itk::#matrices#< #i_real_types#, #pdims#, #pdims# >, #pdims# >, itk::Image< itk::#matrices#< #o_real_types#, #pdims#, #pdims# >, #pdims# > >
+
+tinclude itkImageAlgorithm:h|hxx
+minstances void #_export_# itk::ImageAlgorithm::DispatchedCopy< itk::Image< #i_scalar_types#, #pdims# >, itk::Image< #o_scalar_types#, #pdims# > >( itk::Image< #i_scalar_types#, #pdims# > const*, itk::Image< #o_scalar_types#, #pdims# >*, itk::Image< #i_scalar_types#, #pdims# >::RegionType const&, itk::Image< #o_scalar_types#, #pdims# >::RegionType const&, std::integral_constant< bool, true > )
+
+minstances void #_export_# itk::ImageAlgorithm::DispatchedCopy< itk::Image< std::complex< #i_real_types# >, #pdims# >, itk::Image< std::complex< #o_real_types# >, #pdims# > >( itk::Image< std::complex< #i_real_types# >, #pdims# > const*, itk::Image< std::complex< #o_real_types# >, #pdims# >*, itk::Image< std::complex< #i_real_types# >, #pdims# >::RegionType const&, itk::Image< std::complex< #o_real_types# >, #pdims# >::RegionType const&, std::integral_constant< bool, true > )
+
+minstances void #_export_# itk::ImageAlgorithm::DispatchedCopy< itk::Image< itk::#color_pixels#< #i_scalar_types# >, #pdims# >, itk::Image< itk::#color_pixels#< #o_scalar_types# >, #pdims# > >( itk::Image< itk::#color_pixels#< #i_scalar_types# >, #pdims# > const*, itk::Image< itk::#color_pixels#< #o_scalar_types# >, #pdims# >*, itk::Image< itk::#color_pixels#< #i_scalar_types# >, #pdims# >::RegionType const&, itk::Image< itk::#color_pixels#< #o_scalar_types# >, #pdims# >::RegionType const&, std::integral_constant< bool, true > )
+
+minstances void #_export_# itk::ImageAlgorithm::DispatchedCopy< itk::Image< itk::FixedArray< #i_scalar_types#, #pdims# >, #pdims# >, itk::Image< itk::FixedArray< #o_scalar_types#, #pdims# >, #pdims# > >( itk::Image< itk::FixedArray< #i_scalar_types#, #pdims# >, #pdims# > const*, itk::Image< itk::FixedArray< #o_scalar_types#, #pdims# >, #pdims# >*, itk::Image< itk::FixedArray< #i_scalar_types#, #pdims# >, #pdims# >::RegionType const&, itk::Image< itk::FixedArray< #o_scalar_types#, #pdims# >, #pdims# >::RegionType const&, std::integral_constant< bool, true > )
+
+minstances void #_export_# itk::ImageAlgorithm::DispatchedCopy< itk::Image< itk::#vector_pixels#< #i_real_types#, #pdims# >, #pdims# >, itk::Image< itk::#vector_pixels#< #o_real_types#, #pdims# >, #pdims# > >( itk::Image< itk::#vector_pixels#< #i_real_types#, #pdims# >, #pdims# > const*, itk::Image< itk::#vector_pixels#< #o_real_types#, #pdims# >, #pdims# >*, itk::Image< itk::#vector_pixels#< #i_real_types#, #pdims# >, #pdims# >::RegionType const&, itk::Image< itk::#vector_pixels#< #o_real_types#, #pdims# >, #pdims# >::RegionType const&, std::integral_constant< bool, true > )
+
+minstances void #_export_# itk::ImageAlgorithm::DispatchedCopy< itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# >, itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# > >( itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# > const*, itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# >*, itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# >::RegionType const&, itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# >::RegionType const&, std::integral_constant< bool, true > )
+
+minstances void #_export_# itk::ImageAlgorithm::DispatchedCopy< itk::Image< itk::Offset< #pdims# >, #pdims# >, itk::Image< itk::Offset< #pdims# >, #pdims# > >( itk::Image< itk::Offset< #pdims# >, #pdims# > const*, itk::Image< itk::Offset< #pdims# >, #pdims# >*, itk::Image< itk::Offset< #pdims# >, #pdims# >::RegionType const&, itk::Image< itk::Offset< #pdims# >, #pdims# >::RegionType const&, std::integral_constant< bool, true > )
+
+minstances void #_export_# itk::ImageAlgorithm::DispatchedCopy< itk::Image< itk::DiffusionTensor3D< #i_real_types# >, 3 >, itk::Image< itk::DiffusionTensor3D< #o_real_types# >, 3 > >( itk::Image< itk::DiffusionTensor3D< #i_real_types# >, 3 > const*, itk::Image< itk::DiffusionTensor3D< #o_real_types# >, 3 >*, itk::Image< itk::DiffusionTensor3D< #i_real_types# >, 3 >::RegionType const&, itk::Image< itk::DiffusionTensor3D< #o_real_types# >, 3 >::RegionType const&, std::integral_constant< bool, true > )
+
+** eof - $RCSfile$
diff --git a/lib/cpInstances/ITKBoundingBoxes.i b/lib/cpInstances/ITKBoundingBoxes.i
new file mode 100644 (file)
index 0000000..9bf736e
--- /dev/null
@@ -0,0 +1,6 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+tinclude itkBoundingBox:h|hxx
+instances itk::BoundingBox< unsigned long, #pdims#, #real_types#, itk::VectorContainer< unsigned long, itk::Point< #real_types#, #pdims# > > >
+
+** eof - $RCSfile$
diff --git a/lib/cpInstances/ITKImages.i b/lib/cpInstances/ITKImages.i
new file mode 100644 (file)
index 0000000..33f5852
--- /dev/null
@@ -0,0 +1,41 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+tinclude itkImportImageContainer:h|hxx
+tinclude itkImage:h|hxx
+
+define base_objects=ImageRegion;ImageBase
+tinclude itk#base_objects#:h|hxx
+instances itk::#base_objects#< #pdims# >
+
+minstances #_export_# std::ostream& itk::operator<< < #pdims# >( std::ostream& a, itk::ImageRegion< #pdims# > const& b )
+
+define color_pixels=RGBPixel;RGBAPixel
+define pixels=#scalar_types#;itk::#color_pixels#< #scalar_types# >;std::complex< #real_types# >;#sint_types#
+cinclude itk#color_pixels#.h
+cinclude complex
+instances itk::ImportImageContainer< unsigned long, #pixels# >
+instances itk::Image< #pixels#, #pdims# >
+
+cinclude itkFixedArray.h
+instances itk::ImportImageContainer< unsigned long, itk::FixedArray< #scalar_types#, #pdims# > >
+instances itk::Image< itk::FixedArray< #scalar_types#, #pdims# >, #pdims# >
+
+define vector_pixels=CovariantVector;Point;Vector;SymmetricSecondRankTensor
+cinclude itk#vector_pixels#.h
+instances itk::ImportImageContainer< unsigned long, itk::#vector_pixels#< #real_types#, #pdims# > >
+instances itk::Image< itk::#vector_pixels#< #real_types#, #pdims# >, #pdims# >
+
+define matrices=Matrix
+cinclude itk#matrices#.h
+instances itk::ImportImageContainer< unsigned long, itk::#matrices#< #real_types#, #pdims#, #pdims# > >
+instances itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# >
+
+cinclude itkOffset.h
+instances itk::ImportImageContainer< unsigned long, itk::Offset< #pdims# > >
+instances itk::Image< itk::Offset< #pdims# >, #pdims# >
+
+cinclude itkDiffusionTensor3D.h
+instances itk::ImportImageContainer< unsigned long, itk::DiffusionTensor3D< #real_types# > >
+instances itk::Image< itk::DiffusionTensor3D< #real_types# >, 3 >
+
+** eof - $RCSfile$
diff --git a/lib/cpInstances/ITKMeshes.i b/lib/cpInstances/ITKMeshes.i
new file mode 100644 (file)
index 0000000..c6d22f0
--- /dev/null
@@ -0,0 +1,15 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define meshes=PointSet;Mesh
+tinclude itk#meshes#:h|hxx
+cinclude itkMapContainer.hxx
+cinclude itkVectorContainer.hxx
+instances itk::#meshes#< #real_types#, #vdims# >
+
+define cells=Vertex;Line;Triangle;Polygon
+tinclude itk#cells#Cell:h|hxx
+tinclude itkCellInterface:h|hxx
+instances itk::CellInterface< #real_types#, itk::CellTraitsInfo< #vdims#, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #vdims# >, itk::VectorContainer< unsigned long, itk::Point< float, #vdims# > >, std::set< unsigned long > > >
+instances itk::#cells#Cell< itk::CellInterface< #real_types#, itk::CellTraitsInfo< #vdims#, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #vdims# >, itk::VectorContainer< unsigned long, itk::Point< float, #vdims# > >, std::set< unsigned long > > > >
+
+** eof - $RCSfile$
diff --git a/lib/cpInstances/ITKNeighborhoodImageIterators.i b/lib/cpInstances/ITKNeighborhoodImageIterators.i
new file mode 100644 (file)
index 0000000..74312fc
--- /dev/null
@@ -0,0 +1,33 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define color_pixels=RGBPixel;RGBAPixel
+define vector_pixels=CovariantVector;Point;Vector;SymmetricSecondRankTensor
+define matrices=Matrix
+define pixels=#scalar_types#;itk::#color_pixels#< #scalar_types# >
+
+cinclude itkImage.h
+cinclude itk#color_pixels#.h
+cinclude itkFixedArray.h
+cinclude itk#vector_pixels#.h
+cinclude itk#matrices#.h
+
+define it=ConstNeighborhoodIterator;NeighborhoodIterator;ConstShapedNeighborhoodIterator;ShapedNeighborhoodIterator
+define co=ZeroFluxNeumannBoundaryCondition
+define pi=#scalar_types#;#sint_types#
+define op=Neighborhood;NeighborhoodOperator;DerivativeOperator
+
+tinclude itk#co#:h|hxx
+tinclude itk#op#:h|hxx
+tinclude itk#it#:h|hxx
+
+instances itk::NeighborhoodAllocator< #pi# >
+instances itk::#op#< #pi#, #pdims#, itk::NeighborhoodAllocator< #pi# > >
+instances itk::#co#< itk::Image< #pi#, #pdims# >, itk::Image< #pi#, #pdims# > >
+instances itk::#it#< itk::Image< #pi#, #pdims# >, itk::#co#< itk::Image< #pi#, #pdims# >, itk::Image< #pi#, #pdims# > > >
+
+instances itk::Neighborhood< #scalar_types#*, #pdims#, itk::NeighborhoodAllocator< #scalar_types#* > >
+
+tinclude itkNeighborhoodAlgorithm:h|hxx
+instances itk::NeighborhoodAlgorithm::ImageBoundaryFacesCalculator< itk::Image< #pi#, #pdims# > >
+
+** eof - $RCSfile$
diff --git a/lib/cpInstances/ITKPaths.i b/lib/cpInstances/ITKPaths.i
new file mode 100644 (file)
index 0000000..ab48493
--- /dev/null
@@ -0,0 +1,17 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+tinclude cpExtensions/Algorithms/BezierCurveFunction:h|hxx
+instances cpExtensions::Algorithms::BezierCurveFunction< itk::Vector< #real_types#, #pdims# > >
+
+tinclude itkPath:h|hxx
+tinclude itkParametricPath:h|hxx
+tinclude itkPolyLineParametricPath:h|hxx
+tinclude cpExtensions/DataStructures/PolyLineParametricPath:h|hxx
+tinclude cpExtensions/DataStructures/Skeleton:h|hxx
+cinclude itkVectorContainer.hxx
+cinclude cpExtensions/DataStructures/Graph.hxx
+instances itk::Path< double, itk::ContinuousIndex< double, #pdims# >, #pdims# >
+define paths=itk::ParametricPath;itk::PolyLineParametricPath;cpExtensions::DataStructures::PolyLineParametricPath;cpExtensions::DataStructures::Skeleton
+instances #paths#< #pdims# >
+
+** eof - $RCSfile$
diff --git a/lib/cpInstances/ITKSimpleImageIterators.i b/lib/cpInstances/ITKSimpleImageIterators.i
new file mode 100644 (file)
index 0000000..e787093
--- /dev/null
@@ -0,0 +1,27 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define color_pixels=RGBPixel;RGBAPixel
+define vector_pixels=CovariantVector;Point;Vector;SymmetricSecondRankTensor
+define matrices=Matrix
+define pixels=#scalar_types#;itk::#color_pixels#< #scalar_types# >;std::complex< #real_types# >;#sint_types#
+
+cinclude itkImage.h
+cinclude itk#color_pixels#.h
+cinclude itkFixedArray.h
+cinclude itk#vector_pixels#.h
+cinclude itk#matrices#.h
+cinclude itkDiffusionTensor3D.h
+
+define it=ImageRegionConstIterator;ImageRegionIterator;ImageScanlineConstIterator;ImageScanlineIterator;ImageConstIteratorWithIndex;ImageIteratorWithIndex;ImageRegionConstIteratorWithIndex;ImageRegionIteratorWithIndex;ImageLinearConstIteratorWithIndex;ImageLinearIteratorWithIndex
+
+tinclude itk#it#:h|hxx
+
+tinclude itk#it#:h|hxx
+instances itk::#it#< itk::Image< #pixels#, #pdims# > >
+instances itk::#it#< itk::Image< itk::FixedArray< #scalar_types#, #pdims# >, #pdims# > >
+instances itk::#it#< itk::Image< itk::#vector_pixels#< #real_types#, #pdims# >, #pdims# > >
+instances itk::#it#< itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# > >
+instances itk::#it#< itk::Image< itk::Offset< #pdims# >, #pdims# > >
+instances itk::#it#< itk::Image< itk::DiffusionTensor3D< #real_types# >, 3 > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKAnisotropicSmoothing/ITKAnisotropicSmoothing.i b/plugins/ITKAnisotropicSmoothing/ITKAnisotropicSmoothing.i
new file mode 100644 (file)
index 0000000..3077c6a
--- /dev/null
@@ -0,0 +1,12 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define functions=ScalarAnisotropicDiffusionFunction;GradientNDAnisotropicDiffusionFunction
+tinclude itk#functions#:h|hxx
+instances itk::#functions#< itk::Image< #scalar_types#, #pdims# > >
+
+define filters=AnisotropicDiffusionImageFilter
+
+tinclude itk#filters#:h|hxx
+instances itk::#filters#< itk::Image< #scalar_types#, #pdims# >, itk::Image< #real_types#, #pdims# > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKBinaryFunctorFilters/ITKBinaryFunctorFilters.i b/plugins/ITKBinaryFunctorFilters/ITKBinaryFunctorFilters.i
new file mode 100644 (file)
index 0000000..d9d98bb
--- /dev/null
@@ -0,0 +1,17 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define all_ints=#int_types#;#uint_types#
+define a_filters=Add;Subtract;Multiply;Divide;DivideOrZeroOut;Pow
+define a_functor=Add2;Sub2;Mult;Div;DivideOrZeroOut;Pow
+define b_filters=And;Or;Xor
+define b_functor=AND;OR;XOR
+
+tinclude itkBinaryFunctorImageFilter:h|hxx
+cinclude itk#a_filters#ImageFilter.h
+cinclude itk#b_filters#ImageFilter.h
+
+instances itk::BinaryFunctorImageFilter< itk::Image< #scalar_types#, #pdims# >, itk::Image< #scalar_types#, #pdims# >, itk::Image< #scalar_types#, #pdims# >, itk::Functor::#a_functor#< #scalar_types#, #scalar_types#, #scalar_types# > >
+
+instances itk::BinaryFunctorImageFilter< itk::Image< #all_ints#, #pdims# >, itk::Image< #all_ints#, #pdims# >, itk::Image< #all_ints#, #pdims# >, itk::Functor::#b_functor#< #all_ints#, #all_ints#, #all_ints# > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKDistanceMapFilters/ITKDistanceMapFilters.i b/plugins/ITKDistanceMapFilters/ITKDistanceMapFilters.i
new file mode 100644 (file)
index 0000000..1bb91eb
--- /dev/null
@@ -0,0 +1,14 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+tinclude itkImageRegionConstIterator:h|h
+tinclude itkImageRegionIterator:h|h
+tinclude itkProgressReporter:h|h
+
+tinclude itkBinaryContourImageFilter:h|hxx
+instances itk::BinaryContourImageFilter< itk::Image< #scalar_types#, #pdims# >, itk::Image< #scalar_types#, #pdims# > >
+
+define filters=SignedMaurerDistanceMapImageFilter
+tinclude itk#filters#:h|hxx
+instances itk::#filters#< itk::Image< #scalar_types#, #pdims# >, itk::Image< #real_types#, #pdims# > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKFiniteDifference/ITKFiniteDifference.i b/plugins/ITKFiniteDifference/ITKFiniteDifference.i
new file mode 100644 (file)
index 0000000..1db9b6a
--- /dev/null
@@ -0,0 +1,15 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define base=FiniteDifferenceImageFilter;DenseFiniteDifferenceImageFilter
+define functions=FiniteDifferenceFunction
+
+define i_reals=#real_types#
+define o_reals=#real_types#
+
+tinclude itk#functions#:h|hxx
+tinclude itk#base#:h|hxx
+
+instances itk::#functions#< itk::Image< #scalar_types#, #pdims# > >
+instances itk::#base#< itk::Image< #scalar_types#, #pdims# >, itk::Image< #o_reals#, #pdims# > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKIO/ITKIO.i b/plugins/ITKIO/ITKIO.i
new file mode 100644 (file)
index 0000000..372512e
--- /dev/null
@@ -0,0 +1,28 @@
+header #define ITK_MANUAL_INSTANTIATION
+header #define ITKIOImageBase_HIDDEN
+
+define color_pixels=RGBPixel;RGBAPixel
+define vector_pixels=CovariantVector;Point;Vector;SymmetricSecondRankTensor
+define matrices=Matrix
+define pixels=#scalar_types#;itk::#color_pixels#< #scalar_types# >;std::complex< #real_types# >
+
+cinclude complex
+cinclude itkImage.h
+cinclude itk#color_pixels#.h
+cinclude itkFixedArray.h
+cinclude itk#vector_pixels#.h
+cinclude itk#matrices#.h
+cinclude itkDiffusionTensor3D.h
+cinclude itkConvertPixelBuffer.hxx
+
+define io=ImageFileReader;ImageSeriesReader;ImageFileWriter
+
+tinclude itk#io#:h|hxx
+instances itk::#io#< itk::Image< #pixels#, #pdims# > >
+instances itk::#io#< itk::Image< itk::FixedArray< #scalar_types#, #pdims# >, #pdims# > >
+instances itk::#io#< itk::Image< itk::#vector_pixels#< #real_types#, #pdims# >, #pdims# > >
+instances itk::#io#< itk::Image< itk::#matrices#< #real_types#, #pdims#, #pdims# >, #pdims# > >
+instances itk::#io#< itk::Image< itk::Offset< #pdims# >, #pdims# > >
+instances itk::#io#< itk::Image< itk::DiffusionTensor3D< #real_types# >, 3 > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKImageGenericFilters_1/ITKImageGenericFilters_1.i b/plugins/ITKImageGenericFilters_1/ITKImageGenericFilters_1.i
new file mode 100644 (file)
index 0000000..29f0e0f
--- /dev/null
@@ -0,0 +1,12 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+tinclude itkUnaryFunctorImageFilter:h|hxx
+
+define filters_1=CastImageFilter;ShiftScaleImageFilter
+define i_scalars=#scalar_types#
+define o_scalars=#scalar_types#
+
+tinclude itk#filters_1#:h|hxx
+instances itk::#filters_1#< itk::Image< #i_scalars#, #pdims# >, itk::Image< #o_scalars#, #pdims# > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKLevelSetFilters/ITKLevelSetFilters.i b/plugins/ITKLevelSetFilters/ITKLevelSetFilters.i
new file mode 100644 (file)
index 0000000..a1c4a75
--- /dev/null
@@ -0,0 +1,28 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define base=ZeroCrossingImageFilter;SparseFieldLevelSetImageFilter
+define filters=SegmentationLevelSetImageFilter;ThresholdSegmentationLevelSetImageFilter;LaplacianSegmentationLevelSetImageFilter
+define functions=LevelSetFunction
+define ls_functions=SegmentationLevelSetFunction;ThresholdSegmentationLevelSetFunction;LaplacianSegmentationLevelSetFunction
+
+define i_reals=#real_types#
+define o_reals=#real_types#
+
+tinclude itk#functions#:h|hxx
+tinclude itk#ls_functions#:h|hxx
+tinclude itk#base#:h|hxx
+tinclude itk#filters#:h|hxx
+tinclude itkSparseFieldLayer:h|hxx
+tinclude itkObjectStore:h|hxx
+
+cinclude itkLinearInterpolateImageFunction.hxx
+
+instances itk::SparseFieldLayer< itk::SparseFieldLevelSetNode< itk::Index< #pdims# > > >
+instances itk::ObjectStore< itk::SparseFieldLevelSetNode< itk::Index< #pdims# > > >
+
+instances itk::#functions#< itk::Image< #i_reals#, #pdims# > >
+instances itk::#ls_functions#< itk::Image< #i_reals#, #pdims# >, itk::Image< #o_reals#, #pdims# > >
+instances itk::#base#< itk::Image< #scalar_types#, #pdims# >, itk::Image< #i_reals#, #pdims# > >
+instances itk::#filters#< itk::Image< #scalar_types#, #pdims# >, itk::Image< #i_reals#, #pdims# >, #o_reals# >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKNeighborhoodOperatorFilters/ITKNeighborhoodOperatorFilters.i b/plugins/ITKNeighborhoodOperatorFilters/ITKNeighborhoodOperatorFilters.i
new file mode 100644 (file)
index 0000000..943b07f
--- /dev/null
@@ -0,0 +1,19 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define filters_1=LaplacianImageFilter
+define i_reals=#real_types#
+define o_reals=#real_types#
+
+tinclude itkNeighborhoodInnerProduct:h|hxx
+instances itk::NeighborhoodInnerProduct< itk::Image< float, #pdims# >, float, double >
+
+tinclude itkNeighborhoodOperatorImageFilter:h|hxx
+instances itk::NeighborhoodOperatorImageFilter< itk::Image< float, #pdims# >, itk::Image< float, #pdims# >, float >
+
+tinclude itkLaplacianOperator:h|hxx
+instances itk::LaplacianOperator< float, #pdims#, itk::NeighborhoodAllocator< float > >
+
+tinclude itk#filters_1#:h|hxx
+instances itk::#filters_1#< itk::Image< #i_reals#, #pdims# >, itk::Image< #o_reals#, #pdims# > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKParaMorphology/ITKParaMorphology.i b/plugins/ITKParaMorphology/ITKParaMorphology.i
new file mode 100644 (file)
index 0000000..fade5c4
--- /dev/null
@@ -0,0 +1,18 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define itk_filters=BinaryDilateParaImageFilter;BinaryErodeParaImageFilter
+define i_scalars=#scalar_types#
+define o_scalars=#scalar_types#
+define booleans=false;true
+
+tinclude itkParabolicErodeDilateImageFilter:h|hxx
+tinclude itk#itk_filters#:h|hxx
+
+cinclude itkUnaryFunctorImageFilter.hxx
+
+instances itk::ParabolicErodeDilateImageFilter< itk::Image< #i_scalars#, #pdims# >, #booleans#, itk::Image< #o_scalars#, #pdims# > >
+
+instances itk::#itk_filters#< itk::Image< #i_scalars#, #pdims# >, itk::Image< #o_scalars#, #pdims# > >
+
+
+** eof - $RCSfile$
diff --git a/plugins/ITKUnaryFunctorFilters/ITKUnaryFunctorFilters.i b/plugins/ITKUnaryFunctorFilters/ITKUnaryFunctorFilters.i
new file mode 100644 (file)
index 0000000..ee62555
--- /dev/null
@@ -0,0 +1,30 @@
+header #define ITK_MANUAL_INSTANTIATION
+
+define all_ints=#int_types#;#uint_types#
+define a_filters=Abs
+define a_functor=Abs
+define b_filters=Not
+define b_functor=NOT
+
+tinclude itkUnaryFunctorImageFilter:h|hxx
+cinclude itk#a_filters#ImageFilter.h
+cinclude itk#b_filters#ImageFilter.h
+
+instances itk::UnaryFunctorImageFilter< itk::Image< #scalar_types#, #pdims# >, itk::Image< #scalar_types#, #pdims# >, itk::Functor::#a_functor#< #scalar_types#, #scalar_types# > >
+
+instances itk::UnaryFunctorImageFilter< itk::Image< #all_ints#, #pdims# >, itk::Image< #all_ints#, #pdims# >, itk::Functor::#b_functor#< #all_ints#, #all_ints# > >
+
+define oa_filters=InvertIntensityImageFilter
+tinclude itk#oa_filters#:h|hxx
+instances itk::#oa_filters#< itk::Image< #scalar_types#, #pdims# >, itk::Image< #scalar_types#, #pdims# > >
+
+define oam_filters=BinaryThresholdImageFilter
+define i_scalars=#scalar_types#
+define o_scalars=#scalar_types#
+tinclude itk#oam_filters#:h|hxx
+instances itk::#oam_filters#< itk::Image< #i_scalars#, #pdims# >, itk::Image< #o_scalars#, #pdims# > >
+
+tinclude cpExtensions/Algorithms/UnaryThresholdImageFilter:h|hxx
+instances cpExtensions::Algorithms::UnaryThresholdImageFilter< itk::Image< #scalar_types#, #pdims# > >
+
+** eof - $RCSfile$
diff --git a/plugins/ITKUnaryFunctorFilters/UnaryThresholdImageFilter.cxx b/plugins/ITKUnaryFunctorFilters/UnaryThresholdImageFilter.cxx
new file mode 100644 (file)
index 0000000..87c2503
--- /dev/null
@@ -0,0 +1,57 @@
+#include <ITKUnaryFunctorFilters/UnaryThresholdImageFilter.h>
+#include <cpInstances/Image.h>
+
+#include <cpExtensions/Algorithms/UnaryThresholdImageFilter.h>
+
+// -------------------------------------------------------------------------
+cpPluginsITKUnaryFunctorFilters::UnaryThresholdImageFilter::
+UnaryThresholdImageFilter( )
+  : Superclass( )
+{
+  this->_ConfigureInput< cpInstances::Image >( "Input", true, false );
+  this->_ConfigureOutput< cpInstances::Image >( "Output" );
+
+  this->m_Parameters.ConfigureAsReal( "Threshold", 0 );
+  this->m_Parameters.ConfigureAsReal( "InsideValue", 1 );
+  this->m_Parameters.ConfigureAsReal( "OutsideValue", 0 );
+  this->m_Parameters.ConfigureAsBool( "Strict", false );
+}
+
+// -------------------------------------------------------------------------
+cpPluginsITKUnaryFunctorFilters::UnaryThresholdImageFilter::
+~UnaryThresholdImageFilter( )
+{
+}
+
+// -------------------------------------------------------------------------
+void cpPluginsITKUnaryFunctorFilters::UnaryThresholdImageFilter::
+_GenerateData( )
+{
+  auto o = this->GetInputData( "Input" );
+  cpPlugins_Demangle_Image_ScalarPixels_AllDims_1( o, _GD0 )
+    this->_Error( "Invalid input image." );
+}
+
+// -------------------------------------------------------------------------
+template< class _TImage >
+void cpPluginsITKUnaryFunctorFilters::UnaryThresholdImageFilter::
+_GD0( _TImage* image )
+{
+  typedef
+    cpExtensions::Algorithms::UnaryThresholdImageFilter< _TImage >
+    _TFilter;
+
+  // Configure filter
+  _TFilter* filter = this->_CreateITK< _TFilter >( );
+  filter->SetInput( image );
+  filter->SetThreshold( this->m_Parameters.GetReal( "Threshold" ) );
+  filter->SetInsideValue( this->m_Parameters.GetReal( "InsideValue" ) );
+  filter->SetOutsideValue( this->m_Parameters.GetReal( "OutsideValue" ) );
+  filter->SetStrict( this->m_Parameters.GetBool( "Strict" ) );
+  filter->Update( );
+
+  // Connect output
+  this->GetOutput( "Output" )->SetITK( filter->GetOutput( ) );
+}
+
+// eof - $RCSfile$
diff --git a/plugins/ITKUnaryFunctorFilters/UnaryThresholdImageFilter.h b/plugins/ITKUnaryFunctorFilters/UnaryThresholdImageFilter.h
new file mode 100644 (file)
index 0000000..d93e93a
--- /dev/null
@@ -0,0 +1,29 @@
+#ifndef __cpPluginsITKUnaryFunctorFilters__UnaryThresholdImageFilter__h__
+#define __cpPluginsITKUnaryFunctorFilters__UnaryThresholdImageFilter__h__
+
+#include <cpPluginsITKUnaryFunctorFilters_Export.h>
+#include <cpPlugins/BaseObjects/ProcessObject.h>
+
+namespace cpPluginsITKUnaryFunctorFilters
+{
+  /**
+   */
+  class cpPluginsITKUnaryFunctorFilters_EXPORT UnaryThresholdImageFilter
+    : public cpPlugins::BaseObjects::ProcessObject
+  {
+    cpPluginsObject(
+      UnaryThresholdImageFilter,
+      cpPlugins::BaseObjects::ProcessObject,
+      ImageThresholdFilters
+      );
+
+  protected:
+    template< class _TImage >
+    inline void _GD0( _TImage* image );
+  };
+
+} // ecapseman
+
+#endif // __cpPluginsITKUnaryFunctorFilters__UnaryThresholdImageFilter__h__
+
+// eof - $RCSfile$