Image Statistics Functions

Primitives for computing the statistical properties of an image.

Some statistical primitives also require scratch buffer during the computation. For details, please refer to Scratch Buffer and Host Pointer.

These functions can be found in the nppist library. Linking to only the sub-libraries that you use can significantly save link time, application load time, and CUDA runtime startup time when using dynamic libraries.

CommonGetBufferHostSizeParameters

Common parameters for nppiGetBufferHostSize functions include:

param oSizeROI

Region-Of-Interest (ROI).

param hpBufferSize

Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.

param nppStreamCtx

Application Managed Stream Context.

return

NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), ROI Related Error Codes.

Image Sum

Sum

Primitives for computing the sum of all the pixel values in an image.

Sum

Given an image \(pSrc\) with width \(W\) and height \(H\), the sum will be computed as

\[Sum = \sum_{j=0}^{H-1}\sum_{i=0}^{W-1}pSrc(j,i)\]
All the results are stored in a 64-bit double precision format, except for two primitives nppiSum_8u64s_C1R and nppiSum_8u64s_C4R. The sum functions require additional scratch buffer for computations.

Common parameters for nppiSum functions include:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pDeviceBuffer

Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppiSumGetBufferHostSize_XX_XXX to determine the minium number of bytes required.

param pSum

Pointer to the computed sum.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiSum_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pSum, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pSum)

One-channel 8-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u64s_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64s *pSum, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image sum.

The result is 64-bit long long integer.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u64s_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64s *pSum)

One-channel 8-bit unsigned image sum.

The result is 64-bit long long integer.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pSum, NppStreamContext nppStreamCtx)

One-channel 16-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pSum)

One-channel 16-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pSum, NppStreamContext nppStreamCtx)

One-channel 16-bit signed image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pSum)

One-channel 16-bit signed image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pSum, NppStreamContext nppStreamCtx)

One-channel 32-bit floating point image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pSum)

One-channel 32-bit floating point image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3], NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3])

Three-channel 8-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3])

Three-channel 16-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit signed image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3])

Three-channel 16-bit signed image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3], NppStreamContext nppStreamCtx)

Three-channel 32-bit floating point image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3])

Three-channel 32-bit floating point image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image sum ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3])

Four-channel 8-bit unsigned image sum ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image sum ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3])

Four-channel 16-bit unsigned image sum ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image sum ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3])

Four-channel 16-bit signed image sum ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image sum ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[3])

Four-channel 32-bit floating point image sum ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[4], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[4])

Four-channel 8-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u64s_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64s aSum[4], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image sum.

The result is 64-bit long long integer.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_8u64s_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64s aSum[4])

Four-channel 8-bit unsigned image sum.

The result is 64-bit long long integer.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[4])

Four-channel 16-bit unsigned image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[4])

Four-channel 16-bit signed image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[4], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

NppStatus nppiSum_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aSum[4])

Four-channel 32-bit floating point image sum.

For common parameter descriptions, see Common parameters for nppiSum functions include:.

SumGetBufferHostSize

Companion primitives for computing the device buffer size (in bytes) required by the sum primitives.

CommonSumGetBufferHostSizeParameters

Common parameters for nppiSumGetBufferHostSize functions include:

param oSizeROI

Region-Of-Interest (ROI).

param hpBufferSize

Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.

param nppStreamCtx

Application Managed Stream Context.

return

NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), ROI Related Error Codes.

NppStatus nppiSumGetBufferHostSize_8u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_8u_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_8u_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u64s_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_8u64s_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u64s_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_8u64s_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_16u_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_16u_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16s_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_16s_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16s_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_16s_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_32f_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_32f_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_32f_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_32f_C1R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_8u_C3R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_8u_C3R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_16u_C3R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_16u_C3R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16s_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_16s_C3R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16s_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_16s_C3R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_32f_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_32f_C3R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_32f_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_32f_C3R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_8u_AC4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_8u_AC4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_16u_AC4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_16u_AC4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16s_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_16s_AC4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_16s_AC4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_32f_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_32f_AC4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_32f_AC4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u64s_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_8u64s_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u64s_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_8u64s_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_8u_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_8u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_8u_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_16u_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_16u_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16s_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_16s_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_16s_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_16s_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_32f_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiSum_32f_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

NppStatus nppiSumGetBufferHostSize_32f_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiSum_32f_C4R.

