The invention discloses a
thyroid nodule
ultrasound image segmentation method and
system based on TransUNet, and relates to the technical field of
image segmentation. The method comprises the steps that
thyroid nodule ultrasonic images are received and preprocessed, and image data are divided into a
training set, a
verification set and a
test set; and constructing an improved segmentation model based on a TransUNet
model network, wherein the improved segmentation model comprises a CNN-SETrans
encoder, a decoder and a jump connection. On the basis of a TransUNet
network structure, the SE module is introduced into a Transform
encoder and is connected with the MSA module in series to construct a SETrans
encoder, channel information and spatial information are comprehensively extracted, the feature representation capability of the network can be improved, and by introducing the Ghost module into jump connection, the performance of the network is improved. According to the method, the loss of image features in the long-distance transmission process from the
low resolution of the CNN to the
high resolution of the decoder can be compensated, the calculation cost cannot be remarkably increased, and meanwhile, the common
convolution at the
tail of each layer in the decoder is replaced by the DSConv, so that the effectiveness of
feature extraction is improved.