GetMemorySize

Gets the size of used memory in the library

int GetMemorySize(
        const int               sizeX,
        const int               sizeY,
        const int               sizePix
)

Parameters
sizeX
Image size X
sizeY
Image size Y
sizePix
Image pixel size

Return Value
Model size (in bytes)
ERROR(-1): Unsuccessful completion

Description
Gets the size of the memory space which is commonly used in measurement library.
This method is called from an application on startup, and notifies the required size.

Notes