CN115320669A - Method, device, equipment and medium for detecting railway coming car based on radar map - Google Patents
Method, device, equipment and medium for detecting railway coming car based on radar map Download PDFInfo
- Publication number
- CN115320669A CN115320669A CN202211071803.7A CN202211071803A CN115320669A CN 115320669 A CN115320669 A CN 115320669A CN 202211071803 A CN202211071803 A CN 202211071803A CN 115320669 A CN115320669 A CN 115320669A
- Authority
- CN
- China
- Prior art keywords
- target
- radar
- railway
- point
- determining
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- SAZUGELZHZOXHB-UHFFFAOYSA-N acecarbromal Chemical compound CCC(Br)(CC)C(=O)NC(=O)NC(C)=O SAZUGELZHZOXHB-UHFFFAOYSA-N 0.000 title claims abstract 3
- 238000001514 detection method Methods 0.000 claims abstract description 126
- 238000004590 computer program Methods 0.000 claims description 15
- 238000000926 separation method Methods 0.000 claims description 2
- 239000011159 matrix material Substances 0.000 description 25
- 238000012545 processing Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 238000012423 maintenance Methods 0.000 description 6
- 238000002592 echocardiography Methods 0.000 description 5
- 230000000877 morphologic effect Effects 0.000 description 4
- 238000012935 Averaging Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000003708 edge detection Methods 0.000 description 2
- 230000003628 erosive effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B61—RAILWAYS
- B61L—GUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
- B61L23/00—Control, warning or like safety means along the route or between vehicles or trains
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S13/00—Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
- G01S13/88—Radar or analogous systems specially adapted for specific applications
- G01S13/89—Radar or analogous systems specially adapted for specific applications for mapping or imaging
Landscapes
- Engineering & Computer Science (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
Description
技术领域technical field
本发明涉及数据处理技术领域,尤其涉及一种基于雷达图的铁路来车检测方法、装置、设备及介质。The invention relates to the technical field of data processing, in particular to a method, device, equipment and medium for detecting incoming railway vehicles based on radar images.
背景技术Background technique
为保持铁路经常处于符合铁路技术标准所规定的良好状态,需要对铁路路基、轨道等进行的养护修理作业,当铁轨养护车停留在某处,铁路工人进行养护作业时,需要对同一条铁路上的其他火车进行安全预警,防止发生安全事故。In order to keep the railway in a good state in line with the railway technical standards, it is necessary to carry out maintenance and repair operations on the railway subgrade and tracks. The other trains in the train will carry out safety warnings to prevent safety accidents.
发明内容Contents of the invention
本发明提供了一种基于雷达图的铁路来车检测方法、装置、设备及介质,能够准确检测到铁路来车,并进行安全预警。The invention provides a method, device, equipment and medium for detecting incoming railway vehicles based on radar charts, which can accurately detect incoming railway vehicles and perform safety early warning.
根据本发明的一方面,提供了一种基于雷达图的铁路来车检测方法,所述方法包括:According to one aspect of the present invention, there is provided a method for detecting railway vehicles based on radar images, the method comprising:
根据设置于铁路上目标位置点的雷达进行探测得到的回波信号,确定雷达图,并根据所述雷达图确定待测目标的航迹数据;Determining the radar map according to the echo signal obtained by detecting the radar at the target position point on the railway, and determining the track data of the target to be measured according to the radar map;
根据所述待测目标的航迹数据,确定所述待测目标中的同轨目标;其中,所述同轨目标为位于所述目标位置点所在铁路上的目标;According to the track data of the target to be measured, determine the target on the same track in the target to be measured; wherein, the target on the same track is a target located on the railway where the target position point is located;
若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。If the distance between the target on the same track and the target location point is less than the preset distance, a safety warning is issued.
根据本发明的另一方面,提供了一种基于雷达图的铁路来车检测装置,包括:According to another aspect of the present invention, a kind of radar image-based railway vehicle detection device is provided, comprising:
航迹数据确定模块,用于根据设置于铁路上目标位置点的雷达进行探测得到的回波信号,确定雷达图,并根据所述雷达图确定待测目标的航迹数据;The track data determination module is used to determine the radar map according to the echo signal obtained by detecting the radar set at the target position point on the railway, and determine the track data of the target to be measured according to the radar map;
同轨目标确定模块,用于根据所述待测目标的航迹数据,确定所述待测目标中的同轨目标;其中,所述同轨目标为位于所述目标位置点所在铁路上的目标;The same-track target determination module is used to determine the same-track target in the target to be measured according to the track data of the target to be measured; wherein, the same-track target is a target located on the railway where the target position point is located ;
安全预警模块,用于若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。A safety warning module, configured to issue a safety warning if the distance between the target on the same track and the target location point is less than a preset distance.
根据本发明的另一方面,提供了一种电子设备,所述电子设备包括:According to another aspect of the present invention, an electronic device is provided, and the electronic device includes:
至少一个处理器;以及at least one processor; and
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行本发明任一实施例所述的基于雷达图的铁路来车检测方法。The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method described in any embodiment of the present invention. A method of railway vehicle detection based on radar map.
根据本发明的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本发明任一实施例所述的基于雷达图的铁路来车检测方法。According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement any of the embodiments of the present invention when executed. Radar map-based railway vehicle detection method.
本申请实施例的技术方案,通过设置于铁路上目标位置点的雷达进行探测得到的回波信号,确定雷达图,并根据所述雷达图确定待测目标的航迹数据;根据所述待测目标的航迹数据,确定所述待测目标中的同轨目标;其中,所述同轨目标为位于所述目标位置点所在铁路上的目标;若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。本技术方案通过雷达进行探测,保证了较大的探测范围,又从待测目标中确定出同轨目标,能够准确检测到铁路来车,并进行安全预警。According to the technical solution of the embodiment of the present application, the echo signal obtained by detecting the radar at the target position point on the railway is used to determine the radar map, and determine the track data of the target to be measured according to the radar map; The track data of the target determines the target on the same track in the target to be measured; wherein, the target on the same track is a target located on the railway where the target position point is located; if the distance between the target on the same track and the target position point If the distance is less than the preset distance, a safety warning will be issued. The technical solution uses radar for detection, which ensures a large detection range, and determines the same-track target from the target to be measured, and can accurately detect incoming railway vehicles and perform safety warnings.
应当理解,本部分所描述的内容并非旨在标识本发明的实施例的关键或重要特征,也不用于限制本发明的范围。本发明的其它特征将通过以下的说明书而变得容易理解。It should be understood that the content described in this section is not intended to identify key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will be easily understood from the following description.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是根据本申请实施例一提供的一种基于雷达图的铁路来车检测方法的流程图;FIG. 1 is a flow chart of a method for detecting incoming railway vehicles based on a radar map according to
图2是根据本申请实施例二提供的一种基于雷达图的铁路来车检测方法的流程图;FIG. 2 is a flow chart of a method for detecting incoming railway vehicles based on a radar map according to Embodiment 2 of the present application;
图3a是根据本申请实施例提供的一种基于雷达图的铁路来车检测方法的一种预设区域示意图;Fig. 3a is a schematic diagram of a preset area of a radar map-based railway vehicle detection method provided according to an embodiment of the present application;
图3b是根据本申请实施例提供的一种基于雷达图的铁路来车检测方法的另一种预设区域示意图;Fig. 3b is a schematic diagram of another preset area of a radar map-based railway vehicle detection method provided according to an embodiment of the present application;
图4是根据本申请实施例三提供的一种基于雷达图的铁路来车检测方法的流程图;Fig. 4 is a flow chart of a radar map-based railway vehicle detection method provided according to Embodiment 3 of the present application;
图5是根据本申请实施例提供的一种基于雷达图的铁路来车检测方法的雷达探测示意图;FIG. 5 is a schematic diagram of radar detection of a method for detecting incoming railway vehicles based on radar images according to an embodiment of the present application;
图6是根据本申请实施例提供的一种基于雷达图的铁路来车检测方法的相邻位置点示意图;Fig. 6 is a schematic diagram of adjacent position points of a radar map-based railway vehicle detection method provided according to an embodiment of the present application;
图7是根据本申请实施例提供的一种基于雷达图的铁路来车检测方法的插值位置点示意图;Fig. 7 is a schematic diagram of the interpolation position points of a radar map-based railway vehicle detection method provided according to an embodiment of the present application;
图8是根据本申请实施例四提供的一种基于雷达图的铁路来车检测方法的流程图;FIG. 8 is a flow chart of a radar map-based railway vehicle detection method provided according to Embodiment 4 of the present application;
图9是根据本申请实施例五提供的一种基于雷达图的铁路来车检测装置的结构示意图;9 is a schematic structural diagram of a radar map-based railway vehicle detection device provided according to Embodiment 5 of the present application;
图10是实现本申请实施例的一种基于雷达图的铁路来车检测方法的电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device implementing a method for detecting incoming railway vehicles based on a radar map according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solution of the present invention, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”“目标”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", and "object" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific order or priority. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
实施例一Embodiment one
图1为本申请实施例一提供了一种基于雷达图的铁路来车检测方法的流程图,本申请实施例可适用于对铁路来车进行安全预警的情况,该方法可以由基于雷达图的铁路来车检测装置来执行,该基于雷达图的铁路来车检测装置可以采用硬件和/或软件的形式实现,该基于雷达图的铁路来车检测装置可配置于具有数据处理能力的电子设备中。如图1所示,该方法包括:Fig. 1 provides a kind of flow chart of the railway car detection method based on the radar map for the first embodiment of the present application, the embodiment of the present application can be applicable to the situation of carrying out safety warning to the railway car coming, this method can be based on the radar map The railway vehicle detection device based on the radar chart can be implemented in the form of hardware and/or software, and the radar chart-based railway vehicle detection device can be configured in an electronic device with data processing capabilities . As shown in Figure 1, the method includes:
S110,根据设置于铁路上目标位置点的雷达进行探测得到的回波信号,确定雷达图,并根据所述雷达图确定待测目标的航迹数据。S110. Determine a radar map according to the echo signal detected by the radar installed at the target position on the railway, and determine the track data of the target to be measured according to the radar map.
其中,目标位置点可以是铁路维修或养护的位置,示例性的,目标位置点可以在铁路养护车上。雷达可以是微波雷达,例如单发单收的机械式扫描毫米波雷达。雷达图为用于反映雷达探测区域内各位置的反射回波强度数据的图像,本申请实施例中,雷达图实际上反映的是以目标位置点为中心,以雷达探测距离为半径的圆形区域内,待测目标的位置信息。待测目标可以是火车、指示牌等铁路周边的各类目标。航迹数据可以反映待测目标的位置、移动速度以及移动方向等。Wherein, the target location point may be a location for railway maintenance or maintenance, for example, the target location point may be on a railway maintenance vehicle. The radar can be a microwave radar, such as a mechanical scanning millimeter-wave radar with single transmission and single reception. The radar map is an image used to reflect the reflected echo intensity data of each position in the radar detection area. In the embodiment of the present application, the radar map actually reflects a circle with the target position as the center and the radar detection distance as the radius. The location information of the target to be measured in the area. The target to be tested can be various targets around the railway such as trains and signs. The track data can reflect the position, moving speed and moving direction of the target to be measured.
具体的,若雷达探测区域存在待测目标,则待测目标位置处的雷达反射波强度数据与其它位置的雷达反射波强度数据有所不同,进而体现为雷达图上待测目标对应位置的像素点数值和其它位置的有所不同,据此可以根据雷达图确定出待测目标的位置。进一步的,获取至少两张雷达图,以确定待测目标途经的多个位置,根据待测目标途经的多个位置,确定出待测目标的移动速度以及移动方向。Specifically, if there is a target to be measured in the radar detection area, the radar reflected wave intensity data at the position of the target to be measured is different from the radar reflected wave intensity data at other positions, which is then reflected in the pixel at the corresponding position of the target to be measured on the radar map The value of the point is different from that of other positions, based on which the position of the target to be measured can be determined according to the radar map. Further, at least two radar images are acquired to determine multiple positions passed by the target to be measured, and the moving speed and direction of the target to be measured are determined according to the multiple positions passed by the target to be measured.
示例性的,以雷达为坐标原点构建坐标系,航迹数据可以表示为(idn,xn,yn,vxn,vyn),其中的idn表示第n个待测目标,xn表示待测目标的横坐标,yn表示待测目标的纵坐标,vxn表示待测目标在x方向的航行速度,vyn表示待测目标在y方向的航行速度。Exemplarily, the coordinate system is constructed with the radar as the coordinate origin, and the track data can be expressed as (id n , x n , y n , vx n , vy n ), where id n represents the nth target to be measured, and x n Represents the abscissa of the target to be measured, y n represents the ordinate of the target to be measured, vx n represents the sailing speed of the target to be measured in the x direction, and vy n represents the sailing speed of the target to be measured in the y direction.
S120,根据所述待测目标的航迹数据,确定所述待测目标中的同轨目标;其中,所述同轨目标为位于所述目标位置点所在铁路上的目标。S120. Determine a target on the same track among the targets to be measured according to the track data of the target to be measured; wherein the target on the same track is an object located on the railway where the target position point is located.
其中,同轨目标可以是位于目标位置点所在的铁路轨道上的待测目标,例如同一条铁路上的火车。本申请实施例中,待测目标可能位于雷达探测区域的任意位置,由于位于目标位置点所在铁路上的待测目标对铁路工作人员和/或相关工具存在安全隐患,所以需要从各待测目标中确定出同轨目标。Wherein, the target on the same track may be a target to be measured located on the railway track where the target position point is located, such as a train on the same railway. In the embodiment of the present application, the target to be measured may be located at any position in the radar detection area. Since the target to be measured on the railway where the target position point is located has potential safety hazards to the railway staff and/or related tools, it is necessary to select the target from each target to be measured. Identify the same track target.
S130,若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。S130, if the distance between the target on the same track and the target location point is less than a preset distance, perform a safety warning.
其中,预设距离可以根据实际情况确定,本申请实施例对此不做限定。安全预警的方式包括但不限于:声音预警,警示灯预警等。Wherein, the preset distance may be determined according to actual conditions, which is not limited in this embodiment of the present application. Ways of safety warning include but are not limited to: sound warning, warning light warning, etc.
本申请实施例中,确定同轨目标后,同轨目标与目标位置点的距离可以根据航迹数据确定,具体的,根据航迹数据可以确定同轨目标的位置,进而可以计算同轨目标与目标位置点的距离。In the embodiment of the present application, after the target on the same track is determined, the distance between the target on the same track and the target position point can be determined according to the track data. The distance to the target location point.
在一个实施例中,以雷达为坐标原点构建坐标系,航迹数据可以表示为(idn,xn,yn,vxn,vyn),设同轨目标与目标位置点的距离为L,In one embodiment, the coordinate system is constructed with the radar as the coordinate origin, and the track data can be expressed as (id n , x n , y n , vx n , vy n ), and the distance between the target on the same track and the target position point is L ,
若所述同轨目标与目标位置点的距离L小于预设距离,则进行安全预警。If the distance L between the target on the same track and the target location point is less than a preset distance, a safety warning is issued.
本申请实施例的技术方案,通过设置于铁路上目标位置点的雷达进行探测得到的回波信号,确定雷达图,并根据所述雷达图确定待测目标的航迹数据;根据所述待测目标的航迹数据,确定所述待测目标中的同轨目标;其中,所述同轨目标为位于所述目标位置点所在铁路上的目标;若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。本技术方案通过雷达进行探测,保证了较大的探测范围,又从待测目标中确定出同轨目标,能够准确检测到铁路来车,并进行安全预警。According to the technical solution of the embodiment of the present application, the echo signal obtained by detecting the radar at the target position point on the railway is used to determine the radar map, and determine the track data of the target to be measured according to the radar map; The track data of the target determines the target on the same track in the target to be measured; wherein, the target on the same track is a target located on the railway where the target position point is located; if the distance between the target on the same track and the target position point If the distance is less than the preset distance, a safety warning will be issued. The technical solution uses radar for detection, which ensures a large detection range, and determines the same-track target from the target to be measured, and can accurately detect incoming railway vehicles and perform safety warnings.
实施例二Embodiment two
图2为本申请实施例二提供的一种基于雷达图的铁路来车检测方法的流程图,本申请实施例以上述实施例为基础进行优化。FIG. 2 is a flow chart of a method for detecting incoming railway vehicles based on a radar map provided in Embodiment 2 of the present application. The embodiment of the present application is optimized based on the foregoing embodiments.
如图2所示,本申请实施例的方法具体包括如下步骤:As shown in Figure 2, the method of the embodiment of the present application specifically includes the following steps:
S210,根据设置于铁路上目标位置点的雷达进行探测得到的回波信号,确定雷达图,并根据所述雷达图确定待测目标的航迹数据。S210. Determine the radar map according to the echo signal detected by the radar installed at the target position on the railway, and determine the track data of the target to be measured according to the radar map.
S220,根据所述待测目标的航迹数据,确定所述待测目标的位置点是否位于预设区域内。S220. Determine whether the position point of the target to be measured is within a preset area according to the track data of the target to be measured.
其中,如图3a所示,预设区域可以反映雷达探测范围内,目标位置点所在铁路的区域。Wherein, as shown in FIG. 3 a , the preset area may reflect the area of the railway where the target position point is located within the radar detection range.
具体的,因为目标位置点所在铁路是固定的,且位于目标位置点所在铁路上的待测目标可能危害到铁路维修人员和/或维修设备,所以根据目标位置点所在铁路的位置确定出预设区域,以确定待测目标是否为同轨目标。Specifically, because the railway where the target location point is located is fixed, and the target to be measured located on the railway where the target location point is located may endanger railway maintenance personnel and/or maintenance equipment, so the preset area to determine whether the target to be tested is a target on the same track.
本申请实施例中,可选的,所述预设区域的确定过程包括:确定位于雷达探测区域内的铁路段范围;将包含铁路段范围的多边形范围,作为预设区域。In this embodiment of the present application, optionally, the process of determining the preset area includes: determining a range of a railway section within a radar detection area; and using a polygonal range including the range of the railway section as the preset area.
本方案中,由于铁路可能存在拐弯部分,所以铁路可能是直线,也可能在小范围内近似为直线,进而,预设区域的形状可以是多边形的,如图3a所示。具体的,预设区域可以根据雷达探测范围内目标位置点所在铁路段的范围确定,本申请实施例对预设区域的具体形状不做限定。In this solution, since the railway may have a turning part, the railway may be a straight line, or it may be approximated to a straight line in a small area. Furthermore, the shape of the preset area may be a polygon, as shown in Figure 3a. Specifically, the preset area may be determined according to the range of the railway section where the target position point within the radar detection range is located, and the embodiment of the present application does not limit the specific shape of the preset area.
本申请实施例中,可选的,将包含铁路段范围的多边形范围,作为预设区域,包括:将铁路段范围,或者将铁路段范围沿铁路宽度方向进行扩大后的范围,作为预设区域。In the embodiment of the present application, optionally, the polygonal range including the range of the railway section is used as the preset area, including: the range of the railway segment, or the range after expanding the range of the railway segment along the width direction of the railway, as the preset area .
其中,预设区域可以如图3b所示。示例性的,以待测目标为火车为例,由于火车的宽度宽于铁路的宽度,所以将铁路段范围沿铁路宽度方向进行扩大的范围作为预设区域,使预设区域的宽度能够大于火车的宽度,确保待测目标可以位于预设区域内。Wherein, the preset area may be as shown in Fig. 3b. Exemplarily, taking the target to be measured as a train as an example, since the width of the train is wider than the width of the railway, the scope of the railway section expanded along the width direction of the railway is used as the preset area, so that the width of the preset area can be larger than that of the train width to ensure that the target to be measured can be located within the preset area.
S230,若所述待测区域的位置点位于预设区域内,则确定所述待测目标为同轨目标。S230, if the position point of the area to be measured is within the preset area, determine that the object to be measured is a target on the same track.
S240,若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。S240, if the distance between the target on the same track and the target location point is less than a preset distance, perform a safety warning.
本申请实施例的技术方案,通过划定预设区域,将位于预设区域内的待测目标作为同轨目标,若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。本技术方案通过预设区域准确地确定出同轨目标,达到了报警准确率高的效果。In the technical solution of the embodiment of the present application, by delimiting the preset area, the target to be measured located in the preset area is used as the same-track target, and if the distance between the same-track target and the target position point is less than the preset distance, the safety early warning. The technical solution accurately determines the target on the same track through the preset area, and achieves the effect of high alarm accuracy.
实施例三Embodiment three
图4为本申请实施例三提供的一种基于雷达图的铁路来车检测方法的流程图,本申请实施例以上述实施例为基础进行优化。FIG. 4 is a flow chart of a method for detecting incoming railway vehicles based on a radar map provided in Embodiment 3 of the present application. The embodiment of the present application is optimized based on the foregoing embodiments.
如图4所示,本申请实施例的方法具体包括如下步骤:As shown in Figure 4, the method of the embodiment of the present application specifically includes the following steps:
S310,根据雷达相邻探测方向上与雷达距离相等的相邻位置点处回波信号的强度数据,在相邻位置点之间进行强度插值,确定与雷达距离相等的插值位置点处的强度数据。S310, according to the intensity data of the echo signal at the adjacent position point which is equal to the radar distance in the adjacent detection direction of the radar, perform intensity interpolation between the adjacent position points, and determine the intensity data at the interpolated position point which is equal to the radar distance .
本申请实施例的技术方案通过雷达探测目标,雷达位置如图5所示,可以为单发单收的机械式扫描毫米波雷达。该雷达绕中心旋转,连续发射和接收调频无线电波。其中,从雷达发射出的发散状的虚线为雷达的探测信号,相邻两个探测信号对应的方向为相邻探测方向,相邻位置点为相邻探测方向上与雷达距离相等的点,如图6中的A点和B点。反射回波为雷达发射的探测信号被反射后返回被雷达接收到的回波,反射回波的强度数据可以由雷达检测得到。与环境中某个位置相对应的反射回波的强度数据可以反映该位置是否存在目标,并可以根据反射回波的强度数据确定目标的位置、尺寸、形状等信息。雷达每次发射探测信号的探测方向可以用方位角进行表征,一个探测方向的方位角可以为是从雷达指北方向线起,依顺时针方向到该探测方向之间的水平夹角。雷达探测到每一个方位角时,在该方位角上与雷达距离不同的每个位置点处,对应得到一个反射回波的强度数据,每一个方位角对应多个强度数据,得到一维强度数据,雷达旋转扫射一周,可以形成一个极坐标表示的各位置点对应的二维强度数据。The technical solution of the embodiment of the present application detects the target through the radar. The position of the radar is shown in FIG. 5 , which may be a mechanical scanning millimeter-wave radar with single transmission and single reception. The radar rotates around the center, continuously transmitting and receiving FM radio waves. Among them, the divergent dotted line emitted from the radar is the detection signal of the radar, the direction corresponding to two adjacent detection signals is the adjacent detection direction, and the adjacent position point is the point at the same distance from the radar in the adjacent detection direction, as shown in Points A and B in Figure 6. The reflected echo is the echo received by the radar after the detection signal emitted by the radar is reflected, and the intensity data of the reflected echo can be detected by the radar. The intensity data of the reflected echo corresponding to a certain position in the environment can reflect whether there is a target at the position, and the position, size, shape and other information of the target can be determined according to the intensity data of the reflected echo. The detection direction of each detection signal emitted by the radar can be characterized by the azimuth angle, and the azimuth angle of a detection direction can be the horizontal angle between the north pointing direction line of the radar and the detection direction in a clockwise direction. When the radar detects each azimuth angle, at each position point with a different distance from the radar in the azimuth angle, the intensity data of a reflected echo is correspondingly obtained, and each azimuth angle corresponds to multiple intensity data to obtain one-dimensional intensity data , the radar rotates and scans for a circle, and a two-dimensional intensity data corresponding to each position point represented by polar coordinates can be formed.
在本申请实施例中,可以根据相邻位置点的强度数据,选取不同的权重,以确定插值位置点处的强度数据,例如相邻位置点的强度为SA和SB,其权重分别为ω1和ω2,插值位置点处的强度数据为SC,则SC=SA×ω1+SB×ω2。In the embodiment of the present application, different weights can be selected according to the intensity data of adjacent position points to determine the intensity data at the interpolation position points. For example, the intensity of adjacent position points is S A and S B , and their weights are respectively ω 1 and ω 2 , the intensity data at the interpolation position point is S C , then S C = SA ×ω 1 +S B ×ω 2 .
在本申请实施例中,对S310进行优化,根据雷达相邻探测方向上与雷达距离相等的相邻位置点处反射回波的强度数据,在相邻位置点之间进行强度插值,确定与雷达距离相等的插值位置点处的强度数据,包括:在以所述相邻位置点为端点的同心圆弧上进行强度插值,得到插值位置点;所述同心圆弧为以雷达为圆心的,以雷达到所述相邻位置点为半径的圆弧;将相邻位置点中第一位置点到插值位置点的同心圆弧长度,与相邻位置点之间的同心圆弧长度的比值,作为相邻位置点中第二位置点的强度数据的第一权重值;将相邻位置点中第二位置点到插值位置点的同心圆弧长度,与相邻位置点之间的同心圆弧长度的比值,作为相邻位置点中第一位置点的强度数据的第二权重值;根据第一权重值和第二权重值,对相邻位置点的强度数据进行加权求和,作为所述插值位置点的强度数据。In the embodiment of the present application, S310 is optimized, and according to the intensity data of reflected echoes at adjacent positions equal to the distance from the radar in the adjacent detection direction of the radar, intensity interpolation is performed between adjacent position points to determine the The intensity data at the interpolation position points with equal distances includes: performing intensity interpolation on a concentric arc with the adjacent position point as the endpoint to obtain the interpolation position point; the concentric arc is centered on the radar, with The radar arrives at the arc of the radius of the adjacent position point; the concentric arc length from the first position point to the interpolation position point in the adjacent position point, and the ratio of the concentric arc length between the adjacent position points, as The first weight value of the intensity data of the second position point in the adjacent position points; the concentric arc length from the second position point to the interpolation position point in the adjacent position points, and the concentric arc length between the adjacent position points The ratio of is used as the second weight value of the intensity data of the first position point in the adjacent position points; according to the first weight value and the second weight value, the weighted sum of the intensity data of the adjacent position points is used as the interpolation value Intensity data for the location point.
具体的,本申请实施例一种插值方式:在相邻位置点之间进行强度插值可以是,在以雷达为圆心以相邻位置点为端点的圆弧上进行插值,得到插值位置点。如图7所示。插值位置点C和插值位置点D为在以雷达为圆心的上进行插值得到的。插值位置点的间隔可以相等,也可以不相等。如图7所示,A、B两点为相邻位置点,C、D两点为插值位置点且位于A、B两点之间,A、B、C和D到雷达的距离相同,则C点的强度数据D点的强度数据 Specifically, the present application provides an interpolation method: performing intensity interpolation between adjacent location points may be to perform interpolation on a circular arc with the radar as the center and the adjacent location points as endpoints to obtain interpolated location points. As shown in Figure 7. The interpolation position point C and the interpolation position point D are in the circle centered on the radar obtained by interpolation. Interpolation position points can be equally or unequally spaced. As shown in Figure 7, two points A and B are adjacent position points, two points C and D are interpolated position points and are located between A and B, and the distances from A, B, C and D to the radar are the same, then Intensity data at point C Intensity data at point D
示例性的,将雷达同一探测方向上与雷达不同距离位置点处反射回波的强度数据作为矩阵的行元素,将雷达不同探测方向上与雷达相同距离位置点处反射回波的强度数据作为矩阵的列元素,构建初始矩阵。Exemplarily, the intensity data of reflected echoes at positions at different distances from the radar in the same detection direction of the radar are used as row elements of the matrix, and the intensity data of reflected echoes at positions at the same distance from the radar in different detection directions of the radar are used as a matrix The column elements of , construct the initial matrix.
本申请实施例中,因为插值位置点的强度数据由相邻位置点的强度数据计算得到,所以将雷达同一探测方向上与雷达不同距离位置点处反射回波的强度数据作为矩阵的行元素,按照雷达探测方向的变化顺序,依次形成初始矩阵的第二行、第三行、第四行等。每个探测方向的强度数据记为数列{an′|n′∈[1,N]},an′表示为距雷达n′×δ米远处的强度数据,其中N为采样数,δ为雷达的距离分辨率。每一行表示雷达同一探测方向上与雷达距离依次增大的位置点的强度数据,每一列表示不同探测方向上与雷达距离相等的位置点的强度数据,每一列中相邻元素对应的探测方向为相邻探测方向,第一个列元素与最后一个列元素对应的探测方向为相邻探测方向,其中,初始矩阵A如下所示:In the embodiment of the present application, because the intensity data of the interpolation position point is calculated from the intensity data of the adjacent position points, the intensity data of the reflected echoes at the position points at different distances from the radar in the same detection direction of the radar are used as the row elements of the matrix, According to the change order of the radar detection direction, the second row, the third row, the fourth row, etc. of the initial matrix are sequentially formed. The intensity data of each detection direction is recorded as a sequence {a n′ |n′∈[1,N]}, a n′ represents the intensity data at a distance of n′×δ meters from the radar, where N is the number of samples, and δ is the range resolution of the radar. Each row represents the intensity data of the position points in the same detection direction of the radar and the distance from the radar increases sequentially, and each column represents the intensity data of the position points with the same distance from the radar in different detection directions, and the detection direction corresponding to the adjacent elements in each column is Adjacent detection direction, the detection direction corresponding to the first column element and the last column element is the adjacent detection direction, where the initial matrix A is as follows:
其中,M表示雷达探测方向的数量,N表示采样数,即雷达同一探测方向上得到的强度数据的数量。a11表示雷达初始探测方向上,距离雷达最近的位置点的强度数据,a12表示雷达初始探测方向上,与雷达距离大于a11的第二个位置点的强度数据,a21表示雷达第二个探测方向上,距离雷达最近的位置点的强度数据,a31表示雷达第三个探测方向上,距离雷达最近的位置点的强度数据,依次类推。Among them, M represents the number of radar detection directions, and N represents the number of samples, that is, the number of intensity data obtained by the radar in the same detection direction. a 11 indicates the intensity data of the point closest to the radar in the initial detection direction of the radar, a 12 indicates the intensity data of the second position point in the initial detection direction of the radar and the distance from the radar is greater than a 11 , and a 21 indicates the second position of the radar in the initial detection direction of the radar In the first detection direction, the intensity data of the position point closest to the radar, a 31 represents the intensity data of the position point closest to the radar in the third detection direction of the radar, and so on.
进一步的,根据所述初始矩阵中同一列的列元素进行强度插值,得到插值矩阵,根据所述插值矩阵确定与雷达距离相等的插值位置点处的强度数据。Further, the intensity interpolation is performed according to the column elements of the same column in the initial matrix to obtain an interpolation matrix, and the intensity data at the interpolation position point at the same distance as the radar is determined according to the interpolation matrix.
示例性的,初始矩阵的大小为M×N,若在相邻位置点之间插入一个插值位置点,则插值矩阵大小为2M×N,若在相邻位置点之间插入两个插值位置点,则插值矩阵大小为3M×N,本申请实施例对插值数量不做限定。本申请实施例中,插值位置点的强度数据根据相邻位置点的强度数据计算得到,在初始矩阵中,每一列相邻的两个矩阵元素为相邻位置点的强度数据,例如a31和a41为相邻矩阵点。需要说明的是,在初始矩阵的同一列中,第一个元素和最后一个元素为相邻位置点。Exemplarily, the size of the initial matrix is M×N. If an interpolation position point is inserted between adjacent position points, the size of the interpolation matrix is 2M×N. If two interpolation position points are inserted between adjacent position points , the size of the interpolation matrix is 3M×N, and the embodiment of the present application does not limit the number of interpolation. In the embodiment of the present application, the intensity data of the interpolation position point is calculated based on the intensity data of the adjacent position points. In the initial matrix, the two adjacent matrix elements in each column are the intensity data of the adjacent position points, such as a 31 and a 41 is an adjacent matrix point. It should be noted that, in the same column of the initial matrix, the first element and the last element are adjacent position points.
本申请实施例中,与雷达距离相等的位置点间隔相等;根据所述初始矩阵中同一列的列元素进行强度插值,得到插值矩阵,包括:In the embodiment of the present application, the distance between the position points equal to the radar is equal; the intensity interpolation is performed according to the column elements of the same column in the initial matrix, and the interpolation matrix is obtained, including:
基于如下公式,根据所述初始矩阵中同一列的列元素进行等间隔强度插值,可以确定插值矩阵中各元素的取值:Based on the following formula, the value of each element in the interpolation matrix can be determined by performing equal interval intensity interpolation according to the column elements of the same column in the initial matrix:
其中,bij表示插值矩阵第i行第j列元素的取值,表示初始矩阵,表示向下取整,%表示求余运算,T表示在相邻位置点之间插值位置点的数量加一,M表示雷达扫描一周时探测方向的数量。需要说明的是,通过上述公式确定的bij可能不是整数,因此为了使插值矩阵中的各元素为整数,可以对bij进行四舍五入取整,也可以向上取整或者向下取整,具体取整方式不做限定。另外,如果在之前的执行过程中未对强度数据进行归一化,也可以将此数据进行归一化到[0,255]之后再进行取整。Among them, b ij represents the value of the element in row i, column j of the interpolation matrix, represents the initial matrix, Indicates rounding down, % indicates the remainder operation, T indicates the number of interpolated position points between adjacent position points plus one, M indicates the number of detection directions when the radar scans one cycle. It should be noted that b ij determined by the above formula may not be an integer, so in order to make each element in the interpolation matrix an integer, b ij can be rounded up or rounded up or down. The adjustment method is not limited. In addition, if the intensity data has not been normalized in the previous execution process, the data can also be normalized to [0,255] and then rounded.
本方案中,为方便计算插值位置点的强度数据,设置与雷达距离相等的位置点间隔相等,即如图7所示,A、B为相邻位置点,C、D为插值位置点,A、B、C和D到雷达的距离相等,则的长度等于的长度等于的长度。In this scheme, in order to facilitate the calculation of the intensity data of the interpolation position points, the distance between the position points equal to the radar distance is set to be equal, that is, as shown in Figure 7, A and B are adjacent position points, C and D are interpolation position points, and A , B, C and D are the same distance from the radar, then has a length equal to has a length equal to length.
具体的,如果如图7所示进行插值,则可以确定插值矩阵为:Specifically, if interpolation is performed as shown in Figure 7, it can be determined that the interpolation matrix is:
S320,确定雷达图中各像素点所对应的位置点。S320. Determine the position point corresponding to each pixel point in the radar image.
其中,所述位置点包括强度插值之后各强度数据对应的位置点。Wherein, the position points include position points corresponding to each intensity data after intensity interpolation.
本申请实施例中,确定雷达图中各像素点所对应的位置点,包括:将雷达设定为雷达图的图像中心,根据雷达扫描的实际区域与所述雷达图的像素的对应位置,将所述雷达图中各像素点的像素坐标转换为笛卡尔坐标;根据笛卡尔坐标与极坐标的转换关系,确定各像素点对应的极坐标;根据极坐标对应的位置点,确定雷达图中各像素点对应的位置点。In the embodiment of the present application, determining the position point corresponding to each pixel point in the radar map includes: setting the radar as the image center of the radar map, and setting The pixel coordinates of each pixel point in the radar map are converted to Cartesian coordinates; according to the conversion relationship between Cartesian coordinates and polar coordinates, the polar coordinates corresponding to each pixel point are determined; according to the position points corresponding to the polar coordinates, each The location point corresponding to the pixel point.
示例性的,设置雷达图F包括P行Q列个像素点,则Exemplarily, if the radar map F is set to include P rows and Q columns of pixels, then
其中,fpq表示位置(p,q)处的像素点灰度值,F可以映射为一个PΔ×QΔ的矩形区域,其中每个像素对应实际空间中边长为Δ米的正方形区域,例如F包括3000行,2000列的像素点,若F映射600×400米的雷达探测区域,则每个像素对应边长为0.2米的正方形区域。本申请实施例中,可以将P、Q取奇数,以将雷达位置设置于雷达图正中心。Among them, f pq represents the gray value of the pixel at the position (p, q), and F can be mapped to a rectangular area of PΔ×QΔ, where each pixel corresponds to a square area with a side length of Δm in the actual space, such as F Including 3000 rows and 2000 columns of pixels, if F maps a radar detection area of 600×400 meters, each pixel corresponds to a square area with a side length of 0.2 meters. In the embodiment of the present application, P and Q can be taken as odd numbers to set the radar position at the center of the radar map.
具体的,若雷达位置设定在雷达图正中心,则像素点(p,q)转换为笛卡尔坐标系为:Specifically, if the radar position is set at the center of the radar map, the pixel point (p, q) is transformed into a Cartesian coordinate system as:
根据上述公式可得到各像素点对应的笛卡尔坐标,根据笛卡尔坐标与极坐标的转换关系,可以确定各像素点对应的极坐标,转换关系如下所示:According to the above formula, the Cartesian coordinates corresponding to each pixel point can be obtained. According to the conversion relationship between Cartesian coordinates and polar coordinates, the polar coordinates corresponding to each pixel point can be determined. The conversion relationship is as follows:
(γ,θ)即为极坐标,||表示或的关系。各像素点通过上述公式运算,可以得到各自对应的极坐标。根据极坐标对应的位置点,可以确定雷达图中各像素点对应的位置点,例如极坐标为(10,0°),则该极坐标对应的位置点为:雷达初始探测方向上,距离雷达10米处的位置。(γ, θ) are polar coordinates, and || represents the relationship of or. The corresponding polar coordinates of each pixel can be obtained through the above formula operation. According to the position points corresponding to the polar coordinates, the position points corresponding to each pixel point in the radar image can be determined. For example, if the polar coordinates are (10,0°), the position points corresponding to the polar coordinates are: in the initial detection direction of the radar, the distance from the
S330,根据各位置点的强度数据,确定与各位置点对应的雷达图像素点的灰度值,并根据所述灰度值生成雷达图。S330. According to the intensity data of each location point, determine the grayscale value of the radar image pixel point corresponding to each location point, and generate the radar image according to the grayscale value.
在本申请实施例中,位置点包括插值之前的相邻位置点,以及插值之后的插值位置点,相应地,强度数据包括插值之前的相邻位置点的强度数据,以及插值之后的插值位置点的强度数据。在确定雷达图中各像素点对应的位置点之后,可以根据位置点的强度数据,确定各像素点的灰度值,进而根据灰度值绘制雷达图。In the embodiment of the present application, the location point includes the adjacent location point before interpolation, and the interpolation location point after interpolation, correspondingly, the intensity data includes the intensity data of the adjacent location point before interpolation, and the interpolation location point after interpolation strength data. After determining the location point corresponding to each pixel point in the radar image, the gray value of each pixel point can be determined according to the intensity data of the location point, and then the radar image is drawn according to the gray value.
基于如下公式,确定雷达图像素点的灰度值:Determine the gray value of the radar image pixel based on the following formula:
其中,fpq表示雷达图中像素坐标为(p,q)的像素点的灰度值,round表示四舍五入取整,θ表示当前探测方向的方位角,θ1表示初始探测方向的方位角,σ表示进行强度插值后的与雷达距离相等的相邻两个位置点之间的偏转角度,γ表示位置点与雷达的距离,δ表示雷达的最小探测距离。示例性的,若未进行插值,若在相邻位置点之间插值位置点的数量为2,则需要说明的是,根据上述公式确定雷达图像素点的灰度值之前,需已经将bij归一化至[0,255]之间,以表示灰度值。Among them, f pq represents the gray value of the pixel with pixel coordinates (p, q) in the radar image, round represents rounding, θ represents the azimuth of the current detection direction, θ 1 represents the azimuth of the initial detection direction, σ Indicates the deflection angle between two adjacent position points equal to the distance from the radar after intensity interpolation, γ indicates the distance between the position point and the radar, and δ indicates the minimum detection distance of the radar. Exemplarily, without interpolation, If the number of interpolated position points between adjacent position points is 2, then It should be noted that before determining the gray value of the radar image pixel according to the above formula, bij needs to be normalized to [ 0,255 ] to represent the gray value.
S340,根据所述雷达图确定待测目标的航迹数据。S340. Determine track data of the target to be measured according to the radar map.
S350,根据所述待测目标的航迹数据,确定所述待测目标中的同轨目标;其中,所述同轨目标为位于所述目标位置点所在铁路上的目标。S350. Determine a target on the same track among the targets to be measured according to the track data of the target to be measured; wherein the target on the same track is an object located on the railway where the target position point is located.
S360,若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。S360. If the distance between the target on the same track and the target location point is less than a preset distance, perform a safety warning.
本申请实施例的技术方案,根据雷达相邻探测方向上与雷达距离相等的相邻位置点处反射回波的强度数据,在相邻位置点之间进行强度插值,确定与雷达距离相等的插值位置点处的强度数据;确定雷达图中各像素点所对应的位置点,根据各位置点的强度数据,确定与各位置点对应的雷达图像素点的灰度值,并根据所述灰度值生成雷达图。本技术方案通过在相邻位置点插值,得到了插值位置点的强度数据,扩展了雷达探测的位置点数量以及强度数据的数量,根据各位置点的强度数据,确定出相应的雷达图像素点的灰度值,快速地绘制出雷达图进行待测目标检测,实现了对雷达未探测到的区域进行待测目标检测,提高了待测目标检测精准度。According to the technical solution of the embodiment of the application, according to the intensity data of the reflected echoes at the adjacent position points equal to the radar distance in the adjacent detection direction of the radar, the intensity interpolation is performed between the adjacent position points, and the interpolation value equal to the radar distance is determined Intensity data at the position point; determine the position point corresponding to each pixel point in the radar image, determine the gray value of the radar image pixel point corresponding to each position point according to the intensity data of each position point, and according to the gray value Value generates a radar chart. This technical solution obtains the intensity data of the interpolated position points by interpolating the adjacent position points, expands the number of position points and intensity data detected by the radar, and determines the corresponding radar image pixel points according to the intensity data of each position point The gray value of the radar image can be quickly drawn to detect the target to be tested, which realizes the detection of the target to be tested in the area not detected by the radar, and improves the detection accuracy of the target to be tested.
实施例四Embodiment Four
图8为本申请实施例四提供的一种基于雷达图的铁路来车检测方法的流程图,本申请实施例以上述实施例为基础进行优化。FIG. 8 is a flow chart of a method for detecting incoming railway vehicles based on a radar map provided in Embodiment 4 of the present application. The embodiment of the present application is optimized based on the foregoing embodiments.
如图8所示,本申请实施例的方法具体包括如下步骤:As shown in Figure 8, the method of the embodiment of the present application specifically includes the following steps:
S410,根据设置于铁路上目标位置点的雷达进行探测得到的回波信号,确定雷达图。S410. Determine the radar map according to the echo signal obtained by detection by the radar installed at the target position point on the railway.
S420,针对雷达图中的待识别像素点,确定所述待识别像素点映射在雷达探测区域对应的目标检测位置点以及雷达在目标检测位置点扫描时对应的预设信号强度概率分布模型。S420. For the pixel points to be recognized in the radar image, determine the target detection position points corresponding to the pixel points to be recognized mapped in the radar detection area and the preset signal strength probability distribution models corresponding to the radar scanning the target detection position points.
其中,待识别像素点可以是雷达图中需要进行检测的像素点。目标检测位置点可以是雷达图中待识别像素点对应的雷达检测区域中的检测位置,雷达图中各个像素点与雷达检测区域中的各个目标检测位置点存在一一对应关系。Wherein, the pixel to be identified may be a pixel to be detected in the radar image. The target detection position point may be the detection position in the radar detection area corresponding to the pixel to be identified in the radar image, and there is a one-to-one correspondence between each pixel point in the radar image and each target detection position point in the radar detection area.
具体的,通过雷达扫描雷达检测区域,并获取雷达检测区域的雷达图,再确定雷达图中的各个待识别像素点在雷达检测区域对应的目标检测位置点,以确保雷达图的像素点与对应的目标检测点位置的准确性,进而保证了后续通过对待识别像素点的分析处理后可精准对应到目标检测位置点的位置,方便对目标检测位置点进行处理;同时也要确定目标检测位置点对应的预设信号强度概率分布模型,以方便后续对待识别像素点对应的概率分布类型进行确定。Specifically, the radar detection area is scanned by radar, and the radar map of the radar detection area is obtained, and then the target detection position points corresponding to each pixel to be identified in the radar map are determined in the radar detection area, so as to ensure that the pixels of the radar map are consistent with the corresponding The accuracy of the position of the target detection point ensures that the subsequent analysis and processing of the pixel points to be recognized can accurately correspond to the position of the target detection position point, which is convenient for processing the target detection position point; at the same time, it is also necessary to determine the target detection position point The corresponding preset signal strength probability distribution model facilitates subsequent determination of the probability distribution type corresponding to the pixel to be identified.
S430,检测待识别像素点取值与目标检测位置点对应的预设信号强度概率分布模型的匹配结果,所述预设信号概率分布模型用于描述在雷达检测区域未包括前景情况下对目标检测位置点扫描时雷达回波信号的信号强度概率分布。S430, Detect the matching result of the value of the pixel to be identified and the preset signal strength probability distribution model corresponding to the target detection position point, the preset signal probability distribution model is used to describe the detection of the target when the radar detection area does not include the foreground Probability distribution of the signal strength of the radar echo signal when the position point is scanned.
具体的,获取雷达图后,将雷达图中的待识别像素点取值带入到预设信号强度概率分布模型中的各个正态分布模型中,以判断待识别像素点取值是否与预设信号强度概率分布模型适配,只要符合预设信号强度概率分布模型中的一个正态分布模型,则待识别像素点取值与预设信号强度概率分布模型适配。Specifically, after obtaining the radar image, the value of the pixel point to be identified in the radar image is brought into each normal distribution model in the preset signal strength probability distribution model to determine whether the value of the pixel point to be identified is consistent with the preset Signal strength probability distribution model adaptation, as long as it conforms to a normal distribution model in the preset signal strength probability distribution model, the value of the pixel to be identified is adapted to the preset signal strength probability distribution model.
在一个可行的实施例中,检测待识别像素点取值与目标检测位置点对应的预设信号强度概率分布模型的匹配结果,可包括如下步骤A1-A3:In a feasible embodiment, detecting the matching result of the value of the pixel point to be identified and the preset signal strength probability distribution model corresponding to the target detection position point may include the following steps A1-A3:
步骤A1、检测待识别像素点取值与目标检测位置点对应预设信号强度概率分布模型中至少一个正态分布模型是否满足预设匹配条件;其中所述预设匹配条件包括待识别像素点取值与正态分布模型的均值满足预设拉依达准则。Step A1, detecting whether at least one normal distribution model in the preset signal strength probability distribution model corresponding to the value of the pixel point to be identified and the target detection position satisfies the preset matching condition; wherein the preset matching condition includes the value of the pixel point to be identified Values with the mean of the normal distribution model satisfy the preset Raida criterion.
步骤A2、若存在至少一个满足预设匹配条件的正态分布模型,则确定待识别像素点在雷达图中属于背景像素。Step A2, if there is at least one normal distribution model satisfying the preset matching condition, then determine that the pixel to be identified belongs to the background pixel in the radar image.
步骤A3、若不存在满足预设匹配条件的正态分布模型,则确定待识别像素点在雷达图中属于前景像素。Step A3, if there is no normal distribution model satisfying the preset matching condition, then determine that the pixel to be recognized belongs to the foreground pixel in the radar image.
其中,预设匹配条件可以是用来判断待识别像素点取值是否满足目标检测位置点对应的预设信号强度概率分布模型中至少一个正态分布模型。预设拉依达准则可以用如下公式表示:Wherein, the preset matching condition may be used to judge whether the value of the pixel point to be recognized satisfies at least one normal distribution model in the preset signal strength probability distribution model corresponding to the target detection position point. The preset Raida criterion can be expressed by the following formula:
公式中,xij为待识别像素点取值,为目标检测位置点对应的预设信号强度概率分布模型中的均值,为目标检测位置点对应的预设信号强度概率分布模型中的方差。In the formula, x ij is the value of the pixel to be identified, is the mean value in the preset signal strength probability distribution model corresponding to the target detection position point, It is the variance in the preset signal strength probability distribution model corresponding to the target detection position point.
具体的,通过雷达扫描雷达检测区域获取雷达图,并将雷达图中待识别像素点取值输入到目标检测位置点对应预设信号强度概率分布模型中,判断目标检测位置点对应预设信号强度概率分布模型中至少一个正态分布模型是否满足预设匹配条件,若存在至少一个满足预设匹配条件的正态分布模型,则确定待识别像素点在雷达图中属于背景像素;若不存在满足预设匹配条件的正态分布模型,则确定待识别像素点在雷达图中属于前景像素。Specifically, the radar map is obtained by scanning the radar detection area with the radar, and the value of the pixel point to be identified in the radar map is input into the target detection position point corresponding to the preset signal strength probability distribution model, and the target detection position point corresponds to the preset signal strength probability distribution model. Whether at least one normal distribution model in the probability distribution model satisfies the preset matching condition, if there is at least one normal distribution model satisfying the preset matching condition, then determine that the pixel to be identified belongs to the background pixel in the radar image; if there is no satisfying The normal distribution model with preset matching conditions determines that the pixel to be recognized belongs to the foreground pixel in the radar image.
S440,根据匹配结果,对所述雷达图中前景和背景进行分离,根据分离得到的前景,确定待测目标的像素区域。S440. According to the matching result, separate the foreground and the background in the radar image, and determine the pixel area of the target to be detected according to the separated foreground.
具体的,将雷达图中的各个待识别像素点取值输入到各个目标检测位置点对应的预设信号强度概率分布模型中,通过判断目标检测位置点对应预设信号强度概率分布模型中至少一个正态分布模型是否满足预设匹配条件,确定各个待识别像素点属于背景像素或前景像素,进而可以实现当前雷达图像中的前景和背景的分离,获取分离后的前景。Specifically, the value of each pixel point to be identified in the radar image is input into the preset signal strength probability distribution model corresponding to each target detection position point, and by judging at least one of the preset signal strength probability distribution models corresponding to the target detection position point Whether the normal distribution model meets the preset matching conditions determines that each pixel to be recognized belongs to a background pixel or a foreground pixel, and then can realize the separation of the foreground and background in the current radar image, and obtain the separated foreground.
进一步的,前景中除待测目标以外可能包括其余目标,例如指示牌等,可以对其进行轮廓检测,根据待测目标的轮廓特征,确定出待测目标的像素区域。Further, the foreground may include other objects besides the object to be detected, such as signs, etc., and contour detection can be performed on them, and the pixel area of the object to be detected can be determined according to the contour characteristics of the object to be detected.
本申请另一可行的实施例中,对雷达图进行前景和背景分离包括:将雷达图与预先设置的平均背景图像进行图像差值处理,得到差值图像;对差值图像进行二值化处理,将二值化处理后的图像作为前景。In another feasible embodiment of the present application, separating the foreground and background of the radar map includes: performing image difference processing on the radar map and the preset average background image to obtain a difference image; performing binarization processing on the difference image , taking the binarized image as the foreground.
其中,平均背景图像可以是反映雷达探测区域无待测目标状态下的图像,可以通过多张背景图像求平均获得。背景图像可以是雷达探测区域无待测目标的情况下获取的雷达图。图像差值处理可以是将两个图像的各像素点数值进行求差处理。二值化处理可以是图像上的每一个像素只有两种可能的取值或灰度等级状态,即图像中的任何像素点的灰度值均为0或者255,分别代表黑色和白色。Wherein, the average background image may be an image reflecting a state where there is no target to be detected in the radar detection area, and may be obtained by averaging multiple background images. The background image may be a radar image acquired when there is no target to be detected in the radar detection area. The image difference processing may be to perform difference processing on the values of the pixels of the two images. The binarization process can be that each pixel on the image has only two possible values or grayscale states, that is, the grayscale value of any pixel in the image is 0 or 255, representing black and white respectively.
本申请实施例中,平均背景图像避免了单张背景图像可能存在个别像素点异常的问题,提高了容错率。In the embodiment of the present application, the average background image avoids the problem that individual pixels may be abnormal in a single background image, and improves the error tolerance rate.
具体的,利用雷达获取至少两张背景图像,每一张背景图像可记为F,其有P行Q列,即有P*Q个像素点所构成的灰度图像,矩阵表示如下:Specifically, use radar to obtain at least two background images, and each background image can be recorded as F, which has P rows and Q columns, that is, a grayscale image composed of P*Q pixels, and the matrix is expressed as follows:
进一步的,平均背景图像各像素点的灰度值由各背景图像对应像素点的灰度值求平均值得到,以f11像素点为例,平均背景图像中f11像素点的灰度值,由各背景图像中f11像素点的灰度值求平均获得,在此过程中,f11即为目标像素点。遍历所有的目标像素点,可以得到平均背景图像用公式表达为:Further, the gray value of each pixel of the average background image is obtained by averaging the gray values of the corresponding pixels of each background image, taking f 11 pixels as an example, the gray value of f 11 pixels in the average background image, It is obtained by averaging the gray value of f 11 pixels in each background image, and f 11 is the target pixel in the process. By traversing all the target pixels, the average background image can be obtained Expressed as a formula:
其中,Fi为各背景图像中的每个图像的灰度图。U为背景图像的数量。Wherein, F i is the grayscale image of each image in each background image. U is the number of background images.
本申请实施例中,将微波雷达图像与平均背景图像进行图像差值处理,得到差值图像FΔ,可表示为:In the embodiment of the present application, image difference processing is performed on the microwave radar image and the average background image to obtain the difference image F Δ , which can be expressed as:
其中,F为微波雷达图像的灰度图。Among them, F is the grayscale image of the microwave radar image.
具体的,可通过如下公式进行二值化处理:Specifically, binarization can be performed by the following formula:
其中,fij'为雷达图像经过二值化处理后的对应像素点的灰度值,为差值图像中对应像素点的灰度值,S为预设灰度值,预设灰度值可以是雷达图中对应像素点的灰度值转化为0或255的临界值,当雷达图中对应像素点的灰度值大于或等于预设灰度值,对应像素点的灰度值转化为255,反之转化为0。预设灰度值可以根据实际情况确定,本申请实施例对此不做限定。Among them, f ij ' is the gray value of the corresponding pixel of the radar image after binarization processing, is the gray value of the corresponding pixel in the difference image, S is the preset gray value, and the preset gray value can be the critical value at which the gray value of the corresponding pixel in the radar image is converted to 0 or 255. When the radar image The gray value of the corresponding pixel in is greater than or equal to the preset gray value, and the gray value of the corresponding pixel is converted to 255, otherwise it is converted to 0. The preset grayscale value may be determined according to actual conditions, which is not limited in this embodiment of the present application.
S450,根据待测目标的像素区域对待测目标进行跟踪,确定所述待测目标的航迹数据。S450. Track the target to be measured according to the pixel area of the target to be measured, and determine track data of the target to be measured.
本申请实施例中,可选的,根据待测目标的像素区域对待测目标进行跟踪,确定待测目标的航迹数据可以包括步骤B1-B9:In the embodiment of the present application, optionally, tracking the target to be measured according to the pixel area of the target to be measured, and determining the track data of the target to be measured may include steps B1-B9:
步骤B1,根据分离得到的前景,对前景做形态学膨胀运算得到图像A。In step B1, according to the separated foreground, the image A is obtained by performing a morphological expansion operation on the foreground.
在雷达图中,包括了雷达探测区域的背景和待测目标,去除背景后,可得到前景,前景中的区域可能被误分成多个小区域,所以对前景做形态学膨胀运算得到图像A,这样可以消除小区域内部空洞或近邻区域的空隙。In the radar image, the background of the radar detection area and the target to be detected are included. After removing the background, the foreground can be obtained. The area in the foreground may be mistakenly divided into multiple small areas, so the morphological expansion operation is performed on the foreground to obtain the image A. This eliminates voids within small areas or voids in adjacent areas.
步骤B2,对图像A做形态学腐蚀运算得到图像B。In step B2, image B is obtained by performing a morphological erosion operation on image A.
因为膨胀之后区域会变大,所以需要对图像A做形态学腐蚀运算得到图像B,使区域面积恢复到膨胀之前。Because the area will become larger after expansion, it is necessary to perform a morphological erosion operation on image A to obtain image B, so as to restore the area of the area to that before expansion.
步骤B3,对图像B做高斯平滑处理得到图像C。Step B3, performing Gaussian smoothing on image B to obtain image C.
图像B可能存在噪点,对图像B做高斯平滑处理得到图像C,以消除部分小的噪声点,其中,去除噪声的方式包括但不限于:均值滤波、高斯滤波、中值滤波等。There may be noise in image B, and Gaussian smoothing is performed on image B to obtain image C to eliminate some small noise points. The methods of removing noise include but are not limited to: mean filtering, Gaussian filtering, median filtering, etc.
步骤B4,对图像C进行Canny边缘检测得到图像D。Step B4, performing Canny edge detection on image C to obtain image D.
本步骤中,通过边缘检测获取到各区域的外围轮廓。In this step, the peripheral contours of each region are obtained through edge detection.
步骤B5,对图像D中各区域的外边界拐点像素坐标进行提取,得到外边界拐点像素坐标的集合。Step B5, extracting the pixel coordinates of the outer boundary inflection points of each area in the image D to obtain a set of pixel coordinates of the outer boundary inflection points.
以D表示所有外边界拐点像素坐标的集合,如下所示:Use D to represent the set of pixel coordinates of all outer boundary inflection points, as follows:
其中,Di表示第i个区域的外边界拐点像素坐标的集合,表示第i个区域外边界的第m个拐点的行、列像素下标。Among them, Di represents the set of pixel coordinates of the outer boundary inflection point of the i-th region, Indicates the row and column pixel subscripts of the m-th inflection point of the outer boundary of the i-th region.
以上步骤中,使用的各图像处理算法均为现有技术,本申请实施例不再赘述具体内容。In the above steps, the image processing algorithms used are all existing technologies, and the specific content will not be repeated in this embodiment of the present application.
步骤B6,计算各个区域几何中心像素坐标:Step B6, calculating the pixel coordinates of the geometric center of each area:
其中,(ri,ci)为第i个区域的几何中心像素坐标。Among them, (r i , c i ) are the pixel coordinates of the geometric center of the i-th region.
步骤B7,将各区域几何中心像素坐标转换为笛卡尔坐标系坐标:Step B7, converting the pixel coordinates of the geometric center of each area into the coordinates of the Cartesian coordinate system:
其中,P、Q为雷达像的行数和列数,其取值可以是奇数,以将雷达置于坐标中心。Δ为雷达图中,一个像素点所对应的实际检测区域的宽度。遍历各区域,得到各个区域的中心坐标集合X,Among them, P and Q are the number of rows and columns of the radar image, and its value can be an odd number to place the radar at the coordinate center. Δ is the width of the actual detection area corresponding to one pixel in the radar image. Traverse each area to get the center coordinate set X of each area,
X={(x1,y1),(x2,y2),…,(xn,yn)}。X={(x 1 ,y 1 ),(x 2 ,y 2 ),...,(x n ,y n )}.
步骤B8,将各个区域的中心坐标集合进行聚类,得到聚类后的坐标集合X′。Step B8, clustering the central coordinate sets of each area to obtain a clustered coordinate set X′.
步骤B9,根据至少两张雷达图,确定待测目标在各个时刻的位置,确定出待测目标的航行速度与方向,根据最新获取的雷达图,确定待测目标的最新位置,进而将一个待测目标的航迹数据表示为:(idn,xn,yn,vxn,vyn)。Step B9, according to at least two radar images, determine the position of the target to be measured at each time, determine the navigation speed and direction of the target to be measured, determine the latest position of the target to be measured according to the latest acquired radar image, and then place a target to be measured The track data of the measured target is expressed as: (id n , x n , y n , vx n , vy n ).
S460,根据所述待测目标的航迹数据,确定所述待测目标中的同轨目标;其中,所述同轨目标为位于所述目标位置点所在铁路上的目标。S460. Determine a target on the same track among the targets to be measured according to the track data of the target to be measured; wherein the target on the same track is an object located on the railway where the target position point is located.
S470,若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。S470, if the distance between the target on the same track and the target point is less than a preset distance, perform a safety warning.
本申请实施例的技术方案,通过检测待识别像素点取值与目标检测位置点对应的预设信号强度概率分布模型是否匹配,确定待识别像素点属于前景或背景,依据各个待识别像素点的匹配结果对当前雷达图像中背景与前景进行分离得到前景,确定待测目标的像素区域,并对待测目标进行跟踪,确定所述待测目标的航迹数据。本技术方案快速准确地从雷达图中确定出待测目标,并根据至少两张雷达图确定出待测目标的航迹数据。In the technical solution of the embodiment of the present application, by detecting whether the value of the pixel point to be recognized matches the preset signal strength probability distribution model corresponding to the target detection position point, it is determined that the pixel point to be recognized belongs to the foreground or the background, and according to the value of each pixel point to be recognized The matching result separates the background and the foreground in the current radar image to obtain the foreground, determines the pixel area of the target to be measured, and tracks the target to determine the track data of the target to be measured. The technical scheme quickly and accurately determines the target to be measured from the radar image, and determines the track data of the object to be measured according to at least two radar images.
实施例五Embodiment five
图9为本申请实施例五提供的一种基于雷达图的铁路来车检测装置的结构示意图,该装置可执行本发明任意实施例所提供的基于雷达图的铁路来车检测方法,具备执行方法相应的功能模块和有益效果。如图9所示,该装置包括:Fig. 9 is a schematic structural diagram of a radar map-based railway vehicle detection device provided in Embodiment 5 of the present application. The device can execute the radar map-based railway vehicle detection method provided in any embodiment of the present invention, and has an execution method Corresponding functional modules and beneficial effects. As shown in Figure 9, the device includes:
航迹数据确定模块510,用于根据设置于铁路上目标位置点的雷达进行探测得到的回波信号,确定雷达图,并根据所述雷达图确定待测目标的航迹数据;The track
同轨目标确定模块520,用于根据所述待测目标的航迹数据,确定所述待测目标中的同轨目标;其中,所述同轨目标为位于所述目标位置点所在铁路上的目标;The same-track
安全预警模块530,用于若所述同轨目标与目标位置点的距离小于预设距离,则进行安全预警。The
可选的,同轨目标确定模块520包括:Optionally, the same track
预设区域确定单元,用于根据所述待测目标的航迹数据,确定所述待测目标的位置点是否位于预设区域内;A preset area determining unit, configured to determine whether the position point of the target to be measured is located in a preset area according to the track data of the target to be measured;
同轨目标确定单元,用于若所述待测区域的位置点位于预设区域内,则确定所述待测目标为同轨目标。A co-track target determining unit, configured to determine that the target to be measured is a co-track target if the position point of the area to be measured is within a preset area.
可选的,所述预设区域的确定过程具体为:Optionally, the process of determining the preset area is specifically:
确定位于雷达探测区域内的铁路段范围;Determining the extent of the railway section within the radar detection area;
将包含铁路段范围的多边形范围,作为预设区域。Use the polygon extent containing the extent of the railway segment as the default area.
可选的,将包含铁路段范围的多边形范围,作为预设区域,具体为:Optionally, the polygon range containing the range of the railway section is used as the preset area, specifically:
将铁路段范围,或者将铁路段范围沿铁路宽度方向进行扩大后的范围,作为预设区域。The range of the railway section, or the expanded range of the railway section along the width direction of the railway, is used as the preset area.
可选的,航迹数据确定模块510,包括:Optionally, the track
强度插值单元,用于根据雷达相邻探测方向上与雷达距离相等的相邻位置点处回波信号的强度数据,在相邻位置点之间进行强度插值,确定与雷达距离相等的插值位置点处的强度数据;The intensity interpolation unit is used to perform intensity interpolation between adjacent position points according to the intensity data of echo signals at adjacent position points equal to the distance from the radar in the adjacent detection direction of the radar, and determine an interpolation position point equal to the distance from the radar intensity data at
位置点确定单元,用于确定雷达图中各像素点所对应的位置点;其中,所述位置点包括强度插值之后各强度数据对应的位置点;A location point determining unit, configured to determine a location point corresponding to each pixel point in the radar image; wherein, the location point includes a location point corresponding to each intensity data after intensity interpolation;
雷达图生成单元,用于根据各位置点的强度数据,确定与各位置点对应的雷达图像素点的灰度值,并根据所述灰度值生成雷达图。The radar image generation unit is configured to determine the grayscale value of the radar image pixel corresponding to each location point according to the intensity data of each location point, and generate the radar image according to the grayscale value.
可选的,强度插值单元包括:Optionally, the intensity interpolation unit includes:
强度插值子单元,用于在以所述相邻位置点为端点的同心圆弧上进行强度插值,得到插值位置点;所述同心圆弧为以雷达为圆心的,以雷达到所述相邻位置点为半径的圆弧上;The intensity interpolation subunit is used to perform intensity interpolation on the concentric arc with the adjacent position point as the endpoint to obtain the interpolated position point; the concentric arc is centered on the radar, and the adjacent The position point is on the arc of the radius;
第一权重值确定子单元,用于将相邻位置点中第一位置点到插值位置点的同心圆弧长度,与相邻位置点之间的同心圆弧长度的比值,作为相邻位置点中第二位置点的强度数据的第一权重值;The first weight value determination subunit is used to use the ratio of the concentric arc length from the first position point to the interpolation position point in the adjacent position points to the concentric arc length between adjacent position points as the adjacent position point The first weight value of the intensity data of the second position point in the middle;
第二权重值确定子单元,用于将相邻位置点中第二位置点到插值位置点的同心圆弧长度,与相邻位置点之间的同心圆弧长度的比值,作为相邻位置点中第一位置点的强度数据的第二权重值;The second weight value determines the subunit, which is used to use the ratio of the concentric arc length from the second position point to the interpolation position point in the adjacent position points to the concentric arc length between adjacent position points as the adjacent position point The second weight value of the intensity data of the first position point in ;
强度数据确定子单元,用于根据第一权重值和第二权重值,对相邻位置点的强度数据进行加权求和,作为所述插值位置点的强度数据。The intensity data determining subunit is configured to perform weighted summation of the intensity data of adjacent position points according to the first weight value and the second weight value, as the intensity data of the interpolation position point.
可选的,航迹数据确定模块510包括:Optionally, the track
模型确定单元,用于针对雷达图中的待识别像素点,确定所述待识别像素点映射在雷达探测区域对应的目标检测位置点以及雷达在目标检测位置点扫描时对应的预设信号强度概率分布模型;The model determination unit is used to determine the target detection position point corresponding to the pixel point to be recognized in the radar detection area mapped to the pixel point to be recognized in the radar image and the corresponding preset signal strength probability when the radar scans the target detection position point distribution model;
模型匹配单元,用于检测待识别像素点取值与目标检测位置点对应的预设信号强度概率分布模型的匹配结果,所述预设信号概率分布模型用于描述在雷达检测区域未包括前景情况下对目标检测位置点扫描时雷达回波信号的信号强度概率分布;The model matching unit is used to detect the matching result of the preset signal strength probability distribution model corresponding to the value of the pixel point to be identified and the target detection position point, and the preset signal probability distribution model is used to describe the situation that the radar detection area does not include the foreground The probability distribution of the signal strength of the radar echo signal when scanning the target detection position point;
像素区域确定单元,用于根据匹配结果,对所述雷达图中前景和背景进行分离,根据分离得到的前景,确定待测目标的像素区域;A pixel area determining unit, configured to separate the foreground and background in the radar image according to the matching result, and determine the pixel area of the target to be measured according to the separated foreground;
航迹数据确定单元,用于根据待测目标的像素区域对待测目标进行跟踪,确定所述待测目标的航迹数据。The track data determination unit is configured to track the target to be measured according to the pixel area of the target to be measured, and determine the track data of the target to be measured.
本申请实施例所提供的一种基于雷达图的铁路来车检测装置可执行本发明任意实施例所提供的一种基于雷达图的铁路来车检测方法,具备执行方法相应的功能模块和有益效果。A radar map-based railway vehicle detection device provided in an embodiment of the present application can execute a radar map-based railway vehicle detection method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method .
实施例六Embodiment six
图10示出了可以用来实施本发明的实施例的电子设备10的结构示意图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备(如头盔、眼镜、手表等)和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本发明的实现。FIG. 10 shows a schematic structural diagram of an
如图10所示,电子设备10包括至少一个处理器11,以及与至少一个处理器11通信连接的存储器,如只读存储器(ROM)12、随机访问存储器(RAM)13等,其中,存储器存储有可被至少一个处理器执行的计算机程序,处理器11可以根据存储在只读存储器(ROM)12中的计算机程序或者从存储单元18加载到随机访问存储器(RAM)13中的计算机程序,来执行各种适当的动作和处理。在RAM 13中,还可存储电子设备10操作所需的各种程序和数据。处理器11、ROM 12以及RAM 13通过总线14彼此相连。输入/输出(I/O)接口15也连接至总线14。As shown in FIG. 10 , the
电子设备10中的多个部件连接至I/O接口15,包括:输入单元16,例如键盘、鼠标等;输出单元17,例如各种类型的显示器、扬声器等;存储单元18,例如磁盘、光盘等;以及通信单元19,例如网卡、调制解调器、无线通信收发机等。通信单元19允许电子设备10通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the
处理器11可以是各种具有处理和计算能力的通用和/或专用处理组件。处理器11的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的处理器、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。处理器11执行上文所描述的各个方法和处理,例如基于雷达图的铁路来车检测方法。
在一些实施例中,基于雷达图的铁路来车检测方法可被实现为计算机程序,其被有形地包含于计算机可读存储介质,例如存储单元18。在一些实施例中,计算机程序的部分或者全部可以经由ROM 12和/或通信单元19而被载入和/或安装到电子设备10上。当计算机程序加载到RAM 13并由处理器11执行时,可以执行上文描述的基于雷达图的铁路来车检测方法的一个或多个步骤。备选地,在其他实施例中,处理器11可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行基于雷达图的铁路来车检测方法。In some embodiments, the radar image-based railway vehicle detection method can be implemented as a computer program, which is tangibly embodied in a computer-readable storage medium, such as the
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
用于实施本发明的方法的计算机程序可以采用一个或多个编程语言的任何组合来编写。这些计算机程序可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,使得计算机程序当由处理器执行时使流程图和/或框图中所规定的功能/操作被实施。计算机程序可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, so that the computer program causes the functions/operations specified in the flowcharts and/or block diagrams to be implemented when executed by the processor. A computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本发明的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的计算机程序。计算机可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present invention, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus or device. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在电子设备上实施此处描述的系统和技术,该电子设备具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给电子设备。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。In order to provide interaction with the user, the systems and techniques described herein can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display)) for displaying information to the user. monitor); and a keyboard and pointing device (eg, a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、区块链网络和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
计算系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务中,存在的管理难度大,业务扩展性弱的缺陷。A computing system can include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or a cloud host. It is a host product in the cloud computing service system to solve the problems of difficult management and weak business expansion in traditional physical hosts and VPS services. defect.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发明中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本发明的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, each step described in the present invention may be executed in parallel, sequentially, or in a different order, as long as the expected result of the technical solution of the present invention can be achieved, there is no limitation herein.
上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above specific implementation methods do not constitute a limitation to the protection scope of the present invention. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211071803.7A CN115320669A (en) | 2022-08-31 | 2022-08-31 | Method, device, equipment and medium for detecting railway coming car based on radar map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211071803.7A CN115320669A (en) | 2022-08-31 | 2022-08-31 | Method, device, equipment and medium for detecting railway coming car based on radar map |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115320669A true CN115320669A (en) | 2022-11-11 |
Family
ID=83930178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211071803.7A Pending CN115320669A (en) | 2022-08-31 | 2022-08-31 | Method, device, equipment and medium for detecting railway coming car based on radar map |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115320669A (en) |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5429137A (en) * | 1994-06-03 | 1995-07-04 | Siemens Medical Systems, Inc. | Acoustic scan conversion method and apparatus for velocity flow |
JPH08154928A (en) * | 1994-12-06 | 1996-06-18 | Ge Yokogawa Medical Syst Ltd | Image display method, cfm image display method and ultrasonic diagnostic apparatus |
US20060202886A1 (en) * | 2005-03-10 | 2006-09-14 | Mahapatra Pravas R | Constant altitude plan position indicator display for multiple radars |
CN102662173A (en) * | 2012-04-24 | 2012-09-12 | 上海交通大学 | Thunderstorm forecasting method based on level set |
CN106842160A (en) * | 2016-12-30 | 2017-06-13 | 中国人民解放军空军预警学院监控系统工程研究所 | A kind for the treatment of method and apparatus of radar return sampled data |
CN107972584A (en) * | 2017-11-23 | 2018-05-01 | 广东菲柯特电子科技有限公司 | Driving assistance system based on wireless radar and panoramic image |
CN108508425A (en) * | 2018-03-26 | 2018-09-07 | 微瞳科技(深圳)有限公司 | Foreground target detection method based on neighborhood characteristics under a kind of radar near-earth ambient noise |
CN110356322A (en) * | 2019-07-26 | 2019-10-22 | 三一重机有限公司 | Early radar warning method, system, device and excavator |
CN110443819A (en) * | 2018-05-03 | 2019-11-12 | 比亚迪股份有限公司 | A kind of track detection method and device of monorail train |
CN111080662A (en) * | 2019-12-11 | 2020-04-28 | 北京建筑大学 | Lane line extraction method, device and computer equipment |
CN111638497A (en) * | 2020-06-10 | 2020-09-08 | 上海眼控科技股份有限公司 | Radar data processing method, device, equipment and storage medium |
CN112312068A (en) * | 2019-07-31 | 2021-02-02 | 杭州海康威视数字技术股份有限公司 | Target detection method, device, equipment and storage medium |
CN112990170A (en) * | 2021-05-20 | 2021-06-18 | 成都市克莱微波科技有限公司 | Phased array radar target identification method and system, electronic device and medium |
CN113064129A (en) * | 2021-03-03 | 2021-07-02 | 湖北中南鹏力海洋探测系统工程有限公司 | High-frequency ground wave radar ocean current synthesis method |
CN113433946A (en) * | 2021-07-14 | 2021-09-24 | 北京华科软通科技有限公司 | Anti-collision early warning method, device and system, electronic equipment and storage medium |
CN114814823A (en) * | 2022-01-06 | 2022-07-29 | 上海道麒实业发展有限公司 | Rail vehicle detection system and method based on millimeter-wave radar and camera fusion |
CN114973685A (en) * | 2022-07-29 | 2022-08-30 | 浙江宇视科技有限公司 | A method, device, electronic device and storage medium for detecting parking |
-
2022
- 2022-08-31 CN CN202211071803.7A patent/CN115320669A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5429137A (en) * | 1994-06-03 | 1995-07-04 | Siemens Medical Systems, Inc. | Acoustic scan conversion method and apparatus for velocity flow |
JPH08154928A (en) * | 1994-12-06 | 1996-06-18 | Ge Yokogawa Medical Syst Ltd | Image display method, cfm image display method and ultrasonic diagnostic apparatus |
US20060202886A1 (en) * | 2005-03-10 | 2006-09-14 | Mahapatra Pravas R | Constant altitude plan position indicator display for multiple radars |
CN102662173A (en) * | 2012-04-24 | 2012-09-12 | 上海交通大学 | Thunderstorm forecasting method based on level set |
CN106842160A (en) * | 2016-12-30 | 2017-06-13 | 中国人民解放军空军预警学院监控系统工程研究所 | A kind for the treatment of method and apparatus of radar return sampled data |
CN107972584A (en) * | 2017-11-23 | 2018-05-01 | 广东菲柯特电子科技有限公司 | Driving assistance system based on wireless radar and panoramic image |
CN108508425A (en) * | 2018-03-26 | 2018-09-07 | 微瞳科技(深圳)有限公司 | Foreground target detection method based on neighborhood characteristics under a kind of radar near-earth ambient noise |
CN110443819A (en) * | 2018-05-03 | 2019-11-12 | 比亚迪股份有限公司 | A kind of track detection method and device of monorail train |
CN110356322A (en) * | 2019-07-26 | 2019-10-22 | 三一重机有限公司 | Early radar warning method, system, device and excavator |
CN112312068A (en) * | 2019-07-31 | 2021-02-02 | 杭州海康威视数字技术股份有限公司 | Target detection method, device, equipment and storage medium |
CN111080662A (en) * | 2019-12-11 | 2020-04-28 | 北京建筑大学 | Lane line extraction method, device and computer equipment |
CN111638497A (en) * | 2020-06-10 | 2020-09-08 | 上海眼控科技股份有限公司 | Radar data processing method, device, equipment and storage medium |
CN113064129A (en) * | 2021-03-03 | 2021-07-02 | 湖北中南鹏力海洋探测系统工程有限公司 | High-frequency ground wave radar ocean current synthesis method |
CN112990170A (en) * | 2021-05-20 | 2021-06-18 | 成都市克莱微波科技有限公司 | Phased array radar target identification method and system, electronic device and medium |
CN113433946A (en) * | 2021-07-14 | 2021-09-24 | 北京华科软通科技有限公司 | Anti-collision early warning method, device and system, electronic equipment and storage medium |
CN114814823A (en) * | 2022-01-06 | 2022-07-29 | 上海道麒实业发展有限公司 | Rail vehicle detection system and method based on millimeter-wave radar and camera fusion |
CN114973685A (en) * | 2022-07-29 | 2022-08-30 | 浙江宇视科技有限公司 | A method, device, electronic device and storage medium for detecting parking |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Paek et al. | Enhanced k-radar: Optimal density reduction to improve detection performance and accessibility of 4d radar tensor-based object detection | |
CN113920273B (en) | Image processing method, device, electronic equipment and storage medium | |
WO2023155387A1 (en) | Multi-sensor target detection method and apparatus, electronic device and storage medium | |
WO2025025648A1 (en) | Multipath identification method and apparatus, vehicle, and medium | |
CN117830642A (en) | Target speed prediction method, device and storage medium based on millimeter wave radar | |
CN115267782A (en) | Dangerous area early warning method, device, equipment and medium based on microwave radar | |
EP4138049A1 (en) | Method and apparatus for detecting obstacle, electronic device, and autonomous vehicle | |
CN115308748A (en) | Method, device, equipment and medium for detection of water targets based on radar map | |
CN115436900A (en) | Target detection method, device, equipment and medium based on radar map | |
WO2023147717A1 (en) | Character detection method and apparatus, electronic device and storage medium | |
CN114581889A (en) | A fusion method, device, equipment, medium and product | |
CN115436936A (en) | Radar map determination method, device, equipment and medium for target detection | |
CN115320669A (en) | Method, device, equipment and medium for detecting railway coming car based on radar map | |
CN115342758A (en) | Target volume detection method, device, equipment and medium based on radar image | |
CN115327540A (en) | Radar map-based landslide detection method, device, equipment and medium | |
CN115376106A (en) | Vehicle identification method, device, equipment and medium based on radar image | |
CN115376105A (en) | Method and device for determining travelable area, electronic device and storage medium | |
CN115526837A (en) | Abnormal driving detection method and device, electronic equipment and medium | |
CN116740676A (en) | Obstacle detection method, device, equipment and medium | |
CN116883707A (en) | Millimeter wave radar point cloud clustering method | |
CN115424228A (en) | Pavement pit detection method, device, equipment and storage medium | |
CN115097433A (en) | Target trajectory prediction and identification method and device based on combined radio frequency signal waveform | |
CN116994222B (en) | Target detection method, device, equipment and storage medium | |
CN116338629A (en) | Obstacle detection method, device, electronic equipment and storage medium | |
CN117392631B (en) | Road boundary extraction method and device, electronic equipment and storage medium |
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 |