Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.ImageMedianFilter

    Result pixel value is the median of pixel values under the rectangular mask region.

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

    Methods

    nppiFilterMedian_16s_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Four channel 16-bit signed median filter, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterMedian_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_16s_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Single channel 16-bit signed median filter.

    Declaration
    public static NppStatus nppiFilterMedian_16s_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_16s_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Three channel 16-bit signed median filter.

    Declaration
    public static NppStatus nppiFilterMedian_16s_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_16s_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Four channel 16-bit signed median filter.

    Declaration
    public static NppStatus nppiFilterMedian_16s_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_16u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Four channel 16-bit unsigned median filter, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterMedian_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_16u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Single channel 16-bit unsigned median filter.

    Declaration
    public static NppStatus nppiFilterMedian_16u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_16u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Three channel 16-bit unsigned median filter.

    Declaration
    public static NppStatus nppiFilterMedian_16u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_16u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Four channel 16-bit unsigned median filter.

    Declaration
    public static NppStatus nppiFilterMedian_16u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_32f_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Four channel 32-bit floating-point median filter, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterMedian_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_32f_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Single channel 32-bit floating-point median filter.

    Declaration
    public static NppStatus nppiFilterMedian_32f_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_32f_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Three channel 32-bit floating-point median filter.

    Declaration
    public static NppStatus nppiFilterMedian_32f_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_32f_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Four channel 32-bit floating-point median filter.

    Declaration
    public static NppStatus nppiFilterMedian_32f_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_8u_AC4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Four channel 8-bit unsigned median filter, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterMedian_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_8u_C1R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Single channel 8-bit unsigned median filter.

    Declaration
    public static NppStatus nppiFilterMedian_8u_C1R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_8u_C3R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Three channel 8-bit unsigned median filter.

    Declaration
    public static NppStatus nppiFilterMedian_8u_C3R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedian_8u_C4R(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, NppiSize, NppiPoint, CUdeviceptr)

    Four channel 8-bit unsigned median filter.

    Declaration
    public static NppStatus nppiFilterMedian_8u_C4R(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pDst, int nDstStep, NppiSize oSizeROI, NppiSize oMaskSize, NppiPoint oAnchor, CUdeviceptr pBuffer)
    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 oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local

    NppiPoint oAnchor

    X and Y offsets of the kernel origin frame of reference

    CUdeviceptr pBuffer

    Pointer to the user-allocated scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiFilterMedianGetBufferSize_16s_AC4R(NppiSize, NppiSize, ref UInt32)

    Four channel 16-bit signed median filter, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_16s_AC4R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_16s_C1R(NppiSize, NppiSize, ref UInt32)

    Single channel 16-bit signed median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_16s_C1R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_16s_C3R(NppiSize, NppiSize, ref UInt32)

    Three channel 16-bit signed median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_16s_C3R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_16s_C4R(NppiSize, NppiSize, ref UInt32)

    Four channel 16-bit signed median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_16s_C4R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_16u_AC4R(NppiSize, NppiSize, ref UInt32)

    Four channel 16-bit unsigned median filter, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_16u_AC4R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_16u_C1R(NppiSize, NppiSize, ref UInt32)

    Single channel 16-bit unsigned median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_16u_C1R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_16u_C3R(NppiSize, NppiSize, ref UInt32)

    Three channel 16-bit unsigned median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_16u_C3R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_16u_C4R(NppiSize, NppiSize, ref UInt32)

    Four channel 16-bit unsigned median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_16u_C4R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_32f_AC4R(NppiSize, NppiSize, ref UInt32)

    Four channel 32-bit floating-point median filter, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_32f_AC4R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_32f_C1R(NppiSize, NppiSize, ref UInt32)

    Single channel 32-bit floating-point median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_32f_C1R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_32f_C3R(NppiSize, NppiSize, ref UInt32)

    Three channel 32-bit floating-point median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_32f_C3R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_32f_C4R(NppiSize, NppiSize, ref UInt32)

    Four channel 32-bit floating-point median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_32f_C4R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_8u_AC4R(NppiSize, NppiSize, ref UInt32)

    Four channel 8-bit unsigned median filter, ignoring alpha channel.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_8u_AC4R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_8u_C1R(NppiSize, NppiSize, ref UInt32)

    Single channel 8-bit unsigned median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_8u_C1R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_8u_C3R(NppiSize, NppiSize, ref UInt32)

    Three channel 8-bit unsigned median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_8u_C3R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

    nppiFilterMedianGetBufferSize_8u_C4R(NppiSize, NppiSize, ref UInt32)

    Four channel 8-bit unsigned median filter scratch memory size.

    Declaration
    public static NppStatus nppiFilterMedianGetBufferSize_8u_C4R(NppiSize oSizeROI, NppiSize oMaskSize, ref uint nBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    NppiSize oMaskSize

    Width and Height of the neighborhood region for the local Median operation.

    System.UInt32 nBufferSize

    Pointer to the size of the scratch buffer required for the Median operation.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError

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