Closed camilolaiton closed 1 year ago
Hello Mike,
I agree with the solution outline. In regards to the open questions/suggestions:
TiledXYZ|3Dseries
? R/ I haven't seen a TiledXYZ|3Dseries
but there is TIFF (tiled, 3D)
in paraconverter which outputs x-y-z tiles. Right now, we're using TIFF (tiled, 4D)
which allows us to output tiles c-x-y-z and the folder structure facilitates us to read data per channel using Dask. documentation.
Originally, parastitcher did not allow the TIFF (Tiled, 4D)
option. Therefore, I included it in the following commit. However, I just tested it in the console, it's not in this repository's source code since I'm launching paraconverter. The main idea is that we only had to worry about a single script. I will update this in the future....zattrs
. However, we can switch to TeraStitcher's --resolutions
option.I agree with you point about using the xarray-multiscale
-- we should keep as much control over algorithms as we can.
John is acquiring a bunch of 1 x 2 tiled data sets right now as part of a photo-bleaching experiment. Maybe one of these would be good enough? They might be kind of large in the z direction though, so maybe we should acquire one specifically for this purpose.
Switch stitching parameters, increase search region and try other algorithms in terastitcher
Closing issue with #9
For discussion, is this the proposed solution outline:
Solution outline
Merge
step of TeraStitcher workflow,--sliceheight
,--slicewidth
, andslicedepth
are set to theY
,X
, andZ
chunk size desired and--volout_plugin
is set toTiledXY|3Dseries
(is there aTiledXYZ|3Dseries
?).code.src.zarr_converter
module ingests the resulting folder and writes a Zarr array with a 1:1 correspondence between Zarr chunks and Tiff files.AICS-imageio
package to allow this, or perhaps not use that package?Separately, it seems like step 4 and 5 are a convenient place to create and store the image pyramid levels using TeraStitcher's
--resolutions
flag. Do we think this should be concurrent work, or a separate issue?Is there a convenient size of data set that is useful for testing? I can have Erica acquire a 2 x 2 tiled data set in the middle of a brain, which should cover several chunks in x, y, and z. Alternatively, we could make a synthetic data set for that.