CN113160216B - Method for identifying cross-linking relationship of lines of electrical schematic diagram of airplane - Google Patents
Method for identifying cross-linking relationship of lines of electrical schematic diagram of airplane Download PDFInfo
- Publication number
- CN113160216B CN113160216B CN202110515574.2A CN202110515574A CN113160216B CN 113160216 B CN113160216 B CN 113160216B CN 202110515574 A CN202110515574 A CN 202110515574A CN 113160216 B CN113160216 B CN 113160216B
- Authority
- CN
- China
- Prior art keywords
- line
- cross
- image
- original image
- lines
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000004132 cross linking Methods 0.000 title claims abstract description 20
- 238000010586 diagram Methods 0.000 title claims abstract description 19
- 230000004048 modification Effects 0.000 claims abstract description 6
- 238000012986 modification Methods 0.000 claims abstract description 6
- 230000000694 effects Effects 0.000 abstract description 6
- 238000012423 maintenance Methods 0.000 abstract description 4
- 230000003190 augmentative effect Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000002708 enhancing effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/194—Segmentation; Edge detection involving foreground-background segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30141—Printed circuit board [PCB]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Quality & Reliability (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention relates to a method for identifying a line cross-linking relation of an aircraft electrical schematic diagram, which loads an aircraft electrical schematic diagram in a picture format to obtain an original image for modification and display to a user; carrying out image processing on an original image to obtain an image copy for internal identification, carrying out automatic line cross-linking identification on a paper electrical drawing provided by an aviation maintenance factory by using an image identification technology, and displaying a required effect so as to display the drawing display effect according to the requirement of an operator; the method can be integrated into virtual reality/augmented reality to check the electronic drawings at any time; the method replaces the traditional method for checking the paper drawing manually, avoids errors caused by manually checking the cross-linking of the paper line, and brings great convenience for field workers to operate according to the condition of the paper line by checking through the electronic drawing.
Description
Technical Field
The invention relates to a maintenance technology of aviation electrical equipment, in particular to a method for identifying a line cross-linking relation of an electrical schematic diagram of an airplane.
Background
In some project engineering, such as in the field of aviation maintenance, drawing lines are more and more complicated, the relations among various line diagrams are criss-cross, it is more and more difficult to check the line trend through traditional paper drawings, when the line is longer and a lot of turns appear, it is very easy to make mistakes to draw the line trend according to a certain line with a finger, an operator feels very uncomfortable, and time and energy are greatly wasted. Therefore, it is increasingly important to convert the operation of the paper circuit diagram which is difficult to operate into the operation of the electronic circuit diagram which is light to operate.
At present, all adopt the mode of paper to look over the aircraft electrical principle drawing, at the in-process of looking over the paper drawing, because the circuit is very long and crisscross complicated, look wrong the cluster very easily, cause unnecessary energy waste, arouse constructor's mood violent, bring very big inconvenience and hidden danger for the construction operation.
Disclosure of Invention
Aiming at the problem that complex linear drawing lines are difficult to view, a method for identifying the cross-linking relationship of the lines of the electrical schematic diagram of the airplane is provided, the method is used for automatically identifying the picture drawing scanned by the paper drawing in the field of aviation maintenance, and displaying the corresponding drawing operation effect according to the operation condition of an operation user.
The technical scheme of the invention is as follows: a method for identifying a line cross-linking relationship of an electrical schematic diagram of an airplane specifically comprises the following steps:
1) loading an airplane electrical principle drawing in a picture format to obtain an original image for modification and display to a user;
2) performing enhancement processing on an original image, performing graying and threshold binarization, removing a background, and taking the image after operation processing as an image copy for internal identification;
3) capturing the clicking condition of a user on an original image, identifying whether the clicking position is on the line or near the defined line or not by being related to the image copy, and defining the position as a key coordinate; if the click position is on the line or near the defined line, identifying all cross-linked lines defined by the position in the image copy, and modifying the pixel values of all corresponding associated lines on the original image according to the set requirement; if the position is not on the line or has no line nearby the definition, modifying all pixel values of the original image displayed currently back to the pixel values of the initially loaded image;
4) refreshing the original image according to the result in 3), and displaying the modified result on a display screen for showing to a user.
Preferably, the method for identifying whether the click position is on the line or near the defined line on the image copy comprises: and looking at the pixel values of all the position points in the defined vicinity by taking the position as a center, and if one position point in the defined vicinity of the position meets the definition of the image copy about the line pixel, positioning the position point on the line.
Preferably, the identifying of all lines in the image copy that are cross-linked with the position definition is: lines which do not meet the cross from the position are all defined as cross-linked lines; when the criss-cross line is encountered, only the line in the same direction as the previous step is positioned as the cross-linked line.
Preferably, the modifying the pixel values of all the lines of the original image according to the set requirement specifically includes: and (3) from the key coordinate, modifying the pixel value of the original image in a required mode, and continuing to advance from the front, back, left and right directions for judgment, namely if the next pixel point in the image copy is still a defined cross-linked line, modifying the pixel value of the original image in the required mode, otherwise, not processing until all the pixel points in the image copy are judged as required.
The invention has the beneficial effects that: the method for identifying the line cross-linking relationship of the electrical schematic diagram of the airplane has the advantages that for a user, the source file acquisition is simple and efficient, and only paper files are needed to be simply scanned. Meanwhile, automatic line cross-linking identification is carried out so as to display the drawing display effect according to the needs of an operator; after the drawing data is uploaded to the server, the drawing data can be integrated into virtual reality/augmented reality, and the electronic drawing can be checked at any time; the method replaces the traditional method for checking the paper drawing manually, avoids errors caused by manually checking the cross-linking of the paper line, and brings great convenience for field workers to operate according to the condition of the paper line by checking through the electronic drawing.
Drawings
FIG. 1 is a flow chart of a method for identifying a cross-linking relationship of an electrical schematic diagram circuit of an aircraft according to the present invention;
FIG. 2 is a schematic diagram of an original image circuit;
FIG. 3 is a schematic diagram of an image copy for internal identification;
FIG. 4a is a graph showing the refresh after the method of the present invention identifies a line, according to a user action;
FIG. 4b is a display diagram showing the refresh after the line is not identified according to the user operation.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
As shown in fig. 1, a flow chart of a method for identifying a line cross-linking relationship in an electrical schematic diagram of an aircraft specifically includes the following steps: loading an original image drawing in an original image format; enhancing an original image drawing to obtain a copy of the original image for identification; identifying whether the area of the original drawing clicked by the user is a line or not in the image copy, and performing corresponding association between the image copy and the original drawing; and displaying the related lines or the original image on the original image according to the set requirement according to the recognition result of the image copy.
The method for enhancing the original image drawing to obtain the copy of the original image for identification specifically comprises the following steps: converting an original image into a gray image, setting a reasonable gray threshold value on the basis of the gray image, converting the gray threshold value into a binary image, and storing the binary image aligned with the original image as an image copy for identification.
Identifying on the image copy whether the location or the location may define a nearby line, specifically including: and taking the position as a center, looking at the pixel values of all the position points in the defined nearby range, if one position point in the defined nearby range meets the definition of the image copy about the line pixel, positioning the position point as the position on the line, and then carrying out associated line positioning on the line. The associated line is positioned as: all points on the same straight line are associated lines; the straight line intersecting the straight line has 3 cases of right angle intersection, T-shaped intersection and cross intersection, and only the straight line intersecting the right angle and the T-shaped intersection is positioned as the associated line. As shown in fig. 4a, it is recognized in the image copy that the pixel value of the position at the click is 0, and therefore the position is on the line, and the straight line a including the position is the associated line; c, starting from the position, intersecting with the T word of the straight line A is defined as an associated line; then the straight line C is intersected with the straight line D T character and positioned as a related line; the straight line E is intersected with the straight line A at right angles, the straight line E is positioned as an associated line, and the intersection of other right angles is repeated; and for the straight line b, which is a straight line intersecting the line a, it is not defined as the associated line.
The specific steps that a user clicks the position on the original drawing, and the pixel value of the user-defined cross-linked line is modified from the position according to the required effect comprise the following steps: starting from the first defined pixel point which is found and meets the image copy and is related to the line, modifying the pixel value of the original image in a required mode, and continuing to advance from the front direction, the rear direction, the left direction and the right direction, namely if the next pixel point in the image copy is still the line, modifying the pixel value of the original image in the required mode, otherwise, not processing. Until all pixel points in the image copy are judged as required.
As shown in fig. 2, after a drawing path is input, a drawing is loaded, and an original image line is displayed;
as shown in fig. 3, after the gray processing and the binarization processing are performed on the original image internally, the image copy circuit is displayed;
as shown in fig. 4a, a user clicks a place, a line near the definable position is identified in the image copy, all lines associated with the line definition are identified, and the pixel value modification is performed on the original image internally, and the original image is displayed to the user;
as shown in fig. 4b, the user clicks somewhere and recognizes in the image copy that there is no route in a definable vicinity, initializing all pixel values of the original image to the pixel values loaded with the drawing values.
Wherein the "changing the modified pixel value of the original image back to the original value" specifically includes: and overwriting the initial pixel value when the original image is loaded with the pixel value of the current original image.
And displaying the image effect after the pixel change of the original image after the user operation on the original image.
A method for identifying a cross-linking relationship of an aircraft electrical schematic diagram circuit based on a picture format specifically comprises the following steps:
s1, loading an electrical principle drawing in a picture format to obtain an original image for modification and display to a user, as shown in FIG. 2;
s2, performing enhancement processing on the original image, performing graying and threshold value binarization operation, removing background grids, and taking the image after operation processing as an image copy, wherein the pixel value is only 0 and 255, so that the image can be conveniently used for internal identification, as shown in FIG. 3;
s3, capturing the click condition of the user on the original image, and identifying whether the click position is on the line or near the defined line on the image copy and defining the position as a key coordinate. If on the line or near the defined lines, all cross-linked lines defined with that location are identified in the image copy and the pixel values of all these lines of the original image are modified according to the set requirements. If the location is not on the line or there is no line in the defined vicinity, all pixel values of the original image currently presented are modified back to the pixel values of the originally loaded image.
S4, refreshing the original image according to the result in S3, and displaying the modified result on a display screen to show the user, as shown in FIG. 4.
The graying calculation formula is as follows:wherein R, G, B represent the gray scale values for red, green, and blue, respectively.
The calculation formula of binarization is as follows:where threshold is a defined binarization threshold.
The step S3 "identify all cross-linked lines defined with the position" includes: lines which do not meet the cross from the position are all defined as cross-linked lines; when the criss-cross line is encountered, only the line in the same direction as the previous step is positioned as the cross-linked line.
In step S3, "identify all cross-linked lines defined with the position, and modify the pixel values of all the lines of the original image according to the set requirement" specifically includes: starting from the key coordinate, modifying the pixel value of the original image in a required mode, and continuing to advance from the front, back, left and right directions of the original image for judgment, namely if the next pixel point in the image copy is still a defined cross-linked line, modifying the pixel value of the original image in the required mode, otherwise, not processing. Until all pixel points in the image copy are judged as required.
The image copy is obtained after the original image is grayed and binarized, and the pixel value of the image copy is only two values of 0 and 255, so that the image copy is convenient to be used for identifying and judging whether the click definable position is a line or not and identifying and judging the cross-linking relation of the line. According to the recognition result of the image copy, the image pixel processing of the original image is triggered, so that the method is more friendly to operators and easier to accept psychologically, and the line cross-linking condition of the original image is seen instead of the line distribution of a new image, thereby facilitating the post-examination.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (4)
1. A method for identifying a line cross-linking relationship of an electrical schematic diagram of an airplane is characterized by comprising the following steps:
1) loading an airplane electrical principle drawing in a picture format to obtain an original image for modification and display to a user;
2) performing enhancement processing on an original image, performing graying and threshold binarization, removing a background, and taking the image after operation processing as an image copy for internal identification;
3) capturing the clicking condition of a user on an original image, identifying whether the clicking position is on the line or near the defined line or not by being related to the image copy, and defining the position as a key coordinate; if the click position is on the line or near the defined line, identifying all cross-linked lines defined by the position in the image copy, and modifying the pixel values of all corresponding associated lines on the original image according to the set requirement; if the position is not on the line or has no line nearby the definition, modifying all pixel values of the original image displayed currently back to the pixel values of the initially loaded image;
4) refreshing the original image according to the result in 3), and displaying the modified result on a display screen for showing to a user.
2. The aircraft electrical schematic line crosslinking relationship identification method of claim 1, wherein the method for identifying whether the click position is on the line or near the defined line on the image copy comprises: and looking at the pixel values of all the position points in the defined vicinity by taking the position as a center, and if one position point in the defined vicinity of the position meets the definition of the image copy about the line pixel, positioning the position point on the line.
3. The aircraft electrical schematic line cross-linking relationship identification method according to claim 1 or 2, wherein all lines cross-linked with the position definition are identified in the image copy, specifically: lines which do not meet the cross from the position are all defined as cross-linked lines; when the criss-cross line is encountered, only the line in the same direction as the previous step is positioned as the cross-linked line.
4. The method for identifying the cross-linking relationship of the lines of the electrical schematic diagram of the airplane as claimed in claim 3, wherein the modifying the pixel values of all the corresponding associated lines on the original image according to the set requirement specifically comprises: and (3) from the key coordinate, modifying the pixel value of the original image in a required mode, and continuing to advance from the front, back, left and right directions for judgment, namely if the next pixel point in the image copy is still a defined cross-linked line, modifying the pixel value of the original image in the required mode, otherwise, not processing until all the pixel points in the image copy are judged as required.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110515574.2A CN113160216B (en) | 2021-05-12 | 2021-05-12 | Method for identifying cross-linking relationship of lines of electrical schematic diagram of airplane |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110515574.2A CN113160216B (en) | 2021-05-12 | 2021-05-12 | Method for identifying cross-linking relationship of lines of electrical schematic diagram of airplane |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113160216A CN113160216A (en) | 2021-07-23 |
CN113160216B true CN113160216B (en) | 2022-09-16 |
Family
ID=76874661
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110515574.2A Active CN113160216B (en) | 2021-05-12 | 2021-05-12 | Method for identifying cross-linking relationship of lines of electrical schematic diagram of airplane |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113160216B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003194735A (en) * | 2001-09-27 | 2003-07-09 | Shoei Kk | Inspection method and device for printed-wiring substrate |
CN101751484A (en) * | 2008-12-16 | 2010-06-23 | 英业达股份有限公司 | Checking device and method of circuit wiring |
EP3279692A1 (en) * | 2016-08-01 | 2018-02-07 | Toll Collect GmbH | Data processing device, system and method for verifying performance of a specified function of a position determination device |
CN109508676A (en) * | 2018-11-14 | 2019-03-22 | 武汉万安智能技术有限公司 | A kind of Machine Vision Detection algorithm of logical circuitry information extraction |
CN109871748A (en) * | 2018-12-28 | 2019-06-11 | 上海工程技术大学 | A kind of intelligent identification device for subway circuit diagram |
CN109993064A (en) * | 2019-03-06 | 2019-07-09 | 东南大学 | A kind of method of connection path in extraction picture between road network node |
CN111724499A (en) * | 2020-05-14 | 2020-09-29 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Method and device for rapidly displaying monitoring information of urban rail transit equipment in batches |
-
2021
- 2021-05-12 CN CN202110515574.2A patent/CN113160216B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003194735A (en) * | 2001-09-27 | 2003-07-09 | Shoei Kk | Inspection method and device for printed-wiring substrate |
CN101751484A (en) * | 2008-12-16 | 2010-06-23 | 英业达股份有限公司 | Checking device and method of circuit wiring |
EP3279692A1 (en) * | 2016-08-01 | 2018-02-07 | Toll Collect GmbH | Data processing device, system and method for verifying performance of a specified function of a position determination device |
CN109508676A (en) * | 2018-11-14 | 2019-03-22 | 武汉万安智能技术有限公司 | A kind of Machine Vision Detection algorithm of logical circuitry information extraction |
CN109871748A (en) * | 2018-12-28 | 2019-06-11 | 上海工程技术大学 | A kind of intelligent identification device for subway circuit diagram |
CN109993064A (en) * | 2019-03-06 | 2019-07-09 | 东南大学 | A kind of method of connection path in extraction picture between road network node |
CN111724499A (en) * | 2020-05-14 | 2020-09-29 | 中国铁道科学研究院集团有限公司电子计算技术研究所 | Method and device for rapidly displaying monitoring information of urban rail transit equipment in batches |
Non-Patent Citations (7)
Title |
---|
"主动解列控制中电网弱连接的一种在线识别方法";倪敬敏等;《中国电机工程学报》;20111231;第31卷(第04期);全文 * |
"印制电路板线路识别技术研究";张天祥;《中国优秀硕士学位论文全文数据库 信息科技辑》;20111215(第S2期);全文 * |
关于电子产品线路质量图像识别检测仿真;马强;《计算机仿真》;20171215(第12期);全文 * |
基于AutoCAD的电气原理图识别;刘伟等;《计算机辅助设计与图形学学报》;20030820(第08期);全文 * |
手绘模拟电路图识别技术研究;刘玉军等;《系统工程理论与实践》;19990925(第09期);全文 * |
提高电路板设计品质的检查方法;邵疆;《集成电路应用》;20200709(第07期);全文 * |
电气原理图的自动识别;朱江等;《计算机工程与科学》;20070128(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN113160216A (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108229485B (en) | Method and apparatus for testing user interface | |
US10769427B1 (en) | Detection and definition of virtual objects in remote screens | |
CN108564082B (en) | Image processing method, device, server and medium | |
US20230005257A1 (en) | Illegal building identification method and apparatus, device, and storage medium | |
US10185701B2 (en) | Unsupported character code detection mechanism | |
CN110675940A (en) | Pathological image labeling method and device, computer equipment and storage medium | |
CN111814885A (en) | Method, system, device and medium for managing image frames | |
CN110308346B (en) | Automatic testing method and system for cockpit display system based on image recognition | |
US11704811B2 (en) | Method and apparatus for generating background-free image, device, and medium | |
CN109977337A (en) | A kind of webpage design control methods, device, equipment and readable storage medium storing program for executing | |
CN112380566A (en) | Method, apparatus, electronic device, and medium for desensitizing document image | |
CN112287924A (en) | Text region detection method, text region detection device, electronic equipment and computer storage medium | |
CN112016510A (en) | Signal lamp identification method and device based on deep learning, equipment and storage medium | |
CN112750162A (en) | Target identification positioning method and device | |
KR20210128907A (en) | A method, a device, an electronic equipment and a storage medium for extracting information | |
CN113362420A (en) | Road marking generation method, device, equipment and storage medium | |
CN109871205B (en) | Interface code adjustment method, device, computer device and storage medium | |
KR102011212B1 (en) | Method for Collecting and Saving object that is used as training data of Neural network for Artificial Intelligence | |
CN114373460A (en) | Instruction determination method, device, equipment and medium for vehicle-mounted voice assistant | |
CN113160216B (en) | Method for identifying cross-linking relationship of lines of electrical schematic diagram of airplane | |
US10719642B2 (en) | Automated generation of electronics schematics with single wire tracing | |
US20230048643A1 (en) | High-Precision Map Construction Method, Apparatus and Electronic Device | |
CN111552829A (en) | Method and apparatus for analyzing image material | |
CN109815299A (en) | Method, apparatus, equipment and the storage medium of the visual representation of object set are provided | |
US8494276B2 (en) | Tactile input recognition using best fit match |
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 |