NVIDIA Performance Primitives (NPP)
Version 9.2
|
Determines absolute difference between each pixel of an image and a constant value. More...
Functions | |
NppStatus | nppiAbsDiffC_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, Npp8u *pDst, int nDstStep, NppiSize oSizeROI, Npp8u nConstant) |
One 8-bit unsigned char channel image absolute difference with constant. More... |
|
NppStatus | nppiAbsDiffC_16u_C1R (const Npp16u *pSrc1, int nSrc1Step, Npp16u *pDst, int nDstStep, NppiSize oSizeROI, Npp16u nConstant) |
One 16-bit unsigned short channel image absolute difference with constant. More... |
|
NppStatus | nppiAbsDiffC_32f_C1R (const Npp32f *pSrc1, int nSrc1Step, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, Npp32f nConstant) |
One 32-bit floating point channel image absolute difference with constant. More... |
|
Determines absolute difference between each pixel of an image and a constant value.
NppStatus nppiAbsDiffC_16u_C1R | ( | const Npp16u * | pSrc1, |
int | nSrc1Step, | ||
Npp16u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
Npp16u | nConstant | ||
) |
One 16-bit unsigned short channel image absolute difference with constant.
pSrc1 | Source-Image Pointer. |
nSrc1Step | Source-Image Line Step. |
nConstant | Constant. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
NppStatus nppiAbsDiffC_32f_C1R | ( | const Npp32f * | pSrc1, |
int | nSrc1Step, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
Npp32f | nConstant | ||
) |
One 32-bit floating point channel image absolute difference with constant.
pSrc1 | Source-Image Pointer. |
nSrc1Step | Source-Image Line Step. |
nConstant | Constant. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
NppStatus nppiAbsDiffC_8u_C1R | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
Npp8u * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI, | ||
Npp8u | nConstant | ||
) |
One 8-bit unsigned char channel image absolute difference with constant.
pSrc1 | Source-Image Pointer. |
nSrc1Step | Source-Image Line Step. |
nConstant | Constant. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |