uEye SDK C/C++ Image Queue
Name
uEyeImageQueue
Programming language and interface
uEye Software Version: V4.90.3
uEye SDK ☒ Core SDK (C/C++) ☐ .NET SDK (C#)
Platform of exe file: ☐ 32bit ☒ 64bit
Development platform: Visual Studio 2015
Operating System ☒ Windows ☐ Linux
© 2018 IDS Imaging Development Systems GmbH 1/6
uEye SDK C/C++ Image Queue
Description
This sample shows the basic idea how to continuously capture images without losing frames. A ring
image buffer sequence with at least 3 buffers is used. These buffers are put into the image queue.
Images are acquired into the buffer system. Using the image queue, the oldest buffer can always be
fetched. The image buffer is automatically locked. After safely processing the image data, the buffer is
unlocked and put back into the queue to be re-used.
Collecting the image buffers is done in a detached thread. That thread does not depend on GUI
interaction and allows collecting images without being interrupted.
Among others, uEye API functions/methods used
is_AllocImageMem
is_FreeImageMem
is_AddToSequence
is_ClearSequence
is_InitImageQueue
is_ExitImageQueue
is_WaitForNextImage
© 2018 IDS Imaging Development Systems GmbH 2/6
uEye SDK C/C++ Image Queue
Flowcharts
The flowcharts below show how the most interesting parts of the sample software work. The
flowcharts do not cover the whole application.
© 2018 IDS Imaging Development Systems GmbH 3/6
uEye SDK C/C++ Image Queue
© 2018 IDS Imaging Development Systems GmbH 4/6
uEye SDK C/C++ Image Queue
© 2018 IDS Imaging Development Systems GmbH 5/6
uEye SDK C/C++ Image Queue
Cameras
All uEye camera models. Note that XS and UI-3013XC camera might require an extra handling.
Contact
IDS Imaging Development Systems GmbH
Dimbacher Straße 6-8
74182 Obersulm
Germany
Phone: +49 7134 96196-0
Email: marketing@ids-imaging.com
Web: www.ids-imaging.com
© 2018 IDS Imaging Development Systems GmbH 6/6