The invention discloses an interpretable dichotomy
pathological image quality control method based on prototype learning, and the method comprises the steps: firstly carrying out the preprocessing of a full-width scanning
pathological image, and extracting an effective region; an
encoder extracts multi-level features through a
convolution layer, a
bottleneck block and a residual block, a prototype updating layer is embedded in a
potential space, prototype vectors of focusing / out-of-focus categories are dynamically optimized, similarity vectors are generated by calculating the
Euclidean distance between sample features and the prototypes, and the similarity vectors are used for calculating the sample features and the prototypes; inputting a linear classification layer output category probability; the decoder reconstructs the image through transposition
convolution and jump connection, and complements details in combination with an optimization prototype; model training is combined with coding and decoding loss, classification loss and prototype loss, and finally high-precision classification is achieved. According to the method, image features are extracted through an
encoder-
decoder architecture, a category prototype is dynamically optimized in combination with a prototype learning mechanism, and high-precision classification and
interpretability are achieved through multi-loss joint training.