For common parameter descriptions, see CommonSumGetBufferHostSizeParameters.

Image Min

Min

Primitives for computing the minimal pixel value of an image.

Min

The scratch buffer is required by the min functions.

Common parameters for nppiMin functions include:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pDeviceBuffer

Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppiMinGetBufferHostSize_XX_XXX to determine the minium number of bytes required.

param pMin

Pointer to the computed min.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiMin_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u *pMin, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u *pMin)

One-channel 8-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u *pMin, NppStreamContext nppStreamCtx)

One-channel 16-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u *pMin)

One-channel 16-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s *pMin, NppStreamContext nppStreamCtx)

One-channel 16-bit signed image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s *pMin)

One-channel 16-bit signed image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f *pMin, NppStreamContext nppStreamCtx)

One-channel 32-bit floating point image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f *pMin)

One-channel 32-bit floating point image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[3], NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[3])

Three-channel 8-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[3])

Three-channel 16-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit signed image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[3])

Three-channel 16-bit signed image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[3], NppStreamContext nppStreamCtx)

Three-channel 32-bit floating point image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[3])

Three-channel 32-bit floating point image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[4], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[4])

Four-channel 8-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[4])

Four-channel 16-bit unsigned image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[4])

Four-channel 16-bit signed image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[4], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[4])

Four-channel 32-bit floating point image min.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[3], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image min ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[3])

Four-channel 8-bit unsigned image min ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image min ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[3])

Four-channel 16-bit unsigned image min ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image min ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[3])

Four-channel 16-bit signed image min ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[3], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image min ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

NppStatus nppiMin_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[3])

Four-channel 32-bit floating point image min ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMin functions include:.

MinGetBufferHostSize

Companion primitives for computing the device buffer size (in bytes) required by the min primitives.

CommonMinGetBufferHostSizeParameters

Common parameters for nppiMinGetBufferHostSize functions include:

param oSizeROI

Region-Of-Interest (ROI).

param hpBufferSize

Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.

param nppStreamCtx

Application Managed Stream Context.

return

NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), ROI Related Error Codes.

NppStatus nppiMinGetBufferHostSize_8u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_8u_C1R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_8u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_8u_C1R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_16u_C1R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_16u_C1R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16s_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_16s_C1R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16s_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_16s_C1R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_32f_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_32f_C1R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_32f_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_32f_C1R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_8u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_8u_C3R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_8u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_8u_C3R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_16u_C3R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_16u_C3R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16s_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_16s_C3R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16s_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_16s_C3R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_32f_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_32f_C3R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_32f_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_32f_C3R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_8u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_8u_C4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_8u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_8u_C4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_16u_C4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_16u_C4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16s_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_16s_C4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16s_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_16s_C4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_32f_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_32f_C4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_32f_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_32f_C4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_8u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_8u_AC4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_8u_AC4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_16u_AC4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_16u_AC4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16s_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_16s_AC4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_16s_AC4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_32f_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMin_32f_AC4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

NppStatus nppiMinGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMin_32f_AC4R.

For common parameter descriptions, see CommonMinGetBufferHostSizeParameters.

Image Min Index

MinIndx

Primitives for computing the minimal value and its indices (X and Y coordinates) of an image.

MinIndx

If there are several minima in the selected ROI, the function returns one on the top leftmost position.

The scratch buffer is required by the functions.

Common parameters for nppiMinIndx functions include:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pDeviceBuffer

Pointer to the required device memory allocation, Scratch Buffer and Host Pointer Use nppiMinIndxGetBufferHostSize_XX_XXX to determine the minium number of bytes required.

param pMin

Pointer to the computed min result.

param pIndexX

Pointer to the X coordinate of the image min value.

param pIndexY

Ppointer to the Y coordinate of the image min value.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiMinIndx_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u *pMin, int *pIndexX, int *pIndexY, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:>.

NppStatus nppiMinIndx_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u *pMin, int *pIndexX, int *pIndexY)

One-channel 8-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:>.

NppStatus nppiMinIndx_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u *pMin, int *pIndexX, int *pIndexY, NppStreamContext nppStreamCtx)

One-channel 16-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u *pMin, int *pIndexX, int *pIndexY)

One-channel 16-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s *pMin, int *pIndexX, int *pIndexY, NppStreamContext nppStreamCtx)

One-channel 16-bit signed image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s *pMin, int *pIndexX, int *pIndexY)

