Downscaling an Image without loading in memory

I’m working on large images which require a lot of memory to load. Ideally I would like to convert this image into OME-Zarr pyramid. However, loading the image in memory is not a option.

Dimensions xyz(7175, 8910, 2636).

Alternatively if it’s not possible to make Zarr pyramids without loading the image in memory. I am looking to downscale the image in all dimensions so that it can fit in memory.

Any suggestions are appreciated. Thanks!

Hi @noone, welcome to Dask community!

It would be much easier if you provided a minimum example or some code snippet of what you are trying to do. What is the format of your Input images?

It should be easy to process your input images by chunk with Dask Arrays and write it as a Zarr file, but I don’t know the OME-Zarr pyramid format. I came across some post while doing a basic google search, but I’m not sure if it fits your need or not: