I've just started reading about Graph cut and Boykov-Kolmogorov algorithm in
particular, which is implemented in Graph-tool. I need it to perform an
object-based segmentation of an image that was previously thresholded to
getting rid of the noise.
I was wondering if it was possible to go from an image to a graph (and the
other way around) in graph-tool? and what would be an efficient way to do