Defines | Functions
contrib/mul/vil3d/vil3d_resample_simple.txx File Reference

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

#include "vil3d_resample_simple.h"

Go to the source code of this file.

Defines

#define vil3d_resample_simple_txx_
#define VIL3D_RESAMPLE_SIMPLE_INSTANTIATE(T)

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.txx.


Define Documentation

#define VIL3D_RESAMPLE_SIMPLE_INSTANTIATE (   T)
Value:
template 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)

Definition at line 64 of file vil3d_resample_simple.txx.

#define vil3d_resample_simple_txx_

Definition at line 3 of file vil3d_resample_simple.txx.


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.