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).

is_AllocImageMem()

Allocates an image memory.

is_SetAllocatedImageMem()

The user provides pre-allocated memory for image capturing.

is_FreeImageMem()

Releases an allocated image memory.

 

An image memory has to be activated before each image capture:

is_SetImageMem()

Makes an image memory active.

 

To query image memory information and access the data in the image memories, you can use these functions:

is_CopyImageMem()

Copies the image to the user-defined memory.

is_CopyImageMemLines()

Copies selected image lines to the user-defined memory.

is_GetActiveImageMem()

Returns the number and address of the active image memory.

is_GetImageMem()

Returns the pointer to the starting address of the image memory.

is_GetImageMemPitch()

Returns the line offset used in the image memory.

is_InquireImageMem()

Returns the properties of an image memory.

Hinweis

Image memory sequences should be used for frame sequence capture.

Flowchart: Allocating memory

Icon_Cursorhand2

Figure 131: Flowchart - Allocating memory using system functions

Figure 131: Flowchart - Allocating memory using system functions

Icon_Cursorhand2

Figure 132: Flowchart - Releasing memory

Figure 132: Flowchart - Releasing memory


Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com