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