CN112307533A - Control and regulation graph generation method and related equipment - Google Patents

Control and regulation graph generation method and related equipment Download PDF

Info

Publication number
CN112307533A
CN112307533A CN202011189776.4A CN202011189776A CN112307533A CN 112307533 A CN112307533 A CN 112307533A CN 202011189776 A CN202011189776 A CN 202011189776A CN 112307533 A CN112307533 A CN 112307533A
Authority
CN
China
Prior art keywords
processed
vector
preset
target control
image
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
Application number
CN202011189776.4A
Other languages
Chinese (zh)
Inventor
张伟伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jizhi Digital Technology Co Ltd
Original Assignee
Shenzhen Jizhi Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jizhi Digital Technology Co Ltd filed Critical Shenzhen Jizhi Digital Technology Co Ltd
Priority to CN202011189776.4A priority Critical patent/CN112307533A/en
Publication of CN112307533A publication Critical patent/CN112307533A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • G06T5/80
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras

Abstract

The application discloses a control and regulation diagram generation method and related equipment, wherein the method comprises the following steps: after a picture to be processed is obtained, firstly carrying out gray processing on the picture to be processed to obtain a gray image to be processed, and carrying out preset vector processing on the gray image to be processed to obtain a vector image to be processed, so that each line segment in the vector image to be processed has a coordinate; and correcting the position coordinates of the vector diagram to be processed according to a geographic coordinate system to obtain a target gauge control diagram, so that each line segment in the target gauge control diagram has a real geographic coordinate. The target control and regulation graph is generated based on a geographic coordinate system and a vectorized picture to be processed, so that each area in the target control and regulation graph has a real geographic coordinate, the target control and regulation graph can be combined with the map, the target control and regulation graph and the map are combined and displayed, and the display effect of the target control and regulation graph is improved.

Description

