Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkLabelSetImageConverter.cpp File Reference
#include <mitkITKImageImport.h>
#include <mitkImageAccessByItk.h>
#include <mitkImageCast.h>
#include <mitkLabelSetImageConverter.h>
#include <itkComposeImageFilter.h>
#include <itkExtractImageFilter.h>
#include <itkImageDuplicator.h>
#include <itkVectorIndexSelectionCastImageFilter.h>

Go to the source code of this file.

Functions

template<typename TPixel , unsigned int VDimension>
static void ConvertLabelSetImageToImage (const itk::Image< TPixel, VDimension > *, mitk::LabelSetImage::ConstPointer labelSetImage, mitk::Image::Pointer &image)
 
template<typename TPixel , unsigned int VDimensions>
static void ConvertImageToLabelSetImage (const itk::VectorImage< TPixel, VDimensions > *image, mitk::LabelSetImage::Pointer &labelSetImage)
 

Function Documentation

◆ ConvertImageToLabelSetImage()

template<typename TPixel , unsigned int VDimensions>
static void ConvertImageToLabelSetImage ( const itk::VectorImage< TPixel, VDimensions > *  image,
mitk::LabelSetImage::Pointer labelSetImage 
)
static

◆ ConvertLabelSetImageToImage()

template<typename TPixel , unsigned int VDimension>
static void ConvertLabelSetImageToImage ( const itk::Image< TPixel, VDimension > *  ,
mitk::LabelSetImage::ConstPointer  labelSetImage,
mitk::Image::Pointer image 
)
static

Definition at line 24 of file mitkLabelSetImageConverter.cpp.

References Clone(), and mitk::ImportItkImage().

Referenced by mitk::ConvertLabelSetImageToImage().