plastimatch
Loading...
Searching...
No Matches
itk_image_cast.cxx File Reference
#include "plmbase_config.h"
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include "itkImage.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkOrientImageFilter.h"
#include "itk_image_type.h"
#include "itkClampCastImageFilter.h"

Functions

template<class T >
CharImageType::Pointer cast_char (T image)
 
template<class T >
UCharImageType::Pointer cast_uchar (T image)
 
template<class T >
UShortImageType::Pointer cast_ushort (T image)
 
template<class T >
ShortImageType::Pointer cast_short (T image)
 
template<class T >
Int32ImageType::Pointer cast_int32 (T image)
 
template<class T >
UInt32ImageType::Pointer cast_uint32 (T image)
 
template<class T >
FloatImageType::Pointer cast_float (T image)
 
template<class T >
DoubleImageType::Pointer cast_double (T image)
 
template UCharImageType::Pointer cast_uchar (CharImageType::Pointer)
 
template UCharImageType::Pointer cast_uchar (UShortImageType::Pointer)
 
template UCharImageType::Pointer cast_uchar (ShortImageType::Pointer)
 
template UCharImageType::Pointer cast_uchar (UInt32ImageType::Pointer)
 
template UCharImageType::Pointer cast_uchar (Int32ImageType::Pointer)
 
template UCharImageType::Pointer cast_uchar (Int64ImageType::Pointer)
 
template UCharImageType::Pointer cast_uchar (FloatImageType::Pointer)
 
template UCharImageType::Pointer cast_uchar (DoubleImageType::Pointer)
 
template CharImageType::Pointer cast_char (UCharImageType::Pointer)
 
template CharImageType::Pointer cast_char (ShortImageType::Pointer)
 
template CharImageType::Pointer cast_char (FloatImageType::Pointer)
 
template UShortImageType::Pointer cast_ushort (ShortImageType::Pointer)
 
template UShortImageType::Pointer cast_ushort (FloatImageType::Pointer)
 
template ShortImageType::Pointer cast_short (UCharImageType::Pointer)
 
template ShortImageType::Pointer cast_short (CharImageType::Pointer)
 
template ShortImageType::Pointer cast_short (UShortImageType::Pointer)
 
template ShortImageType::Pointer cast_short (ShortImageType::Pointer)
 
template ShortImageType::Pointer cast_short (UInt32ImageType::Pointer)
 
template ShortImageType::Pointer cast_short (Int32ImageType::Pointer)
 
template ShortImageType::Pointer cast_short (FloatImageType::Pointer)
 
template ShortImageType::Pointer cast_short (DoubleImageType::Pointer)
 
template UInt32ImageType::Pointer cast_uint32 (UCharImageType::Pointer)
 
template UInt32ImageType::Pointer cast_uint32 (ShortImageType::Pointer)
 
template UInt32ImageType::Pointer cast_uint32 (FloatImageType::Pointer)
 
template Int32ImageType::Pointer cast_int32 (ShortImageType::Pointer)
 
template Int32ImageType::Pointer cast_int32 (FloatImageType::Pointer)
 
template FloatImageType::Pointer cast_float (UCharImageType::Pointer)
 
template FloatImageType::Pointer cast_float (CharImageType::Pointer)
 
template FloatImageType::Pointer cast_float (UShortImageType::Pointer)
 
template FloatImageType::Pointer cast_float (ShortImageType::Pointer)
 
template FloatImageType::Pointer cast_float (UInt32ImageType::Pointer)
 
template FloatImageType::Pointer cast_float (Int32ImageType::Pointer)
 
template FloatImageType::Pointer cast_float (FloatImageType::Pointer)
 
template FloatImageType::Pointer cast_float (DoubleImageType::Pointer)
 
template DoubleImageType::Pointer cast_double (UCharImageType::Pointer)
 
template DoubleImageType::Pointer cast_double (ShortImageType::Pointer)
 
template DoubleImageType::Pointer cast_double (UInt32ImageType::Pointer)
 
template DoubleImageType::Pointer cast_double (FloatImageType::Pointer)
 

Function Documentation

◆ cast_char() [1/4]

template CharImageType::Pointer cast_char ( FloatImageType::Pointer )

◆ cast_char() [2/4]

template CharImageType::Pointer cast_char ( ShortImageType::Pointer )

◆ cast_char() [3/4]

template<class T >
CharImageType::Pointer cast_char ( T image)

◆ cast_char() [4/4]

template CharImageType::Pointer cast_char ( UCharImageType::Pointer )

◆ cast_double() [1/5]

template DoubleImageType::Pointer cast_double ( FloatImageType::Pointer )

◆ cast_double() [2/5]

template DoubleImageType::Pointer cast_double ( ShortImageType::Pointer )

