Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.QualityIndex

    Primitives for computing the image quality index of two images.

    Inheritance
    System.Object
    NPPNativeMethods.NPPi.QualityIndex
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda.NPP
    Assembly: NPP.dll
    Syntax
    public static class QualityIndex

    Methods

    nppiQualityIndex_16u32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    Four-channel 16-bit unsigned image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_16u32f_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndex_16u32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    One-channel 16-bit unsigned image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_16u32f_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndex_16u32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    Three-channel 16-bit unsigned image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_16u32f_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndex_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    Four-channel 32-bit floating point image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_32f_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndex_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    One-channel 32-bit floating point image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_32f_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndex_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    Three-channel 32-bit floating point image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_32f_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndex_8u32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    Four-channel 8-bit unsigned image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_8u32f_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndex_8u32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    One-channel 8-bit unsigned image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_8u32f_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndex_8u32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    Three-channel 8-bit unsigned image QualityIndex.

    Declaration
    public static NppStatus nppiQualityIndex_8u32f_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, NppiSize oRoiSize, CUdeviceptr pDst, 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 oRoiSize

    Region-of-Interest (ROI).

    CUdeviceptr pDst

    Pointer to the quality index.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_QUALITY_INDEX_ERROR if pixels of either image are constant numberse.

    nppiQualityIndexGetBufferHostSize_16u32f_AC4R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_16u32f_AC4R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_16u32f_AC4R(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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    nppiQualityIndexGetBufferHostSize_16u32f_C1R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_16u32f_C1R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_16u32f_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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    nppiQualityIndexGetBufferHostSize_16u32f_C3R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_16u32f_C3R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_16u32f_C3R(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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    nppiQualityIndexGetBufferHostSize_32f_AC4R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_32f_AC4R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_32f_AC4R(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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    nppiQualityIndexGetBufferHostSize_32f_C1R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_32f_C1R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_32f_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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    nppiQualityIndexGetBufferHostSize_32f_C3R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_32f_C3R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_32f_C3R(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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    nppiQualityIndexGetBufferHostSize_8u32f_AC4R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_8u32f_AC4R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_8u32f_AC4R(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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    nppiQualityIndexGetBufferHostSize_8u32f_C1R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_8u32f_C1R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_8u32f_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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    nppiQualityIndexGetBufferHostSize_8u32f_C3R(NppiSize, ref Int32)

    Buffer size (in bytes) for \ref nppiQualityIndex_8u32f_C3R.

    Declaration
    public static NppStatus nppiQualityIndexGetBufferHostSize_8u32f_C3R(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

    NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), StepError, SizeError.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX