plastimatch
Loading...
Searching...
No Matches
itk_resample.cxx File Reference
#include "plmbase_config.h"
#include "itkLinearInterpolateImageFunction.h"
#include "itkImage.h"
#include "itkResampleImageFilter.h"
#include "itkAffineTransform.h"
#include "itkVectorResampleImageFilter.h"
#include "itkNearestNeighborInterpolateImageFunction.h"
#include "itk_image_type.h"
#include "itk_resample.h"
#include "logfile.h"
#include "plm_image_header.h"
#include "plm_timer.h"
#include "ss_img_extract.h"

Functions

template<class T >
vector_resample_image (const T &vf_image, const Plm_image_header *pih)
 
template<class T >
static T resample_image (T &image, DoublePoint3DType origin, DoubleVector3DType spacing, SizeType size, const DirectionType &direction, float default_val, int interp_lin)
 
template<class T >
resample_image (T &image, const Plm_image_header *pih, float default_val, int interp_lin)
 
template<class T >
resample_image (T &image, const Plm_image_header &pih, float default_val, int interp_lin)
 
template<class T >
resample_image (T &image, float spacing[3])
 
UCharVecImageType::Pointer resample_image (UCharVecImageType::Pointer image, float spacing[3])
 
template<class T >
subsample_image (T &image, int x_sampling_rate, int y_sampling_rate, int z_sampling_rate, float default_val)
 
template DeformationFieldType::Pointer vector_resample_image (const DeformationFieldType::Pointer &, const Plm_image_header *)
 
template UCharImageType::Pointer resample_image (UCharImageType::Pointer &, const Plm_image_header *, float default_val, int interp_lin)
 
template CharImageType::Pointer resample_image (CharImageType::Pointer &, const Plm_image_header *, float default_val, int interp_lin)
 
template UShortImageType::Pointer resample_image (UShortImageType::Pointer &, const Plm_image_header *, float default_val, int interp_lin)
 
template ShortImageType::Pointer resample_image (ShortImageType::Pointer &, const Plm_image_header *, float default_val, int interp_lin)
 
template UInt32ImageType::Pointer resample_image (UInt32ImageType::Pointer &, const Plm_image_header *, float default_val, int interp_lin)
 
template Int32ImageType::Pointer resample_image (Int32ImageType::Pointer &, const Plm_image_header *, float default_val, int interp_lin)
 
template FloatImageType::Pointer resample_image (FloatImageType::Pointer &, const Plm_image_header *, float default_val, int interp_lin)
 
template DoubleImageType::Pointer resample_image (DoubleImageType::Pointer &, const Plm_image_header *, float default_val, int interp_lin)
 
template UCharImageType::Pointer resample_image (UCharImageType::Pointer &, const Plm_image_header &, float default_val, int interp_lin)
 
template CharImageType::Pointer resample_image (CharImageType::Pointer &, const Plm_image_header &, float default_val, int interp_lin)
 
template UShortImageType::Pointer resample_image (UShortImageType::Pointer &, const Plm_image_header &, float default_val, int interp_lin)
 
template ShortImageType::Pointer resample_image (ShortImageType::Pointer &, const Plm_image_header &, float default_val, int interp_lin)
 
template UInt32ImageType::Pointer resample_image (UInt32ImageType::Pointer &, const Plm_image_header &, float default_val, int interp_lin)
 
template Int32ImageType::Pointer resample_image (Int32ImageType::Pointer &, const Plm_image_header &, float default_val, int interp_lin)
 
template FloatImageType::Pointer resample_image (FloatImageType::Pointer &, const Plm_image_header &, float default_val, int interp_lin)
 
template DoubleImageType::Pointer resample_image (DoubleImageType::Pointer &, const Plm_image_header &, float default_val, int interp_lin)
 
template FloatImageType::Pointer resample_image (FloatImageType::Pointer &, float spacing[3])
 
template UCharImageType::Pointer subsample_image (UCharImageType::Pointer &, int, int, int, float)
 
template CharImageType::Pointer subsample_image (CharImageType::Pointer &, int, int, int, float)
 
template UShortImageType::Pointer subsample_image (UShortImageType::Pointer &, int, int, int, float)
 
template ShortImageType::Pointer subsample_image (ShortImageType::Pointer &, int, int, int, float)
 
template UInt32ImageType::Pointer subsample_image (UInt32ImageType::Pointer &, int, int, int, float)
 
template Int32ImageType::Pointer subsample_image (Int32ImageType::Pointer &, int, int, int, float)
 
template FloatImageType::Pointer subsample_image (FloatImageType::Pointer &, int, int, int, float)
 
template DoubleImageType::Pointer subsample_image (DoubleImageType::Pointer &, int, int, int, float)
 

Function Documentation

◆ resample_image() [1/22]

template CharImageType::Pointer resample_image ( CharImageType::Pointer & ,
const Plm_image_header & ,
float default_val,
int interp_lin )

◆ resample_image() [2/22]

template CharImageType::Pointer resample_image ( CharImageType::Pointer & ,
const Plm_image_header * ,
float default_val,
int interp_lin )

◆ resample_image() [3/22]

template DoubleImageType::Pointer resample_image ( DoubleImageType::Pointer & ,
const Plm_image_header & ,
float default_val,
int interp_lin )

◆ resample_image() [4/22]

template DoubleImageType::Pointer resample_image ( DoubleImageType::Pointer & ,
const Plm_image_header * ,
float default_val,
int interp_lin )

◆ resample_image() [5/22]

template FloatImageType::Pointer resample_image ( FloatImageType::Pointer & ,
const Plm_image_header & ,
float default_val,
int interp_lin )

◆ resample_image() [6/22]

template FloatImageType::Pointer resample_image ( FloatImageType::Pointer & ,
const Plm_image_header * ,
float default_val,
int interp_lin )

◆ resample_image() [7/22]

template FloatImageType::Pointer resample_image ( FloatImageType::Pointer & ,
float spacing[3] )

◆ resample_image() [8/22]

template Int32ImageType::Pointer resample_image ( Int32ImageType::Pointer & ,
const Plm_image_header & ,
float default_val,
int interp_lin )

◆ resample_image() [9/22]

template Int32ImageType::Pointer resample_image ( Int32ImageType::Pointer & ,
const Plm_image_header * ,
float default_val,
int interp_lin )

◆ resample_image() [10/22]

template ShortImageType::Pointer resample_image ( ShortImageType::Pointer & ,
const Plm_image_header & ,
float default_val,
int interp_lin )

◆ resample_image() [11/22]

template ShortImageType::Pointer resample_image ( ShortImageType::Pointer & ,
const Plm_image_header * ,
float default_val,
int interp_lin )

◆ resample_image() [12/22]

template<class T >
T resample_image ( T & image,
const Plm_image_header & pih,
float default_val,
int interp_lin )

◆ resample_image() [13/22]

template<class T >
T resample_image ( T & image,
const Plm_image_header * pih,
float default_val,
int interp_lin )

◆ resample_image() [14/22]

template<class T >
static T resample_image ( T & image,
DoublePoint3DType origin,
DoubleVector3DType spacing,
SizeType size,
const DirectionType & direction,
float default_val,
int interp_lin )
static

◆ resample_image() [15/22]

template<class T >
T resample_image ( T & image,
float spacing[3] )

◆ resample_image() [16/22]

template UCharImageType::Pointer resample_image ( UCharImageType::Pointer & ,
const Plm_image_header & ,
float default_val,
int interp_lin )

◆ resample_image() [17/22]

template UCharImageType::Pointer resample_image ( UCharImageType::Pointer & ,
const Plm_image_header * ,
float default_val,
int interp_lin )

◆ resample_image() [18/22]

UCharVecImageType::Pointer resample_image ( UCharVecImageType::Pointer image,
float spacing[3] )

◆ resample_image() [19/22]

template UInt32ImageType::Pointer resample_image ( UInt32ImageType::Pointer & ,
const Plm_image_header & ,
float default_val,
int interp_lin )

◆ resample_image() [20/22]

template UInt32ImageType::Pointer resample_image ( UInt32ImageType::Pointer & ,
const Plm_image_header * ,
float default_val,
int interp_lin )

◆ resample_image() [21/22]

template UShortImageType::Pointer resample_image ( UShortImageType::Pointer & ,
const Plm_image_header & ,
float default_val,
int interp_lin )

◆ resample_image() [22/22]

template UShortImageType::Pointer resample_image ( UShortImageType::Pointer & ,
const Plm_image_header * ,
float default_val,
int interp_lin )

◆ subsample_image() [1/9]

template CharImageType::Pointer subsample_image ( CharImageType::Pointer & ,
int ,
int ,
int ,
float  )

◆ subsample_image() [2/9]

template DoubleImageType::Pointer subsample_image ( DoubleImageType::Pointer & ,
int ,
int ,
int ,
float  )

◆ subsample_image() [3/9]

template FloatImageType::Pointer subsample_image ( FloatImageType::Pointer & ,
int ,
int ,
int ,
float  )

◆ subsample_image() [4/9]

template Int32ImageType::Pointer subsample_image ( Int32ImageType::Pointer & ,
int ,
int ,
int ,
float  )

◆ subsample_image() [5/9]

template ShortImageType::Pointer subsample_image ( ShortImageType::Pointer & ,
int ,
int ,
int ,
float  )

◆ subsample_image() [6/9]

template<class T >
T subsample_image ( T & image,
int x_sampling_rate,
int y_sampling_rate,
int z_sampling_rate,
float default_val )

◆ subsample_image() [7/9]

template UCharImageType::Pointer subsample_image ( UCharImageType::Pointer & ,
int ,
int ,
int ,
float  )

◆ subsample_image() [8/9]

template UInt32ImageType::Pointer subsample_image ( UInt32ImageType::Pointer & ,
int ,
int ,
int ,
float  )

◆ subsample_image() [9/9]

template UShortImageType::Pointer subsample_image ( UShortImageType::Pointer & ,
int ,
int ,
int ,
float  )

◆ vector_resample_image() [1/2]

template DeformationFieldType::Pointer vector_resample_image ( const DeformationFieldType::Pointer & ,
const Plm_image_header *  )

◆ vector_resample_image() [2/2]

template<class T >
T vector_resample_image ( const T & vf_image,
const Plm_image_header * pih )