Using FLIR thermal camera with matlab

17 views (last 30 days)
Hi, I'm currently working on FLIR t-420 thermal camera for a graduation project. I've wanted to use thermal camera with matlab image acquisition tool to stream and make live image processing with acquired data. The problem is, acquired frames are not colorful and detailed as in camera.
I will add photos to be better understand. I'm using usb cabble connection by the way
My fingers from matlab image acquisition tool Here same angle from FLIR Thermal Studio
  2 Comments
Image Analyst
Image Analyst on 23 Feb 2023
Edited: Image Analyst on 23 Feb 2023
How are you doing the display of the gray scale image in MATLAB? Are you using
imshow(thermalImage, [])?
Eyüp Enes AYTAÇ
Eyüp Enes AYTAÇ on 23 Feb 2023
This is the direct screen capture from image acquisiton toolbox, but the display frame on live script gives same result.To test and display single frame I've used this code:
vidobj = imaq.VideoDevice('winvideo', 1);
frame = step(vidobj);
imshow(frame)
release(vidobj)
clear vidobj

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 23 Feb 2023
The acquired frames are intensity images -- grayscale. 2D arrays.
imshow(frame) of a 2D array automatically tells MATLAB to use colormap(gray)
You need to decide on a suitable colormap and activate it, either after the imshow() call or by passing it to imshow()
My observation in the past has been that FLIR's colormap does not make logical sense -- the maximum intensity value does not map to maximum brightness or to some maximum hue .
  1 Comment
Eyüp Enes AYTAÇ
Eyüp Enes AYTAÇ on 23 Feb 2023
Thank you for your answer, I will try to use suitible colormap. I hope it's work as I desire.

Sign in to comment.

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!