One-channel 16-bit signed image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f *pMin, int *pIndexX, int *pIndexY, NppStreamContext nppStreamCtx)

One-channel 32-bit floating point image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f *pMin, int *pIndexX, int *pIndexY)

One-channel 32-bit floating point image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[3], int aIndexX[3], int aIndexY[3])

Three-channel 8-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[3], int aIndexX[3], int aIndexY[3])

Three-channel 16-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit signed image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[3], int aIndexX[3], int aIndexY[3])

Three-channel 16-bit signed image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Three-channel 32-bit floating point image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[3], int aIndexX[3], int aIndexY[3])

Three-channel 32-bit floating point image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[4], int aIndexX[4], int aIndexY[4], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[4], int aIndexX[4], int aIndexY[4])

Four-channel 8-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[4], int aIndexX[4], int aIndexY[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[4], int aIndexX[4], int aIndexY[4])

Four-channel 16-bit unsigned image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[4], int aIndexX[4], int aIndexY[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[4], int aIndexX[4], int aIndexY[4])

Four-channel 16-bit signed image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[4], int aIndexX[4], int aIndexY[4], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[4], int aIndexX[4], int aIndexY[4])

Four-channel 32-bit floating point image MinIndx.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image MinIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMin[3], int aIndexX[3], int aIndexY[3])

Four-channel 8-bit unsigned image MinIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image MinIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMin[3], int aIndexX[3], int aIndexY[3])

Four-channel 16-bit unsigned image MinIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image MinIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMin[3], int aIndexX[3], int aIndexY[3])

Four-channel 16-bit signed image MinIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image MinIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

NppStatus nppiMinIndx_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMin[3], int aIndexX[3], int aIndexY[3])

Four-channel 32-bit floating point image MinIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinIndx functions include:.

MinIndxGetBufferHostSize

Companion primitives for computing the device buffer size (in bytes) required by the MinIndx primitives.

CommonMinIndxGetBufferHostSizeParameters

Common parameters for nppiMinIndxGetBufferHostSize functions include:

param oSizeROI

Region-Of-Interest (ROI).

param hpBufferSize

Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.

param nppStreamCtx

Application Managed Stream Context.

return

NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), ROI Related Error Codes.

NppStatus nppiMinIndxGetBufferHostSize_8u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C1R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_8u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C1R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C1R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C1R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16s_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C1R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16s_C1R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C1R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_32f_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C1R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_32f_C1R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C1R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_8u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C3R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_8u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C3R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C3R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C3R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16s_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C3R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16s_C3R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C3R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_32f_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C3R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_32f_C3R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C3R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_8u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_8u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16s_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16s_C4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_32f_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_32f_C4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_8u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_AC4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_AC4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_AC4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_AC4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16s_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_AC4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_AC4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_32f_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_AC4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

NppStatus nppiMinIndxGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_AC4R.

For common parameter descriptions, see CommonMinIndxGetBufferHostSizeParameters.

Image Max

Max

Primitives for computing the maximal pixel value of an image.

Common parameters for nppiMax functions include:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pDeviceBuffer

Pointer to the required device memory allocation, Scratch Buffer and Host Pointer. Use nppiMaxGetBufferHostSize_XX_XXX to determine the minium number of bytes required.

param pMax

Pointer to the computed max.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

Max

The scratch buffer is required by the functions.

NppStatus nppiMax_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u *pMax, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u *pMax)

One-channel 8-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u *pMax, NppStreamContext nppStreamCtx)

One-channel 16-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u *pMax)

One-channel 16-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s *pMax, NppStreamContext nppStreamCtx)

One-channel 16-bit signed image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s *pMax)

One-channel 16-bit signed image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f *pMax, NppStreamContext nppStreamCtx)

One-channel 32-bit floating point image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f *pMax)

One-channel 32-bit floating point image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[3], NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[3])

Three-channel 8-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[3])

Three-channel 16-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit signed image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[3])

Three-channel 16-bit signed image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[3], NppStreamContext nppStreamCtx)

Three-channel 32-bit floating point image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[3])

Three-channel 32-bit floating point image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[4], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[4])

Four-channel 8-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[4])

Four-channel 16-bit unsigned image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[4], NppStreamContext nppStreamCtx)

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[4])

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[4], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[4])

Four-channel 32-bit floating point image Max.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[3], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image Max ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[3])

