Using FLIR thermal camera with matlab

20 次查看(过去 30 天)
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 个评论
Image Analyst
Image Analyst 2023-2-23
编辑:Image Analyst 2023-2-23
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Ç 2023-2-23
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

请先登录,再进行评论。

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by