Unlock instant, AI-driven research and patent intelligence for your innovation.

Engineering drawing automatic processing method

A technology for automatic processing and engineering drawings, applied in the field of image processing, can solve problems such as waste of resources, rework, unclear stamping, etc., to achieve the effect of improving work efficiency and saving labor costs

Pending Publication Date: 2022-05-27
POWERCHINA FUJIAN ELECTRIC POWER SURVEY & DESIGN INST CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Manual stamping is time-consuming and laborious, and sometimes there are situations such as unclear stamping and embossing, resulting in later rework and waste of resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Engineering drawing automatic processing method
  • Engineering drawing automatic processing method
  • Engineering drawing automatic processing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] like figure 1 As shown, an automatic processing method for engineering drawings includes the following steps:

[0037] S1. Obtain an image to be processed, and the image to be processed in this embodiment is a scan of an engineering drawing;

[0038] S2, preprocessing the to-be-processed image: performing grayscale processing and inversion processing on the to-be-processed image;

[0039] S3, extracting foreground information in the to-be-processed image to obtain a foreground image;

[0040] S4, identify several tables in the foreground image: extract the horizontal lines and vertical lines in the foreground image to obtain several table frame lines;

[0041] S5. Identify the target table in the several tables: identify several cells formed by the several table frame lines; traverse each cell, if the characters in the cell contain preset keywords, then the cell is Determine the target cell; determine the table where the target cell is located as the target table;

...

Embodiment 2

[0046] Step S3 described in the implementation one is specifically:

[0047] Calculate the adaptive threshold of each pixel in the image to be processed after preprocessing; if the value of the pixel in the image to be processed is higher than its corresponding adaptive threshold, set the value of the pixel to 255, otherwise set the value of the pixel to is 0, so as to separate the frame from the background and obtain the foreground image. The formula is expressed as:

[0048] x ij '=255*Ι[x ij >threshold]

[0049] In the formula, x ij represents the pixel in the image to be processed; x ij ' represents the pixel in the foreground image; I represents the indicative function, if x ij >threshold, then I is 1, otherwise I is 0; threshold represents the adaptive threshold, which is expressed by the formula as:

[0050]

[0051] In the formula, C represents the offset parameter; w ij Represents the pixel x in the image to be processed ij The Gaussian mean of the neighbo...

Embodiment 3

[0055] Steps S4 and S5 described in the implementation one are specifically:

[0056] S4, extracting the horizontal and vertical lines in the foreground image to obtain several table frame lines:

[0057] S41. Extract the horizontal line:

[0058] Structural element B is set as a horizontal line, the width of the horizontal line is one pixel, and the length is 1 / 20 of the width of the foreground image (for the convenience of description, the foreground image is denoted as Figure A).

[0059] Slide the structural element B on the graph A, if the structural element B is entirely included in the foreground of the graph A (such as Figure 4 The white part in the image is the foreground), then set the value of the pixel of the image A corresponding to the center of the structural element B to 255; otherwise, set it to 0, thereby removing the non-horizontal line structure or noise in the image, and obtaining the image V. The formula is expressed as:

[0060]

[0061] In the fo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to an engineering drawing automatic processing method. The method comprises the following steps: S1, acquiring a to-be-processed image; s2, preprocessing the image to be processed; s3, extracting foreground information in the to-be-processed image to obtain a foreground image; s4, identifying a plurality of tables in the foreground image; s5, identifying a target table in the plurality of tables; s6, determining the position of a to-be-processed region according to the position of the target table; and S7, performing image processing on a to-be-processed image according to the position of the to-be-processed area.

Description

technical field [0001] The invention relates to an automatic processing method for engineering drawings, belonging to the field of image processing. Background technique [0002] After the project is completed, the engineering drawings shall be archived. When filing, it is necessary to affix the red file number stamp and the as-built drawing review stamp on the engineering drawings one by one, manually write the file number on the file number stamp, and sign the name and date of the as-built drawing review stamp. The location of the seal must be in the blank space in the lower right corner of the engineering drawings. The seal cannot be embossed, and the handwriting inside the seal is clear, correct and not skewed. Manual stamping is time-consuming and labor-intensive, and sometimes there are problems such as unclear stamping, embossing, etc., resulting in later rework and waste of resources. [0003] In order to reduce workload and improve work efficiency, an automatic pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06V30/416G06V30/148G06V30/422
Inventor 佘锐周源郑瑞忠陈倩筠郑飞陈松王永苹
Owner POWERCHINA FUJIAN ELECTRIC POWER SURVEY & DESIGN INST CO LTD