Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
Medical Imaging Interaction Toolkit
mitkImageCast.h File Reference
#include <MitkCoreExports.h>
#include <mitkImage.h>
#include <itkImage.h>
#include <itkVectorImage.h>

Go to the source code of this file.

Namespaces

 mitk
 DataCollection - Class to facilitate loading/accessing structured data.
 

Functions

template<typename TPixel , unsigned int VImageDimension, class ItkOutputImageType >
void mitk::_CastToItkImage2Access (const itk::Image< TPixel, VImageDimension > *itkInputImage, itk::SmartPointer< ItkOutputImageType > &itkOutputImage)
 
template<typename TPixel , unsigned int VImageDimension, class ItkOutputImageType >
void mitk::_CastToItkImage2Access (const itk::VectorImage< TPixel, VImageDimension > *itkInputImage, itk::SmartPointer< ItkOutputImageType > &itkOutputImage)
 
template<typename ItkOutputImageType >
void MITKCORE_EXPORT mitk::CastToItkImage (const mitk::Image *mitkImage, itk::SmartPointer< ItkOutputImageType > &itkOutputImage)
 Cast an mitk::Image to an itk::Image with a specific type. More...
 
template<typename TPixelType , unsigned int VImageDimension>
void MITKCORE_EXPORT mitk::CastToItkImage (const mitk::Image *mitkImage, itk::SmartPointer< itk::VectorImage< TPixelType, VImageDimension >> &itkOutputImage)
 Cast an mitk::Image to an itk::VectorImage with a specific type. More...
 
template<typename ItkOutputImageType >
void mitk::CastToMitkImage (const itk::SmartPointer< ItkOutputImageType > &itkimage, itk::SmartPointer< mitk::Image > &mitkoutputimage)
 Cast an itk::Image (with a specific type) to an mitk::Image. More...
 
template<typename ItkOutputImageType >
void mitk::CastToMitkImage (const ItkOutputImageType *itkimage, itk::SmartPointer< mitk::Image > &mitkoutputimage)
 Cast an itk::Image (with a specific type) to an mitk::Image. More...