NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.5.0.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
Fourier Transforms

The set of Fourier transform functions available in the library. More...

Functions

NppStatus nppiMagnitude_32fc32f_C1R_Ctx (const Npp32fc *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 32-bit floating point complex to 32-bit floating point magnitude. More...
 
NppStatus nppiMagnitude_32fc32f_C1R (const Npp32fc *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 
NppStatus nppiMagnitudeSqr_32fc32f_C1R_Ctx (const Npp32fc *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI, NppStreamContext nppStreamCtx)
 32-bit floating point complex to 32-bit floating point squared magnitude. More...
 
NppStatus nppiMagnitudeSqr_32fc32f_C1R (const Npp32fc *pSrc, int nSrcStep, Npp32f *pDst, int nDstStep, NppiSize oSizeROI)
 

Detailed Description

The set of Fourier transform functions available in the library.

Function Documentation

NppStatus nppiMagnitude_32fc32f_C1R ( const Npp32fc pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI 
)
NppStatus nppiMagnitude_32fc32f_C1R_Ctx ( const Npp32fc pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

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).
nppStreamCtxApplication Managed Stream Context
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 
)
NppStatus nppiMagnitudeSqr_32fc32f_C1R_Ctx ( const Npp32fc pSrc,
int  nSrcStep,
Npp32f pDst,
int  nDstStep,
NppiSize  oSizeROI,
NppStreamContext  nppStreamCtx 
)

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).
nppStreamCtxApplication Managed Stream Context
Returns
Image Data Related Error Codes, ROI Related Error Codes

Copyright © 2009-2021 NVIDIA CORPORATION AND AFFILIATES