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

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

MSE

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)
 

Detailed Description

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

Function Documentation

NppStatus nppiMSEBatch_8u_C1R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pMSE,
NppiBufferDescriptor pDeviceBufferList 
)
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_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 nppiPSNRBatch_8u_C1R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pPSNR,
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.

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_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 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 nppiWMSSSIMBatch_8u_C1R ( const NppiImageDescriptor pSrc1BatchList,
const NppiImageDescriptor pSrc2BatchList,
int  nBatchSize,
NppiSize  oSizeROI,
Npp32f pWMSSSIM,
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.

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


Copyright © 2009-2021 NVIDIA CORPORATION AND AFFILIATES