]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez <leonardo@iMac-de-Andrea.local>
Sat, 5 Nov 2016 18:58:19 +0000 (13:58 -0500)
committerLeonardo Florez <leonardo@iMac-de-Andrea.local>
Sat, 5 Nov 2016 18:58:19 +0000 (13:58 -0500)
lib/Instances/ImageFiltersBases.i
lib/Instances/ImageNeighborhoodIterators.i
lib/Instances/Meshes.i
plugins/ImageGradientFilters/GulsunTekImageFilter.cxx

index 8b8805dc0daf499f4b7fa1f59603a438f5e0f3ea..ba3c732f07f5a4ea2ac7a36680e4bc48eb8d7241 100644 (file)
@@ -2,6 +2,8 @@ header #define ITK_MANUAL_INSTANTIATION
 
 define in_scalar_pixels=#scalar_pixels#
 define out_scalar_pixels=#scalar_pixels#
+define in_real_pixels=#real_types#
+define out_real_pixels=#real_types#
 define filters=ImageToImageFilter;InPlaceImageFilter
 
 tinclude itkImageSource:h|hxx
@@ -23,5 +25,6 @@ instances itk::ImageSource< itk::Image< itk::Offset< #process_dims# >, #process_
 
 instances itk::#filters#< itk::Image< #in_scalar_pixels#, #process_dims# >, itk::Image< #out_scalar_pixels#, #process_dims# > >
 instances itk::#filters#< itk::Image< itk::#color_pixels#< #in_scalar_pixels# >, #process_dims# >, itk::Image< itk::#color_pixels#< #out_scalar_pixels# >, #process_dims# > >
+instances itk::#filters#< itk::Image< itk::#vectors#< #in_real_pixels#, #process_dims# >, #process_dims# >, itk::Image< itk::#vectors#< #out_real_pixels#, #process_dims# >, #process_dims# > >
 
 ** eof - $RCSfile$
index a2e692c27529d7e0910c76af457567fa3e1fd2b4..4749004bf3068a624c98536211b2a71190f0462d 100644 (file)
@@ -16,6 +16,7 @@ cinclude itk#diff_tensors#.h
 cinclude itk#matrices#.h
 
 instances itk::Neighborhood< #scalar_pixels#, #process_dims#, itk::NeighborhoodAllocator< #scalar_pixels# > >
+instances itk::Neighborhood< #scalar_pixels#*, #process_dims#, itk::NeighborhoodAllocator< #scalar_pixels#* > >
 instances itk::Neighborhood< std::complex< #real_types# >, #process_dims#, itk::NeighborhoodAllocator< std::complex< #real_types# > > >
 instances itk::Neighborhood< itk::#color_pixels#< #scalar_pixels# >, #process_dims#, itk::NeighborhoodAllocator< itk::#color_pixels#< #scalar_pixels# > > >
 instances itk::Neighborhood< itk::#vectors#< #real_types#, #process_dims# >, #process_dims#, itk::NeighborhoodAllocator< itk::#vectors#< #real_types#, #process_dims# > > >
index fd098bd9e0710ccccef686497f07610afd70330b..dd7fc016f18930f7cbbf6569cb88763d11469671 100644 (file)
@@ -6,11 +6,13 @@ tinclude itkMesh:h|hxx
 tinclude itkPointSet:h|hxx
 tinclude itk#cells#Cell:h|hxx
 tinclude itkCellInterface:h|hxx
+tinclude itkVectorContainer:h|hxx
 
 cinclude itkMapContainer.hxx
-cinclude itkVectorContainer.hxx
 
-itk::CellInterface< #real_types#, itk::CellTraitsInfo< #visual_dims#, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #visual_dims# >, itk::VectorContainer< unsigned long, itk::Point< float, #visual_dims# > >, std::set< unsigned long, std::less< unsigned long >, std::allocator< unsigned long > > > >
+instances itk::VectorContainer< unsigned long, itk::Point< #real_types#, #visual_dims# > >
+instances itk::CellInterface< #real_types#, itk::CellTraitsInfo< #visual_dims#, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #visual_dims# >, itk::VectorContainer< unsigned long, itk::Point< float, #visual_dims# > >, std::set< unsigned long, std::less< unsigned long >, std::allocator< unsigned long > > > >
+instances itk::VectorContainer< unsigned long, itk::CellInterface< #real_types#, itk::CellTraitsInfo< #visual_dims#, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #visual_dims# >, itk::VectorContainer< unsigned long, itk::Point< float, #visual_dims# > >, std::set< unsigned long, std::less< unsigned long >, std::allocator< unsigned long > > > >* >
 
 instances itk::#cells#Cell< itk::CellInterface< #real_types#, itk::CellTraitsInfo< #visual_dims#, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #visual_dims# >, itk::VectorContainer< unsigned long, itk::Point< float, #visual_dims# > >, std::set< unsigned long, std::less< unsigned long >, std::allocator< unsigned long > > > > >
 
index 089b6d5ad80e0e2b1bc02ac774a4fa4f5d0efc45..ccbca7c5fc94b5b2af7d7cda4fa6c13ec45a5cca 100644 (file)
@@ -42,7 +42,7 @@ template< class _TImage >
 void cpPluginsImageGradientFilters::GulsunTekImageFilter::
 _GD0( _TImage* image )
 {
-  typedef itk::Image< bool, _TImage::ImageDimension > _TDummy;
+  typedef itk::Image< unsigned char, _TImage::ImageDimension > _TDummy;
 
   auto o = this->GetInputData( "Mask" );
   cpPlugins_Demangle_Image_ScalarPixels_2( o, _GD1, _TImage::ImageDimension, image )