How to convert 3D image to 1D data?

조회 수: 25 (최근 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 CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by