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

'Phase-mode' SAM labelling #58

Open
rmdocherty opened this issue Jul 20, 2023 · 1 comment
Open

'Phase-mode' SAM labelling #58

rmdocherty opened this issue Jul 20, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request frontend Frontend related: menus, display logic etc investigation Tasks that need exploration/research
Milestone

Comments

@rmdocherty
Copy link
Contributor

If I isolate the label arrays belonging to each phase, I can use those as a mask input (all other pixels labelled as bg) plus the mouse cursor position as prompts for SAM client side, hopefully will produce better phase segmentations

@rmdocherty rmdocherty added enhancement New feature or request frontend Frontend related: menus, display logic etc investigation Tasks that need exploration/research labels Jul 20, 2023
@rmdocherty rmdocherty self-assigned this Jul 20, 2023
@rmdocherty rmdocherty added this to the SAMBA1.5 milestone Jul 20, 2023
@rmdocherty
Copy link
Contributor Author

Mask input doesn't allow fg/bg differentiation per mask (so could only make mask for positive examples). Therefore might be be better to just store each label click and class, the use those as prompts where every label click not of current class set to bg, every click associated with class is fg. Store start/end of brush strokes as clicks, each polygon point and each SAM click.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend Frontend related: menus, display logic etc investigation Tasks that need exploration/research
Projects
None yet
Development

No branches or pull requests

1 participant