The study establishes three segmentation algorithms with MATLAB_GUI(GUI)simulation platform,i.e.global threshold,contour pixel and effective pixel;outlines and labels lung lesions with segment CT lung parenchyma images,and regional growth algorithm,so that medical imaging students can independently extract and identify CT lung tumors.The study also discusses and analyzes the processing results of three segmentation algorithms.The results show that medical students can customize the original image and segmentation parameters of the virtual simulation experiment on this interface,automatically calculate the size of the lesion area and the circular arc,and intuitively observe and analyze these parameters,so that students can preliminarily judge the benign and malignant degree of patients'lung lesions,and improve the overall image teaching quality of this major.