VIA - Volumetric Image Analysis
Functions
Convolve.c File Reference

Functions

VImage VConvolve3d (VImage src, VImage dest, VImage kernel)
 3D convolution
VImage VConvolve2d (VImage src, VImage dest, VImage kernel)
 2D convolution
VImage VConvolveCol (VImage src, VImage dest, VImage kernel)
 1D convolution in column-direction (for separable filters)
VImage VConvolveRow (VImage src, VImage dest, VImage kernel)
 1D convolution in row-direction (for separable filters)
VImage VConvolveBand (VImage src, VImage dest, VImage kernel)
 1D convolution in slice-direction (for separable filters)

Detailed Description

Convolution

This file contains code for 2D and 3D convolutions, and for 1D convolutions. 1D convolutions can be used to implement separable 2D/3D filters.

Author:
Gabriele Lohmann, MPI-CBS

Function Documentation

VImage VConvolve3d ( VImage  src,
VImage  dest,
VImage  kernel 
)

3D convolution

Parameters
srcinput image (any repn)
destoutput image (float repn)
kernelraster image containing convolution kernel (float repn)
VImage VConvolve2d ( VImage  src,
VImage  dest,
VImage  kernel 
)

2D convolution

Parameters
srcinput image (any repn)
destoutput image (float repn)
kernelraster image containing convolution kernel (float repn)
VImage VConvolveCol ( VImage  src,
VImage  dest,
VImage  kernel 
)

1D convolution in column-direction (for separable filters)

Parameters
srcinput image (any repn)
destoutput image (float repn)
kernelraster image containing convolution kernel (float repn)
VImage VConvolveRow ( VImage  src,
VImage  dest,
VImage  kernel 
)

1D convolution in row-direction (for separable filters)

Parameters
srcinput image (any repn)
destoutput image (float repn)
kernelconvolution kernel (float repn)
VImage VConvolveBand ( VImage  src,
VImage  dest,
VImage  kernel 
)

1D convolution in slice-direction (for separable filters)

Parameters
srcinput image (any repn)
destoutput image (float repn)
kernelconvolution kernel (float repn)