refactored graphcut_gpu, growcut_gpu