Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.ErosionWithBorderControl

    Erosion computes the output pixel as the minimum pixel value of the pixels under the mask. Pixels who's corresponding mask values are zero do not participate in the minimum search.

    If any portion of the mask overlaps the source image boundary the requested border type operation is applied to all mask pixels which fall outside of the source image.

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

    Methods

    nppiErodeBorder_16u_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Four-channel 16-bit unsigned integer erosion with border control, ignoring alpha-channel.

    Declaration
    public static NppStatus nppiErodeBorder_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_16u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Single-channel 16-bit unsigned integer erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_16u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Three-channel 16-bit unsigned integer erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_16u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Four-channel 16-bit unsigned integer erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_32f_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Four-channel 32-bit floating-point erosion with border control, ignoring alpha-channel.

    Declaration
    public static NppStatus nppiErodeBorder_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Single-channel 32-bit floating-point erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Three-channel 32-bit floating-point erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Four-channel 32-bit floating-point erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_8u_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Four-channel 8-bit unsigned integer erosion with border control, ignoring alpha-channel.

    Declaration
    public static NppStatus nppiErodeBorder_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Single-channel 8-bit unsigned integer erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Three-channel 8-bit unsigned integer erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiErodeBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Four-channel 8-bit unsigned integer erosion with border control.

    Declaration
    public static NppStatus nppiErodeBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiGrayErodeBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Single-channel 32-bit floating point gray scale erosion with border control.

    Declaration
    public static NppStatus nppiGrayErodeBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus

    nppiGrayErodeBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, CUdeviceptr, NppiSize, NppiPoint, NppiBorderType)

    Single-channel 8-bit unsigned integer gray scale erosion with border control.

    Declaration
    public static NppStatus nppiGrayErodeBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pMask, NppiSize oMaskSize, NppiPoint oAnchor, NppiBorderType eBorderType)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSrcSize

    Source image width and height in pixels relative to pSrc.

    NppiPoint oSrcOffset

    Source image starting point relative to pSrc.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMask

    Pointer to the start address of the mask array

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference

    NppiBorderType eBorderType

    The border type operation to be applied at source image border boundaries.

    Returns
    Type Description
    NppStatus
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX