FLIR image data in csv (80 by 60) to thermal image.

9 Ansichten (letzte 30 Tage)
Syed Salman Rahman
Syed Salman Rahman am 28 Okt. 2022
I am using Lepton FLIR camera, from which I get an array of 80 by 60 frames for one image. I stored the image data in a csv file, UTF encoding. The values are in the range 30k for each pixel, 16bit values. How can I use MATLAB image processing tool to convert these values into a thermal image? The CSV sample is attached below.

Antworten (1)

Walter Roberson
Walter Roberson am 28 Okt. 2022
Bearbeitet: Walter Roberson am 31 Okt. 2022
Wait, do you have the csv file itself? Or do you only have an image of the csv file and you need to do optical character recognition on it?
If you have the csv file itself, use readmatrix(), uint16(), maybe reshape() if needed, and either image() and colormap() or else imshow()
  1 Kommentar
Syed Salman Rahman
Syed Salman Rahman am 31 Okt. 2022
Bearbeitet: Syed Salman Rahman am 31 Okt. 2022
Hi. Thank you for your reply. I got an array of 60 * 80 for a frame of image. I do not have the image, the output from the camera module is 16 bit int values for each pixel. I tried using colormap(), but it requires 3 inputs: R, G, B; which won't work based on the data from my thermal camera.
For image, it outputs an dot on a white background. I also tried image(), it only gives an output of a yellow image as attached below.
My question is how do I transform this 60 by 80 array into a heatmap by converting these values of 16 bits unsigned int into temperature values?
Thank you

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by