Learning an Interactive Segmentation System