NVIDIA Performance Primitives (NPP)
Version 9.2
|
Primitives for computing the arithmetic mean of all the pixel values in an image. More...
Mean | |||||||||||||||||
Given an image
The mean functions require additional scratch buffer for computations. 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. More... |
|||||||||||||||||
NppStatus | nppiMean_16u_C1R (const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean) | ||||||||||||||||
One-channel 16-bit unsigned image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_16s_C1R (const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean) | ||||||||||||||||
One-channel 16-bit signed image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_32f_C1R (const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f *pMean) | ||||||||||||||||
One-channel 32-bit floating point image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_8u_C3R (const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3]) | ||||||||||||||||
Three-channel 8-bit unsigned image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_16u_C3R (const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3]) | ||||||||||||||||
Three-channel 16-bit unsigned image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_16s_C3R (const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3]) | ||||||||||||||||
Three-channel 16-bit signed image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_32f_C3R (const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[3]) | ||||||||||||||||
Three-channel 32-bit floating point image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_8u_C4R (const Npp8u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4]) | ||||||||||||||||
Four-channel 8-bit unsigned image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_16u_C4R (const Npp16u *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4]) | ||||||||||||||||
Four-channel 16-bit unsigned image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_16s_C4R (const Npp16s *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4]) | ||||||||||||||||
Four-channel 16-bit signed image Mean. More... |
|||||||||||||||||
NppStatus | nppiMean_32f_C4R (const Npp32f *pSrc, int nSrcStep, NppiSize oSizeROI, Npp8u *pDeviceBuffer, Npp64f aMean[4]) | ||||||||||||||||
Four-channel 32-bit floating point image Mean. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
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. More... |
|||||||||||||||||
Primitives for computing the arithmetic mean of all the pixel values in an image.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Buffer size for nppiMean_16s_AC4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16s_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16s_C3R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16s_C4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16u_AC4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16u_C1MR.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16u_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16u_C3CMR.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16u_C3R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_16u_C4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_32f_AC4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_32f_C1MR.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_32f_C1R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_32f_C3CMR.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_32f_C3R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_32f_C4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_8s_C1MR.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_8s_C3CMR.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_8u_AC4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_8u_C1MR.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_8u_C1R.
Buffer size for nppiMean_8u_C3CMR.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_8u_C3R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.
Buffer size for nppiMean_8u_C4R.
For common parameter descriptions, see CommonGetBufferHostSizeParameters.