How to Open the images extension .hdr and img

4 ビュー (過去 30 日間)
mohd akmal masud
mohd akmal masud 2022 年 2 月 5 日
編集済み: DGM 2022 年 2 月 5 日
Hi Everyone,
These two file is output from my Monte Carlo simulation. as attached.
which is reconstruct the data to an Interfile ect_it2.hdr and the data file. ect_it2.img. The data format for the images will be 32-bit floating
Anyone know how to open it using Matlab??
  1 件のコメント
DGM 2022 年 2 月 5 日
You should be able to use interfileinfo() and interfileread(), but for some reason, neither file can be read. interfileinfo() was throwing errors until I fixed a couple small things in the header. (see attached file; i renamed it as .txt so it could be uploaded)
I still can't get interfileread() to read the file. It's complaining about all sorts of things. At this point, I'm trying to debug the header file for a format I'm not familiar with. Maybe someone who is familiar with these files and tools can be more help.
EDIT: As far as I understand it, there are fields missing that are required. From the documentation here:
!process status := Reconstructed Acquired|Reconstructed
;used below in conditional- MUST be defined
And as far as I understand it, both of those options also imply other fields that are also missing. I don't know if I know enough to figure out what they should be.


回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by