◆ cast_double() [3/5]

template<class T >
DoubleImageType::Pointer cast_double ( T image)

◆ cast_double() [4/5]

template DoubleImageType::Pointer cast_double ( UCharImageType::Pointer )

◆ cast_double() [5/5]

template DoubleImageType::Pointer cast_double ( UInt32ImageType::Pointer )

◆ cast_float() [1/9]

template FloatImageType::Pointer cast_float ( CharImageType::Pointer )

◆ cast_float() [2/9]

template FloatImageType::Pointer cast_float ( DoubleImageType::Pointer )

◆ cast_float() [3/9]

template FloatImageType::Pointer cast_float ( FloatImageType::Pointer )

◆ cast_float() [4/9]

template FloatImageType::Pointer cast_float ( Int32ImageType::Pointer )

◆ cast_float() [5/9]

template FloatImageType::Pointer cast_float ( ShortImageType::Pointer )

◆ cast_float() [6/9]

template<class T >
FloatImageType::Pointer cast_float ( T image)

◆ cast_float() [7/9]

template FloatImageType::Pointer cast_float ( UCharImageType::Pointer )

◆ cast_float() [8/9]

template FloatImageType::Pointer cast_float ( UInt32ImageType::Pointer )

◆ cast_float() [9/9]

template FloatImageType::Pointer cast_float ( UShortImageType::Pointer )

◆ cast_int32() [1/3]

template Int32ImageType::Pointer cast_int32 ( FloatImageType::Pointer )

◆ cast_int32() [2/3]

template Int32ImageType::Pointer cast_int32 ( ShortImageType::Pointer )

◆ cast_int32() [3/3]

template<class T >
Int32ImageType::Pointer cast_int32 ( T image)

◆ cast_short() [1/9]

template ShortImageType::Pointer cast_short ( CharImageType::Pointer )

◆ cast_short() [2/9]

template ShortImageType::Pointer cast_short ( DoubleImageType::Pointer )

◆ cast_short() [3/9]

template ShortImageType::Pointer cast_short ( FloatImageType::Pointer )

◆ cast_short() [4/9]

template ShortImageType::Pointer cast_short ( Int32ImageType::Pointer )

◆ cast_short() [5/9]

template ShortImageType::Pointer cast_short ( ShortImageType::Pointer )

◆ cast_short() [6/9]

template<class T >
ShortImageType::Pointer cast_short ( T image)

◆ cast_short() [7/9]

template ShortImageType::Pointer cast_short ( UCharImageType::Pointer )

◆ cast_short() [8/9]

template ShortImageType::Pointer cast_short ( UInt32ImageType::Pointer )

◆ cast_short() [9/9]

template ShortImageType::Pointer cast_short ( UShortImageType::Pointer )

◆ cast_uchar() [1/9]

template UCharImageType::Pointer cast_uchar ( CharImageType::Pointer )

◆ cast_uchar() [2/9]

template UCharImageType::Pointer cast_uchar ( DoubleImageType::Pointer )

◆ cast_uchar() [3/9]

template UCharImageType::Pointer cast_uchar ( FloatImageType::Pointer )

◆ cast_uchar() [4/9]

template UCharImageType::Pointer cast_uchar ( Int32ImageType::Pointer )

◆ cast_uchar() [5/9]

template UCharImageType::Pointer cast_uchar ( Int64ImageType::Pointer )

◆ cast_uchar() [6/9]

template UCharImageType::Pointer cast_uchar ( ShortImageType::Pointer )

◆ cast_uchar() [7/9]

template<class T >
UCharImageType::Pointer cast_uchar ( T image)

◆ cast_uchar() [8/9]

template UCharImageType::Pointer cast_uchar ( UInt32ImageType::Pointer )

◆ cast_uchar() [9/9]

template UCharImageType::Pointer cast_uchar ( UShortImageType::Pointer )

◆ cast_uint32() [1/4]

template UInt32ImageType::Pointer cast_uint32 ( FloatImageType::Pointer )

◆ cast_uint32() [2/4]

template UInt32ImageType::Pointer cast_uint32 ( ShortImageType::Pointer )

◆ cast_uint32() [3/4]

template<class T >
UInt32ImageType::Pointer cast_uint32 ( T image)

◆ cast_uint32() [4/4]

template UInt32ImageType::Pointer cast_uint32 ( UCharImageType::Pointer )

◆ cast_ushort() [1/3]

template UShortImageType::Pointer cast_ushort ( FloatImageType::Pointer )

◆ cast_ushort() [2/3]

template UShortImageType::Pointer cast_ushort ( ShortImageType::Pointer )

◆ cast_ushort() [3/3]

template<class T >
UShortImageType::Pointer cast_ushort ( T image)