]> Creatis software - cpPlugins.git/blobdiff - lib/Instances/ImageInterpolators.i
...
[cpPlugins.git] / lib / Instances / ImageInterpolators.i
index f4464fd312a0c892e8a128ff07f02f5a9b2ec994..c9214b4013c9b6ab287b55e2f3370d698ab2a109 100644 (file)
@@ -2,13 +2,16 @@ header #define ITK_MANUAL_INSTANTIATION
 
 define i_real=#real_types#
 define o_real=#real_types#
+define interp=Linear
 
 tinclude itkImageFunction:h|hxx
-tinclude itkLinearInterpolateImageFunction:h|hxx
+tinclude itk#interp#InterpolateImageFunction:h|hxx
+
+NearestNeighbor
 
 cinclude itkImage.h
 
 instances itk::ImageFunction< itk::Image< #scalar_pixels#, #process_dims# >, #i_real#, #o_real# >
-instances itk::LinearInterpolateImageFunction< itk::Image< #scalar_pixels#, #process_dims# >, #real_types# >
+instances itk::#interp#InterpolateImageFunction< itk::Image< #scalar_pixels#, #process_dims# >, #real_types# >
 
 ** eof - $RCSfile$