Control and regulation graph generation method and related equipment
Technical Field
The application relates to the technical field of computers, in particular to a control and regulation graph generation method and related equipment.
Background
A control graph is a common graph in some areas of technology (e.g., the real estate domain). However, since the conventional control map is usually a picture, the conventional control map cannot be combined with a map, so that the display effect of the control map is poor.
Disclosure of Invention
In order to solve the technical problems in the prior art, the application provides a method and related equipment for generating a control map, so that the generated control map can be combined with a map, and the control map can be better displayed.
In order to achieve the above purpose, the technical solutions provided in the embodiments of the present application are as follows:
the embodiment of the application provides a control and regulation diagram generation method, which comprises the following steps:
acquiring a picture to be processed;
carrying out gray level processing on the picture to be processed to obtain a gray level picture to be processed;
carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed;
and correcting the position coordinates of the vector diagram to be processed according to a geographic coordinate system to obtain a target control diagram.
Optionally, the performing preset vector processing on the grayscale image to be processed to obtain the vector image to be processed includes:
acquiring configuration parameters of the preset vector processing;
and according to the configuration parameters of the preset vector processing, carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed.
Optionally, when the configuration parameters of the preset vector processing include a vectorization configuration parameter and a file output configuration parameter, the performing the preset vector processing on the to-be-processed gray-scale image according to the configuration parameters of the preset vector processing to obtain the to-be-processed vector image includes:
and performing preset vector processing on the gray-scale image to be processed according to the vectorization configuration parameters to obtain the vector image to be output, and storing the vector image to be output according to the file output configuration parameters to obtain the vector image to be processed.
Optionally, the performing position coordinate correction on the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram includes:
and correcting the coordinates in the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
Optionally, the method further includes:
calculating the area of each region in the target gauge control graph;
determining an invalid region in the target control and regulation graph according to a preset invalid condition;
and deleting the invalid region from the target control graph to obtain a final control graph.
Optionally, the determining an invalid region in the target control and regulation graph according to a preset deletion condition includes:
determining a region of the target control and regulation graph, of which the area is higher than a preset area upper limit, as an invalid region;
and/or the presence of a gas in the gas,
and determining the area of the target control and regulation graph, which is lower than the lower limit of the preset area, as an invalid area.
The embodiment of the present application further provides a control and regulation diagram generating device, where the device includes:
the acquisition unit is used for acquiring a picture to be processed;
the gray unit is used for carrying out gray processing on the picture to be processed to obtain a gray image to be processed;
the vector unit is used for carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed;
and the correcting unit is used for correcting the position coordinates of the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
An embodiment of the present application further provides an apparatus, where the apparatus includes a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to execute any implementation manner of the control and regulation diagram generation method provided by the embodiment of the application according to the computer program.
The embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and the computer program is used to execute any implementation manner of the control plan graph generation method provided in the embodiment of the present application.
Compared with the prior art, the embodiment of the application has at least the following advantages:
in the control and regulation diagram generating method provided by the embodiment of the application, after a to-be-processed picture is obtained, firstly, performing gray processing on the to-be-processed picture to obtain a to-be-processed gray diagram, and performing preset vector processing on the to-be-processed gray diagram to obtain a to-be-processed vector diagram, so that each line segment in the to-be-processed vector diagram has a coordinate; and correcting the position coordinates of the vector diagram to be processed according to a geographic coordinate system to obtain a target gauge control diagram, so that each line segment in the target gauge control diagram has a real geographic coordinate. The target control and regulation graph is generated based on a geographic coordinate system and a vectorized picture to be processed, so that each area in the target control and regulation graph has a real geographic coordinate, the target control and regulation graph can be combined with the map, the target control and regulation graph and the map are combined and displayed, and the display effect of the target control and regulation graph is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a control diagram generation method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a control map generating device according to an embodiment of the present application.
Detailed Description
In order to solve the technical problem of the background art, an embodiment of the present application provides a control and regulation graph generating method, including: acquiring a picture to be processed; carrying out gray level processing on the picture to be processed to obtain a gray level picture to be processed; carrying out preset vector processing on the gray-scale image to be processed to obtain a vector image to be processed; and correcting the position coordinates of the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
Therefore, the target gauge control graph is generated based on the geographic coordinate system and the vectorized picture to be processed, so that each line segment in the target gauge control graph has a real geographic coordinate, each area in the target gauge control graph has a real geographic coordinate, and the target gauge control graph can be combined with the map, so that the target gauge control graph and the map are combined for display, and the display effect of the target gauge control graph is improved.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Method embodiment one
Referring to fig. 1, the figure is a flowchart of a control and regulation diagram generation method provided in an embodiment of the present application.
The control gauge graph generation method provided by the embodiment of the application comprises the following steps of S1-S3:
s1: and acquiring a picture to be processed.
The picture to be processed refers to a control map having no vectorization information (i.e., coordinate information).
In addition, the format of the picture to be processed is not limited in the embodiment of the present application, for example, the picture to be processed may be in PNG, JPEG, TIFF, BMP format.
In addition, the embodiment of the present application also does not limit the obtaining manner of the to-be-processed picture, and for example, the to-be-processed picture may be generated by using Computer Aided Design (CAD). As another example, the to-be-processed picture may be read from a preset storage location.
S2: and carrying out gray level processing on the picture to be processed to obtain a gray level picture to be processed.
The grayscale processing refers to converting a color image into a grayscale image.
The present embodiment is not limited to the embodiment of the gradation processing, and may be implemented by any conversion method capable of converting a color image into a gradation image. For example, the "24-bit RGB → gray" function in R2V may be automatically invoked for implementation. Where R2V is a tool that can convert a dot matrix image into a vector by drawing intermediate lines and borders.
S3: and carrying out preset vector processing on the gray-scale image to be processed to obtain a vector image to be processed.
The preset vector processing refers to a preset process for performing vectorization processing on the gray-scale image to be processed. The vectorization processing refers to coordinate labeling of line segments, points, areas and the like in the picture to be processed.
For ease of understanding, the following description is made in connection with one possible embodiment of S3.
In one possible embodiment, S3 may specifically include S31-S32:
s31: and acquiring configuration parameters of preset vector processing.
The configuration parameters of the preset vector processing refer to constraint parameters that should be used when the preset vector processing is performed.
In addition, the configuration parameters of the preset vector processing are not limited in the embodiment of the present application, for example, the configuration parameters of the preset vector processing may include a vectorization configuration parameter and a file output configuration parameter.
The vectorization configuration parameter refers to a constraint parameter that should be used by the vectorization process in the preset vector processing. For example, the vectorization configuration parameters may include source image parameters and extraction line segment parameters. Wherein, the source image parameter is used for describing the picture type (such as CAD graph) of the picture to be processed. And extracting line segment parameters for describing coordinate labeling objects (such as boundary lines or current line segments) in the vectorization process.
The file output configuration parameter refers to a constraint parameter that should be used in a file saving process in the preset vector processing. For example, the file output configuration parameters may include file save type (e.g., line file, point file, ArcView file, etc.), application control point (e.g., bilinear, triangulation, use of TFW, vertical flip, etc.), selection layer (e.g., line segment, point, text annotation, etc.), whether to use polygon closed lines, etc.
S32: and according to the configuration parameters of the preset vector processing, carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed.
To facilitate understanding of S32, the following description is made with reference to an example.
As an example, when the configuration parameters of the preset vector processing include a vectorization configuration parameter and a file output configuration parameter, S32 may specifically include: and carrying out preset vector processing on the gray-scale image to be processed according to the vectorization configuration parameters to obtain a vector image to be output, and storing the vector image to be output according to the file output configuration parameters to obtain the vector image to be processed.
It can be seen that, in the embodiment of the present application, after the to-be-processed grayscale image and the configuration parameters of the preset vector processing are obtained, the preset vector processing may be performed on the to-be-processed grayscale image according to the vectorization configuration parameters to obtain the to-be-output vector image, so that each line segment in the to-be-output vector image has a coordinate; and then storing the vector diagram to be output according to the file output configuration parameters to obtain the vector diagram to be processed, so that other operations can be performed subsequently by using the vector diagram to be processed.
Based on the relevant content of S3, after the to-be-processed gray scale image is obtained, preset vector processing may be performed on the to-be-processed gray scale image to obtain a to-be-processed vector image, so that each line segment in the to-be-processed vector image has a coordinate, and thus each region in the to-be-processed vector image also has coordinate information.
S4: and correcting the position coordinates of the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
The geographic coordinate system refers to a coordinate system used by a real map.
The target gauge control graph is a gauge control graph with a real geographic coordinate label.
In fact, because the vector diagram to be processed has a large number of coordinate labels, the position coordinate correction can be performed on the vector diagram to be processed by correcting the coordinate labels. Based on this, the embodiment of the present application further provides an implementation manner of S4, which specifically is: and correcting the coordinates in the vector diagram to be processed according to the geographic coordinate system to obtain the target control diagram. And the coordinates in the vector diagram to be processed refer to the coordinates existing in the vector diagram to be processed.
Based on the related content of S4, in the embodiment of the present application, after the vector diagram to be processed is obtained, the position coordinate of the vector diagram to be processed may be corrected according to the geographic coordinate system to obtain the target gauge control diagram, so that each line segment in the target gauge control diagram is labeled with the real geographic coordinate, and each region in the target gauge control diagram has the real geographic coordinate, which is beneficial to implement the combination of the target gauge control diagram and the map.
Based on the related contents of S1 to S4, in the method for generating a control map provided in the embodiment of the present application, after the picture to be processed is obtained, the picture to be processed is subjected to gray processing to obtain a gray map to be processed, and preset vector processing is performed on the gray map to be processed to obtain a vector map to be processed, so that each line segment in the vector map to be processed has a coordinate; and correcting the position coordinates of the vector diagram to be processed according to a geographic coordinate system to obtain a target gauge control diagram, so that each line segment in the target gauge control diagram has a real geographic coordinate. The target control and regulation graph is generated based on a geographic coordinate system and a vectorized picture to be processed, so that each area in the target control and regulation graph has a real geographic coordinate, the target control and regulation graph can be combined with the map, the target control and regulation graph and the map are combined and displayed, and the display effect of the target control and regulation graph is improved.
Method embodiment two
In some cases, a background layer and some characters exist in the picture to be processed, and both the background layer and the characters are easily recognized as a geographic area in the picture to be processed, which easily causes a lot of error areas to be added to the target control graph, thereby causing the target control graph to be inaccurate.
In order to avoid adverse effects caused by the background layer and the characters, the embodiment of the present application provides a possible implementation manner of the rule control graph generation method, in which the rule control graph generation method includes, in addition to the above-mentioned S1-S4, S5-S7:
s5: and calculating the area of each region in the target control graph.
The region refers to the location in the target gauge graph that is circumscribed by the closed coil.
In this embodiment of the application, after the target gauge control diagram is obtained, the area of each region in the target gauge control diagram may be calculated according to the coordinate information of each region in the target gauge control diagram, so that the background layer and the region where the character is located may be determined based on the area of each region in the target gauge control diagram in the following.
S6: and determining an invalid area in the target control and regulation graph according to a preset invalid condition.
The preset invalid condition is a condition that a preset invalid region reaches. The invalid region refers to other regions (such as the region where the background layer is located and the region where the character is located) except the real geographic region.
In fact, the area of the background layer is usually larger, and the area of the character is usually smaller, so the predetermined invalid condition may be that the area of the area is higher than the predetermined upper limit, or the area of the area is lower than the predetermined lower limit. Wherein the preset area upper limit is used for representing the maximum value of the real geographic area. The preset area lower limit is used to represent the minimum value of the real geographical area. The upper preset area limit and the lower preset area limit may be preset.
Based on this, the embodiment of the present application further provides an implementation manner of S6, which specifically is: determining a region with an area higher than a preset area upper limit in the target control and regulation graph as an invalid region; and/or determining a region with an area lower than a preset area lower limit in the target control map as an invalid region.
Based on the related content of S6, after the areas of the regions in the target control map are obtained, the invalid regions meeting the preset invalid condition may be selected from the target control map, and specifically, the invalid regions may be: and determining a region with the area higher than the preset area upper limit in the target control graph and a region with the area lower than the preset area lower limit in the target control graph as an invalid region.
S7: and deleting the invalid area from the target control graph to obtain a final control graph.
In the embodiment of the application, after the invalid regions are screened out from the target gauge control diagram, the invalid regions can be directly deleted from the target gauge control diagram to obtain the final gauge control diagram, so that the invalid regions do not exist in the final gauge control diagram, and only the real geographical region exists in the final gauge control diagram, so that the accuracy of the final gauge control diagram can be improved.
It should be noted that the embodiments of the present application are not limited to the implementation of S1-S7, and in some cases, S1-S3 are executed by R2V, and S4-S7 are executed by Geographic Information System (GIS).
Based on the related content of the above-mentioned control map generating method, the embodiment of the present application further provides a control map generating device, which is described below with reference to the accompanying drawings.
Device embodiment
Referring to fig. 2, the drawing is a schematic view of a control map generating apparatus according to an embodiment of the present application.
The control map generating apparatus 200 provided in the embodiment of the present application includes:
an obtaining unit 201, configured to obtain a picture to be processed;
the gray unit 202 is configured to perform gray processing on the to-be-processed picture to obtain a to-be-processed gray image;
the vector unit 203 is configured to perform preset vector processing on the grayscale image to be processed to obtain the vector image to be processed;
and the correcting unit 204 is configured to perform position coordinate correction on the vector diagram to be processed according to a geographic coordinate system, so as to obtain a target control diagram.
In a possible implementation, the vector unit 203 includes:
the first obtaining subunit is configured to obtain a configuration parameter of the preset vector processing;
and the second obtaining subunit is configured to perform preset vector processing on the to-be-processed gray-scale image according to the configuration parameters of the preset vector processing, so as to obtain the to-be-processed vector image.
In a possible implementation manner, the second obtaining subunit is specifically configured to:
when the preset vector processing configuration parameters comprise vectorization configuration parameters and file output configuration parameters, carrying out preset vector processing on the to-be-processed gray-scale image according to the vectorization configuration parameters to obtain the to-be-output vector image, and storing the to-be-output vector image according to the file output configuration parameters to obtain the to-be-processed vector image.
In a possible implementation manner, the correction unit 204 is specifically configured to:
and correcting the coordinates in the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
In a possible implementation, the control plan generating apparatus 200 further includes:
the calculation unit is used for calculating the area of each region in the target control map;
the determining unit is used for determining an invalid area in the target control and regulation graph according to a preset invalid condition;
and the deleting unit is used for deleting the invalid area from the target control map to obtain a final control map.
In a possible implementation manner, the deleting unit is specifically configured to:
determining a region of the target control and regulation graph, of which the area is higher than a preset area upper limit, as an invalid region;
and/or the presence of a gas in the gas,
and determining the area of the target control and regulation graph, which is lower than the lower limit of the preset area, as an invalid area.
Based on the relevant content of the control and regulation diagram generation device 200, after the picture to be processed is obtained, firstly, performing gray processing on the picture to be processed to obtain a gray-scale diagram to be processed, and performing preset vector processing on the gray-scale diagram to be processed to obtain a vector diagram to be processed, so that each line segment in the vector diagram to be processed has a coordinate; and correcting the position coordinates of the vector diagram to be processed according to a geographic coordinate system to obtain a target gauge control diagram, so that each line segment in the target gauge control diagram has a real geographic coordinate. The target control and regulation graph is generated based on a geographic coordinate system and a vectorized picture to be processed, so that each area in the target control and regulation graph has a real geographic coordinate, the target control and regulation graph can be combined with the map, the target control and regulation graph and the map are combined and displayed, and the display effect of the target control and regulation graph is improved.
In addition, an embodiment of the present application further provides an apparatus, where the apparatus includes a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to execute any implementation of the control map generation method provided by the foregoing method embodiment according to the computer program, and may specifically be configured to execute the following steps:
acquiring a picture to be processed;
carrying out gray level processing on the picture to be processed to obtain a gray level picture to be processed;
carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed;
and correcting the position coordinates of the vector diagram to be processed according to a geographic coordinate system to obtain a target control diagram.
Optionally, the performing preset vector processing on the grayscale image to be processed to obtain the vector image to be processed includes:
acquiring configuration parameters of the preset vector processing;
and according to the configuration parameters of the preset vector processing, carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed.
Optionally, when the configuration parameters of the preset vector processing include a vectorization configuration parameter and a file output configuration parameter, the performing the preset vector processing on the to-be-processed gray-scale image according to the configuration parameters of the preset vector processing to obtain the to-be-processed vector image includes:
and performing preset vector processing on the gray-scale image to be processed according to the vectorization configuration parameters to obtain the vector image to be output, and storing the vector image to be output according to the file output configuration parameters to obtain the vector image to be processed.
Optionally, the performing position coordinate correction on the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram includes:
and correcting the coordinates in the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
Optionally, the method further includes:
calculating the area of each region in the target gauge control graph;
determining an invalid region in the target control and regulation graph according to a preset invalid condition;
and deleting the invalid region from the target control graph to obtain a final control graph.
Optionally, the determining an invalid region in the target control and regulation graph according to a preset deletion condition includes:
determining a region of the target control and regulation graph, of which the area is higher than a preset area upper limit, as an invalid region;
and/or the presence of a gas in the gas,
and determining the area of the target control and regulation graph, which is lower than the lower limit of the preset area, as an invalid area.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, where the computer program is used to execute any implementation of the control map generation method provided in the foregoing method embodiment, and may specifically be used to execute the following steps:
acquiring a picture to be processed;
carrying out gray level processing on the picture to be processed to obtain a gray level picture to be processed;
carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed;
and correcting the position coordinates of the vector diagram to be processed according to a geographic coordinate system to obtain a target control diagram.
Optionally, the performing preset vector processing on the grayscale image to be processed to obtain the vector image to be processed includes:
acquiring configuration parameters of the preset vector processing;
and according to the configuration parameters of the preset vector processing, carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed.
Optionally, when the configuration parameters of the preset vector processing include a vectorization configuration parameter and a file output configuration parameter, the performing the preset vector processing on the to-be-processed gray-scale image according to the configuration parameters of the preset vector processing to obtain the to-be-processed vector image includes:
and performing preset vector processing on the gray-scale image to be processed according to the vectorization configuration parameters to obtain the vector image to be output, and storing the vector image to be output according to the file output configuration parameters to obtain the vector image to be processed.
Optionally, the performing position coordinate correction on the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram includes:
and correcting the coordinates in the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
Optionally, the method further includes:
calculating the area of each region in the target gauge control graph;
determining an invalid region in the target control and regulation graph according to a preset invalid condition;
and deleting the invalid region from the target control graph to obtain a final control graph.
Optionally, the determining an invalid region in the target control and regulation graph according to a preset deletion condition includes:
determining a region of the target control and regulation graph, of which the area is higher than a preset area upper limit, as an invalid region;
and/or the presence of a gas in the gas,
and determining the area of the target control and regulation graph, which is lower than the lower limit of the preset area, as an invalid area.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The foregoing is merely a preferred embodiment of the invention and is not intended to limit the invention in any manner. Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto. Those skilled in the art can make numerous possible variations and modifications to the present teachings, or modify equivalent embodiments to equivalent variations, without departing from the scope of the present teachings, using the methods and techniques disclosed above. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.

