A Dual-Modality T-UNet for Automatic Segmentation of Key Thermal Regions in Cattle

Bingnan Hu, Xuanjiang Yang, Hualong Li, Xianwang Liu, Panpan Guo, Tao SunJournal of Physics Conference Series 2025

Abstract

Abstract To achieve non-contact and accurate identification of key temperature regions in cattle, this study proposes an improved semantic segmentation network named T-UNet based on dual-modality images. The network features a dual-branch encoder to extract RGB and thermal infrared features independently. A Selective Thermal Modality Attention (STM) module is integrated at each layer for multi-scale semantic alignment, while CBAM attention and a Context Enhanced Decoder (CED) are introduced to enhance boundary reconstruction and small-object segmentation. Experimental results show that T-UNet outperforms baseline models including U-Net, DeepLabV3+, and Mask R-CNN on a custom dataset, achieving 87.36% mIoU, 93.03% mDice, and 93.03% F1-score. Ablation studies and visual comparisons further confirm the effectiveness of each module. This method provides a high-precision and efficient image processing solution for infrared-based cattle temperature monitoring, with strong application potential in smart livestock farming.
BibTeX
@article{hu2025dual,
  author = {Bingnan Hu and Xuanjiang Yang and Hualong Li and Xianwang Liu and Panpan Guo and Tao Sun},
  title = {{A Dual-Modality T-UNet for Automatic Segmentation of Key Thermal Regions in Cattle}},
  journal = {Journal of Physics Conference Series},
  year = {2025},
  doi = {10.1088/1742-6596/3135/1/012017},
}

Loading related content...

Figure