Rail Light-Strip Abnormality Analysis from Color Inspection Images Using an Improved SegFormer and Geometric Rules
Rail light-strip morphology reflects the wheel-rail contact condition. Reliable automatic analysis remains difficult. The strip is narrow and has weak boundaries, while specular reflection, rail-head texture and trackside background interfere with color inspection images. This study proposes a segmentation-guided geometric method for rail light-strip abnormality analysis. An improved SegFormer jointly segments the background, rail-head and light-strip regions. A boundary detail enhancement module refines weak rail-head and light-strip contours. Focal Loss emphasizes minority and hard boundary pixels. The rail-head mask provides the geometric reference for extracting the light-strip centerline, eccentricity, width sequence and connected-component morphology. The predicted masks are ordered using the corrected mileage record. Every 1000 original-resolution rows then form a consecutive 1 m detection unit. When a geometric rule is triggered, the method reports that unit’s 1 m mileage interval together with its eccentricity, width-change or local-integrity measurement. The model achieves 95.67% mean Intersection over Union (mIoU) on 3520 annotated images. It detects 845 of 876 positive units, with 96.46% recall, 89.23% precision and 92.70% F1-score. The resulting records identify abnormal 1 m mileage intervals and report the corresponding eccentricity, width-change, or local-integrity measurements for targeted manual review.
Authors
- Chengliang Xia (ORCID: https://orcid.org/0000-0003-0743-2001)
- Haoran Song (ORCID: https://orcid.org/0000-0003-0732-8589)
- Zichen Gu (ORCID: https://orcid.org/0000-0001-9590-9441)
- Le Wang (ORCID: https://orcid.org/0000-0002-7909-5203)
- Shengchun Wang (ORCID: https://orcid.org/0000-0003-0003-1002)
- Yuntao Gou
- Qiang Han
- Ning Wang
- Junbo Liu
Institutions
- China Railway Corporation (CN)
- China Railway Construction Corporation (China) (CN)
- China Academy of Railway Sciences (CN)
Publication Details
- Journal
- Sensors
- Published
- 2026-08-21
- DOI
- https://doi.org/10.3390/s26165292
- Primary Topic
- Railway Engineering and Dynamics
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- China Academy of Railway Sciences