Visible to Intel only — GUID: GUID-580E6E7D-A271-4A8B-BE98-BC3A01005749
Visible to Intel only — GUID: GUID-580E6E7D-A271-4A8B-BE98-BC3A01005749
GetCentralMoment
Retrieves image central moment computed by ippiMoments.
Syntax
IppStatus ippiGetCentralMoment_64f(const IppiMomentState_64f* pState, int mOrd, int nOrd, int nChannel, Ipp64f* pValue);
Include Files
ippi.h
Domain Dependencies
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
Parameters
pState |
The structure that stores image moments. |
mOrd, nOrd |
Integer power exponents defining the moment order. These arguments must satisfy the condition 0 ≤mOrd+nOrd≤ 3. |
nChannel |
The channel for which the moment is returned. |
pValue |
Pointer to the returned moment value. |
Description
This function returns the pointer pValue to the central moment previously computed by the ippiMoments function. The moment order is specified by the integer exponents mOrd, nOrd.
Return Values
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pState or pValue pointer is NULL. |
ippStsContextMatchErr |
Indicates an error condition if a pointer to an invalid structure is passed. |
ippStsSizeErr |
Indicates an error condition if mOrd + nOrd is greater than 3, or nChannel has an illegal value. |