tlnagy / OMETIFF.jl

I/O operations for OME-TIFF files in Julia
Other
24 stars 7 forks source link

first attempt to write OMETIFF #96

Open JiangXL opened 2 years ago

JiangXL commented 2 years ago

Saving OMETIFF is supposed as:

  1. extract metadata from inside OMETIFF container, feed to omexml generator
  2. reinterpret data to 2D into a TiffImage container, feed omexl to first ifd's IMAGEDESCRIPTION tag
  3. save tiff using TiffImage

    I'm still not familiar enough to the internal data structure of OMETIFF and TiffImage, so I have better to keep it simple and independent to avoid confusing: fix some variables and just write a XYTZ series(for my practical). These variables with fixed value should be configurable and flexible later.

We need a function to construct OMETIFF object from raw data, and think about how to update IMAGEDESCRIPTION without dump image data from OMETIFF object. Need help from @tlnagy.

Although it is uncompleted, it still makes sense to auto handle image dimension in reading and writing.