Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

Anchor position for ippsFilterMedian

$
0
0

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


Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>