Skip to content

Feature: add downsample_filter option for pyramid downsampling - #97

Open
BrianWhitneyAI wants to merge 2 commits into
mainfrom
feature/downsample-filter
Open

BrianWhitneyAI wants to merge 2 commits into
mainfrom
feature/downsample-filter

Conversation

@BrianWhitneyAI

@BrianWhitneyAI BrianWhitneyAI commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Link to Relevant Issue

This pull request resolves #93

Description of Changes

  • Add downsample_filter ("nearest" default, or "linear") to OmeZarrConverter, passed to OMEZarrWriter and to the shard worker processes.
  • Add --downsample-filter to the CLI options (single and batch).
  • Document that linear must not be used for segmentations or label images (docstring, CLI help, README).
  • Tests for converter (zarr v2 and v3) and CLI.

Requires bioio-ome-zarr>=4.1.0 (pin bumped in this PR).

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

allow linear filtering as an option for downsampling in spatial channels

1 participant