Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Downsample image with a custom kernel

Goran_N
Beginner
208 Views
Hi there,
I need to downsample images using custom-crafted kernels. I was not able to find an IPP function to do this. I could filter an image using the custom kernel and then nearest-neighbor it, but the efficiency is critical and I don't want to filter pixels I will throw away. In addition I must use separable filter/downsample (1D in X and Y, again for performance). So what I really need is a 1D filter with custom kernel and a stride (filter at every n-th pixel), do this in X and Y, and then pick a subset of pixels (every n-th pixel) to get the output image.

Are there IPP functions that will help me do this?
Thanks!
0 Kudos
1 Reply
Chao_Y_Intel
Moderator
208 Views

Hello,

Have you checked the multirate FIR function? Can it meet your requirement?
http://software.intel.com/sites/products/documentation/hpc/ipp/ipps/ipps_ch6/functn_FIR.html

Thanks,
Chao

0 Kudos
Reply