Developer Reference for Intel® Integrated Performance Primitives 2018
Retrieves image Hu moment invariants computed by ippiMoments function.
IppStatus ippiGetHuMoments_64f(const IppiMomentState_64f* pState, int nChannel, IppiHuMoment_64f pHm);
ippi.h
Headers: ippcore.h, ippvm.h, ipps.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib
pState |
Pointer to the structure that stores image moments. |
nChannel |
The channel for which the moment is returned. |
pHm |
Pointer to the array containing the Hu moment invariants. |
This function returns the pointer pHm to the array of seven Hu moment invariants previously computed by the ippiMoments function.
ippStsNoErr |
Indicates no error. Any other value indicates an error or a warning. |
ippStsNullPtrErr |
Indicates an error condition if pState or pHm pointer is NULL. |
ippStsContextMatchErr |
Indicates an error condition if a pointer to an invalid structure is passed. |
ippStsMoment00ZeroErr |
Indicates an error condition if M(0,0) value is close to zero. |