Skip to content

Conversation

@blowekamp
Copy link
Member

@blowekamp blowekamp commented Oct 14, 2025

Addresses #2434

The addition of a procedural method requires further work and may be done in a future PR.

@blowekamp blowekamp force-pushed the add_contourextractor branch 2 times, most recently from f3056e1 to 88c91f8 Compare October 16, 2025 14:05
@blowekamp blowekamp changed the title WIP: Add wrapping for ContourExtractor2D Add wrapping for ContourExtractor2D Oct 16, 2025
@blowekamp blowekamp marked this pull request as ready for review October 16, 2025 14:10
@blowekamp blowekamp requested a review from zivy October 16, 2025 14:10
briefdescriptionGet: ''
detaileddescriptionGet: >-
Get whether high- or low-valued pixels are vertex-connected in ambiguous cases.
- name: LabelContours
Copy link
Member

Choose a reason for hiding this comment

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

Nice - didn't notice this part of the interface, so was creating a distance map from segmentations and computing the zero level set contours from that. Looks like computing the distance map is not necessary (unless that is what is done under the hood here).

The results are return in a parameterized active measurement method,
over the n-th contour. The countour or paths are 1d arrays with x,y
coordinates.
@blowekamp blowekamp force-pushed the add_contourextractor branch from 88c91f8 to 3323768 Compare October 16, 2025 19:05
@blowekamp blowekamp merged commit 4d414cf into SimpleITK:main Oct 17, 2025
7 checks passed
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