pmneila / PyMaxflow

Python library for creating flow networks and computing the maxflow/mincut (aka graph-cuts for Python)

Home Page:http://pmneila.github.io/PyMaxflow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow default_segm to be passed to what_segment

Skielex opened this issue · comments

Edit: Sorry, I misunderstood the implementation. Never mind :)

The what_segment function has an optional parameter termtype default_segm = SOURCE. The wrapper functions get_segment and get_grid_segments do not currently allow specifying this argument.

It would be useful to allow specifying that argument.