NVIDIA Performance Primitives (NPP)
Version 9.2
|
Functions | |
NppStatus | nppiMagnitude_32fc32f_C1R (const Npp32fc *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI) |
32-bit floating point complex to 32-bit floating point magnitude. More... |
|
NppStatus | nppiMagnitudeSqr_32fc32f_C1R (const Npp32fc *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI) |
32-bit floating point complex to 32-bit floating point squared magnitude. More... |
|
NppStatus nppiMagnitude_32fc32f_C1R | ( | const Npp32fc * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
32-bit floating point complex to 32-bit floating point magnitude.
Converts complex-number pixel image to single channel image computing the result pixels as the magnitude of the complex values.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |
NppStatus nppiMagnitudeSqr_32fc32f_C1R | ( | const Npp32fc * | pSrc, |
int | nSrcStep, | ||
Npp32f * | pDst, | ||
int | nDstStep, | ||
NppiSize | oSizeROI | ||
) |
32-bit floating point complex to 32-bit floating point squared magnitude.
Converts complex-number pixel image to single channel image computing the result pixels as the squared magnitude of the complex values.
The squared magnitude is an itermediate result of magnitude computation and can thus be computed faster than actual magnitude. If magnitudes are required for sorting/comparing only, using this function instead of nppiMagnitude_32fc32f_C1R can be a worthwhile performance optimization.
pSrc | Source-Image Pointer. |
nSrcStep | Source-Image Line Step. |
pDst | Destination-Image Pointer. |
nDstStep | Destination-Image Line Step. |
oSizeROI | Region-of-Interest (ROI). |