Four-channel 8-bit unsigned image Max ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image Max ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[3])

Four-channel 16-bit unsigned image Max ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image Max ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[3])

Four-channel 16-bit signed image Max ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[3], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image Max ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

NppStatus nppiMax_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[3])

Four-channel 32-bit floating point image Max ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMax functions include:.

MaxGetBufferHostSize

Companion primitives for computing the device buffer size (in bytes) required by the Max primitives.

CommonMaxGetBufferHostSizeParameters

Common parameters for nppiMaxGetBufferHostSize functions include:

param oSizeROI

Region-Of-Interest (ROI).

param hpBufferSize

Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.

param nppStreamCtx

Application Managed Stream Context.

return

NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), ROI Related Error Codes.

NppStatus nppiMaxGetBufferHostSize_8u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_8u_C1R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_8u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_8u_C1R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_16u_C1R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_16u_C1R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16s_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_16s_C1R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16s_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_16s_C1R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_32f_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_32f_C1R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_32f_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_32f_C1R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_8u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_8u_C3R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_8u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_8u_C3R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_16u_C3R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_16u_C3R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16s_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_16s_C3R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16s_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_16s_C3R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_32f_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_32f_C3R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_32f_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_32f_C3R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_8u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_8u_C4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_8u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_8u_C4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_16u_C4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_16u_C4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16s_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_16s_C4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16s_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_16s_C4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_32f_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_32f_C4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_32f_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_32f_C4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_8u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_8u_AC4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_8u_AC4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_16u_AC4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_16u_AC4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16s_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_16s_AC4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_16s_AC4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_32f_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMax_32f_AC4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

NppStatus nppiMaxGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMax_32f_AC4R.

For common parameter descriptions, see CommonMaxGetBufferHostSizeParameters.

Image Max Index

MaxIndx

Primitives for computing the maximal value and its indices (X and Y coordinates) of an image.

MaxIndx

If there are several maxima in the selected region of interest, the function returns one on the top leftmost position.

The scratch buffer is required by the functions.

Common parameters for nppiMaxIndx functions include:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pDeviceBuffer

Pointer to the required device memory allocation, Scratch Buffer and Host Pointer Use nppiMaxIndxGetBufferHostSize_XX_XXX to determine the minium number of bytes required.

param pMax

Pointer to the computed max result.

param pIndexX

Pointer to the X coordinate of the image max value.

param pIndexY

Ppointer to the Y coordinate of the image max value.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiMaxIndx_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u *pMax, int *pIndexX, int *pIndexY, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u *pMax, int *pIndexX, int *pIndexY)

One-channel 8-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u *pMax, int *pIndexX, int *pIndexY, NppStreamContext nppStreamCtx)

One-channel 16-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u *pMax, int *pIndexX, int *pIndexY)

One-channel 16-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s *pMax, int *pIndexX, int *pIndexY, NppStreamContext nppStreamCtx)

One-channel 16-bit signed image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s *pMax, int *pIndexX, int *pIndexY)

One-channel 16-bit signed image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f *pMax, int *pIndexX, int *pIndexY, NppStreamContext nppStreamCtx)

One-channel 32-bit floating point image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f *pMax, int *pIndexX, int *pIndexY)

One-channel 32-bit floating point image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[3], int aIndexX[3], int aIndexY[3])

Three-channel 8-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[3], int aIndexX[3], int aIndexY[3])

Three-channel 16-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit signed image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[3], int aIndexX[3], int aIndexY[3])

Three-channel 16-bit signed image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Three-channel 32-bit floating point image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[3], int aIndexX[3], int aIndexY[3])

Three-channel 32-bit floating point image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[4], int aIndexX[4], int aIndexY[4], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[4], int aIndexX[4], int aIndexY[4])

Four-channel 8-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[4], int aIndexX[4], int aIndexY[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[4], int aIndexX[4], int aIndexY[4])

Four-channel 16-bit unsigned image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[4], int aIndexX[4], int aIndexY[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[4], int aIndexX[4], int aIndexY[4])

Four-channel 16-bit signed image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[4], int aIndexX[4], int aIndexY[4], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[4], int aIndexX[4], int aIndexY[4])

Four-channel 32-bit floating point image MaxIndx.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image MaxIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp8u aMax[3], int aIndexX[3], int aIndexY[3])

