Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkItkPictureWrite.h File Reference
#include <itkImage.h>
#include <mitkCommon.h>

Go to the source code of this file.

Functions

template<typename TPixel , unsigned int VImageDimension>
void _mitkItkPictureWrite (itk::Image< TPixel, VImageDimension > *itkImage, const std::string &fileName)
 ITK-Like method to be called for writing an single-component image using the AccessByItk Macros. More...
 
template<typename TPixel , unsigned int VImageDimension>
void _mitkItkPictureWriteComposite (itk::Image< TPixel, VImageDimension > *itkImage, const std::string &fileName)
 ITK-Like method to be called for writing an image. More...
 

Function Documentation

template<typename TPixel , unsigned int VImageDimension>
void _mitkItkPictureWrite ( itk::Image< TPixel, VImageDimension > *  itkImage,
const std::string &  fileName 
)

ITK-Like method to be called for writing an single-component image using the AccessByItk Macros.

Parameters
itkImagean image with single-component pixel type
Deprecated:
(as of 2014_10) Use mitk::IOUtils or mitk::FileReaderRegistry instead.

Definition at line 59 of file mitkItkPictureWrite.cpp.

References MITK_ERROR, mitkThrow, and mitk::New().

Referenced by mitk::ImageWriter::WriteByITK().

template<typename TPixel , unsigned int VImageDimension>
void _mitkItkPictureWriteComposite ( itk::Image< TPixel, VImageDimension > *  itkImage,
const std::string &  fileName 
)

ITK-Like method to be called for writing an image.

Parameters
itkImagean Image with single-component or composite pixel type
Deprecated:
(as of 2014_10) Use mitk::IOUtils or mitk::FileReaderRegistry instead.

Definition at line 144 of file mitkItkPictureWrite.cpp.

References MITK_ERROR, mitkThrow, and mitk::New().

Referenced by mitk::ImageWriter::WriteByITK().