feat: Add z-level, timepoint, and channel selection for registration#19
Open
Alpaca233 wants to merge 2 commits intoCephla-Lab:mainfrom
Open
feat: Add z-level, timepoint, and channel selection for registration#19Alpaca233 wants to merge 2 commits intoCephla-Lab:mainfrom
Alpaca233 wants to merge 2 commits intoCephla-Lab:mainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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
🤖 Generated with Claude Code