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

Primitives for computing the image quality between two images, such as MSE, PSNR, SSIM, and MS-SSIM. More...

MSE

NppStatus nppiMSE_8u_C1R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSE, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 One-channel 8-bit unsigned image MSE. More...
 
NppStatus nppiMSE_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSE, Npp8u *pDeviceBuffer)
 
NppStatus nppiMSE_8u_C3R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSE, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 Three-channel 8-bit unsigned image MSE. More...
 
NppStatus nppiMSE_8u_C3R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSE, Npp8u *pDeviceBuffer)
 
NppStatus nppiPSNR_8u_C1R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pPSNR, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 One-channel 8-bit unsigned image PSNR. More...
 
NppStatus nppiPSNR_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pPSNR, Npp8u *pDeviceBuffer)
 
NppStatus nppiPSNR_8u_C3R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pPSNR, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 Three-channel 8-bit unsigned image PSNR. More...
 
NppStatus nppiPSNR_8u_C3R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pPSNR, Npp8u *pDeviceBuffer)
 
NppStatus nppiSSIM_8u_C1R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pSSIM, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 One-channel 8-bit unsigned image SSIM. More...
 
NppStatus nppiSSIM_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pSSIM, Npp8u *pDeviceBuffer)
 
NppStatus nppiSSIM_8u_C3R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pSSIM, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 Three-channel 8-bit unsigned image SSIM. More...
 
NppStatus nppiSSIM_8u_C3R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pSSIM, Npp8u *pDeviceBuffer)
 
NppStatus nppiMSSSIM_8u_C1R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSSSIM, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 One-channel 8-bit unsigned image MS-SSIM*. More...
 
NppStatus nppiMSSSIM_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSSSIM, Npp8u *pDeviceBuffer)
 
NppStatus nppiWMSSSIM_8u_C1R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSSSIM, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 One-channel 8-bit unsigned image MS-SSIM*. More...
 
NppStatus nppiWMSSSIM_8u_C1R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSSSIM, Npp8u *pDeviceBuffer)
 
NppStatus nppiWMSSSIM_8u_C3R_Ctx (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSSSIM, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)
 Three-channel 8-bit unsigned image MS-SSIM*. More...
 
NppStatus nppiWMSSSIM_8u_C3R (const Npp8u *pSrc1, int nSrc1Step, const Npp8u *pSrc2, int nSrc2Step, NppiSize oSizeROI, Npp32f *pMSSSIM, Npp8u *pDeviceBuffer)
 
NppStatus nppiMSEGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiMSE_8u_C1R. More...
 
NppStatus nppiMSEGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiMSEGetBufferHostSize_8u_C3R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiMSE_8u_C3R. More...
 
NppStatus nppiMSEGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiPSNRGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiPSNR_8u_C1R. More...
 
NppStatus nppiPSNRGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiPSNRGetBufferHostSize_8u_C3R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiPSNR_8u_C3R. More...
 
NppStatus nppiPSNRGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiSSIMGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiSSIM_8u_C1R. More...
 
NppStatus nppiSSIMGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiSSIMGetBufferHostSize_8u_C3R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiSSIM_8u_C3R. More...
 
NppStatus nppiSSIMGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiMSSSIMGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiMSSSIM_8u_C1R. More...
 
NppStatus nppiMSSSIMGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiWMSSSIMGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiWMSSSIM_8u_C1R. More...
 
NppStatus nppiWMSSSIMGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiWMSSSIMGetBufferHostSize_8u_C3R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for nppiWMSSSIM_8u_C3R. More...
 
NppStatus nppiWMSSSIMGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiMSEBatch_8u_C1R_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pMSE, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned MSE for a batch of image pairs for a single ROI. More...
 
