whole image graphcut