Claims (10)

1. A control and regulation graph generation method is characterized by comprising the following steps:
acquiring a picture to be processed;
carrying out gray level processing on the picture to be processed to obtain a gray level picture to be processed;
carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed;
and correcting the position coordinates of the vector diagram to be processed according to a geographic coordinate system to obtain a target control diagram.
2. The method according to claim 1, wherein said performing a predetermined vector process on the to-be-processed gray-scale map to obtain the to-be-processed vector map comprises:
acquiring configuration parameters of the preset vector processing;
and according to the configuration parameters of the preset vector processing, carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed.
3. The method according to claim 2, wherein when the configuration parameters of the preset vector processing include a vectorization configuration parameter and a file output configuration parameter, the performing the preset vector processing on the to-be-processed gray-scale image according to the configuration parameters of the preset vector processing to obtain the to-be-processed vector image includes:
and performing preset vector processing on the gray-scale image to be processed according to the vectorization configuration parameters to obtain the vector image to be output, and storing the vector image to be output according to the file output configuration parameters to obtain the vector image to be processed.
4. The method as claimed in claim 1, wherein said performing position coordinate correction on said vector graphics to be processed according to a geographic coordinate system to obtain a target control map comprises:
and correcting the coordinates in the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
5. The method of claim 1, further comprising:
calculating the area of each region in the target gauge control graph;
determining an invalid region in the target control and regulation graph according to a preset invalid condition;
and deleting the invalid region from the target control graph to obtain a final control graph.
6. The method according to claim 5, wherein the determining the invalid region in the target control plan according to a preset deletion condition comprises:
determining a region of the target control and regulation graph, of which the area is higher than a preset area upper limit, as an invalid region;
and/or the presence of a gas in the gas,
and determining the area of the target control and regulation graph, which is lower than the lower limit of the preset area, as an invalid area.
7. A control map generation apparatus, comprising:
the acquisition unit is used for acquiring a picture to be processed;
the gray unit is used for carrying out gray processing on the picture to be processed to obtain a gray image to be processed;
the vector unit is used for carrying out preset vector processing on the gray-scale image to be processed to obtain the vector image to be processed;
and the correcting unit is used for correcting the position coordinates of the vector diagram to be processed according to the geographic coordinate system to obtain a target control diagram.
8. The apparatus of claim 7, further comprising:
the calculation unit is used for calculating the area of each region in the target control map;
the determining unit is used for determining an invalid area in the target control and regulation graph according to a preset invalid condition;
and the deleting unit is used for deleting the invalid area from the target control map to obtain a final control map.
9. An apparatus, comprising a processor and a memory:
the memory is used for storing a computer program;
the processor is configured to perform the method of any of claims 1-6 in accordance with the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program for performing the method of any of claims 1-6.
CN202011189776.4A 2020-10-30 2020-10-30 Control and regulation graph generation method and related equipment Pending CN112307533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011189776.4A CN112307533A (en) 2020-10-30 2020-10-30 Control and regulation graph generation method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011189776.4A CN112307533A (en) 2020-10-30 2020-10-30 Control and regulation graph generation method and related equipment

