Added new interfaces TiffReader and TiffWriter (here we mostly care about writing)
Added filesystem-based implementations FileTiffReader and FileTiffWriter
Enabled these interfaces in N5ToSliceTIFF and N5MaxProjection
The caller code can now create its own implementation of TiffWriter to enable saving TIFF files to a different backend, for example, cloud storage.
TiffReader is not quite complete yet, and to make use of it in SliceTIFFToN5 we would need to add extend its functionality with file listing, walking a subdirectory recursively, etc. Some of this functionality is already implemented in stitching-spark (DataProvider class hierarchy), so it could be moved here in the future.
TiffReader
andTiffWriter
(here we mostly care about writing)FileTiffReader
andFileTiffWriter
N5ToSliceTIFF
andN5MaxProjection
The caller code can now create its own implementation of
TiffWriter
to enable saving TIFF files to a different backend, for example, cloud storage.TiffReader
is not quite complete yet, and to make use of it inSliceTIFFToN5
we would need to add extend its functionality with file listing, walking a subdirectory recursively, etc. Some of this functionality is already implemented in stitching-spark (DataProvider class hierarchy), so it could be moved here in the future.