[go: up one dir, main page]

CN107330931B - A method and system for detecting longitudinal displacement of rails based on image sequences - Google Patents

A method and system for detecting longitudinal displacement of rails based on image sequences Download PDF

Info

Publication number
CN107330931B
CN107330931B CN201710388790.9A CN201710388790A CN107330931B CN 107330931 B CN107330931 B CN 107330931B CN 201710388790 A CN201710388790 A CN 201710388790A CN 107330931 B CN107330931 B CN 107330931B
Authority
CN
China
Prior art keywords
longitudinal displacement
rail
image
detection
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710388790.9A
Other languages
Chinese (zh)
Other versions
CN107330931A (en
Inventor
尹辉
刘秀波
高亮
黄华
刘志浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaotong University
Original Assignee
Beijing Jiaotong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaotong University filed Critical Beijing Jiaotong University
Priority to CN201710388790.9A priority Critical patent/CN107330931B/en
Publication of CN107330931A publication Critical patent/CN107330931A/en
Application granted granted Critical
Publication of CN107330931B publication Critical patent/CN107330931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/50Depth or shape recovery
    • G06T7/55Depth or shape recovery from multiple images
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30204Marker
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30236Traffic on road, railway or crossing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明公开一种基于图像序列的钢轨纵向位移检测方法,所述方法包括:S1:在铁轨旁边的固定参考基准结构以及钢轨轨腰上设置编码标志;S2:通过图像采集设备采集不同时间、不同角度、包含所有编码标志的钢轨纵向位移线路现场图像组成图像序列;S3:基于卷积神经网络的标志检测方法,构建编码标志检测及定位模型,对图像序列中的编码标志进行检测和定位;S4:解码各编码标志的特征点以及特征点的亚像素图像坐标;S5:基于亚像素图像坐标构建钢轨纵向位移线路现场的三维重建模型;S6:基于所述三维重建模型计算钢轨纵向位移,本发明还公开了采用该方法的系统,本发明提高了钢轨纵向位移检测的检测效率和准确性,且操作简单,易于实施。

The invention discloses a method for detecting the longitudinal displacement of rails based on image sequences. The method includes: S1: setting coding marks on a fixed reference structure next to the rails and on the rail waist; The image sequence is composed of on-site images of the angle and the longitudinal displacement line of the rail including all coded marks; S3: A mark detection method based on convolutional neural network, constructing a coded mark detection and positioning model, and detecting and locating the coded marks in the image sequence; S4 : Decoding the feature points of each coded mark and the sub-pixel image coordinates of the feature points; S5: Constructing the three-dimensional reconstruction model of the rail longitudinal displacement line site based on the sub-pixel image coordinates; S6: Calculating the longitudinal displacement of the rail based on the three-dimensional reconstruction model, the present invention A system using the method is also disclosed. The invention improves the detection efficiency and accuracy of rail longitudinal displacement detection, and is simple in operation and easy to implement.

Description

一种基于图像序列的钢轨纵向位移检测方法及系统A method and system for detecting longitudinal displacement of rails based on image sequences

技术领域technical field

本发明涉及铁道工程技术领域。更具体地,涉及一种基于图像序列的钢轨纵向位移检测方法及系统。The invention relates to the technical field of railway engineering. More specifically, it relates to a method and system for detecting longitudinal displacement of rails based on image sequences.

背景技术Background technique

轨道的高平顺性是保证高速列车运营安全和舒适性的首要条件,而轨道的高平顺性取决于钢轨的几何状态,因此,对钢轨几何状态的检测非常重要。由于热胀冷缩及列车行进中的纵向阻力,钢轨会出现一定程度上的纵向位移,容易导致胀轨跑道或钢轨折断,存在巨大的安全隐患。The high smoothness of the track is the primary condition to ensure the safety and comfort of high-speed train operation, and the high smoothness of the track depends on the geometric state of the rail. Therefore, the detection of the geometric state of the rail is very important. Due to the thermal expansion and contraction and the longitudinal resistance of the train, the steel rail will have a certain degree of longitudinal displacement, which will easily lead to the breakage of the track or the rail, posing a huge safety hazard.

随着列车运行速度不断加快,列车数量不断增加,钢轨几何状态的检测工作日益繁重。现阶段的人工检测钢轨纵向位移量的方法操作复杂、耗时长、精度低,并且需要前期在线路上设置固定装置,在轨旁埋设检测设备,占用大量人力物力,在一定程度上影响线路运营,无法满足现代铁路的要求,快速精准的自动化检测已成为必然的发展趋势。As the speed of trains continues to increase and the number of trains continues to increase, the detection of the geometric state of the rails is becoming increasingly arduous. At present, the method of manually detecting the longitudinal displacement of rails is complex, time-consuming, and low-precision, and requires the installation of fixed devices on the line in the early stage, and the burying of detection equipment beside the track, which takes up a lot of manpower and material resources, affects the operation of the line to a certain extent, and cannot To meet the requirements of modern railways, fast and accurate automatic detection has become an inevitable development trend.

因此,需要提供一种简单、快速、安全和精确地进行钢轨纵向位移检测的方法,以解决现阶段人工检测钢轨纵向位移方法操作复杂、耗时长、精度低问题。Therefore, it is necessary to provide a simple, fast, safe and accurate method for detecting the longitudinal displacement of rails, so as to solve the problems of complex operation, long time consumption and low precision of manual detection of longitudinal displacement of rails at this stage.

发明内容Contents of the invention

本发明的一个目的在于提供一种基于图像序列的钢轨纵向位移检测方法。本发明的另一个目的在于提供一种基于图像序列的钢轨纵向位移检测系统,以提高钢轨纵向位移检测的检测速度和准确性。An object of the present invention is to provide a method for detecting longitudinal displacement of rails based on image sequences. Another object of the present invention is to provide an image sequence-based rail longitudinal displacement detection system to improve the detection speed and accuracy of rail longitudinal displacement detection.

为达到上述目的,本发明采用下述技术方案:To achieve the above object, the present invention adopts the following technical solutions:

本发明一方面公开了一种基于图像序列的钢轨纵向位移检测方法,所述方法包括:One aspect of the present invention discloses a method for detecting the longitudinal displacement of a rail based on an image sequence, the method comprising:

S1:在铁轨旁边的固定参考基准结构以及钢轨轨腰上设置编码标志;S1: Set coding marks on the fixed reference structure next to the rail and on the rail waist;

S2:通过图像采集设备采集不同时间、不同角度、包含所有编码标志的钢轨纵向位移线路现场图像组成图像序列;S2: The on-site images of the longitudinal displacement lines of the rails at different times and angles, including all coding marks, are collected by the image acquisition equipment to form an image sequence;

S3:基于卷积神经网络的标志检测方法,构建编码标志检测及定位模型,对图像序列中的编码标志进行检测和定位;S3: Based on the mark detection method of the convolutional neural network, construct the code mark detection and positioning model, and detect and locate the code mark in the image sequence;

S4:解码各编码标志的特征点以及特征点的亚像素图像坐标;S4: Decoding the feature points of each coded mark and the sub-pixel image coordinates of the feature points;

S5:基于亚像素图像坐标构建钢轨纵向位移线路现场的三维重建模型;S5: Construct the 3D reconstruction model of the rail longitudinal displacement line site based on the sub-pixel image coordinates;

S6:基于所述三维重建模型计算钢轨纵向位移。S6: Calculate the longitudinal displacement of the rail based on the three-dimensional reconstruction model.

优选地,所述固定参考基准结构包括电气化立柱和/或桥梁拉杆。Preferably, said fixed reference structure comprises electrified columns and/or bridge tie rods.

优选地,所述设置编码标志的方式为喷涂、挂牌或贴牌。Preferably, the method of setting the coding mark is spraying, hanging or sticking a label.

优选地,所述图像序列包括三幅以上钢轨纵向位移线路现场图像。Preferably, the image sequence includes more than three on-site images of rail longitudinal displacement lines.

优选地,所述步骤S3包括:Preferably, said step S3 includes:

S31:采集大量钢轨纵向位移线路现场图像,构建用于训练的钢轨纵向位移图像数据集;S31: Collect a large number of on-site images of rail longitudinal displacement lines, and construct a rail longitudinal displacement image data set for training;

S32:基于卷积神经网络算法对所述数据集进行训练学习,生成编码标志检测及定位模型;S32: Perform training and learning on the data set based on a convolutional neural network algorithm, and generate a coding mark detection and positioning model;

S33:基于所述编码标志检测及定位模型对所述图像序列中的编码标志进行检测和定位。S33: Detect and locate the encoding markers in the image sequence based on the encoding marker detection and positioning model.

优选地,所述步骤S32包括:Preferably, the step S32 includes:

S321:基于待训练的钢轨纵向位移线路现场图像数据集,获取待训练图像中编码标志的标注数据;S321: Based on the on-site image data set of the rail longitudinal displacement line to be trained, obtain the labeling data of the coding mark in the image to be trained;

S322:将钢轨纵向位移线路现场图像数据集及所述标注数据输入卷积神经网络进行训练,生成编码标志检测和定位模型。S322: Input the on-site image data set of the rail longitudinal displacement line and the labeling data into the convolutional neural network for training, and generate a coded mark detection and positioning model.

优选地,步骤S5包括:Preferably, step S5 includes:

S51:根据所述特征点的亚像素图像坐标估计相机运动参数矩阵;S51: Estimate a camera motion parameter matrix according to the sub-pixel image coordinates of the feature points;

S52:基于每幅现场图像对应的相机运动参数矩阵采用三角测量法估算特征点空间坐标;S52: Based on the camera motion parameter matrix corresponding to each scene image, the spatial coordinates of the feature points are estimated by triangulation;

S53:通过光束平差法优化特征点空间坐标和相机运动矩阵,得到现场三维重建结果。S53: Optimizing the spatial coordinates of the feature points and the camera motion matrix through the beam adjustment method to obtain the 3D reconstruction result of the scene.

优选地,步骤S6包括:Preferably, step S6 includes:

S61:将各检测时间点的三维重建模型统一至同一坐标系下;S61: Unify the three-dimensional reconstruction models at each detection time point into the same coordinate system;

S62:基于同一坐标系下的三维重建模型计算不同检测时间点间的钢轨纵向位移。S62: Calculate the longitudinal displacement of the rail between different detection time points based on the three-dimensional reconstruction model in the same coordinate system.

本发明另一方面同时公开了一种基于图像序列的钢轨纵向位移检测系统,所述系统包括:Another aspect of the present invention simultaneously discloses an image sequence-based rail longitudinal displacement detection system, the system comprising:

编码标志定位单元,用于基于铁轨旁边的固定参考基准结构以及钢轨轨腰上设置的编码标志,通过图像采集设备采集不同时间、不同角度、包含所有编码标志的钢轨纵向位移线路现场图像组成图像序列;The coded mark positioning unit is used to form an image sequence based on the fixed reference structure next to the rail and the coded mark set on the rail waist, through the image acquisition equipment to collect the on-site images of the longitudinal displacement line of the rail at different times and at different angles, including all the coded marks ;

特征点定位单元,用于基于卷积神经网络的标志检测方法,构建编码标志检测及定位模型,对图像序列中的编码标志进行检测和定位,解码各编码标志的特征点以及特征点的亚像素图像坐标;The feature point positioning unit is used for the mark detection method based on the convolutional neural network, constructs the code mark detection and positioning model, detects and locates the code mark in the image sequence, decodes the feature points of each code mark and the sub-pixel of the feature point image coordinates;

三维重建单元,用于基于特征点的亚像素图像坐标构建钢轨纵向位移线路现场的三维重建模型;The three-dimensional reconstruction unit is used for constructing the three-dimensional reconstruction model of the rail longitudinal displacement line site based on the sub-pixel image coordinates of the feature points;

位移计算单元,用于基于所述三维重建模型计算钢轨纵向位移。A displacement calculation unit, configured to calculate the longitudinal displacement of the rail based on the three-dimensional reconstruction model.

本发明的有益效果如下:The beneficial effects of the present invention are as follows:

本发明所述技术方案基于不同检测时间点采集的多视角钢轨纵向位移线路现场图像序列,能够精确高效地对钢轨纵向位移进行检测。该技术为保障铁路的现代化运营安全提供快速、准确、可靠的理论技术支持。The technical scheme of the present invention is based on the on-site image sequence of the longitudinal displacement line of the rail from multiple perspectives collected at different detection time points, and can accurately and efficiently detect the longitudinal displacement of the rail. This technology provides fast, accurate and reliable theoretical and technical support for ensuring the safety of modern railway operations.

附图说明Description of drawings

下面结合附图对本发明的具体实施方式作进一步详细的说明。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.

图1示出本发明一种基于图像序列的钢轨纵向位移检测方法的流程图。FIG. 1 shows a flow chart of a method for detecting longitudinal displacement of a rail based on an image sequence in the present invention.

图2示出本发明一种基于图像序列的钢轨纵向位移检测方法中设置编码标志的现场示意图。Fig. 2 shows a schematic diagram of setting coding marks in an image sequence-based rail longitudinal displacement detection method according to the present invention.

图3示出本发明一种基于图像序列的钢轨纵向位移检测方法中可采用的编码标志的示例。Fig. 3 shows an example of coded marks that can be used in an image sequence-based rail longitudinal displacement detection method according to the present invention.

图4示出本发明一种基于图像序列的钢轨纵向位移检测方法中钢轨纵向位移线路现场图像采集的现场示意图。Fig. 4 shows a schematic diagram of on-site image acquisition of a rail longitudinal displacement line in an image sequence-based rail longitudinal displacement detection method according to the present invention.

图5示出本发明一种基于图像序列的钢轨纵向位移检测方法中编码标志的特征点的三维重建示意图。Fig. 5 shows a schematic diagram of the three-dimensional reconstruction of the feature points of the coding marks in an image sequence-based rail longitudinal displacement detection method according to the present invention.

图6示出本发明一种基于图像序列的钢轨纵向位移检测方法中不同检测时间点三维重建模型图示。Fig. 6 shows an illustration of a three-dimensional reconstruction model at different detection time points in an image sequence-based rail longitudinal displacement detection method according to the present invention.

图7示出本发明一种基于图像序列的钢轨纵向位移检测方法中不同检测时间点三维重建模型转移至同一坐标系下的模型示意图。Fig. 7 shows a schematic diagram of the model transfer of the three-dimensional reconstruction models at different detection time points in the method for detecting the longitudinal displacement of rails based on image sequences in the present invention to the same coordinate system.

具体实施方式Detailed ways

为了更清楚地说明本发明,下面结合优选实施例和附图对本发明做进一步的说明。附图中相似的部件以相同的附图标记进行表示。本领域技术人员应当理解,下面所具体描述的内容是说明性的而非限制性的,不应以此限制本发明的保护范围。In order to illustrate the present invention more clearly, the present invention will be further described below in conjunction with preferred embodiments and accompanying drawings. Similar parts in the figures are denoted by the same reference numerals. Those skilled in the art should understand that the content specifically described below is illustrative rather than restrictive, and should not limit the protection scope of the present invention.

如图1所示,本发明公开了一种基于图像序列的钢轨纵向位移检测方法,所述方法包括:As shown in Figure 1, the present invention discloses a method for detecting longitudinal displacement of rails based on image sequences, the method comprising:

S1:在铁轨旁边的固定参考基准结构以及钢轨轨腰上设置编码标志。可在电气化立柱、桥梁拉杆等轨旁固定参考基准结构及钢轨轨腰上,通过喷涂、挂牌、贴牌等方式设置编码标志,如图2所示。编码标志可采用摄影测量中的各种编码标志,如图3所示。S1: Code marks are set on the fixed reference structure next to the rail and on the rail waist. The reference structure and the rail waist can be fixed on electrified columns, bridge tie rods and other rails, and coding marks can be set by spraying, listing, and OEM, as shown in Figure 2. The coding marks can adopt various coding marks in photogrammetry, as shown in Figure 3.

S2:通过图像采集设备采集不同时间、不同角度、包含所有编码标志的钢轨纵向位移线路现场图像形成图像序列。可通过相机等图像采集设备在各检测时间点采集钢轨纵向位移场景图像序列,每个图像序列包含至少3幅以上、不同视角的高质高清图像,每幅图像包含场景内所有预设编码标志,如图4所示。获取的钢轨纵向位移线路现场图像可以存储在存储设备当中,或上传至服务器上,待后续设备调取使用。S2: The on-site images of the longitudinal displacement line of the rail at different times and at different angles, including all coding marks, are collected by the image acquisition equipment to form an image sequence. Cameras and other image acquisition devices can be used to collect rail longitudinal displacement scene image sequences at each detection time point. Each image sequence contains at least 3 high-quality high-definition images from different perspectives, and each image contains all preset coded signs in the scene. As shown in Figure 4. The obtained on-site images of the longitudinal displacement lines of the rails can be stored in the storage device, or uploaded to the server, to be retrieved and used by subsequent devices.

S3:图像采集设备采集的图像由于受天气、光照、噪声等复杂因素的影响较大,且检测目标在图像中所占比例较小且位置变化较大,传统目标定位方法无法对编码标记准确定位。因此,本发明采用基于卷积神经网络的标志检测方法,构建编码标志区域定位模型,对图像序列中的编码标志进行检测和定位。其中,卷积神经网络的实践平台采用了Caffe,Caffe是基于C++的深度学习框架,其支持命令行、Python和MATLAB接口,具体实施方法如下:S3: The image collected by the image acquisition device is greatly affected by complex factors such as weather, light, and noise, and the proportion of the detection target in the image is small and the position changes greatly. The traditional target positioning method cannot accurately locate the coded mark. . Therefore, the present invention uses a convolutional neural network-based marker detection method to construct a coded marker region location model to detect and locate the coded markers in the image sequence. Among them, the practice platform of convolutional neural network adopts Caffe, which is a deep learning framework based on C++, which supports command line, Python and MATLAB interface. The specific implementation method is as follows:

S31:基于获取的钢轨纵向位移线路现场图像,构建用于训练的钢轨纵向位移图像数据集。数据集图像来源于检测人员拍摄的大量钢轨纵向位移线路现场图像。S31: Based on the obtained on-site images of the longitudinal displacement lines of the rails, a data set of longitudinal displacement images of the rails for training is constructed. The images in the data set come from a large number of on-site images of rail longitudinal displacement lines taken by inspectors.

S32:基于卷积神经网络方法对数据集进行训练学习,生成编码标记区域的检测及定位模型。基于待训练的钢轨纵向位移线路现场图像数据集,获取待训练图像中的编码标志的标注数据,然后将钢轨纵向位移线路现场图像数据集及所述标注数据输入卷积神经网络进行训练,生成编码标志检测和定位模型。本发明中根据上述构建的数据集,基于Caffe平台,利用卷积神经网络模型对数据集进行训练学习,生成用于检测和定位编码标记的CaffeModel文件。其中,CaffeModel文件是基于Caffe平台训练生成的独有文件,支持命令行、Python和MATLAB接口,可方便的进行调用,输出检测和定位结果。S32: Based on the convolutional neural network method, the data set is trained and learned, and a detection and positioning model of the coded marked area is generated. Based on the on-site image data set of the longitudinal displacement line of the rail to be trained, the label data of the coding mark in the image to be trained is obtained, and then the on-site image data set of the longitudinal displacement line of the rail and the label data are input into the convolutional neural network for training to generate a code Landmark detection and localization models. In the present invention, according to the data set constructed above, based on the Caffe platform, the convolutional neural network model is used to train and learn the data set, and generate a CaffeModel file for detecting and locating coding marks. Among them, the CaffeModel file is a unique file generated based on the training of the Caffe platform. It supports command line, Python and MATLAB interfaces, and can be easily called to output detection and positioning results.

S33:基于所述编码标志检测及定位模型对所述图像序列中的编码标志进行检测和定位。S33: Detect and locate the encoding markers in the image sequence based on the encoding marker detection and positioning model.

S4:解码各编码标志的特征点以及特征点的亚像素图像坐标。可基于编码标志几何结构、颜色等信息解码,获得特征点的编码值和亚像素精确图像坐标,如图5所示。S4: Decoding the feature points of each coded mark and the sub-pixel image coordinates of the feature points. It can be decoded based on information such as the geometric structure and color of the coded mark, and the coded value of the feature point and the sub-pixel precise image coordinates can be obtained, as shown in Figure 5.

S5:基于亚像素图像坐标构建钢轨纵向位移线路现场的三维重建模型,如图6所示。步骤S5可包括:S5: Construct the 3D reconstruction model of the rail longitudinal displacement line site based on the sub-pixel image coordinates, as shown in Figure 6. Step S5 may include:

S51:根据所述特征点的亚像素图像坐标估计相机运动参数矩阵;S51: Estimate a camera motion parameter matrix according to the sub-pixel image coordinates of the feature points;

S52:基于每幅现场图像对应的相机运动参数矩阵采用三角测量法估算特征点空间坐标;S52: Based on the camera motion parameter matrix corresponding to each scene image, the spatial coordinates of the feature points are estimated by triangulation;

S53:通过光束平差法优化特征点空间坐标和相机运动矩阵,得到现场三维重建结果。S53: Optimizing the spatial coordinates of the feature points and the camera motion matrix through the beam adjustment method to obtain the 3D reconstruction result of the scene.

S6:基于所述三维重建模型计算不同检测时间点间的钢轨纵向位移。利用各检测时间点采集的图像序列中轨旁固定参考基准结构上的编码标志的特征点亚像素图像坐标计算各图像序列的视角转换关系。将S5的三维重建模型统一至同一坐标系下,利用不同检测时间点采集的图像序列中钢轨轨腰上编码标志上的特征点的三维重建结果计算不同检测时间点间的钢轨纵向位移,如图7所示。获得的钢轨纵向位移检测结果可以存储在存储设备当中,或上传至服务器上,待后续设备调取使用。S6: Calculate the longitudinal displacement of the rail between different detection time points based on the three-dimensional reconstruction model. Using the sub-pixel image coordinates of the feature points of the coded marks on the trackside fixed reference structure in the image sequences collected at each detection time point to calculate the viewing angle conversion relationship of each image sequence. Unify the 3D reconstruction model of S5 into the same coordinate system, and use the 3D reconstruction results of the feature points on the coded marks on the rail waist in the image sequences collected at different detection time points to calculate the longitudinal displacement of the rail between different detection time points, as shown in Fig. 7. The obtained detection results of the longitudinal displacement of the rail can be stored in the storage device or uploaded to the server to be retrieved and used by subsequent devices.

本发明同时公开了一种基于图像序列的钢轨纵向位移检测系统,所述系统包括:The present invention also discloses an image sequence-based rail longitudinal displacement detection system, the system comprising:

编码标志定位单元,用于基于铁轨旁边的固定参考基准结构以及钢轨轨腰上设置的编码标志,通过图像采集设备采集不同时间、不同角度、包含所有编码标志的钢轨纵向位移线路现场图像组成图像序列。The coded mark positioning unit is used to form an image sequence based on the fixed reference structure next to the rail and the coded mark set on the rail waist, through the image acquisition equipment to collect the on-site images of the longitudinal displacement line of the rail at different times and at different angles, including all the coded marks .

特征点定位单元,用于基于卷积神经网络的标志检测方法,构建编码标志检测及定位模型,对图像序列中的编码标志进行检测和定位,解码各编码标志的特征点以及特征点的亚像素图像坐标。The feature point positioning unit is used for the mark detection method based on the convolutional neural network, constructs the code mark detection and positioning model, detects and locates the code mark in the image sequence, decodes the feature points of each code mark and the sub-pixel of the feature point image coordinates.

三维重建单元,用于基于特征点的亚像素图像坐标估计相机运动参数矩阵和估算各特征点空间坐标,构建现场三维重建模型。The three-dimensional reconstruction unit is used for estimating the camera motion parameter matrix and estimating the space coordinates of each feature point based on the sub-pixel image coordinates of the feature points, and constructing the on-site three-dimensional reconstruction model.

位移计算单元,用于基于所述三维重建模型计算在不同检测时间点间的钢轨纵向位移。A displacement calculation unit, configured to calculate the longitudinal displacement of the rail between different detection time points based on the three-dimensional reconstruction model.

本发明基于在固定参考基准结构以及钢轨轨腰上设置的编码标志,采集图像序列,然后采用基于深度学习的方法,对编码标记进行检测和精确定位,克服图像噪声和不相关信息干扰。以深度学习定位结果为指导,基于编码标记几何结构、颜色等信息解码并获得特征点的编码值和亚像素图像坐标。根据每个图像序列中的特征点亚像素图像坐标,对每个钢轨纵向位移场景进行三维重建。再利用各检测时间点采集的图像序列中轨旁固定参考基准结构上的编码标志的特征点亚像素图像坐标,计算各图像序列的视角转换关系,将三维重建结果统一至同一坐标系下,利用不同检测时间点采集的图像序列中钢轨轨腰上编码标志上的特征点的三维重建结果,最终可计算出不同检测时间点间的钢轨纵向位移。The present invention collects image sequences based on coded marks set on fixed reference structures and rail waists, and then uses a method based on deep learning to detect and accurately locate the coded marks to overcome image noise and irrelevant information interference. Guided by the positioning results of deep learning, the coded values and sub-pixel image coordinates of feature points are decoded and obtained based on information such as the geometric structure and color of coded marks. According to the sub-pixel image coordinates of feature points in each image sequence, 3D reconstruction is performed for each rail longitudinal displacement scene. Then use the sub-pixel image coordinates of the feature points of the coded marks on the trackside fixed reference structure in the image sequences collected at each detection time point to calculate the viewing angle conversion relationship of each image sequence, and unify the 3D reconstruction results into the same coordinate system. The three-dimensional reconstruction results of the feature points on the coded marks on the rail waist in the image sequences collected at different detection time points can finally calculate the longitudinal displacement of the rail between different detection time points.

本发明适用于钢轨纵向位移的非接触精确检测,无需检测人员上道,无需在线路上设置标定装置,无需轨旁设定固定成像装置,无需辅助光源,编码标志设置成本极低,对线路运营毫无影响,检测操作简单快捷且检测精度高,可进一步推广应用至如道岔心轨等其他关键结构部件的位移检测中,为保障铁路的运营安全提供快速、准确、可靠的理论技术支持。The invention is suitable for the non-contact accurate detection of the longitudinal displacement of the rail, without the need for detection personnel to go on the track, without setting a calibration device on the line, without setting a fixed imaging device at the side of the track, without an auxiliary light source, and the cost of setting the coding mark is extremely low. No impact, the detection operation is simple and fast, and the detection accuracy is high. It can be further promoted and applied to the displacement detection of other key structural components such as switch core rails, and provides fast, accurate and reliable theoretical technical support for ensuring the safety of railway operations.

显然,本发明的上述实施例仅仅是为清楚地说明本发明所作的举例,而并非是对本发明的实施方式的限定,对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动,这里无法对所有的实施方式予以穷举,凡是属于本发明的技术方案所引伸出的显而易见的变化或变动仍处于本发明的保护范围之列。Apparently, the above-mentioned embodiments of the present invention are only examples for clearly illustrating the present invention, and are not intended to limit the implementation of the present invention. Those of ordinary skill in the art can also make It is impossible to exhaustively list all the implementation modes here, and any obvious changes or changes derived from the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims (9)

1.一种基于图像序列的钢轨纵向位移检测方法,其特征在于,所述方法包括:1. a rail longitudinal displacement detection method based on image sequence, it is characterized in that, described method comprises: S1:在钢轨旁边的固定参考基准结构以及钢轨轨腰上设置编码标志;S1: Set coding marks on the fixed reference structure next to the rail and on the rail waist; S2:通过图像采集设备采集不同时间、不同角度、包含所有编码标志的钢轨纵向位移线路现场图像组成图像序列;S2: The on-site images of the longitudinal displacement lines of the rails at different times and angles, including all coding marks, are collected by the image acquisition equipment to form an image sequence; S3:基于卷积神经网络的标志检测方法,构建编码标志检测及定位模型,对图像序列中的编码标志进行检测和定位;S3: Based on the mark detection method of the convolutional neural network, construct the code mark detection and positioning model, and detect and locate the code mark in the image sequence; S4:解码各编码标志的特征点以及特征点的亚像素图像坐标;S4: Decoding the feature points of each coded mark and the sub-pixel image coordinates of the feature points; S5:基于亚像素图像坐标构建钢轨纵向位移线路现场的三维重建模型;S5: Construct the 3D reconstruction model of the rail longitudinal displacement line site based on the sub-pixel image coordinates; S6:基于所述三维重建模型计算钢轨纵向位移。S6: Calculate the longitudinal displacement of the rail based on the three-dimensional reconstruction model. 2.根据权利要求1所述的方法,其特征在于,所述固定参考基准结构包括电气化立柱和/或桥梁拉杆。2. The method of claim 1, wherein the fixed reference structures include electrified columns and/or bridge tie rods. 3.根据权利要求1所述的方法,其特征在于,所述设置编码标志的方式为喷涂、挂牌或贴牌。3. The method according to claim 1, characterized in that, the way of setting the coding mark is spraying, hanging or sticking a label. 4.根据权利要求1所述的方法,其特征在于,所述图像序列包括三幅以上钢轨纵向位移线路现场图像。4. The method according to claim 1, wherein the image sequence includes more than three on-site images of rail longitudinal displacement lines. 5.根据权利要求1所述的方法,其特征在于,所述步骤S3包括:5. The method according to claim 1, wherein said step S3 comprises: S31:采集大量钢轨纵向位移线路现场图像,构建用于训练的钢轨纵向位移图像数据集;S31: Collect a large number of on-site images of rail longitudinal displacement lines, and construct a rail longitudinal displacement image data set for training; S32:基于卷积神经网络算法对所述数据集进行训练学习,生成编码标志检测及定位模型;S32: Perform training and learning on the data set based on a convolutional neural network algorithm, and generate a coding mark detection and positioning model; S33:基于所述编码标志检测及定位模型对所述图像序列中的编码标志进行检测和定位。S33: Detect and locate the encoding markers in the image sequence based on the encoding marker detection and positioning model. 6.根据权利要求5所述的方法,其特征在于,所述步骤S32包括:6. The method according to claim 5, wherein the step S32 comprises: S321:基于待训练的钢轨纵向位移线路现场图像数据集,获取待训练图像中编码标志的标注数据;S321: Based on the on-site image data set of the rail longitudinal displacement line to be trained, obtain the labeling data of the coding mark in the image to be trained; S322:将钢轨纵向位移线路现场图像数据集及所述标注数据输入卷积神经网络进行训练,生成编码标志检测和定位模型。S322: Input the on-site image data set of the rail longitudinal displacement line and the labeling data into the convolutional neural network for training, and generate a coded mark detection and positioning model. 7.根据权利要求1所述的方法,其特征在于,步骤S5包括:7. The method according to claim 1, wherein step S5 comprises: S51:根据所述特征点的亚像素图像坐标估计相机运动参数矩阵;S51: Estimate a camera motion parameter matrix according to the sub-pixel image coordinates of the feature points; S52:基于每幅现场图像对应的相机运动参数矩阵采用三角测量法估算特征点空间坐标;S52: Based on the camera motion parameter matrix corresponding to each scene image, the spatial coordinates of the feature points are estimated by triangulation; S53:通过光束平差法优化特征点空间坐标和相机运动矩阵,得到现场三维重建结果。S53: Optimizing the spatial coordinates of the feature points and the camera motion matrix through the beam adjustment method to obtain the 3D reconstruction result of the scene. 8.根据权利要求1所述的方法,其特征在于,步骤S6包括:8. The method according to claim 1, wherein step S6 comprises: S61:将各检测时间点的三维重建模型统一至同一坐标系下;S61: Unify the three-dimensional reconstruction models at each detection time point into the same coordinate system; S62:基于同一坐标系下的三维重建模型计算不同检测时间点间的钢轨纵向位移。S62: Calculate the longitudinal displacement of the rail between different detection time points based on the three-dimensional reconstruction model in the same coordinate system. 9.一种基于图像序列的钢轨纵向位移检测系统,其特征在于,所述系统包括:9. A rail longitudinal displacement detection system based on image sequences, characterized in that the system comprises: 编码标志定位单元,用于基于钢轨旁边的固定参考基准结构以及钢轨轨腰上设置的编码标志,通过图像采集设备采集不同时间、不同角度、包含所有编码标志的钢轨纵向位移线路现场图像组成图像序列;The coded mark positioning unit is used to form an image sequence based on the fixed reference structure next to the rail and the coded mark set on the rail waist, through the image acquisition equipment to collect the on-site images of the longitudinal displacement line of the rail at different times and from different angles, including all the coded marks ; 特征点定位单元,用于基于卷积神经网络的标志检测方法,构建编码标志检测及定位模型,对图像序列中的编码标志进行检测和定位,解码各编码标志的特征点以及特征点的亚像素图像坐标;The feature point positioning unit is used for the mark detection method based on the convolutional neural network, constructs the code mark detection and positioning model, detects and locates the code mark in the image sequence, decodes the feature points of each code mark and the sub-pixel of the feature point image coordinates; 三维重建单元,用于基于特征点的亚像素图像坐标构建钢轨纵向位移线路现场的三维重建模型;The three-dimensional reconstruction unit is used for constructing the three-dimensional reconstruction model of the rail longitudinal displacement line site based on the sub-pixel image coordinates of the feature points; 位移计算单元,用于基于所述三维重建模型计算钢轨纵向位移。A displacement calculation unit, configured to calculate the longitudinal displacement of the rail based on the three-dimensional reconstruction model.
CN201710388790.9A 2017-05-27 2017-05-27 A method and system for detecting longitudinal displacement of rails based on image sequences Active CN107330931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710388790.9A CN107330931B (en) 2017-05-27 2017-05-27 A method and system for detecting longitudinal displacement of rails based on image sequences

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710388790.9A CN107330931B (en) 2017-05-27 2017-05-27 A method and system for detecting longitudinal displacement of rails based on image sequences

Publications (2)

Publication Number Publication Date
CN107330931A CN107330931A (en) 2017-11-07
CN107330931B true CN107330931B (en) 2019-10-25

Family

ID=60192948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710388790.9A Active CN107330931B (en) 2017-05-27 2017-05-27 A method and system for detecting longitudinal displacement of rails based on image sequences

Country Status (1)

Country Link
CN (1) CN107330931B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110849720A (en) * 2019-12-19 2020-02-28 上海工程技术大学 Monitoring system and analysis system for steel rail longitudinal resistance test based on image recognition

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103821054A (en) * 2014-03-12 2014-05-28 武汉大学 INS (inertial navigation system) and total station combination-based track geometrical state measurement system and method
CN106204620A (en) * 2016-07-21 2016-12-07 清华大学 A kind of tactile three-dimensional power detection method based on micro-vision
CN106199570A (en) * 2016-07-20 2016-12-07 上海自仪泰雷兹交通自动化系统有限公司 A kind of track train displacement and speed detection system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3009984A1 (en) * 2014-10-14 2016-04-20 Sick Ag Detection system for optical codes
US9943247B2 (en) * 2015-07-28 2018-04-17 The University Of Hawai'i Systems, devices, and methods for detecting false movements for motion correction during a medical imaging scan

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103821054A (en) * 2014-03-12 2014-05-28 武汉大学 INS (inertial navigation system) and total station combination-based track geometrical state measurement system and method
CN106199570A (en) * 2016-07-20 2016-12-07 上海自仪泰雷兹交通自动化系统有限公司 A kind of track train displacement and speed detection system
CN106204620A (en) * 2016-07-21 2016-12-07 清华大学 A kind of tactile three-dimensional power detection method based on micro-vision

Also Published As

Publication number Publication date
CN107330931A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN108248634B (en) Track switch and track full-sized abrasion vision measurer and its measurement method
CN110174136B (en) Intelligent detection robot and intelligent detection method for underground pipeline
CN105423940B (en) A kind of subway tunnel structure cross section deformation device for fast detecting
CN102564335B (en) Method for measuring deformation of large-scale tunnel
CN104851104B (en) Using the flexible big view calibration method of target high speed camera close shot
CN104165750B (en) Measurement method for pose of wind tunnel model combining stereoscopic vision with gyroscope
CN103837085B (en) The displacement of targets device for measuring vector quantity demarcated based on laser tracker pointwise and method
CN206327389U (en) A kind of railway positioning system based on contact net bar image recognition
CN108898085A (en) Intelligent road disease detection method based on mobile phone video
CN104268866B (en) The video sequence method for registering being combined with background information based on movable information
CN104316024A (en) Simple cascading camera chain measuring method and system for monitoring multipoint settlement
CN113884081B (en) Method and equipment for measuring three-dimensional coordinates of positioning points
CN108955682A (en) Mobile phone indoor positioning air navigation aid
CN105313908A (en) Scanning device for facilities beside railway track
CN105938554A (en) Switch rail expansion displacement monitoring method based on image automatic interpretation and switch rail expansion displacement monitoring system thereof
CN114140394A (en) A non-contact detection method of pantograph-catenary contact force based on image processing technology
CN113074694B (en) Automatic monitoring device for tunnel section deformation
CN106930770A (en) Shield machine shield gap method of estimation based on convolutional neural networks
CN107330931B (en) A method and system for detecting longitudinal displacement of rails based on image sequences
CN110733534A (en) rail crawling observation method and system
CN113282978A (en) Method for generating railway station signal plane layout diagram based on BIM model
CN104683758A (en) Three-dimensional video monitoring method capable of conveniently obtaining specific positions and surroundings
CN103606321B (en) Based on video location and the road test judgment method of digital modeling combined technology
CN107320118B (en) Method and system for calculating three-dimensional image space information of carbon nano C-shaped arm
CN205448985U (en) Subway tunnel structure section warp quick detection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
OL01 Intention to license declared
OL01 Intention to license declared