Context-aware railway video segmentation with unsupervised evaluation

Abstract In this work, we address the problem of segmenting railway tracks from video recordings captured from a train engine, focusing on the rails the train travels on. Our approach is motivated by the physical properties of railway rails, which typically exhibit a distinctive reflective appearance and remain visually and geometrically consistent across consecutive video frames. Moreover, the rails do not undergo significant shape changes or spatial displacement between frames. These properties enable the transfer of contextual information between frames and allow the use of composite models with a reduced number of trainable parameters. We introduce a composite model that incorporates contextual information from previous frames, reflecting the limited temporal variability of rail geometry and appearance, thereby reducing overfitting when training on small annotated datasets. We evaluate three neural network-based segmentation approaches: a convolutional neural network (CNN), a CNN combined with post-processing using morphological transformations and connected component labelling, and the proposed context-aware composite model. Furthermore, we propose an unsupervised evaluation methodology that assesses segmentation quality based on the distinguishability of segment colours from the background, geometric complexity, and colour variance within segments. All models are trained exclusively on synthetic data, with evaluation performed on real-world video sequences. Experimental results demonstrate that incorporating physically interpretable temporal context improves segmentation consistency compared to frame-wise methods. The synthetic dataset created for this work is publicly released.

Authors

Institutions

Publication Details

Journal
Pattern Analysis and Applications
Published
2026-03-31
DOI
https://doi.org/10.1007/s10044-026-01647-6
Primary Topic
Railway Systems and Energy Efficiency
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Context-aware railway video segmentation with unsupervised evaluation

Vojtěch Drahý, Radek Mařík, Heikki Kälviäinen
Pattern Analysis and Applications
Railway Systems and Energy Efficiency
article

Context-aware railway video segmentation with unsupervised evaluation

Vojtěch Drahý, Radek Mařík, Heikki Kälviäinen
article en

Abstract

Abstract In this work, we address the problem of segmenting railway tracks from video recordings captured from a train engine, focusing on the rails the train travels on. Our approach is motivated by the physical properties of railway rails, which typically exhibit a distinctive reflective appearance and remain visually and geometrically consistent across consecutive video frames. Moreover, the rails do not undergo significant shape changes or spatial displacement between frames. These properties enable the transfer of contextual information between frames and allow the use of composite models with a reduced number of trainable parameters. We introduce a composite model that incorporates contextual information from previous frames, reflecting the limited temporal variability of rail geometry and appearance, thereby reducing overfitting when training on small annotated datasets. We evaluate three neural network-based segmentation approaches: a convolutional neural network (CNN), a CNN combined with post-processing using morphological transformations and connected component labelling, and the proposed context-aware composite model. Furthermore, we propose an unsupervised evaluation methodology that assesses segmentation quality based on the distinguishability of segment colours from the background, geometric complexity, and colour variance within segments. All models are trained exclusively on synthetic data, with evaluation performed on real-world video sequences. Experimental results demonstrate that incorporating physically interpretable temporal context improves segmentation consistency compared to frame-wise methods. The synthetic dataset created for this work is publicly released.

Pattern Analysis and ApplicationsVol. 29(2)
AŽD Praha (Czechia) (CZ), Czech Technical University in Prague (CZ), Brno University of Technology (CZ), Lappeenranta-Lahti University of Technology (FI)
Openalex Percentile: Top 27%
Railway Systems and Energy Efficiency
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.