Using FLIR thermal camera with matlab

17 visualizzazioni (ultimi 30 giorni)
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 Commenti
Image Analyst
Image Analyst il 23 Feb 2023
Modificato: Image Analyst il 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Ç il 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

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 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 Commento
Eyüp Enes AYTAÇ
Eyüp Enes AYTAÇ il 23 Feb 2023
Thank you for your answer, I will try to use suitible colormap. I hope it's work as I desire.

Accedi per commentare.

Più risposte (0)

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by