Image Acquisition Toolbox

Triggering and Acquisition Customizations

Image Acquisition Toolbox supports multiple trigger types to customize the acquisition process: immediate, manual, and hardware. Initiating an acquisition with a manual trigger gives extensive control over when to begin acquisition. In some applications, you may want to record at a high frame rate, perform acquisition only when an object is detected, or when a proximity warning is issued as a trigger. In these situations, you can write MATLAB code to create the logic to activate a manual trigger that can be controlled by the toolbox. Hardware triggers, which are device-specific, let you synchronize your acquisition among several multimodal devices to an external signal. This enables you to record imagery along with other analog and digital input sources.

Callbacks and Events

You can create callback functions or customized code that automatically execute when specific events occur, such as when acquisition starts or stops, a trigger occurs, or a set number of frames is acquired. Callback events can be used to process your data as it is acquired by the image acquisition engine or to automate configuration settings as acquisition starts and stops. For example, you can measure statistics of frames within a video stream and activate downstream processing when a threshold is surpassed. In addition, buffer and memory options let you control the acquisition process further and flush data when needed.

An image captured by Image Acquisition Toolbox (center) from a camera (left), and a display of motion detected by optical flow (right). Callbacks and MATLAB serial I/O capabilities can be used to pan and tilt the camera to track an object.

An image captured by Image Acquisition Toolbox (center) from a camera (left), and a display of motion detected by optical flow (right). Callbacks and MATLAB serial I/O capabilities can be used to pan and tilt the camera to track an object.

Image Acquisition Thread

The acquisition thread is designed to run separately from the MATLAB thread in order to provide maximum performance. Using a toolbox function, you can initiate an acquisition thread for each connected device, enabling high-speed frame capture, asynchronous acquisition, and multidevice synchronization. You can capture as high a frame rate and resolution as your camera and computer will support. The image acquisition engine manages the data buffer and provides the ability to access data from the buffer whenever needed.

The relationship between the acquisition thread and MATLAB. You can initiate acquisition threads that operate separately from the MATLAB process, providing fast acquisition capabilities and synchronization across multiple devices.

Relationship between the acquisition thread and MATLAB. You can initiate acquisition threads that operate separately from the MATLAB process, providing fast acquisition capabilities and synchronization across multiple devices.

Next: Extensible Hardware Support

Try Image Acquisition Toolbox

Get trial software

Computer Vision Made Easy

View webinar