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

Subtracts pixel values of two images I2 = I1 - I2

$
0
0

Hi,
Is there smart way how to subctract image I2 from I1 and place result in I2 ?

AFAIU in-place ippiSub can subtract I2 (pSsrc) from I1 (pSrcDst), but places result in I1 (pSrcDst).
When I use not-in-place subtraction and specify pSrc1=I2, pSrc2=I1, pDst=I2 will it work ? Or all 3 images must be distinct ?

Is there workaround ?


Viewing all articles
Browse latest Browse all 1489

Trending Articles



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