NVIDIA Performance Primitives (NPP)  Version 9.1

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

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:

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
pDeviceBufferPointer to the required device memory allocation, Scratch Buffer and Host Pointer Use nppiMinIndxGetBufferHostSize_XX_XXX to determine the minium number of bytes required.
pMinPointer to the computed min result.
pIndexXPointer to the X coordinate of the image min value.
pIndexYPpointer to the Y coordinate of the image min value.
Returns
Image Data Related Error Codes, ROI Related Error Codes
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

MinIndxGetBufferHostSize

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

NppStatus nppiMinIndxGetBufferHostSize_8u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C1R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_16u_C1R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C1R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_16s_C1R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C1R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_32f_C1R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C1R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_8u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C3R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_16u_C3R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C3R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_16s_C3R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C3R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_32f_C3R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C3R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_8u_C4R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_C4R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_16u_C4R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_C4R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_16s_C4R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16s_C4R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_32f_C4R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_C4R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_8u_AC4R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_AC4R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_16u_AC4R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_8u_AC4R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_16s_AC4R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_16u_AC4R. More...
 
NppStatus nppiMinIndxGetBufferHostSize_32f_AC4R (NppiSize oSizeROI, int *hpBufferSize)
 Computes the dvice scratch buffer size (in bytes) for nppiMinIndx_32f_AC4R. More...
 

Detailed Description

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

Function Documentation

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.

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 CommonGetBufferHostSizeParameters.


Copyright © 2009-2017 NVIDIA Corporation