VIA - Volumetric Image Analysis
Functions

NNScale3d.c File Reference

Functions

VImage VNNScale3d (VImage src, VImage dest, int dst_nbands, int dst_nrows, int dst_ncols, float shift[3], float scale[3])
 3D scaling using nearest neighbour interpolation.

Detailed Description

3D scaling using nearest neighbour interpolation.

Scale a 3D image using nearest neighbour interpolation.

Author:
Gabriele Lohmann, MPI-CBS

Function Documentation

VImage VNNScale3d ( VImage  src,
VImage  dest,
int  dst_nbands,
int  dst_nrows,
int  dst_ncols,
float  shift[3],
float  scale[3] 
)

3D scaling using nearest neighbour interpolation.

Parameters:
srcinput image (any repn)
destoutput image (any repn)
dst_nbandsnumber of output slices
dst_nrowsnumber of output rows
dst_ncolsnumber of output columns
shift[3]translation vector (band,row,column)
scale[3]scaling vector (band,row,column)