Four-channel 8-bit unsigned image MaxIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image MaxIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16u aMax[3], int aIndexX[3], int aIndexY[3])

Four-channel 16-bit unsigned image MaxIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image MaxIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp16s aMax[3], int aIndexX[3], int aIndexY[3])

Four-channel 16-bit signed image MaxIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[3], int aIndexX[3], int aIndexY[3], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image MaxIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

NppStatus nppiMaxIndx_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp32f aMax[3], int aIndexX[3], int aIndexY[3])

Four-channel 32-bit floating point image MaxIndx ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMaxIndx functions include:.

MaxIndxGetBufferHostSize

Companion primitives for computing the device buffer size (in bytes) required by the MaxIndx primitives.

CommonMaxIndxGetBufferHostSizeParameters

Common parameters for nppiMaxIndxGetBufferHostSize functions include:

param oSizeROI

Region-Of-Interest (ROI).

param hpBufferSize

Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.

param nppStreamCtx

Application Managed Stream Context.

return

NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), ROI Related Error Codes.

NppStatus nppiMaxIndxGetBufferHostSize_8u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_C1R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_8u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_C1R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16u_C1R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16u_C1R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16s_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16s_C1R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16s_C1R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16s_C1R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_32f_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_32f_C1R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_32f_C1R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_32f_C1R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_8u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_C3R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_8u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_C3R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16u_C3R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16u_C3R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16s_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16s_C3R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16s_C3R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16s_C3R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_32f_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_32f_C3R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_32f_C3R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_32f_C3R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_8u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_C4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_8u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_C4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16u_C4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16u_C4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16s_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16s_C4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16s_C4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16s_C4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_32f_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_32f_C4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_32f_C4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_32f_C4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_8u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_AC4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_AC4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_AC4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_8u_AC4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16s_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16u_AC4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_16u_AC4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_32f_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_32f_AC4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

NppStatus nppiMaxIndxGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Computes the dvice scratch buffer size (in bytes) for nppiMaxIndx_32f_AC4R.

For common parameter descriptions, see CommonMaxIndxGetBufferHostSizeParameters.

Image MinMax

MinMax

Primitives for computing both the minimal and the maximal values of an image.

MinMax

The functions require the device scratch buffer.

Common parameters for nppiMinMax functions include:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pMin

Pointer to the computed minimal result.

param pMax

Pointer to the computed maximal result.

param pDeviceBuffer

Buffer to a scratch memory. Use nppiMinMax_XX_XXX to determine the minium number of bytes required.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes

NppStatus nppiMinMax_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pMin, Npp8u *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image MinMax.

NppStatus nppiMinMax_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pMin, Npp8u *pMax, Npp8u *pDeviceBuffer)

One-channel 8-bit unsigned image MinMax.

NppStatus nppiMinMax_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16u *pMin, Npp16u *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

One-channel 16-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16u *pMin, Npp16u *pMax, Npp8u *pDeviceBuffer)

One-channel 16-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16s *pMin, Npp16s *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

One-channel 16-bit signed image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16s *pMin, Npp16s *pMax, Npp8u *pDeviceBuffer)

One-channel 16-bit signed image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp32f *pMin, Npp32f *pMax, Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

One-channel 32-bit floating point image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp32f *pMin, Npp32f *pMax, Npp8u *pDeviceBuffer)

One-channel 32-bit floating point image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u aMin[3], Npp8u aMax[3], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u aMin[3], Npp8u aMax[3], Npp8u *pDeviceBuffer)

Three-channel 8-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16u aMin[3], Npp16u aMax[3], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16u aMin[3], Npp16u aMax[3], Npp8u *pDeviceBuffer)

Three-channel 16-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16s aMin[3], Npp16s aMax[3], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Three-channel 16-bit signed image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16s aMin[3], Npp16s aMax[3], Npp8u *pDeviceBuffer)

Three-channel 16-bit signed image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp32f aMin[3], Npp32f aMax[3], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Three-channel 32-bit floating point image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp32f aMin[3], Npp32f aMax[3], Npp8u *pDeviceBuffer)

Three-channel 32-bit floating point image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u aMin[3], Npp8u aMax[3], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image MinMax ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u aMin[3], Npp8u aMax[3], Npp8u *pDeviceBuffer)

Four-channel 8-bit unsigned image MinMax ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16u aMin[3], Npp16u aMax[3], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image MinMax ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16u aMin[3], Npp16u aMax[3], Npp8u *pDeviceBuffer)

