The invention provides a
breast cancer auxiliary diagnosis method and
system based on virtual
staining, and the method comprises the steps: firstly obtaining an HE
staining section, carrying out the enhancement preprocessing, and generating an ER / PR / HER2 virtual IHC image through a GAN-based virtual
staining model; on the basis of a DAB channel obtained through color
deconvolution integral separation and cancerization areas and
cell nucleus instance segmentation results obtained on the virtual IHC and / or HE images, indexes such as
nucleus density,
nucleus morphology, ER / PR positive
cell nucleus proportion, HER2 membrane continuity / coverage rate, positive area proportion and average
optical density are calculated, and a superposition and structuring report is generated. According to the method, combined losses such as positive region consistency, membrane ring continuity,
nuclear grade consistency and grading alignment are introduced in the training stage, a
nuclear density self-adaptive
activation function is adopted, and the consistency and robustness of virtual
dyeing and quantitative evaluation are improved. IHC reagents can be reduced, the period is shortened, and the cross-section comparison difficulty is reduced.