Resample a 3D image by a different factor in each dimension. More...
#include <vil3d/vil3d_image_view.h>
Go to the source code of this file.
Functions | |
template<class T > | |
void | vil3d_resample_simple (const vil3d_image_view< T > &src_image, vil3d_image_view< T > &dst_image, const double dx, const double dy, const double dz) |
Resample a 3D image by a different factor in each dimension. |
Resample a 3D image by a different factor in each dimension.
Definition in file vil3d_resample_simple.h.
void vil3d_resample_simple | ( | const vil3d_image_view< T > & | src_image, |
vil3d_image_view< T > & | dst_image, | ||
const double | dx, | ||
const double | dy, | ||
const double | dz | ||
) |
Resample a 3D image by a different factor in each dimension.
dst_image resized by factors dx, dy, dz. dst_image(i, j, k, p) is sampled from src_image(i/dx, j/dy, k/dz, p). No interpolation is performed.
Definition at line 16 of file vil3d_resample_simple.txx.