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

Fix mask for multi object persam (persam_f_multi_obj.py) #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anikaweinmann
Copy link

The mask in persam_f_multi_obj.py does not show all objects. E.g. buildings detection:

  • 5 objects are detected
    detected objects
  • but only one is shown in saved mask
    mask

This MR fixes this:
Fixed mask

@pipilatiao
Copy link

Hello, I apologize for the long message and for bothering you. I’m a beginner in this field, and I would like to know about the multi-object segmentation script in persam. Currently, I can only segment a single object. How did you manage to segment multiple objects (like the multiple houses in your remote sensing work)? Which parts of the code would need modification? I would greatly appreciate any advice you could offer.

@anikaweinmann
Copy link
Author

anikaweinmann commented Sep 30, 2024

Hello, I apologize for the long message and for bothering you. I’m a beginner in this field, and I would like to know about the multi-object segmentation script in persam. Currently, I can only segment a single object. How did you manage to segment multiple objects (like the multiple houses in your remote sensing work)? Which parts of the code would need modification? I would greatly appreciate any advice you could offer.

The change I made is this. If you change it then multiple objects can be extracted with persam.

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