NppStatus nppiMSEBatch_8u_C1R (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pMSE, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiMSEBatch_8u_C3R_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pMSE, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned MSE for a batch of image pairs for a single ROI. More...
 
NppStatus nppiMSEBatch_8u_C3R (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pMSE, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiPSNRBatch_8u_C1R_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pPSNR, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned PSNR for a batch of image pairs for a single ROI. More...
 
NppStatus nppiPSNRBatch_8u_C1R (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pPSNR, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiPSNRBatch_8u_C3R_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pPSNR, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned PSNR for a batch of image pairs for a single ROI. More...
 
NppStatus nppiPSNRBatch_8u_C3R (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pPSNR, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiSSIMBatch_8u_C1R_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pSSIM, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned SSIM for a batch of image pairs for a single ROI. More...
 
NppStatus nppiSSIMBatch_8u_C1R (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pSSIM, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiSSIMBatch_8u_C3R_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pSSIM, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned SSIM for a batch of image pairs for a single ROI. More...
 
NppStatus nppiSSIMBatch_8u_C3R (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pSSIM, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiWMSSSIMBatch_8u_C1R_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pWMSSSIM, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned WMSSSIM for a batch of image pairs for a single ROI. More...
 
NppStatus nppiWMSSSIMBatch_8u_C1R (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pWMSSSIM, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiWMSSSIMBatch_8u_C3R_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pWMSSSIM, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned WMSSSIM for a batch of image pairs for a single ROI. More...
 
NppStatus nppiWMSSSIMBatch_8u_C3R (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oSizeROI, Npp32f *pWMSSSIM, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiMSEBatchGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for a single image pair in the batch of image pairs for nppiMSEBatch_8u_C1R For common parameter descriptions, see CommonGetBufferHostSizeParameters. More...
 
NppStatus nppiMSEBatchGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiMSEBatchGetBufferHostSize_8u_C3R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for a single image pair in the batch of image pairs for nppiMSEBatch_8u_C3R For common parameter descriptions, see CommonGetBufferHostSizeParameters. More...
 
NppStatus nppiMSEBatchGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiPSNRBatchGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for a single image pair in the batch of image pairs for nppiPSNRBatch_8u_C1R. More...
 
NppStatus nppiPSNRBatchGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiPSNRBatchGetBufferHostSize_8u_C3R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for a single image pair in the batch of image pairs for nppiPSNRBatch_8u_C3R. More...
 
NppStatus nppiPSNRBatchGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiSSIMBatchGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for a single image pair in the batch of image pairs for nppiSSIMBatch_8u_C1R. More...
 
NppStatus nppiSSIMBatchGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiSSIMBatchGetBufferHostSize_8u_C3R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for a single image pair in the batch of image pairs for nppiSSIMBatch_8u_C3R. More...
 
NppStatus nppiSSIMBatchGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiWMSSSIMBatchGetBufferHostSize_8u_C1R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for a single image pair in the batch of image pairs for nppiWMSSSIMBatch_8u_C1R. More...
 
NppStatus nppiWMSSSIMBatchGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiWMSSSIMBatchGetBufferHostSize_8u_C3R_Ctx (NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)
 Buffer size for a single image pair in the batch of image pairs for nppiWMSSSIMBatch_8u_C3R. More...
 
NppStatus nppiWMSSSIMBatchGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 
NppStatus nppiMSEBatch_8u_C1R_Advanced_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pMSE, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned MSE for a batch of image pairs with per-image ROI More...
 
NppStatus nppiMSEBatch_8u_C1R_Advanced (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pMSE, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiMSEBatch_8u_C3R_Advanced_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pMSE, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned MSE for a batch of image pairs with per-image ROI More...
 
NppStatus nppiMSEBatch_8u_C3R_Advanced (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pMSE, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiPSNRBatch_8u_C1R_Advanced_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pPSNR, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned PSNR for a batch of image pairs with per-image ROI More...
 
NppStatus nppiPSNRBatch_8u_C1R_Advanced (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pPSNR, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiPSNRBatch_8u_C3R_Advanced_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pPSNR, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned PSNR for a batch of image pairs with per-image ROI More...
 
NppStatus nppiPSNRBatch_8u_C3R_Advanced (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pPSNR, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiWMSSSIMBatch_8u_C1R_Advanced_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pWMSSSIM, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 1 channel 8-bit unsigned WMSSSIM for a batch of image pairs with per-image ROI NOTE: It is the user's responsibility to make sure the dimensions of per-image ROIs are 16 pixels by 16 pixels and above. More...
 
NppStatus nppiWMSSSIMBatch_8u_C1R_Advanced (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pWMSSSIM, NppiBufferDescriptor *pDeviceBufferList)
 
NppStatus nppiWMSSSIMBatch_8u_C3R_Advanced_Ctx (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pWMSSSIM, NppiBufferDescriptor *pDeviceBufferList, NppStreamContext nppStreamCtx)
 3 channel 8-bit unsigned WMSSSIM for a batch of image pairs with per-image ROI NOTE: It is the user's responsibility to make sure the dimensions of per-image ROIs are 16 pixels by 16 pixels and above. More...
 
NppStatus nppiWMSSSIMBatch_8u_C3R_Advanced (const NppiImageDescriptor *pSrc1BatchList, const NppiImageDescriptor *pSrc2BatchList, int nBatchSize, NppiSize oMaxSizeROI, Npp32f *pWMSSSIM, NppiBufferDescriptor *pDeviceBufferList)
 

Detailed Description

Primitives for computing the image quality between two images, such as MSE, PSNR, SSIM, and MS-SSIM.

Function Documentation

NppStatus nppiMSE_8u_C1R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSE,
Npp8u pDeviceBuffer 
)
NppStatus nppiMSE_8u_C1R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSE,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 8-bit unsigned image MSE.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pMSEDevice memory pointer to the computed MSE of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiMSE_8u_C3R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSE,
Npp8u pDeviceBuffer 
)
NppStatus nppiMSE_8u_C3R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSE,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 8-bit unsigned image MSE.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pMSEDevice memory pointer to the computed MSE of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiMSEBatch_8u_C1R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiMSEBatch_8u_C1R_Advanced ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiMSEBatch_8u_C1R_Advanced_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned MSE for a batch of image pairs with per-image ROI

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROIRegion-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pMSEDevice memory pointer to output array of the computed MSE for nBatchSize * sizeof(Npp32f * 1 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiMSEBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMSEBatch_8u_C1R_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned MSE for a batch of image pairs for a single ROI.

Provided oSizeROI will be used for all images passed in pSrc1BatchList and pSrc2BatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI) ROI width and height of ALL images in the batch, MUST match the ROI used when the label markers UF image was generated.
pMSEDevice memory pointer to output array of the computed MSE for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiMSEBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMSEBatch_8u_C3R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiMSEBatch_8u_C3R_Advanced ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiMSEBatch_8u_C3R_Advanced_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned MSE for a batch of image pairs with per-image ROI

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROIRegion-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pMSEDevice memory pointer to output array of the computed MSE for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiMSEBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMSEBatch_8u_C3R_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned MSE for a batch of image pairs for a single ROI.

Provided oSizeROI will be used for all images passed in pSrc1BatchList and pSrc2BatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI) ROI width and height of ALL images in the batch, MUST match the ROI used when the label markers UF image was generated.
pMSEDevice memory pointer to output array of the computed MSE for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiMSEBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiMSEBatchGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiMSEBatchGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for a single image pair in the batch of image pairs for nppiMSEBatch_8u_C1R For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiMSEBatchGetBufferHostSize_8u_C3R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiMSEBatchGetBufferHostSize_8u_C3R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for a single image pair in the batch of image pairs for nppiMSEBatch_8u_C3R For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiMSEGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiMSEGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for nppiMSE_8u_C1R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiMSEGetBufferHostSize_8u_C3R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiMSEGetBufferHostSize_8u_C3R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for nppiMSE_8u_C3R.

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 
)
NppStatus nppiMSSSIM_8u_C1R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSSSIM,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 8-bit unsigned image MS-SSIM*.

This function will be deprecated in a future release use the nppiWMSSSIM functions instead.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pMSSSIMDevice memory pointer to the computed MS-SSIM of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiMSSSIMGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiMSSSIMGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

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 
)
NppStatus nppiPSNR_8u_C1R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pPSNR,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 8-bit unsigned image PSNR.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pPSNRDevice memory pointer to the computed PSNR of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiPSNR_8u_C3R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pPSNR,
Npp8u pDeviceBuffer 
)
NppStatus nppiPSNR_8u_C3R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pPSNR,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 8-bit unsigned image PSNR.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pPSNRDevice memory pointer to the computed PSNR of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiPSNRBatch_8u_C1R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pPSNR,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiPSNRBatch_8u_C1R_Advanced ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pPSNR,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiPSNRBatch_8u_C1R_Advanced_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pPSNR,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned PSNR for a batch of image pairs with per-image ROI

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROIRegion-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pPSNRDevice memory pointer to output array of the computed PSNR for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiPSNRBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiPSNRBatch_8u_C1R_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pPSNR,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned PSNR for a batch of image pairs for a single ROI.

Provided oSizeROI will be used for all images passed in pSrc1BatchList and pSrc2BatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI) ROI width and height of ALL images in the batch, MUST match the ROI used when the label markers UF image was generated.
pPSNRDevice memory pointer to output array of the computed PSNR for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiPSNRBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiPSNRBatch_8u_C3R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pPSNR,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiPSNRBatch_8u_C3R_Advanced ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pPSNR,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiPSNRBatch_8u_C3R_Advanced_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pPSNR,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned PSNR for a batch of image pairs with per-image ROI

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROIRegion-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pPSNRDevice memory pointer to output array of the computed PSNR for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiPSNRBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiPSNRBatch_8u_C3R_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pPSNR,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned PSNR for a batch of image pairs for a single ROI.

Provided oSizeROI will be used for all images passed in pSrc1BatchList and pSrc2BatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI) ROI width and height of ALL images in the batch, MUST match the ROI used when the label markers UF image was generated.
pPSNRDevice memory pointer to output array of the computed PSNR for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiPSNRBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiPSNRBatchGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiPSNRBatchGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for a single image pair in the batch of image pairs for nppiPSNRBatch_8u_C1R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiPSNRBatchGetBufferHostSize_8u_C3R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiPSNRBatchGetBufferHostSize_8u_C3R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for a single image pair in the batch of image pairs for nppiPSNRBatch_8u_C3R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiPSNRGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiPSNRGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for nppiPSNR_8u_C1R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiPSNRGetBufferHostSize_8u_C3R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiPSNRGetBufferHostSize_8u_C3R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for nppiPSNR_8u_C3R.

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 
)
NppStatus nppiSSIM_8u_C1R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pSSIM,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 8-bit unsigned image SSIM.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pSSIMDevice memory pointer to the computed SSIM of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiSSIM_8u_C3R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pSSIM,
Npp8u pDeviceBuffer 
)
NppStatus nppiSSIM_8u_C3R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pSSIM,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 8-bit unsigned image SSIM.

Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pSSIMDevice memory pointer to the computed SSIM of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiSSIMBatch_8u_C1R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pSSIM,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiSSIMBatch_8u_C1R_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pSSIM,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned SSIM for a batch of image pairs for a single ROI.

Provided oSizeROI will be used for all images passed in pSrc1BatchList and pSrc2BatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI) ROI width and height of ALL images in the batch, MUST match the ROI used when the label markers UF image was generated.
pSSIMDevice memory pointer to output array of the computed SSIM for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiSSIMBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSSIMBatch_8u_C3R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pSSIM,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiSSIMBatch_8u_C3R_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pSSIM,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned SSIM for a batch of image pairs for a single ROI.

Provided oSizeROI will be used for all images passed in pSrc1BatchList and pSrc2BatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI) ROI width and height of ALL images in the batch, MUST match the ROI used when the label markers UF image was generated.
pSSIMDevice memory pointer to output array of the computed SSIM for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiSSIMBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiSSIMBatchGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiSSIMBatchGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for a single image pair in the batch of image pairs for nppiSSIMBatch_8u_C1R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiSSIMBatchGetBufferHostSize_8u_C3R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiSSIMBatchGetBufferHostSize_8u_C3R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for a single image pair in the batch of image pairs for nppiSSIMBatch_8u_C3R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiSSIMGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiSSIMGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for nppiSSIM_8u_C1R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiSSIMGetBufferHostSize_8u_C3R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiSSIMGetBufferHostSize_8u_C3R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for nppiSSIM_8u_C3R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiWMSSSIM_8u_C1R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSSSIM,
Npp8u pDeviceBuffer 
)
NppStatus nppiWMSSSIM_8u_C1R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSSSIM,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

