Visible to Intel only — GUID: GUID-420E12F0-17A2-40ED-B899-C3F37A1578A8
Visible to Intel only — GUID: GUID-420E12F0-17A2-40ED-B899-C3F37A1578A8
Magnitude
Computes magnitude of elements of a complex data image.
Syntax
IppStatus ippiMagnitude_<mod>(const Ipp<srcDatatype>* pSrc, int srcStep, Ipp<dstDatatype>* pDst, int dstStep, IppiSize roiSize);
Supported values for mod:
32fc32f_C1R |
32fc32f_C3R |
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
pSrc |
Pointer to the source image ROI. |
srcStep |
Distance in bytes between starts of consecutive lines in the source image. |
pDst |
Pointer to the destination image ROI. |
dstStep |
Distance in bytes between starts of consecutive lines in the destination image. |
roiSize |
Size of the source and destination ROI in pixels. |
Description
This function operates with ROI (see Regions of Interest in Intel IPP).
This function computes magnitude of elements of the source image pSrc given in complex data format, and stores results in the destination image pDst.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pSrc or pDst pointer is NULL. |
ippStsStepErr |
Indicates an error condition if srcStep or dstStep value is zero or negative. |
ippStsSizeErr |
Indicates an error condition if width or height of images is less than or equal to zero. |