The objective of this research was to explore the effect of the treatment regimen of Spiriva combined with Symbicort on the immune function of non-small-cell lung cancer (NSCLC) based on computed tomography (CT) imaging features. An automatic CT image segmentation algorithm (RW-CT) was constructed based on random walk (RW) and image segmentation technology. The image segmentation algorithm based on the Toboggan method (C-CT) was introduced to compare with the traditional RW algorithm. 60 subjects were divided into four groups: a Chinese combined with Western medicine group (treated with Spiriva combined with Symbicort, group C+W), a Chinese medicine group (treated with Spiriva, group C), a Western medicine group (treated with Symbicort, group W), and a model group for control (group M). The results show that the Dice coefficient of the RW-CT algorithm was obviously larger than that of the C-CT algorithm and the RW algorithm, while the Hausdorff distance (HD) of the RW-CT algorithm was much smaller than that of the other two algorithms (P < 0.05). The proportion of positive cells of hypoxia-inducible factor-1α (HIF-1α) in group C+W was the least (15%-23%), followed by the group W (21%-29%) and the group C (28%-37%), and that in the group M was the highest (39%-49%). There was a remarkable difference in the immunohistochemical scores (HIS) of vascular endothelial growth factor (VEGF) in the tumor tissues between group C+W and the group M (H = 14.200, P = 0.001), but there was no great difference from the group C and the group W (P > 0.05). There was a notable difference in the IHS of vascular endothelial factor recepto-2 (VEGFR-2) between the group C+W medication group and the group M (H = 12.800, P = 0.002), and there was no statistical difference between the group C and W (P > 0.05). In short, the RW-CT constructed based on RW was better than the traditional algorithms for CT image segmentation. The Spiriva combined with Symbicort could effectively inhibit the expression of VEGF, VEGFR-2, and HIF-1α in NSCLC and promote the immunologic function of the body.