Skip to content

Add option to scale composed layers according to voxel size - #9922

Draft
Tobias314 wants to merge 1 commit into
masterfrom
compose_scale_from_voxel_size
Draft

Add option to scale composed layers according to voxel size#9922
Tobias314 wants to merge 1 commit into
masterfrom
compose_scale_from_voxel_size

Conversation

@Tobias314

@Tobias314 Tobias314 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

When composing a dataset from datasets with differing voxel sizes, the new dataset now uses the finest of them. WEBKNOSSOS already respects the physical sizes exactly by rebasing the layers' mags whenever the voxel size ratios are powers of two, so the new "Respect voxel size" option is only offered when that is impossible and scaling transforms are the only remaining way to keep the physical sizes.

Summary

Steps to test:

  • abc

Issues:

  • fixes #

(Please delete unneeded items, merge only when none are left open)

  • Added changelog entry (create a $PR_NUMBER.md file in unreleased_changes or use ./tools/create-changelog-entry.py)
  • Added migration guide entry if applicable (edit the same file as for the changelog)
  • Updated documentation if applicable
  • Adapted wk-libs python client if relevant API parts change
  • Removed dev-only changes like prints and application.conf edits
  • Considered common edge cases
  • Needs datastore update after deployment

When composing a dataset from datasets with differing voxel sizes, the
new dataset now uses the finest of them. WEBKNOSSOS already respects the
physical sizes exactly by rebasing the layers' mags whenever the voxel
size ratios are powers of two, so the new "Respect voxel size" option is
only offered when that is impossible and scaling transforms are the only
remaining way to keep the physical sizes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D8N1jGnhM2998phGtD5RKA
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 426cb2ac-ce27-4ceb-8a69-42e362260a6f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@fm3 fm3 added the frontend label Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants