Class NPPNativeMethods.NPPi.IQA
Primitives for computing the image quality between two images, such as MSE, PSNR, SSIM, and MS-SSIM.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class IQA
Methods
nppiMSE_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
One-channel 8-bit unsigned image MSE.
Declaration
public static NppStatus nppiMSE_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oSizeROI, CUdeviceptr pMSE, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pMSE | Pointer to the computed MSE of two images. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMSEGetBufferHostSize_8u_C1R(NppiSize, ref Int32)
Buffer size for \ref nppiMSE_8u_C1R.
Declaration
public static NppStatus nppiMSEGetBufferHostSize_8u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus |
nppiMSSSIM_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
One-channel 8-bit unsigned image MS-SSIM*.
Declaration
public static NppStatus nppiMSSSIM_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oSizeROI, CUdeviceptr pMSSSIM, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pMSSSIM | Pointer to the computed MS-SSIM of two images. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppiMSSSIMGetBufferHostSize_8u_C1R(NppiSize, ref Int32)
Buffer size for \ref nppiMSSSIM_8u_C1R.
Declaration
public static NppStatus nppiMSSSIMGetBufferHostSize_8u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus |
nppiPSNR_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
One-channel 8-bit unsigned image PSNR.
Declaration
public static NppStatus nppiPSNR_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oSizeROI, CUdeviceptr pPSNR, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pPSNR | Pointer to the computed PSNR of two images. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppiPSNRGetBufferHostSize_8u_C1R(NppiSize, ref Int32)
Buffer size for \ref nppiPSNR_8u_C1R.
Declaration
public static NppStatus nppiPSNRGetBufferHostSize_8u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus |
nppiSSIM_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)
One-channel 8-bit unsigned image SSIM.
Declaration
public static NppStatus nppiSSIM_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oSizeROI, CUdeviceptr pSSIM, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc1 | Source-Image Pointer. |
System.Int32 | nSrc1Step | Source-Image Line Step. |
CUdeviceptr | pSrc2 | Source-Image Pointer. |
System.Int32 | nSrc2Step | Source-Image Line Step. |
NppiSize | oSizeROI | Region-of-Interest (ROI). |
CUdeviceptr | pSSIM | Pointer to the computed SSIM of two images. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. |
Returns
Type | Description |
---|---|
NppStatus |
nppiSSIMGetBufferHostSize_8u_C1R(NppiSize, ref Int32)
Buffer size for \ref nppiSSIM_8u_C1R.
Declaration
public static NppStatus nppiSSIMGetBufferHostSize_8u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
Parameters
Type | Name | Description |
---|---|---|
NppiSize | oSizeROI | Region-of-Interest (ROI). |
System.Int32 | hpBufferSize | Required buffer size. Important: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus |