Map information processing method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202210957069.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-10
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-08-10
AI Technical Summary
[0035]本申请提供的一种地图信息处理方法、装置、电子设备和存储介质,所述方法可以:响应于基于目标路线触发的视角变换指令,确定以目标路线所在的方向为轴向的变换坐标系。基于参考对象和待处理对象在预设坐标系下的位置信息,可以确定待处理对象在变换坐标系下的位置信息。参考对象为目标路线上的任一对象。待处理对象为除参考对象外的其他对象。基于参考对象在变换坐标系下的位置信息,以及待处理对象在所述变换坐标系下的位置信息,对地图展示信息进行更新,可以得到目标地图信息。该方法可以基于向量坐标,计算坐标系变换后待处理对象的位置信息,消除了计算过程中的旋转角度信息,可以避免坐标系精度低的情况下旋转角度信息的偏差问题,从而适用于任一精度的坐标系,提高了地图信息处理的泛用性和有效性。
Smart Images

Figure CN117629239B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to map information processing methods, apparatus, electronic devices and storage media. Background Technology
[0002] With the development of satellite navigation technology, navigation maps provide convenient directions for people's travel, leading to their increasingly widespread application. However, current technologies are limited by the accuracy of map information or the differences in format between maps used in different applications, resulting in errors in displaying the corresponding navigation information and thus reducing navigation accuracy. Summary of the Invention
[0003] This application provides a map information processing method, apparatus, electronic device, and storage medium that can improve navigation accuracy.
[0004] On the one hand, this application provides a map information processing method, the method comprising:
[0005] In response to a viewpoint transformation command triggered based on a target route, a transformation coordinate system is determined based on the target route; the transformation coordinate system has the direction of the target route as its axis;
[0006] Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the position information of the object to be processed in the transformed coordinate system is determined; the reference object is any object on the target route; the object to be processed is any object other than the reference object.
[0007] Based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, the map display information is updated to obtain the target map information.
[0008] In some embodiments, the position information includes first component information and second component information. Determining the position information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system includes:
[0009] Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the first component information of the object to be processed in the transformed coordinate system is determined;
[0010] Based on the position information of the reference object in the preset coordinate system, the position information of the object to be processed in the preset coordinate system, and the first component information, the second component information of the object to be processed in the transformed coordinate system is determined.
[0011] In some embodiments, determining the first component information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system includes:
[0012] Based on the position information of the reference object in the preset coordinate system, determine the position information of the reference object in the transformed coordinate system;
[0013] Determine the positional relationship between the positional information of the reference object in the preset coordinate system and the positional information of the object to be processed in the preset coordinate system;
[0014] Based on the positional association and the position information of the reference object in the transformed coordinate system, the first component information is determined.
[0015] In some embodiments, determining the second component information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system, the position information of the object to be processed in the preset coordinate system, and the first component information includes:
[0016] Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the relative positional relationship between the reference object and the object to be processed is determined.
[0017] Based on the position information of the object to be processed in the preset coordinate system and the first component information, the component candidate information of the object to be processed in the transformed coordinate system is determined.
[0018] Based on the relative positional relationship, the second component information is determined from the component candidate information.
[0019] In some embodiments, the target map information includes first identifier display information and second identifier display information. Updating the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system to obtain the target map information includes:
[0020] Obtain the reference object identifier corresponding to the position information of the reference object in the preset coordinate system, and the object identifier to be processed corresponding to the position information of the object to be processed in the preset coordinate system;
[0021] Based on the position information of the reference object in the transformed coordinate system, the display position of the reference object identifier in the map display information is updated to obtain the first identifier display information;
[0022] Based on the position information of the object to be processed in the transformed coordinate system, the display position of the object identifier in the map display information is updated to obtain the second identifier display information.
[0023] In some embodiments, after updating the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system to obtain the target map information, the method further includes:
[0024] In response to a navigation command triggered based on the target map information, navigation information corresponding to the target route is displayed.
[0025] In some embodiments, the target map information includes multiple map information to be identified, each map information to be identified including a route to be identified. After updating the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system to obtain the target map information, the method further includes:
[0026] Given that the coordinate system orientation of the transformed coordinate system corresponding to each map information to be identified is consistent, feature extraction is performed on the route to be identified in each map information to be identified, and the route feature information corresponding to each route to be identified is obtained respectively.
[0027] Based on the route feature information, image recognition processing is performed on each route to be identified to obtain the route type corresponding to each route to be identified.
[0028] On the other hand, a map information processing device is provided, the device comprising:
[0029] A coordinate system transformation determination module is used to determine a coordinate system based on the target route in response to a viewpoint transformation command triggered by the target route; the coordinate system is based on the direction of the target route as its axis;
[0030] The updated position determination module is used to determine the position information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system; the reference object is any object on the target route; the object to be processed is any object other than the reference object;
[0031] The map update module is used to update the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, so as to obtain the target map information.
[0032] On the other hand, a computer-readable storage medium is provided, the electronic device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement a map information processing method as described above.
[0033] On the other hand, a computer-readable storage medium is provided, the storage medium including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement a map information processing method as described above.
[0034] On the other hand, a computer program product is provided, including a computer program, characterized in that the computer program implements the map information processing method when executed by a processor.
[0035] This application provides a map information processing method, apparatus, electronic device, and storage medium. The method can: in response to a viewpoint transformation command triggered based on a target route, determine a transformed coordinate system with the direction of the target route as the axis. Based on the position information of a reference object and the object to be processed in a preset coordinate system, the position information of the object to be processed in the transformed coordinate system can be determined. The reference object is any object on the target route. The object to be processed is any object other than the reference object. Based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, the map display information is updated to obtain the target map information. This method can calculate the position information of the object to be processed after coordinate system transformation based on vector coordinates, eliminating the rotation angle information in the calculation process. It can avoid the deviation problem of rotation angle information when the coordinate system accuracy is low, thus being applicable to coordinate systems of any accuracy, improving the versatility and effectiveness of map information processing. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1This is a schematic diagram illustrating an application scenario of a map information processing method provided in an embodiment of this application.
[0038] Figure 2 A flowchart illustrating a map information processing method provided in this application embodiment;
[0039] Figure 3 A flowchart illustrating the determination of the position information of an object to be processed in a transformed coordinate system in a map information processing method provided in this application embodiment;
[0040] Figure 4 A flowchart illustrating the determination of the first component information of an object to be processed in a transformed coordinate system in a map information processing method provided in this application embodiment;
[0041] Figure 5 A flowchart illustrating the determination of the second component information of an object to be processed in a transformed coordinate system in a map information processing method provided in this application embodiment;
[0042] Figure 6 This is a flowchart illustrating the updating of map display information in a map information processing method provided in an embodiment of this application;
[0043] Figure 7 A schematic diagram showing navigation information before and after coordinate system transformation in a map information processing method provided in this application embodiment;
[0044] Figure 8 This is a flowchart illustrating image recognition based on preprocessed map information in a map information processing method provided in an embodiment of this application.
[0045] Figure 9 This is a schematic diagram illustrating a map information processing method provided in this application embodiment applied to map information processing in an image recognition scenario;
[0046] Figure 10 This is a schematic diagram illustrating a map information processing method provided in this application embodiment applied to a navigation scenario for map information processing;
[0047] Figure 11 This is a schematic diagram of the structure of a map information processing device provided in an embodiment of this application;
[0048] Figure 12 This is a schematic diagram of the hardware structure of a device for implementing the method provided in the embodiments of this application. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0050] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. Furthermore, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such information can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein.
[0051] It is understood that in the specific embodiments of this application, information such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant information must comply with the relevant laws, regulations and standards of the relevant countries and regions.
[0052] Please see Figure 1 This illustration shows an application scenario diagram of a map information processing method provided in this application embodiment, the application scenario including a client 110. The client 110, in response to a viewpoint transformation command triggered based on a target route, determines a transformation coordinate system with the direction of the target route as the axis. Based on the position information of a reference object in a preset coordinate system and the position information of the object to be processed in the preset coordinate system, the client 110 can determine the position information of the object to be processed in the transformation coordinate system. The object to be processed is any object other than the reference object. The reference object is any object on the target route. Based on the position information of the reference object in the transformation coordinate system and the position information of the object to be processed in the transformation coordinate system, the client 110 updates the map display information to obtain target map information and displays the target map information to the user.
[0053] In this embodiment, the client 110 includes, but is not limited to, mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, and aircraft. This invention can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, and assisted driving.
[0054] Please see Figure 2It demonstrates a map information processing method that can be implemented on the client side, the method including:
[0055] S210. In response to a viewpoint transformation command triggered based on the target route, determine a transformation coordinate system based on the target route; the transformation coordinate system has the direction of the target route as its axis;
[0056] In some embodiments, a target route is determined in response to a preset route determination instruction. The preset route determination instruction can be a dynamic instruction or a static instruction. The dynamic instruction can be a navigation route determination instruction, in which the target route changes with the navigation route during navigation. The static instruction can be an information preprocessing instruction, in which map information including the target route is preprocessed in application scenarios such as image recognition and intersection classification.
[0057] In response to a viewpoint transformation command triggered based on the target route, the preset coordinate system corresponding to the map display information is updated to a transformed coordinate system, with the direction of the target route as the axis. The preset coordinate system can be the default coordinate system of the map display information, such as a coordinate system with due north as the y-axis and due east as the x-axis, or the coordinate system corresponding to the map display information after the last execution of the viewpoint transformation command.
[0058] S220. Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, determine the position information of the object to be processed in the transformed coordinate system; the object to be processed is an object other than the reference object; the reference object is any object on the target route;
[0059] In some embodiments, the reference object is the geographic information used to constitute the target route, and the object to be processed is other geographic information in the map display information besides the geographic information constituting the target route. For example, the reference object may be road unit information corresponding to the target route, and the object to be processed may include road unit information corresponding to other routes besides the target route or building unit information corresponding to surrounding buildings, etc. This geographic information may be a point of interest (POI) or other information representing geographic features.
[0060] In the map display information, a preset coordinate system can be established based on the axis passing through the target route, so that the point where the axis of the preset coordinate system intersects the target route is the origin. When executing the view transformation command, a transformation coordinate system can be established with the point where the axis of the preset coordinate system intersects the target route as the origin and the target route as the axis, so that the origins of the preset coordinate system and the transformation coordinate system overlap.
[0061] In some embodiments, see Figure 3The position information includes first component information and second component information. Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the position information of the object to be processed in the transformed coordinate system is determined as follows:
[0062] S310. Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, determine the first component information of the object to be processed in the transformed coordinate system;
[0063] S320. Based on the position information of the reference object in the preset coordinate system, the position information of the object to be processed in the preset coordinate system, and the first component information, determine the second component information of the object to be processed in the transformed coordinate system.
[0064] In some embodiments, the first component information is the component information associated with the axis corresponding to the target route in the transformed coordinate system, and the second component information is the component information associated with other axes in the transformed coordinate system. These other axes are axes other than the axis corresponding to the target route. For example, when the transformed coordinate system is a two-dimensional coordinate system, if the axis corresponding to the target route is the y-axis, the first component information is the y-axis component information, and the second component information is the x-axis component information. Alternatively, when the transformed coordinate system is a two-dimensional coordinate system, if the axis corresponding to the target route is the x-axis, the first component information is the x-axis component information, and the second component information is the y-axis component information.
[0065] The first component information is associated only with the axis corresponding to the target route, while the second component information can be associated with at least one other axis. Therefore, the second component information can include at least one component information. For example, when the coordinate system is transformed to a three-dimensional coordinate system, and the axis corresponding to the target route is the y-axis, the first component information is the y-axis component information, and the second classification information includes the x-axis component information and the z-axis component information.
[0066] The position information of the reference object in the preset coordinate system includes at least two component information, and the position information of the object to be processed in the preset coordinate system includes at least two component information. The first component information can be calculated by using the at least two component information corresponding to the reference object in the preset coordinate system and the at least two component information corresponding to the object to be processed in the preset coordinate system.
[0067] The second component information can be calculated using the first component information, at least two component information corresponding to the reference object in the preset coordinate system, and at least two component information corresponding to the object to be processed in the preset coordinate system.
[0068] In some embodiments, before executing the viewpoint transformation command, the relative positions of the reference object and the object to be processed in the preset coordinate system, as well as the relative positions of the reference object and the object to be processed in the preset coordinate system with those in the transformed coordinate system, can be used to determine the position information of the reference object in the preset coordinate system and the relationship between the position information of the object to be processed in the preset coordinate system and the position information of the object to be processed in the transformed coordinate system. Therefore, based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the position information of the object to be processed in the transformed coordinate system can be determined. The preset object can be the object corresponding to the overlapping position of the preset coordinate system and the transformed coordinate system. The overlapping position of the preset coordinate system and the transformed coordinate system can be the origin of the preset coordinate system and the origin of the transformed coordinate system; the preset object is the object corresponding to the origin position.
[0069] By referencing the position information of the object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the first component information and the second component information of the object to be processed in the transformed coordinate system can be calculated. This avoids using the rotation angle to determine the position information of the object to be processed in the transformed coordinate system, thus avoiding the problem of mismatch between the required accuracy of the rotation angle and the accuracy of the coordinate system. This makes it applicable to coordinate systems of any accuracy, improving the versatility of map information processing and the accuracy of map information processing in low-precision coordinate systems.
[0070] In some embodiments, see Figure 4 Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the first component information of the object to be processed in the transformed coordinate system is determined as follows:
[0071] S410. Based on the position information of the reference object in the preset coordinate system, determine the position information of the reference object in the transformed coordinate system;
[0072] S420. Determine the positional relationship between the positional information of the reference object in the preset coordinate system and the positional information of the object to be processed in the preset coordinate system;
[0073] S430. Based on the positional relationship and the positional information of the reference object in the transformed coordinate system, determine the first component information.
[0074] In some embodiments, the position information of the reference object in the transformed coordinate system includes at least two components. Since the reference object is positioned along the axis of the transformed coordinate system after the viewpoint transformation command is executed, all components of the reference object's position information in the transformed coordinate system, except for the component along the axis corresponding to the target route, are zero. Based on the distance between the position information of the reference object in the preset coordinate system and the position information of the origin of the transformed coordinate system in the preset coordinate system, the component information of the reference object along the axis corresponding to the target route in the transformed coordinate system can be determined. For example, if the origin of the transformed coordinate system overlaps with the origin of the preset coordinate system, the position information of the origin of the transformed coordinate system in the preset coordinate system is the same as the position information of the origin of the preset coordinate system.
[0075] Based on the component information of the reference object along the axis corresponding to the target route in the transformed coordinate system, as well as the other component information of the reference object in the transformed coordinate system, the position information of the reference object in the transformed coordinate system can be obtained.
[0076] Positional association can be used to represent the vector projection relationship between first and second vector information that share the same endpoint. The first vector information is vector information with the reference object and the preset object as endpoints, and the second vector information is vector information with the object to be processed and the preset object as endpoints. The preset object is an object whose position information in both the preset coordinate system and the transformed coordinate system is known. Therefore, the preset object can be any object on the target route. In the transformed coordinate system, the preset object is located on the axis corresponding to the target route. For example, when the origins of the preset coordinate system and the transformed coordinate system overlap, the preset object can be the origin.
[0077] The positional relationship between the object to be processed and the reference object remains unchanged in different coordinate systems. Therefore, the positional relationship under the preset coordinate system can be used as the positional relationship under the transformed coordinate system. The positional relationship can be the dot product of the first vector information and the second vector information.
[0078] Based on the position information of the reference object and the object to be processed in the preset coordinate system, the positional relationship in the preset coordinate system can be determined. Based on the positional relationship and the position information of the reference object in the transformed coordinate system, the first component information can be determined. Taking a two-dimensional coordinate system as an example, the specific formula for determining the first component information is as follows:
[0079]
[0080]
[0081]
[0082] Where m represents the first component information of the object to be processed. When the axis corresponding to the target route is the y-axis, m represents the component information on the y-axis; when the axis corresponding to the target route is the x-axis, m represents the component information on the x-axis. x1 and y1 are two components corresponding to the reference object in the preset coordinate system, and x2 and y2 are two components corresponding to the object to be processed in the preset coordinate system.
[0083] x0 and y0 are the two components corresponding to the preset object in the preset coordinate system. a0' is the component information of the preset object in the target route axis in the transformed coordinate system. Subtraction is performed when a0' is positive, and addition is performed when a0' is negative. a1' represents the component information of the reference object in the target route axis in the transformed coordinate system. (x1-x0)(x2-x0)+(y1-y0)(y2-y0) represents the positional relationship.
[0084] When the preset object is the origin, the values of x0 and y0 are 0, so the above formula can be simplified to:
[0085]
[0086]
[0087] By keeping the relative positions of the object to be processed and the reference object unchanged in different coordinate systems, the information of the first component can be determined, avoiding the need to increase the rotation angle. Thus, the information of the first component can be directly determined using vector coordinates, improving the versatility of map information processing.
[0088] In some embodiments, see Figure 5 Based on the position information of the reference object in the preset coordinate system, the position information of the object to be processed in the preset coordinate system, and the first component information, the second component information of the object to be processed in the transformed coordinate system is determined, including:
[0089] S510. Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, determine the relative positional relationship between the reference object and the object to be processed;
[0090] S520. Based on the position information and first component information of the object to be processed in the preset coordinate system, determine the component candidate information of the object to be processed in the transformed coordinate system;
[0091] S530. Based on the relative positional relationship, determine the second component information from the component candidate information.
[0092] In some embodiments, the relative positional relationship is used to represent the positional description information of the object to be processed, which is determined with reference to a reference object. For example, the object to be processed is located to the left of the reference object, or the object to be processed is located to the right of the reference object.
[0093] The relative positional relationship can be determined based on the cross product of the first vector information and the second vector information with the same endpoint. The first vector information is the vector information with the reference object and the preset object as endpoints, and the second vector information is the vector information with the object to be processed and the preset object as endpoints. When the cross product of the first vector information and the second vector information is less than 0, the object to be processed is located to the right of the reference object. When the cross product of the first vector information and the second vector information is greater than 0, the object to be processed is located to the left of the reference object. When the cross product of the first vector information and the second vector information is equal to 0, the object to be processed and the reference object are collinear.
[0094] The preset object is an object whose position information in both the preset coordinate system and the transformed coordinate system is known. Therefore, the preset object can be any object on the target route. In the transformed coordinate system, the preset object is located on the axis corresponding to the target route. For example, when the origins of the preset coordinate system and the transformed coordinate system overlap, the preset object can be the origin.
[0095] When the relative positional relationship meets preset conditions, candidate component information of the object to be processed in the transformed coordinate system can be determined based on the position information and first component information of the object in the preset coordinate system. The preset condition is that the object to be processed and the reference object are not collinear. When the object to be processed and the reference object are collinear, the second component information of the object to be processed in the transformed coordinate system can be directly determined to be 0.
[0096] Before and after the coordinate system transformation, the distance between the object to be processed and the preset object remains unchanged. Therefore, based on the position information of the object to be processed and the preset object in the preset coordinate system, the distance between the object to be processed and the preset object in the preset coordinate system can be determined. Based on the distance between the object to be processed and the preset object in the preset coordinate system, the position information of the preset object in the transformed coordinate system, and the first component information, the component candidate information of the object to be processed in the transformed coordinate system can be determined. This component candidate information can include the component candidate information located to the left of the reference object and the component candidate information located to the right of the reference object in the transformed coordinate system.
[0097] Based on relative positional relationships, the second component information can be determined from the candidate component information. In the preset coordinate system indicating relative positional relationships, if the object to be processed is located to the left of the reference object, the candidate component information located to the left of the reference object is taken as the second component information. If the object to be processed is located to the right of the reference object in the preset coordinate system indicating relative positional relationships, the candidate component information located to the right of the reference object is taken as the second component information.
[0098] Taking a two-dimensional coordinate system as an example, the specific formula for determining the second component information is as follows:
[0099]
[0100] Where n represents the second component information of the object to be processed; when the axis corresponding to the target route is the y-axis, n represents the component information on the x-axis; and when the axis corresponding to the target route is the x-axis, n represents the component information on the y-axis. m represents the first component information of the object to be processed. x1 and y1 are two components corresponding to the reference object in the preset coordinate system, and x2 and y2 are two components corresponding to the object to be processed in the preset coordinate system. x0 and y0 are two components corresponding to the preset object in the preset coordinate system, and a0' and b0' are two components corresponding to the preset object in the transformed coordinate system.
[0101] (-1) k Used to indicate relative positional relationships. In the preset coordinate system for indicating relative positional relationships, k = 1 when the object to be processed is to the left of the reference object, and k = 2 when the object to be processed is to the right of the reference object.
[0102] When the preset object is the origin, the values of x0 and y0 are 0, and the values of a0' and b0' are also 0. Therefore, the above formula can be simplified to:
[0103]
[0104] By determining the relative positional relationship between the object to be processed and the reference object in the same coordinate system, and using the information of the first component, the information of the second component can be determined. This avoids the need to increase the rotation angle, and the information of the first component can be directly determined using vector coordinates, thus improving the versatility of map information processing.
[0105] S230. Based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, update the map display information to obtain the target map information.
[0106] In some embodiments, based on the position information of the reference object in the transformed coordinate system, the position of the map display information corresponding to the reference object in the map display information is updated, and based on the position information of the object to be processed in the transformed coordinate system, the position of the map display information corresponding to the object to be processed in the map display information is updated, thereby obtaining the target map information. The map display information can be the object identifier corresponding to each object in the map display information, and the object identifier can be the rendering result of the map element in the map display information. Both the target map information and the map display information include the same object identifier. Since the target map information corresponds to the transformed coordinate system while the map display information corresponds to the preset coordinate system, the positions of the object identifiers included in the target map information and the positions of the object identifiers included in the map display information are different.
[0107] In some embodiments, see Figure 6 The target map information includes first and second identifier display information. Based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, the map display information is updated to obtain the target map information, which includes:
[0108] S610. Obtain the reference object identifier corresponding to the position information of the reference object in the preset coordinate system, and the object identifier corresponding to the position information of the object to be processed in the preset coordinate system;
[0109] S620. Based on the position information of the reference object in the transformed coordinate system, update the display position of the reference object identifier in the map display information to obtain the first identifier display information;
[0110] S630. Based on the position information of the object to be processed in the transformed coordinate system, update the display position of the object identifier in the map display information to obtain the second identifier display information.
[0111] In some embodiments, the reference object identifier corresponding to the position information of the reference object in the preset coordinate system is obtained. The reference object identifier can be the rendering result of the map element corresponding to the reference object. The object identifier to be processed corresponding to the position information of the object to be processed in the preset coordinate system is obtained. The object identifier to be processed can be the rendering result of the map element corresponding to the object to be processed.
[0112] Based on the position information of the reference object in the transformed coordinate system, the display position of the reference object identifier in the map display information is updated so that the position information of the reference object identifier in the preset coordinate system is replaced with the position information in the transformed coordinate system, thereby obtaining the first identifier display information.
[0113] Based on the position information of the object to be processed in the transformed coordinate system, the display position of the object identifier in the map display information is updated, so that the position information of the object identifier in the preset coordinate system is replaced with the position information in the transformed coordinate system, thereby obtaining the second identifier display information.
[0114] The first and second identifier display information can be combined to form the target map information. This target map information is a map displayed based on a transformed coordinate system.
[0115] By transforming the coordinate system, the displayed map information is updated, avoiding the map shape differences between different map applications when directly updating the viewpoint of the map information, thereby improving the compatibility of map information processing.
[0116] In some embodiments, after updating the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, the method further includes:
[0117] In response to navigation commands triggered based on target map information, display navigation information corresponding to the target route.
[0118] In some embodiments, see Figure 7 ,like Figure 7 The diagram illustrates the navigation information displayed before and after coordinate system transformation. In a navigation scenario, in response to a navigation route determination command, a target route can be determined. If the target route does not overlap with the preset coordinate system in the map display information, a transformed coordinate system is determined based on the target route. Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the first vector information corresponding to the reference object in the preset coordinate system, the second vector information corresponding to the object to be processed in the preset coordinate system, and the position information of the reference object in the transformed coordinate system can be determined. Thus, the position information of the object to be processed in the transformed coordinate system can be calculated. Based on the position information of the object to be processed and the position information of the reference object in the transformed coordinate system, the map display information is updated to obtain the target map information. After obtaining the target map information, in response to a navigation command triggered based on the target map information, navigation information corresponding to the target route can be displayed. This navigation information is information for navigating along the target route.
[0119] In navigation scenarios, the target route can be dynamically changing. After the target route is updated, the coordinate system can be transformed based on the current target route, so that navigation information can be displayed from the perspective corresponding to the current target route during the navigation process.
[0120] In navigation scenarios, navigation information is displayed based on the target map information corresponding to the transformed coordinate system, making the displayed navigation information match the user's perspective, making the navigation information easier for the user to understand, thereby improving the effectiveness of the interaction between navigation information and the user.
[0121] In some embodiments, see Figure 8 The target map information includes multiple map information to be identified, each containing a route to be identified. Based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, the map display information is updated. After obtaining the target map information, the method further includes:
[0122] S810. With the coordinate system orientation of the transformed coordinate system corresponding to each map information to be identified being consistent, feature extraction is performed on the route to be identified in each map information to be identified, and route feature information corresponding to each route to be identified is obtained.
[0123] S820. Based on route feature information, perform image recognition processing on each route to be identified to obtain the route type corresponding to each route to be identified.
[0124] In some embodiments, in image recognition scenarios, such as intersection classification and branch road recognition, a preprocessing step can be performed based on the map information processing method described above. The target map information includes multiple map information to be recognized, and each map information to be recognized includes a route to be recognized, which can be the target route. Based on a preset direction, aligning the transformed coordinate systems corresponding to each map information to be recognized ensures that the coordinate system directions of the transformed coordinate systems corresponding to each map information to be recognized are consistent, that is, the directions of the roads to be recognized are consistent.
[0125] When the coordinate system orientations of the transformed coordinate systems corresponding to each map information to be identified are consistent, features can be extracted from the routes to be identified in each map information to obtain route feature information for each route. Based on the route feature information, image recognition processing can be performed on each route to obtain the route type corresponding to each route. For example, in the case of intersection classification in image recognition processing, the intersection type corresponding to each route can be obtained; in the case of branch road recognition in image recognition processing, the branch road type corresponding to each route can be obtained.
[0126] Image recognition processing can be performed based on a preset image recognition model. This model applies a perceptual hashing algorithm. The perceptual hashing algorithm is sensitive to the direction indicated by the object being recognized; differences in the direction indicated by the object will affect the recognition result.
[0127] Please see Figure 9 ,like Figure 9The diagram illustrates map information processing in an image recognition scenario. The image recognition model includes an image preprocessing layer, a feature extraction layer, and an image classification layer. Map information is input into the image preprocessing layer, where it undergoes image preprocessing, such as scaling, grayscale adjustment, and mean averaging. Alignment is also performed based on these preprocessing methods to obtain preprocessed map information. The preprocessed map information is then input into the feature extraction layer, where a hash feature value is constructed for each map information based on a predefined hash-aware algorithm. Finally, the hash feature value is input into the image classification layer, where the Hamming distance between pairwise hash feature values is calculated to determine the similarity between pairs of map information. Map information with a similarity greater than a predefined threshold is grouped into one category.
[0128] In image recognition scenarios, aligning map information with routes to obtain the map information to be recognized can reduce the impact of different route angles on the recognition results, thereby improving the accuracy of image recognition.
[0129] In some embodiments, see Figure 10 ,like Figure 10 The diagram illustrates map information processing in a navigation scenario. Based on the aforementioned map information processing method, a coordinate system transformation is performed on the two-dimensional coordinate system, with the target route used as the y-axis after the transformation. The current target route in the navigation scenario is determined. Based on the viewpoint transformation command triggered by the current target route, the preset coordinate system corresponding to the map display information is updated to a transformed coordinate system with the target route as the y-axis. The origin of the preset coordinate system overlaps with the origin of the transformed coordinate system. Any object on the target route is designated as a reference object, and all other objects besides the reference object are designated as objects to be processed, with the origin used as the preset object.
[0130] Based on the position information of the reference object in the preset coordinate system, the distance between the reference object and the origin of the preset coordinate system is determined. This distance is the y-axis component information of the reference object in the transformed coordinate system. After the coordinate system transformation, the x-axis component of the reference object in the transformed coordinate system is 0.
[0131] Based on the position information of the reference object in the preset coordinate system and the origin position information of the preset coordinate system, the first vector information corresponding to the reference object is obtained. Based on the position information of the object to be processed in the preset coordinate system and the origin position information of the preset coordinate system, the second vector information corresponding to the object to be processed is obtained. The first vector information and the second vector information are multiplied by a dot product, and the result is used as the positional relationship in the preset coordinate system. Based on the positional relationship and the position information of the reference object in the transformed coordinate system, the first component information can be determined. The specific formula is as follows:
[0132]
[0133]
[0134] Where x1 and y1 are two components corresponding to the reference object in the preset coordinate system, and x2 and y2 are two components corresponding to the object to be processed in the preset coordinate system. y1' is the component of the reference object on the y-axis in the transformed coordinate system, and y2' is the component of the object to be processed on the y-axis in the transformed coordinate system, i.e., the first component information.
[0135] The above formula can be determined based on the fact that the relative positions of the reference object and the object to be processed remain unchanged in different coordinate systems. That is, the positional relationship in the preset coordinate system is equal to the positional relationship in the transformed coordinate system. In other words, the dot product of the first and second vector information is equal to the dot product of the third and fourth vector information. The third vector information is obtained based on the position information of the reference object in the transformed coordinate system and the origin position information of the transformed coordinate system. The fourth vector information is obtained based on the position information of the object to be processed in the transformed coordinate system and the origin position information of the transformed coordinate system. The fourth vector information is unknown.
[0136] Based on the cross product of the first vector information corresponding to the reference object and the second vector information corresponding to the object to be processed, the relative positional relationship between the reference object and the object to be processed can be determined. When the cross product is greater than 0, the relative positional relationship is that the object to be processed is to the left of the reference object; when the cross product is less than 0, the relative positional relationship is that the object to be processed is to the right of the reference object. When the cross product is equal to 0, the relative positional relationship is that the object to be processed and the reference object are collinear. When the object to be processed and the reference object are collinear, the x-axis component of the object to be processed in the transformed coordinate system can be directly determined to be 0. Therefore, the non-collinearity of the object to be processed and the reference object can be used as a preset condition. When the relative positional relationship meets the preset condition, based on the position information of the object to be processed in the preset coordinate system and the position information of the origin of the preset coordinate system, the distance between the object to be processed and the origin in the preset coordinate system is obtained. This distance is the same as the distance between the object to be processed and the origin in the transformed coordinate system. Therefore, based on this distance and the first component information, the candidate component information of the object to be processed in the transformed coordinate system can be determined. The second component information matching the relative positional relationship is determined from the candidate component information. The specific formula is as follows:
[0137]
[0138] Where x1 and y1 are two components corresponding to the reference object in the preset coordinate system, and x2 and y2 are two components corresponding to the object to be processed in the preset coordinate system. y2' is the component of the object to be processed on the y-axis in the transformed coordinate system, i.e., the first component information. x2' is the component of the object to be processed on the x-axis in the transformed coordinate system, i.e., the second component information.
[0139] (-1) k Used to indicate relative positional relationships. In the preset coordinate system for indicating relative positional relationships, k = 1 when the object to be processed is to the left of the reference object, and k = 2 when the object to be processed is to the right of the reference object.
[0140] The system obtains the reference object identifier corresponding to the position information of the reference object in the preset coordinate system, and the object identifier corresponding to the position information of the object to be processed in the preset coordinate system. Based on the position information of the reference object in the transformed coordinate system, the display position of the reference object identifier in the map display information is updated, and the reference object identifier is displayed on the position information in the transformed coordinate system, thus obtaining the first identifier display information. Based on the position information of the object to be processed in the transformed coordinate system, the display position of the object identifier in the map display information is updated, and the object identifier is displayed on the position information in the transformed coordinate system, thus obtaining the second identifier display information. The first and second identifier display information can be combined to obtain the target map information.
[0141] In navigation scenarios, a coordinate system can be established based on the boundary of the navigation information display area, so that the preset coordinate system and the transformed coordinate system only include two quadrants, thereby ensuring that the axis corresponding to the target information is always the positive half-axis of the y-axis, which can reduce computing resources.
[0142] In response to navigation commands triggered based on target map information, navigation information corresponding to the target route is displayed. The y-axis in the transformed coordinate system is aligned with the center line of the navigation information display area, ensuring the navigation information points in the user's current direction of travel. When the current target route changes, the transformed coordinate system and target map information are updated, while the navigation information continues to point in the user's current direction of travel.
[0143] This application provides a map information processing method, which includes: in response to a viewpoint transformation command triggered based on a target route, determining a transformed coordinate system with the direction of the target route as the axis. Based on the position information of a reference object and an object to be processed in a preset coordinate system, the position information of the object to be processed in the transformed coordinate system can be determined. The reference object is any object on the target route. The object to be processed is any object other than the reference object. Based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, the map display information is updated to obtain the target map information. This method can calculate the position information of the object to be processed after coordinate system transformation based on vector coordinates, eliminating the rotation angle information in the calculation process. This avoids the deviation problem of rotation angle information when the coordinate system accuracy is low, thus being applicable to coordinate systems of any accuracy, improving the versatility and effectiveness of map information processing, and also improving the accuracy of navigation and image recognition.
[0144] This application also provides a map information processing device; please refer to [link to relevant documentation]. Figure 11 The device includes:
[0145] The coordinate system transformation determination module 1110 is used to determine the coordinate system based on the target route in response to a view transformation command triggered by the target route; the coordinate system is based on the direction of the target route as the axis.
[0146] The updated position determination module 1120 is used to determine the position information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system; the object to be processed is an object other than the reference object; the reference object is any object on the target route.
[0147] The map update module 1130 is used to update the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, so as to obtain the target map information.
[0148] In some embodiments, the location information includes a first component information and a second component information, and the updated location determination module includes:
[0149] The first position information processing unit is used to determine the first component information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system.
[0150] The second position information processing unit is used to determine the second component information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system, the position information of the object to be processed in the preset coordinate system, and the first component information.
[0151] In some embodiments, the first location information processing unit includes:
[0152] The reference position information determination unit is used to determine the position information of the reference object in the transformed coordinate system based on the position information of the reference object in the preset coordinate system.
[0153] The position association determination unit is used to determine the position association between the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system;
[0154] The first component information determination unit is used to determine the first component information based on the positional relationship and the position information of the reference object in the transformed coordinate system.
[0155] In some embodiments, the second location information processing unit includes:
[0156] The relative position relationship determination unit is used to determine the relative position relationship between the reference object and the object to be processed based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system.
[0157] The component candidate information determination unit is used to determine the component candidate information of the object to be processed in the transformed coordinate system based on the position information and first component information of the object to be processed in the preset coordinate system.
[0158] The second component information determination unit is used to determine the second component information from the component candidate information based on the relative positional relationship.
[0159] In some embodiments, the target map information includes first identifier display information and second identifier display information, and the map update module includes:
[0160] The object identifier acquisition unit is used to acquire the reference object identifier corresponding to the position information of the reference object in the preset coordinate system, and the object identifier to be processed corresponding to the position information of the object to be processed in the preset coordinate system.
[0161] The first identifier display information acquisition unit is used to update the display position of the reference object identifier in the map display information based on the position information of the reference object in the transformed coordinate system, so as to obtain the first identifier display information;
[0162] The second identifier display information acquisition unit is used to update the display position of the identifier of the object to be processed in the map display information based on the position information of the object to be processed in the transformed coordinate system, so as to obtain the second identifier display information.
[0163] In some embodiments, the apparatus further includes:
[0164] The navigation information display module is used to respond to navigation commands triggered based on target map information and display navigation information corresponding to the target route.
[0165] In some embodiments, the target map information includes multiple map information to be identified, each map information to be identified including a route to be identified, and the apparatus further includes:
[0166] The feature extraction module is used to extract features from the routes to be identified in each map information to be identified, provided that the coordinate system orientation of the transformed coordinate system corresponding to each map information to be identified is consistent, so as to obtain the route feature information corresponding to each route to be identified.
[0167] The image recognition module is used to perform image recognition processing on each route to be identified based on route feature information, so as to obtain the route type corresponding to each route to be identified.
[0168] The apparatus provided in the above embodiments can execute the method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in the above embodiments can be found in a map information processing method provided in any embodiment of this application.
[0169] This embodiment also provides a computer-readable storage medium storing computer-executable instructions, which are loaded by a processor and executed by the map information processing method described above in this embodiment.
[0170] This embodiment also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations of the above-described map information processing.
[0171] This embodiment also provides an electronic device, which includes a processor and a memory, wherein the memory stores a computer program adapted to be loaded by the processor and executed by the above-described map information processing method of this embodiment.
[0172] The device may be a computer terminal, a mobile terminal, or a server, and may also participate in constituting the apparatus or system provided in the embodiments of this application. For example... Figure 12 As shown, the mobile device 12 (or computer device) may include one or more processors 1202 (shown as 1202a, 1202b, ..., 1202n in the figure) (processor 1202 may include, but is not limited to, a microprocessor MCU or a programmable logic device FPLD, etc.), a memory 1204 for storing information, and a transmission device 1206 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 12 The structure shown is for illustrative purposes only and does not limit the structure of the electronic device described above. For example, the mobile device 12 (or computer device) may also include more than Figure 12 The more or fewer components shown, or having the same Figure 12 The different configurations shown.
[0173] It should be noted that the aforementioned one or more processors 1202 and / or other information processing circuits are generally referred to herein as "information processing circuits". These information processing circuits may be wholly or partially embodied in software, hardware, firmware, or any other combination thereof. Furthermore, the information processing circuits may be a single, independent processing module, or may be wholly or partially integrated into any other element within the mobile device 12 (or computer device).
[0174] The memory 1204 can be used to store software programs and modules of application software, such as the program instruction / information storage device corresponding to the method described in the embodiments of this application. The processor 1202 executes various functional applications and information processing by running the software programs and modules stored in the memory 1204, thereby realizing the above-described method for generating temporal behavior capture boxes based on self-attention networks. The memory 1204 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1204 may further include memory remotely located relative to the processor 1202, and these remote memories can be connected to the mobile device 12 (or computer device) via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0175] The transmission device 1206 is used to receive or send information via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the mobile device 12 (or computer device). In one example, the transmission device 1206 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 1206 may be a radio frequency (RF) module for wireless communication with the Internet.
[0176] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the mobile device 12 (or computer device).
[0177] This specification provides the operational steps of the methods described in the embodiments or flowcharts, but more or fewer operational steps may be included based on conventional or non-inventive labor. The steps and order listed in the embodiments are merely one possible execution order among many steps and do not represent the only execution order. In actual system or interrupt product execution, the methods shown in the embodiments or drawings can be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment).
[0178] The structure shown in this embodiment is only a partial structure related to the solution of this application and does not constitute a limitation on the device to which the solution of this application is applied. Specific devices may include more or fewer components than shown, or combinations of certain components, or arrangements of different components. It should be understood that the methods, apparatuses, etc., disclosed in this embodiment can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or unit modules through some interfaces.
[0179] Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0180] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this specification can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0181] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A map information processing method, characterized in that, The method includes: In response to a viewpoint transformation command triggered based on a target route, a transformation coordinate system is determined based on the target route; the transformation coordinate system has the direction of the target route as its axis; Based on the position information of the reference object in the preset coordinate system, the position information of the reference object in the transformed coordinate system is determined; Determine the positional relationship between the positional information of the reference object in the preset coordinate system and the positional information of the object to be processed in the preset coordinate system; the reference object is any object on the target route. Based on the positional association and the positional information of the reference object in the transformed coordinate system, the first component information is determined; Based on the position information of the reference object in the preset coordinate system, the position information of the object to be processed in the preset coordinate system, and the first component information, the second component information of the object to be processed in the transformed coordinate system is determined; the object to be processed is an object other than the reference object. Based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, the map display information is updated to obtain the target map information.
2. The map information processing method according to claim 1, characterized in that, The step of determining the second component information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system, the position information of the object to be processed in the preset coordinate system, and the first component information includes: Based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system, the relative positional relationship between the reference object and the object to be processed is determined. Based on the position information of the object to be processed in the preset coordinate system and the first component information, the component candidate information of the object to be processed in the transformed coordinate system is determined. Based on the relative positional relationship, the second component information is determined from the component candidate information.
3. The map information processing method according to claim 1, characterized in that, The target map information includes first identifier display information and second identifier display information. The map display information is updated based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system to obtain the target map information, which includes: Obtain the reference object identifier corresponding to the position information of the reference object in the preset coordinate system, and the object identifier to be processed corresponding to the position information of the object to be processed in the preset coordinate system; Based on the position information of the reference object in the transformed coordinate system, the display position of the reference object identifier in the map display information is updated to obtain the first identifier display information; Based on the position information of the object to be processed in the transformed coordinate system, the display position of the object identifier in the map display information is updated to obtain the second identifier display information.
4. The map information processing method according to claim 1, characterized in that, After updating the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system to obtain the target map information, the method further includes: In response to a navigation command triggered based on the target map information, navigation information corresponding to the target route is displayed.
5. The map information processing method according to claim 1, characterized in that, The target map information includes multiple map information to be identified, each map information to be identified including a route to be identified. After updating the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system to obtain the target map information, the method further includes: Given that the coordinate system orientation of the transformed coordinate system corresponding to each map information to be identified is consistent, feature extraction is performed on the route to be identified in each map information to be identified, and the route feature information corresponding to each route to be identified is obtained respectively. Based on the route feature information, image recognition processing is performed on each route to be identified to obtain the route type corresponding to each route to be identified.
6. A map information processing device, characterized in that, The device includes: A coordinate system transformation determination module is used to determine a coordinate system based on the target route in response to a viewpoint transformation command triggered by the target route; the coordinate system is based on the direction of the target route as its axis; The updated position determination module is used to determine the position information of a reference object in the transformed coordinate system based on the position information of the reference object in the preset coordinate system; determine the positional relationship between the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system; determine a first component information based on the positional relationship and the position information of the reference object in the transformed coordinate system; and determine a second component information of the object to be processed in the transformed coordinate system based on the position information of the reference object in the preset coordinate system, the position information of the object to be processed in the preset coordinate system, and the first component information; wherein the reference object is any object on the target route; and the object to be processed is any object other than the reference object. The map update module is used to update the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, so as to obtain the target map information.
7. The map information processing apparatus according to claim 6, characterized in that, The updated location determination module includes a second location information processing unit, which includes: The relative position relationship determination unit is used to determine the relative position relationship between the reference object and the object to be processed based on the position information of the reference object in the preset coordinate system and the position information of the object to be processed in the preset coordinate system. A component candidate information determination unit is used to determine the component candidate information of the object to be processed in the transformed coordinate system based on the position information of the object to be processed in the preset coordinate system and the first component information. The second component information determination unit is used to determine the second component information from the component candidate information based on the relative positional relationship.
8. The map information processing apparatus according to claim 6, characterized in that, The target map information includes first identifier display information and second identifier display information, and the map update module includes: An object identifier acquisition unit is used to acquire the reference object identifier corresponding to the position information of the reference object in the preset coordinate system, and the object identifier to be processed corresponding to the position information of the object to be processed in the preset coordinate system. The first identifier display information acquisition unit is used to update the display position of the reference object identifier in the map display information based on the position information of the reference object in the transformed coordinate system, so as to obtain the first identifier display information; The second identifier display information acquisition unit is used to update the display position of the identifier of the object to be processed in the map display information based on the position information of the object to be processed in the transformed coordinate system, so as to obtain the second identifier display information.
9. The map information processing apparatus according to claim 6, characterized in that, The device further includes: The navigation information display module is used to update the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system, and after obtaining the target map information, to display navigation information corresponding to the target route in response to the navigation command triggered based on the target map information.
10. The map information processing apparatus according to claim 6, characterized in that, The target map information includes multiple map information items to be identified, and each map information item to be identified includes a route to be identified. The device further includes: The feature extraction module is used to update the map display information based on the position information of the reference object in the transformed coordinate system and the position information of the object to be processed in the transformed coordinate system to obtain the target map information. Then, under the condition that the coordinate system direction of the transformed coordinate system corresponding to each map information to be identified is consistent, the module extracts features from the route to be identified in each map information to obtain the route feature information corresponding to each route to be identified. The image recognition module is used to perform image recognition processing on each route to be identified based on the route feature information, so as to obtain the route type corresponding to each route to be identified.
11. An electronic device, characterized in that, The electronic device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement a map information processing method as described in any one of claims 1-10.
12. A computer-readable storage medium, characterized in that, The storage medium includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement a map information processing method as described in any one of claims 1-10.
13. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements a map information processing method according to any one of claims 1-10.
Citation Information
Patent Citations
Position obtaining method and device for interest points of electronic map, and electronic equipment
CN112435338A
Attitude calibration method and device, storage medium and electronic equipment
CN113091769A