One-channel 8-bit unsigned image MS-SSIM*.

This function uses the algorithm described in the paper by Wang et. al. Wang, Z., Simoncelli, E.P., Bovik, A.C. Multiscale Structural Similarity for Image Quality Assessment. In: The Thirty-Seventh Asilomar Conference on Signals, Systems & Computers, 2003, 13981402. Pacific Grove, CA, USA: IEEE,

  1. https://doi.org/10.1109/ACSSC.2003.1292216. NOTE: this API call can only process oSizeROI dimensions 16px by 16px and above. Any oSizeROI dimensions less than 16px by 16px will result in undefined behaviour.
Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pMSSSIMDevice memory pointer to the computed MS-SSIM of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiWMSSSIM_8u_C3R ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSSSIM,
Npp8u pDeviceBuffer 
)
NppStatus nppiWMSSSIM_8u_C3R_Ctx ( const Npp8u pSrc1,
int  nSrc1Step,
const Npp8u pSrc2,
int  nSrc2Step,
NppiSize  oSizeROI,
Npp32f pMSSSIM,
Npp8u pDeviceBuffer,
NppStreamContext  nppStreamCtx 
)

Three-channel 8-bit unsigned image MS-SSIM*.

This function uses the algorithm described in the paper by Wang et. al. Wang, Z., Simoncelli, E.P., Bovik, A.C. Multiscale Structural Similarity for Image Quality Assessment. In: The Thirty-Seventh Asilomar Conference on Signals, Systems & Computers, 2003, 13981402. Pacific Grove, CA, USA: IEEE,

  1. https://doi.org/10.1109/ACSSC.2003.1292216. NOTE: this API call can only process oSizeROI dimensions 16px by 16px and above. Any oSizeROI dimensions less than 16px by 16px will result in undefined behaviour.
