Automated CT-Based Liver and Tumor Segmentation Using an Attention-Guided Residual U-Net (RA-U-Net)
Hepatocellular carcinoma (HCC) early detection, surgical planning, and treatment evaluation all depend on automatic liver as well as liver tumor segmentation using computed tomography (CT) images. However, the cor-rectness of automatic segmentation techniques is frequently limited by low contrast, irregular forms, and substantial inter-patient variability of tumors. We present an innovative Attention-Guided Residual U-Net (RA-U-Net) framework that integrates residual learning techniques with spatial attention gates inside the U-Net framework in order to address these issues. While the attention gates preferentially reduce unnecessary background information and highlight tumor-associated regions at the decoding step, the residual blocks enhance propagation of features and gradient flow. To improve the segmentation of tiny lesions and alleviate class imbalance, a hybrid loss function that combines Dice loss and Binary Cross-Entropy (BCE) is also used. The suggested RA-U-Net performs better than the traditional U-Net and standard Attention U-Net models in experiments on contrast-enhanced CT datasets, obtaining greater Dice Similarity Coefficient, Intersection-over-Union, as well as recall–precision values. These findings demonstrate that adding residual attention mechanisms enhances segmentation resilience and reinforces contextual feature learning, especially for tiny and low-contrast tumors. All things considered, The suggested method provides a possible framework for precise liver tumor segmentation and computer-aided oncology systems.