This work establishes a potent segmentation pipeline that can be further leveraged to analyze HER2 expression in breast cancer tissue. This evidence concerns the gene ERBB2 and breast cancer.