Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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

◆ _mitkItkPictureWrite()

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 55 of file mitkItkPictureWrite.cpp.

References MITK_ERROR, and mitkThrow.

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

◆ _mitkItkPictureWriteComposite()

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 140 of file mitkItkPictureWrite.cpp.

References MITK_ERROR, and mitkThrow.

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