NVIDIA 2D Image And Signal Performance Primitives (NPP)
Version 11.1.0.*
|
Primitives for computing the image quality index of two images. More...
QualityIndex | |||||||||||||||||
Given two images and (both ), the mathematical formula to calculate the image quality index between them is expressed as:
where
The functions require additional scratch buffer for computations. Common parameters for nppiQualityIndex functions include:
| |||||||||||||||||
NppStatus | nppiQualityIndex_8u32f_C1R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
One-channel 8-bit unsigned image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_8u32f_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
NppStatus | nppiQualityIndex_16u32f_C1R_Ctx (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
One-channel 16-bit unsigned image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_16u32f_C1R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
NppStatus | nppiQualityIndex_32f_C1R_Ctx (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
One-channel 32-bit floating point image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_32f_C1R (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
NppStatus | nppiQualityIndex_8u32f_C3R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
Three-channel 8-bit unsigned image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_8u32f_C3R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
NppStatus | nppiQualityIndex_16u32f_C3R_Ctx (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
Three-channel 16-bit unsigned image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_16u32f_C3R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
NppStatus | nppiQualityIndex_32f_C3R_Ctx (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
Three-channel 32-bit floating point image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_32f_C3R (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
NppStatus | nppiQualityIndex_8u32f_AC4R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
Four-channel 8-bit unsigned image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_8u32f_AC4R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
NppStatus | nppiQualityIndex_16u32f_AC4R_Ctx (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
Four-channel 16-bit unsigned image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_16u32f_AC4R (const Npp16u *pSrc1, int nSrc1Step, const Npp16u *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
NppStatus | nppiQualityIndex_32f_AC4R_Ctx (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx) | ||||||||||||||||
Four-channel 32-bit floating point image QualityIndex. More... |
|||||||||||||||||
NppStatus | nppiQualityIndex_32f_AC4R (const Npp32f *pSrc1, int nSrc1Step, const Npp32f *pSrc2, int nSrc2Step, NppiSize oRoiSize, Npp32f *pDst, Npp8u *pDeviceBuffer) | ||||||||||||||||
Primitives for computing the image quality index of two images.
NppStatus nppiQualityIndex_16u32f_AC4R | ( | const Npp16u * | pSrc1, |
int | nSrc1Step, | ||
const Npp16u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_16u32f_AC4R_Ctx | ( | const Npp16u * | pSrc1, |
int | nSrc1Step, | ||
const Npp16u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
Four-channel 16-bit unsigned image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndex_16u32f_C1R | ( | const Npp16u * | pSrc1, |
int | nSrc1Step, | ||
const Npp16u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_16u32f_C1R_Ctx | ( | const Npp16u * | pSrc1, |
int | nSrc1Step, | ||
const Npp16u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
One-channel 16-bit unsigned image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndex_16u32f_C3R | ( | const Npp16u * | pSrc1, |
int | nSrc1Step, | ||
const Npp16u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_16u32f_C3R_Ctx | ( | const Npp16u * | pSrc1, |
int | nSrc1Step, | ||
const Npp16u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
Three-channel 16-bit unsigned image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndex_32f_AC4R | ( | const Npp32f * | pSrc1, |
int | nSrc1Step, | ||
const Npp32f * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_32f_AC4R_Ctx | ( | const Npp32f * | pSrc1, |
int | nSrc1Step, | ||
const Npp32f * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
Four-channel 32-bit floating point image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndex_32f_C1R | ( | const Npp32f * | pSrc1, |
int | nSrc1Step, | ||
const Npp32f * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_32f_C1R_Ctx | ( | const Npp32f * | pSrc1, |
int | nSrc1Step, | ||
const Npp32f * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
One-channel 32-bit floating point image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndex_32f_C3R | ( | const Npp32f * | pSrc1, |
int | nSrc1Step, | ||
const Npp32f * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_32f_C3R_Ctx | ( | const Npp32f * | pSrc1, |
int | nSrc1Step, | ||
const Npp32f * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
Three-channel 32-bit floating point image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndex_8u32f_AC4R | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_8u32f_AC4R_Ctx | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
Four-channel 8-bit unsigned image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndex_8u32f_C1R | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_8u32f_C1R_Ctx | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
One-channel 8-bit unsigned image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndex_8u32f_C3R | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer | ||
) |
NppStatus nppiQualityIndex_8u32f_C3R_Ctx | ( | const Npp8u * | pSrc1, |
int | nSrc1Step, | ||
const Npp8u * | pSrc2, | ||
int | nSrc2Step, | ||
NppiSize | oRoiSize, | ||
Npp32f * | pDst, | ||
Npp8u * | pDeviceBuffer, | ||
NppStreamContext | nppStreamCtx | ||
) |
Three-channel 8-bit unsigned image QualityIndex.
For common parameter descriptions, see Common parameters for nppiQualityIndex functions.
NppStatus nppiQualityIndexGetBufferHostSize_16u32f_AC4R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_16u32f_AC4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiQualityIndexGetBufferHostSize_16u32f_C1R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_16u32f_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiQualityIndexGetBufferHostSize_16u32f_C3R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_16u32f_C3R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiQualityIndexGetBufferHostSize_32f_AC4R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_32f_AC4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiQualityIndexGetBufferHostSize_32f_C1R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_32f_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiQualityIndexGetBufferHostSize_32f_C3R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_32f_C3R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiQualityIndexGetBufferHostSize_8u32f_AC4R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_8u32f_AC4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiQualityIndexGetBufferHostSize_8u32f_C1R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_8u32f_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
NppStatus nppiQualityIndexGetBufferHostSize_8u32f_C3R_Ctx | ( | NppiSize | oSizeROI, |
int * | hpBufferSize, | ||
NppStreamContext | nppStreamCtx | ||
) |
Buffer size (in bytes) for nppiQualityIndex_8u32f_C3R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.