plastimatch
Loading...
Searching...
No Matches
itk_image_save.cxx File Reference
#include "plmbase_config.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "itkCastImageFilter.h"
#include "itkImage.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkOrientImageFilter.h"
#include "file_util.h"
#include "itk_image_cast.h"
#include "itk_image_save.h"
#include "logfile.h"
#include "print_and_exit.h"
#include "path_util.h"

Functions

void itk_image_save (const FloatImageType::Pointer &img_ptr, const std::string &fname, Plm_image_type image_type)
 
void itk_image_save (const FloatImageType::Pointer &img_ptr, const char *fname, Plm_image_type image_type)
 
template<class T >
void itk_image_save (T image, const char *fname)
 
template<class T >
void itk_image_save (T image, const std::string &fname)
 
template<class T >
void itk_image_save_char (T image, const char *fname)
 
template<class T >
void itk_image_save_uchar (T image, const char *fname)
 
template<class T >
void itk_image_save_short (T image, const char *fname)
 
template<class T >
void itk_image_save_ushort (T image, const char *fname)
 
template<class T >
void itk_image_save_int32 (T image, const char *fname)
 
template<class T >
void itk_image_save_uint32 (T image, const char *fname)
 
template<class T >
void itk_image_save_float (T image, const char *fname)
 
template<class T >
void itk_image_save_double (T image, const char *fname)
 
template void itk_image_save (CharImageType::Pointer, const char *)
 
template void itk_image_save (UCharImageType::Pointer, const char *)
 
template void itk_image_save (ShortImageType::Pointer, const char *)
 
template void itk_image_save (UShortImageType::Pointer, const char *)
 
template void itk_image_save (Int32ImageType::Pointer, const char *)
 
template void itk_image_save (UInt32ImageType::Pointer, const char *)
 
template void itk_image_save (FloatImageType::Pointer, const char *)
 
template void itk_image_save (DoubleImageType::Pointer, const char *)
 
template void itk_image_save (DeformationFieldType::Pointer, const char *)
 
template void itk_image_save (UCharImage4DType::Pointer, const char *)
 
template void itk_image_save (UCharVecImageType::Pointer, const char *)
 
template void itk_image_save (CharImageType::Pointer, const std::string &)
 
template void itk_image_save (UCharImageType::Pointer, const std::string &)
 
template void itk_image_save (ShortImageType::Pointer, const std::string &)
 
template void itk_image_save (UShortImageType::Pointer, const std::string &)
 
template void itk_image_save (Int32ImageType::Pointer, const std::string &)
 
template void itk_image_save (UInt32ImageType::Pointer, const std::string &)
 
template void itk_image_save (FloatImageType::Pointer, const std::string &)
 
template void itk_image_save (DoubleImageType::Pointer, const std::string &)
 
template void itk_image_save (DeformationFieldType::Pointer, const std::string &)
 
template void itk_image_save (UCharImage4DType::Pointer, const std::string &)
 
template void itk_image_save (UCharVecImageType::Pointer, const std::string &)
 
template void itk_image_save_char (FloatImageType::Pointer, const char *)
 
template void itk_image_save_uchar (const FloatImageType::Pointer, const char *)
 
template void itk_image_save_short (FloatImageType::Pointer, const char *)
 
template void itk_image_save_ushort (FloatImageType::Pointer, const char *)
 
template void itk_image_save_int32 (FloatImageType::Pointer, const char *)
 
template void itk_image_save_uint32 (FloatImageType::Pointer, const char *)
 
template void itk_image_save_float (FloatImageType::Pointer, const char *)
 
template void itk_image_save_double (FloatImageType::Pointer, const char *)
 

Function Documentation

◆ itk_image_save() [1/26]

template void itk_image_save ( CharImageType::Pointer ,
const char *  )

◆ itk_image_save() [2/26]

template void itk_image_save ( CharImageType::Pointer ,
const std::string &  )

◆ itk_image_save() [3/26]

void itk_image_save ( const FloatImageType::Pointer & img_ptr,
const char * fname,
Plm_image_type image_type )

◆ itk_image_save() [4/26]

void itk_image_save ( const FloatImageType::Pointer & img_ptr,
const std::string & fname,
Plm_image_type image_type )

◆ itk_image_save() [5/26]

template void itk_image_save ( DeformationFieldType::Pointer ,
const char *  )

◆ itk_image_save() [6/26]

template void itk_image_save ( DeformationFieldType::Pointer ,
const std::string &  )

◆ itk_image_save() [7/26]

template void itk_image_save ( DoubleImageType::Pointer ,
const char *  )

◆ itk_image_save() [8/26]

template void itk_image_save ( DoubleImageType::Pointer ,
const std::string &  )

◆ itk_image_save() [9/26]

template void itk_image_save ( FloatImageType::Pointer ,
const char *  )

◆ itk_image_save() [10/26]

template void itk_image_save ( FloatImageType::Pointer ,
const std::string &  )

◆ itk_image_save() [11/26]

template void itk_image_save ( Int32ImageType::Pointer ,
const char *  )

◆ itk_image_save() [12/26]

template void itk_image_save ( Int32ImageType::Pointer ,
const std::string &  )

◆ itk_image_save() [13/26]

template void itk_image_save ( ShortImageType::Pointer ,
const char *  )

◆ itk_image_save() [14/26]

template void itk_image_save ( ShortImageType::Pointer ,
const std::string &  )

◆ itk_image_save() [15/26]

template<class T >
void itk_image_save ( T image,
const char * fname )

◆ itk_image_save() [16/26]

template<class T >
void itk_image_save ( T image,
const std::string & fname )

◆ itk_image_save() [17/26]

template void itk_image_save ( UCharImage4DType::Pointer ,
const char *  )

◆ itk_image_save() [18/26]

template void itk_image_save ( UCharImage4DType::Pointer ,
const std::string &  )

◆ itk_image_save() [19/26]

template void itk_image_save ( UCharImageType::Pointer ,
const char *  )

◆ itk_image_save() [20/26]

template void itk_image_save ( UCharImageType::Pointer ,
const std::string &  )

◆ itk_image_save() [21/26]

template void itk_image_save ( UCharVecImageType::Pointer ,
const char *  )

◆ itk_image_save() [22/26]

template void itk_image_save ( UCharVecImageType::Pointer ,
const std::string &  )

◆ itk_image_save() [23/26]

template void itk_image_save ( UInt32ImageType::Pointer ,
const char *  )

◆ itk_image_save() [24/26]

template void itk_image_save ( UInt32ImageType::Pointer ,
const std::string &  )

◆ itk_image_save() [25/26]

template void itk_image_save ( UShortImageType::Pointer ,
const char *  )

◆ itk_image_save() [26/26]

template void itk_image_save ( UShortImageType::Pointer ,
const std::string &  )

◆ itk_image_save_char() [1/2]

template void itk_image_save_char ( FloatImageType::Pointer ,
const char *  )

◆ itk_image_save_char() [2/2]

template<class T >
void itk_image_save_char ( T image,
const char * fname )

◆ itk_image_save_double() [1/2]

template void itk_image_save_double ( FloatImageType::Pointer ,
const char *  )

◆ itk_image_save_double() [2/2]

template<class T >
void itk_image_save_double ( T image,
const char * fname )

◆ itk_image_save_float() [1/2]

template void itk_image_save_float ( FloatImageType::Pointer ,
const char *  )

◆ itk_image_save_float() [2/2]

template<class T >
void itk_image_save_float ( T image,
const char * fname )

◆ itk_image_save_int32() [1/2]

template void itk_image_save_int32 ( FloatImageType::Pointer ,
const char *  )

◆ itk_image_save_int32() [2/2]

template<class T >
void itk_image_save_int32 ( T image,
const char * fname )

◆ itk_image_save_short() [1/2]

template void itk_image_save_short ( FloatImageType::Pointer ,
const char *  )

◆ itk_image_save_short() [2/2]

template<class T >
void itk_image_save_short ( T image,
const char * fname )

◆ itk_image_save_uchar() [1/2]

template void itk_image_save_uchar ( const FloatImageType::Pointer ,
const char *  )

◆ itk_image_save_uchar() [2/2]

template<class T >
void itk_image_save_uchar ( T image,
const char * fname )

◆ itk_image_save_uint32() [1/2]

template void itk_image_save_uint32 ( FloatImageType::Pointer ,
const char *  )

◆ itk_image_save_uint32() [2/2]

template<class T >
void itk_image_save_uint32 ( T image,
const char * fname )

◆ itk_image_save_ushort() [1/2]

template void itk_image_save_ushort ( FloatImageType::Pointer ,
const char *  )

◆ itk_image_save_ushort() [2/2]

template<class T >
void itk_image_save_ushort ( T image,
const char * fname )