Hello all,
This may appear really basic to some but how do I specify the kernel for the Sobel operation? For example, the gradient for X or Y directions? The API is copy-pasted below. It has source and destination pixel arrays but nothing for the gradient. Thanks,
FASTCV_API void fcvFilterSobel3x3u8_v2(const uint8_t *__restrict src, unsigned int srcWidth, unsigned int srcHeight, unsigned int srcStride, uint8_t *__restrict dst, unsigned int dstStride )
Hi,
This API fcvFilterSobel3x3u8_v2 computes L1 norm of the gradient (|dx|+|dy|). If you want separate planes of gradients dx and dy, please consider fcvImageGradientSobelPlanars16_v3.
Cheers,
-Jeff