NVIDIA Performance Primitives (NPP)
Version 9.2
|
Primitives for computing the image quality between two images, such as MSE, PSNR, SSIM, and MS-SSIM. More...
MSE | |
NppStatus | nppiMSE_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSE, Npp8u *pDeviceBuffer) |
One-channel 8-bit unsigned image MSE. More... |
|
NppStatus | nppiPSNR_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pPSNR, Npp8u *pDeviceBuffer) |
One-channel 8-bit unsigned image PSNR. More... |
|
NppStatus | nppiSSIM_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pSSIM, Npp8u *pDeviceBuffer) |
One-channel 8-bit unsigned image SSIM. More... |
|
NppStatus | nppiMSSSIM_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSSSIM, Npp8u *pDeviceBuffer) |
One-channel 8-bit unsigned image MS-SSIM*. More... |
|
NppStatus | nppiMSEGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize) |
Buffer size for nppiMSE_8u_C1R. More... |
|
NppStatus | nppiPSNRGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize) |
Buffer size for nppiPSNR_8u_C1R. More... |
|
NppStatus | nppiSSIMGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize) |
Buffer size for nppiSSIM_8u_C1R. More... |
|
NppStatus | nppiMSSSIMGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize) |
Buffer size for nppiMSSSIM_8u_C1R. More... |
|
Primitives for computing the image quality between two images, such as MSE, PSNR, SSIM, and MS-SSIM.
NppStatus nppiMSE_8u_C1R | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oSizeROI, | ||
Npp32f * | pMSE, | ||
Npp8u * | pDeviceBuffer | ||
) |
One-channel 8-bit unsigned image MSE.
pSrc1 | Source-Image Pointer. |
nSrc1Step | Source-Image Line Step. |
pSrc2 | Source-Image Pointer. |
nSrc2Step | Source-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
pMSE | Pointer to the computed MSE of two images. |
pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Buffer size for nppiMSE_8u_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiMSSSIM_8u_C1R | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oSizeROI, | ||
Npp32f * | pMSSSIM, | ||
Npp8u * | pDeviceBuffer | ||
) |
One-channel 8-bit unsigned image MS-SSIM*.
pSrc1 | Source-Image Pointer. |
nSrc1Step | Source-Image Line Step. |
pSrc2 | Source-Image Pointer. |
nSrc2Step | Source-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
pMSSSIM | Pointer to the computed MS-SSIM of two images. |
pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Buffer size for nppiMSSSIM_8u_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiPSNR_8u_C1R | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oSizeROI, | ||
Npp32f * | pPSNR, | ||
Npp8u * | pDeviceBuffer | ||
) |
One-channel 8-bit unsigned image PSNR.
pSrc1 | Source-Image Pointer. |
nSrc1Step | Source-Image Line Step. |
pSrc2 | Source-Image Pointer. |
nSrc2Step | Source-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
pPSNR | Pointer to the computed PSNR of two images. |
pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Buffer size for nppiPSNR_8u_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiSSIM_8u_C1R | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oSizeROI, | ||
Npp32f * | pSSIM, | ||
Npp8u * | pDeviceBuffer | ||
) |
One-channel 8-bit unsigned image SSIM.
pSrc1 | Source-Image Pointer. |
nSrc1Step | Source-Image Line Step. |
pSrc2 | Source-Image Pointer. |
nSrc2Step | Source-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
pSSIM | Pointer to the computed SSIM of two images. |
pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Buffer size for nppiSSIM_8u_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.