bigdataviewer / bigdataviewer_fiji

Fiji plugins for starting BigDataViewer and exporting data.
GNU General Public License v3.0
21 stars 9 forks source link

HDF5 native types support #10

Closed xulman closed 11 months ago

xulman commented 6 years ago

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.

xulman commented 11 months ago

this is obsolete by now....