MathWorks® is the leading developer and supplier of software for technical computing and Model-Based Design.
The MATLAB® product family provides a flexible environment for solving complex imaging problems in a wide range of applications including scientific imaging, medicine and biotechnology, aerospace and defense, security, and machine vision. Image Acquisition Toolbox™ enables users to acquire images and video directly from cameras into MATLAB and Simulink. Image Processing Toolbox™ and Computer Vision System Toolbox™ products provide algorithms and tools for building image processing, video processing, and computer vision applications.
- Install Matlab software (R2013a).
- Install the XIMEA API Software Package , which contains the XIMEA GeniCam GenTL Producer .
Note: Installation is not needed on products with pre-installed software packages (e.g. in CURRERA-R Starter Kit)
- Open Matlab and run the installgenicam.m file from the C:\Program Files\MATLAB\R2013a\toolbox\imaq\imaqextern folder.
- Restart PC
The Image Acquisition Tool is a graphical interface for rapid hardware configuration, image acquisition, and live video previewing. The preview window, as shown here, reflects adjustments made to the Ximea camera properties and provides a quick start in the development of image processing systems.
The toolbox has a comprehensive set of functions for command line programming of tasks such as device connection, image data acquisition, to adjust acquisition parameters and more. The code below shows how to connect to a Ximea camera to acquire data:
% Access an image acquisition device vidobj = videoinput('gentl', 3, 'BGRA8Packed'); % List the video input object's configurable properties.vidobj.FramesPerTrigger = 50; % Open the preview window preview(vidobj); % Data acquisition start(vidobj); stop(vidobj); % Cleanup the image acquisition object and the MATLAB® workspace delete(vidobj); clear vidobj;
Visit the Image Acquisition Toolbox support page.