Parameters
pSrc1Source-Image Pointer.
nSrc1StepSource-Image Line Step.
pSrc2Source-Image Pointer.
nSrc2StepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pMSSSIMDevice memory pointer to the computed MS-SSIM of two images.
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes.
NppStatus nppiWMSSSIMBatch_8u_C1R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pWMSSSIM,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiWMSSSIMBatch_8u_C1R_Advanced ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pWMSSSIM,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiWMSSSIMBatch_8u_C1R_Advanced_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pWMSSSIM,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned WMSSSIM for a batch of image pairs with per-image ROI NOTE: It is the user's responsibility to make sure the dimensions of per-image ROIs are 16 pixels by 16 pixels and above.

Any per-image ROI dimensions less than 16 pixels by 16 pixels will result in undefined behaviour.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROIRegion-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pWMSSSIMDevice memory pointer to output array of the computed WMSSSIM for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiWMSSSIMBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiWMSSSIMBatch_8u_C1R_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pWMSSSIM,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

1 channel 8-bit unsigned WMSSSIM for a batch of image pairs for a single ROI.

Provided oSizeROI will be used for all images passed in pSrc1BatchList and pSrc2BatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images. NOTE: this API call can only process oSizeROI dimensions 16 pixels by 16 pixels and above. Any oSizeROI dimensions less than 16 pixels by 16 pixels will result in undefined behaviour.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI) ROI width and height of ALL images in the batch, MUST match the ROI used when the label markers UF image was generated.
pWMSSSIMDevice memory pointer to output array of the computed WMSSSIM for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiWMSSSIMBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiWMSSSIMBatch_8u_C3R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pWMSSSIM,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiWMSSSIMBatch_8u_C3R_Advanced ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pWMSSSIM,
NppiBufferDescriptor pDeviceBufferList 
)
NppStatus nppiWMSSSIMBatch_8u_C3R_Advanced_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oMaxSizeROI,
Npp32f pWMSSSIM,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned WMSSSIM for a batch of image pairs with per-image ROI NOTE: It is the user's responsibility to make sure the dimensions of per-image ROIs are 16 pixels by 16 pixels and above.

