Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.Compare

    Compare the pixels of two images and create a binary result image. In case of multi-channel image types, the condition must be fulfilled for all channels, otherwise the comparison is considered false.

    The "binary" result image is of type 8u_C1. False is represented by 0, true by NPP_MAX_8U.

    Inheritance
    System.Object
    NPPNativeMethods.NPPi.Compare
    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 Compare

    Methods

    nppiCompare_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 16-bit signed short image compare, not affecting Alpha. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_16s_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    1 channel 16-bit signed short image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_16s_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    3 channel 16-bit signed short image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_16s_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 16-bit signed short image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_16s_C4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 16-bit unsigned short image compare, not affecting Alpha. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_16u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    1 channel 16-bit unsigned short image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_16u_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    3 channel 16-bit unsigned short image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_16u_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 16-bit unsigned short image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_16u_C4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 32-bit signed floating point compare, not affecting Alpha. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_32f_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    32-bit floating point image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_32f_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    3 channel 32-bit floating point image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_32f_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 32-bit floating point image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_32f_C4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 8-bit unsigned image compare, not affecting Alpha. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_8u_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    1 channel 8-bit unsigned char image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_8u_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    3 channel 8-bit unsigned char image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_8u_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompare_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 8-bit unsigned image compare. Compare pSrc1's pixels with corresponding pixels in pSrc2.

    Declaration
    public static NppStatus nppiCompare_8u_C4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_16s_AC4R(CUdeviceptr, Int32, Int16[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 16-bit signed short image compare, not affecting Alpha. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, short[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Int16[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_16s_C1R(CUdeviceptr, Int32, Int16, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    1 channel 16-bit signed short image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_16s_C1R(CUdeviceptr pSrc, int nSrcStep, short nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Int16 nConstant

    constant value.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_16s_C3R(CUdeviceptr, Int32, Int16[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    3 channel 16-bit signed short image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_16s_C3R(CUdeviceptr pSrc, int nSrcStep, short[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Int16[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_16s_C4R(CUdeviceptr, Int32, Int16[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 16-bit signed short image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_16s_C4R(CUdeviceptr pSrc, int nSrcStep, short[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Int16[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_16u_AC4R(CUdeviceptr, Int32, UInt16[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 16-bit unsigned short image compare, not affecting Alpha. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, ushort[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.UInt16[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_16u_C1R(CUdeviceptr, Int32, UInt16, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    1 channel 16-bit unsigned short image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_16u_C1R(CUdeviceptr pSrc, int nSrcStep, ushort nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.UInt16 nConstant

    constant value

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_16u_C3R(CUdeviceptr, Int32, UInt16[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    3 channel 16-bit unsigned short image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_16u_C3R(CUdeviceptr pSrc, int nSrcStep, ushort[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.UInt16[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_16u_C4R(CUdeviceptr, Int32, UInt16[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 16-bit unsigned short image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_16u_C4R(CUdeviceptr pSrc, int nSrcStep, ushort[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.UInt16[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_32f_AC4R(CUdeviceptr, Int32, Single[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 32-bit signed floating point compare, not affecting Alpha. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, float[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Single[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_32f_C1R(CUdeviceptr, Int32, Single, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    1 channel 32-bit floating point image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_32f_C1R(CUdeviceptr pSrc, int nSrcStep, float nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Single nConstant

    constant value

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_32f_C3R(CUdeviceptr, Int32, Single[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    3 channel 32-bit floating point image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_32f_C3R(CUdeviceptr pSrc, int nSrcStep, float[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Single[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_32f_C4R(CUdeviceptr, Int32, Single[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 32-bit floating point image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_32f_C4R(CUdeviceptr pSrc, int nSrcStep, float[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Single[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_8u_AC4R(CUdeviceptr, Int32, Byte[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 8-bit unsigned char image compare, not affecting Alpha. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, byte[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Byte[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_8u_C1R(CUdeviceptr, Int32, Byte, CUdeviceptr, Int32, NppiSize, NppCmpOp)

    1 channel 8-bit unsigned char image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_8u_C1R(CUdeviceptr pSrc, int nSrcStep, byte nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Byte nConstant

    constant value.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_8u_C3R(CUdeviceptr, Int32, Byte[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    3 channel 8-bit unsigned char image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_8u_C3R(CUdeviceptr pSrc, int nSrcStep, byte[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Byte[] aConstants

    pointer to a list of constant values, one per color channel..

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareC_8u_C4R(CUdeviceptr, Int32, Byte[], CUdeviceptr, Int32, NppiSize, NppCmpOp)

    4 channel 8-bit unsigned char image compare with constant value. Compare pSrc's pixels with constant value.

    Declaration
    public static NppStatus nppiCompareC_8u_C4R(CUdeviceptr pSrc, int nSrcStep, byte[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppCmpOp eComparisonOperation)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Byte[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppCmpOp eComparisonOperation

    Specifies the comparison operation to be used in the pixel comparison.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareEqualEps_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single)

    4 channel 32-bit signed floating point compare whether two images are equal within epsilon, not affecting Alpha. Compare pSrc1's pixels with corresponding pixels in pSrc2 to determine whether they are equal with a difference of epsilon.

    Declaration
    public static NppStatus nppiCompareEqualEps_32f_AC4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nEpsilon)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Single nEpsilon

    epsilon tolerance value to compare to per color channel pixel absolute differences

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareEqualEps_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single)

    1 channel 32-bit floating point image compare whether two images are equal within epsilon. Compare pSrc1's pixels with corresponding pixels in pSrc2 to determine whether they are equal with a difference of epsilon.

    Declaration
    public static NppStatus nppiCompareEqualEps_32f_C1R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nEpsilon)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Single nEpsilon

    epsilon tolerance value to compare to pixel absolute differences

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareEqualEps_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single)

    3 channel 32-bit floating point image compare whether two images are equal within epsilon. Compare pSrc1's pixels with corresponding pixels in pSrc2 to determine whether they are equal with a difference of epsilon.

    Declaration
    public static NppStatus nppiCompareEqualEps_32f_C3R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nEpsilon)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Single nEpsilon

    epsilon tolerance value to compare to per color channel pixel absolute differences

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareEqualEps_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single)

    4 channel 32-bit floating point image compare whether two images are equal within epsilon. Compare pSrc1's pixels with corresponding pixels in pSrc2 to determine whether they are equal with a difference of epsilon.

    Declaration
    public static NppStatus nppiCompareEqualEps_32f_C4R(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nEpsilon)
    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.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Single nEpsilon

    epsilon tolerance value to compare to per color channel pixel absolute differences

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareEqualEpsC_32f_AC4R(CUdeviceptr, Int32, Single[], CUdeviceptr, Int32, NppiSize, Single)

    4 channel 32-bit signed floating point compare whether image and constant are equal within epsilon, not affecting Alpha. Compare pSrc's pixels with constant value to determine whether they are equal within a difference of epsilon.

    Declaration
    public static NppStatus nppiCompareEqualEpsC_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, float[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nEpsilon)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Single[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Single nEpsilon

    epsilon tolerance value to compare to per color channel pixel absolute differences

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareEqualEpsC_32f_C1R(CUdeviceptr, Int32, Single, CUdeviceptr, Int32, NppiSize, Single)

    1 channel 32-bit floating point image compare whether image and constant are equal within epsilon. Compare pSrc's pixels with constant value to determine whether they are equal within a difference of epsilon.

    Declaration
    public static NppStatus nppiCompareEqualEpsC_32f_C1R(CUdeviceptr pSrc, int nSrcStep, float nConstant, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nEpsilon)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Single nConstant

    constant value

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Single nEpsilon

    epsilon tolerance value to compare to pixel absolute differences

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareEqualEpsC_32f_C3R(CUdeviceptr, Int32, Single[], CUdeviceptr, Int32, NppiSize, Single)

    3 channel 32-bit floating point image compare whether image and constant are equal within epsilon. Compare pSrc's pixels with constant value to determine whether they are equal within a difference of epsilon.

    Declaration
    public static NppStatus nppiCompareEqualEpsC_32f_C3R(CUdeviceptr pSrc, int nSrcStep, float[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nEpsilon)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Single[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Single nEpsilon

    epsilon tolerance value to compare to per color channel pixel absolute differences

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiCompareEqualEpsC_32f_C4R(CUdeviceptr, Int32, Single[], CUdeviceptr, Int32, NppiSize, Single)

    4 channel 32-bit floating point image compare whether image and constant are equal within epsilon. Compare pSrc's pixels with constant value to determine whether they are equal within a difference of epsilon.

    Declaration
    public static NppStatus nppiCompareEqualEpsC_32f_C4R(CUdeviceptr pSrc, int nSrcStep, float[] aConstants, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, float nEpsilon)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    System.Single[] aConstants

    pointer to a list of constants, one per color channel.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Single nEpsilon

    epsilon tolerance value to compare to per color channel pixel absolute differences

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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