The aim of this study was to explore the application effect of thoracic computerized tomography (CT) under single threshold segmentation algorithm in the diagnosis of heart failure (HF) complicated with sleep apnea syndrome. 30 patients diagnosed with HF complicated with sleep apnea syndrome were chosen for the research. Another 30 patients without sleep apnea syndrome were selected as the control group, whose age, height, and weight were similar to those of the experimental group. Then, a model for thoracic CT image segmentation was proposed under the single threshold segmentation algorithm, and the faster region convolutional neural network (Faster RCNN) was applied to label the thoracic respiratory lesions. All the patients underwent thoracic CT examination, and the obtained images were processed using the algorithm model above. After that, the morphology of the patient's respiratory tract after treatment was observed. The results suggested that the improved single threshold segmentation algorithm was effective for the image segmentation of patient lesions, and the Faster RCNN could effectively finish the labeling of the lesion area in the CT image. The classification accuracy of the Faster RCNN was about 0.966, and the loss value was about 0.092. With CT scanning under the algorithm, it was found that the airway collapse of the posterior palatal area, retrolingual area, and laryngopharyngeal area of the sleep apnea syndrome patients was significantly greater than that of the control group (P < 0.05). But there was no significant difference of the collapse of the nasopharyngeal area between the two groups (P > 0.05). The single threshold segmentation algorithm had a better segmentation accuracy for thoracic CT images in patients with HF and sleep apnea syndrome, so it had a highly promising application prospect in the diagnosis of the disease.