Interpreter-driven automatic image segmentation and model evaluation