Home > C: Programming > How To Proceed > Preparing Image Capture > | History back Previous chapter Next chapter Print |
Allocating Image Memory |
uEye Camera Manual Version 3.80
Allocating Image Memory
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. |
|
![]() Figure 131: Flowchart - Allocating memory using system functions |
![]() Figure 132: Flowchart - Releasing memory |