The invention provides a MaskRcnn-based
tumor detection method and
system, and the method comprises the steps: inputting medical image data into a MaskRcnn network integrated with an edge
perception module, generating an edge response graph through a
Sobel operator, and enabling the edge response graph to serve as an additional channel injection feature graph, and enhancing the
boundary representation; fusing multi-scale features through a feature
pyramid network FPN, extracting candidate tumor area features through RoI Align, introducing non-local attention modeling global dependence in the area, extracting directional entropy, texture energy, uniformity and contrast in combination with a
gray level co-occurrence matrix GLCM, and splicing to generate structure sensing features; performing classification, bounding box regression and
mask segmentation based on the structure
perception features, and constructing a joint
loss function including classification, regression,
mask cross entropy, edge alignment and structure consistency; the positioning capability of the model on the fuzzy tumor contour is effectively improved, the boundary positioning error is remarkably optimized, and the defect that over-segmentation or missing detection is likely to occur in a traditional model is overcome.