Method and equipment for generating urban three-dimensional texture model based on composite data
By using satellite remote sensing data and video data to generate a three-dimensional urban texture model, the problem of high cost and difficulty in constructing a three-dimensional texture model in the existing technology is solved, and lower-cost and more efficient model construction and updating are achieved.
Patent Information
- Application Number
- CN202310657905.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-16
- Filing Date
- 2023-06-05
- Publication Date
- 2024-09-20
AI Technical Summary
The cost and difficulty of constructing a three-dimensional urban texture model in the existing technology is high, requiring manual exploration and low-altitude drone flight, and image collection is not possible in some cities, resulting in increased modeling difficulty.
By acquiring satellite remote sensing data and video data within the spatial coordinate range of the object to be measured, a three-dimensional texture model of the city is generated, which reduces the cost and difficulty and eliminates the need for low-altitude drone image collection.
It reduces the cost and difficulty of building and updating urban 3D texture models, improves efficiency, simplifies the process, and avoids the need for manual exploration and low-altitude drone flights.
Smart Images

Figure CN118674880A
Abstract
Description
[0001] This application claims priority to a Chinese patent application filed with the Chinese Patent Office on March 16, 2023, with application number 202310256910.5 and application name “A method and device for generating a three-dimensional city model based on vacant land data”, the entire contents of which are incorporated by reference in this application. Technical Field
[0002] Embodiments of the present application relate to the computer field, and more specifically, to a method for generating a three-dimensional texture model of a city based on composite data, a computing device, a computing device cluster, a computer program product, and a computer-readable storage medium. Background Art
[0003] With the continuous development of 3D modeling technology, building 3D texture models for cities has become a research hotspot. In order to build a 3D texture model of a city, it is necessary to first obtain a real-life image of the city. At present, the main surveying and mapping technologies include oblique photography technology. Oblique photography technology uses low-altitude drones to collect images from different perspectives within the city to obtain real-life images of the city, and then generates a 3D texture model of the city through positioning, fusion, modeling and other technologies. However, oblique photography technology requires manual field exploration, route design and control of drone flight, resulting in high modeling costs. In addition, the flight of low-altitude drones within the city requires approval from relevant departments, and even image collection cannot be performed in some cities, resulting in high modeling difficulty.
[0004] Therefore, how to construct a three-dimensional texture model for the city has become an urgent problem to be solved. Summary of the invention
[0005] The embodiments of the present application provide a method, a computing device, a computing device cluster, a computer program product, and a computer-readable storage medium for generating a three-dimensional texture model of a city based on composite data, which can reduce the cost and difficulty of constructing a three-dimensional texture model for a city.
[0006] In a first aspect, a method for generating a three-dimensional texture model of a city based on composite data is provided. The method is used to generate a three-dimensional texture model of a city, and the city includes at least one area. Wherein, the target area is set in the at least one area. The method includes: obtaining satellite remote sensing data of the target area, the satellite remote sensing data includes image data of the object to be measured in the target area, and the image data is used to determine the three-dimensional skeleton model and spatial coordinates of the object to be measured; obtaining video data within a preset range of the spatial coordinates of the object to be measured, the video data includes at least one video image containing the object to be measured, and the at least one video image is used to determine the surface texture of the object to be measured; generating a three-dimensional texture model of the object to be measured according to the surface texture and the three-dimensional skeleton model of the object to be measured, and the three-dimensional texture model of the object to be measured is used to generate a three-dimensional texture model of the target area.
[0007] In an embodiment of the present application, the computing device can use satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured to obtain a three-dimensional texture model of the target area. Since the cost and difficulty of obtaining satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured are relatively low, and there is no need to collect images through low-altitude drones, the method in the embodiment of the present application can reduce the cost and difficulty of building a three-dimensional texture model for the city. In addition, in an embodiment of the present application, the computing device can update the three-dimensional texture model of the city based on the latest satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured, thereby reducing the cost and difficulty of updating the three-dimensional texture model of the city.
[0008] In combination with the first aspect, in certain implementations of the first aspect, at least one target texture image of the object to be measured is obtained from at least one video image, and each target texture image is determined by a video image; based on the spatial coordinates of the video image corresponding to each target texture image, the spatial coordinates corresponding to each target texture image are determined; based on the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image, the surface texture of the object to be measured is determined.
[0009] In the embodiment of the present application, the computing device can obtain the target texture image of the object to be measured from the video data of the preset range of the spatial coordinates of the object to be measured, and synthesize the surface texture of the object to be measured based on the target texture image. Since the target texture image is obtained in a relatively simple and low-cost manner, the difficulty and cost of determining the surface texture of the object to be measured can be reduced.
[0010] In combination with the first aspect, in certain implementations of the first aspect, at least one texture image of one or more objects is obtained from at least one video image, a texture image of each object is determined by a video image, each texture image is used to determine a first feature vector, and the first feature vector is used to indicate a feature of the texture image; at least one target texture image is determined from at least one texture image of one or more objects based on a degree of similarity between a second feature vector and each first feature vector. The second feature vector is used to indicate an image feature of the object to be tested in a three-dimensional skeleton model.
[0011] In an embodiment of the present application, the computing device may determine which texture images are the texture images of the object to be measured based on the similarity between the feature vectors of the texture images and the feature vectors of the image of the object to be measured, thereby facilitating synthesis of the surface texture of the object to be measured.
[0012] In combination with the first aspect, in certain implementations of the first aspect, the type of each object is the same as the type of the object to be detected.
[0013] In an embodiment of the present application, the computing device only needs to calculate the feature vectors of the texture image of an object of the same type as the object to be measured, without having to calculate the feature vectors of each texture image of each object, thereby saving computing overhead and improving the efficiency of constructing a three-dimensional texture model of the object to be measured.
[0014] In combination with the first aspect, in certain implementations of the first aspect, each video image in at least one video image is segmented into objects to obtain at least one object texture image of each object; the perspective of each object texture image of each object is adjusted to obtain each texture image of each object, and each texture image is a front view.
[0015] In an embodiment of the present application, the computing device can adjust the viewing angle of the physical texture image directly segmented from the video image so that the texture images used in subsequent surface texture synthesis are all front views, thereby avoiding distortion of the surface texture of the synthesized object to be tested.
[0016] In conjunction with the first aspect, in certain implementations of the first aspect, a three-dimensional texture model of the object to be measured in the target grid space is generated based on the surface texture of the object to be measured in the target grid space and the three-dimensional skeleton model. The target grid space is a three-dimensional space corresponding to the target grid, the grid plane where the target grid is located is parallel to the ground in the three-dimensional skeleton model, and the target grid is any grid in the grid plane.
[0017] In an embodiment of the present application, the computing device can construct a three-dimensional texture model for each object in each grid space respectively based on the grid space, so that a three-dimensional texture model of the city can be generated based on the three-dimensional texture model of each object in each grid space.
[0018] In combination with the first aspect, in certain implementations of the first aspect, the position of each target texture image on the surface of the object to be measured is determined based on the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image; based on the position of each target texture image on the surface of the object to be measured, at least one target texture image is fitted to the surface of the object to be measured to synthesize the surface texture of the object to be measured.
[0019] In an embodiment of the present application, the computing device can determine the mapping relationship between the surface of the object to be measured and the target texture image based on the spatial coordinates of the object to be measured and the spatial coordinates of each target texture image, thereby synthesizing the surface texture of the object to be measured, and then generating a three-dimensional texture model of the object to be measured.
[0020] In combination with the first aspect, in certain implementations of the first aspect, the spatial coordinates corresponding to each target texture image are determined based on the spatial coordinates and resolution of the video image corresponding to each target texture image, and the size information of each target texture image in the corresponding video image.
[0021] In combination with the first aspect, in certain implementations of the first aspect, the video data is obtained by at least one of the following imaging devices: a road checkpoint imaging device, a ground handheld imaging device.
[0022] In the embodiment of the present application, the computing device can determine the surface texture of the object to be measured based on the video image captured by the road surface bayonet imaging device or the ground handheld imaging device. Since the difficulty and cost of acquiring the video image captured by the road surface bayonet imaging device or the ground handheld imaging device are relatively low, the difficulty and cost of constructing the three-dimensional texture model of the object to be measured can be reduced. In addition, the cost and difficulty of updating the three-dimensional texture model of the object to be measured are also relatively low, so the three-dimensional texture model of the object to be measured can be updated more timely.
[0023] In combination with the first aspect, in some implementations of the first aspect, the type of the object to be detected includes at least one of the following: a building, a tree, a bridge, and a road.
[0024] In a second aspect, a computing device is provided, including a unit for implementing the first aspect or any possible implementation manner of the first aspect.
[0025] In a third aspect, a computing device cluster is provided, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method in the first aspect or any possible implementation of the first aspect.
[0026] In a fourth aspect, a chip is provided, which obtains an instruction and executes the instruction to implement the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0027] Optionally, as an implementation, the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface to execute the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0028] Optionally, as an implementation method, the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the method in the first aspect or any possible implementation method of the first aspect.
[0029] In a fifth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computing device cluster, the computing device cluster executes the method in the first aspect or any possible implementation of the first aspect.
[0030] In a sixth aspect, a computer-readable storage medium is provided, characterized in that it includes computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.
[0031] By way of example, these computer-readable storages include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM), and hard drive.
[0032] Optionally, as an implementation manner, the above-mentioned storage medium may specifically be a non-volatile storage medium. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic structural block diagram of a system for generating a three-dimensional texture model of a city based on composite data according to an embodiment of the present application.
[0034] Figure 2 It is a schematic flowchart of a method for generating a three-dimensional texture model of a city based on composite data according to an embodiment of the present application.
[0035] Figure 3 It is a schematic flowchart of a method for generating a three-dimensional texture model of a city based on composite data according to another embodiment of the present application.
[0036] Figure 4 It is a schematic diagram of a three-dimensional skeleton model of an object to be tested according to an embodiment of the present application.
[0037] Figure 5 is a schematic diagram of a video image according to an embodiment of the present application.
[0038] Figure 6 is a schematic diagram of object texture images of multiple objects according to an embodiment of the present application.
[0039] Figure 7 is a schematic diagram of a texture image of an object according to an embodiment of the present application.
[0040] Figure 8 It is a schematic diagram of the spatial coordinates corresponding to a target texture image of an object according to an embodiment of the present application.
[0041] Fig. 9It is a schematic flowchart of a method for generating a three-dimensional texture model of a city based on composite data according to an embodiment of the present application.
[0042] Fig.10 It is a schematic structural block diagram of a computing device according to an embodiment of the present application.
[0043] Fig.11 It is a schematic structural block diagram of a computing device according to an embodiment of the present application.
[0044] Fig.12 It is a schematic structural block diagram of a computing device cluster according to an embodiment of the present application.
[0045] Fig.13 It is a schematic diagram of a connection between computing devices 1000A and 1000B via a network according to one embodiment of the present application. DETAILED DESCRIPTION
[0046] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0047] The technical solution of the embodiment of the present application can be applied to construct or update the three-dimensional texture model of the city, and can also be applied to construct or update the three-dimensional texture model of the park, navigation map, etc. The technical solution of the embodiment of the present application can be applied to various computing devices, and the computing device can be, for example, a server, a desktop, a laptop, a handheld computer, a portable computing device, etc., which is not limited by the embodiment of the present application. The server can be, for example, a cloud server or a local server, etc., which is not limited by the embodiment of the present application. The technical solution in the embodiment of the present application can also be applied to various cloud scenarios.
[0048] Figure 1 It is a schematic structural block diagram of a system 100 for generating a three-dimensional texture model of a city based on composite data provided in an embodiment of the present application. Figure 1 The system 100 in FIG. 1 includes an acquisition component 110 and a processing component 120 .
[0049] The acquisition component 110 can acquire satellite remote sensing data of a target area. The target area is any area of at least one area of the city. The satellite remote sensing data includes image data of an object to be measured in the target area, and the image data is used to determine a three-dimensional skeleton model and spatial coordinates of the object to be measured. The object to be measured is a current modeling object. The object to be measured is an object in a three-dimensional space.
[0050] In some embodiments, the satellite remote sensing data may include a digital orthophotomap (DOM) and a digital surface model (DSM). The DOM data is used to indicate the size of each object in the city in a first direction. The DSM data is used to indicate the size of each object in the city in a second direction. The first direction is a direction parallel to the ground of the city, and the second direction is a direction perpendicular to the ground of the city.
[0051] In some embodiments, a three-dimensional skeleton model of a city can be obtained based on the satellite remote sensing data. The three-dimensional skeleton model of the city is used to indicate the size of each object in the city in a first direction and a second direction. The size of the object may include information such as length, width, height, diameter, radius, side length, area, volume, etc. The ground in the three-dimensional skeleton model corresponds to the ground of the city.
[0052] In some embodiments, the object to be detected is any one of the at least one object in the target area. The objects in the city may be, for example, buildings, trees, bridges, roads, etc.
[0053] In some embodiments, the satellite remote sensing data can be directly obtained through the Internet or other means without being obtained through oblique photography technology, thereby reducing the cost and difficulty of constructing a three-dimensional texture model for the city.
[0054] The acquisition component 110 can also acquire video data within a preset range of the spatial coordinates of the object to be measured. The video data includes at least one video image containing the object to be measured, and the at least one video image is used to determine the surface texture of the object to be measured.
[0055] The embodiments of the present application do not limit the preset range. For example, the preset range can be determined based on the distance between the imaging device around the object to be measured and the object to be measured. Alternatively, the preset range can be determined based on the clarity of the video data obtained by the imaging device around the object to be measured or the size of the object to be measured in the video data.
[0056] In some embodiments, the video data within a preset range of the spatial coordinates of the object to be measured can be obtained by at least one of the following imaging devices: a road checkpoint imaging device, a ground handheld imaging device.
[0057] In some embodiments, the video and / or image obtained by the road camera imaging device or the ground handheld imaging device in the city can be uploaded to the road video database of the city. That is, the road video database stores at least one video and / or image, and each of the at least one video and / or image can be obtained by an imaging device in the city.
[0058] In some embodiments, the road video database may also store the spatial coordinates of each imaging device. Alternatively, the road video database may also store the spatial coordinates of the location where each video and / or image is obtained.
[0059] In some embodiments, the video data in the road surface video data can be directly obtained through the network or other means without being obtained through oblique photography technology, thereby reducing the cost and difficulty of constructing a three-dimensional texture model for the city.
[0060] The processing component 120 can generate a three-dimensional texture model of the object to be measured according to the surface texture of the object to be measured and the three-dimensional skeleton model. The three-dimensional texture model of the object to be measured is used to generate a three-dimensional texture model of the target area.
[0061] In some embodiments, the processing component 120 can obtain at least one target texture image of the object to be measured from at least one video image, and each target texture image is determined by a video image. The processing component 120 can also determine the spatial coordinates corresponding to each target texture image based on the spatial coordinates of the video image corresponding to each target texture image. The processing component 120 can also determine the surface texture of the object to be measured based on the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image.
[0062] In some embodiments, the processing component 120 can obtain at least one texture image of one or more objects from at least one video image, and a texture image of each object is determined by a video image. Each texture image is used to determine a first feature vector, and the first feature vector is used to indicate the characteristics of the texture image. The processing component 120 can also determine at least one target texture image from at least one texture image of one or more objects based on the similarity between the second feature vector and each first feature vector. The second feature vector is used to indicate the image characteristics of the object to be tested in the three-dimensional skeleton model.
[0063] In some embodiments, the features of an image (or image features) include any one or more of the color features of the image, the texture features of the image, the shape features of the image, or the spatial relationship features of the image. Among them, the color features of the image are used to describe the color of the image, and the texture features of the image are used to describe the texture of the image. The shape features of the image are used to describe the outline of the image and / or the shape of the image. The spatial relationship features of the image are used to describe the spatial position relationship and / or relative direction relationship between multiple regions contained in the image. The feature vector of the image can be used to indicate any one or more of the color features, texture features, shape features, or spatial relationship features of the image. The feature vector of the image can be determined based on the pixel value of each pixel in the image.
[0064] In some embodiments, the type of the one or more objects is the same as the type of the object to be measured. That is, after determining the one or more objects of the same type as the object to be measured, the processing component 120 can calculate the first feature vector of each texture image of the one or more objects, thereby avoiding the calculation of feature vectors of texture images of objects of different types from the object to be measured, thereby saving computing resources.
[0065] In some embodiments, the types of objects may include: buildings, trees, bridges, roads, etc. For example, if both objects are buildings, the processing component 120 may determine that the two objects are of the same type.
[0066] In some embodiments, the type of an object can be used to indicate the characteristics of the object. The characteristics of an object may include at least one of the following: the shape of the object, the size of the object, the name of the object, etc. The embodiment of the present application does not limit the name of the object, and it can be set according to actual conditions. For example, the name of the object may include a building, a tree, a bridge, a road, etc. Alternatively, the name of the object may include a first building, a second building, a first type of tree, a second type of tree, etc.
[0067] For example, if the two objects have the same shape, the processing component 120 may determine that the two objects are of the same type. Alternatively, if the two objects have the same size, the processing component 120 may determine that the two objects are of the same type. Alternatively, if the two objects have the same name, the processing component may determine that the two objects are of the same type. Alternatively, if the two objects have the same shape and size, the processing component 120 may determine that the two objects are of the same type. Alternatively, if the two objects have the same size and name, the processing component 120 may determine that the two objects are of the same type. Alternatively, if the two objects have the same shape and name, the processing component 120 may determine that the two objects are of the same type. Alternatively, if the two objects have the same shape, size, and name, the processing component 120 may determine that the two objects are of the same type.
[0068] In some embodiments, "object" has a similar meaning to "object". "Type of object", "semantics of object", "type of object" and "semantics of object" have similar meanings.
[0069] In some embodiments, the processing component 120 can generate a three-dimensional texture model of the object to be tested in the target grid space according to the surface texture and three-dimensional skeleton model of the object to be tested in the target grid space. The target grid space is a three-dimensional space corresponding to the target grid, the grid plane where the target grid is located is parallel to the ground in the three-dimensional skeleton model, and the target grid is any grid in the grid plane. In other words, the three-dimensional skeleton model may include at least one grid plane, and each grid plane is parallel to the ground in the three-dimensional skeleton model. Each grid plane may include at least one grid. The target grid plane is any grid plane in the at least one grid plane, and the target grid is any grid in the target grid plane. The size of the target grid space in the second direction is unlimited, and the size of the target grid space in the first direction is the size of the target grid. In other words, the target grid space is a cuboid space with unlimited height in the second direction, and the area of the section of the cuboid space in the first direction is the same as the area of the target grid.
[0070] When the processing component 120 generates a three-dimensional texture model of the object to be measured in the target grid space, the second feature vector can be used to indicate image features of the object to be measured in the target grid space in the three-dimensional skeleton model.
[0071] In some embodiments, the processing component 120 can segment each video image in at least one video image by object to obtain at least one object texture image of each object. The processing component 120 can also adjust the viewing angle of each object texture image of each object to obtain each texture image of each object. Each texture image of each object is a front view. By adjusting the viewing angle of each object texture image of each object, the surface texture of the object to be measured determined subsequently can be avoided from being distorted, thereby avoiding the distortion of the three-dimensional texture model of the object to be measured that is finally obtained.
[0072] In some embodiments, the processing component 120 can determine the position of each target texture image on the surface of the object to be measured according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image. The processing component 120 can also fit at least one target texture image to the surface of the object to be measured according to the position of each target texture image on the surface of the object to be measured to synthesize the surface texture of the object to be measured.
[0073] In some embodiments, the processing component 120 may determine the spatial coordinates corresponding to each target texture image according to the spatial coordinates and resolution of the video image corresponding to each target texture image and the size information of each target texture image in the corresponding video image.
[0074] The system 100 can use satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured to obtain a three-dimensional texture model of the target area. Since the cost and difficulty of obtaining satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured are relatively low, and there is no need to collect images through low-altitude drones, the system 100 can reduce the cost and difficulty of building a three-dimensional texture model for the city. In addition, the system 100 can update the three-dimensional texture model of the city based on the latest satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured, thereby reducing the cost and difficulty of updating the three-dimensional texture model.
[0075] Figure 2 is a schematic flow chart of a method for generating a three-dimensional texture model of a city based on composite data provided in an embodiment of the present application, Figure 2 The method comprises the following steps.
[0076] S210, acquiring satellite remote sensing data of the target area.
[0077] The target area is any one of at least one area of the city. The embodiments of the present application do not limit the division of the areas of the city. For example, at least one area of the city can be determined according to the administrative divisions of the city, or at least one area of the city can be determined according to a preset size, etc. The target area includes at least one object, and each object can be, for example, a building, a tree, a bridge, a road, etc. The object to be measured is any one of the at least one object, that is, the object to be measured is an object in three-dimensional space. The satellite remote sensing data includes image data of the object to be measured in the target area, and the image data is used to determine the three-dimensional skeleton model and spatial coordinates of the object to be measured.
[0078] Optionally, the satellite remote sensing data may include DOM data. The DOM data may be used to indicate the size of the object to be measured in a first direction, where the first direction is a direction parallel to the ground of the city. The size of the object to be measured in the first direction may be information such as the length, width, radius, diameter, side length, and area of the object to be measured in the first direction.
[0079] In some embodiments, the computing device may directly obtain the DOM data. Alternatively, the computing device may generate the DOM data based on satellite remote sensing data, which is not limited in the embodiments of the present application.
[0080] Optionally, the satellite remote sensing data may also include DSM data. The DSM data may be used to indicate the size of the object to be measured in a second direction, where the second direction is a direction perpendicular to the ground of the city. The size of the object to be measured in the second direction may be information such as the length, width, radius, diameter, side length, and area of the object to be measured in the second direction.
[0081] Optionally, after the computing device obtains the satellite remote sensing data of the target area, it can execute Figure 3 Step S201 in .
[0082] Figure 3 It is a schematic flowchart of a method for generating a three-dimensional texture model of a city based on composite data provided in an embodiment of the present application. Figure 3 The method comprises the following steps.
[0083] S201, generating a three-dimensional skeleton model of the target area according to satellite remote sensing data.
[0084] The computing device can also determine the spatial coordinates of each object in the target area based on the satellite remote sensing data. For example, the computing device can determine the spatial coordinates of each object in the target area based on the longitude and latitude information contained in the satellite remote sensing data. Alternatively, the computing device can determine the distance between each object in the target area and a preset position based on the satellite remote sensing data, thereby determining the spatial coordinates of each object. The preset position can be used as the origin in the three-dimensional skeleton model of the target area.
[0085] After determining the spatial coordinates of each object in the target area, the computing device can determine a three-dimensional skeleton model of the target area according to the spatial coordinates of each object. The three-dimensional skeleton model of the target area includes three-dimensional skeleton models of each object in the target area.
[0086] The embodiments of the present application do not limit the specific method of expressing the spatial coordinates of an object. For example, it can be expressed by the spatial coordinates of at least two vertices of the object. Alternatively, it can be expressed by the spatial coordinates of the center (or center of gravity) of the object, and the size of the object in the first direction and the second direction. Alternatively, it can be expressed in the form of a function, a matrix, an array, etc. Alternatively, it can be expressed by the spatial coordinates of each point on each surface of the object.
[0087] For example, the 3D skeleton model of the object to be measured determined based on satellite remote sensing data is as follows: Figure 4 shown.
[0088] Figure 4 It is a schematic diagram of a three-dimensional skeleton model of an object to be tested provided in an embodiment of the present application. Figure 4 The object 310 to be measured is a rectangular parallelepiped. Figure 4 In the figure, the plane formed by x=0 and y=0 is the ground of the city. Figure 4As shown, the spatial coordinates of the four vertices of the object 310 to be tested close to the ground are: (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), (x4, y4, z4), and the spatial coordinates of the four vertices of the object 310 to be tested far from the ground are: (x5, y5, z5), (x6, y6, z6), (x7, y7, z7), (x8, y8, z8). The spatial coordinates of the center of the object 310 to be tested are (x9, y9, z9). Figure 4 The origin of is not limited. For example, Figure 4 The origin in can be a preset location in the city.
[0089] Among them, x1=x4=x5=x8 <x2=x3=x6=x7,y1=y2=y5=y6<y3=y4=y7=y8,z1=z2=z3=z4<z5=z6=z7=z8。
[0090] from Figure 4 It can be seen from the figure that the three-dimensional skeleton model of the object to be tested can indicate the size of the object to be tested 310 in the first direction and the size of the object to be tested 310 in the second direction. For example, the length of the object to be tested 310 in the first direction is x2-x1, the width of the object to be tested 310 in the first direction is y3-y2, and the height of the object to be tested 310 in the second direction is z5-z1. Figure 4 It can also be seen that the three-dimensional skeleton model of the object to be measured cannot indicate the surface texture of each surface of the object to be measured 310.
[0091] S220, obtaining video data within a preset range of the spatial coordinates of the object to be measured.
[0092] The video data includes at least one video image containing the object to be measured, and the at least one video image is used to determine the surface texture of the object to be measured.
[0093] Optionally, the computing device may determine at least one imaging device within a preset range of the spatial coordinates of the object to be measured based on the spatial coordinates of the object to be measured. The computing device may also obtain a video and / or image captured by the at least one imaging device, thereby obtaining video data within a preset range of the spatial coordinates of the object to be measured.
[0094] In some embodiments, the computing device may obtain the spatial coordinates of each imaging device in the city, thereby determining at least one imaging device within a preset range of the spatial coordinates of the object to be measured based on the distance between each imaging device and the object to be measured.
[0095] Optionally, the computing device may directly obtain a road surface video database of the city, and determine video data within a preset range of the spatial coordinates of the object to be measured from the road surface video database. The road surface video database includes at least one video and / or image. Each video and / or image in the road surface video database is obtained according to an imaging device in the city.
[0096] In some embodiments, the road surface video data also includes spatial coordinate information. The spatial coordinate information includes the spatial coordinates of the imaging device that obtains the at least one video and / or image. Alternatively, the spatial coordinate information includes the spatial coordinates of the position where each video and / or image is obtained. The computing device can determine the video data within a preset range of the spatial coordinates of the object to be measured based on the spatial coordinate information in the road surface video database.
[0097] In some embodiments, the imaging device in the city includes at least one of the following: a road checkpoint imaging device, a ground handheld imaging device.
[0098] In some embodiments, the preset range can be determined based on the distance between the imaging device around the object to be measured and the object to be measured. Alternatively, the preset range can be determined based on the clarity of the video data obtained by the imaging device around the object to be measured or the size of the object to be measured in the video data. The specific method for determining the preset range and the size of the preset range are not limited in the embodiments of the present application.
[0099] For example, suppose the spatial coordinates of the object to be measured are Figure 4 As shown, the preset range of the spatial coordinates of the object to be measured can be a spherical range with a radius of r1, centered on the spatial coordinates of a vertex (or center) of the object to be measured 310. Alternatively, the preset range of the spatial coordinates of the object to be measured 310 can be a cylindrical range with a radius of r2 in the first direction and a height of h1 in the second direction, centered on the spatial coordinates of a vertex (or center) of the object to be measured 310. The r1, r2, and h1 are numbers greater than 0 and can be the same or different.
[0100] In some embodiments, the video data within the preset range of the spatial coordinates of the object to be measured is the video data within a preset time range. The embodiment of the present application does not limit the preset time range. For example, the minimum value in the preset time range may be a preset time - a, and the maximum value in the preset time range may be a preset time + a. This a is a first preset threshold value, and the embodiment of the present application does not limit the size of the preset time and a. If the value of a is smaller, the lighting condition changes less in the three-dimensional texture model of the city that is finally constructed. If the value of a is larger, the lighting condition changes more in the three-dimensional texture model of the city that is finally constructed.
[0101] Optionally, after obtaining the video data within a preset range of the spatial coordinates of the object to be measured, the computing device may execute Figure 3 Step S202 in .
[0102] S202: Obtain at least one target texture image of the object to be measured from at least one video image.
[0103] Each of the at least one target texture image is determined by a video image. The at least one video image is a video image included in the video data within a preset range of the spatial coordinates of the object to be measured.
[0104] Optionally, each video image in the at least one video image includes an object texture image of at least one object. In other words, each video image is composed of an object texture image of at least one object. The computing device may segment each video image in units of objects, thereby obtaining each object texture image of each object. An object texture image of each object is determined based on a video image.
[0105] For example, suppose a video image such as Figure 5 shown. Figure 5 It is a schematic diagram of a video image provided in an embodiment of the present application. Figure 5 The video image 400 in FIG. 4 includes object texture images of buildings 411, 412, 413, 414, 415, roads 421, 422, and a plurality of trees 430. In other words, the video image 400 is composed of object texture images of buildings 411 to 415, roads 421, 422, and a plurality of trees 430. The computing device segments each object in the video image 400 to obtain an object texture image of each object. For example, after segmenting the video image 400, the object texture images of buildings 411 to 415 are as follows: Figure 6 shown.
[0106] Figure 6 It is a schematic diagram of object texture images of multiple objects provided in an embodiment of the present application. Figure 6 The texture image 511 includes object texture image 512, object texture image 513, object texture image 514 and object texture image 515. Among them, the object texture image 511 is Figure 5 The object texture image 512 is the object texture image of the building 411 in FIG. Figure 5 The object texture image 513 is Figure 5 The object texture image 514 is the object texture image of the building 413 in FIG. Figure 5 The object texture image 515 is the object texture image of the building 414 in FIG. Figure 5The object texture image of the building 415 in FIG.
[0107] The embodiments of the present application do not limit the specific segmentation method. For example, the computing device can segment each object in the video image according to a threshold segmentation method, an edge segmentation method, a region segmentation method, a morphological segmentation method, etc. Alternatively, the computing device can segment each object in the video image according to a computing model such as deep learning or a neural network.
[0108] Optionally, since the imaging device has a tilt angle when shooting, after segmenting each object in the video image obtained by the imaging device, each object texture image of each object obtained is not a front view, such as Figure 6 The three-dimensional texture model generated based on the texture image of the object in the non-front view is severely distorted, so the computing device can adjust the perspective of the texture image of each object to obtain one or more texture images of each object. Each texture image of each object is a front view.
[0109] The embodiments of the present application do not limit the specific viewing angle adjustment method. For example, the computing device can adjust the viewing angle of the object texture image according to image processing methods such as perspective transformation and affine transformation. Alternatively, the computing device can adjust the viewing angle of the object texture image according to computing models such as deep learning and neural networks.
[0110] For example, suppose that Figure 6 The object texture image 511 in the image is adjusted by viewing angle, and the texture image that can be obtained is as follows Figure 7 shown. Figure 7 It is a schematic diagram of a texture image of an object provided in an embodiment of the present application. Figure 7 The texture image 610 and the texture image 620 are Figure 6 The texture image 610 is a front view from the first side of the building 411 as the perspective, and the first side of the building 411 is the side of the building 411 facing the screen. The texture image 620 is a front view from the second side of the building 411 as the perspective, and the second side of the building 411 is the side of the building 411 facing the road 421.
[0111] from Figure 7 It can be seen from the figure that after adjusting the viewing angle of the object texture image of each object, one or more texture images of the object can be obtained. The one or more texture images can be front views at different viewing angles.
[0112] When the object texture image of the object is a front view, there is no need to adjust the viewing angle of the object texture image. The computing device can directly use the object texture image as the texture image of the object.
[0113] Optionally, the computing device may directly obtain at least one texture image of one or more objects from at least one video image. One texture image of each object is determined by one video image.
[0114] In some embodiments, the computing device may input each video image into a first image processing model to obtain at least one texture image of one or more objects. The first image processing model may be a model obtained by deep learning training based on a first training data set. The first training data set may include at least one video image, at least one texture image, and a mapping relationship between at least one video image and at least one texture image.
[0115] In some embodiments, before step S202, the computing device may obtain a trained first image processing model. Alternatively, before step S202, the computing device may obtain a first training data set and train the model according to the first training data set to obtain a trained first image processing model.
[0116] Optionally, the computing device may determine the first feature vector of each texture image according to each texture image of each object. That is, each texture image is used to determine a first feature vector. The first feature vector is used to indicate the feature of the texture image corresponding to the first feature vector.
[0117] The embodiment of the present application does not limit the method for determining the first feature vector of each texture image. For example, the computing device may determine the first feature vector of each texture image through a feature extraction model. The feature extraction model may be a model obtained through deep learning training based on a second training data set. The second training data set may include at least one texture image, at least one first feature vector, and a mapping relationship between at least one texture image and at least one first feature vector.
[0118] In some embodiments, before step S202, the computing device may obtain a trained feature extraction model. Alternatively, before step S202, the computing device may obtain a second training data set and train the model according to the second training data set to obtain a trained feature extraction model.
[0119] Optionally, the computing device may determine a second feature vector of the object to be tested, and the second feature vector is used to indicate the image features of the object to be tested in the three-dimensional skeleton model. That is, the computing device may determine the second feature vector based on the image of the object to be tested in the three-dimensional skeleton model. The specific manner in which the computing device determines the second feature vector is similar to the manner in which the first feature vector is determined, and will not be repeated here.
[0120] Exemplarily, the three-dimensional skeleton model may include at least one grid plane, each grid plane is parallel to the ground in the three-dimensional skeleton model. Each grid plane may include at least one grid. The computing device may determine any one of the at least one grid plane as a target grid plane, and determine any one of the grids in the target grid plane as a target grid. The three-dimensional space corresponding to the target grid is the target grid space, and the target grid space includes at least one object. The object to be measured is any one of the at least one object. The target grid space is a rectangular space with unlimited height in the second direction, and the area of the cross-section of the rectangular space in the first direction is the same as the area of the target grid. The first direction is a direction parallel to the ground, and the second direction is a direction perpendicular to the ground.
[0121] In some embodiments, the computing device may generate a 3D texture model of the object to be tested in the target grid space based on the surface texture and the 3D skeleton model of the object to be tested in the target grid space. That is, the computing device may establish a 3D texture model in each grid space based on the grids in the target grid surface, thereby establishing a 3D texture model of the city based on the 3D texture model in each grid space.
[0122] Exemplarily, the computing device may obtain an image in the target grid space, and segment each object in the image in the target grid, thereby obtaining an image of the object to be tested in the target grid space. The computing device may also obtain a second feature vector based on the image of the object to be tested in the target grid space. The second feature vector may be used to indicate image features of the object to be tested in the target grid space in the three-dimensional skeleton model.
[0123] In some embodiments, a target area may include one or more target grid spaces.
[0124] Optionally, the computing device may determine at least one target texture image of the object to be tested from at least one texture image of one or more objects based on the similarity between the second feature vector of the object to be tested and each first feature vector. That is, the computing device may determine one or more texture images of the object to be tested from at least one texture image based on the similarity between the feature vectors, and use the texture image of the object to be tested as the target texture image.
[0125] When the degree of similarity between the first eigenvector and the second eigenvector is greater than or equal to the second preset threshold, the computing device can determine that the texture image corresponding to the first eigenvector is the target texture image of the object to be measured. When the degree of similarity between the first eigenvector and the second eigenvector is less than the second preset threshold, the computing device can determine that the texture image corresponding to the first eigenvector is not the target texture image of the object to be measured. The second preset threshold can be a specific value, such as 3.5, 5, 60, etc., and the embodiment of the present application does not limit the size of the second preset threshold. Alternatively, the second preset threshold can be a level or type, such as higher, first level, advanced, etc., and the embodiment of the present application does not limit this.
[0126] The embodiment of the present application does not limit the specific method for determining the similarity between the first eigenvector and the second eigenvector. For example, the computing device can determine the similarity between the first eigenvector and the second eigenvector based on the Euclidean distance, Manhattan distance or Chebyshev distance between the first eigenvector and the second eigenvector. Alternatively, the computing device can determine the similarity between the first eigenvector and the second eigenvector based on a similarity calculation model. The similarity calculation model can be a model obtained by deep learning training based on a third training data set. The third training data set may include a plurality of eigenvectors, the similarity between the plurality of eigenvectors, and a mapping relationship between a plurality of eigenvectors and the similarity between the plurality of eigenvectors.
[0127] In some embodiments, before step S202, the computing device may obtain a trained similarity calculation model. Alternatively, before step S202, the computing device may obtain a third training data set and train the model according to the third training data set to obtain a trained similarity calculation model.
[0128] Optionally, before calculating the first eigenvector of each texture image, the computing device may determine that the type of object corresponding to each texture image to be calculated is the same as the type of the object to be measured, so that only the first eigenvector of the texture image of the object of the same type as the object to be measured needs to be calculated, thereby reducing the computing overhead.
[0129] In some embodiments, the type of an object can be used to indicate the characteristics of the object. The characteristics of an object may include at least one of the following: the shape of the object, the size of the object, the name of the object, etc. The size of the object may include the length, width, height, diameter, radius, side length, area, volume, etc. of the object. The embodiment of the present application does not limit the name of the object, and it can be set according to actual conditions. For example, the name of the object may include a building, a tree, a bridge, a road, etc. Alternatively, the name of the object may include a first building, a second building, a first type of tree, a second type of tree, etc.
[0130] In some embodiments, the same type of objects may mean that at least one of the following items of the objects is the same: the shape of the object, the size of the object, and the name of the object.
[0131] Optionally, after obtaining at least one target texture image of the object to be measured, the computing device may also execute Figure 3 Step S203 in .
[0132] S203, determining the spatial coordinates corresponding to each target texture image according to the spatial coordinates of the video image corresponding to each target texture image.
[0133] In some embodiments, the spatial coordinates of the video image corresponding to each target texture image may be the spatial coordinates of the imaging device that captured the video image. The spatial coordinates of the imaging device may be determined based on the position of the imaging device in the three-dimensional skeleton model. Alternatively, the spatial coordinates of the imaging device may be determined based on the latitude and longitude information of the imaging device.
[0134] In some embodiments, the computing device may determine the spatial coordinates corresponding to each target texture image according to the spatial coordinates of the video image corresponding to each target texture image, the resolution of the video image, and the size information of each target texture image in the video image. The spatial coordinates corresponding to each target texture image include the spatial coordinates corresponding to each pixel point in the target texture image in the three-dimensional space. For example, the computing device may determine the mapping relationship between at least two vertices of the target texture image and the surface of the object to be measured in the three-dimensional space. The at least two vertices may include the vertex at the upper left corner and the vertex at the lower right corner of the target texture image. Alternatively, the at least two vertices may include the vertex at the lower left corner and the vertex at the upper right corner of the target texture image. Alternatively, the at least two vertices may include each vertex of the target texture image. Alternatively, the computing device may determine the mapping relationship between each pixel point in the target texture image and the surface of the object to be measured in the three-dimensional space.
[0135] The embodiments of the present application do not limit the specific method for determining the spatial coordinates corresponding to the target texture image. For example, the computing device can obtain the spatial coordinates corresponding to the target texture image by inputting the video image corresponding to the target texture image, the spatial coordinates and resolution of the video image, and the target texture image into the spatial coordinate calculation model. The spatial coordinate calculation model can be a model obtained by machine learning training based on the fourth training data set. The fourth training data set may include a first data set and a mapping relationship between the first data set and the spatial coordinates corresponding to the target texture image. The first data set includes a video image, the spatial coordinates and resolution of the video image, and the target texture image.
[0136] In some embodiments, before step S203, the computing device may obtain a trained spatial coordinate calculation model. Alternatively, before step S203, the computing device may obtain a fourth training data set and train the model according to the fourth training data set to obtain a trained spatial coordinate calculation model.
[0137] The embodiment of the present application does not limit the method for representing the spatial coordinates corresponding to the target texture image. For example, it can be represented in the form of a matrix, an array, a function, etc. One or more elements in a matrix or an array can be used to represent the spatial coordinates corresponding to a pixel point.
[0138] Optionally, after determining the spatial coordinates of each target texture image, the computing device may also execute Figure 3 Step S204 in .
[0139] S204, determining the surface texture of the object to be measured according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image.
[0140] In some embodiments, the computing device may determine the position of each target texture image on the surface of the object to be measured according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image.
[0141] Exemplarily, the computing device may determine the position of each pixel point on the surface of the object to be measured according to the spatial coordinates corresponding to each pixel point in the target texture image, thereby determining the position of the target texture image on the surface of the object to be measured.
[0142] For example, suppose the spatial coordinates of a target texture image are Figure 8 shown. Figure 8 Schematic diagram of the spatial coordinates corresponding to the target texture image provided in the embodiment of the present application. Figure 8 As shown, Figure 8 The spatial coordinates of the four vertices of the target texture image in are (x 10 ,y 10 , z 10 )、(x 11 ,y 11 , z 11 )、(x 12 ,y 12 , z 12 )、(x 13 ,y 13 , z 13 ). Among them, x 10 =x 12 <x 11 =x 13 ,y 10 =y 11 =y12 =y 13 , z 10 =z 11 >z 12 =z 13 . And, the coordinate of each pixel point in the target texture image on the x-axis is at x 10 to x 11 Within the range of , the coordinate of each pixel point in the target texture image on the y-axis is y 10 , the coordinate of each pixel in the target texture image on the z axis is at z 12 To z 10 within the range.
[0143] Assume that the spatial coordinates of the object to be measured are Figure 4 And, assuming x 10 =x5,x 11 =x6,y 10 =y1,z 10 =z5,z 12 =z1, the computing device can determine, based on the spatial coordinates of the object to be measured 310 and the spatial coordinates corresponding to the target texture image 710, that the target texture image 710 is the texture image of the entire surface of the object to be measured 310 facing the screen.
[0144] Assume x 10 =x5,x 11 <x6,y 10 =y1,z 10 =z5,z 12 =z1, the computing device can determine, based on the spatial coordinates of the object to be measured 310 and the spatial coordinates corresponding to the target texture image 710, that the target texture image 710 is the texture image of the partial surface of the object to be measured 310 facing the screen, and can determine the position of the target texture image 710 in the surface of the object to be measured 310 facing the screen.
[0145] In some embodiments, the computing device may fit at least one target texture image to the surface of the object to be measured according to the position of each target texture image on the surface of the object to be measured to synthesize the surface texture of the object to be measured. The surface texture of the object to be measured is used to indicate at least one pixel value corresponding to the surface of the object to be measured.
[0146] Exemplarily, the pixel value may be a pixel value in a color space such as red-green-blue (RGB) or hue-saturation-value (HSV). Alternatively, the pixel value may include an effect value of at least one light effect. The at least one light effect may include an ambient occlusion (AO) effect, a shadow effect, a direct lighting (DI) effect, a reflection effect, a dynamic diffuse global illumination (DDGI) effect, and the like.
[0147] Exemplarily, the computing device attaches the target texture image to the surface of the object to be measured, including: the computing device determines at least one pixel value corresponding to each position of each target texture image on the surface of the object to be measured, wherein each pixel value of the at least one pixel value is determined according to the pixel value of one or more pixel points.
[0148] Exemplarily, before fitting the target texture image to the surface of the object to be measured, the computing device may perform a second image processing on the target texture image so that the number of pixels contained in the target texture image matches the spatial size of the position on the surface of the object to be measured corresponding to the target texture image.
[0149] Exemplarily, the second image processing may include at least one of the following: image cropping processing, image merging processing, image scaling processing, image tone adjustment processing, image noise reduction processing, etc.
[0150] For example, assuming that the target texture image includes 512×512 pixels, the target texture image corresponds to the entire first surface of the object to be measured, and the spatial size of the first surface in the three-dimensional skeleton model is 256×256 pixels. The first surface is any one of the at least one surface of the object to be measured. The target texture image corresponds to the entire first surface of the object to be measured, which means that the position of the surface of the object to be measured corresponding to the target texture image is the entire first surface. The computing device can perform image scaling processing on the target texture image so that the processed target texture image includes 256×256 pixels. The computing device can also determine the mapping relationship between the 256×256 pixels and the first surface, and determine the 256×256 pixel values of the first surface based on the mapping relationship.
[0151] For example, assuming that the second surface of the object to be measured includes a first part and a second part, the spatial size of the first part in the three-dimensional skeleton model is 128×256 pixels, and the spatial size of the second part in the three-dimensional skeleton model is 128×256 pixels. That is, the spatial size of the second surface in the three-dimensional skeleton model is 256×256 pixels. The first target texture image includes 512×512 pixels, and the first target texture image corresponds to the first part of the second surface of the object to be measured. The second target texture image includes 512×512 pixels, and the second target texture image corresponds to the second part of the second surface of the object to be measured. The computing device may first perform image merging processing on the first target texture image and the second target texture image to obtain a merged third target texture image. The third target texture image corresponds to the entire second surface. The computing device may also perform scaling processing on the third target texture image so that the scaled third target texture image includes 256×256 pixels, thereby determining 256×256 pixel values in the second surface.
[0152] Alternatively, the computing device may first scale the first target texture image and the second target texture image respectively, and then merge the scaled first target texture image and the second target texture image to obtain a third target texture image. The third target texture image includes 256×256 pixels. The computing device may also determine the 256×256 pixel values in the second surface according to the pixel value of each pixel in the third target texture image.
[0153] In some embodiments, the computing device can directly determine the mapping relationship between the surface of the object to be tested and the target texture image based on the spatial coordinates of the object to be tested and the spatial coordinates corresponding to each target texture image, thereby determining the surface texture of the object to be tested. For example, the computing device can input the spatial coordinates of the object to be tested, the target texture image, and the spatial coordinates corresponding to the target texture image into a surface texture synthesis model to determine the surface texture of the object to be tested. The surface texture synthesis model may include a model obtained through deep learning training based on the fifth training data set. The fifth training data set may include a second data set and a mapping relationship between the second data set and the surface texture of the object to be tested. The second data set includes the spatial coordinates of the object to be tested, at least one target texture image, and the spatial coordinates corresponding to each target texture image.
[0154] In some embodiments, before step S204, the computing device may obtain a trained surface texture synthesis model. Alternatively, before step S204, the computing device may obtain a fifth training data set and train the model according to the fifth training data set to obtain a trained surface texture synthesis model.
[0155] S230, generating a three-dimensional texture model of the object to be measured according to the surface texture of the object to be measured and the three-dimensional skeleton model.
[0156] The surface texture of the object to be measured can be determined based on video data within a preset range of the spatial coordinates of the object to be measured, and the three-dimensional skeleton model can be determined based on satellite remote sensing data of the target area.
[0157] Optionally, the computing device may color each surface of the object to be measured in the three-dimensional skeleton model according to the surface texture of the object to be measured, thereby generating a three-dimensional texture model of the object to be measured.
[0158] Optionally, after determining the 3D texture model of each object in the target area, the computing device may merge the 3D texture models of each object according to the spatial coordinates of each object to generate the 3D texture model of the target area. The computing device may also merge the 3D texture models of each target area to generate the 3D texture model of the city.
[0159] Optionally, after obtaining the three-dimensional texture model of the city, the latest satellite remote sensing data of the target area and the latest video data within a preset range of the spatial coordinates of the object to be measured can be used to perform Figure 2 The method in is used to update the 3D texture model of the object to be measured, and then update the 3D texture model of the city.
[0160] The computing device can use satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured to obtain a three-dimensional texture model of the target area. Since the cost and difficulty of obtaining satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured are relatively low, and there is no need to collect images through low-altitude drones, the cost and difficulty of building a three-dimensional texture model for the city can be reduced. In addition, the computing device can update the three-dimensional texture model of the city based on the latest satellite remote sensing data and video data within a preset range of the spatial coordinates of the object to be measured, thereby reducing the cost and difficulty of updating the three-dimensional texture model.
[0161] Fig. 9 is a schematic flow chart of a method for generating a three-dimensional texture model of a city based on composite data provided in an embodiment of the present application, Fig. 9 The following steps are included.
[0162] S801, generating a three-dimensional skeleton model according to the satellite remote sensing image. The specific implementation of step S801 is similar to the implementation of step S201, and will not be repeated here.
[0163] S802, whether there is a grid space where a three-dimensional texture model has not been generated.
[0164] The computing device can construct a three-dimensional texture model of each grid space according to the target grid surface in the three-dimensional skeleton model and the grid space corresponding to the grid in the target grid surface as a unit. The computing device can also merge the three-dimensional texture models of each grid space to generate a three-dimensional texture model of the city.
[0165] In some embodiments, the computing device may traverse the grid space corresponding to each grid in the target grid surface. If there is a grid space where a three-dimensional texture model has not been generated, steps S803 to S810 are performed on the grid space to generate a three-dimensional texture model of the grid space. If there is no grid space where a three-dimensional texture model has not been generated, step S811 is performed.
[0166] S803, performing semantic segmentation on the object in the target grid space to determine the spatial coordinates of the object to be measured and the image of the object to be measured in the target grid space.
[0167] The computing device can perform semantic segmentation on the object in the target grid space, thereby determining the image of the object to be measured in the target grid, and can determine the spatial coordinates of the object to be measured. The target grid space is the grid space where the three-dimensional texture model is currently required to be generated. The object to be measured is any object in the target grid space.
[0168] The embodiments of the present application do not limit the specific method of semantic segmentation. For example, the computing device can input the data in the target grid space into the semantic segmentation model to obtain the image of each object in the target grid space. The semantic segmentation model can be a model obtained by deep learning training based on the sixth training data set. The sixth training data set may include the data in the grid space, the image of each object in the grid space, and the mapping relationship between the data in the grid space and the image of each object in the grid space.
[0169] In some embodiments, before step S803, the computing device may obtain a trained semantic segmentation model. Alternatively, before step S803, the computing device may obtain a sixth training data set and train the model according to the sixth training data set to obtain a trained semantic segmentation model.
[0170] Optionally, the computing device may determine the spatial coordinates of the object to be measured according to the latitude and longitude information of the object to be measured. Alternatively, the computing device may determine the spatial coordinates of the object to be measured according to the distance between the object to be measured and a preset position.
[0171] S804, obtaining at least one video image within a preset range of the spatial coordinates of the object to be measured according to the spatial coordinates of the object to be measured. The specific implementation of step S804 is similar to step S220, and will not be repeated here.
[0172] S805: Perform semantic segmentation on each object in at least one video image to obtain at least one object texture image of each object. For details, please refer to the description in step S202.
[0173] S806, adjust the perspective of each object texture image to obtain a texture image, and calculate the first eigenvector and corresponding spatial coordinates of each texture image. The specific implementation method of the computing device obtaining the texture image and the first eigenvector of the texture image can be referred to the description in step S202, which will not be repeated here. The method of the computing device determining the spatial coordinates corresponding to each texture image can be referred to the description in step S203, which will not be repeated here.
[0174] S807: Determine a second feature vector of the object to be detected based on the image of the object to be detected in the target grid space. For details, please refer to the description in step S202.
[0175] S808: Determine at least one target texture image of the object to be detected according to the similarity between the second eigenvector and each first eigenvector. For details, please refer to the description in step S202.
[0176] S809, determining the surface texture of the object to be measured according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image. For details, please refer to the description in step S204.
[0177] S810, generating a 3D texture model of the object to be tested according to the surface texture and the 3D skeleton model of the object to be tested. The implementation of step S810 is similar to step S230, and will not be described in detail here.
[0178] S811, generating a three-dimensional texture model of the city according to the three-dimensional texture model of each object in each grid space.
[0179] When there is no grid space in which a three-dimensional texture model has not been generated, the computing device may merge the three-dimensional texture model of each object in each grid space according to the spatial coordinates of each object in each grid space, thereby generating a three-dimensional texture model of the city.
[0180] The present application embodiment may also provide a cloud service. The cloud service can perform the above Figure 2 , Figure 3 or Fig. 9 The method in generates a three-dimensional texture model of the specified area.
[0181] Optionally, the cloud service may receive a user input requirement. The user input requirement includes identification information of a specified area or location information of a specified area. For example, the identification information of a specified area may include a name or number of a specified area. The location information of a specified area may include longitude and latitude information of a specified area or information such as a center and radius of a specified area.
[0182] In some embodiments, the requirements input by the user may further include image data, and the image data is used to generate a three-dimensional texture model of a specified area.
[0183] Optionally, the cloud service can determine the designated area based on the requirements input by the user. Figure 2 , Figure 3 or Fig. 9 The method in generates a three-dimensional texture model of the specified area.
[0184] Optionally, the cloud service may directly display the 3D texture model of the specified area to the user. Alternatively, the cloud service may provide the user with the 3D texture model data of the specified area, so that the user can save the 3D texture model data of the specified area in the user's local storage device. The 3D texture model data of the specified area is used to display the 3D texture model of the specified area on the display device.
[0185] Fig.10 It is a schematic structural block diagram of a computing device provided in an embodiment of the present application. Fig.10 The computing device 900 in the embodiment may include an acquisition module 910 and a processing module 920. The computing device 900 may implement Figure 2 , Figure 3 or Fig. 9 The method flow is shown.
[0186] The acquisition module 910 can be used to acquire satellite remote sensing data of the target area, and the satellite remote sensing data includes image data of the object to be detected in the target area. The acquisition module 910 can also acquire video data within a preset range of the spatial coordinates of the object to be detected. The acquisition module 910 can execute Figure 2 and Figure 3 Steps S210, S220, Fig. 9 S804 in the method.
[0187] The processing module 920 can be used to generate a three-dimensional texture model of the object to be tested according to the surface texture of the object to be tested and the three-dimensional skeleton model. The processing module 920 can execute Figure 2 and Figure 3 Step S230 of the method, Figure 3 Steps S201, S202, S203, S204, Fig. 9S801-S803, S805-S811 in the method.
[0188] Among them, both the acquisition module 910 and the processing module 920 can be implemented by software or by hardware. Exemplarily, the implementation of the processing module 920 is introduced below by taking the processing module 920 as an example. Similarly, the implementation of the acquisition module 910 can refer to the implementation of the processing module 920.
[0189] As an example of a software functional unit, the processing module 920 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the processing module 920 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple data centers with close geographical locations. Among them, usually a region may include multiple AZs.
[0190] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same VPC or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.
[0191] As an example of a hardware functional unit, the processing module 920 may include at least one computing device, such as a server, etc. Alternatively, the processing module 920 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0192] The multiple computing devices included in the processing module 920 can be distributed in the same region or in different regions. The multiple computing devices included in the processing module 920 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the processing module 920 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.
[0193] Therefore, the modules of each example described in the embodiments of the present application can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0194] It should be noted that: when the device provided in the above embodiment executes the above method, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. For example, the acquisition module 910 can be used to execute any step in the above method, and the processing module 920 can be used to execute any step in the above method. The steps that the acquisition module 910 and the processing module 920 are responsible for implementing can be specified as needed, and all the functions of the above device can be realized by respectively implementing different steps in the above method through the acquisition module 910 and the processing module 920.
[0195] In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments above, which will not be repeated here.
[0196] The method provided in the embodiment of the present application can be performed by a computing device, which can also be referred to as a computer system. It includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a processing unit, a memory and a memory control unit, and then the function and structure of the hardware are described in detail. The operating system is any one or more computer operating systems that implement business processing through a process, for example, a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a windows operating system. The application layer includes applications such as a browser, an address book, a word processing software, and an instant messaging software. In addition, optionally, the computer system is a handheld device such as a smart phone, or a terminal device such as a personal computer, and the present application is not particularly limited, as long as the method provided by the embodiment of the present application can be used. The execution subject of the method provided in the embodiment of the present application can be a computing device, or a functional module in a computing device that can call a program and execute a program.
[0197] Fig.11 1 is a schematic structural block diagram of a computing device 1000 provided in an embodiment of the present application. The computing device 1000 may be a server or a computer or other device with computing capabilities. Fig.11 The computing device 1000 shown includes at least one processor 1010 and a memory 1020 .
[0198] It should be understood that the present application does not limit the number of processors and memories in the computing device 1000.
[0199] The processor 1010 executes the instructions in the memory 1020, so that the computing device 1000 implements the method provided by the present application. Alternatively, the processor 1010 executes the instructions in the memory 1020, so that the computing device 1000 implements the functional modules provided by the present application, thereby implementing the method provided by the present application.
[0200] Optionally, the computing device 1000 further includes a communication interface 1030. The communication interface 1030 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 1000 and other devices or a communication network.
[0201] Optionally, the computing device 1000 further includes a system bus 1040, wherein the processor 1010, the memory 1020 and the communication interface 1030 are respectively connected to the system bus 1040. The processor 1010 can access the memory 1020 through the system bus 1040. For example, the processor 1010 can read and write data or execute code in the memory 1020 through the system bus 1040. The system bus 1040 is a peripheral component interconnect express (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus 1040 is divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0202] In a possible implementation, the function of the processor 1010 is mainly to interpret the instructions (or codes) of the computer program and process the data in the computer software. The instructions of the computer program and the data in the computer software can be stored in the memory 1020 or the cache of the processor 1010.
[0203] Optionally, the processor 1010 may be an integrated circuit chip with signal processing capabilities. As an example and not limitation, the processor 1010 is a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. Among them, the general-purpose processor is a microprocessor, etc. For example, the processor 1010 is a central processing unit (CPU).
[0204] The memory 1020 can provide a running space for the processes in the computing device 1000. For example, the computer program (specifically, the program code) used to generate the process is stored in the memory 1020. After the computer program is executed by the processor to generate the process, the processor allocates a corresponding storage space for the process in the memory 1020. Furthermore, the above storage space further includes a text segment, an initialized data segment, a bit initialized data segment, a stack segment, a heap segment, etc. The memory 1020 stores the data generated during the running of the process in the storage space corresponding to the above process, such as intermediate data, process data, etc.
[0205] Optionally, the storage is also called memory, which is used to temporarily store the calculation data in the processor 1010 and the data exchanged with the external storage such as the hard disk. As long as the computer is running, the processor 1010 will transfer the data to be calculated to the memory for calculation, and transmit the result after the calculation is completed.
[0206] As an example and not limitation, the memory 1020 is a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory is ROM, PROM, EPROM, EEPROM or flash memory. Volatile memory is a random access memory (random access memory, RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memory 1020 of the system and method described herein is intended to include but is not limited to these and any other suitable types of memory.
[0207] The structure of the computing device 1000 listed above is only an example, and the present application is not limited thereto. The computing device 1000 of the embodiment of the present application includes various hardware in the computer system in the prior art. For example, the computing device 1000 also includes other memories besides the memory 1020, such as disk storage, etc. Those skilled in the art should understand that the computing device 1000 may also include other devices necessary for normal operation. At the same time, according to specific needs, those skilled in the art should understand that the above-mentioned computing device 1000 may also include hardware devices for implementing other additional functions. In addition, those skilled in the art should understand that the above-mentioned computing device 1000 may also include only the devices necessary to implement the embodiment of the present application, and does not necessarily include Fig.11 All devices shown in .
[0208] The embodiment of the present application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device may be a server. In some embodiments, the computing device may also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.
[0209] like Fig.12 As shown, the computing device cluster includes at least one computing device 1000. The memory 1020 in one or more computing devices 1000 in the computing device cluster may store the same instructions for executing the above method.
[0210] In some possible implementations, the memory 1020 in one or more computing devices 1000 in the computing device cluster may also store partial instructions for executing the above method. In other words, the combination of one or more computing devices 1000 may jointly execute the instructions of the above method.
[0211] It should be noted that the memory 1020 in different computing devices 1000 in the computing device cluster may store different instructions, which are respectively used to execute part of the functions of the above-mentioned apparatus. That is, the instructions stored in the memory 1020 in different computing devices 1000 may implement the functions of one or more modules in the above-mentioned apparatus.
[0212] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.13 A possible implementation is shown. Fig.13 As shown, two computing devices 1000A and 1000B are connected via a network. Specifically, they are connected to the network via a communication interface in each computing device.
[0213] It should be understood that Fig.13 The functions of the computing device 1000A shown in FIG. 1000A may also be completed by multiple computing devices 1000. Similarly, the functions of the computing device 1000B may also be completed by multiple computing devices 1000.
[0214] In this embodiment, a computer program product including instructions is also provided, and the computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on a computing device, the computing device is caused to execute the method provided above, or the computing device is caused to implement the function of the apparatus provided above.
[0215] In this embodiment, a computer program product including instructions is also provided, and the computer program product may be software or a program product including instructions that can be run on a computing device cluster or stored in any available medium. When the computer program product is run by a computing device cluster, the computing device cluster executes the method provided above, or the computing device cluster implements the function of the apparatus provided above.
[0216] In this embodiment, a computer-readable storage medium is also provided, and the computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state hard disk), etc. The computer-readable storage medium includes instructions, and when the instructions in the computer-readable storage medium are executed on a computing device, the computing device executes the method provided above.
[0217] In this embodiment, a computer-readable storage medium is also provided, and the computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc. The computer-readable storage medium includes instructions, and when the instructions in the computer-readable storage medium are executed by a computing device cluster, the computing device cluster executes the method provided above.
[0218] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0219] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0220] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0221] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0222] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0223] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0224] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0225] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for generating a three-dimensional texture model of a city based on composite data, It is characterized in that The method is used for generating a three-dimensional texture model of a city, wherein the city includes at least one area, wherein a target area is set in the at least one area, and the method includes: Acquire satellite remote sensing data of the target area, wherein the satellite remote sensing data includes image data of the object to be measured in the target area, and the image data is used to determine a three-dimensional skeleton model and spatial coordinates of the object to be measured; Acquire video data within a preset range of the spatial coordinates of the object to be measured, wherein the video data includes at least one video image containing the object to be measured, and the at least one video image is used to determine the surface texture of the object to be measured; A three-dimensional texture model of the object to be measured is generated according to the surface texture of the object to be measured and the three-dimensional skeleton model, and the three-dimensional texture model of the object to be measured is used to generate a three-dimensional texture model of the target area.
2. The method according to claim 1, It is characterized in that The method further comprises: Obtain at least one target texture image of the object to be measured from the at least one video image, each target texture image being determined by a video image; Determining the spatial coordinates corresponding to each target texture image according to the spatial coordinates of the video image corresponding to each target texture image; The surface texture of the object to be measured is determined according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image.
3. The method according to claim 2, It is characterized in that The step of obtaining at least one target texture image of the object to be measured from the at least one video image comprises: Obtain at least one texture image of one or more objects from the at least one video image, wherein a texture image of each object is determined by a video image, and each texture image is used to determine a first feature vector, wherein the first feature vector is used to indicate a feature of the texture image; The at least one target texture image is determined from at least one texture image of the one or more objects according to the similarity between the second eigenvector and each first eigenvector, wherein the second eigenvector is used to indicate the image feature of the object to be measured in the three-dimensional skeleton model.
4. The method according to claim 3, It is characterized in that The type of each object is the same as the type of the object to be tested.
5. The method according to claim 3 or 4, It is characterized in that The step of obtaining at least one texture image of one or more objects from the at least one video image comprises: Segmenting each of the at least one video image in units of objects to obtain at least one object texture image of each object; The viewing angle of each object texture image of each object is adjusted to obtain each texture image of each object, wherein each texture image is a front view.
6. The method according to any one of claims 1 to 5, It is characterized in that The step of generating a three-dimensional texture model of the object to be measured according to the surface texture of the object to be measured and the three-dimensional skeleton model comprises: According to the surface texture and three-dimensional skeleton model of the object to be tested in the target grid space, a three-dimensional texture model of the object to be tested in the target grid space is generated, the target grid space is the three-dimensional space corresponding to the target grid, the grid plane where the target grid is located is parallel to the ground in the three-dimensional skeleton model, and the target grid is any grid in the grid plane.
7. The method according to any one of claims 2 to 6, It is characterized in that The step of determining the surface texture of the object to be measured according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image comprises: Determining the position of each target texture image on the surface of the object to be measured according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image; According to the position of each target texture image on the surface of the object to be measured, the at least one target texture image is attached to the surface of the object to be measured to synthesize the surface texture of the object to be measured.
8. The method according to any one of claims 2 to 7, It is characterized in that The step of determining the spatial coordinates corresponding to each target texture image according to the spatial coordinates of the video image corresponding to each target texture image comprises: The spatial coordinates corresponding to each target texture image are determined according to the spatial coordinates and resolution of the video image corresponding to each target texture image and the size information of each target texture image in the corresponding video image.
9. The method according to any one of claims 1 to 8, It is characterized in that The video data is obtained by at least one of the following imaging devices: a road checkpoint imaging device, a ground handheld imaging device.
10. The method according to any one of claims 1 to 9, It is characterized in that The type of the object to be detected includes at least one of the following: a building, a tree, a bridge, and a road.
11. A computing device, It is characterized in that The computing device is used to generate a three-dimensional texture model of a city, the city includes at least one area, wherein the target area is set in the at least one area, and the computing device includes: An acquisition module, used for acquiring satellite remote sensing data of the target area, wherein the satellite remote sensing data includes image data of the object to be measured in the target area, and the image data is used for determining a three-dimensional skeleton model and spatial coordinates of the object to be measured; The acquisition module is further used to acquire video data within a preset range of the spatial coordinates of the object to be measured, wherein the video data includes at least one video image containing the object to be measured, and the at least one video image is used to determine the surface texture of the object to be measured; A processing module is used to generate a three-dimensional texture model of the object to be measured according to the surface texture of the object to be measured and the three-dimensional skeleton model, and the three-dimensional texture model of the object to be measured is used to generate a three-dimensional texture model of the target area.
12. The device according to claim 11, It is characterized in that The processing module is further used for: Obtain at least one target texture image of the object to be measured from the at least one video image, each target texture image being determined by a video image; Determining the spatial coordinates corresponding to each target texture image according to the spatial coordinates of the video image corresponding to each target texture image; The surface texture of the object to be measured is determined according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image.
13. The device according to claim 12, It is characterized in that The processing module is specifically used for: Obtain at least one texture image of one or more objects from the at least one video image, wherein a texture image of each object is determined by a video image, and each texture image is used to determine a first feature vector, wherein the first feature vector is used to indicate a feature of the texture image; The at least one target texture image is determined from at least one texture image of the one or more objects according to the similarity between the second eigenvector and each first eigenvector, wherein the second eigenvector is used to indicate the image feature of the object to be measured in the three-dimensional skeleton model.
14. The device according to claim 13, It is characterized in that The type of each object is the same as the type of the object to be tested.
15. The device according to claim 13 or 14, It is characterized in that The processing module is specifically used for: Segmenting each of the at least one video image in units of objects to obtain at least one object texture image of each object; The viewing angle of each object texture image of each object is adjusted to obtain each texture image of each object, wherein each texture image is a front view.
16. The device according to any one of claims 11 to 15, It is characterized in that The processing module is specifically used for: According to the surface texture and three-dimensional skeleton model of the object to be tested in the target grid space, a three-dimensional texture model of the object to be tested in the target grid space is generated, the target grid space is the three-dimensional space corresponding to the target grid, the grid plane where the target grid is located is parallel to the ground in the three-dimensional skeleton model, and the target grid is any grid in the grid plane.
17. The device according to any one of claims 12 to 16, It is characterized in that The processing module is specifically used for: Determining the position of each target texture image on the surface of the object to be measured according to the spatial coordinates of the object to be measured and the spatial coordinates corresponding to each target texture image; According to the position of each target texture image on the surface of the object to be measured, the at least one target texture image is attached to the surface of the object to be measured to synthesize the surface texture of the object to be measured.
18. The device according to any one of claims 12 to 17, It is characterized in that The processing module is further used for: The spatial coordinates corresponding to each target texture image are determined according to the spatial coordinates and resolution of the video image corresponding to each target texture image and the size information of each target texture image in the corresponding video image.
19. The device according to any one of claims 11 to 18, It is characterized in that The video data is obtained by at least one of the following imaging devices: a road checkpoint imaging device, a ground handheld imaging device.
20. The device according to any one of claims 11 to 19, It is characterized in that The type of the object to be detected includes at least one of the following: a building, a tree, a bridge, and a road.
21. A computing device cluster, It is characterized in that comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 10.
22. A computer program product comprising instructions, It is characterized in that When the instructions are executed by a computing device cluster, the computing device cluster is caused to perform the method according to any one of claims 1 to 10.
23. A computer-readable storage medium, It is characterized in that The method comprises computer program instructions, and when the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method according to any one of claims 1 to 10.
Citation Information
Cited By
Method and device for generating three-dimensional urban texture model on basis of composite data
EP4675566A1
Method and device for generating three-dimensional urban texture model on basis of composite data
WO2024188110A1
