How cann i get images from HDF5 data?
11 次查看(过去 30 天)
显示 更早的评论
i have a HDF5 Data with following structure:
>> h5disp('NT_D1_3_120516_00004_data_000001.h5')
HDF5 NT_D1_3_120516_00004_data_000001.h5
Group '/'
Group '/entry'
Attributes:
'NX_class': 'NXentry'
Group '/entry/data'
Attributes:
'NX_class': 'NXdata'
Dataset 'data'
Size: 2070x2167x77
MaxSize: 2070x2167xInf
Datatype: H5T_STD_U32LE (uint32)
ChunkSize: 2070x2167x1
Filters: unrecognized filter (HDF5 lz4 filter; see http://www.hdfgroup.org/services/contributions.html)
FillValue: 0
Attributes:
'image_nr_low': 1
'image_nr_high': 77
There are 77 images withi 2070x2167points. i can read the data with MatLab:
>> data = h5read('NT_D1_3_120516_00004_data_000001.h5','/entry/data/data')
and get a long list of numbers: see attachment.
now i need 77 images.
How can i get them?
1 个评论
Stefan Stanko
2021-11-4
Hi, I am experiencing the same problem (but cannot even get the numbers because of the lack of a HDF5 lz4 filter). Did you manage to figure out a solution?
回答(1 个)
Vishwas
2017-12-6
I think your question might have an answer here: https://www.mathworks.com/matlabcentral/answers/93316-is-it-possible-to-open-hdf5-h5-images-in-matlab
There is no image ingestion tool available for hdf5 images.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 HDF5 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!