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

Allow flexible post-processing for larger segmentations #853

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

anwai98
Copy link
Contributor

@anwai98 anwai98 commented Feb 5, 2025

I realized that there are some further post-processing steps (two to be precise), which are tricky for larger segmentations:

  • There's one in generate method for automatic segmentation, where it does relabelling and some other stuff. This can be overridden by setting output_mode to None (passed to the generate method) via the automatic segmentation functionality.
  • There is another one after the segmentations are returned and some filtering based on area per object is done (intended for AMG mostly).

This PR takes care of making the second point flexible. GTG from my side!

@constantinpape constantinpape merged commit 5a6616d into master Feb 6, 2025
3 checks passed
@constantinpape constantinpape deleted the make-postproc-flexible branch February 6, 2025 10:24
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