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

Primitives for computing the image quality for a batch of image pairs, such as MSE, PSNR, SSIM, and MS-SSIM with per-image Region-of-Interest (ROI). More...

MSE

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 for a batch of image pairs, such as MSE, PSNR, SSIM, and MS-SSIM with per-image Region-of-Interest (ROI).

Function Documentation

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_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 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_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 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_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

Copyright © 2009-2020 NVIDIA Corporation