The present application relates to the technical field of region segmentation, in particular to a
pathological diagnosis method and
system based on image recognition, comprising the following steps: collecting
pathological images, dividing the images into image blocks, extracting
cell nucleus coordinates, calculating distance changes, connecting turning points, analyzing density, screening image blocks, extracting gray
path tracking gradients, fitting edge calibration pixels, and outputting a
pathological diagnosis image block set.In the present application, a disturbance path is constructed by extracting the sequence change of
cell nucleus positions, local aggregation areas are identified based on the distribution density of turning points, image block screening is realized by using the trend of direction change, edge contours are extracted by using the continuity of gray
mutation and gradient, closed and broken boundaries are fitted by using path fitting, the expression of complex structure boundaries is enhanced, region attribution calibration is carried out by using
pixel connectivity and path range, an image block set with spatial boundary precision is constructed, the
abnormal structure recognition capability is improved, and the image region division is improved in structure continuity, boundary integrity and calibration accuracy.