Thresholding

image.png

GrabCut

// 알고리즘 10번 반복
grabCut(image, result, rectangle, bgdModel, fgdModel, 10, GC_INIT_WITH_RECT);