CN109753719A - A method of identification switch location - Google Patents
A method of identification switch location Download PDFInfo
- Publication number
- CN109753719A CN109753719A CN201811635404.2A CN201811635404A CN109753719A CN 109753719 A CN109753719 A CN 109753719A CN 201811635404 A CN201811635404 A CN 201811635404A CN 109753719 A CN109753719 A CN 109753719A
- Authority
- CN
- China
- Prior art keywords
- straight line
- trouble
- frog
- group
- antiposition
- 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.)
- Granted
Links
Landscapes
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The present invention provides a kind of method for identifying switch location, comprising the following steps: 1) the standard ellipse legend of frog is saved as template;2) frog template graphics are recalled when using as crucial pel;3) all straight lines, ellipse, text information and coordinate information are read and establishes crucial pel dictionary;4) frog is found;5) extension rectangle is drawn;6) according to the depth of parallelism with transverse by line grouping;If 7) the only straight line of group 1, the straight line of group 1 are to position after branching off;If 8) the only straight line of group 2, the straight line of group 2 is antiposition after trouble;9) it determines after being positioned after antiposition/trouble after branching off, find from another group has the straight line being overlapped for antiposition after positioning/trouble after trouble with its X-coordinate, and in addition straight line is antiposition after branching off prelocalization/trouble.By this method, whole frog can be found and each turnout around frog, realization accurately identify, each department is greatly reduced and repeat to draw the amount of labour of drawing.
Description
Technical field
The present invention relates to a kind of railway road design fields, relate to a kind of method for identifying switch location.
Background technique
In railway drawing design process, different majors mouth since the professional software used is different, various softwares it
Between certainly exist certain incompatibility problem, cause the staff of each professional mouth to need repeatedly to draw ichnography drawing of stations, work
Work amount is huge.
There are some defined standard symbols, including frog ellipse and straight line in railway drawing, frog and road are respectively represented
Trouble, track switch are generally made of antiposition straight line, frog ellipse after positioning linear, trouble after straight line, trouble before branching off.Due to making for frog icon
Type is unique, and each route in track switch is relevant with frog, and the present invention is to borrow this feature of railway drawing, provides knowledge
The method of other switch location.
Summary of the invention
The purpose of the present invention is in view of the deficiencies of the prior art, thus a kind of quickly identification is provided, can be to existing drawing
The method for carrying out contents extraction, a kind of identification switch location for avoiding the duplication of labour.
To achieve the goals above, the technical scheme adopted by the invention is that: a method of identification switch location, including
Following steps:
1) the standard ellipse legend of frog is saved as into template in identifying system, obtains its shape, and obtain elliptical long axis
Object of reference with the ratio of short axle as identification;
2) by before sheet template identifying system, identifying system recalls frog template graphics as crucial pel;
3) after sheet template identifying system, all straight lines, ellipse, text information and coordinate information are read, establishes crucial pel
Dictionary;
4) traverse ellipse all in crucial pel dictionary, obtain the ratio of elliptical long axis and short axle and with frog template graphics
It compares, the coordinate where the whole frogs of acquisition and its each frog and the deviation angle with X-axis;
5) centered on the elliptical centre coordinate of frog, wide and high respectively transverse and N times of short axle of extension rectangle are established,
Wherein N is more than or equal to 2;
6) it obtains with extension rectangular cross and length is longer than the straight line of the rectangle width, and these straight lines are divided into two groups, group 1 is
Straight line angle and the consistent straight line of transverse angle, it is the inconsistent straight line of transverse angle that group 2, which is straight line angle,;
If 7) the only straight line of group 1, the straight line of group 1 are to position after branching off, organize in 2 straight line comprising antiposition before branching off and after branching off
Antiposition;
If 8) the only straight line of group 2, the straight line of group 2 is antiposition after trouble, is organized in 1 straight line comprising fixed after trouble prelocalization and trouble
Position;
9) determine after positioning after antiposition/trouble after trouble, found from another group with its X-coordinate have the straight line being overlapped for positioning after trouble/
Antiposition after trouble, in addition straight line is antiposition before trouble prelocalization/trouble.
Step 10) calculates text border rectangle one by one, if having intersection with extension rectangle, for track switch title.
Described on base, in step 5), the numerical value of N is to extend the numerical value setting that rectangle can intersect with text border.
The present invention has substantive distinguishing features outstanding and significant progress compared with the prior art, specifically, present invention benefit
With the uniqueness of frog standard moulding in railway switch, track switch each in drawing is identified, reduces the duplication of labour, is realized not
With the conversion of drawing between format.Specifically, a frog is core, according to the grouping feature of group 1 and group 2, it is fixed after branching off to judge
Position and trouble after antiposition, then further according to after trouble position or branch off after antiposition X-coordinate whether have it is overlapping, judge trouble after antiposition or
It is positioned after trouble, remaining one is antiposition or trouble prelocalization before branching off.
Detailed description of the invention
Fig. 1 is the flow chart that the method for switch location is identified in the present invention.
Fig. 2 is the example 1 of the method for present invention identification switch location.
Fig. 3 is the example 2 of the method for present invention identification switch location.
Fig. 4 is elliptical shape in frog template of the present invention.
Fig. 5 is the example of railway switch drawing.
Specific embodiment
Below by specific embodiment, technical scheme of the present invention will be described in further detail.
In railway drawing, centered on track switch frog, the track switch joined with it include positioning linear after straight line, trouble before branching off,
Antiposition straight line and antiposition straight line before branching off after trouble design a kind of method that switch location is identified in railway drawing using these elements,
To carry out secondary operation.
As shown in Figure 1, mainly comprising the steps that
1) the standard ellipse legend of frog is saved as into template in identifying system, obtains its shape, and obtain elliptical long axis
Object of reference with the ratio of short axle as identification, as shown in figure 4, the half of transverse is a, short axle half is b, a and b
Ratio as it is oval whether similar foundation;
2) by before sheet template identifying system, identifying system recalls frog template graphics as crucial pel;
3) after sheet template identifying system, all straight lines, ellipse, text information and coordinate information are read, establishes crucial pel
Dictionary;
4) traverse ellipse all in crucial pel dictionary, obtain the ratio of elliptical long axis and short axle and with frog template graphics
Compare, obtain the coordinate where whole frogs and its each frog and the deviation angle with X-axis, X-axis referred herein it is inclined
Angle is moved, refers to the angle between elliptical long axis and X-axis;
5) centered on the elliptical centre coordinate of frog, wide and high respectively transverse and 4 times of short axle of extension rectangle are established,
The size of the extension rectangle is set, and need to be met certain condition, including with before trouble, after trouble each straight line and oblique line intersect, simultaneously
Intersect with the character marked above frog;
6) it obtains with extension rectangular cross and length is longer than the straight line of the rectangle width, the main purpose of the step is to exclude figure
In influence of some short-term sections for judgement, these straight lines are then divided into two groups, group 1 is straight line angle and transverse angle
Consistent straight line is spent, it is the inconsistent straight line of transverse angle that group 2, which is straight line angle, it should be strongly noted that the step
Described in straight line, be using oval place as the straight line of starting point, the straight line by oval two sides be respectively two straight lines rather than one
Straight line;
7) as shown in figure 3, the straight line of group 1 is to position after branching off if organizing 1 only has straight line, organizing in 2 straight line includes before branching off
Antiposition after antiposition and trouble;Determine after positioning after branching off have the straight line being overlapped for antiposition after trouble from finding in group 2 with its X-coordinate, organize 2
In other straight line be antiposition before branching off, refer to two straight lines in X-axis with " its X-coordinate is overlapped " described in the part
With the presence of common coordinate points.
8) as shown in Fig. 2, organizing in 1 straight line if the only straight line of group 2, the straight line of group 2 are antiposition after trouble comprising trouble
It is positioned after prelocalization and trouble;Determine after branching off after antiposition have the straight line being overlapped to position after trouble from finding in group 1 with its X-coordinate, separately
Outer straight line is trouble prelocalization.
By the operation of above step, be simple and efficient by drawing each track switch and frog all positioning is looked for complete, know
It is clipped to position, remaining is mark work.
Step 10) calculates text border rectangle one by one, if having intersection with extension rectangle, for track switch title, such as Fig. 2 institute
Show, the frame rectangle and extension rectangle of " 7 " have intersection, then determine that " 7 " are the title of corresponding track switch.
As shown in figure 5, being complete Railway Design drawing, wherein the setting of each switch location meets above-mentioned steps
Judgement.
The wherein identification of used Straight Line Identification, Aleuroglyphus ovatus and number, is conventional pattern Symbol recognition software institute
The function having is not belonging to innovative point of the invention, no longer excessive to illustrate.
Finally it should be noted that: the above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof;To the greatest extent
The present invention is described in detail with reference to preferred embodiments for pipe, it should be understood by those ordinary skilled in the art that: still
It can modify to a specific embodiment of the invention or some technical features can be equivalently replaced;Without departing from this hair
The spirit of bright technical solution should all cover within the scope of the technical scheme claimed by the invention.
Claims (4)
1. it is a kind of identify switch location method, it is characterised in that: it the following steps are included:
1) the standard ellipse legend of frog is saved as into template in identifying system, obtains its shape, and obtain elliptical long axis
Object of reference with the ratio of short axle as identification;
2) by before sheet template identifying system, identifying system recalls frog template graphics as crucial pel;
3) after sheet template identifying system, all straight lines, ellipse, text information and coordinate information are read, establishes crucial pel
Dictionary;
4) traverse ellipse all in crucial pel dictionary, obtain the ratio of elliptical long axis and short axle and with frog template graphics
It compares, the coordinate where the whole frogs of acquisition and its each frog and the deviation angle with X-axis;
5) centered on the elliptical centre coordinate of frog, wide and high respectively transverse and N times of short axle of extension rectangle are established,
Wherein N is more than or equal to 2;
6) it obtains with extension rectangular cross and length is longer than the straight line of the rectangle width, and these straight lines are divided into two groups, group 1 is
Straight line angle and the consistent straight line of transverse angle, it is the inconsistent straight line of transverse angle that group 2, which is straight line angle,;
If 7) the only straight line of group 1, the straight line of group 1 are to position after branching off, organize in 2 straight line comprising antiposition before branching off and after branching off
Antiposition;
If 8) the only straight line of group 2, the straight line of group 2 is antiposition after trouble, is organized in 1 straight line comprising fixed after trouble prelocalization and trouble
Position;
9) determine after positioning after antiposition/trouble after trouble, found from another group with its X-coordinate have the straight line being overlapped for positioning after trouble/
Antiposition after trouble, in addition straight line is antiposition before trouble prelocalization/trouble.
2. a kind of method for identifying switch location according to claim 1, it is characterised in that: it further include:
Step 10) calculates text border rectangle one by one, if having intersection with extension rectangle, for track switch title.
3. a kind of method for identifying switch location according to claim 1 or 2, it is characterised in that: in step 5), the number of N
Value is to extend the numerical value setting that rectangle can intersect with text border.
4. a kind of method for identifying switch location according to claim 1 or 2, it is characterised in that: the drawing is cad figure
Paper or viso drawing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811635404.2A CN109753719B (en) | 2018-12-29 | 2018-12-29 | Method for identifying turnout position |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811635404.2A CN109753719B (en) | 2018-12-29 | 2018-12-29 | Method for identifying turnout position |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109753719A true CN109753719A (en) | 2019-05-14 |
CN109753719B CN109753719B (en) | 2022-09-16 |
Family
ID=66403295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811635404.2A Active CN109753719B (en) | 2018-12-29 | 2018-12-29 | Method for identifying turnout position |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109753719B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112613395A (en) * | 2020-12-18 | 2021-04-06 | 湖南特能博世科技有限公司 | Primitive position relation matching method and device and computer equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040187334A1 (en) * | 2003-03-25 | 2004-09-30 | Redden John W. P. | Railroad track design template(2) |
CN104239607A (en) * | 2014-08-22 | 2014-12-24 | 中铁第四勘察设计院集团有限公司 | Method for inputting line and turnout information in CAD (Computer Aided Design) file into passenger station simulation system |
WO2016078474A1 (en) * | 2014-11-17 | 2016-05-26 | 国家电网公司 | Method for graphics interaction between grid production management system and scheduling automation system |
CN106156387A (en) * | 2015-04-14 | 2016-11-23 | 上海申通地铁集团有限公司 | Rail line drawing data be derived automatically from method |
-
2018
- 2018-12-29 CN CN201811635404.2A patent/CN109753719B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040187334A1 (en) * | 2003-03-25 | 2004-09-30 | Redden John W. P. | Railroad track design template(2) |
CN104239607A (en) * | 2014-08-22 | 2014-12-24 | 中铁第四勘察设计院集团有限公司 | Method for inputting line and turnout information in CAD (Computer Aided Design) file into passenger station simulation system |
WO2016078474A1 (en) * | 2014-11-17 | 2016-05-26 | 国家电网公司 | Method for graphics interaction between grid production management system and scheduling automation system |
CN106156387A (en) * | 2015-04-14 | 2016-11-23 | 上海申通地铁集团有限公司 | Rail line drawing data be derived automatically from method |
Non-Patent Citations (2)
Title |
---|
林飞等: "客运专线正线18~#道岔接触网非标准定位研究", 《科技创新与应用》 * |
王宁: "接触网线岔无交叉布置始触区的计算方法", 《中国铁路》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112613395A (en) * | 2020-12-18 | 2021-04-06 | 湖南特能博世科技有限公司 | Primitive position relation matching method and device and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109753719B (en) | 2022-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468802A (en) | Station graph editing method | |
CN104076743B (en) | A kind of interpolation control method of self-identifying interpolation kind | |
CN109285163B (en) | Laser point cloud based lane line left and right contour line interactive extraction method | |
CN105719328A (en) | Normalizing method and system of hand drawing geometric figures | |
CN102903136A (en) | Method and system for electronizing handwriting | |
CN109753719A (en) | A method of identification switch location | |
CN112084973B (en) | Tunnel pipe ring identification and labeling method based on orthographic projection image | |
CN113095267B (en) | Data extraction method of statistical chart, electronic device and storage medium | |
CN104477215B (en) | Vehicle operating drawing drawing method and system | |
CN106407979A (en) | Bill character correction method and device | |
CN109241555B (en) | Multi-primitive Gerber file analyzing and drawing method for improving drawing precision | |
CN104123527A (en) | Mask-based image table document identification method | |
CN106934832B (en) | A kind of simple straight line automatic positioning method towards vision line walking | |
CN102156890A (en) | Method and device for stroke segmentation of handwritten formula | |
CN107452054A (en) | A kind of decoding method of store Combinations wind tunnel model circulating type coded markings point | |
CN207026324U (en) | Bus punching positioner | |
CN106777220A (en) | A kind of processing method of the continuous unusual fluctuation of power distribution network artwork | |
CN109800478B (en) | Method for identifying signal machine in railway drawing | |
CN109840522A (en) | A kind of big plane rod end tagging scheme and character picture antidote | |
CN109784331A (en) | Bar section tagging scheme and character picture antidote based on index point | |
CN205563637U (en) | Information card | |
CN111611306A (en) | Method and system for converting space data into dwg data | |
EP2630881A1 (en) | System of visual markers for fastening and digitising garment patterns, and method for digitising garment patterns using said visual markers | |
CN102831434A (en) | Handwritten Chinese character recognizing method based on identification normalization | |
JP2623559B2 (en) | Optical character reader |
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 |