Publications (1)

Publication Number Publication Date
CN112307533A true CN112307533A (en) 2021-02-02

Family

ID=74333986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011189776.4A Pending CN112307533A (en) 2020-10-30 2020-10-30 Control and regulation graph generation method and related equipment

Country Status (1)

Country Link
CN (1) CN112307533A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052638A1 (en) * 2006-08-04 2008-02-28 Metacarta, Inc. Systems and methods for obtaining and using information from map images
CN101510273A (en) * 2008-08-28 2009-08-19 南京大学 Method for rapidly counting city planning earth area and computer program
CN105741273A (en) * 2016-01-25 2016-07-06 天津天大求实电力新技术股份有限公司 Color segmentation based regulatory plan drawing automatic vectorization method and system
CN107067104A (en) * 2017-03-30 2017-08-18 昆明能讯科技有限责任公司 A kind of power supply grid load forecasting method based on GIS-Geographic Information System
CN107818303A (en) * 2017-10-23 2018-03-20 中石化石油工程地球物理有限公司 Unmanned plane oil-gas pipeline image automatic comparative analysis method, system and software memory
CN108876027A (en) * 2018-06-06 2018-11-23 安徽建筑大学 A kind of addressing of rural residential area centralized residential district and optimization method based on GIS

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052638A1 (en) * 2006-08-04 2008-02-28 Metacarta, Inc. Systems and methods for obtaining and using information from map images
CN101510273A (en) * 2008-08-28 2009-08-19 南京大学 Method for rapidly counting city planning earth area and computer program
CN105741273A (en) * 2016-01-25 2016-07-06 天津天大求实电力新技术股份有限公司 Color segmentation based regulatory plan drawing automatic vectorization method and system
CN107067104A (en) * 2017-03-30 2017-08-18 昆明能讯科技有限责任公司 A kind of power supply grid load forecasting method based on GIS-Geographic Information System
CN107818303A (en) * 2017-10-23 2018-03-20 中石化石油工程地球物理有限公司 Unmanned plane oil-gas pipeline image automatic comparative analysis method, system and software memory
CN108876027A (en) * 2018-06-06 2018-11-23 安徽建筑大学 A kind of addressing of rural residential area centralized residential district and optimization method based on GIS

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李刚 等: "\"控规平面坐标系统转换的实现及精度检验\"", 《城市勘测》, no. 4, pages 114 - 122 *

