Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.AddProduct

    Pixel by pixel addition of product of pixels from two source images to floating point pixel values of destination image.

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

    Methods

    nppiAddProduct_16u32f_C1IMR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 16-bit unsigned short channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

    Declaration
    public static NppStatus nppiAddProduct_16u32f_C1IMR(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pMask, int nMaskStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    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 pMask

    Mask-Image Pointer.

    System.Int32 nMaskStep

    Mask-Image Line Step.

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAddProduct_16u32f_C1IR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 16-bit unsigned short channel image product added to in place floating point destination image.

    Declaration
    public static NppStatus nppiAddProduct_16u32f_C1IR(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    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 pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAddProduct_32f_C1IMR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 32-bit floating point channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

    Declaration
    public static NppStatus nppiAddProduct_32f_C1IMR(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pMask, int nMaskStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    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 pMask

    Mask-Image Pointer.

    System.Int32 nMaskStep

    Mask-Image Line Step.

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAddProduct_32f_C1IR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 32-bit floating point channel image product added to in place floating point destination image.

    Declaration
    public static NppStatus nppiAddProduct_32f_C1IR(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    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 pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAddProduct_8u32f_C1IMR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 8-bit unsigned char channel image product added to in place floating point destination image using filter mask (updates destination when mask is non-zero).

    Declaration
    public static NppStatus nppiAddProduct_8u32f_C1IMR(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pMask, int nMaskStep, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    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 pMask

    Mask-Image Pointer.

    System.Int32 nMaskStep

    Mask-Image Line Step.

    CUdeviceptr pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiAddProduct_8u32f_C1IR(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize)

    One 8-bit unsigned char channel image product added to in place floating point destination image.

    Declaration
    public static NppStatus nppiAddProduct_8u32f_C1IR(CUdeviceptr pSrc1, int nSrc1Step, CUdeviceptr pSrc2, int nSrc2Step, CUdeviceptr pSrcDst, int nSrcDstStep, NppiSize oSizeROI)
    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 pSrcDst

    In-Place Image Pointer.

    System.Int32 nSrcDstStep

    In-Place Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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