Four-channel 16-bit unsigned image MinMax ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16s aMin[3], Npp16s aMax[3], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16s aMin[3], Npp16s aMax[3], Npp8u *pDeviceBuffer)

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp32f aMin[3], Npp32f aMax[3], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image MinMax ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp32f aMin[3], Npp32f aMax[3], Npp8u *pDeviceBuffer)

Four-channel 32-bit floating point image MinMax ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u aMin[4], Npp8u aMax[4], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u aMin[4], Npp8u aMax[4], Npp8u *pDeviceBuffer)

Four-channel 8-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16u aMin[4], Npp16u aMax[4], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16u aMin[4], Npp16u aMax[4], Npp8u *pDeviceBuffer)

Four-channel 16-bit unsigned image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16s aMin[4], Npp16s aMax[4], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp16s aMin[4], Npp16s aMax[4], Npp8u *pDeviceBuffer)

Four-channel 16-bit signed image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp32f aMin[4], Npp32f aMax[4], Npp8u *pDeviceBuffer, NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

NppStatus nppiMinMax_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp32f aMin[4], Npp32f aMax[4], Npp8u *pDeviceBuffer)

Four-channel 32-bit floating point image MinMax.

For common parameter descriptions, see Common parameters for nppiMinMax functions include:.

MinMaxGetBufferHostSize

Companion primitives for computing the device buffer size (in bytes) required by the MinMax primitives.

CommonMinMaxGetBufferHostSizeParameters

Common parameters for nppiMinMaxGetBufferHostSize functions include:

param oSizeROI

Region-Of-Interest (ROI).

param hpBufferSize

Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.

param nppStreamCtx

Application Managed Stream Context.

return

NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), ROI Related Error Codes.

NppStatus nppiMinMaxGetBufferHostSize_8u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_8u_C1R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_8u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_8u_C1R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_16u_C1R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_16u_C1R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16s_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_16s_C1R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16s_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_16s_C1R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_32f_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_32f_C1R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_32f_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_32f_C1R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_8u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_8u_C3R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_8u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_8u_C3R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_16u_C3R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_16u_C3R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16s_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_16s_C3R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16s_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_16s_C3R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_32f_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_32f_C3R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_32f_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_32f_C3R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_8u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_8u_AC4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_8u_AC4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_16u_AC4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_16u_AC4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16s_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_16s_AC4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_16s_AC4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_32f_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_32f_AC4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_32f_AC4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_8u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_8u_C4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_8u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_8u_C4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_16u_C4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_16u_C4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16s_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMinMax_16s_C4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_16s_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMinMax_16s_C4R.

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_32f_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

NppStatus nppiMinMaxGetBufferHostSize_32f_C4R(NppiSize oSizeROI, int *hpBufferSize)

For common parameter descriptions, see CommonMinMaxGetBufferHostSizeParameters.

Image Mean

Mean

Primitives for computing the arithmetic mean of all the pixel values in an image.

Mean

Given an image \(pSrc\) with width \(W\) and height \(H\), the arithmetic mean will be computed as

\[Mean = \frac{1}{W\cdot H}\sum_{j=0}^{H-1}\sum_{i=0}^{W-1}pSrc(j,i)\]
The mean functions require additional scratch buffer for computations.

Common parameters for nppiMean functions include:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pMask

Mask-Image Pointer.

param nMaskStep

Mask-Image Line Step.

param nCOI

Channel_of_Interest Number.

param pDeviceBuffer

Pointer to the required device memory allocation, Scratch Buffer and Host Pointer Use nppiMeanGetBufferHostSize_XX_XXX to determine the minium number of bytes required.

param pMean

Pointer to the computed mean result.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes, or NPP_COI_ERROR if an invalid channel of interest is specified.s

NppStatus nppiMean_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean)

One-channel 8-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

One-channel 16-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean)

One-channel 16-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16s_C1R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

One-channel 16-bit signed image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16s_C1R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean)

One-channel 16-bit signed image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

One-channel 32-bit floating point image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean)

One-channel 32-bit floating point image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C3R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3], NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C3R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3])

Three-channel 8-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C3R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C3R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3])

Three-channel 16-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16s_C3R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3], NppStreamContext nppStreamCtx)

Three-channel 16-bit signed image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16s_C3R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3])

Three-channel 16-bit signed image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C3R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3], NppStreamContext nppStreamCtx)

Three-channel 32-bit floating point image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C3R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3])

Three-channel 32-bit floating point image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4])

Four-channel 8-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4])

Four-channel 16-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16s_C4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16s_C4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4])

Four-channel 16-bit signed image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4])

Four-channel 32-bit floating point image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_AC4R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3], NppStreamContext nppStreamCtx)

Four-channel 8-bit unsigned image Mean ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_AC4R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3])

Four-channel 8-bit unsigned image Mean ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_AC4R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit unsigned image Mean ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_AC4R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3])

Four-channel 16-bit unsigned image Mean ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16s_AC4R_Ctx(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3], NppStreamContext nppStreamCtx)

Four-channel 16-bit signed image Mean ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16s_AC4R(const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3])

Four-channel 16-bit signed image Mean ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_AC4R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3], NppStreamContext nppStreamCtx)

Four-channel 32-bit floating point image Mean ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_AC4R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3])

Four-channel 32-bit floating point image Mean ignoring alpha channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C1MR_Ctx(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

Masked one-channel 8-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C1MR(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean)

Masked one-channel 8-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8s_C1MR_Ctx(const Npp8s *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

Masked one-channel 8-bit signed image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8s_C1MR(const Npp8s *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean)

Masked one-channel 8-bit signed image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C1MR_Ctx(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

Masked one-channel 16-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C1MR(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean)

Masked one-channel 16-bit unsigned image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C1MR_Ctx(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

Masked one-channel 32-bit floating point image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C1MR(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean)

Masked one-channel 32-bit floating point image Mean.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C3CMR_Ctx(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

Masked three-channel 8-bit unsigned image Mean affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8u_C3CMR(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean)

Masked three-channel 8-bit unsigned image Mean affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8s_C3CMR_Ctx(const Npp8s *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

Masked three-channel 8-bit signed image Mean affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_8s_C3CMR(const Npp8s *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean)

Masked three-channel 8-bit signed image Mean affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C3CMR_Ctx(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

Masked three-channel 16-bit unsigned image Mean affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_16u_C3CMR(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean)

Masked three-channel 16-bit unsigned image Mean affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C3CMR_Ctx(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean, NppStreamContext nppStreamCtx)

Masked three-channel 32-bit floating point image Mean affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

NppStatus nppiMean_32f_C3CMR(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean)

Masked three-channel 32-bit floating point image Mean affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean functions include:.

MeanGetBufferHostSize

Companion primitives for computing the device buffer size (in bytes) required by the Mean primitives.

CommonMeanGetBufferHostSizeParameters

Common parameters for nppiMeanGetBufferHostSize functions include:

param oSizeROI

Region-Of-Interest (ROI).

param hpBufferSize

Required buffer size. Important: hpBufferSize is a host pointer. Scratch Buffer and Host Pointer.

param nppStreamCtx

Application Managed Stream Context.

return

NPP_NULL_POINTER_ERROR if hpBufferSize is 0 (NULL), ROI Related Error Codes.

NppStatus nppiMeanGetBufferHostSize_8u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_8u_C1R.

NppStatus nppiMeanGetBufferHostSize_8u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_8u_C1R.

NppStatus nppiMeanGetBufferHostSize_16u_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16u_C1R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16u_C1R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16s_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16s_C1R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16s_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16s_C1R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C1R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_32f_C1R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C1R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_32f_C1R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_8u_C3R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_8u_C3R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16u_C3R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16u_C3R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16s_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16s_C3R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16s_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16s_C3R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C3R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_32f_C3R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C3R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_32f_C3R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_8u_AC4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_8u_AC4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16u_AC4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16u_AC4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16s_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16s_AC4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16s_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16s_AC4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_AC4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_32f_AC4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_AC4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_32f_AC4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_8u_C4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_8u_C4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16u_C4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16u_C4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16s_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16s_C4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16s_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16s_C4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C4R_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_32f_C4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C4R(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_32f_C4R.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_C1MR_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_8u_C1MR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_C1MR(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_8u_C1MR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8s_C1MR_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_8s_C1MR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8s_C1MR(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_8s_C1MR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C1MR_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16u_C1MR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C1MR(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16u_C1MR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C1MR_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_32f_C1MR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C1MR(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_32f_C1MR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_C3CMR_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_8u_C3CMR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8u_C3CMR(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_8u_C3CMR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8s_C3CMR_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_8s_C3CMR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_8s_C3CMR(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_8s_C3CMR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C3CMR_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_16u_C3CMR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_16u_C3CMR(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_16u_C3CMR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C3CMR_Ctx(NppiSize oSizeROI, int *hpBufferSize, NppStreamContext nppStreamCtx)

Buffer size for nppiMean_32f_C3CMR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

NppStatus nppiMeanGetBufferHostSize_32f_C3CMR(NppiSize oSizeROI, int *hpBufferSize)

Buffer size for nppiMean_32f_C3CMR.

For common parameter descriptions, see CommonMeanGetBufferHostSizeParameters.

Image Mean StdDev

Mean_StdDev

Primitives for computing both the arithmetic mean and the standard deviation of an image.

Mean_StdDev

Given an image \(pSrc\) with width \(W\) and height \(H\), the mean and the standard deviation will be computed as

\[Mean = \frac{1}{W\cdot H}\sum_{j=0}^{H-1}\sum_{i=0}^{W-1}pSrc(j,i)\]
\[StdDev = \sqrt{\frac{1}{W\cdot H}\sum_{j=0}^{H-1}\sum_{i=0}^{W-1}(pSrc(j,i)-Mean)^2}\]
The Mean_StdDev primitives require additional scratch buffer for computations.

Common parameters for nppiMean_StdDev functions include:

param pSrc

Source-Image Pointer.

param nSrcStep

Source-Image Line Step.

param oSizeROI

Region-Of-Interest (ROI).

param pMask

Mask-Image Pointer.

param nMaskStep

Mask-Image Line Step.

param nCOI

Channel_of_Interest Number.

param pDeviceBuffer

Pointer to the required device memory allocation, Scratch Buffer and Host Pointer Use MeanStdDevGetBufferHostSize to determine the minium number of bytes required.

param pMean

Pointer to the computed mean.

param pStdDev

Pointer to the computed standard deviation.

param nppStreamCtx

Application Managed Stream Context.

return

Image Data Related Error Codes, ROI Related Error Codes, or NPP_COI_ERROR if an invalid channel of interest is specified.

NppStatus nppiMean_StdDev_8u_C1R_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

One-channel 8-bit unsigned image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8u_C1R(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

One-channel 8-bit unsigned image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8s_C1R_Ctx(const Npp8s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

One-channel 8-bit signed image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8s_C1R(const Npp8s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

One-channel 8-bit signed image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_16u_C1R_Ctx(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

One-channel 16-bit unsigned image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_16u_C1R(const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

One-channel 16-bit unsigned image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_32f_C1R_Ctx(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

One-channel 32-bit floating point image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_32f_C1R(const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

One-channel 32-bit floating point image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8u_C1MR_Ctx(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

Masked one-channel 8-bit unsigned image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8u_C1MR(const Npp8u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

Masked one-channel 8-bit unsigned image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8s_C1MR_Ctx(const Npp8s *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

Masked one-channel 8-bit signed image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8s_C1MR(const Npp8s *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

Masked one-channel 8-bit signed image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_16u_C1MR_Ctx(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

Masked one-channel 16-bit unsigned image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_16u_C1MR(const Npp16u *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

Masked one-channel 16-bit unsigned image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_32f_C1MR_Ctx(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

Masked one-channel 32-bit floating point image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_32f_C1MR(const Npp32f *pSrc, int nSrcStep, const Npp8u *pMask, int nMaskStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

Masked one-channel 32-bit floating point image Mean_StdDev.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

Channel Mean_StdDev

See Channel-of-Interest API.

NppStatus nppiMean_StdDev_8u_C3CR_Ctx(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev, NppStreamContext nppStreamCtx)

Three-channel 8-bit unsigned image Mean_StdDev affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8u_C3CR(const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, int nCOI, Npp8u *pDeviceBuffer, Npp64f *pMean, Npp64f *pStdDev)

Three-channel 8-bit unsigned image Mean_StdDev affecting only single channel.

For common parameter descriptions, see Common parameters for nppiMean_StdDev functions include:.

NppStatus nppiMean_StdDev_8s_C3CR_Ctx(const Npp8s *pSrc, int nSrcStep, NppiSize oSizeROI, int