Skip to content

feat: Add z-level, timepoint, and channel selection for registration#19

Open
Alpaca233 wants to merge 2 commits intoCephla-Lab:mainfrom
Alpaca233:zt
Open

feat: Add z-level, timepoint, and channel selection for registration#19
Alpaca233 wants to merge 2 commits intoCephla-Lab:mainfrom
Alpaca233:zt

Conversation

@Alpaca233
Copy link

Summary

  • Add z-level selection for registration (use specific z-plane instead of always middle)
  • Add timepoint selection for registration
  • Add channel selection for registration (choose which channel to use for tile alignment)

These controls appear in the Settings section when "Enable registration refinement" is checked and the dataset has multiple z-levels, timepoints, or channels respectively.

Test plan

  • Tests pass (68/68)
  • Linting passes (black)
  • Manual testing with multi-channel dataset
  • Manual testing with multi-z dataset
  • Manual testing with time-series dataset

🤖 Generated with Claude Code

Alpaca233 and others added 2 commits February 9, 2026 21:00
Add the ability to select which z-level and timepoint to use for
registration in multi-z, multi-timepoint acquisitions. Previously,
registration always used the middle z-level and first timepoint.

Changes:
- Add registration_z and registration_t parameters to TileFusion.__init__
- Validate parameters after metadata loading when n_z/n_t are known
- Update _read_tile and _read_tile_region to use registration z/t defaults
- Add dataset_n_z and dataset_n_t state variables to GUI
- Add Z-level and Timepoint spinboxes (shown when registration enabled
  AND dataset has multi-z/t)
- Load dataset dimensions on file drop and update control visibility
- Pass registration z/t values to FusionWorker and PreviewWorker

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add a dropdown to select which channel is used for tile registration.
The channel selector appears alongside z-level and timepoint controls
when registration is enabled and the dataset has multiple channels.

- Add dataset_n_channels and dataset_channel_names state variables
- Add channel combo to registration options widget
- Populate channel names from TileFusion metadata on file load
- Pass selected channel to PreviewWorker and FusionWorker

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant

Comments