plastimatch
Loading...
Searching...
No Matches
volume_resample.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _volume_resample_h_
5#define _volume_resample_h_
6
7#include "plmbase_config.h"
8
9PLMBASE_API Volume::Pointer volume_resample (
10 const Volume::Pointer& vol_in,
11 const plm_long* dim,
12 const float* offset,
13 const float* spacing
14);
15PLMBASE_API Volume::Pointer volume_resample (
16 const Volume::Pointer& vol_in, const Volume_header *vh);
17PLMBASE_API Volume::Pointer volume_resample_nn (
18 const Volume::Pointer& vol_in,
19 const plm_long* dim,
20 const float* offset,
21 const float* spacing
22);
23PLMBASE_API Volume::Pointer volume_subsample_vox (
24 const Volume::Pointer& vol_in, const float* sampling_rate);
26 const Volume::Pointer& vol_in, const float* sampling_rate);
28 const Volume::Pointer& vol_in, const float* sampling_rate);
30 const Volume::Pointer& vol_in, const float* sampling_rate);
31
33 const Volume::Pointer& vol_in, const float spacing[3]);
34
36 const Volume::Pointer& vol_in, const float percent[3]);
37
38#endif
Definition volume_header.h:17
#define PLMBASE_API
Definition plmbase_config.h:19
Volume::Pointer volume_subsample_vox_legacy(const Volume::Pointer &vol_in, const float *sampling_rate)
Definition volume_resample.cxx:338
Volume::Pointer volume_resample_spacing(const Volume::Pointer &vol_in, const float spacing[3])
Definition volume_resample.cxx:382
Volume::Pointer volume_resample_percent(const Volume::Pointer &vol_in, const float percent[3])
Definition volume_resample.cxx:396
Volume::Pointer volume_resample(const Volume::Pointer &vol_in, const plm_long *dim, const float *offset, const float *spacing)
Definition volume_resample.cxx:227
Volume::Pointer volume_resample_nn(const Volume::Pointer &vol_in, const plm_long *dim, const float *offset, const float *spacing)
Definition volume_resample.cxx:264
Volume::Pointer volume_subsample_vox_nn(const Volume::Pointer &vol_in, const float *sampling_rate)
Definition volume_resample.cxx:318
Volume::Pointer volume_subsample_vox(const Volume::Pointer &vol_in, const float *sampling_rate)
Definition volume_resample.cxx:298
Volume::Pointer volume_subsample_vox_legacy_nn(const Volume::Pointer &vol_in, const float *sampling_rate)
Definition volume_resample.cxx:360