Skip to content

add 7 and 9 DOF to segreg#8

Merged
m-reuter merged 6 commits intomainfrom
segreg
Apr 22, 2026
Merged

add 7 and 9 DOF to segreg#8
m-reuter merged 6 commits intomainfrom
segreg

Conversation

@m-reuter
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds 7-DoF (similarity) and 9-DoF (rigid + anisotropic scale, no shear) transform models to segreg, extending centroid-based registration beyond rigid/affine while updating docs/CLI and adding solver + integration tests.

Changes:

  • Implement find_similarity and find_rigid_anisotropic_scale solvers and route them via register_points(dof=7|9).
  • Extend segreg() and the segreg CLI to accept DoF {6,7,9,12} and update defaults/docs accordingly.
  • Add unit/integration tests for the new solvers and segreg() DoF modes; update README.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
neuroreg/segreg/points.py Adds similarity + anisotropic no-shear solvers and DoF dispatch.
neuroreg/segreg/register.py Expands segreg() DoF support and updates min-label defaults/docs.
neuroreg/cli/segreg.py Updates CLI --dof choices and help text to include 7/9.
tests/test_segreg.py Adds tests covering DoF 7/9 in both point solvers and segreg().
README.md Documents new DoF support and updates the support table.
neuroreg/segreg/{__init__.py,atlas.py,centroids.py,io.py,labels.py} Docstring/description updates to reflect expanded functionality.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread neuroreg/cli/segreg.py
Comment thread neuroreg/cli/segreg.py
@m-reuter m-reuter merged commit 25bb9d9 into main Apr 22, 2026
1 check passed
@m-reuter m-reuter deleted the segreg branch April 22, 2026 16:19
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