The invention relates to a
liver tumor segmentation method and device based on adaptive
context awareness fusion, and the method comprises the steps: S1, obtaining and preprocessing
liver CT data, and dividing the data into a
training set, a
verification set and a
test set according to a proportion; s2, constructing an ACAF-Net (Adaptive Context-Aware Fusion Network), and constructing a double-enhanced dynamic
convolution module in the transmission and fusion of the double paths; s3, fusing the double-enhanced dynamic
convolution and the double attention weight, and constructing a double-dimensional mixed attention module; s4, fusing the sub-region segmentation error and the dynamic quantization difficulty, and constructing a double-error
dynamic balance loss; s5, fusing the double-enhanced dynamic
convolution module, the double-dimensional mixed attention module and the double-error dynamic trade-off loss to construct an ACAF-Net model; and S6, completing model training,
verification optimization and performance evaluation by using the experimental
data set. By using the method, the problems of fuzzy
liver tumor boundary, large scale difference and unbalanced segmentation error are effectively solved, the segmentation precision and robustness are remarkably improved, and the method is suitable for
automatic segmentation of the CT image
liver tumor.