| Home > C: Programming > How to proceed > Preparing image capture > | History back Previous chapter Next chapter Print |
Allocating image memory |
|
uEye Camera Manual Version 4.00
When you are programming an application that
•requires direct access to the image data in stored in memory, or
•uses Bitmap mode (DIB) for display
use the following functions to allocate and manage image memories (see also Quick start: Image display).
Allocates an image memory. |
|
The user provides pre-allocated memory for image capturing. |
|
Releases an allocated image memory. |
An image memory has to be activated before each image capture:
Makes an image memory active. |
To query image memory information and access the data in the image memories, you can use these functions:
Copies the image to the user-defined memory. |
|
Copies selected image lines to the user-defined memory. |
|
Returns the number and address of the active image memory. |
|
Returns the pointer to the starting address of the image memory. |
|
Returns the line offset used in the image memory. |
|
Returns the properties of an image memory. |
|
|
|
![]() Fig. 146: Flowchart - Allocating memory using system functions |
|
![]() Fig. 147: Flowchart - Releasing memory |