Skip to content

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

Open
anikaweinmann wants to merge 1 commit intoZrrSkywalker:mainfrom
anikaweinmann:persam_f_multi_obj_fix
Open

Fix mask for multi object persam (persam_f_multi_obj.py)#54
anikaweinmann wants to merge 1 commit intoZrrSkywalker:mainfrom
anikaweinmann:persam_f_multi_obj_fix

Conversation

@anikaweinmann
Copy link
Copy Markdown

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
Copy Markdown

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
Copy Markdown
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