How to convert 3D image to 1D data?

15 views (last 30 days)
TheRealTonyStark
TheRealTonyStark on 20 Oct 2019
Commented: TheRealTonyStark on 22 Oct 2019
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 Comments
TheRealTonyStark
TheRealTonyStark on 22 Oct 2019
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.

Sign in to comment.

Answers (1)

KALYAN ACHARJYA
KALYAN ACHARJYA on 20 Oct 2019
Edited: KALYAN ACHARJYA on 20 Oct 2019
result=reshape(3Dimage,[1 rows*colm*depth])
  1 Comment
TheRealTonyStark
TheRealTonyStark on 21 Oct 2019
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)

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!