Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.FilterWienerBorder

    Noise removal filtering of an image using an adaptive Wiener filter with border control.

    Pixels under the source mask are used to generate statistics about the local neighborhood which are then used to control the amount of adaptive noise filtering locally applied.

    Currently only the NPP_BORDER_REPLICATE border type operation is supported.

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

    Methods

    nppiFilterWienerBorder_16s_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_16s_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single, NppiBorderType)

    Single channel 16-bit signed Wiener filter with border control.

    Declaration
    public static NppStatus nppiFilterWienerBorder_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_16s_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

    Three channel 16-bit signed Wiener filter with border control.

    Declaration
    public static NppStatus nppiFilterWienerBorder_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_16s_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

    Four channel 16-bit signed Wiener filter with border control.

    Declaration
    public static NppStatus nppiFilterWienerBorder_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_32f_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_32f_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single, NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_32f_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_32f_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_8u_AC4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_8u_C1R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single, NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_8u_C3R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    NppiBorderType eBorderType

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

    Returns
    Type Description
    NppStatus

    nppiFilterWienerBorder_8u_C4R(CUdeviceptr, Int32, NppiSize, NppiPoint, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, Single[], NppiBorderType)

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

    Declaration
    public static NppStatus nppiFilterWienerBorder_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSrcSize, NppiPoint oSrcOffset, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, float[] aNoise, 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

    The pixel offset that pSrc points to relative to the origin of the source image.

    CUdeviceptr pDst

    Destination-Image Pointer.

    System.Int32 nDstStep

    Destination-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Pixel Width and Height of the rectangular region of interest surrounding the source pixel.

    NppiPoint oAnchor

    Positive X and Y relative offsets of primary pixel in region of interest surrounding the source pixel relative to bottom right of oMaskSize.

    System.Single[] aNoise

    Fixed size array of per-channel noise variance level value in range of 0.0F to 1.0F.

    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