pmneila / PyMaxflow

Python library for creating flow networks and computing the maxflow/mincut (aka graph-cuts for Python)
http://pmneila.github.io/PyMaxflow/
242 stars 59 forks source link

this can handle image instance segmentation? #36

Closed Jackandrome closed 1 year ago

Jackandrome commented 5 years ago

i wanna use graph cut to segment instances in an image ,is it helpful ?

h4k1m0u commented 5 years ago

You can look at the second example in the tutorials section as a segmentation problem.

So yes, normally graph cuts work for segmentation problems, plus they take into account the spatial proximity between pixels.