Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

How to calculate smoothed image derivatives?

mfleming
Beginner
384 Views
Please excuse the following if I've overlooked something obvious, as I am just starting with IPP. I need to calculate the partial derivatives of a 2D image, up to order 2, in both x and y directions. But I'd like to smooth the image at the same time by convolution with Gaussian kernels. Normally this is done by convolving with separable kernels, eg to get the first derivative in the x direction one convolves with a derivative of Gaussian kernel along the rows and a Gaussian kernel along the columns. With the IPP, it seems this could be done with one of the generic convolution functions, but then I'd have to make the kernels myself. This would be OK but I was wondering if there might be a packaged function for the purpose, as its a common operation in image processing.

Thanks,

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
384 Views

Hello,

there is recommendation from our experts:

youshould perform a convolution of Sobel and Gauss kernels and then apply this new kernel tothe image.

Regards,
Vladimir

0 Kudos
Reply