Engineering & Technologyarticle2026-08-21

Rail Light-Strip Abnormality Analysis from Color Inspection Images Using an Improved SegFormer and Geometric Rules

Open access0 citations

Abstract

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.

// Source

Authors: Haoran Song, Yuntao Gou, Ning Wang, Le Wang, Junbo Liu, Shengchun Wang, Chengliang Xia, Qiang Han, Zichen Gu

Institutions: China Academy of Railway Sciences, China Railway Corporation, China Railway Construction Corporation (China)