Integrating visual cues for object segmentation and recognition