Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Anchor position for ippsFilterMedian

Bock__Thomas
Beginner
221 Views

Hello,

I want to use the ippsFilterMedian functions and there I found a discrepancy in the documentation. You write that the anchor is always centered at the Input element for which the median value is computed. For me this means if the masksize is 3, the anchor is in the 2. element. But in your provided example the anchor is in the last element.

Example:

pDst[0] = median(pDlySrc[0], pDlySrc[1], pSrc[0]);

pDst[1] = median(pDlySrc[1], pSrc[0], pSrc[1]);

pDst[2] = median(pSrc[0], pSrc[1], pSrc[2]);

After testing I determined that the example code is right. Maybe you can correct the documentation.

 

Hans

0 Kudos
1 Reply
Ivan_Z_Intel
Employee
221 Views

Hi,

Thanks for the feedback! The mistake in the documentation will be corrected in one of the following releases.

Thank you very much!

Ivan.

Reply