Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.DilationWithBorderControl

    Dilation with border control. Dilation computes the output pixel as the maximum pixel value of the pixels under the mask. Pixels who's corresponding mask values are zero do not participate in the maximum 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.DilationWithBorderControl
    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 DilationWithBorderControl

    Methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Declaration
    public static NppStatus nppiGrayDilateBorder_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 in device memory.

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

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

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

    Declaration
    public static NppStatus nppiGrayDilateBorder_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 in device memory.

    NppiSize oMaskSize

    Width and Height mask array.

    NppiPoint oAnchor

    X and Y offsets of the mask origin frame of reference w.r.t the source pixel.

    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