Skip to content

Fix constrain to parent behavior#69

Merged
Rdornier merged 3 commits into
mainfrom
fix-constraint-to-parent
Jan 12, 2026
Merged

Fix constrain to parent behavior#69
Rdornier merged 3 commits into
mainfrom
fix-constraint-to-parent

Conversation

@Rdornier
Copy link
Copy Markdown
Member

Fix #68
Also fix #59 to some extent

  • constrainToParent(false) has now a behavior close to Stardist extension one. All cells which cross the parent annotations are displayed. All cells fully outside the parent annotation are discarded.
  • A padding parameter has been introduced to tell QuPath how many um should be taken into account around the parent annotation. The padding can be tuned in constrainToParent(false, padding)
  • constrainToParent(true) is left unchanged

@Rdornier Rdornier merged commit b76d142 into main Jan 12, 2026
1 check passed
@Rdornier Rdornier deleted the fix-constraint-to-parent branch January 12, 2026 16:34
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.

Unexpected constrainToParent(false) behavior in QuPath Cellpose extension Border of one pixel

1 participant