#include "mitkCommon.h"
#include "mitkImageSource.h"
#include "itkImageToImageFilterDetail.h"
#include "mitkITKImageImport.txx"
Go to the source code of this file.
Classes | |
class | mitk::ITKImageImport< TInputImage > |
Pipelined import of itk::Image. More... | |
Namespaces | |
namespace | mitk |
Qmitk. | |
Functions | |
template<typename ItkOutputImageType > | |
Image::Pointer | mitk::ImportItkImage (const itk::SmartPointer< ItkOutputImageType > &itkimage, const Geometry3D *geometry=NULL, bool update=true) |
Imports an itk::Image (with a specific type) as an mitk::Image.Instantiates instance of ITKImageImport. mitk::ITKImageImport does not cast pixel types etc., it just imports image data. If you get a compile error, try image.GetPointer(). | |
template<typename ItkOutputImageType > | |
Image::Pointer | mitk::ImportItkImage (const ItkOutputImageType *itkimage, const Geometry3D *geometry=NULL, bool update=true) |
Imports an itk::Image (with a specific type) as an mitk::Image.Instantiates instance of ITKImageImport mitk::ITKImageImport does not cast pixel types etc., it just imports image data. If you get a compile error, try image.GetPointer(). | |
template<typename ItkOutputImageType > | |
Image::Pointer | mitk::GrabItkImageMemory (itk::SmartPointer< ItkOutputImageType > &itkimage, mitk::Image *mitkImage=NULL, const Geometry3D *geometry=NULL, bool update=true) |
Grabs the memory of an itk::Image (with a specific type) and puts it into an mitk::Image.The memory is managed by the mitk::Image after calling this function. The itk::Image remains valid until the mitk::Image decides to free the memory. | |
template<typename ItkOutputImageType > | |
Image::Pointer | mitk::GrabItkImageMemory (ItkOutputImageType *itkimage, mitk::Image *mitkImage=NULL, const Geometry3D *geometry=NULL, bool update=true) |
Grabs the memory of an itk::Image (with a specific type) and puts it into an mitk::Image.The memory is managed by the mitk::Image after calling this function. The itk::Image remains valid until the mitk::Image decides to free the memory. |