13 #ifndef mitkImageCast_h
14 #define mitkImageCast_h
20 #include <itkVectorImage.h>
25 template <
typename TPixel,
unsigned int VImageDimension,
class ItkOutputImageType>
29 template <
typename TPixel,
unsigned int VImageDimension,
class ItkOutputImageType>
32 #endif // DOXYGEN_SKIP
52 template <
typename ItkOutputImageType>
62 template <
typename TPixelType,
unsigned int VImageDimension>
73 template <
typename ItkOutputImageType>
87 template <
typename ItkOutputImageType>
90 if (mitkoutputimage.IsNull())
94 mitkoutputimage->InitializeByItk(itkimage);
95 mitkoutputimage->SetChannel(itkimage->GetBufferPointer());