Woolz Image Processing
Version 1.7.5
|
Files | |
file | AlgConvolve.c |
Provides functions for convolving data arrays. | |
Functions | |
AlgError | AlgConvolveD (int sizeArrayCnv, double *arrayCnv, int sizeArrayKrn, double *arrayKrn, int sizeArrayDat, double *arrayDat, AlgPadType pad, double padVal) |
Convolves double 1D kernel and data arrays, cnv = krn * data. The return convolution array must not be aliased to either the kernel or data arrays. More... | |
AlgError | AlgConvolveF (int sizeArrayCnv, float *arrayCnv, int sizeArrayKrn, float *arrayKrn, int sizeArrayDat, float *arrayDat, AlgPadType pad, float padVal) |
Convolves float 1D kernel and data arrays, cnv = krn * data. The return convolution array must not be aliased to either the kernel or data arrays. More... | |
AlgError AlgConvolveD | ( | int | sizeArrayCnv, |
double * | arrayCnv, | ||
int | sizeArrayKrn, | ||
double * | arrayKrn, | ||
int | sizeArrayDat, | ||
double * | arrayDat, | ||
AlgPadType | pad, | ||
double | padVal | ||
) |
Convolves double 1D kernel and data arrays, cnv = krn * data. The return convolution array must not be aliased to either the kernel or data arrays.
sizeArrayCnv | Length of return array must be >= max(len(dat),len(krn)). |
arrayCnv | Return convolution array. |
sizeArrayKrn | Length of kernel array, must be odd. |
arrayKrn | Kernel array. |
sizeArrayDat | Length of data array. |
arrayDat | Data array. |
pad | Type of padding. |
padVal | Padding value, only used when pad == ALG_PAD_VALUE. |
References ALG_DBG, ALG_DBG_LVL_1, ALG_DBG_LVL_FN, ALG_ERR_FUNC, ALG_ERR_NONE, ALG_PAD_END, ALG_PAD_NONE, ALG_PAD_VALUE, and ALG_PAD_ZERO.
Referenced by WlzHistogramConvolve(), and WlzSepFilter().
AlgError AlgConvolveF | ( | int | sizeArrayCnv, |
float * | arrayCnv, | ||
int | sizeArrayKrn, | ||
float * | arrayKrn, | ||
int | sizeArrayDat, | ||
float * | arrayDat, | ||
AlgPadType | pad, | ||
float | padVal | ||
) |
Convolves float 1D kernel and data arrays, cnv = krn * data. The return convolution array must not be aliased to either the kernel or data arrays.
sizeArrayCnv | Length of return array must be >= max(len(dat),len(krn)). |
arrayCnv | Return convolution array. |
sizeArrayKrn | Length of kernel array, must be odd. |
arrayKrn | Kernel array. |
sizeArrayDat | Length of data array. |
arrayDat | Data array. |
pad | Type of padding. |
padVal | Padding value, only used when pad == ALG_PAD_VALUE. |
References ALG_DBG, ALG_DBG_LVL_1, ALG_DBG_LVL_FN, ALG_ERR_FUNC, ALG_ERR_NONE, ALG_PAD_END, ALG_PAD_NONE, ALG_PAD_VALUE, and ALG_PAD_ZERO.