How to convert 3D image to 1D data?

24 ビュー (過去 30 日間)
TheRealTonyStark
TheRealTonyStark 2019 年 10 月 20 日
コメント済み: TheRealTonyStark 2019 年 10 月 22 日
I had the temperature temperature readings of a sensor which is 5002x1 double. I took the readings for different temperatures say 8 and made the temp as a 2D array of 5002x8 double. I converted it into a 3D image (.png) and did some processing. Now I want to convert this 3D image back to temp data. How can I do that?
  6 件のコメント
TheRealTonyStark
TheRealTonyStark 2019 年 10 月 22 日
result.png
TheRealTonyStark
TheRealTonyStark 2019 年 10 月 22 日
Above is the processed image of the temperature data. I need to convert it back to temperature data. The yellow line shows the const temperature.

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

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 10 月 20 日
編集済み: KALYAN ACHARJYA 2019 年 10 月 20 日
result=reshape(3Dimage,[1 rows*colm*depth])
  1 件のコメント
TheRealTonyStark
TheRealTonyStark 2019 年 10 月 21 日
Sir, I think you have misunderstood my question. I want to reverse the image mapping function and get the original temperature data which is not on the range 0-255 from the processed (.png) image.
Reference : Intensifying the response of distributed optical fibre sensors using 2D and 3D image restoration. (https://www.nature.com/articles/ncomms10870)

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by