I use a script to make images match with an atlas. This script input is .raw
images organised in folders like:
imageFolder
-- folder1
---- image1.raw
---- image2.raw
-- folder2
---- image1.raw
---- image2.raw
I have an image in hdf5
and I would like to convert it into multiple files as presented before. This organization looks like hdf5
, doesn't it?
I would like to know if it's possible to do this in Python. And if it is, which package should I use?
I looked at h5py
but I didn't find a function to export to raw and keep the hierarchy.