plastimatch
Loading...
Searching...
No Matches
Functions
volume_resample.cxx File Reference
#include "plmbase_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "interpolate.h"
#include "interpolate_macros.h"
#include "plm_int.h"
#include "plm_math.h"
#include "print_and_exit.h"
#include "volume.h"
#include "volume_header.h"
#include "volume_resample.h"

Functions

static Volume::Pointer volume_resample_float_nn (const Volume::Pointer &vol_in, const plm_long *dim, const float *origin, const float *spacing)
 
static Volume::Pointer volume_resample_float_li (const Volume::Pointer &vol_in, const plm_long *dim, const float *origin, const float *spacing)
 
static Volume::Pointer volume_resample_vf_float_interleaved (const Volume::Pointer &vol_in, const plm_long *dim, const float *origin, const float *spacing)
 
static Volume::Pointer volume_resample_vf_float_planar (const Volume::Pointer &vol_in, const plm_long *dim, const float *origin, const float *spacing)
 
Volume::Pointer volume_resample (const Volume::Pointer &vol_in, const plm_long *dim, const float *origin, const float *spacing)
 
Volume::Pointer volume_resample (const Volume::Pointer &vol_in, const Volume_header *vh)
 
Volume::Pointer volume_resample_nn (const Volume::Pointer &vol_in, const plm_long *dim, const float *origin, const float *spacing)
 
Volume::Pointer volume_subsample_vox (const Volume::Pointer &vol_in, const float *sampling_rate)
 
Volume::Pointer volume_subsample_vox_nn (const Volume::Pointer &vol_in, const float *sampling_rate)
 
Volume::Pointer volume_subsample_vox_legacy (const Volume::Pointer &vol_in, const float *sampling_rate)
 
Volume::Pointer volume_subsample_vox_legacy_nn (const Volume::Pointer &vol_in, const float *sampling_rate)
 
Volume::Pointer volume_resample_spacing (const Volume::Pointer &vol_in, const float spacing[3])
 
Volume::Pointer volume_resample_percent (const Volume::Pointer &vol_in, const float percent[3])
 

Function Documentation

◆ volume_resample() [1/2]

Volume::Pointer volume_resample ( const Volume::Pointer &  vol_in,
const plm_long dim,
const float origin,
const float spacing 
)

◆ volume_resample() [2/2]

Volume::Pointer volume_resample ( const Volume::Pointer &  vol_in,
const Volume_header vh 
)

◆ volume_resample_float_li()

static Volume::Pointer volume_resample_float_li ( const Volume::Pointer &  vol_in,
const plm_long dim,
const float origin,
const float spacing 
)
static

◆ volume_resample_float_nn()

static Volume::Pointer volume_resample_float_nn ( const Volume::Pointer &  vol_in,
const plm_long dim,
const float origin,
const float spacing 
)
static

◆ volume_resample_nn()

Volume::Pointer volume_resample_nn ( const Volume::Pointer &  vol_in,
const plm_long dim,
const float origin,
const float spacing 
)

◆ volume_resample_percent()

Volume::Pointer volume_resample_percent ( const Volume::Pointer &  vol_in,
const float  percent[3] 
)

◆ volume_resample_spacing()

Volume::Pointer volume_resample_spacing ( const Volume::Pointer &  vol_in,
const float  spacing[3] 
)

◆ volume_resample_vf_float_interleaved()

static Volume::Pointer volume_resample_vf_float_interleaved ( const Volume::Pointer &  vol_in,
const plm_long dim,
const float origin,
const float spacing 
)
static

◆ volume_resample_vf_float_planar()

static Volume::Pointer volume_resample_vf_float_planar ( const Volume::Pointer &  vol_in,
const plm_long dim,
const float origin,
const float spacing 
)
static

◆ volume_subsample_vox()

Volume::Pointer volume_subsample_vox ( const Volume::Pointer &  vol_in,
const float sampling_rate 
)

◆ volume_subsample_vox_legacy()

Volume::Pointer volume_subsample_vox_legacy ( const Volume::Pointer &  vol_in,
const float sampling_rate 
)

◆ volume_subsample_vox_legacy_nn()

Volume::Pointer volume_subsample_vox_legacy_nn ( const Volume::Pointer &  vol_in,
const float sampling_rate 
)

◆ volume_subsample_vox_nn()

Volume::Pointer volume_subsample_vox_nn ( const Volume::Pointer &  vol_in,
const float sampling_rate 
)