FrameWork for separable convolution filters
#include "dip_linear.h"
dip_Error dip_SeparableConvolution ( in, out, filters, bc, process )
integer, float
This function is a frontend to the lower level Convolve1d function. Each dimension can be processed by a different filter.
process may be zero, indicating that all dimensions should be processed.
Data type | Name | Description |
dip_Image | in | Input image |
dip_Image | out | Output image |
dip_SeparableConvolutionFilter * | filters | Filters |
dip_BoundaryArray | bc | Boundary conditions |
dip_BooleanArray | process (0) | Dimensions to process |
The dip_SeparableConvolutionFilter structure contains the following elements:
Data type | Name | Description |
dip_float * | filter | Filter weights |
dip_int | filterSize | Length of filter array |
dip_int | origin | Origin of the filter, only valid in conjunction with DIP_CNV_USE_ORIGIN |
dipf_Convolve | flags | Filter flags, see Convolve1d for their definitions |
General information about convolution
GeneralConvolution, ConvolveFT, SeparableFrameWork, Convolve1d