Any per-image ROI dimensions less than 16 pixels by 16 pixels will result in undefined behaviour.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROIRegion-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pWMSSSIMDevice memory pointer to output array of the computed WMSSSIM for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiWMSSSIMBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiWMSSSIMBatch_8u_C3R_Ctx ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pWMSSSIM,
NppiBufferDescriptor pDeviceBufferList,
NppStreamContext  nppStreamCtx 
)

3 channel 8-bit unsigned WMSSSIM for a batch of image pairs for a single ROI.

Provided oSizeROI will be used for all images passed in pSrc1BatchList and pSrc2BatchList arguments. API user must ensure that provided ROI (oSizeROI) does not go beyond the borders of any of provided images. NOTE: this API call can only process ROI dimensions 16 pixels by 16 pixels and above. Any ROI dimensions less than 16 pixels by 16 pixels will result in undefined behaviour.

Parameters
pSrc1BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchListSource-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSizeNumber of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROIRegion-of-Interest (ROI) ROI width and height of ALL images in the batch, MUST match the ROI used when the label markers UF image was generated.
pWMSSSIMDevice memory pointer to output array of the computed WMSSSIM for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferListDevice memory pointer to the list of NppiBufferDescriptor buffer descriptors specifying per image device memory buffer pointers and size as returned by at least one nppiWMSSSIMBatchGetBufferHostSize call.
nppStreamCtxApplication Managed Stream Context.
Returns
Image Data Related Error Codes, ROI Related Error Codes
NppStatus nppiWMSSSIMBatchGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiWMSSSIMBatchGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for a single image pair in the batch of image pairs for nppiWMSSSIMBatch_8u_C1R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiWMSSSIMBatchGetBufferHostSize_8u_C3R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiWMSSSIMBatchGetBufferHostSize_8u_C3R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for a single image pair in the batch of image pairs for nppiWMSSSIMBatch_8u_C3R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiWMSSSIMGetBufferHostSize_8u_C1R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiWMSSSIMGetBufferHostSize_8u_C1R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for nppiWMSSSIM_8u_C1R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.

NppStatus nppiWMSSSIMGetBufferHostSize_8u_C3R ( NppiSize  oSizeROI,
int *  hpBufferSize 
)
NppStatus nppiWMSSSIMGetBufferHostSize_8u_C3R_Ctx ( NppiSize  oSizeROI,
int *  hpBufferSize,
NppStreamContext  nppStreamCtx 
)

Buffer size for nppiWMSSSIM_8u_C3R.

For common parameter descriptions, see CommonGetBufferHostSizeParameters.


Copyright © 2009-2022 NVIDIA CORPORATION AND AFFILIATES