NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.3.0.*
 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pMSE Device memory pointer to the computed MSE of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pMSE Device memory pointer to the computed MSE of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROI Region-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pMSE Device memory pointer to output array of the computed MSE for nBatchSize * sizeof(Npp32f * 1 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROI Region-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.
pMSE Device memory pointer to output array of the computed MSE for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROI Region-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pMSE Device memory pointer to output array of the computed MSE for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROI Region-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.
pMSE Device memory pointer to output array of the computed MSE for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pMSSSIM Device memory pointer to the computed MS-SSIM of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pPSNR Device memory pointer to the computed PSNR of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pPSNR Device memory pointer to the computed PSNR of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROI Region-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pPSNR Device memory pointer to output array of the computed PSNR for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROI Region-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.
pPSNR Device memory pointer to output array of the computed PSNR for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROI Region-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pPSNR Device memory pointer to output array of the computed PSNR for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROI Region-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.
pPSNR Device memory pointer to output array of the computed PSNR for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pSSIM Device memory pointer to the computed SSIM of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pSSIM Device memory pointer to the computed SSIM of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROI Region-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.
pSSIM Device memory pointer to output array of the computed SSIM for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROI Region-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.
pSSIM Device memory pointer to output array of the computed SSIM for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pMSSSIM Device memory pointer to the computed MS-SSIM of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1 Source-Image Pointer.
nSrc1Step Source-Image Line Step.
pSrc2 Source-Image Pointer.
nSrc2Step Source-Image Line Step.
oSizeROI Region-of-Interest (ROI).
pMSSSIM Device memory pointer to the computed MS-SSIM of two images.
pDeviceBuffer Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROI Region-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pWMSSSIM Device memory pointer to output array of the computed WMSSSIM for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROI Region-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.
pWMSSSIM Device memory pointer to output array of the computed WMSSSIM for nBatchSize * sizeof(Npp32f) * 1 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oMaxSizeROI Region-of-Interest (ROI) maximum ROI width and height of ALL images in the batch.
pWMSSSIM Device memory pointer to output array of the computed WMSSSIM for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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
pSrc1BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
pSrc2BatchList Source-Batch-Images Pointer device memory pointer to the list of device memory image descriptors, per image oSize must be initialized.
nBatchSize Number of NppiImageDescriptor, NppiBufferDescriptor, and new max number structures/values processed in this call (must be > 1).
oSizeROI Region-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.
pWMSSSIM Device memory pointer to output array of the computed WMSSSIM for nBatchSize * sizeof(Npp32f) * 3 image pairs.
pDeviceBufferList Device 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.
nppStreamCtx Application 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.