Functions
contrib/mul/vil3d/vil3d_resample_simple.h File Reference

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.

Detailed Description

Resample a 3D image by a different factor in each dimension.

Author:
Kevin de Souza

Definition in file vil3d_resample_simple.h.


Function Documentation

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.

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.