How to Open the images extension .hdr and img
2 次查看(过去 30 天)
显示 更早的评论
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
编辑: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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hamamatsu Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!