I've finished adding the support for (some) imglib2 pixel types while saving/reading BDV's XML/HDF5. The HDF5 takes the pixel data as they are and saves them natively. For instance, no everything-to-GRAY16 conversion is happening when exporting into XML/HDF5, instead the code now attempts to save as is.
I needed to extend the XML format with just one keyword to mark what voxel type was used when creating the accompanied HDF5 file. When reading (old) XMLs that don't have it, UnsignedShortType is assumed, making it backward compatible.
There are corresponding changes in the bigdataviewer-core repo (also in the branch HDF5_nativeTypes_byVlado).
Hi,
I've finished adding the support for (some) imglib2 pixel types while saving/reading BDV's XML/HDF5. The HDF5 takes the pixel data as they are and saves them natively. For instance, no everything-to-GRAY16 conversion is happening when exporting into XML/HDF5, instead the code now attempts to save as is.
I needed to extend the XML format with just one keyword to mark what voxel type was used when creating the accompanied HDF5 file. When reading (old) XMLs that don't have it, UnsignedShortType is assumed, making it backward compatible.
There are corresponding changes in the bigdataviewer-core repo (also in the branch HDF5_nativeTypes_byVlado).
Cheers, V.