Is there an easy way to change the mode of Dense Cut by setting a mask manually ?
e.g. The OpenCV 's Grab Cut function accept two modes, GC_INIT_WITH_RECT and GC_INIT_WITH_MASK. The current Dense Cut source code runs as GC_INIT_WITH_RECT, but I want as GC_INIT_WITH_MASK.