image-tiff
image-tiff copied to clipboard
OME-TIFF specification
I would like to be able to encode and decode tiff images that follow the OME-TIFF/OME-XML specifications.
My specific use case for this functionality is in microscopy imaging or bio-imaging experiments. OME-TIFF, and related formats, seem to have converged as the standard open source specification for microscopy and bio-imaging. A functional OME-TIFF encoder/decoder in rust would open a lot of doors for writing a lot more pure rust code for these applications.
The documentation laying out the data model/format is pretty good and found here: https://ome-model.readthedocs.io/en/stable/index.html.
I would be interested in contributing something here but I'm definitely unfamiliar with this API as I mostly interface with it through the high-level API in the image crate.
Edit: I have played around with just pushing everything to vector of pixels and reshaping using existing methods, but definitely not consistent with the api
I think the main thing at the level of this crate would be making sure that the relevant metadata items can be queried/set. The actual parsing and interpretation of the OME metadata would then be a separate library. Does that make sense?