image_segment_mask function

Segment an Image object using a brush mask