NVIDIA Performance Primitives (NPP)  Version 9.1
Functions
Fourier Transforms

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

Detailed Description

Function Documentation

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.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes
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.

Parameters
pSrcSource-Image Pointer.
nSrcStepSource-Image Line Step.
pDstDestination-Image Pointer.
nDstStepDestination-Image Line Step.
oSizeROIRegion-of-Interest (ROI).
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2017 NVIDIA Corporation