Processing method, device and equipment for viaduct in three-dimensional map
Patent Information
- Application Number
- CN202211490940.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-25
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2042-11-25
AI Technical Summary
[0016]根据本公开的方案,在车辆的行驶过程中,获取位于车辆的前方视野范围之内的高架桥位置点的第一距离;其中,高架桥位置点的第一距离为高架桥位置点与车辆之间的距离,高架桥位置点为高架桥上的位置点;高架桥位置点的第一距离小于第一预设距离;根据高架桥位置点的第一距离,确定高架桥位置点的透明度信息;根据高架桥位置点的透明度信息,在三维地图中调节高架桥位置点的透明度。针对进入到车辆的前方视野范围之内的、且与车辆的距离小于第一预设距离的高架桥位置点,才需要在三维地图中调整该高架桥位置点的透明度;减少了数据处理量。并且,可以根据每一高架桥位置点的第一距离,在三维地图中调节每一高架桥位置点的透明度。从而针对不同高架桥位置点(进入到车辆的前方视野范围之内的、且与车辆的距离小于第一预设距离的高架桥位置点),提供不同的透明度,便于观看三维地图的用户确定出哪些是与车辆近的高架桥位置点、哪些是与车辆远的高架桥位置点。并且,提高了三维地图中高架桥的渲染效果和显示视觉效果,在视觉上不会生硬。
Smart Images

