Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <MitkLegacyIOExports.h>
#include "mitkItkPictureWrite.h"
#include <mitkInstantiateAccessFunctions.h>
#include <itkImageSeriesWriter.h>
#include <itkNumericSeriesFileNames.h>
#include <itkRescaleIntensityImageFilter.h>
#include <itkRGBAPixel.h>
Go to the source code of this file.
Macros | |
#define | InstantiateAccessFunction__mitkItkPictureWrite(pixelType, dim) |
#define | InstantiateAccessFunction__mitkItkPictureWriteComposite(pixelType, dim) |
Functions | |
template<class WriterType > | |
void | SetOutputNames (typename WriterType::Pointer writer, const std::string &baseFileName, unsigned int numberOfImages) |
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... | |
InstantiateAccessFunction (_mitkItkPictureWrite) InstantiateAccessFunctionForFixedPixelType(_mitkItkPictureWriteComposite | |
#define InstantiateAccessFunction__mitkItkPictureWrite | ( | pixelType, | |
dim | |||
) |
Definition at line 172 of file mitkItkPictureWrite.cpp.
#define InstantiateAccessFunction__mitkItkPictureWriteComposite | ( | pixelType, | |
dim | |||
) |
Definition at line 175 of file mitkItkPictureWrite.cpp.
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.
itkImage | an image with single-component pixel type |
Definition at line 59 of file mitkItkPictureWrite.cpp.
References MITK_ERROR, mitkThrow, and mitk::New().
Referenced by mitk::ImageWriter::WriteByITK().
void _mitkItkPictureWriteComposite | ( | itk::Image< TPixel, VImageDimension > * | itkImage, |
const std::string & | fileName | ||
) |
ITK-Like method to be called for writing an image.
itkImage | an Image with single-component or composite pixel type |
Definition at line 144 of file mitkItkPictureWrite.cpp.
References MITK_ERROR, mitkThrow, and mitk::New().
Referenced by mitk::ImageWriter::WriteByITK().
InstantiateAccessFunction | ( | _mitkItkPictureWrite | ) |
void SetOutputNames | ( | typename WriterType::Pointer | writer, |
const std::string & | baseFileName, | ||
unsigned int | numberOfImages | ||
) |
Set the filenames to the specified writer in dependace on the number of images passed in
Definition at line 30 of file mitkItkPictureWrite.cpp.
References MITK_DEBUG, and mitk::New().