
Getting started with the MATLAB Image Acquisition Toolbox using infrared cameras
Updated Date
How do I start using the MATLAB Image Acquisition Toolbox with my FLIR GenICam camera?
Are there any examples to help get me started?
To connect your FLIR camera to MATLAB, you can use the MATLAB Image Acquisition Toolbox.
Setting up the Image Acquisition Toolbox
If you choose to use the Image Acquisition Toolbox, you need hardware support for GigE cameras, which can be accessed from the MATLAB home screen under Home > Add-Ons > Get Hardware Support, and then searching for Gige and Genicam. You need these two hardware support packages:
- Image Acquisition Toolbox Support Package for GigE Vision Hardware
- Image Acquisition Toolbox Support Package for GenICam Interface
GigE Vision is for acquiring frames from the camera. GenICam is for controlling the camera. Most of our cameras follow both of these standards. Check the camera datasheets to see which standards it complies with.
To check the connected cameras, use the MATLAB command imaqhwinfo
: this will give you a list of the available cameras.
Once you have activated and downloaded the two packages, you should be able to run some camera specific examples.
Examples using the Image Acquisition Toolbox
Attached below you will find example MATLAB scripts written using the Image Acquisition Toolbox. The samples are valid for any FLIR infrared cameras that are GigE Vision and GenICam compatible.
Click the links at the bottom of this answer page to download samples, including
Check out the MATLAB functions listed here and this FLIR document for more information.
Each camera can only be connected to one interface at a time. To disconnect the camera, use the command imaqreset
when switching scripts.
Click here to download the article


















