Skip to content

Add wrapping for ContourExtractor2D - #2436

Merged
blowekamp merged 1 commit into
SimpleITK:mainfrom
blowekamp:add_contourextractor
Oct 17, 2025
Merged

blowekamp merged 1 commit into
SimpleITK:mainfrom
blowekamp:add_contourextractor

Conversation

@blowekamp

@blowekamp blowekamp commented Oct 14, 2025 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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
@blowekamp
blowekamp deleted the add_contourextractor branch September 9, 2026 12:55
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