Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote-image: support ome.tif image format #83

Open
PaulHax opened this issue Oct 17, 2023 · 0 comments
Open

remote-image: support ome.tif image format #83

PaulHax opened this issue Oct 17, 2023 · 0 comments

Comments

@PaulHax
Copy link
Collaborator

PaulHax commented Oct 17, 2023

Need to do something about this:

# TODO: code below does not work yet
image = cli_input_to_ngff_image(backend, [mapped_path])
multiscales = to_multiscales(image, method=Methods.DASK_IMAGE_GAUSSIAN)
store, chunk_store = _make_multiscale_store()
to_ngff_zarr(store, multiscales, chunk_store=chunk_store)
return store

That code errors when trying to load an ome.tif file. Need to fix that.

Then later optimization possiblities:

Right now, the remote-renderer package does not actualy request chunks from the returned Zarr store. remote-renderer really wants the image metadata (spacing, array size, etc.) to puppatear agave-renderer. Would be sweet if this chunk of code simply generated NGFF-Zarr metadata for the single image scale raw input, without calling to_multiscales, whose output will never be used.

Or we take bull by horns and feed the NGFF-Zarr output of remote-image::remote_zarr.py to agave-renderer service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant