CN115752437A - Chemical scene map alignment method and device, computer equipment and storage medium - Google Patents

Chemical scene map alignment method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115752437A
CN115752437A CN202211458283.5A CN202211458283A CN115752437A CN 115752437 A CN115752437 A CN 115752437A CN 202211458283 A CN202211458283 A CN 202211458283A CN 115752437 A CN115752437 A CN 115752437A
Authority
CN
China
Prior art keywords
scene
map
chemical plant
sub
coordinate
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
CN202211458283.5A
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.)
Dongtu Science And Technology Yichang Co ltd
Original Assignee
Dongtu Science And Technology Yichang 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 Dongtu Science And Technology Yichang Co ltd filed Critical Dongtu Science And Technology Yichang Co ltd
Priority to CN202211458283.5A priority Critical patent/CN115752437A/en
Publication of CN115752437A publication Critical patent/CN115752437A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Image Analysis (AREA)

Abstract

The application relates to a chemical scene map alignment method, a chemical scene map alignment device, computer equipment and a storage medium. The method comprises the following steps: dividing the acquired area map of the chemical plant into a plurality of sub-areas, and determining sub-scenes corresponding to the sub-areas; obtaining a map corresponding to each sub-scene; and determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and a root scene, wherein the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with the distribution position of the corresponding sub-scene in the root scene. And determining the filling position of the map by utilizing the position relation between each sub-scene and the root scene, ensuring that the map can be aligned with the corresponding sub-scene, and accurately determining the position of the tracking object in the corresponding map of different sub-scenes when the tracking object is positioned.

Description

Chemical scene map alignment method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for aligning a chemical scene map, a computer device, and a storage medium.
Background
Along with the demand of chemical products is more and more, the production personnel and the production equipment in the chemical plant are more and more, and the safety and the stability of the personnel in the production workshop and the chemical products in the chemical plant are ensured. A positioning system needs to be configured in a production workshop for positioning the positions of production personnel, production equipment or chemical products in the production workshop, so that risks are avoided, and the safety of the production workshop is improved.
Before a positioning system is used for positioning a tracking object, a scene corresponding to an area where the tracking object is located needs to be added to the system, and after the scene is added, a map corresponding to the area where the tracking object is located needs to be added to the scene.
However, in the prior art, the map is not aligned with the scene after the map is added to the scene. If the map is not aligned with the scene, the map added to the scene may be biased, which affects the display accuracy of the position location of the tracked object.
Disclosure of Invention
In order to solve the technical problem, the application provides a chemical scene map alignment method, a chemical scene map alignment device, a computer device and a storage medium.
In a first aspect, the present application provides a method for aligning a chemical scene map, including:
dividing the acquired area map of the chemical plant into a plurality of sub-areas, and determining sub-scenes corresponding to the sub-areas;
obtaining a map corresponding to each sub-scene;
and determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and a root scene, wherein the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with the distribution position of the corresponding sub-scene in the root scene.
In a second aspect, the present application provides a chemical engineering scene map aligning device, including:
the scene determining module is used for dividing the acquired area map of the chemical plant into a plurality of sub-areas and determining the sub-scenes corresponding to the sub-areas;
the acquisition module is used for acquiring a map corresponding to each sub-scene;
and the alignment module is used for determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and a root scene, wherein the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with the distribution position of the corresponding sub-scene in the root scene.
In a third aspect, the present application provides a computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
dividing the obtained area map of the chemical plant into a plurality of sub-areas, and determining sub-scenes corresponding to the sub-areas;
obtaining a map corresponding to each sub-scene;
and determining the filling position of each map in the chemical plant area map according to the position relation between each sub-scene and a root scene, wherein the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with the distribution position of the corresponding sub-scene in the root scene.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
dividing the acquired area map of the chemical plant into a plurality of sub-areas, and determining sub-scenes corresponding to the sub-areas;
obtaining a map corresponding to each sub-scene;
and determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and a root scene, wherein the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with the distribution position of the corresponding sub-scene in the root scene.
Dividing the obtained chemical plant area map into a plurality of sub-areas based on the chemical scene map alignment method, and determining the sub-scenes corresponding to the sub-areas; obtaining a map corresponding to each sub-scene; and determining the filling position of each map in the chemical plant area map according to the position relation between each sub-scene and a root scene, wherein the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with the distribution position of the corresponding sub-scene in the root scene. The method comprises the steps of determining the filling position of a map by utilizing the position relation between each sub-scene and a root scene, aligning the filling position of the map in a chemical plant area map with the distribution position of the corresponding sub-scene in the chemical plant area map, ensuring that the map can be aligned with the corresponding sub-scene, accurately determining the position of a tracking object in the corresponding map of different sub-scenes when the tracking object is positioned under the condition that the sub-scenes are aligned with the corresponding map, and improving the positioning and displaying accuracy of the tracking object under the condition that the position of the tracking object in the map is displayed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a chemical scene map alignment method in an embodiment;
FIG. 2 is a block diagram of an embodiment of a chemical scene map alignment apparatus;
FIG. 3 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all 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.
In an embodiment, fig. 2 is a schematic flow chart of a chemical industry scene map alignment method in an embodiment, and referring to fig. 2, a chemical industry scene map alignment method is provided. The embodiment is mainly exemplified by applying the method to a server, and the method for aligning the chemical engineering scene map specifically comprises the following steps:
step S110, dividing the acquired area map of the chemical plant into a plurality of sub-areas, and determining the sub-scenes corresponding to the sub-areas.
Specifically, the chemical plant area map is a three-dimensional model map used for indicating a chemical plant area, and the chemical plant area map is divided into a plurality of sub-areas, each sub-area corresponds to different sub-scenes, for example, the sub-scene 1 corresponding to the sub-area 1 is a production workshop, the sub-scene 2 corresponding to the sub-area 2 is a dining room, and the sub-scene 3 corresponding to the sub-area 3 is a conference room. Adding corresponding sub-scenes to each sub-area according to the actual distribution condition of the chemical plant, wherein the sub-areas without the sub-scenes are blank areas, displaying corresponding sub-scene names to the sub-areas with the sub-scenes when a region diagram of the chemical plant is displayed through a display screen of a server, and only displaying point location deployment of the blank areas to the blank areas without the sub-scenes.
And step S120, obtaining a map corresponding to each sub-scene.
Specifically, each sub-scene corresponds to one map, background personnel upload the maps corresponding to the sub-scenes through an operation server, the picture format of the maps can be SVG, PNG, JPG and the like, the server performs correlation processing on each acquired map and the corresponding sub-scenes, the similarity between the map corresponding to each sub-scene and the sub-scene is high, namely, the margin or the area irrelevant to the corresponding sub-scene in the map is small, and the alignment accuracy between the subsequent map and the corresponding sub-scene is improved.
Step S130, determining the filling position of each map in the chemical plant area map according to the position relation between each sub-scene and the root scene.
The root scene is a scene corresponding to the chemical plant area map, and filling positions of the maps in the chemical plant area map are aligned with distribution positions of the corresponding sub-scenes in the root scene.
Specifically, because the acquired map and the corresponding sub-scene only have an association relationship, and the accurate filling position of the map in the area map of the chemical plant is unclear, the position relationship between the sub-scene and the root scene is utilized to determine the placement position of the corresponding map of the sub-scene in the area map of the chemical plant, so that the alignment of the sub-scene and the corresponding map is realized, when the sub-scene is aligned with the corresponding map, the position of the tracking object in the corresponding map of different sub-scenes can be accurately determined when the tracking object is positioned, and when the position of the tracking object in the map is displayed, the positioning and displaying accuracy of the tracking object is improved.
In one embodiment, the determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and the root scene includes:
determining a first position offset amount between a first origin point of each sub-scene and a second origin point of the root scene, wherein the first origin point is any vertex of the sub-scene corresponding to the sub-region, and the second origin point is any vertex of the chemical plant area map;
determining absolute coordinates of the corresponding sub-scene relative to the root scene according to the first position offset;
and determining the filling position of the corresponding map in the area map of the chemical plant according to the absolute coordinates corresponding to each sub-scene and a preset scale, wherein the preset scale is the scale of the map relative to a real scene.
In this embodiment, let the first origin be the top of the lower left corner of the sub-scene, similarly let the second origin be the top of the lower left corner of the chemical plant area map, let the second origin be O (0, 0), and obtain the first position offset between the first origin and the second origin according to the distance between the first origin and the second origin of the root scene, and the first position offset is (x, y, z), and each sub-scene is located at a different position in the root scene, therefore, the first position offset between the first origin and the second origin of each sub-scene is different, and determine the absolute coordinates of each sub-scene relative to the root scene according to the first position offset of each scene relative to the root scene, that is, the absolute coordinates are the coordinates in the chemical plant area coordinate system, the chemical plant area coordinate system is a coordinate system with a second origin as an origin of the coordinate system, the origin of the map is arranged in the chemical plant area map according to absolute coordinates of corresponding sub-scenes, the pixel size of the map is adjusted according to a preset scale, so that a filling area of the map in the chemical plant area map is determined, the origin of the map is any vertex of the map, in the embodiment, the vertex of the lower left corner of the map is used as the origin of the map, the filling position of the map in the chemical plant area map is determined under the condition that the coordinate position of the origin of the map in the chemical plant area map and the filling area of the map in the chemical plant area map are determined, and the filling position of the map in the chemical plant area map is determined according to the mode corresponding to the map of each sub-scene.
In one embodiment, after determining the absolute coordinates of the respective sub-scene relative to the root scene according to the respective first position offset amount, the method further comprises:
when each sub-scene is located in a different horizontal space in the root scene, adjusting the size of each map to a preset size, wherein the preset size is an area size corresponding to the sub-scene;
and determining the filling position of each map with a preset size in the area map of the chemical plant according to the absolute coordinate corresponding to each sub-scene and a preset scale.
Specifically, each sub-scene is located in a different horizontal space in the root scene and indicates that each sub-scene indicates a different floor in the root scene, that is, the root scene is a building, the size of the map corresponding to each sub-scene is adjusted to a preset size, the preset size is the area size corresponding to the sub-scene, so that the size of the map corresponding to each sub-scene is ensured to be consistent, the size of the map corresponding to each sub-scene is made to be consistent with the area size corresponding to the sub-scene, the position of the origin of the corresponding map in the area map of the chemical plant is determined according to the absolute coordinates corresponding to the sub-scenes, the pixel size of the map is adjusted according to a preset scale, so that the filling area of the map in the area map of the chemical plant is determined, the map corresponding to each sub-scene is filled into a different horizontal space in the area map of the chemical plant, and each sub-scene is ensured to be aligned with the corresponding map.
In one embodiment, after determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and the root scene, the method further includes:
checking the filling position of each map in the area map of the chemical plant to obtain a corresponding checking result;
when the verification results corresponding to all the maps are verified successfully, forming a chemical plant scene graph based on the filling positions of all the maps in the chemical plant regional graph;
and converting the chemical plant scene graph from a chemical plant area coordinate system to a longitude and latitude coordinate system to obtain a chemical plant positioning graph.
Specifically, the filling position of each map in the area map of the chemical plant is verified, that is, whether the filling position corresponding to each map is located in the area map of the chemical plant is judged, that is, whether each sub-scene is located in the root scene area is judged, and whether the pixel ratio of the corresponding map of the sub-scene is less than or equal to a preset pixel ratio is judged, and if each sub-scene is located in the root scene area and the pixel ratio of each map is less than or equal to the preset pixel ratio, a successful verification result is obtained; and when the filling position corresponding to the map is positioned outside the area map of the chemical plant or the pixel ratio of the map is greater than the preset pixel ratio, obtaining a verification result of verification failure.
Filling each map which is successfully verified according to the filling position of the map in the area map of the chemical plant to form a scene map of the chemical plant, namely, the area corresponding to each sub-scene in the scene map of the chemical plant is filled with the map which is correspondingly aligned with the sub-scene, because the filling position of the map is determined based on the coordinate system of the area of the chemical plant, namely, the positioning coordinates of each positioning point in the scene map of the chemical plant are determined by taking the second origin of the area map of the chemical plant as the origin of coordinates, the positioning point is any pixel point in the area map of the chemical plant, but the longitude and latitude coordinates of each positioning point are required to be utilized when the tracking object is tracked and positioned, the scene map of the chemical plant is converted from the coordinate system of the area of the chemical plant to the coordinate system of the longitude and latitude, so that the positioning coordinates of each positioning point in the scene map of the chemical plant are converted to the corresponding longitude and latitude coordinates, thereby facilitating the tracking and positioning of the tracking object.
In one embodiment, the converting the chemical plant scenic map from the chemical plant area coordinate system to the longitude and latitude coordinate system to obtain a chemical plant positioning map includes:
acquiring a deflection angle between the chemical plant scene graph and the longitude and latitude coordinate system under the chemical plant area coordinate system;
and converting the positioning coordinates of each positioning point in the chemical plant scene graph from the chemical plant area coordinate system to the longitude and latitude coordinate system based on the deflection angle to obtain the chemical plant positioning graph.
Specifically, a coordinate system conversion is performed on a chemical plant scene graph, a deflection angle between the chemical plant scene graph and a longitude and latitude coordinate system under a chemical plant area coordinate system needs to be obtained, the deflection angle is recorded as a, the longitude and latitude coordinate system is a wgs84 coordinate system, positioning coordinates of each positioning point in the chemical plant scene graph are converted into longitude and latitude coordinates under the longitude and latitude coordinate system by using the deflection angle, so that a chemical plant positioning graph under the longitude and latitude coordinate system is obtained, the chemical plant positioning graph is a longitude and latitude coordinate capable of determining the position of a tracking object according to the positioning point of the tracking object, and therefore the position of the tracking object is accurately positioned.
The method comprises the steps that a plurality of positioning beacons are uniformly distributed in a real chemical plant area, positioning tags are arranged on tracking objects, the tracking objects can be objects which need to be tracked and positioned and can move in the chemical plant, production equipment, chemical products or other positions, the positioning beacons send broadcast signals at regular time, the positioning tags attached to the moving tracking objects feed back position data corresponding to the positioning beacons to a server when the broadcast signals sent by the positioning beacons are detected, and the server positions the tracking objects in the chemical plant area according to the position data fed back by the positioning tags and displays the positions in a positioning diagram of the chemical plant in a positioning mode.
In one embodiment, the obtaining of the deflection angle between the chemical plant scenograph and the longitude and latitude coordinate system in the chemical plant area coordinate system comprises:
extracting a first reference point and a second reference point from the chemical plant scene graph under the chemical plant area coordinate system, wherein the first reference point and the second reference point are any two different vertexes of the chemical plant scene graph;
acquiring a first coordinate and a second coordinate of the first reference point, and a third coordinate and a fourth coordinate of the second reference point, wherein the first coordinate and the third coordinate are respectively coordinates of the first reference point and the second reference point in the chemical plant area coordinate system, and the second coordinate and the fourth coordinate are respectively coordinates of the first reference point and the second reference point in the longitude and latitude coordinate system;
and determining a deflection angle between the chemical plant scene graph and the longitude and latitude coordinate system according to the first coordinate and the second coordinate of the first reference point and the third coordinate and the fourth coordinate of the second reference point.
Specifically, the first reference point is denoted as P1, the second reference point is denoted as P2, and the first reference point and the second reference point may be different vertices of any real object in the root scene, for example, the first reference point is a vertex at a lower left corner of a production workshop in the root scene, and the second reference point is a vertex at a lower left corner of a conference room in the root scene. The method comprises the following steps of (1, y 1) first coordinates of a first datum point in a chemical plant area coordinate system, (2, y 2) third coordinates of a second datum point in the chemical plant area coordinate system, (l 1, lat 1) second coordinates of the first datum point in a longitude and latitude coordinate system and (l 2, lat 2) fourth coordinates of the second datum point in the longitude and latitude coordinate system are searched through a global positioning system, and a deflection angle A is calculated according to the first coordinates and the second coordinates corresponding to the first datum point and the third coordinates and the fourth coordinates corresponding to the second datum point, wherein the calculation formula is as follows:
Figure BDA0003954444310000091
and determining the mapping relation between the corresponding coordinates of the same reference point in the two coordinate systems according to the coordinates of the two reference points in the two coordinate systems, namely representing the mapping relation by using the deflection angle.
In one embodiment, the converting, based on the deflection angle, the positioning coordinates of each positioning point in the chemical plant scenegraph from the chemical plant area coordinate system to the longitude and latitude coordinate system to obtain the chemical plant positioning diagram includes:
acquiring target positioning coordinates of a target positioning point in the chemical plant scene graph, wherein the target positioning point is any one positioning point in the chemical plant scene graph;
determining the coordinate offset of the target positioning point relative to the longitude and latitude coordinate system according to the target positioning coordinate, the first coordinate and the deflection angle;
and determining the longitude and latitude coordinates of the target positioning point under the longitude and latitude coordinate system according to the coordinate offset and the second coordinate, wherein the chemical plant positioning diagram contains the longitude and latitude coordinates of the target positioning point.
Specifically, the target positioning point is marked as P0, a target positioning coordinate of the target positioning point in a chemical plant scene graph, that is, a coordinate under a chemical plant area coordinate system is marked as (x 0, y 0), a coordinate offset of the target positioning point in the longitude and latitude direction is calculated according to the target positioning coordinate, the first coordinate and the deflection angle, the coordinate offset is marked as (x ', y'), and a calculation formula of the coordinate offset is as follows:
Figure BDA0003954444310000101
Figure BDA0003954444310000102
calculating a longitude and latitude coordinate corresponding to the target positioning point based on the coordinate offset, the first coordinate and the second coordinate, wherein the longitude and latitude coordinate P0 is (lng ', lat'), and the calculation formula is as follows:
Figure BDA0003954444310000103
Figure BDA0003954444310000104
the method comprises the following steps of firstly, obtaining a positioning coordinate of a target positioning point, converting the positioning coordinate of the target positioning point from a chemical plant area coordinate system to a longitude and latitude coordinate under the longitude and latitude coordinate system based on a formula, converting the positioning coordinate into the longitude and latitude coordinate under the longitude and latitude coordinate system according to the method for the target positioning point, namely converting the positioning coordinate into the longitude and latitude coordinate under the longitude and latitude coordinate system for all the positioning points in a chemical plant scene graph according to the method, forming a chemical plant positioning graph containing the longitude and latitude coordinate, and determining and displaying the positioning points in the chemical plant positioning graph according to the moving position of a tracked object, thereby realizing the positioning display of the tracked object and accurately determining the longitude and latitude of the position of the tracked object.
Fig. 1 is a schematic flow chart of a chemical engineering scene map alignment method in an embodiment. It should be understood that, although the steps in the flowchart of fig. 1 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 2, there is provided a chemical engineering scene map alignment apparatus, including:
the scene determining module 210 is configured to divide the acquired chemical plant area map into a plurality of sub-areas, and determine sub-scenes corresponding to the sub-areas;
an obtaining module 220, configured to obtain a map corresponding to each of the sub-scenes;
an alignment module 230, configured to determine a filling position of each map in the chemical plant area map according to a position relationship between each sub-scene and a root scene, where the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with a distribution position of the corresponding sub-scene in the root scene.
In one embodiment, the alignment module 230 is specifically configured to:
determining a first position offset amount between a first origin point of each sub-scene relative to a second origin point of the root scene, wherein the first origin point is any vertex of the sub-scene corresponding to the sub-region, and the second origin point is any vertex of the chemical plant region map;
determining absolute coordinates of the corresponding sub-scene relative to the root scene according to the first position offset;
and determining the filling position of the corresponding map in the area map of the chemical plant according to the absolute coordinates corresponding to each sub-scene and a preset scale, wherein the preset scale is the scale of the map relative to the real scene.
In an embodiment, the alignment module 230 is specifically configured to:
when each sub-scene is located in different horizontal spaces in the root scene, adjusting the size of each map to a preset size, wherein the preset size is the area size corresponding to the sub-scene;
and determining the filling position of each map with a preset size in the area map of the chemical plant according to the absolute coordinate corresponding to each sub-scene and a preset scale.
In one embodiment, the apparatus further comprises a position conversion module to:
checking the filling position of each map in the area map of the chemical plant to obtain a corresponding checking result;
when the verification results corresponding to all the maps are verified successfully, forming a chemical plant scene graph based on the filling positions of all the maps in the chemical plant regional graph;
and converting the chemical plant scene graph from a chemical plant area coordinate system to a longitude and latitude coordinate system to obtain a chemical plant positioning graph.
In one embodiment, the position conversion module is further configured to:
acquiring a deflection angle between the chemical plant scene graph and the longitude and latitude coordinate system under the chemical plant area coordinate system;
and converting the positioning coordinates of each positioning point in the chemical plant scene graph from the chemical plant area coordinate system to the longitude and latitude coordinate system based on the deflection angle to obtain the chemical plant positioning graph.
In one embodiment, the position conversion module is further configured to:
extracting a first reference point and a second reference point from the chemical plant scene graph under the chemical plant area coordinate system, wherein the first reference point and the second reference point are any two different vertexes of the chemical plant scene graph;
acquiring a first coordinate and a second coordinate of the first reference point, and a third coordinate and a fourth coordinate of the second reference point, wherein the first coordinate and the third coordinate are respectively coordinates of the first reference point and the second reference point in the chemical plant area coordinate system, and the second coordinate and the fourth coordinate are respectively coordinates of the first reference point and the second reference point in the longitude and latitude coordinate system;
and determining a deflection angle between the chemical plant scene graph and the longitude and latitude coordinate system according to the first coordinate and the second coordinate of the first reference point and the third coordinate and the fourth coordinate of the second reference point.
In one embodiment, the position conversion module is further configured to:
acquiring target positioning coordinates of a target positioning point in the chemical plant scene graph, wherein the target positioning point is any one positioning point in the chemical plant scene graph;
determining the coordinate offset of the target positioning point relative to the longitude and latitude coordinate system according to the target positioning coordinate, the first coordinate and the deflection angle;
and determining the longitude and latitude coordinates of the target positioning point under the longitude and latitude coordinate system according to the coordinate offset and the second coordinate, wherein a chemical plant positioning map comprises the longitude and latitude coordinates of the target positioning point.
FIG. 3 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a server. As shown in fig. 3, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and also stores a computer program, and when the computer program is executed by a processor, the computer program can enable the processor to realize the chemical scene map alignment method. The internal memory may also store a computer program, and when the computer program is executed by the processor, the computer program may cause the processor to execute the chemical scene map alignment method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the chemical scene map alignment apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be executed on a computer device as shown in fig. 3. The memory of the computer device may store various program modules constituting the chemical engineering scene map alignment apparatus, such as the scene determination module 210, the acquisition module 220, and the alignment module 230 shown in fig. 2. The computer program constituted by the program modules causes the processor to execute the steps in the chemical scene map alignment method according to the embodiments of the present application described in the present specification.
The computer device shown in fig. 3 may execute, by using the scene determination module 210 in the chemical plant scene map alignment apparatus shown in fig. 2, dividing the acquired chemical plant area map into a plurality of sub-areas, and determining sub-scenes corresponding to the sub-areas. The computer device may perform the step of obtaining the map corresponding to each of the sub-scenes through the obtaining module 220. The computer device may execute, by the alignment module 230, determining a filling position of each map in the chemical plant area map according to a position relationship between each sub-scene and a root scene, where the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with a distribution position of the corresponding sub-scene in the root scene.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the method of any of the above embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the method of any of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by instructing relevant hardware through a computer program, and the program may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A chemical industry scene map alignment method is characterized by comprising the following steps:
dividing the obtained area map of the chemical plant into a plurality of sub-areas, and determining sub-scenes corresponding to the sub-areas;
obtaining a map corresponding to each sub-scene;
and determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and a root scene, wherein the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with the distribution position of the corresponding sub-scene in the root scene.
2. The method according to claim 1, wherein the determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and the root scene comprises:
determining a first position offset amount between a first origin point of each sub-scene and a second origin point of the root scene, wherein the first origin point is any vertex of the sub-scene corresponding to the sub-region, and the second origin point is any vertex of the chemical plant region map;
determining absolute coordinates of the corresponding sub-scene relative to the root scene according to the first position offset;
and determining the filling position of the corresponding map in the area map of the chemical plant according to the absolute coordinates corresponding to each sub-scene and a preset scale, wherein the preset scale is the scale of the map relative to the real scene.
3. The method of claim 1, wherein determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and the root scene comprises:
when each sub-scene is located in a different horizontal space in the root scene, adjusting the size of each map to a preset size, wherein the preset size is an area size corresponding to the sub-scene;
and determining the filling position of each map with a preset size in the area map of the chemical plant according to the absolute coordinate corresponding to each sub-scene and a preset scale.
4. The method according to claim 1, wherein after determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and the root scene, the method further comprises:
checking the filling position of each map in the area map of the chemical plant to obtain a corresponding checking result;
when the verification results corresponding to all the maps are verified successfully, forming a chemical plant scene graph based on the filling positions of all the maps in the chemical plant regional graph;
and converting the chemical plant scene graph from a chemical plant area coordinate system to a longitude and latitude coordinate system to obtain a chemical plant positioning graph.
5. The method of claim 4, wherein the converting the chemical plant scenegraph from a chemical plant area coordinate system to a latitude and longitude coordinate system to obtain a chemical plant location map comprises:
acquiring a deflection angle between the chemical plant scene graph and the longitude and latitude coordinate system under the chemical plant area coordinate system;
and converting the positioning coordinates of each positioning point in the chemical plant scene graph from the chemical plant area coordinate system to the longitude and latitude coordinate system based on the deflection angle to obtain the chemical plant positioning graph.
6. The method of claim 5, wherein the obtaining of the deflection angle between the chemical plant scenograph and the latitude and longitude coordinate system in the chemical plant area coordinate system comprises:
extracting a first reference point and a second reference point from the chemical plant scene graph under the chemical plant area coordinate system, wherein the first reference point and the second reference point are any two different vertexes of the chemical plant scene graph;
acquiring a first coordinate and a second coordinate of the first reference point, and a third coordinate and a fourth coordinate of the second reference point, wherein the first coordinate and the third coordinate are respectively coordinates of the first reference point and the second reference point in the chemical plant area coordinate system, and the second coordinate and the fourth coordinate are respectively coordinates of the first reference point and the second reference point in the longitude and latitude coordinate system;
and determining a deflection angle between the chemical plant scene graph and the longitude and latitude coordinate system according to the first coordinate and the second coordinate of the first reference point and the third coordinate and the fourth coordinate of the second reference point.
7. The method of claim 6, wherein the converting the location coordinates of each positioning point in the chemical plant scenegraph from the chemical plant area coordinate system to the longitude and latitude coordinate system based on the deflection angle to obtain the chemical plant location graph comprises:
acquiring target positioning coordinates of a target positioning point in the chemical plant scene graph, wherein the target positioning point is any one positioning point in the chemical plant scene graph;
determining the coordinate offset of the target positioning point relative to the longitude and latitude coordinate system according to the target positioning coordinate, the first coordinate and the deflection angle;
and determining the longitude and latitude coordinates of the target positioning point under the longitude and latitude coordinate system according to the coordinate offset and the second coordinate, wherein the chemical plant positioning diagram contains the longitude and latitude coordinates of the target positioning point.
8. A chemical engineering scene map alignment device, characterized in that the device includes:
the scene determining module is used for dividing the acquired area map of the chemical plant into a plurality of sub-areas and determining the sub-scenes corresponding to the sub-areas;
the acquisition module is used for acquiring a map corresponding to each sub-scene;
and the alignment module is used for determining the filling position of each map in the chemical plant area map according to the position relationship between each sub-scene and a root scene, wherein the root scene is a scene corresponding to the chemical plant area map, and the filling position of each map in the chemical plant area map is aligned with the distribution position of the corresponding sub-scene in the root scene.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202211458283.5A 2022-11-16 2022-11-16 Chemical scene map alignment method and device, computer equipment and storage medium Pending CN115752437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211458283.5A CN115752437A (en) 2022-11-16 2022-11-16 Chemical scene map alignment method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211458283.5A CN115752437A (en) 2022-11-16 2022-11-16 Chemical scene map alignment method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115752437A true CN115752437A (en) 2023-03-07

Family

ID=85334013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211458283.5A Pending CN115752437A (en) 2022-11-16 2022-11-16 Chemical scene map alignment method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115752437A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117315181A (en) * 2023-11-29 2023-12-29 祥源智联(南京)科技有限公司 Geographic information construction system based on 3D modeling

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117315181A (en) * 2023-11-29 2023-12-29 祥源智联(南京)科技有限公司 Geographic information construction system based on 3D modeling
CN117315181B (en) * 2023-11-29 2024-02-09 祥源智联(南京)科技有限公司 Geographic information construction system based on 3D modeling

Similar Documents

Publication Publication Date Title
US10636168B2 (en) Image processing apparatus, method, and program
CN111103595B (en) Method and device for generating digital line drawing
CN109901123B (en) Sensor calibration method, device, computer equipment and storage medium
US20220180560A1 (en) Camera calibration apparatus, camera calibration method, and nontransitory computer readable medium storing program
CN110260857A (en) Calibration method, device and the storage medium of vision map
CN115752437A (en) Chemical scene map alignment method and device, computer equipment and storage medium
CN109765939A (en) Cloud platform control method, device and the storage medium of unmanned plane
CN112669410B (en) Line width adjusting method, line width adjusting device, computer equipment and storage medium
Kim et al. DEM matching for bias compensation of rigorous pushbroom sensor models
CN110796709A (en) Method and device for acquiring size of frame number, computer equipment and storage medium
US20230281942A1 (en) Measurement processing device, method, and program
CN116091431A (en) Case Liang Binghai detection method, apparatus, computer device, and storage medium
Guth et al. Slope, aspect, and hillshade algorithms for non‐square digital elevation models
CN112634628B (en) Vehicle speed determination method, terminal and storage medium
CN111445513B (en) Plant canopy volume acquisition method and device based on depth image, computer equipment and storage medium
CN117115243A (en) Building group outer facade window positioning method and device based on street view picture
CN111179337B (en) Method, device, computer equipment and storage medium for measuring spatial linear orientation
CN113449021B (en) Space coordinate conversion method, apparatus, computer device, and readable storage medium
JPH08240421A (en) Estimating method for camera parameter and object recognizing method utilizing the parameter
CN115830073A (en) Map element reconstruction method, map element reconstruction device, computer equipment and storage medium
Lee et al. Monocular vision-based displacement measurement system robust to angle and distance using homography
CN108650465B (en) Method and device for calculating augmented reality label of camera picture and electronic equipment
CN113436253B (en) Map positioning display method, map positioning display device, computer equipment and storage medium
Chen et al. Research on the Application of an Information System in Monitoring the Dynamic Deformation of a High‐Rise Building
CN112233171A (en) Target labeling quality inspection method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination