How cann i get images from HDF5 data?
    10 views (last 30 days)
  
       Show older comments
    
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 Comment
  Stefan Stanko
 on 4 Nov 2021
				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?
Answers (1)
  Vishwas
    
 on 6 Dec 2017
        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 Comments
See Also
Categories
				Find more on HDF5 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!