Similar Documents

Publication Publication Date Title
CN109961064B (en) Identity card text positioning method and device, computer equipment and storage medium
JP5298831B2 (en) Image processing apparatus and program
EP3200091A1 (en) Apparatus and method for handling bulleted lists
US20210406600A1 (en) Learning device, classification device, learning method, classification method, learning program, and classification program
CN113409461A (en) Method and device for constructing landform map, electronic equipment and readable storage medium
CN110879972A (en) Face detection method and device
CN113658292A (en) Method, device and equipment for generating meteorological data color spot pattern and storage medium
CN113128457A (en) Building model identification method, system and related device
CN116844177A (en) Table identification method, apparatus, device and storage medium
CN115222935A (en) Image correction method, image correction device, electronic apparatus, scanning pen, and storage medium
US9519984B2 (en) Image processing device, image processing method, information storage medium, and program
CN110334255B (en) Weather situation display method and device, electronic equipment and storage medium
CN115272887A (en) Coastal zone garbage identification method, device and equipment based on unmanned aerial vehicle detection
CN111209908A (en) Method and device for updating label box, storage medium and computer equipment
CN111914046B (en) Generation method and device of target seating chart and computer equipment
CN111932483B (en) Picture processing method and device, storage medium and computer equipment
CN112307533A (en) Control and regulation graph generation method and related equipment
CN113936137A (en) Method, system and storage medium for removing overlapping of image type text line detection areas
KR20120075626A (en) Apparatus and method for processing electric navigational chart in web-based service
CN110264546B (en) Image synthesis method and device, computer-readable storage medium and terminal
CN114972361B (en) Blood flow segmentation method, device, equipment and storage medium
JP2007256402A (en) Map data generating device
CN114511863B (en) Table structure extraction method and device, electronic equipment and storage medium
CN115933949A (en) Coordinate conversion method and device, electronic equipment and storage medium
CN111552755B (en) Drawing method, device and equipment for three-dimensional place name label 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