19 #include <itkDiffusionTensor3D.h>
20 #include <itkRGBPixel.h>
21 #include <itkVector.h>
41 #define CAST_HUNDRED_VECS(HUN) \
43 CAST_TEN_VECS(HUN + 10) \
44 CAST_TEN_VECS(HUN + 20) \
45 CAST_TEN_VECS(HUN + 30) \
46 CAST_TEN_VECS(HUN + 40) \
47 CAST_TEN_VECS(HUN + 50) \
48 CAST_TEN_VECS(HUN + 60) \
49 CAST_TEN_VECS(HUN + 70) \
50 CAST_TEN_VECS(HUN + 80) \
51 CAST_TEN_VECS(HUN + 90)
53 #define CAST_TEN_VECS(TEN) \
65 #define CAST_N_VEC(N_DIRS) \
66 _CAST_N_VEC(N_DIRS, double) \
67 _CAST_N_VEC(N_DIRS, float) \
68 _CAST_N_VEC(N_DIRS, short)
70 #define _CAST_N_VEC(N_DIRS, PIXTYPE) \
71 template void MITKCORE_EXPORT _CastToItkImage2Access( \
72 const itk::Image<itk::Vector<PIXTYPE, N_DIRS>, 2> *, \
73 itk::SmartPointer<itk::Image<itk::Vector<PIXTYPE, N_DIRS>, 2>> &); \
74 template void MITKCORE_EXPORT _CastToItkImage2Access( \
75 const itk::Image<itk::Vector<PIXTYPE, N_DIRS>, 3> *, \
76 itk::SmartPointer<itk::Image<itk::Vector<PIXTYPE, N_DIRS>, 3>> &);
itk::Image< itk::DiffusionTensor3D< float >, 2 > itkImageDTIF2
itk::Image< itk::DiffusionTensor3D< double >, 3 > itkImageDTID3
itk::Image< itk::RGBPixel< unsigned char >, 2 > itkImageRGBUC2
DataCollection - Class to facilitate loading/accessing structured data.
itk::Image< itk::DiffusionTensor3D< float >, 3 > itkImageDTIF3
itk::Image< itk::DiffusionTensor3D< double >, 2 > itkImageDTID2
#define CAST_N_VEC(N_DIRS)
void _CastToItkImage2Access(const itk::Image< TPixel, VImageDimension > *itkInputImage, itk::SmartPointer< ItkOutputImageType > &itkOutputImage)
itk::Image< itk::RGBPixel< unsigned char >, 3 > itkImageRGBUC3