Graph cut segmentation

For a while I&rsquo;ve been interested in adding the popular graph cut segmentation algorithm to DIPlib. But I was not able to find an implementation I could adopt (the most commonly used implementation has an incompatible open-source license). So I finally sat down and re-implemented the algorithm myself from …