Visible to Intel only — GUID: GUID-54ACA684-1C32-41E5-9653-D1E658CD55BF
Visible to Intel only — GUID: GUID-54ACA684-1C32-41E5-9653-D1E658CD55BF
PhasePack
MODIFIED API. Computes the phase of elements of an image in packed format.
Syntax
IppStatus ippiPhasePack_<mod>(const Ipp<datatype>* pSrc, int srcStep, Ipp<datatype>* pDst, int dstStep, IppiSize dstRoiSize, Ipp8u* pBuffer);
Supported values for mod:
32f_C1R |
32f_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. |
dstRoiSize |
Size of the destination ROI in pixels. |
pBuffer |
Pointer to the work buffer. To compute the size of the buffer, use the PhasePackGetBufferSize function. |
Description
This function operates with ROI (see Regions of Interest in Intel IPP).
This function computes the phase of elements of a source image pSrc given in RCPack2D format and stores the 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 when pSrc or pDst pointer is NULL. |
ippStsStepErr |
Indicates an error when srcStep or dstStep value is zero or negative. |
ippStsSizeErr |
Indicates an error when width or height of images is less than, or equal to zero. |