Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.FilterBorder

    General purpose 2D convolution filter with border control.

    Pixels under the mask are multiplied by the respective weights in the mask and the results are summed. Before writing the result pixel the sum is scaled back via division by nDivisor. 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.

    Currently only the Replicate and Mirror border type operation are supported.

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

    Methods

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

    Four channel 16-bit convolution filter with border control, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterBorder_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Single channel 16-bit convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Three channel 16-bit convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Four channel channel 16-bit convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Four channel 16-bit unsigned convolution filter with border control, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterBorder_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Single channel 16-bit unsigned convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Three channel 16-bit unsigned convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Four channel channel 16-bit unsigned convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Four channel 32-bit float convolution filter with border control, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterBorder_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel 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

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

    Single channel 32-bit float convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel 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

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

    Two channel 32-bit float convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_32f_C2R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel 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

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

    Three channel 32-bit float convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel 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

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

    Four channel 32-bit float convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel 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

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

    Four channel 8-bit unsigned convolution filter with border control, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterBorder_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Single channel 8-bit unsigned convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Three channel 8-bit unsigned convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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

    Four channel channel 8-bit unsigned convolution filter with border control.

    Declaration
    public static NppStatus nppiFilterBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, CUdeviceptr pKernel, NppiSize oKernelSize, NppiPoint oAnchor, int nDivisor, 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 pKernel

    Pointer to the start address of the kernel coefficient array.

    NppiSize oKernelSize

    Width and Height of the rectangular kernel.

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    System.Int32 nDivisor

    The factor by which the convolved summation from the Filter

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

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