Using FLIR thermal camera with matlab

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

How are you doing the display of the gray scale image in MATLAB? Are you using
imshow(thermalImage, [])?
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

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

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!