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

9 ビュー (過去 30 日間)
Syed Salman Rahman
Syed Salman Rahman 2022 年 10 月 28 日
編集済み: Syed Salman Rahman 2022 年 10 月 31 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 10 月 28 日
編集済み: Walter Roberson 2022 年 10 月 31 日
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 件のコメント
Syed Salman Rahman
Syed Salman Rahman 2022 年 10 月 31 日
編集済み: Syed Salman Rahman 2022 年 10 月 31 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by