Skip to content

Conversation

@cjfuller
Copy link
Collaborator

Currently, we infer the number of levels in the zarr pyramid output based on the input image size. This commit adds a parameter to the CLI that lets you override the inference and specify a number explicitly.

Tested by:

  • uv run python -m image_stitcher.stitcher_cli --verbose --output-format .ome.zarr --input-folder ~/cephla-images/16x16_2025-01-17_09-25-24.710194 --num-pyramid-levels 2 (this is an image that normally results in 6 output levels)
  • see it completes successfully
  • see there are only two output levels

Currently, we infer the number of levels in the zarr pyramid output
based on the input image size. This commit adds a parameter to the CLI
that lets you override the inference and specify a number explicitly.

Tested by:
- `uv run python -m image_stitcher.stitcher_cli --verbose --output-format .ome.zarr --input-folder ~/cephla-images/16x16_2025-01-17_09-25-24.710194 --num-pyramid-levels 2` (this is an image that normally results in 6 output levels)
- see it completes successfully
- see there are only two output levels
@cjfuller cjfuller requested a review from hongquanli January 21, 2025 20:09
@cjfuller cjfuller merged commit 55867b6 into main Jan 21, 2025
@cjfuller cjfuller deleted the colin/explicit_levels branch January 21, 2025 20:09
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

Successfully merging this pull request may close these issues.

2 participants