Figure CN115965730B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to map technology, data technology, and rendering technology in computer technology, and in particular to a method, apparatus, and device for processing viaducts in three-dimensional maps. Background Technology
[0002] While the vehicle is in motion, a 3D map can be displayed, which has a sense of depth and realism. The vehicle will pass over an overpass; as the view moves forward, without any processing, the vehicle will be obscured by the overpass in the 3D map, and the overpass will be positioned horizontally in the center of the 3D map, giving the user in the vehicle the illusion of crashing into a bridge.
[0003] Therefore, there is an urgent need for a way to adjust the viaducts shown in the 3D map. Summary of the Invention
[0004] This disclosure provides a method, apparatus, and device for processing viaducts in a 3D map to adjust the viaduct in the map.
[0005] According to a first aspect of this disclosure, a method for processing viaducts in a 3D map is provided, comprising:
[0006] During the vehicle's operation, a first distance is obtained from the location of the elevated bridge within the vehicle's forward field of vision; wherein, the first distance of the elevated bridge location is the distance between the elevated bridge location and the vehicle, and the elevated bridge location is a location on the elevated bridge; the first distance of the elevated bridge location is less than a first preset distance;
[0007] The transparency information of the elevated bridge location point is determined based on the first distance of the elevated bridge location point;
[0008] The transparency of the elevated bridge location points is adjusted in the 3D map based on the transparency information of the elevated bridge location points.
[0009] According to a second aspect of this disclosure, a processing apparatus for an elevated bridge in a three-dimensional map is provided, comprising:
[0010] The first acquisition unit is used to acquire a first distance of an elevated bridge location point located within the forward field of vision of the vehicle during the vehicle's operation; wherein, the first distance of the elevated bridge location point is the distance between the elevated bridge location point and the vehicle, and the elevated bridge location point is a location point on the elevated bridge; the first distance of the elevated bridge location point is less than a first preset distance;
[0011] The first determining unit is used to determine the transparency information of the elevated bridge location point based on the first distance of the elevated bridge location point;
[0012] The first adjustment unit is used to adjust the transparency of the elevated bridge location point in the three-dimensional map according to the transparency information of the elevated bridge location point.
[0013] According to a third aspect of this disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method described above.
[0014] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause the computer to perform the above-described method.
[0015] According to a fifth aspect of this disclosure, a computer program product is provided, the computer program product comprising: a computer program stored in a readable storage medium, wherein at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to perform the method described in the first aspect.
[0016] According to the scheme disclosed herein, during vehicle operation, a first distance is obtained from the location of an elevated bridge within the vehicle's forward field of vision. This first distance is the distance between the elevated bridge location and the vehicle, and the elevated bridge location is a point on the elevated bridge. The first distance is less than a first preset distance. Based on this first distance, the transparency information of the elevated bridge location is determined. Based on this transparency information, the transparency of the elevated bridge location is adjusted in a 3D map. Only elevated bridge locations that enter the vehicle's forward field of vision and are less than the first preset distance from the vehicle require adjustment of their transparency in the 3D map, reducing data processing overhead. Furthermore, the transparency of each elevated bridge location can be adjusted in the 3D map based on its first distance. This allows for different transparency levels for different elevated road locations (elevated road locations within the vehicle's forward field of view and less than a first preset distance from the vehicle), making it easier for users viewing the 3D map to identify which elevated road locations are close to the vehicle and which are far away. Furthermore, it improves the rendering and visual appeal of elevated roads in the 3D map, making them appear less jarring.
[0017] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0018] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0019] Figure 1 This is a schematic diagram based on the first embodiment of the present disclosure;
[0020] Figure 2 The meaning of the display of the viaduct in the publicly provided 3D map. Figure 1 ;
[0021] Figure 3 This is a schematic diagram of obtaining the first position provided in this disclosure;
[0022] Figure 4 This is a schematic diagram according to the second embodiment of the present disclosure;
[0023] Figure 5 This is a schematic diagram of obtaining the second distance provided in this disclosure;
[0024] Figure 6 This is a schematic diagram of obtaining the first distance provided in this disclosure;
[0025] Figure 7 This is a schematic diagram of the transparency of the elevated bridge location points in the publicly provided 3D map. Figure 1 ;
[0026] Figure 8 This is a schematic diagram of the transparency of the elevated bridge location points in the publicly provided 3D map. Figure 2 ;
[0027] Figure 9 This is a schematic diagram of the transparency of the elevated bridge location points in the publicly provided 3D map. Figure 3 ;
[0028] Figure 10 This is a schematic diagram according to the third embodiment of the present disclosure;
[0029] Figure 11 This is a schematic diagram according to the fourth embodiment of the present disclosure;
[0030] Figure 12 This is a schematic diagram according to the fifth embodiment of the present disclosure;
[0031] Figure 13 A schematic block diagram of an example electronic device 1300 that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation
[0032] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0033] During vehicle operation, 3D maps can be displayed, offering a sense of depth and realism. For example, in the cockpit, a 3D map needs to be displayed to the user, allowing them to view road and obstacle information and providing a sense of depth, realism, and immersion.
[0034] Vehicles will pass over viaducts; as the view moves forward, without any processing in the 3D map, the vehicles will be obscured by the viaducts, and the viaducts will be positioned across the center of the 3D map, giving users in the vehicles the illusion of crashing into a bridge.
[0035] Therefore, adjustments can be made to the elevated bridges in the 3D map. When a vehicle approaches the elevated bridge, the elevated bridge in the 3D map can be set to transparent; thus, the elevated bridge in the 3D map will not obscure the current vehicle.
[0036] However, in the above method, the overpass is instantly made transparent in the 3D map when the vehicle approaches it. This adjustment method is visually abrupt and has a poor display effect in the 3D map. Furthermore, the above method instantly makes the entire overpass transparent, even though the entire overpass is not currently within the vehicle's field of vision, so it is unnecessary to make the entire overpass transparent.
[0037] This disclosure provides a method, apparatus, and device for processing viaducts in 3D maps, applied to map technology, data technology, and rendering technology in computer technology, to adjust the transparency of viaducts in 3D maps and to perform smooth transition processing on the transparency of viaducts.
[0038] To help readers gain a deeper understanding of the implementation principles of this disclosure, the following will be discussed in conjunction with... Figures 2-9 right Figure 1 The illustrated embodiments are further refined.
[0039] Figure 1 This is a schematic diagram based on the first embodiment of the present disclosure, as shown below. Figure 1 As shown in this embodiment, the method for processing viaducts in a 3D map includes:
[0040] S101. During the driving of the vehicle, obtain the first distance of the elevated bridge location point located within the forward field of vision of the vehicle; wherein, the first distance of the elevated bridge location point is the distance between the elevated bridge location point and the vehicle, and the elevated bridge location point is a location point on the elevated bridge; the first distance of the elevated bridge location point is less than a first preset distance.
[0041] For example, the executing entity of this embodiment may be an in-vehicle terminal, or a control device on the vehicle, or a remote device that communicates with the controller in the vehicle, or other device or equipment that can execute this embodiment, and there are no limitations on this.
[0042] As the vehicle travels, an overpass will appear in front of it. When the vehicle approaches the overpass, the entire overpass in the 3D map will be instantly made transparent. Figure 2 The meaning of the display of the viaduct in the publicly provided 3D map. Figure 1 ,like Figure 2 As shown, the entire viaduct 201 is instantly made transparent. However, this method is visually abrupt and has a poor display effect in a 3D map; since the entire viaduct is not within the current vehicle's field of vision, it is unnecessary to make the entire viaduct transparent.
[0043] Therefore, during vehicle operation, the viaduct will enter the vehicle's forward field of vision; it should be noted that the entire viaduct does not need to enter the vehicle's forward field of vision.
[0044] The elevated highway has multiple location points, which are densely distributed structural points on the highway. The distance between each elevated highway location point within the vehicle's forward field of vision and the vehicle can be obtained using methods such as radar, resulting in a first distance for each location point. Each location point is a point on the elevated highway. When the elevated highway is not visible within the vehicle's forward field of vision, it is not necessary to obtain the first distance of the elevated highway location points; furthermore, for portions of the elevated highway that are not within the vehicle's forward field of vision, the first distance does not need to be obtained.
[0045] Furthermore, in this embodiment, it is only necessary to obtain the first distance and adjust the transparency for elevated bridge locations where the first distance is less than the first preset distance.
[0046] Specifically, for each elevated bridge location point, the first distance is the straight-line distance between the elevated bridge location point and the center point of the vehicle. Alternatively, for each elevated bridge location point, the first distance is the straight-line distance between the projection point of the elevated bridge location point on a preset plane and the center point of the vehicle, where the preset plane is the plane on which the vehicle is located.
[0047] In one example, Figure 3 This is a schematic diagram of obtaining the first position provided in this disclosure, such as... Figure 3 As shown, during the driving of vehicle 301, a portion 3021 of the viaduct 302 enters the forward field of view 303 of vehicle 301. Based on the collision detection circle theory, a three-dimensional collision sphere (i.e., a sphere in the world coordinate system) can be drawn with the center point of the vehicle as the center and a first preset distance as the radius. The viaduct has multiple viaduct location points 3022, which are closely connected. For each viaduct location point 3022 entering the collision sphere, a first distance 304 between the viaduct location point 3022 and vehicle 301 can be determined to be less than a first preset distance; wherein, the first distance of each viaduct location point 3022 is the straight-line distance between each viaduct location point 3022 and vehicle 301. Then, for each viaduct location point 3022 entering the collision sphere, a first distance 305 between each viaduct location point 3022 and vehicle 301 is obtained.
[0048] Although parts of the elevated bridge are within the vehicle's forward field of vision, it's not necessary to adjust the transparency of all elevated bridge locations within the forward field of vision. Only locations where the initial distance between the elevated bridge location and the vehicle is less than a certain threshold require transparency adjustment. This is because when the initial distance between the elevated bridge location and the vehicle is greater than a first preset distance, the distance between the elevated bridge location and the vehicle is still relatively far, and there is no need to visually adjust the transparency of that elevated bridge location in the 3D map.
[0049] S102. Determine the transparency information of the elevated bridge location point based on the first distance of the elevated bridge location point.
[0050] For example, for each elevated bridge location, the transparency information of the elevated bridge location is determined based on a first distance from the location. For instance, the transparency information corresponding to the first distance from the elevated bridge location is determined based on a preset relationship between the first distance and transparency information.
[0051] In one example, there is a positive correlation between the first distance and the transparency value represented by the transparency information. Thus, the closer the viaduct location is to the vehicle, the greater the transparency value, and the more transparent the viaduct location is to the vehicle.
[0052] S103. Adjust the transparency of the elevated bridge location points in the 3D map based on the transparency information of the elevated bridge location points.
[0053] For example, the transparency information of each of the above-mentioned viaduct locations was obtained, and then the transparency information of each of the above-mentioned viaduct locations was adjusted in the 3D map.
[0054] Therefore, different levels of transparency are provided for different elevated bridge locations (elevated bridge locations that are within the vehicle's forward field of vision and are less than a first preset distance from the vehicle). For example, the closer an elevated bridge location is to the vehicle, the higher its transparency value, thus making the elevated bridge location closer to the vehicle more transparent.
[0055] In this embodiment, during vehicle operation, a first distance is obtained from the location of an elevated bridge within the vehicle's forward field of vision. This first distance is the distance between the elevated bridge location and the vehicle, and the elevated bridge location is a point on the elevated bridge. The first distance is less than a first preset distance. Based on this first distance, the transparency information of the elevated bridge location is determined. Based on this transparency information, the transparency of the elevated bridge location is adjusted in the 3D map. Only elevated bridge locations that enter the vehicle's forward field of vision and are less than the first preset distance from the vehicle require adjustment of their transparency in the 3D map, reducing data processing overhead. Furthermore, the transparency of each elevated bridge location can be adjusted in the 3D map based on its first distance. This allows for different transparency levels for different elevated road locations (elevated road locations within the vehicle's forward field of view and less than a first preset distance from the vehicle), making it easier for users viewing the 3D map to identify which elevated road locations are close to the vehicle and which are far away. Furthermore, it improves the rendering and visual appeal of elevated roads in the 3D map, making them appear less jarring.
[0056] Figure 4 This is a schematic diagram based on the second embodiment of the present disclosure, as shown below. Figure 4 As shown in this embodiment, the method for processing viaducts in a 3D map includes:
[0057] S401. During the vehicle's operation, obtain the second distance between the overpass and the vehicle; wherein, the second distance is the distance between the center point of the part of the overpass that enters the forward field of vision of the vehicle and the vehicle.
[0058] For example, the executing entity of this embodiment may be an in-vehicle terminal, or a control device on the vehicle, or a remote device that communicates with the controller in the vehicle, or other device or equipment that can execute this embodiment, and there are no limitations on this.
[0059] While driving, an overpass may appear in front of the vehicle and enter the vehicle's forward field of vision; it should be noted that the entire overpass does not need to enter the vehicle's forward field of vision.
[0060] When a section of an elevated bridge appears in front of the vehicle, this section enters the vehicle's forward field of vision. Since the section of the elevated bridge has a center point, the straight-line distance between this center point and the vehicle's center point can be obtained, thus yielding a second distance.
[0061] S402. If the second distance is less than or equal to the first preset distance, then obtain the first distance of the elevated bridge location point within the forward field of vision of the vehicle; wherein, the first distance of the elevated bridge location point is the distance between the elevated bridge location point and the vehicle, and the elevated bridge location point is the location point on the elevated bridge; the first distance of the elevated bridge location point is less than the first preset distance.
[0062] In one example, it is also necessary to: obtain a first preset distance. Obtaining the first preset distance includes: retrieving the first preset distance from a preset database; or, obtaining weather information corresponding to the vehicle and determining the first preset distance based on the weather information; or, obtaining a second distance between the overpass and the vehicle, wherein the second distance is the distance between the center point of the portion of the overpass that enters the vehicle's forward field of vision and the vehicle, and adjusting the first preset distance based on the second distance.
[0063] For example, a first preset distance is set in advance. If it is determined that the second distance is less than or equal to the first preset distance, the transparency of the viaduct in the 3D map is adjusted.
[0064] The distance between each elevated bridge location point within the vehicle's forward field of vision and the vehicle can be obtained using methods such as radar. This yields the first distance for each elevated bridge location point, where each location point is a point on the elevated bridge. If no elevated bridge appears within the vehicle's forward field of vision, it is not necessary to obtain the first distance for any elevated bridge location points; furthermore, for portions of the elevated bridge that are not within the vehicle's forward field of vision, the first distance is not required.
[0065] Furthermore, in this embodiment, the first distance is only required for elevated bridge locations where the first distance is less than the first preset distance, and only then is the transparency adjusted. Specifically, for each elevated bridge location, the first distance is the straight-line distance between the elevated bridge location and the center point of the vehicle.
[0066] In one example, Figure 5 This is a schematic diagram of obtaining the second distance provided in this disclosure, such as... Figure 5As shown, based on the collision detection circle theory, a collision sphere can be drawn with the vehicle's center point as the center and a first preset distance as the radius (i.e., this collision sphere is a sphere located in the world coordinate system). Figure 5 As shown in Figure (a), during the driving of vehicle 501, a portion 502 of the elevated bridge enters the forward field of vision of vehicle 501; a second distance 503a between the portion 502 of the elevated bridge and vehicle 501 is obtained. If it is determined that the second distance 503 is greater than the first preset distance, then no elevated bridge location point enters the collision sphere, and the second distance 503 is obtained again. As vehicle 501 approaches the elevated bridge, as... Figure 5 As shown in Figure (b), the second distance 503b between the part of the overpass 502 and the vehicle 501 is obtained again. If it is determined that the second distance 503b is less than or equal to the first preset distance, the overpass location point begins to enter the collision ball. Then, the first distance of the overpass location point that enters the forward field of vision of the vehicle and is less than the first preset distance from the vehicle is obtained.
[0067] The system only begins acquiring the first distance of the elevated bridge location point that enters the vehicle's forward field of vision and is within the first preset distance when the second distance between the elevated bridge and the vehicle is determined to be less than the first preset distance. Furthermore, adjustment is not initiated simply when a portion of the elevated bridge enters the vehicle's forward field of vision, as this does not provide visual cues regarding the bridge's distance to the user. Instead, the system adjusts the transparency of the elevated bridge in the 3D map based on its distance from the vehicle, even when a portion of it enters the vehicle's forward field of vision. This reduces the amount of data processing required.
[0068] Specifically, the first preset distance can be a fixed value, or it can be adjusted in real time.
[0069] In one example, a first preset distance is stored in a preset database. This first preset distance meets one or more of the following conditions: it corresponds to the vehicle type, it corresponds to the vehicle's driving scenario, and it corresponds to the vehicle's testing requirements. Therefore, the first preset distance can be obtained from the preset database. After obtaining the first preset distance, its value can remain unchanged during the execution of this solution. Furthermore, as the vehicle travels, the value of the first preset distance remains constant, resulting in an increasing number of elevated bridge locations having a first distance smaller than the first preset distance.
[0070] For example, for a vehicle of type 'a', a first preset distance corresponding to vehicle type 'a' is retrieved from a preset database. Then, during the execution of this scheme, the value of the first preset distance can remain unchanged. Furthermore, as the vehicle travels, the value of the first preset distance remains constant, resulting in an increasing number of elevated bridge locations having a first distance less than the first preset distance.
[0071] For example, if the vehicle is traveling on urban roads, a first preset distance corresponding to urban roads is set. If the vehicle is traveling on highways, a first preset distance corresponding to highways is set.
[0072] For example, based on the current test requirements, a first preset distance corresponding to the current test requirements is obtained. For instance, if the test requirements stipulate that the solution needs to be initiated when the vehicle is far from the overpass, then the first preset distance is larger; if the solution needs to be initiated only when the vehicle is close to the overpass, then the first preset distance is smaller.
[0073] In another example, the first preset distance corresponds to weather information. Weather information about the vehicle's current environment is obtained; this includes rainfall, snowfall, temperature, humidity, etc. A correspondence is established between the weather information and the first preset distance, thus determining the first preset distance based on the weather information of the vehicle's current environment. After obtaining the first preset distance, its value can remain unchanged during the execution of this solution. Furthermore, as the vehicle travels, the value of the first preset distance remains constant, resulting in an increasing number of elevated bridge locations having a first distance less than the first preset distance.
[0074] In another example, when steps S401-S409 are executed for the first time, a first preset distance is set. For the same overpass, after executing steps S401-S409 of this embodiment once or multiple times, the first preset distance needs to be adjusted. When adjusting the first preset distance, a second distance can be obtained in real time; the second distance is the distance between the center point of the part of the overpass within the vehicle's forward field of vision and the vehicle. Then, since the second distance and the first preset distance are negatively correlated, and a correspondence between the second distance and the first preset distance is pre-set, the first preset distance corresponding to the second distance can be determined based on this correspondence; thus, the first preset distance is adjusted according to the second distance. Specifically, since the second distance and the first preset distance are negatively correlated, the closer the distance between the vehicle and the overpass, the larger the value of the first preset distance. For each elevated bridge location, the transparency of that location needs to be adjusted only when the first distance between the location and the vehicle is less than a first preset distance. Therefore, as the vehicle gets closer to the elevated bridge, the value of the first preset distance needs to be increased to include the elevated bridge location in the collision sphere (a sphere with the vehicle's center point as its center and the first preset distance as its radius) more quickly, thus allowing for faster adjustment of the elevated bridge location's transparency.
[0075] Therefore, as the vehicle travels, the value of the first preset distance remains unchanged, and consequently, the first distance of more and more elevated bridge locations will be less than the first preset distance. The transparency of the elevated bridge in the 3D map can be adjusted, allowing users to more clearly see the changes in the distance between the elevated bridge and the vehicle, thus improving the rendering power and visual effect of the 3D map.
[0076] Alternatively, the closer the vehicle is to the overpass, the larger the value of the first preset distance needs to be to include the overpass location point in the collision sphere (the collision sphere is a sphere with the center of the vehicle as the center and the first preset distance as the radius) more quickly, so as to adjust the transparency of the overpass location point more quickly.
[0077] S403. Obtain preset adjustment parameters, wherein the preset adjustment parameters are used to determine the transparency information of the viaduct location point.
[0078] In one example, step S403 includes the following implementation methods:
[0079] The first implementation method involves determining a preset adjustment parameter based on the first distance from the location of the viaduct; wherein the first distance from the location of the viaduct is positively correlated with the preset adjustment parameter.
[0080] The second method involves obtaining the vehicle's current speed information and determining preset adjustment parameters based on that information.
[0081] For example, after step S402, it is necessary to calculate the transparency information of the elevated bridge location point (the elevated bridge location point that enters the forward field of vision of the vehicle and is less than the first preset distance from the vehicle).
[0082] In this embodiment, for each viaduct location, the transparency information of the viaduct location needs to be determined based on the first distance, the first preset distance, and preset adjustment parameters. Therefore, the preset adjustment parameters need to be obtained first.
[0083] In one example, the preset adjustment parameters are obtained from a preset database. After obtaining the preset adjustment parameters, the values of the preset adjustment parameters can remain unchanged during the execution of this solution; and, as the vehicle moves (the vehicle continuously approaches the overpass), the values of the preset adjustment parameters remain unchanged.
[0084] For example, if the vehicle is driving on a highway, the preset adjustment parameters corresponding to the highway scenario are retrieved from the preset database. If the vehicle is driving on a national highway, the preset adjustment parameters corresponding to the national highway scenario are retrieved from the preset database. If the vehicle is driving on an urban road, the preset adjustment parameters corresponding to the urban road scenario are retrieved from the preset database.
[0085] In another example, the preset adjustment parameters correspond to the vehicle's test requirements. If the vehicle's test requirements indicate a need for drastic changes in the viaduct's transparency, the preset adjustment parameter value is larger; if the vehicle's test requirements indicate a need for gradual changes in the viaduct's transparency, the preset adjustment parameter value is smaller. During the execution of this scheme, the preset adjustment parameter value can remain unchanged. Furthermore, as the vehicle moves (approaching the viaduct), the preset adjustment parameter value remains unchanged.
[0086] In another example, for each viaduct location, after obtaining the first distance to that location, a preset adjustment parameter is determined based on the correspondence between the first distance and a preset adjustment parameter. The first distance to the viaduct location and the preset adjustment parameter are positively correlated; that is, the larger the first distance, the larger the preset adjustment parameter. During the execution of this scheme, the value of the preset adjustment parameter is correlated with the first distance to each viaduct location. Therefore, the transparency of each viaduct location is adjusted in real time.
[0087] For example, if the first distance of elevated bridge location point a is 5 meters, then the preset adjustment parameter corresponding to elevated bridge location point a is 0.5. If the first distance of elevated bridge location point a is 2.5 meters, then the preset adjustment parameter corresponding to elevated bridge location point a is 0.25.
[0088] In another example, the vehicle's current speed information is obtained; based on the correspondence between the speed information and preset adjustment parameters, the preset adjustment parameters corresponding to the current speed information are determined. It can be seen that the preset adjustment parameters are related to the vehicle's current speed information. For example, there is a positive correlation between the current speed information and the preset adjustment parameters; therefore, based on the correspondence between the speed information and the preset adjustment parameters, the preset adjustment parameters corresponding to the current speed information can be determined. Furthermore, as the vehicle speed increases, the transparency of the viaduct location point changes more rapidly, resulting in a higher transparency value and greater transparency of the viaduct location point.
[0089] When the preset adjustment parameters are related to the vehicle's current speed information, for the same overpass, after obtaining the preset adjustment parameters once, the value of the preset adjustment parameters can remain unchanged during the execution of this solution and as the vehicle moves (as it approaches the overpass). Alternatively, for the same overpass, after executing steps S401-S409 of this solution once or multiple times, the vehicle's current speed information can be obtained again to determine the preset adjustment parameters corresponding to that current speed information; thereby, the value of the preset adjustment parameters can be changed.
[0090] Based on vehicle speed information, preset adjustment parameters are determined; the transparency of the viaduct location can be adjusted according to the vehicle's speed, so that the changes in the viaduct's transparency are more in line with human vision and do not produce large jumps in transparency.
[0091] S404. Determine the transparency information of the elevated bridge location point based on the first distance, the first preset distance, and the preset adjustment parameters.
[0092] In one example, there is a positive correlation between the first distance of the viaduct location and the transparency value represented by the transparency information of the viaduct location.
[0093] In one example, the transparency information for the viaduct location is alpha = (d / r). n Where d is the first distance from the elevated bridge location, r is the first preset distance, and n is the preset adjustment parameter. Alternatively, the transparency information of the elevated bridge location is alpha = sin((d / r)). n ); where d is the first distance from the location of the viaduct, r is the first preset distance, and n is the preset adjustment parameter.
[0094] For example, for each elevated bridge location, the transparency information of each elevated bridge location is calculated based on the first distance, the first preset distance, and the preset adjustment parameters of each elevated bridge location.
[0095] The preset adjustment parameters can be the same for each location on the viaduct.
[0096] Alternatively, the preset adjustment parameter value is related to the first distance of each viaduct location point, and the preset adjustment parameter value is different for different viaduct location points. In this case, it is necessary to calculate the transparency information of each viaduct location point based on the first distance of each viaduct location point, the preset adjustment parameter of each viaduct location point, and the first preset distance.
[0097] In one example, there is a positive correlation between the first distance and the transparency value represented by the transparency information. Therefore, the closer a point on the viaduct is to a vehicle, the higher its transparency value; the closer a point is to a vehicle, the more transparent it is. This means that when displaying a 3D map, points on the viaduct that are closer to a vehicle are less likely to cause visual obstruction. Furthermore, for the same viaduct location, the transparency can be adjusted as the distance between the vehicle and the viaduct increases; thus, the transparency of the viaduct can be adjusted in real time as the distance between the vehicle and the viaduct changes.
[0098] In step S404, based on the first distance, the first preset distance, and preset adjustment parameters of each elevated bridge location, the transparency information of each elevated bridge location is determined. This allows for different transparency information to be assigned to different elevated bridge locations, thus enabling a smooth transition of transparency from the edge to the center of the elevated bridge.
[0099] Figure 6 This is a schematic diagram of obtaining the first distance provided in this disclosure, such as... Figure 6 As shown, based on the collision detection circle theory, a collision sphere can be drawn with the vehicle's center point as the center and a first preset distance as the radius (i.e., this collision sphere is a sphere located in the world coordinate system). During the movement of vehicle 601, a portion 602 of the elevated bridge enters the forward field of view of vehicle 601. As the vehicle moves, more and more elevated bridge locations enter the collision sphere. The first distance 6031 of elevated bridge location point 6021, the first distance 6032 of elevated bridge location point 6022, and so on, can be obtained.
[0100] When calculating the transparency information of the elevated bridge location points, for each elevated bridge location point, based on the first distance d, the first preset distance r, and the preset adjustment parameter n, the transparency information of the elevated bridge location point is determined as alpha = (d / r).n .
[0101] Alternatively, for each elevated bridge location, based on the first distance d, the first preset distance r, and the preset adjustment parameter n, the transparency information of the elevated bridge location is determined as alpha = sin((d / r)). n ).
[0102] This ensures a positive correlation between the initial distance and the transparency value represented by the transparency information. Consequently, the closer a point on the viaduct is to a vehicle, the higher its transparency value; thus, when displaying a 3D map, points on the viaduct closer to a vehicle are less likely to cause visual obstruction. Furthermore, for the same viaduct location, the transparency can be adjusted to increase as the distance between the vehicle and the viaduct increases, resulting in greater transparency. This allows for real-time adjustment of the viaduct's transparency based on changes in the distance between the vehicle and the viaduct.
[0103] Furthermore, there is a negative correlation between the first preset distance and the transparency value represented by the transparency information. Therefore, when adjusting the first preset distance based on the second distance between the viaduct and the vehicle, the value of the first preset distance can be smaller as the distance between the vehicle and the viaduct becomes closer. At this time, for the same location point on the viaduct, the transparency of that location point can be adjusted in real time as the distance between the vehicle and the viaduct becomes closer.
[0104] Each of the above-mentioned elevated bridge locations is a location on the elevated bridge obtained based on the collision detection circle theory.
[0105] Alternatively, each of the aforementioned elevated bridge locations could be the center point along a predetermined length of the elevated bridge; however, this method of selecting points at intervals requires consideration of the shape of the elevated bridge. In this case, the transparency information of each elevated bridge location can be determined based on the first distance, the first predetermined distance, the predetermined adjustment parameters, and the shape of the elevated bridge.
[0106] For example, for each elevated bridge location, based on the first distance d, the first preset distance r, the preset adjustment parameter n, and the shape parameter y of the elevated bridge, the transparency information of the elevated bridge location is determined as alpha = (d / r). n *y.
[0107] S405. If the transparency value represented by the transparency information of the viaduct location point belongs to the preset value range, then adjust the transparency of the viaduct location point in the 3D map according to the transparency information of the viaduct location point.
[0108] For example, for each viaduct location, the value of the transparency information of the viaduct location needs to be controlled within a certain range.
[0109] For each viaduct location, determine whether the transparency value represented by the transparency information of the viaduct location belongs to the preset value range [alphaMin, 1]; if it does, adjust the transparency of the viaduct location in the 3D map according to the transparency information of the viaduct location.
[0110] S406. If the transparency value represented by the transparency information of the viaduct location point is less than the minimum value in the preset range, then adjust the transparency of the viaduct location point in the 3D map according to the minimum value.
[0111] For example, for each viaduct location, if the transparency value represented by the transparency information of the viaduct location exceeds a preset range, or if the transparency value represented by the transparency information of the viaduct location is less than the minimum value in the preset range, then the transparency of the viaduct location is adjusted in the 3D map according to the minimum value.
[0112] S407. If the transparency value represented by the transparency information of the viaduct location point is greater than the maximum value in the preset range, then adjust the transparency of the viaduct location point in the 3D map according to the maximum value.
[0113] For example, if the transparency value represented by the transparency information of the viaduct location point is greater than the maximum value in the preset range, then the transparency of the viaduct location point in the 3D map is adjusted according to the maximum value.
[0114] Therefore, the value of the transparency information of the elevated bridge location points can be controlled within a certain range.
[0115] Figure 7 This is a schematic diagram of the transparency of the elevated bridge location points in the publicly provided 3D map. Figure 1 ,like Figure 7 As shown, a grayscale image is used to illustrate the values of transparency. In this embodiment, different transparency information is assigned to different locations on the viaduct. For example... Figure 7 As shown, the closer a point on the viaduct is to a vehicle, the higher its transparency value; conversely, points closer to a vehicle are more transparent. This allows for a smooth transition in transparency from the edge to the center of the viaduct.
[0116] Figure 8 This is a schematic diagram of the transparency of the elevated bridge location points in the publicly provided 3D map. Figure 2 ,like Figure 8As shown, a grayscale image is used to illustrate the values of transparency. In this embodiment, different transparency information is assigned to different locations on the viaduct. For example... Figure 8 As shown, a vehicle 801 is depicted, with an overpass 802 appearing within the forward field of view of the vehicle 801. The closer the overpass is to the vehicle 801, the higher its transparency value; thus, the more transparent the overpass location is, the closer it is to the vehicle 801. This allows for a smooth transition in transparency of the overpass from its edges to its center.
[0117] Figure 9 This is a schematic diagram of the transparency of the elevated bridge location points in the publicly provided 3D map. Figure 3 ,like Figure 9 As shown, a grayscale image is used to illustrate the values of transparency. In this embodiment, different transparency information is assigned to different locations on the viaduct. For example... Figure 9 Figure (a) and Figure 9 Figure (b) shows vehicle 901, with viaduct 902 appearing in the foreground view of vehicle 901. The closer a point on the viaduct is to vehicle 901, the higher its transparency value; conversely, points on the viaduct closer to vehicle 901 are more transparent. Furthermore, as the vehicle moves, the second distance between the vehicle and the viaduct decreases. Figure 9 The transparency values at each viaduct location point in Figure (b) are also greater than [value missing]. Figure 9 The transparency values of each viaduct location point in Figure (a); Figure 9 The locations of the viaducts in Figure (b) are compared to... Figure 9 The locations of the viaducts in Figure (a) are more transparent.
[0118] S408. Based on the transparency information and preset color information of the elevated bridge location points, adjust the current color information of the elevated bridge location points to obtain the adjusted color information of the elevated bridge location points; based on the adjusted color information of the elevated bridge location points, adjust the color of the elevated bridge location points in the 3D map.
[0119] In one example, the adjusted color information of the viaduct location point is color = alpha * colorA + (1 - alpha) * colorB; where alpha is the transparency information of the viaduct location point, colorA is the current color information of the viaduct location point, and colorB is the preset color information.
[0120] For example, the color of each of the aforementioned viaduct locations can also be adjusted. Each viaduct location in the 3D map has current color information; for each of the aforementioned viaduct locations, the current color information of the viaduct location is adjusted according to the transparency information and preset color information of the viaduct location to obtain the adjusted color information of the viaduct location.
[0121] Then, for each of the aforementioned viaduct locations, the color of the viaduct location is adjusted in the 3D map based on the adjusted color information of the viaduct location. Thus, the color of the viaduct location is adjusted in the 3D map.
[0122] In one example, for each elevated bridge location, the adjusted color information (color = alpha * colorA + (1-alpha) * colorB) can be obtained based on the transparency information (alpha) of the elevated bridge location, its current color information (colorA), and the preset color information (colorB). Therefore, because the colors of elements such as the ground and median strip of the elevated bridge are significantly different, adjusting the transparency of the elevated bridge location would result in a chaotic color. By using the calculated alpha value, the current color information (colorA) of the elevated bridge location can be gradually transitioned to the designed color (colorB), thus ensuring the color of the elevated bridge remains harmonious.
[0123] S409. If it is determined that the viaduct is outside the vehicle's forward field of vision, the transparency of the viaduct's location point in the 3D map shall be restored to its initial transparency.
[0124] For example, it can detect in real time whether the overpass is outside the vehicle's forward field of vision; if it is determined that the overpass is outside the vehicle's forward field of vision, there is no need to adjust the transparency of the overpass on the 3D map currently displayed on the vehicle; the transparency of the overpass location point in the 3D map can be restored to the initial transparency.
[0125] This makes it easier for users to determine that the overpass is beyond the vehicle's forward field of vision, and restores the transparency of the overpass location to its initial transparency, reducing the amount of rendering data.
[0126] In one example, the following steps may also be performed: Obtain a second distance between the viaduct and the vehicle; wherein the second distance is the distance between the center point of the portion of the viaduct that enters the vehicle's forward field of vision and the vehicle. If it is determined that the second distance is less than or equal to a second preset distance, then the material of the viaduct is changed to a preset transparent material; wherein the second preset distance is less than a first preset distance.
[0127] For example, the second distance is updated in real time. When a portion of an overpass appears in front of the vehicle, this portion of the overpass enters the vehicle's forward field of vision; the portion of the overpass has a center point, and the straight-line distance between this center point and the vehicle's center point can be obtained, thus yielding the second distance.
[0128] If the second distance is determined to be less than or equal to the second preset distance dmin (the second preset distance is a preset minimum distance), then in the 3D map, the material of the overpass located within the vehicle's forward field of view will be changed to a preset transparent material.
[0129] This indicates to the user that they are closer to the viaduct. Furthermore, because the transparency of the viaduct is adjusted based on the initial distance, the difference in transparency between different locations on the viaduct becomes negligible once the initial distance reaches a certain value; this allows for changing the material of the viaduct, making it easier to adjust the transparency of different locations.
[0130] In one example, when "in a 3D map, change the material of the overpass located in the vehicle's forward field of view to a preset transparent material", you can change the overall material of the overpass in the 3D map to a preset transparent material; or, change the material of the part of the overpass located in the vehicle's forward field of view to a preset transparent material.
[0131] In one example, when "in a 3D map, the material of the overpass located within the vehicle's forward field of view is changed to a preset transparent material," the preset transparent material differs for each overpass location. For instance, when a portion of the overpass appears in front of the vehicle, this portion is now within the vehicle's forward field of view; this portion of the overpass has a center point; therefore, the material of the overpass location closer to the preset point can be changed to a more transparent preset material.
[0132] In one example, the following steps may also be performed: while the vehicle is in motion, obtain the third distance of a building located within the vehicle's forward field of vision; wherein the third distance is the distance between the building and the vehicle.
[0133] The transparency information of a building is determined based on the third distance, the third preset distance, and the vehicle's current speed; among them, there is a positive correlation between the third distance and the transparency value represented by the building's transparency information.
[0134] Adjust the transparency of buildings in the 3D map based on their transparency information.
[0135] For example, while the vehicle is in motion, a building appears in front of the vehicle and enters the vehicle's forward field of vision. The third distance, which is the straight-line distance between the building and the vehicle, can be obtained using radar or other methods. Furthermore, the vehicle's current speed information can be acquired.
[0136] A third preset distance, which is an empirical value, is pre-set. The transparency information of each building can be determined based on this third distance, the second preset distance, and the vehicle's current speed. To ensure that the closer the vehicle is to the building, the more transparent it becomes, a positive correlation needs to be established between the third distance and the transparency value represented by the building's transparency information; thus, the closer the vehicle is to the building, the more transparent it becomes.
[0137] In one example, the building's transparency information is: Alternatively, the building's transparency information is... Where m is the third preset distance, p is the third distance, v is the vehicle's current speed information, and n is the preset adjustment parameter mentioned above.
[0138] Then, based on the building's transparency information, the building's transparency is adjusted in the 3D map and then displayed to the user.
[0139] Therefore, for buildings that enter the vehicle's field of vision, the transparency of the buildings is adjusted in the 3D map; the closer the vehicle is to the building, the more transparent the building becomes.
[0140] In another example, while the vehicle is moving, a building appears in front of it and enters the vehicle's forward field of vision. The fourth distance of the building's location point within the vehicle's forward field of vision can be obtained using methods such as radar. The building's location point is the building's position point, and the fourth distance is the straight-line distance between the building's location point and the vehicle. Furthermore, for locations on the building that are not within the vehicle's forward field of vision, it is not necessary to obtain the fourth distance.
[0141] Based on the collision detection circle theory, a collision sphere can be drawn with the vehicle's center point as the center and a fourth preset distance as the radius (i.e., this collision sphere is a sphere located in the world coordinate system). Parts of the building's location enter the vehicle's forward field of view; the fifth distance between these parts of the building and the vehicle is obtained. If the fifth distance is determined to be greater than the fourth preset distance, and no building location point enters the collision sphere, the fifth distance is obtained again.
[0142] As the vehicle moves, the fifth distance between a portion of the building and the vehicle is acquired again. If this fifth distance is determined to be less than or equal to the fourth preset distance, the building's location point begins to enter the collision sphere. Then, the fourth distance is acquired for building locations that are within the vehicle's forward field of view and whose distance from the vehicle is less than the fourth preset distance. Based on the distance between the building and the vehicle, the transparency of buildings in the 3D map is adjusted accordingly when a portion of the building's location enters the vehicle's forward field of view, thereby reducing the amount of data processing.
[0143] Specifically, the fourth preset distance can be a fixed value, or it can be adjusted in real time (for example, it can be adjusted based on the fifth distance. The fifth distance and the fourth preset distance are positively correlated; therefore, the closer the vehicle is to the building, the smaller the value of the fourth preset distance becomes).
[0144] The fourth preset distance can be found in the description of the first preset distance in the above embodiments. The value of the fourth preset distance remains unchanged, or it can be changed.
[0145] Preset adjustment parameters need to be obtained, and the preset adjustment parameters can be found in the description of the above embodiments.
[0146] For each of the above building locations, the transparency information of each building location is determined based on the fourth distance, the fourth preset distance, the vehicle's current speed information, and preset adjustment parameters.
[0147] The transparency information for each building location is as follows: Or, transparency information Wherein, t is the fourth preset distance, q is the fourth distance, v is the vehicle's current speed information, and n is the aforementioned preset adjustment parameter.
[0148] Then, based on the transparency information of each building location, the transparency of each building location is adjusted in the 3D map.
[0149] This allows for different transparency information to be assigned to different building locations, thus enabling a smooth transition in building transparency.
[0150] In this embodiment, the transparency information of each elevated bridge location is determined based on a first distance, a first preset distance, and preset adjustment parameters. This allows for different transparency information to be assigned to different elevated bridge locations, enabling a smooth transition of transparency from the edge to the center of the elevated bridge. Furthermore, the color of the elevated bridge locations can be adjusted in the 3D map based on the adjusted color information. The transparency of buildings within the vehicle's forward field of vision can also be adjusted.
[0151] Figure 10 This is a schematic diagram based on the third embodiment of the present disclosure, as shown below. Figure 10 As shown, this embodiment provides a processing device 1000 for viaducts in a 3D map. The device 1000 includes:
[0152] The first acquisition unit 1001 is used to acquire a first distance of an elevated bridge location point located within the forward field of vision of the vehicle during the driving process of the vehicle; wherein, the first distance of the elevated bridge location point is the distance between the elevated bridge location point and the vehicle, and the elevated bridge location point is a location point on the elevated bridge; the first distance of the elevated bridge location point is less than a first preset distance.
[0153] The first determining unit 1002 is used to determine the transparency information of the elevated bridge location point based on the first distance of the elevated bridge location point.
[0154] The first adjustment unit 1003 is used to adjust the transparency of the elevated bridge location points in the three-dimensional map based on the transparency information of the elevated bridge location points.
[0155] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0156] Figure 11 This is a schematic diagram based on the fourth embodiment of the present disclosure, as shown below. Figure 11 As shown, the embodiment provides a processing device 1100 for viaducts in a 3D map. The device 1100 includes:
[0157] The first acquisition unit 1101 is used to acquire a first distance of an elevated bridge location point located within the forward field of vision of the vehicle during the driving process of the vehicle; wherein, the first distance of the elevated bridge location point is the distance between the elevated bridge location point and the vehicle, and the elevated bridge location point is a location point on the elevated bridge; the first distance of the elevated bridge location point is less than a first preset distance.
[0158] The first determining unit 1102 is used to determine the transparency information of the elevated bridge location point based on the first distance of the elevated bridge location point.
[0159] The first adjustment unit 1103 is used to adjust the transparency of the elevated bridge location points in the three-dimensional map based on the transparency information of the elevated bridge location points.
[0160] In one example, the first determining unit 1102 includes:
[0161] The acquisition module 11021 is used to acquire preset adjustment parameters, wherein the preset adjustment parameters are used to determine the transparency information of the elevated bridge location point.
[0162] The determining module 11022 is used to determine the transparency information of the elevated bridge location point based on the first distance, the first preset distance, and the preset adjustment parameters.
[0163] In one example, there is a positive correlation between the first distance of the viaduct location and the transparency value represented by the transparency information of the viaduct location.
[0164] In one example, module 10021 is specifically used to: determine a preset adjustment parameter based on the first distance of the elevated bridge location point; wherein the first distance of the elevated bridge location point is positively correlated with the preset adjustment parameter.
[0165] In one example, module 10021 is specifically used to: acquire the vehicle's current speed information and determine preset adjustment parameters based on the current speed information.
[0166] In one example, the transparency information for the viaduct location is alpha = (d / r). n Where d is the first distance from the location of the viaduct, r is the first preset distance, and n is the preset adjustment parameter.
[0167] Alternatively, the transparency information of the elevated bridge location point is given by alpha = sin((d / r)). n ); where d is the first distance from the location of the viaduct, r is the first preset distance, and n is the preset adjustment parameter.
[0168] In one example, the apparatus provided in this embodiment further includes:
[0169] The second acquisition unit 1104 is used to acquire a second distance between the overpass and the vehicle before the first acquisition unit 1101 acquires the first distance of the overpass location point within the forward field of vision of the vehicle; wherein, the second distance is the distance between the center point of the part of the overpass that enters the forward field of vision of the vehicle and the vehicle.
[0170] The second determining unit 1105 is used to execute the first obtaining unit 1101 if the second distance is less than or equal to the first preset distance.
[0171] In one example, the apparatus provided in this embodiment further includes: a third acquisition unit 1106, used for:
[0172] The first preset distance is obtained from a preset database. Alternatively, weather information corresponding to the vehicle is obtained, and the first preset distance is determined based on the weather information. Alternatively, a second distance between the overpass and the vehicle is obtained, wherein the second distance is the distance between the center point of the part of the overpass that enters the forward field of vision of the vehicle and the vehicle, and the first preset distance is adjusted based on the second distance.
[0173] In one example, the first adjustment unit 1103 is specifically used to: if the transparency value represented by the transparency information of the viaduct location point is determined to be within a preset value range, then adjust the transparency of the viaduct location point in the 3D map according to the transparency information of the viaduct location point.
[0174] In one example, the apparatus provided in this embodiment further includes:
[0175] The second adjustment unit 1107 is used to adjust the transparency of the elevated bridge location point in the 3D map according to the minimum value if the transparency value represented by the transparency information of the determined elevated bridge location point is less than the minimum value in the preset value range; and to adjust the transparency of the elevated bridge location point in the 3D map according to the maximum value if the transparency value represented by the transparency information of the determined elevated bridge location point is greater than the maximum value in the preset value range.
[0176] In one example, the apparatus provided in this embodiment further includes:
[0177] The third determining unit 1108 is used to adjust the current color information of the elevated bridge location point according to the transparency information and preset color information of the elevated bridge location point, so as to obtain the adjusted color information of the elevated bridge location point.
[0178] The third adjustment unit 1109 is used to adjust the color of the elevated bridge location points in the 3D map according to the adjusted color information of the elevated bridge location points.
[0179] In one example, the adjusted color information of the viaduct location point is color = alpha * colorA + (1 - alpha) * colorB; where alpha is the transparency information of the viaduct location point, colorA is the current color information of the viaduct location point, and colorB is the preset color information.
[0180] In one example, the apparatus provided in this embodiment further includes:
[0181] The fourth acquisition unit 1110 is used to acquire the second distance between the overpass and the vehicle; wherein, the second distance is the distance between the center point of the part of the overpass that enters the forward field of vision of the vehicle and the vehicle.
[0182] The fourth adjustment unit 1111 is used to change the material of the viaduct to a preset transparent material if it is determined that the second distance is less than or equal to the second preset distance; wherein the second preset distance is less than the first preset distance.
[0183] In one example, the apparatus provided in this embodiment further includes:
[0184] The fifth adjustment unit 1112 is used to restore the transparency of the overpass location point in the three-dimensional map to the initial transparency if it is determined that the overpass is beyond the vehicle's forward field of vision.
[0185] In one example, the apparatus provided in this embodiment further includes:
[0186] The fifth acquisition unit 1113 is used to acquire the third distance of buildings located within the forward field of vision of the vehicle during the driving process; wherein the third distance is the distance between the building and the vehicle.
[0187] The fourth determining unit 1114 is used to determine the transparency information of the building based on the third distance, the third preset distance and the current vehicle speed information; wherein, the third distance is positively correlated with the transparency value represented by the transparency information of the building.
[0188] The sixth adjustment unit 1115 is used to adjust the transparency of buildings in a 3D map based on the building's transparency information.
[0189] The apparatus in this embodiment can execute the technical solutions in the above method. Its specific implementation process and technical principles are the same, and will not be repeated here.
[0190] Figure 12 This is a schematic diagram based on the fifth embodiment of the present disclosure, as shown below. Figure 12 As shown, the electronic device 1200 in this embodiment may include a processor 1201 and a memory 1202.
[0191] Memory 1202 is used to store programs. Memory 1202 may include volatile memory, such as random-access memory (RAM), such as static random-access memory (SRAM), double data rate synchronous dynamic random-access memory (DDR SDRAM), etc.; memory may also include non-volatile memory, such as flash memory. Memory 1202 is used to store computer programs (such as application programs, functional modules, etc. that implement the above methods), computer instructions, etc. The computer programs, computer instructions, etc., can be partitioned and stored in one or more memories 1202. Furthermore, the computer programs, computer instructions, data, etc., can be accessed by processor 1201.
[0192] The aforementioned computer programs and instructions can be stored in one or more partitions of memory 1202. Furthermore, the aforementioned computer programs and instructions can be invoked by processor 1201.
[0193] The processor 1201 is configured to execute the computer program stored in the memory 1202 to implement the various steps in the methods described in the above embodiments.
[0194] For details, please refer to the relevant descriptions in the preceding method embodiments.
[0195] The processor 1201 and the memory 1202 can be independent structures or integrated structures. When the processor 1201 and the memory 1202 are independent structures, the memory 1202 and the processor 1201 can be coupled together via bus 1203.
[0196] The electronic device in this embodiment can execute the technical solution in the above method. Its specific implementation process and technical principle are the same, and will not be repeated here.
[0197] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0198] According to embodiments of this disclosure, this disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the scheme provided in any of the above embodiments.
[0199] According to embodiments of this disclosure, this disclosure also provides a computer program product comprising: a computer program stored in a readable storage medium, at least one processor of an electronic device being able to read the computer program from the readable storage medium, and the at least one processor executing the computer program causing the electronic device to perform the scheme provided in any of the above embodiments.
[0200] Figure 13 A schematic block diagram of an example electronic device 1300 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0201] like Figure 8 As shown, device 1300 includes a computing unit 1301, which can perform various appropriate actions and processes according to a computer program stored in read-only memory (ROM) 1302 or a computer program loaded from storage unit 1308 into random access memory (RAM) 1303. The RAM 1303 may also store various programs and data required for the operation of device 1300. The computing unit 1301, ROM 1302, and RAM 1303 are interconnected via bus 1304. Input / output (I / O) interface 1305 is also connected to bus 1304.
[0202] Multiple components in device 1300 are connected to I / O interface 1305, including: input unit 1306, such as keyboard, mouse, etc.; output unit 1307, such as various types of monitors, speakers, etc.; storage unit 1308, such as disk, optical disk, etc.; and communication unit 1309, such as network card, modem, wireless transceiver, etc. Communication unit 1309 allows device 1300 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0203] The computing unit 1301 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1301 performs the various methods and processes described above, such as the processing method for an overpass in a 3D map. For example, in some embodiments, the processing method for an overpass in a 3D map can be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 1308. In some embodiments, part or all of the computer program can be loaded and / or installed on device 1300 via ROM 1302 and / or communication unit 1309. When the computer program is loaded into RAM 1303 and executed by the computing unit 1301, one or more steps of the processing method for an overpass in a 3D map described above can be performed. Alternatively, in other embodiments, the computing unit 1301 may be configured by any other suitable means (e.g., by means of firmware) to perform a processing method for a viaduct in a 3D map.
[0204] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0205] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0206] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0207] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0208] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0209] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service ecosystem, addressing the shortcomings of traditional physical hosts and VPS (Virtual Private Server, or simply "VPS") services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.
[0210] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0211] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A method for processing viaducts in a 3D map, comprising: During the vehicle's operation, a first distance is obtained from the location of the elevated bridge within the vehicle's forward field of vision; wherein, the first distance of the elevated bridge location is the distance between the elevated bridge location and the vehicle, and the elevated bridge location is a location on the elevated bridge; the first distance of the elevated bridge location is less than a first preset distance; The transparency information of the elevated bridge location point is determined based on the first distance of the elevated bridge location point; Based on the transparency information of the elevated bridge location points, adjust the transparency of the elevated bridge location points in the 3D map; The transparency information of the elevated bridge location is as follows: Wherein, d is the first distance from the location of the viaduct, r is the first preset distance, and n is a preset adjustment parameter; The preset adjustment parameters are determined based on the first distance of the elevated bridge location or based on the current vehicle speed information. The first distance of the elevated bridge location is positively correlated with the preset adjustment parameters, and the current vehicle speed information is positively correlated with the preset adjustment parameters.
2. The method according to claim 1, wherein, Based on the first distance from the location of the elevated bridge, the transparency information of the location of the elevated bridge is determined, including: Obtain preset adjustment parameters, wherein the preset adjustment parameters are used to determine the transparency information of the viaduct location points; The transparency information of the elevated bridge location is determined based on the first distance, the first preset distance, and the preset adjustment parameters.
3. The method according to claim 2, wherein, There is a positive correlation between the first distance of the viaduct location and the transparency value represented by the transparency information of the viaduct location.
4. The method according to any one of claims 1-3, further comprising, before obtaining the first distance to the location of the viaduct within the forward field of vision of the vehicle: Obtain a second distance between the viaduct and the vehicle; wherein, the second distance is the distance between the center point of the part of the viaduct that enters the forward field of vision of the vehicle and the vehicle; If the second distance is less than or equal to the first preset distance, then the step of obtaining the first distance of the elevated bridge location point within the forward field of vision of the vehicle is executed.
5. The method according to any one of claims 1-3, further comprising: Retrieve the first preset distance from the preset database; Alternatively, obtain the weather information corresponding to the vehicle, and determine the first preset distance based on the weather information; Alternatively, a second distance can be obtained between the viaduct and the vehicle, wherein the second distance is the distance between the center point of the portion of the viaduct that enters the forward field of vision of the vehicle and the vehicle, and the first preset distance can be adjusted according to the second distance; wherein the second distance and the first preset distance are negatively correlated.
6. The method according to any one of claims 1-3, wherein, Adjusting the transparency of the elevated bridge location points in the 3D map based on the transparency information of the elevated bridge location points includes: If the transparency value represented by the transparency information of the viaduct location point is determined to fall within a preset value range, then the transparency of the viaduct location point is adjusted in the 3D map according to the transparency information of the viaduct location point.
7. The method according to claim 6, further comprising: If the transparency value represented by the transparency information of the viaduct location is determined to be less than the minimum value in the preset range, then the transparency of the viaduct location is adjusted in the 3D map according to the minimum value. If the transparency value represented by the transparency information of the viaduct location is greater than the maximum value in the preset range, then the transparency of the viaduct location is adjusted in the 3D map according to the maximum value.
8. The method according to any one of claims 1-3, further comprising: Based on the transparency information and preset color information of the elevated bridge location, the current color information of the elevated bridge location is adjusted to obtain the adjusted color information of the elevated bridge location. Based on the adjusted color information of the elevated bridge location points, the color of the elevated bridge location points is adjusted in the 3D map.
9. The method according to claim 8, wherein, The adjusted color information of the viaduct location ;in, The transparency information of the location points of the viaduct. This refers to the current color information of the location point of the viaduct. The preset color information.
10. The method according to any one of claims 1-3, further comprising: Obtain a second distance between the viaduct and the vehicle; wherein, the second distance is the distance between the center point of the part of the viaduct that enters the forward field of vision of the vehicle and the vehicle; If it is determined that the second distance is less than or equal to the second preset distance, the material of the viaduct is replaced with a preset transparent material; wherein the second preset distance is less than the first preset distance.
11. The method according to any one of claims 1-3, further comprising: If it is determined that the viaduct is outside the vehicle's forward field of vision, the transparency of the viaduct's location point in the 3D map is restored to its initial transparency.
12. The method according to any one of claims 1-3, further comprising: During the vehicle's operation, a third distance is obtained from buildings located within the vehicle's forward field of vision; wherein, the third distance is the distance between the building and the vehicle; The transparency information of the building is determined based on the third distance, the third preset distance, and the current vehicle speed information; wherein, the third distance is positively correlated with the transparency value represented by the transparency information of the building; The transparency of the building is adjusted in the 3D map based on the building's transparency information.
13. A processing apparatus for an elevated bridge in a three-dimensional map, comprising: The first acquisition unit is used to acquire a first distance of an elevated bridge location point located within the forward field of vision of the vehicle during the vehicle's operation; wherein, the first distance of the elevated bridge location point is the distance between the elevated bridge location point and the vehicle, and the elevated bridge location point is a location point on the elevated bridge; the first distance of the elevated bridge location point is less than a first preset distance; The first determining unit is used to determine the transparency information of the elevated bridge location point based on the first distance of the elevated bridge location point; The first adjustment unit is used to adjust the transparency of the elevated bridge location point in the three-dimensional map according to the transparency information of the elevated bridge location point; The transparency information of the elevated bridge location is as follows: Wherein, d is the first distance from the location of the viaduct, r is the first preset distance, and n is a preset adjustment parameter; The preset adjustment parameters are determined based on the first distance of the elevated bridge location or based on the current vehicle speed information. The first distance of the elevated bridge location is positively correlated with the preset adjustment parameters, and the current vehicle speed information is positively correlated with the preset adjustment parameters.
14. The apparatus according to claim 13, wherein, The first determining unit includes: The acquisition module is used to acquire preset adjustment parameters, wherein the preset adjustment parameters are used to determine the transparency information of the elevated bridge location points; The determining module is used to determine the transparency information of the elevated bridge location point based on the first distance, the first preset distance, and preset adjustment parameters.
15. The apparatus according to claim 14, wherein, There is a positive correlation between the first distance of the viaduct location and the transparency value represented by the transparency information of the viaduct location.
16. The apparatus according to any one of claims 13-15, further comprising: The second acquisition unit is used to acquire a second distance between the overpass and the vehicle before the first acquisition unit acquires the first distance of the overpass location point within the forward field of vision of the vehicle; wherein, the second distance is the distance between the center point of the part of the overpass that enters the forward field of vision of the vehicle and the vehicle. The second determining unit is configured to execute the first obtaining unit if the second distance is less than or equal to the first preset distance.
17. The apparatus according to any one of claims 13-15, further comprising a third acquiring unit, configured to: Retrieve the first preset distance from the preset database; Alternatively, obtain the weather information corresponding to the vehicle, and determine the first preset distance based on the weather information; Alternatively, a second distance can be obtained between the viaduct and the vehicle, wherein... The second distance is the distance between the center point of the part of the overpass that enters the forward field of vision of the vehicle and the vehicle, and the first preset distance is adjusted according to the second distance.
18. The apparatus according to any one of claims 13-15, wherein, The first adjustment unit is specifically used for: If the transparency value represented by the transparency information of the viaduct location point is determined to fall within a preset value range, then the transparency of the viaduct location point is adjusted in the 3D map according to the transparency information of the viaduct location point.
19. The apparatus of claim 18, further comprising: The second adjustment unit is used to adjust the transparency of the elevated bridge location point in the three-dimensional map according to the minimum value if the transparency value represented by the transparency information of the determined elevated bridge location point is less than the minimum value in the preset value range. If the transparency value represented by the transparency information of the viaduct location is greater than the maximum value in the preset range, then the transparency of the viaduct location is adjusted in the 3D map according to the maximum value.
20. The apparatus according to any one of claims 13-15, further comprising: The third determining unit is used to adjust the current color information of the elevated bridge location point according to the transparency information and preset color information of the elevated bridge location point, so as to obtain the adjusted color information of the elevated bridge location point. The third adjustment unit is used to adjust the color of the elevated bridge location point in the three-dimensional map according to the adjusted color information of the elevated bridge location point.
21. The apparatus according to claim 20, wherein, The adjusted color information of the viaduct location ;in, The transparency information of the location points of the viaduct. This refers to the current color information of the location point of the viaduct. The preset color information.
22. The apparatus according to any one of claims 13-15, further comprising: The fourth acquisition unit is used to acquire a second distance between the overpass and the vehicle; wherein the second distance is the distance between the center point of the part of the overpass that enters the forward field of vision of the vehicle and the vehicle. The fourth adjustment unit is used to replace the material of the viaduct with a preset transparent material if it is determined that the second distance is less than or equal to the second preset distance; wherein the second preset distance is less than the first preset distance.
23. The apparatus according to any one of claims 13-15, further comprising: The fifth adjustment unit is used to restore the transparency of the overpass location point in the three-dimensional map to the initial transparency if it is determined that the overpass is outside the forward field of vision of the vehicle.
24. The apparatus according to any one of claims 13-15, further comprising: The fifth acquisition unit is used to acquire a third distance of a building located within the forward field of vision of the vehicle during the vehicle's operation; wherein the third distance is the distance between the building and the vehicle; The fourth determining unit is used to determine the transparency information of the building based on the third distance, the third preset distance, and the current vehicle speed information; wherein, the third distance and the transparency value represented by the transparency information of the building are positively correlated. The sixth adjustment unit is used to adjust the transparency of the building in the three-dimensional map based on the building's transparency information.
25. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-12.
26. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-12.
27. A computer program product comprising a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1-12.
Citation Information
Patent Citations
Map display method and device and vehicle
CN110926495A
Image processing method and device, readable medium and electronic equipment
CN111210485A
Navigation device and there dimensional map indication method
JP2001108458A