NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.7.1.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

Pixel by pixel subtraction of two images. More...

Functions

NppStatus nppiSub_8u_C1RSfs_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 8-bit unsigned char channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_8u_C1RSfs (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_8u_C1IRSfs_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 8-bit unsigned char channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_8u_C1IRSfs (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_8u_C3RSfs_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 8-bit unsigned char channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_8u_C3RSfs (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_8u_C3IRSfs_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 8-bit unsigned char channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_8u_C3IRSfs (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_8u_AC4RSfs_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 8-bit unsigned char channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_8u_AC4RSfs (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_8u_AC4IRSfs_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 8-bit unsigned char channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_8u_AC4IRSfs (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_8u_C4RSfs_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 8-bit unsigned char channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_8u_C4RSfs (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_8u_C4IRSfs_Ctx (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 8-bit unsigned char channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_8u_C4IRSfs (const Npp8u *pSrc, int nSrcStep, Npp8u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16u_C1RSfs_Ctx (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 16-bit unsigned short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16u_C1RSfs (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16u_C1IRSfs_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 16-bit unsigned short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16u_C1IRSfs (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16u_C3RSfs_Ctx (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 16-bit unsigned short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16u_C3RSfs (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16u_C3IRSfs_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 16-bit unsigned short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16u_C3IRSfs (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16u_AC4RSfs_Ctx (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit unsigned short channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16u_AC4RSfs (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16u_AC4IRSfs_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit unsigned short channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16u_AC4IRSfs (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16u_C4RSfs_Ctx (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit unsigned short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16u_C4RSfs (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16u_C4IRSfs_Ctx (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit unsigned short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16u_C4IRSfs (const Npp16u *pSrc, int nSrcStep, Npp16u *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16s_C1RSfs_Ctx (const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 16-bit signed short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16s_C1RSfs (const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16s_C1IRSfs_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 16-bit signed short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16s_C1IRSfs (const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16s_C3RSfs_Ctx (const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 16-bit signed short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16s_C3RSfs (const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16s_C3IRSfs_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 16-bit signed short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16s_C3IRSfs (const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16s_AC4RSfs_Ctx (const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit signed short channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16s_AC4RSfs (const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16s_AC4IRSfs_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit signed short channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16s_AC4IRSfs (const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16s_C4RSfs_Ctx (const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit signed short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16s_C4RSfs (const Npp16s *pSrc1, int nSrc1Step, const Npp16s *pSrc2, int nSrc2Step, Npp16s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16s_C4IRSfs_Ctx (const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit signed short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16s_C4IRSfs (const Npp16s *pSrc, int nSrcStep, Npp16s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16sc_C1RSfs_Ctx (const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16sc_C1RSfs (const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16sc_C1IRSfs_Ctx (const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16sc_C1IRSfs (const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16sc_C3RSfs_Ctx (const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16sc_C3RSfs (const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16sc_C3IRSfs_Ctx (const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16sc_C3IRSfs (const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16sc_AC4RSfs_Ctx (const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16sc_AC4RSfs (const Npp16sc *pSrc1, int nSrc1Step, const Npp16sc *pSrc2, int nSrc2Step, Npp16sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16sc_AC4IRSfs_Ctx (const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_16sc_AC4IRSfs (const Npp16sc *pSrc, int nSrcStep, Npp16sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32s_C1RSfs_Ctx (const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 32-bit signed integer channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32s_C1RSfs (const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32s_C1R_Ctx (const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead. More...
 
NppStatus nppiSub_32s_C1R (const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32s_C1IRSfs_Ctx (const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 32-bit signed integer channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32s_C1IRSfs (const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32s_C3RSfs_Ctx (const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 32-bit signed integer channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32s_C3RSfs (const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32s_C3IRSfs_Ctx (const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 32-bit signed integer channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32s_C3IRSfs (const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32s_C4RSfs_Ctx (const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 32-bit signed integer channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32s_C4RSfs (const Npp32s *pSrc1, int nSrc1Step, const Npp32s *pSrc2, int nSrc2Step, Npp32s *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32s_C4IRSfs_Ctx (const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 32-bit signed integer channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32s_C4IRSfs (const Npp32s *pSrc, int nSrcStep, Npp32s *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32sc_C1RSfs_Ctx (const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32sc_C1RSfs (const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32sc_C1IRSfs_Ctx (const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32sc_C1IRSfs (const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32sc_C3RSfs_Ctx (const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32sc_C3RSfs (const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32sc_C3IRSfs_Ctx (const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32sc_C3IRSfs (const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32sc_AC4RSfs_Ctx (const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32sc_AC4RSfs (const Npp32sc *pSrc1, int nSrc1Step, const Npp32sc *pSrc2, int nSrc2Step, Npp32sc *pDst, int nDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_32sc_AC4IRSfs_Ctx (const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor, NppStreamContext nppStreamCtx)
 Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value. More...
 
NppStatus nppiSub_32sc_AC4IRSfs (const Npp32sc *pSrc, int nSrcStep, Npp32sc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, int nScaleFactor)
 
NppStatus nppiSub_16f_C1R_Ctx (const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 16-bit floating point channel image subtraction. More...
 
NppStatus nppiSub_16f_C1R (const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_16f_C1IR_Ctx (const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 16-bit floating point channel in place image subtraction. More...
 
NppStatus nppiSub_16f_C1IR (const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_16f_C3R_Ctx (const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Three 16-bit floating point channel image subtraction. More...
 
NppStatus nppiSub_16f_C3R (const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_16f_C3IR_Ctx (const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Three 16-bit floating point channel in place image subtraction. More...
 
NppStatus nppiSub_16f_C3IR (const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_16f_C4R_Ctx (const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 16-bit floating point channel image subtraction. More...
 
NppStatus nppiSub_16f_C4R (const Npp16f *pSrc1, int nSrc1Step, const Npp16f *pSrc2, int nSrc2Step, Npp16f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_16f_C4IR_Ctx (const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 16-bit floating point channel in place image subtraction. More...
 
NppStatus nppiSub_16f_C4IR (const Npp16f *pSrc, int nSrcStep, Npp16f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32f_C1R_Ctx (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 32-bit floating point channel image subtraction. More...
 
NppStatus nppiSub_32f_C1R (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32f_C1IR_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 32-bit floating point channel in place image subtraction. More...
 
NppStatus nppiSub_32f_C1IR (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32f_C3R_Ctx (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Three 32-bit floating point channel image subtraction. More...
 
NppStatus nppiSub_32f_C3R (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32f_C3IR_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Three 32-bit floating point channel in place image subtraction. More...
 
NppStatus nppiSub_32f_C3IR (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32f_AC4R_Ctx (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 32-bit floating point channel with unmodified alpha image subtraction. More...
 
NppStatus nppiSub_32f_AC4R (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32f_AC4IR_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 32-bit floating point channel with unmodified alpha in place image subtraction. More...
 
NppStatus nppiSub_32f_AC4IR (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32f_C4R_Ctx (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 32-bit floating point channel image subtraction. More...
 
NppStatus nppiSub_32f_C4R (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32f_C4IR_Ctx (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 32-bit floating point channel in place image subtraction. More...
 
NppStatus nppiSub_32f_C4IR (const Npp32f *pSrc, int nSrcStep, Npp32f *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32fc_C1R_Ctx (const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction. More...
 
NppStatus nppiSub_32fc_C1R (const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32fc_C1IR_Ctx (const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction. More...
 
NppStatus nppiSub_32fc_C1IR (const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32fc_C3R_Ctx (const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction. More...
 
NppStatus nppiSub_32fc_C3R (const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32fc_C3IR_Ctx (const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction. More...
 
NppStatus nppiSub_32fc_C3IR (const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32fc_AC4R_Ctx (const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtraction. More...
 
NppStatus nppiSub_32fc_AC4R (const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32fc_AC4IR_Ctx (const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtraction. More...
 
NppStatus nppiSub_32fc_AC4IR (const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32fc_C4R_Ctx (const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction. More...
 
NppStatus nppiSub_32fc_C4R (const Npp32fc *pSrc1, int nSrc1Step, const Npp32fc *pSrc2, int nSrc2Step, Npp32fc *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiSub_32fc_C4IR_Ctx (const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction. More...
 
NppStatus nppiSub_32fc_C4IR (const Npp32fc *pSrc, int nSrcStep, Npp32fc *pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
 

Detailed Description

Pixel by pixel subtraction of two images.

Function Documentation

NppStatus nppiSub_16f_C1IR ( const Npp16f pSrc,
int  nSrcStep,
Npp16f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_16f_C1IR_Ctx ( const Npp16f pSrc,
int  nSrcStep,
Npp16f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 16-bit floating point channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16f_C1R ( const Npp16f pSrc1,
int  nSrc1Step,
const Npp16f pSrc2,
int  nSrc2Step,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_16f_C1R_Ctx ( const Npp16f pSrc1,
int  nSrc1Step,
const Npp16f pSrc2,
int  nSrc2Step,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)
NppStatus nppiSub_16f_C3IR ( const Npp16f pSrc,
int  nSrcStep,
Npp16f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_16f_C3IR_Ctx ( const Npp16f pSrc,
int  nSrcStep,
Npp16f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three 16-bit floating point channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16f_C3R ( const Npp16f pSrc1,
int  nSrc1Step,
const Npp16f pSrc2,
int  nSrc2Step,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_16f_C3R_Ctx ( const Npp16f pSrc1,
int  nSrc1Step,
const Npp16f pSrc2,
int  nSrc2Step,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)
NppStatus nppiSub_16f_C4IR ( const Npp16f pSrc,
int  nSrcStep,
Npp16f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_16f_C4IR_Ctx ( const Npp16f pSrc,
int  nSrcStep,
Npp16f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 16-bit floating point channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16f_C4R ( const Npp16f pSrc1,
int  nSrc1Step,
const Npp16f pSrc2,
int  nSrc2Step,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_16f_C4R_Ctx ( const Npp16f pSrc1,
int  nSrc1Step,
const Npp16f pSrc2,
int  nSrc2Step,
Npp16f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)
NppStatus nppiSub_16s_AC4IRSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16s_AC4IRSfs_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit signed short channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16s_AC4RSfs ( const Npp16s pSrc1,
int  nSrc1Step,
const Npp16s pSrc2,
int  nSrc2Step,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16s_AC4RSfs_Ctx ( const Npp16s pSrc1,
int  nSrc1Step,
const Npp16s pSrc2,
int  nSrc2Step,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit signed short channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16s_C1IRSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16s_C1IRSfs_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 16-bit signed short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16s_C1RSfs ( const Npp16s pSrc1,
int  nSrc1Step,
const Npp16s pSrc2,
int  nSrc2Step,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16s_C1RSfs_Ctx ( const Npp16s pSrc1,
int  nSrc1Step,
const Npp16s pSrc2,
int  nSrc2Step,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 16-bit signed short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16s_C3IRSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16s_C3IRSfs_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 16-bit signed short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16s_C3RSfs ( const Npp16s pSrc1,
int  nSrc1Step,
const Npp16s pSrc2,
int  nSrc2Step,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16s_C3RSfs_Ctx ( const Npp16s pSrc1,
int  nSrc1Step,
const Npp16s pSrc2,
int  nSrc2Step,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 16-bit signed short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16s_C4IRSfs ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16s_C4IRSfs_Ctx ( const Npp16s pSrc,
int  nSrcStep,
Npp16s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit signed short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16s_C4RSfs ( const Npp16s pSrc1,
int  nSrc1Step,
const Npp16s pSrc2,
int  nSrc2Step,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16s_C4RSfs_Ctx ( const Npp16s pSrc1,
int  nSrc1Step,
const Npp16s pSrc2,
int  nSrc2Step,
Npp16s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit signed short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16sc_AC4IRSfs ( const Npp16sc pSrc,
int  nSrcStep,
Npp16sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16sc_AC4IRSfs_Ctx ( const Npp16sc pSrc,
int  nSrcStep,
Npp16sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16sc_AC4RSfs ( const Npp16sc pSrc1,
int  nSrc1Step,
const Npp16sc pSrc2,
int  nSrc2Step,
Npp16sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16sc_AC4RSfs_Ctx ( const Npp16sc pSrc1,
int  nSrc1Step,
const Npp16sc pSrc2,
int  nSrc2Step,
Npp16sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16sc_C1IRSfs ( const Npp16sc pSrc,
int  nSrcStep,
Npp16sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16sc_C1IRSfs_Ctx ( const Npp16sc pSrc,
int  nSrcStep,
Npp16sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16sc_C1RSfs ( const Npp16sc pSrc1,
int  nSrc1Step,
const Npp16sc pSrc2,
int  nSrc2Step,
Npp16sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16sc_C1RSfs_Ctx ( const Npp16sc pSrc1,
int  nSrc1Step,
const Npp16sc pSrc2,
int  nSrc2Step,
Npp16sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16sc_C3IRSfs ( const Npp16sc pSrc,
int  nSrcStep,
Npp16sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16sc_C3IRSfs_Ctx ( const Npp16sc pSrc,
int  nSrcStep,
Npp16sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16sc_C3RSfs ( const Npp16sc pSrc1,
int  nSrc1Step,
const Npp16sc pSrc2,
int  nSrc2Step,
Npp16sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16sc_C3RSfs_Ctx ( const Npp16sc pSrc1,
int  nSrc1Step,
const Npp16sc pSrc2,
int  nSrc2Step,
Npp16sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 16-bit signed short complex number (16-bit real, 16-bit imaginary) channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16u_AC4IRSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16u_AC4IRSfs_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit unsigned short channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16u_AC4RSfs ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16u_AC4RSfs_Ctx ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit unsigned short channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16u_C1IRSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16u_C1IRSfs_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 16-bit unsigned short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16u_C1RSfs ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16u_C1RSfs_Ctx ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 16-bit unsigned short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16u_C3IRSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16u_C3IRSfs_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 16-bit unsigned short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16u_C3RSfs ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16u_C3RSfs_Ctx ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 16-bit unsigned short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16u_C4IRSfs ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16u_C4IRSfs_Ctx ( const Npp16u pSrc,
int  nSrcStep,
Npp16u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit unsigned short channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_16u_C4RSfs ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_16u_C4RSfs_Ctx ( const Npp16u pSrc1,
int  nSrc1Step,
const Npp16u pSrc2,
int  nSrc2Step,
Npp16u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 16-bit unsigned short channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32f_AC4IR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32f_AC4IR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 32-bit floating point channel with unmodified alpha in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32f_AC4R ( const Npp32f pSrc1,
int  nSrc1Step,
const Npp32f pSrc2,
int  nSrc2Step,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32f_AC4R_Ctx ( const Npp32f pSrc1,
int  nSrc1Step,
const Npp32f pSrc2,
int  nSrc2Step,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 32-bit floating point channel with unmodified alpha image subtraction.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32f_C1IR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32f_C1IR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 32-bit floating point channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32f_C1R ( const Npp32f pSrc1,
int  nSrc1Step,
const Npp32f pSrc2,
int  nSrc2Step,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32f_C1R_Ctx ( const Npp32f pSrc1,
int  nSrc1Step,
const Npp32f pSrc2,
int  nSrc2Step,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)
NppStatus nppiSub_32f_C3IR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32f_C3IR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three 32-bit floating point channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32f_C3R ( const Npp32f pSrc1,
int  nSrc1Step,
const Npp32f pSrc2,
int  nSrc2Step,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32f_C3R_Ctx ( const Npp32f pSrc1,
int  nSrc1Step,
const Npp32f pSrc2,
int  nSrc2Step,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)
NppStatus nppiSub_32f_C4IR ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32f_C4IR_Ctx ( const Npp32f pSrc,
int  nSrcStep,
Npp32f pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 32-bit floating point channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32f_C4R ( const Npp32f pSrc1,
int  nSrc1Step,
const Npp32f pSrc2,
int  nSrc2Step,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32f_C4R_Ctx ( const Npp32f pSrc1,
int  nSrc1Step,
const Npp32f pSrc2,
int  nSrc2Step,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)
NppStatus nppiSub_32fc_AC4IR ( const Npp32fc pSrc,
int  nSrcStep,
Npp32fc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32fc_AC4IR_Ctx ( const Npp32fc pSrc,
int  nSrcStep,
Npp32fc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32fc_AC4R ( const Npp32fc pSrc1,
int  nSrc1Step,
const Npp32fc pSrc2,
int  nSrc2Step,
Npp32fc pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32fc_AC4R_Ctx ( const Npp32fc pSrc1,
int  nSrc1Step,
const Npp32fc pSrc2,
int  nSrc2Step,
Npp32fc pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtraction.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32fc_C1IR ( const Npp32fc pSrc,
int  nSrcStep,
Npp32fc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32fc_C1IR_Ctx ( const Npp32fc pSrc,
int  nSrcStep,
Npp32fc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32fc_C1R ( const Npp32fc pSrc1,
int  nSrc1Step,
const Npp32fc pSrc2,
int  nSrc2Step,
Npp32fc pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32fc_C1R_Ctx ( const Npp32fc pSrc1,
int  nSrc1Step,
const Npp32fc pSrc2,
int  nSrc2Step,
Npp32fc pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

One 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32fc_C3IR ( const Npp32fc pSrc,
int  nSrcStep,
Npp32fc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32fc_C3IR_Ctx ( const Npp32fc pSrc,
int  nSrcStep,
Npp32fc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32fc_C3R ( const Npp32fc pSrc1,
int  nSrc1Step,
const Npp32fc pSrc2,
int  nSrc2Step,
Npp32fc pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32fc_C3R_Ctx ( const Npp32fc pSrc1,
int  nSrc1Step,
const Npp32fc pSrc2,
int  nSrc2Step,
Npp32fc pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Three 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32fc_C4IR ( const Npp32fc pSrc,
int  nSrcStep,
Npp32fc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32fc_C4IR_Ctx ( const Npp32fc pSrc,
int  nSrcStep,
Npp32fc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel in place image subtraction.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32fc_C4R ( const Npp32fc pSrc1,
int  nSrc1Step,
const Npp32fc pSrc2,
int  nSrc2Step,
Npp32fc pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32fc_C4R_Ctx ( const Npp32fc pSrc1,
int  nSrc1Step,
const Npp32fc pSrc2,
int  nSrc2Step,
Npp32fc pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Four 32-bit floating point complex number (32-bit real, 32-bit imaginary) channel image subtraction.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32s_C1IRSfs ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32s_C1IRSfs_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 32-bit signed integer channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32s_C1R ( const Npp32s pSrc1,
int  nSrc1Step,
const Npp32s pSrc2,
int  nSrc2Step,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiSub_32s_C1R_Ctx ( const Npp32s pSrc1,
int  nSrc1Step,
const Npp32s pSrc2,
int  nSrc2Step,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

Note: This function is to be deprecated in future NPP releases, use the function above with a scale factor of 0 instead.

32-bit image subtraction. Subtract pSrc1's pixels from corresponding pixels in pSrc2.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32s_C1RSfs ( const Npp32s pSrc1,
int  nSrc1Step,
const Npp32s pSrc2,
int  nSrc2Step,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32s_C1RSfs_Ctx ( const Npp32s pSrc1,
int  nSrc1Step,
const Npp32s pSrc2,
int  nSrc2Step,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 32-bit signed integer channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32s_C3IRSfs ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32s_C3IRSfs_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 32-bit signed integer channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32s_C3RSfs ( const Npp32s pSrc1,
int  nSrc1Step,
const Npp32s pSrc2,
int  nSrc2Step,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32s_C3RSfs_Ctx ( const Npp32s pSrc1,
int  nSrc1Step,
const Npp32s pSrc2,
int  nSrc2Step,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 32-bit signed integer channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32s_C4IRSfs ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32s_C4IRSfs_Ctx ( const Npp32s pSrc,
int  nSrcStep,
Npp32s pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 32-bit signed integer channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32s_C4RSfs ( const Npp32s pSrc1,
int  nSrc1Step,
const Npp32s pSrc2,
int  nSrc2Step,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32s_C4RSfs_Ctx ( const Npp32s pSrc1,
int  nSrc1Step,
const Npp32s pSrc2,
int  nSrc2Step,
Npp32s pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 32-bit signed integer channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32sc_AC4IRSfs ( const Npp32sc pSrc,
int  nSrcStep,
Npp32sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32sc_AC4IRSfs_Ctx ( const Npp32sc pSrc,
int  nSrcStep,
Npp32sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32sc_AC4RSfs ( const Npp32sc pSrc1,
int  nSrc1Step,
const Npp32sc pSrc2,
int  nSrc2Step,
Npp32sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32sc_AC4RSfs_Ctx ( const Npp32sc pSrc1,
int  nSrc1Step,
const Npp32sc pSrc2,
int  nSrc2Step,
Npp32sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32sc_C1IRSfs ( const Npp32sc pSrc,
int  nSrcStep,
Npp32sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32sc_C1IRSfs_Ctx ( const Npp32sc pSrc,
int  nSrcStep,
Npp32sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32sc_C1RSfs ( const Npp32sc pSrc1,
int  nSrc1Step,
const Npp32sc pSrc2,
int  nSrc2Step,
Npp32sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32sc_C1RSfs_Ctx ( const Npp32sc pSrc1,
int  nSrc1Step,
const Npp32sc pSrc2,
int  nSrc2Step,
Npp32sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32sc_C3IRSfs ( const Npp32sc pSrc,
int  nSrcStep,
Npp32sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32sc_C3IRSfs_Ctx ( const Npp32sc pSrc,
int  nSrcStep,
Npp32sc pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_32sc_C3RSfs ( const Npp32sc pSrc1,
int  nSrc1Step,
const Npp32sc pSrc2,
int  nSrc2Step,
Npp32sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_32sc_C3RSfs_Ctx ( const Npp32sc pSrc1,
int  nSrc1Step,
const Npp32sc pSrc2,
int  nSrc2Step,
Npp32sc pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 32-bit signed integer complex number (32-bit real, 32-bit imaginary) channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_8u_AC4IRSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_8u_AC4IRSfs_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 8-bit unsigned char channel with unmodified alpha in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_8u_AC4RSfs ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_8u_AC4RSfs_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 8-bit unsigned char channel with unmodified alpha image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_8u_C1IRSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_8u_C1IRSfs_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 8-bit unsigned char channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_8u_C1RSfs ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_8u_C1RSfs_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

One 8-bit unsigned char channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_8u_C3IRSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_8u_C3IRSfs_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 8-bit unsigned char channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_8u_C3RSfs ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_8u_C3RSfs_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Three 8-bit unsigned char channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_8u_C4IRSfs ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_8u_C4IRSfs_Ctx ( const Npp8u pSrc,
int  nSrcStep,
Npp8u pSrcDst,
int  nSrcDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 8-bit unsigned char channel in place image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pSrcDstIn-Place Image Pointer.
nSrcDstStepIn-Place-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSub_8u_C4RSfs ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor 
)
NppStatus nppiSub_8u_C4RSfs_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
Npp8u pDst,
int  nDstStep,
NppiSize  oSizeROI,
int  nScaleFactor,
NppStreamContext  nppStreamCtx 
)

Four 8-bit unsigned char channel image subtraction, scale by 2^(-nScaleFactor), then clamp to saturated value.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
nScaleFactorInteger Result Scaling.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES