Connected slots in OpGraphCuts