Open LucaMarconato opened 4 weeks ago
Note, we have a already a parser for .geojson
data into a shapes object in ShapesModel.parse()
. It could be a good starting point to move that into a CLI function.
Instead, for say .png
-> .zarr
conversion, the pseudocode would look something like this:
skimage.imread
to read the image lazilyImage2DModel.parse
to parse the imageSpatialData
object and write it to disk.In particular a very convenient use case would be to quick extract an image in, say, .png
, from a Zarr store.
If we have a single image, say a
.tiff
file, it would be convenient to be able to:SpatialData
Zarr stored object with a single imageSpatialData
object All using the CLI.