Segmentation results of pure invasive carcinoma areas under various staining types. (a) Ki-67, 15%; (b) ER, negative; (c) HER2, 2+; (d) ER, positive; (e) HER2, 1+; (f) PR, positive. Rows 1–3 represent images, model predictions, and ground truth, respectively.