Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.Integral

    Primitives for computing the integral image of a given image.

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

    Methods

    nppiIntegral_8u32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single)

    One-channel 8-bit unsigned image Integral with 32-bit floating point output.

    Declaration
    public static NppStatus nppiIntegral_8u32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, float nVal)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oROI

    Region-of-Interest (ROI).

    System.Single nVal

    The value to add to pDst image pixels

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError.

    nppiIntegral_8u32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32)

    One-channel 8-bit unsigned image Integral with 32-bit signed output.

    Declaration
    public static NppStatus nppiIntegral_8u32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oROI, int nVal)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oROI

    Region-of-Interest (ROI).

    System.Int32 nVal

    The value to add to pDst image pixels

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError.

    nppiRectStdDev_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiRect)

    One-channel 32-bit floating point image RectStdDev.

    Declaration
    public static NppStatus nppiRectStdDev_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSqr, int nSqrStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pSqr

    Destination-Image Pointer.

    System.Int32 nSqrStep

    Destination-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiRect oRect

    rectangular window

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiRectStdDev_32s_C1RSfs(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiRect, Int32)

    One-channel 32-bit signed image RectStdDev, scaled by \f$2^(-nScaleFactor)\f$.

    Declaration
    public static NppStatus nppiRectStdDev_32s_C1RSfs(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSqr, int nSqrStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect, int nScaleFactor)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pSqr

    Destination-Image Pointer.

    System.Int32 nSqrStep

    Destination-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiRect oRect

    rectangular window

    System.Int32 nScaleFactor

    Integer Result Scaling.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiRectStdDev_32s32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiRect)

    One-channel 32-bit signed image RectStdDev.

    Declaration
    public static NppStatus nppiRectStdDev_32s32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pSqr, int nSqrStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiRect oRect)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pSqr

    Destination-Image Pointer.

    System.Int32 nSqrStep

    Destination-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiRect oRect

    rectangular window

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqrIntegral_8u32f64f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Single, Double)

    One-channel 8-bit unsigned image SqrIntegral. Destination integral image is 32-bit floating point. Destination square integral image is 64-bit double floating point.

    Declaration
    public static NppStatus nppiSqrIntegral_8u32f64f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, CUdeviceptr pSqr, int nSqrStep, NppiSize oSrcROI, float nVal, double nValSqr)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    CUdeviceptr pSqr

    Destination-Image Pointer.

    System.Int32 nSqrStep

    Destination-Image Line Step.

    NppiSize oSrcROI

    Region-of-Interest (ROI).

    System.Single nVal

    The value to add to pDst image pixels

    System.Double nValSqr

    The value to add to pSqr image pixels

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqrIntegral_8u32s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, Int32)

    One-channel 8-bit unsigned image SqrIntegral. Destination integral image and square integral image are 32-bit signed int.

    Declaration
    public static NppStatus nppiSqrIntegral_8u32s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, CUdeviceptr pSqr, int nSqrStep, NppiSize oSrcROI, int nVal, int nValSqr)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    CUdeviceptr pSqr

    Destination-Image Pointer.

    System.Int32 nSqrStep

    Destination-Image Line Step.

    NppiSize oSrcROI

    Region-of-Interest (ROI).

    System.Int32 nVal

    The value to add to pDst image pixels

    System.Int32 nValSqr

    The value to add to pSqr image pixels

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiSqrIntegral_8u32s64f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, Double)

    One-channel 8-bit unsigned image SqrIntegral. Destination integral image is 32-bit signed int. Destination square integral image is 64-bit double floating point.

    Declaration
    public static NppStatus nppiSqrIntegral_8u32s64f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, CUdeviceptr pSqr, int nSqrStep, NppiSize oSrcROI, int nVal, double nValSqr)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    CUdeviceptr pSqr

    Destination-Image Pointer.

    System.Int32 nSqrStep

    Destination-Image Line Step.

    NppiSize oSrcROI

    Region-of-Interest (ROI).

    System.Int32 nVal

    The value to add to pDst image pixels

    System.Double nValSqr

    The value to add to pSqr image pixels

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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