Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add map of deblended labels #1988

Merged
merged 7 commits into from
Jan 3, 2025
Merged

Conversation

larrybradley
Copy link
Member

This PR adds deblended_labels, deblended_labels_map, and deblended_labels_inverse_map properties to SegmentationImage to identify and map any deblended labels to the original parent segmentation image.

It also fixes a small bug in deblended labels if relabel=False (which is not the default).

@larrybradley larrybradley added this to the 2.1.0 milestone Jan 3, 2025
@larrybradley larrybradley merged commit b15456f into astropy:main Jan 3, 2025
25 checks passed
@larrybradley larrybradley deleted the deblend-map branch January 3, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant