CN111210512B - Method and device for establishing three-dimensional abstract model of object, storage medium and processor - Google Patents

Method and device for establishing three-dimensional abstract model of object, storage medium and processor Download PDF

Info

Publication number
CN111210512B
CN111210512B CN202010302866.3A CN202010302866A CN111210512B CN 111210512 B CN111210512 B CN 111210512B CN 202010302866 A CN202010302866 A CN 202010302866A CN 111210512 B CN111210512 B CN 111210512B
Authority
CN
China
Prior art keywords
graph
abstract model
dimensional abstract
height
basic data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010302866.3A
Other languages
Chinese (zh)
Other versions
CN111210512A (en
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.)
Zoomlion Heavy Industry Science and Technology Co Ltd
Original Assignee
Zoomlion Heavy Industry Science and 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 Zoomlion Heavy Industry Science and Technology Co Ltd filed Critical Zoomlion Heavy Industry Science and Technology Co Ltd
Priority to CN202010302866.3A priority Critical patent/CN111210512B/en
Publication of CN111210512A publication Critical patent/CN111210512A/en
Application granted granted Critical
Publication of CN111210512B publication Critical patent/CN111210512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume

Abstract

The embodiment of the invention provides a method and a device for establishing a three-dimensional abstract model of an object, a storage medium and a processor, and belongs to the technical field of engineering. The method comprises the following steps: when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object; acquiring a horizontal plane projection of the object; acquiring a graph containing the horizontal plane projection; acquiring basic data of the graph, wherein the basic data can construct the graph; and establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph. The invention has simple modeling and short modeling time.

Description

Method and device for establishing three-dimensional abstract model of object, storage medium and processor
Technical Field
The invention relates to the technical field of engineering, in particular to a method and a device for establishing a three-dimensional abstract model of an object, a storage medium and a processor.
Background
The existing scene modeling methods mainly comprise two modeling methods based on vision and laser radar. Generally, a three-dimensional scene modeling method based on vision acquires a three-dimensional scene by using a binocular or multi-view camera to obtain a projected two-dimensional image, and recovers depth information according to information such as texture distribution of the image, thereby realizing three-dimensional modeling. The three-dimensional scene modeling method based on the laser radar generally uses the laser radar to scan a three-dimensional scene, utilizes the principle of laser ranging, records the depth information of a large number of dense points on the surface of a measured object, and uses a three-dimensional reconstruction algorithm to realize three-dimensional modeling. However, both have the following drawbacks: the modeling time is long and is as long as one week, and the construction requirements are difficult to meet; the calculation is complex and the requirement on the calculation equipment is high.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device, a storage medium and a processor for establishing a three-dimensional abstract model of an object, wherein the method, the device, the storage medium and the processor for establishing the three-dimensional abstract model of the object are simple in modeling and short in modeling time.
In order to achieve the above object, an embodiment of the present invention provides a method for building a three-dimensional abstract model of an object, where the method includes: when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object; acquiring a horizontal plane projection of the object; acquiring a graph containing the horizontal plane projection; acquiring basic data of the graph, wherein the basic data can construct the graph; and establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph.
Preferably, the basic data of the graph includes: the basic data of an irregular pattern or the basic data of a regular pattern.
Preferably, the underlying data of the rule comprises one of: coordinates of the four vertices of the rectangle, coordinates and diameter of the midpoint of the circle, and coordinates and diameter of the midpoint of the ellipse.
Preferably, when the basic data of the figure is coordinates of four vertices of a rectangle, acquiring the basic data including the figure includes: setting the position of the engineering machinery as a coordinate origin; when the lifting hook of the engineering machinery is positioned at four vertexes of the rectangle, obtaining variable amplitude values and rotation angle values corresponding to the four vertexes; and converting the variable amplitude values and the rotation angle values corresponding to the four vertexes into coordinates of the four vertexes.
Preferably, the engineering machine is a tower crane.
Preferably, the four vertex coordinates are obtained by the following formula: x = dcos θ, y = dsin θ, where d is the amplitude of each vertex, θ is the angle of gyration value for each vertex, x is the abscissa of each vertex, and y is the ordinate of each vertex.
Preferably, the building a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph comprises: obtaining data of the graph on the height of the object according to the height of the object and basic data of the graph; and establishing a three-dimensional abstract model of the object according to the basic data of the graph and the data of the graph on the height of the object.
The embodiment of the invention also provides a modeling method of the construction scene, which comprises the following steps: according to the method for establishing the three-dimensional abstract model of the object, the three-dimensional abstract model is established for each object in a plurality of objects in the construction scene; and fusing the three-dimensional abstract models established by each object to complete the modeling of the construction scene.
The embodiment of the present invention further provides a device for establishing a three-dimensional abstract model of an object, where the device includes: the device comprises an acquisition unit and a processing unit, wherein the acquisition unit is used for: when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object; acquiring a horizontal plane projection of the object; acquiring a graph containing the horizontal plane projection; acquiring basic data of the graph, wherein the basic data can construct the graph; the processing unit is used for establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph.
Preferably, the basic data of the graph includes: the basic data of an irregular pattern or the basic data of a regular pattern.
Preferably, the underlying data of the rule comprises one of: coordinates of the four vertices of the rectangle, coordinates and diameter of the midpoint of the circle, and coordinates and diameter of the midpoint of the ellipse.
Preferably, when the basic data of the graph is coordinates of four vertices of a rectangle, the acquiring unit is configured to: setting the position of the engineering machinery as a coordinate origin; when the lifting hook of the engineering machinery is positioned at four vertexes of the rectangle, obtaining variable amplitude values and rotation angle values corresponding to the four vertexes; and converting the variable amplitude values and the rotation angle values corresponding to the four vertexes into coordinates of the four vertexes.
Preferably, the engineering machine is a tower crane.
Preferably, the obtaining unit is configured to obtain the four vertex coordinates by the following formula: x = dcos θ, y = dsin θ, where d is the amplitude of each vertex, θ is the angle of gyration value for each vertex, x is the abscissa of each vertex, and y is the ordinate of each vertex.
Preferably, the processing unit is configured to: obtaining data of the graph on the height of the object according to the height of the object and basic data of the graph; and establishing a three-dimensional abstract model of the object according to the basic data of the graph and the data of the graph on the height of the object.
The embodiment of the invention also provides a modeling device of a construction scene, which comprises: means for building a three-dimensional abstract model of an object as claimed above, for building the three-dimensional abstract model for each of a plurality of objects within the construction scene; and the fusion device is used for fusing the three-dimensional abstract model established by each object so as to complete the modeling of the construction scene.
An embodiment of the present invention further provides a machine-readable storage medium, on which instructions are stored, the instructions being configured to cause a machine to perform the method for building a three-dimensional abstract model of an object according to any one of the above claims or the method for modeling a construction scenario according to the above claims.
An embodiment of the present invention further provides a processor, configured to execute a program, where the program is executed to perform the method for building a three-dimensional abstract model of an object according to any one of the above claims or the method for modeling a construction scenario described above.
By the technical scheme, the method, the device, the storage medium and the processor for establishing the three-dimensional abstract model of the object provided by the invention are adopted, and the method comprises the following steps: when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object; acquiring a horizontal plane projection of the object; acquiring a graph containing the horizontal plane projection; acquiring basic data of the graph, wherein the basic data can construct the graph; and establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph. The invention does not need complex data processing process, does not need to establish a model of a completely matched object, and has simple modeling and short modeling time.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a flow chart of a method for building a three-dimensional abstract model of an object according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an object in a coordinate system provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a graph including a planar projection according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for obtaining coordinates of four vertices of a rectangle according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of object vertex coordinates provided in accordance with an embodiment of the present invention;
FIG. 6 is a flow chart of a method for building a three-dimensional abstract model of an object according to another embodiment of the invention;
FIG. 7 is a flow chart of a method for modeling a construction scenario provided by an embodiment of the invention;
fig. 8 is a block diagram illustrating an apparatus for creating a three-dimensional abstract model of an object according to an embodiment of the present invention.
Description of the reference numerals
1 acquisition unit 2 processing unit.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart of a method for building a three-dimensional abstract model of an object according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S11, when the hook of the engineering machinery is located at the highest point of the object, acquiring the height of the hook to acquire the height of the object;
specifically, the object can be in various shapes, for example, the construction site comprises buildings, steel bar sheds and the like, and the object has different shapes, different sizes and heights. The three-dimensional abstract model obtained by the embodiment of the invention can be used in various scenes, if modeling is for avoiding obstacles when a tower crane carries out automatic hoisting operation, most of motion paths are high-altitude paths when the tower crane carries out hoisting operation, and the motion range is limited within the range of the length of the lifting arm, so that objects which are higher than a certain height (for example, 3 meters) in the whole scene and are within the range of the length of the lifting arm can be modeled to form a scene model, and the number of modeled objects can be greatly reduced. If the modeling is for other needs, the object to be modeled can be adjusted according to other needs.
As shown in fig. 2, it is assumed that the object is a cylinder whose upper and lower surfaces have different circular sizes (hereinafter, the object is also used as an example). Obtaining the height h of an object1The distance measurement mode such as ultrasonic wave, laser can be used at high altitude to carry out measurement, even manual measurement is used. In addition, the measurement can also be carried out by using engineering machinery, such as a tower crane. Namely, the lifting hook of the tower crane is controlled to the highest point of the object, and the height value at the moment is obtained from the safety monitoring system of the tower crane, namely the height of the object. For more accuracy, the height of the object can be measured five times, and the average value is taken after the abnormal values are eliminated, so that the accurate height value of the object can be obtained.
Step S12, acquiring a horizontal plane projection of the object;
specifically, in the embodiment of the present invention, a horizontal plane projection may be performed on an object first, and the horizontal plane projection is obtained;
step S13, acquiring a graph containing the horizontal plane projection;
specifically, the pattern may be an irregular pattern such as an irregular quadrangle or polygon, or may be a regular pattern such as a rectangle, a circle, or an ellipse. As to what pattern to choose, it will be influenced by the shape of the actual horizontal projection of the object.
Step S14, acquiring basic data of the graph, wherein the basic data can construct the graph;
specifically, in the embodiment of the present invention, basic data of a graphic can be obtained. If an irregular pattern is used that contains a projection of the object level, the coordinates of all vertices can be measured as the basis data for the pattern. For simpler modeling, however, it is preferred to use a regular pattern comprising horizontal projections of the object. When a regular graph is used to contain a horizontal projection of an object, the underlying data for the graph may be, for example, the coordinates of the four vertices of a rectangle, the coordinates and diameter of the midpoint of a circle, or the coordinates and diameter of the midpoint of an ellipse. With only this underlying data, a graph of unique shape and size can be constructed that results in unique locations. In order to bring the abstract model into close proximity with the original size of the object, the area of the figure that contains the horizontal projection of the object should be as small as possible.
As shown in fig. 3, based on the object of fig. 2, the horizontal plane projection is a circle, so that a rectangle can be used to contain the circle, and only the coordinates of the four vertices of the rectangle are obtained. Of course, if the horizontal projection of the object is other irregular shapes, a circle or an ellipse, etc. may be used to contain the projection, and only the coordinates of the center point and the diameter of the circle and the ellipse (the ellipse has a long diameter and a short diameter) need to be obtained. These basic data can be obtained by manual measurement or the like (coordinates can be obtained by setting a coordinate origin and then measuring a distance). If the coordinates of the four vertexes of the rectangle or the coordinates of the vertexes of the irregular figure need to be obtained, the coordinates can also be obtained by utilizing engineering machinery, such as a tower crane, and the following example is taken to obtain the four vertexes of the rectangle, specifically:
as shown in fig. 4, obtaining the coordinates of the four vertices of the rectangle may include:
step S41, setting the position of the engineering machinery as a coordinate origin;
specifically, the tower crane model can be loaded by using 3D modeling software, the center point of the base of the tower crane model is placed at the coordinate origin (0, 0, 0), and the center point is exported and stored as a file with a format of dae, ST L, etc., that is, a basic model file.
Step S42, when the lifting hook of the engineering machinery is positioned at four vertexes of the rectangle, obtaining the variable amplitude values and the rotation angle values corresponding to the four vertexes;
specifically, the lifting hook of the tower crane is positioned at four vertexes, the amplitude variation value and the rotation angle value at the moment are respectively obtained from the tower crane safety monitoring system, for accuracy, five times can be recorded, the average value is taken after abnormal values are eliminated, and the final amplitude variation value and the final rotation angle value (d) at the four vertexes are obtained1,1,θ1,1),(d1,2,θ1,2),(d1,3,θ1,3),(d1,4,θ1,4) As shown in fig. 3, where d is the amplitude and θ is the value of the gyration angle.
And step S43, converting the amplitude values and the rotation angle values corresponding to the four vertexes into coordinates of the four vertexes.
In particular, the above mentioned amplitude variation and angle of gyration values (d)1,1,θ1,1),(d1,2,θ1,2),(d1,3,θ1,3),(d1,4,θ1,4) The value in the polar coordinate system needs to be converted into a value in the rectangular coordinate system, for example, four vertex coordinates are obtained by the following formula:
x = dcos θ, y = dsin θ, where d is the amplitude of each vertex, θ is the angle of gyration value for each vertex, x is the abscissa of each vertex, and y is the ordinate of each vertex.
Thus, as shown in fig. 5, the coordinates of the four vertices of the rectangle are: (d)1,1cosθ1,1,d1,1sinθ1,1,0),(d1,2cosθ1,2,d1,2sinθ1,2,0),(d1,3cosθ1,3,d1,3sinθ1,3,0),(d1,4cosθ1,4,d1,4sinθ1,4,0). The tower crane is used for measurement, so that the problem that the existing modeling technology based on vision and laser radar is greatly influenced by weather can be solved.
And step S15, establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph.
And finally, establishing a three-dimensional abstract model. As shown in fig. 6, building a three-dimensional abstract model includes:
step S61, obtaining data of the graph on the height of the object according to the height of the object and the basic data of the graph;
in particular, if the three-dimensional abstract model is a cylinder, then the height h of the object1In the above, the z-axis of the center point coordinates of the circle and the ellipse becomes the height h of the object1. If the three-dimensional abstract model is a cuboid, the height h of the object is given by the four vertex coordinates described above as an example1The coordinates of the upper four vertexes are (d)1,1cosθ1,1,d1,1sinθ1,1,h1),(d1,2cosθ1,2,d1,2sinθ1,2,h1),(d1,3cosθ1,3,d1,3sinθ1,3,h1),(d1,4cosθ1,4,d1,4sinθ1,4,h1)。
Step S62, building a three-dimensional abstract model of the object according to the basic data of the graph and the data of the graph on the height of the object.
In particular, if the three-dimensional abstract model is a cuboid, 6 faces of the cuboid may be divided into 12 triangles based on the four vertex coordinates of the rectangle containing the planar projection and the height h of the object1And the four vertex coordinates can obtain 36 coordinate values of 12 triangles, and a cuboid model of an object can be automatically drawn by utilizing an opengl software library in a model file containing a foundation of the tower crane according to the 36 coordinate values of the 12 triangles, so that the establishment of the three-dimensional abstract model is completed. The three-dimensional abstract model is a cylinder which is also similar to a cuboid.
Fig. 7 is a flowchart of a modeling method of a construction scenario according to an embodiment of the present invention. As shown in fig. 7, the modeling method includes:
step S71, building the three-dimensional abstract model for each of the plurality of objects in the construction scene according to the method for building the three-dimensional abstract model for the object described above;
and step S72, fusing the three-dimensional abstract models established by each object to complete the modeling of the construction scene.
Specifically, after the three-dimensional abstract model of one object is built by using the above-described embodiment, the above-described embodiment may be repeated to build three-dimensional abstract models of other objects in the construction scene, so that a simple fusion (i.e., the models of all the objects are arranged together according to their respective positions) is performed to form the model of the construction scene.
Fig. 8 is a block diagram illustrating an apparatus for creating a three-dimensional abstract model of an object according to an embodiment of the present invention. As shown in fig. 8, the apparatus includes: an acquisition unit 1 and a processing unit 2, wherein the acquisition unit 1 is configured to: when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object; acquiring a horizontal plane projection of the object; acquiring a graph containing the horizontal plane projection; acquiring basic data of the graph, wherein the basic data can construct the graph; the processing unit 2 is configured to establish a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph.
Preferably, the basic data of the graph includes: the basic data of an irregular pattern or the basic data of a regular pattern.
Preferably, the underlying data of the rule comprises one of: coordinates of the four vertices of the rectangle, coordinates and diameter of the midpoint of the circle, and coordinates and diameter of the midpoint of the ellipse.
Preferably, when the basic data of the graph is coordinates of four vertices of a rectangle, the obtaining unit 1 is configured to: setting the position of the engineering machinery as a coordinate origin; when the lifting hook of the engineering machinery is positioned at four vertexes of the rectangle, obtaining variable amplitude values and rotation angle values corresponding to the four vertexes; and converting the variable amplitude values and the rotation angle values corresponding to the four vertexes into coordinates of the four vertexes.
Preferably, the engineering machine is a tower crane.
Preferably, the obtaining unit is configured to obtain the four vertex coordinates by the following formula: x = dcos θ, y = dsin θ, where d is the amplitude of each vertex, θ is the angle of gyration value for each vertex, x is the abscissa of each vertex, and y is the ordinate of each vertex.
Preferably, the processing unit 2 is configured to: obtaining data of the graph on the height of the object according to the height of the object and basic data of the graph; and establishing a three-dimensional abstract model of the object according to the basic data of the graph and the data of the graph on the height of the object.
The above-described apparatus for building a three-dimensional abstract model of an object is similar to the above-described embodiment of the method for building a three-dimensional abstract model of an object, and is not described herein again.
The embodiment of the invention also provides a modeling device of a construction scene, which comprises: means for building a three-dimensional abstract model of an object as claimed above, for building the three-dimensional abstract model for each of a plurality of objects within the construction scene; and the fusion device is used for fusing the three-dimensional abstract model established by each object so as to complete the modeling of the construction scene. The scene modeling can be completed only by the simple lifting hook and the modeling tool, and compared with the prior art which needs a modeling technology based on vision, laser radar or other complex auxiliary tools, the method has obvious application advantages and cost advantages.
The above-described modeling apparatus for a construction scenario is similar to the above-described embodiment of the modeling method for a construction scenario, and is not repeated here.
The device for establishing the three-dimensional abstract model of the object comprises a processor and a memory, wherein the acquisition unit, the processing unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to one or more, and modeling is carried out by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium on which a program is stored, which when executed by a processor performs a method of building a three-dimensional abstract model of an object according to any one of the above claims or a method of modeling a construction scene as described above.
An embodiment of the present invention provides a processor, where the processor is configured to execute a program, where the program executes a method for building a three-dimensional abstract model of an object according to any one of the above claims or a method for modeling a construction scenario described above during execution.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object; acquiring a horizontal plane projection of the object; acquiring a graph containing the horizontal plane projection; acquiring basic data of the graph, wherein the basic data can construct the graph; and establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph.
The basic data of the graph comprises: the basic data of an irregular pattern or the basic data of a regular pattern.
The underlying data of the rule includes one of: coordinates of the four vertices of the rectangle, coordinates and diameter of the midpoint of the circle, and coordinates and diameter of the midpoint of the ellipse.
When the basic data of the graph is coordinates of four vertexes of a rectangle, acquiring the basic data of the graph comprises: setting the position of the engineering machinery as a coordinate origin; when the lifting hook of the engineering machinery is positioned at four vertexes of the rectangle, obtaining variable amplitude values and rotation angle values corresponding to the four vertexes; and converting the variable amplitude values and the rotation angle values corresponding to the four vertexes into coordinates of the four vertexes.
The engineering machine is a tower crane.
The four vertex coordinates are obtained by the following formula: x = dcos θ, y = dsin θ, where d is the amplitude of each vertex, θ is the angle of gyration value for each vertex, x is the abscissa of each vertex, and y is the ordinate of each vertex.
The establishing of the three-dimensional abstract model of the object according to the height of the object and the basic data of the graph comprises: obtaining data of the graph on the height of the object according to the height of the object and basic data of the graph; and establishing a three-dimensional abstract model of the object according to the basic data of the graph and the data of the graph on the height of the object.
The embodiment of the invention also provides a modeling method of the construction scene, which comprises the following steps: according to the method for establishing the three-dimensional abstract model of the object, the three-dimensional abstract model is established for each object in a plurality of objects in the construction scene; and fusing the three-dimensional abstract models established by each object to complete the modeling of the construction scene.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object; acquiring a horizontal plane projection of the object; acquiring a graph containing the horizontal plane projection; acquiring basic data of the graph, wherein the basic data can construct the graph; and establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph.
The basic data of the graph comprises: the basic data of an irregular pattern or the basic data of a regular pattern.
When the basic data of the graph is coordinates of four vertexes of a rectangle, acquiring the basic data of the graph comprises: setting the position of the engineering machinery as a coordinate origin; when the lifting hook of the engineering machinery is positioned at four vertexes of the rectangle, obtaining variable amplitude values and rotation angle values corresponding to the four vertexes; and converting the variable amplitude values and the rotation angle values corresponding to the four vertexes into coordinates of the four vertexes.
The engineering machine is a tower crane.
Preferably, the four vertex coordinates are obtained by the following formula: x = dcos θ, y = dsin θ, where d is the amplitude of each vertex, θ is the angle of gyration value for each vertex, x is the abscissa of each vertex, and y is the ordinate of each vertex.
The establishing of the three-dimensional abstract model of the object according to the height of the object and the basic data of the graph comprises: obtaining data of the graph on the height of the object according to the height of the object and basic data of the graph; and establishing a three-dimensional abstract model of the object according to the basic data of the graph and the data of the graph on the height of the object.
The embodiment of the invention also provides a modeling method of the construction scene, which comprises the following steps: according to the method for establishing the three-dimensional abstract model of the object, the three-dimensional abstract model is established for each object in a plurality of objects in the construction scene; and fusing the three-dimensional abstract models established by each object to complete the modeling of the construction scene.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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 phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. A method of building a three-dimensional abstract model of an object, the method comprising:
when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object;
acquiring a horizontal plane projection of the object;
acquiring a graph containing the horizontal plane projection;
obtaining base data of the graph, the base data being capable of constructing the graph, wherein when the base data of the graph is four vertex coordinates of a rectangle, obtaining the base data of the graph comprises:
setting the position of the engineering machinery as a coordinate origin;
when the lifting hook of the engineering machinery is positioned at four vertexes of the rectangle, obtaining variable amplitude values and rotation angle values corresponding to the four vertexes;
converting the variable amplitude values and the rotation angle values corresponding to the four vertexes into coordinates of the four vertexes;
and establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph.
2. The method of building a three-dimensional abstract model of an object according to claim 1, wherein the basic data of the graph further comprises:
basic data of an irregular pattern or basic data of a regular pattern which is one of:
the center point coordinates and diameter of the circle, and the center point coordinates and diameter of the ellipse.
3. The method for building a three-dimensional abstract model of an object according to claim 1, wherein the construction machine is a tower crane.
4. A method of building a three-dimensional abstract model of an object according to claim 1, wherein the four vertex coordinates are obtained by the following formula:
x = dcos θ, y = dsin θ, where d is the amplitude of each vertex, θ is the angle of gyration value for each vertex, x is the abscissa of each vertex, and y is the ordinate of each vertex.
5. The method for building a three-dimensional abstract model of an object according to claim 1, wherein the building a three-dimensional abstract model of the object based on the height of the object and the basic data of the figure comprises:
obtaining data of the graph on the height of the object according to the height of the object and basic data of the graph;
and establishing a three-dimensional abstract model of the object according to the basic data of the graph and the data of the graph on the height of the object.
6. A modeling method for a construction scenario, the modeling method comprising:
the method for building a three-dimensional abstract model of an object according to any one of claims 1 to 5, wherein the three-dimensional abstract model is built for each of a plurality of objects in the construction scene;
and fusing the three-dimensional abstract models established by each object to complete the modeling of the construction scene.
7. An apparatus for creating a three-dimensional abstract model of an object, the apparatus comprising:
an acquisition unit and a processing unit, wherein,
the acquisition unit is configured to:
when a lifting hook of the engineering machinery is located at the highest point of the object, acquiring the height of the lifting hook so as to acquire the height of the object;
acquiring a horizontal plane projection of the object;
acquiring a graph containing the horizontal plane projection;
obtaining base data of the graph, the base data being capable of constructing the graph, wherein when the base data of the graph is four vertex coordinates of a rectangle, obtaining the base data of the graph comprises:
setting the position of the engineering machinery as a coordinate origin;
when the lifting hook of the engineering machinery is positioned at four vertexes of the rectangle, obtaining variable amplitude values and rotation angle values corresponding to the four vertexes;
converting the variable amplitude values and the rotation angle values corresponding to the four vertexes into coordinates of the four vertexes;
the processing unit is used for establishing a three-dimensional abstract model of the object according to the height of the object and the basic data of the graph.
8. The apparatus for building a three-dimensional abstract model of an object according to claim 7, wherein the basic data of the figure further comprises:
basic data of an irregular pattern or basic data of a regular pattern which is one of:
the center point coordinates and diameter of the circle, and the center point coordinates and diameter of the ellipse.
9. The device for building a three-dimensional abstract model of an object according to claim 7, wherein the construction machine is a tower crane.
10. The apparatus according to claim 7, wherein the obtaining unit is configured to obtain the four vertex coordinates by the following formula:
x = dcos θ, y = dsin θ, where d is the amplitude of each vertex, θ is the angle of gyration value for each vertex, x is the abscissa of each vertex, and y is the ordinate of each vertex.
11. Apparatus for building a three-dimensional abstract model of an object according to claim 7, wherein the processing unit is configured to:
obtaining data of the graph on the height of the object according to the height of the object and basic data of the graph;
and establishing a three-dimensional abstract model of the object according to the basic data of the graph and the data of the graph on the height of the object.
12. An apparatus for modeling a construction scenario, the apparatus comprising:
the three-dimensional abstract model building apparatus for an object according to any one of claims 7-11, configured to build the three-dimensional abstract model for each of a plurality of objects within the construction scene; and
and the fusion device is used for fusing the three-dimensional abstract model established by each object so as to complete the modeling of the construction scene.
13. A machine-readable storage medium having stored thereon instructions for causing a machine to execute the method of building a three-dimensional abstract model of an object according to any one of claims 1 to 5 or the method of modeling a construction scenario according to claim 6.
14. A processor characterized by being configured to run a program, wherein the program is configured to perform the method for building a three-dimensional abstract model of an object according to any one of claims 1 to 5 or the method for modeling a construction scenario according to claim 6.
CN202010302866.3A 2020-04-17 2020-04-17 Method and device for establishing three-dimensional abstract model of object, storage medium and processor Active CN111210512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010302866.3A CN111210512B (en) 2020-04-17 2020-04-17 Method and device for establishing three-dimensional abstract model of object, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010302866.3A CN111210512B (en) 2020-04-17 2020-04-17 Method and device for establishing three-dimensional abstract model of object, storage medium and processor

Publications (2)

Publication Number Publication Date
CN111210512A CN111210512A (en) 2020-05-29
CN111210512B true CN111210512B (en) 2020-07-21

Family

ID=70788947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010302866.3A Active CN111210512B (en) 2020-04-17 2020-04-17 Method and device for establishing three-dimensional abstract model of object, storage medium and processor

Country Status (1)

Country Link
CN (1) CN111210512B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104183016A (en) * 2014-09-05 2014-12-03 山东省国土测绘院 Method for rapidly constructing 2.5-dimensional building model
CN106960474A (en) * 2017-04-25 2017-07-18 王征 It is a kind of based on level detector with calculate automatically 3D models movement after height System and method for
CN108961395A (en) * 2018-07-03 2018-12-07 上海亦我信息技术有限公司 A method of three dimensional spatial scene is rebuild based on taking pictures

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2015283802A1 (en) * 2014-06-30 2017-02-16 Acn 616 222 309 Pty Ltd System and method for rendering buildings in three dimensions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104183016A (en) * 2014-09-05 2014-12-03 山东省国土测绘院 Method for rapidly constructing 2.5-dimensional building model
CN106960474A (en) * 2017-04-25 2017-07-18 王征 It is a kind of based on level detector with calculate automatically 3D models movement after height System and method for
CN108961395A (en) * 2018-07-03 2018-12-07 上海亦我信息技术有限公司 A method of three dimensional spatial scene is rebuild based on taking pictures

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
一种起重机吊装作业方案规划新方法;范卿; 曾杨; 段军; 胡玉茹;《建设机械技术与管理》;20150320;第67-70页 *
基于区域划分的吊装仿真碰撞检测方法;曾杨; 范卿; 胡玉茹等;《建设机械技术与管理》;20120520;全文 *
基于平面投影的起重机吊装碰撞检测方法;范卿,任会礼,曾杨等;《起重运输机械》;20180320;全文 *
模具零件的最小包围盒生成算法;孔垂品; 牛强; 柳伟; 周雄辉;《模具工业》;20140415;全文 *
虚拟变电系统中实时渲染算法的研究与应用;赵娅,刘贤梅等;《2008系统仿真技术及其应用学术会议论文集》;20080701;全文 *
起重机吊装仿真中实时碰撞检测的研究与应用;邓乾旺,高礼坤;《计算机仿真》;20131231;第30卷(第12期);第214-218页 *

Also Published As

Publication number Publication date
CN111210512A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN108604384B (en) Orthogonal projection-based three-dimensional grid texture atlas packaging
WO2019127347A1 (en) Three-dimensional mapping method, apparatus and system, cloud platform, electronic device, and computer program product
CN105678683B (en) A kind of two-dimensional storage method of threedimensional model
CN106097443B (en) City indoor and outdoor integrated three-dimensional scenario building and spatially adaptive air navigation aid
CN109242966B (en) 3D panoramic model modeling method based on laser point cloud data
CN108090959A (en) Indoor and outdoor one modeling method and device
KR101591427B1 (en) Method for Adaptive LOD Rendering in 3-D Terrain Visualization System
CN104157011A (en) Modeling method for three-dimensional terrain
CN111161394B (en) Method and device for placing three-dimensional building model
CN113870430B (en) Workpiece data processing method and device
CN114707218A (en) Three-dimensional model simplification method and device
CN105354878A (en) Electronic map data making method and apparatus
CN111210512B (en) Method and device for establishing three-dimensional abstract model of object, storage medium and processor
CN110619661A (en) Method for measuring volume of outdoor stock ground raw material based on augmented reality
CN114115277A (en) Inspection robot-based inspection management method and related equipment
CN111260714B (en) Flood disaster recovery assessment method, device and equipment and computer storage medium
CN115713607A (en) Method for improving modeling quality based on laser radar and oblique photography
CN113936106A (en) Three-dimensional visualization method and system of monitoring map and related equipment
CN113094536B (en) Power transmission tower lightweight display method and device based on power grid GIM
CN116740103B (en) Monocular camera-based water surface floater collision prediction method, monocular camera-based water surface floater collision prediction equipment and monocular camera-based water surface floater collision prediction medium
CN116934994B (en) Method, system, equipment and storage medium for building three-dimensional map of EAM equipment distribution
Noskov et al. Urban perspectives: A raster-based approach to 3D generalization of groups of buildings
Gede Automatic reconstruction of old globes by photogrammetry and its accuracy
CN113744544B (en) Parameter configuration method, device and equipment
CN115423917B (en) Real-time drawing method and system for global three-dimensional wind field

Legal Events

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