Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.MeanNew

    Mean (new in CUDA 5)

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

    Methods

    nppiMean_16s_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    4-channel 16-bit signed short image mean with 64-bit double precision result. Alpha channel is the last channel and is not processed.

    Declaration
    public static NppStatus nppiMean_16s_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, three elements for the first three channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_16s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    1-channel 16-bit signed short integer image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_16s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_16s_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    3-channel 16-bit signed short image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_16s_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, three elements for three channels.

    Returns
    Type Description
    NppStatus

    nppiMean_16s_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    4-channel 16-bit signed short image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_16s_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, four elements for four channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_16u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    4-channel 16-bit unsigned short image mean with 64-bit double precision result. Alpha channel is the last channel and is not processed.

    Declaration
    public static NppStatus nppiMean_16u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, three elements for the first three channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_16u_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    1-channel 16-bit unsigned short integer image mean with 64-bit double precision result, \ref masked_operation.

    Declaration
    public static NppStatus nppiMean_16u_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pMask

    \ref mask_image_pointer.

    System.Int32 nMaskStep

    \ref mask_image_line_step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError.

    nppiMean_16u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    1-channel 16-bit unsigned short integer image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_16u_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr)

    3-channel 16-bit unsigned short integer image mean with 64-bit double precision result, \ref masked_operation, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMean_16u_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pMask

    \ref mask_image_pointer.

    System.Int32 nMaskStep

    \ref mask_image_line_step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nCOI

    \ref channel_of_interest_number.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified.

    nppiMean_16u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    3-channel 16-bit unsigned short image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_16u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, three elements for three channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_16u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    4-channel 16-bit unsigned short image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_16u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, four elements for four channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_32f_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    4-channel 32-bit floating point image mean with 64-bit double precision result. Alpha channel is the last channel and is not processed.

    Declaration
    public static NppStatus nppiMean_32f_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, three elements for the first three channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, NPP_NOT_EVEN_STEP_ERROR if an invalid floating-point image is specified.

    nppiMean_32f_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    1-channel 32-bit floating point image mean with 64-bit double precision result, \ref masked_operation.

    Declaration
    public static NppStatus nppiMean_32f_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pMask

    \ref mask_image_pointer.

    System.Int32 nMaskStep

    \ref mask_image_line_step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, NPP_NOT_EVEN_STEP_ERROR if an invalid floating-point image is specified.

    nppiMean_32f_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    1-channel 32-bit floating point image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, NPP_NOT_EVEN_STEP_ERROR if an invalid floating-point image is specified.

    nppiMean_32f_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr)

    3-channel 32-bit floating point image mean with 64-bit double precision result, \ref masked_operation, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMean_32f_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pMask

    \ref mask_image_pointer.

    System.Int32 nMaskStep

    \ref mask_image_line_step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nCOI

    \ref channel_of_interest_number.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, NPP_NOT_EVEN_STEP_ERROR if an invalid floating-point image is specified, or NPP_COI_ERROR if an invalid channel of interest is specified.

    nppiMean_32f_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    3-channel 32-bit floating point image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_32f_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, three elements for three channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, NPP_NOT_EVEN_STEP_ERROR if an invalid floating-point image is specified.

    nppiMean_32f_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    4-channel 32-bit floating point image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_32f_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, four elements for four channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, NPP_NOT_EVEN_STEP_ERROR if an invalid floating-point image is specified.

    nppiMean_8s_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    1-channel 8-bit signed char image mean with 64-bit double precision result, \ref masked_operation.

    Declaration
    public static NppStatus nppiMean_8s_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pMask

    \ref mask_image_pointer.

    System.Int32 nMaskStep

    \ref mask_image_line_step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError.

    nppiMean_8s_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr)

    3-channel 8-bit signed char image mean with 64-bit double precision result, \ref masked_operation, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMean_8s_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pMask

    \ref mask_image_pointer.

    System.Int32 nMaskStep

    \ref mask_image_line_step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nCOI

    \ref channel_of_interest_number.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified.

    nppiMean_8u_AC4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    4-channel 8-bit unsigned char image mean with 64-bit double precision result. Alpha channel is the last channel and is not processed.

    Declaration
    public static NppStatus nppiMean_8u_AC4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, three elements for the first three channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_8u_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    1-channel 8-bit unsigned char image mean with 64-bit double precision result, \ref masked_operation.

    Declaration
    public static NppStatus nppiMean_8u_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pMask

    \ref mask_image_pointer.

    System.Int32 nMaskStep

    \ref mask_image_line_step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError.

    nppiMean_8u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    1-channel 8-bit unsigned char image sum with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_8u_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr)

    3-channel 8-bit unsigned char image mean with 64-bit double precision result, \ref masked_operation, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMean_8u_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pDeviceBuffer, CUdeviceptr pMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    CUdeviceptr pMask

    \ref mask_image_pointer.

    System.Int32 nMaskStep

    \ref mask_image_line_step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nCOI

    \ref channel_of_interest_number.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr pMean

    Device-memory pointer receiving the mean result.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified.

    nppiMean_8u_C3R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    3-channel 8-bit unsigned char image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_8u_C3R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, three elements for three channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMean_8u_C4R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr)

    4-channel 8-bit unsigned char image mean with 64-bit double precision result.

    Declaration
    public static NppStatus nppiMean_8u_C4R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pDeviceBuffer, CUdeviceptr aMean)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation

    CUdeviceptr aMean

    Array that contains computed mean, four elements for four channels.

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError

    nppiMeanGetBufferHostSize_16s_AC4R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16s_AC4R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16s_C1R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16s_C1R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16s_C1R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16s_C3R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16s_C3R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16s_C3R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16s_C4R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16s_C4R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16s_C4R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16u_AC4R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16u_AC4R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16u_C1MR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16u_C1MR.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16u_C1MR(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16u_C1R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16u_C1R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16u_C3CMR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16u_C3CMR.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16u_C3CMR(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16u_C3R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16u_C3R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16u_C3R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_16u_C4R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_16u_C4R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_16u_C4R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_32f_AC4R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_32f_AC4R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_32f_C1MR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_32f_C1MR.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_32f_C1MR(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_32f_C1R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_32f_C1R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_32f_C1R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_32f_C3CMR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_32f_C3CMR.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_32f_C3CMR(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_32f_C3R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_32f_C3R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_32f_C3R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_32f_C4R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_32f_C4R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_32f_C4R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_8s_C1MR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_8s_C1MR.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_8s_C1MR(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_8s_C3CMR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_8s_C3CMR.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_8s_C3CMR(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_8u_AC4R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_8u_AC4R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_8u_C1MR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_8u_C1MR.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_8u_C1MR(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_8u_C1R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_8u_C1R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_8u_C1R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_8u_C3CMR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_8u_C3CMR.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_8u_C3CMR(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_8u_C3R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_8u_C3R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_8u_C3R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppiMeanGetBufferHostSize_8u_C4R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMean_8u_C4R.

    Declaration
    public static NppStatus nppiMeanGetBufferHostSize_8u_C4R(NppiSize oSizeROI, ref int hpBufferSize)
    Parameters
    Type Name Description
    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 hpBufferSize

    Required buffer size. Important: hpBufferSize is a

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

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