computational-cell-analytics / micro-sam

Segment Anything for Microscopy
https://computational-cell-analytics.github.io/micro-sam/
MIT License
311 stars 35 forks source link

Scribble-based segmentation #603

Open anwai98 opened 1 month ago

anwai98 commented 1 month ago

This in particular could potentially be a nice feature to segment vessel-like thin (and long) structures using positive scribblles, or eliminate the outside-boundary region in-a-go for parts outside the object using negative scribbles.

constantinpape commented 1 month ago

I agree that this is a good idea. I see two possible ways to implement it:

Any other ideas from your end for how to address this?

anwai98 commented 1 month ago

I was thinking in the direction of a simpler version of the first method, however the second one actually sounds more promising.

Also leaving a hint, I think Mehdi has an implementation for scribble-based segmentation with SAM - https://github.com/juglab/napari-sam-labeling-tools