MomentGetStateSize
Computes the size of the external buffer for the moment context structure.
Syntax
IppStatus ippiMomentGetStateSize_64f(IppHintAlgorithm
hint
, int*
pSize
);
Include Files
ippi.h
Domain Dependencies
Headers:
ippcore.h
,
ippvm.h
,
ipps.h
Libraries:
ippcore.lib
,
ippvm.lib
,
ipps.lib
Parameters
- pSize
- Pointer to the computed value of the buffer size.
- hint
- Option to select the algorithmic implementation of the function.
Description
Use this function to determine the size of the external work buffer for the moment context structure to be initialized by the function ippiMomentInit. Computation algorithm is specified by
hint
argument (see Table “Hint Arguments for Image Moment Functions”
).Return Values
- ippStsNoErr
- Indicates no error. Any other value indicates an error or a warning.
- ippStsNullPtrErr
- Indicates an error condition ifpSizepointer isNULL.