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

9 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Walter Roberson
Walter Roberson il 28 Ott 2022
Modificato: Walter Roberson il 31 Ott 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 Commento
Syed Salman Rahman
Syed Salman Rahman il 31 Ott 2022
Modificato: Syed Salman Rahman il 31 Ott 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

Accedi per commentare.

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by