Show / Hide Table of Contents

    Class NPPNativeMethods.NPPi.MinMaxIndxNew

    Min / Max Index (new in CUDA 5)

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

    Methods

    nppiMinMaxIndx_16u_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 16-bit unsigned short image minimum and maximum values with their indices, \ref masked_operation.

    Declaration
    public static NppStatus nppiMinMaxIndx_16u_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    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 pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_16u_C1MR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_16u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 16-bit unsigned short image minimum and maximum values with their indices.

    Declaration
    public static NppStatus nppiMinMaxIndx_16u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_16u_C1R to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_16u_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    3-channel 16-bit unsigned short image minimum and maximum values with their indices, \ref masked_operation, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMinMaxIndx_16u_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    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 pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_16u_C3CMR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_16u_C3CR(CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 16-bit unsigned short image minimum and maximum values with their indices, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMinMaxIndx_16u_C3CR(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nCOI

    \ref channel_of_interest_number.

    CUdeviceptr pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_16u_C3CR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_32f_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 32-bit floating point image minimum and maximum values with their indices, \ref masked_operation.

    Declaration
    public static NppStatus nppiMinMaxIndx_32f_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    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 pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_32f_C1MR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_EVEN_STEP_ERROR if an invalid floating-point image is specified. If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_32f_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 32-bit floating point image minimum and maximum values with their indices.

    Declaration
    public static NppStatus nppiMinMaxIndx_32f_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_32f_C1R to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_NOT_EVEN_STEP_ERROR if an invalid floating-point image is specified. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_32f_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    3-channel 32-bit floating point image minimum and maximum values with their indices, \ref masked_operation, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMinMaxIndx_32f_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    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 pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_32f_C3CMR to determine

    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. If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_32f_C3CR(CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 32-bit floating point image minimum and maximum values with their indices, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMinMaxIndx_32f_C3CR(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nCOI

    \ref channel_of_interest_number.

    CUdeviceptr pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_32f_C3CR to determine

    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. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_8s_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 8-bit signed char image minimum and maximum values with their indices, \ref masked_operation.

    Declaration
    public static NppStatus nppiMinMaxIndx_8s_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    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 pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_8s_C1MR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_8s_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 8-bit signed char image minimum and maximum values with their indices.

    Declaration
    public static NppStatus nppiMinMaxIndx_8s_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_8s_C1R to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_8s_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    3-channel 8-bit signed char image minimum and maximum values with their indices, \ref masked_operation, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMinMaxIndx_8s_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    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 pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_8s_C3CMR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_8s_C3CR(CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    3-channel 8-bit signed char image minimum and maximum values with their indices, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMinMaxIndx_8s_C3CR(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nCOI

    \ref channel_of_interest_number.

    CUdeviceptr pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_8s_C3CR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_8u_C1MR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 8-bit unsigned char image minimum and maximum values with their indices, \ref masked_operation.

    Declaration
    public static NppStatus nppiMinMaxIndx_8u_C1MR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    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 pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_8u_C1MR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_8u_C1R(CUdeviceptr, Int32, NppiSize, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    1-channel 8-bit unsigned char image minimum and maximum values with their indices.

    Declaration
    public static NppStatus nppiMinMaxIndx_8u_C1R(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    CUdeviceptr pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_8u_C1R to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_8u_C3CMR(CUdeviceptr, Int32, CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    3-channel 8-bit unsigned char image minimum and maximum values with their indices, \ref masked_operation, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMinMaxIndx_8u_C3CMR(CUdeviceptr pSrc, int nSrcStep, CUdeviceptr pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    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 pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_8u_C3CMR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. If the mask is filled with zeros, then all the returned values are zeros, i.e., pMinIndex = {0, 0}, pMaxIndex = {0, 0}, pMinValue = 0, pMaxValue = 0. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndx_8u_C3CR(CUdeviceptr, Int32, NppiSize, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr, CUdeviceptr)

    3-channel 8-bit unsigned char image minimum and maximum values with their indices, \ref channel_of_interest.

    Declaration
    public static NppStatus nppiMinMaxIndx_8u_C3CR(CUdeviceptr pSrc, int nSrcStep, NppiSize oSizeROI, int nCOI, CUdeviceptr pMinValue, CUdeviceptr pMaxValue, CUdeviceptr pMinIndex, CUdeviceptr pMaxIndex, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc

    Source-Image Pointer.

    System.Int32 nSrcStep

    Source-Image Line Step.

    NppiSize oSizeROI

    Region-of-Interest (ROI).

    System.Int32 nCOI

    \ref channel_of_interest_number.

    CUdeviceptr pMinValue

    Device-memory pointer receiving the minimum value.

    CUdeviceptr pMaxValue

    Device-memory pointer receiving the maximum value.

    CUdeviceptr pMinIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the minimum value.

    CUdeviceptr pMaxIndex

    Device-memory pointer receiving the indicies (X and Y coordinates) of the maximum value.

    CUdeviceptr pDeviceBuffer

    Buffer to a scratch memory. Use \ref nppiMinMaxIndxGetBufferHostSize_8u_C3CR to determine

    Returns
    Type Description
    NppStatus

    StepError, NotEvenStepError, NullPointerError, AlignmentError, StepError, SizeError, or NPP_COI_ERROR if an invalid channel of interest is specified. If any of pMinValue, pMaxValue, pMinIndex, or pMaxIndex is not needed, zero pointer must be passed correspondingly.

    nppiMinMaxIndxGetBufferHostSize_16u_C1MR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_16u_C1MR.

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

    nppiMinMaxIndxGetBufferHostSize_16u_C1R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_16u_C1R.

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

    nppiMinMaxIndxGetBufferHostSize_16u_C3CMR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_16u_C3CMR.

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

    nppiMinMaxIndxGetBufferHostSize_16u_C3CR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_16u_C3CR.

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

    nppiMinMaxIndxGetBufferHostSize_32f_C1MR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_32f_C1MR.

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

    nppiMinMaxIndxGetBufferHostSize_32f_C1R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_32f_C1R.

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

    nppiMinMaxIndxGetBufferHostSize_32f_C3CMR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_32f_C3CMR.

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

    nppiMinMaxIndxGetBufferHostSize_32f_C3CR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_32f_C3CR.

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

    nppiMinMaxIndxGetBufferHostSize_8s_C1MR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_8s_C1MR.

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

    nppiMinMaxIndxGetBufferHostSize_8s_C1R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_8s_C1R.

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

    nppiMinMaxIndxGetBufferHostSize_8s_C3CMR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_8s_C3CMR.

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

    nppiMinMaxIndxGetBufferHostSize_8s_C3CR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_8s_C3CR.

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

    nppiMinMaxIndxGetBufferHostSize_8u_C1MR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_8u_C1MR.

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

    nppiMinMaxIndxGetBufferHostSize_8u_C1R(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_8u_C1R.

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

    nppiMinMaxIndxGetBufferHostSize_8u_C3CMR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_8u_C3CMR.

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

    nppiMinMaxIndxGetBufferHostSize_8u_C3CR(NppiSize, ref Int32)

    Device scratch buffer size (in bytes) for nppiMinMaxIndx_8u_C3CR.

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