Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Bock__Thomas
Beginner
105 Views

Anchor position for ippsFilterMedian

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
105 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