SimpleITK  
sitkImageConvert.h File Reference
#include "sitkImage.h"
+ Include dependency graph for sitkImageConvert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  itk
 
namespace  itk::simple
 

Functions

template<typename TPixelType, unsigned int ImageDimension>
SITKCommon_HIDDEN itk::Image< itk::Vector< TPixelType, ImageDimension >, ImageDimension >::Pointer itk::simple::GetImageFromVectorImage (itk::VectorImage< TPixelType, ImageDimension > *img, bool transferOwnership=false)
 Utility methods to convert between itk image types efficiently by sharing the buffer between the input and output.
 
template<typename TPixelType, unsigned int ImageDimension>
SITKCommon_HIDDEN itk::Image< TPixelType, ImageDimension+1 >::Pointer itk::simple::GetScalarImageFromVectorImage (itk::VectorImage< TPixelType, ImageDimension > *img)
 Utility methods to convert between itk image types efficiently by sharing the buffer between the input and output.
 
template<class TPixelType, unsigned int NImageDimension, unsigned int NLength>
SITKCommon_HIDDEN itk::VectorImage< TPixelType, NImageDimension >::Pointer itk::simple::GetVectorImageFromImage (itk::Image< itk::CovariantVector< TPixelType, NLength >, NImageDimension > *img, bool transferOwnership=false)
 Utility methods to convert between itk image types efficiently by sharing the buffer between the input and output.
 
template<unsigned int NImageDimension, unsigned int NLength>
SITKCommon_HIDDEN itk::VectorImage< typenamestd::conditional< sizeof(typenameitk::Offset< NLength >::OffsetValueType)==sizeof(int64_t), int64_t, int32_t >::type, NImageDimension >::Pointer itk::simple::GetVectorImageFromImage (itk::Image< itk::Offset< NLength >, NImageDimension > *img, bool transferOwnership=false)
 Utility methods to convert between itk image types efficiently by sharing the buffer between the input and output.
 
template<class TPixelType, unsigned int NImageDimension, unsigned int NLength>
SITKCommon_HIDDEN itk::VectorImage< TPixelType, NImageDimension >::Pointer itk::simple::GetVectorImageFromImage (itk::Image< itk::Vector< TPixelType, NLength >, NImageDimension > *img, bool transferOwnership=false)
 Utility methods to convert between itk image types efficiently by sharing the buffer between the input and output.
 
template<typename TPixelType, unsigned int ImageDimension>
SITKCommon_HIDDEN itk::VectorImage< TPixelType, ImageDimension-1 >::Pointer itk::simple::GetVectorImageFromScalarImage (itk::Image< TPixelType, ImageDimension > *img)
 Utility methods to convert between itk image types efficiently by sharing the buffer between the input and output.