Home > ISET > metrics > scielab > separableConv.m

separableConv

PURPOSE ^

SYNOPSIS ^

function result = separableConv(im, xkernels, ykernels)

DESCRIPTION ^

 Two-dimensional convolution with X-Y separable kernels.
 
 im is the input matric. im is reflected on all sides before
   convolution.
 xkernels and ykernels are both row vectors. If ykernels is not
   given, then use xkernels as ykernels.
 If xkernels and ykernels are matrices, each row is taken as
   one convolution kernel and convolved with the image, and the
   sum of the results is returned.
 
 This function is useful when a 2-D filter can be represented by
 a linear combination of several separable filters. If the number
 of separable filters that form the 2-D filter is not too large,
 this can be substantially faster than conv2.

 From (put citation here)

 Xuemei Zhang 3/1/96

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003