Method and device for determining intersection range, equipment, medium and program product
By converting the road curve into a road line in the game map and determining the intersection node based on the node position relationship, the problems of low road intersection identification efficiency and poor three-dimensional space compatibility in the existing technology are solved, and multiple roads are automatically identified and marked. The intersection range in the curve is suitable for complex road networks.
Patent Information
- Application Number
- CN202310595996.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-24
- Publication Date
- 2024-11-26
AI Technical Summary
The prior art is inefficient in the identification and marking of road intersections in game maps, especially when the scene complexity increases, and the method based on the intersection of two-dimensional curves is poor in compatibility in three-dimensional space, making it difficult to accurately identify the ramp and Intersections in situations such as convergence of the main road.
By determining multiple nodes on the road curve of multiple roads, transforming into road polylines, and determining the intersection nodes and the intersection node set based on the relative positional relationship between nodes, the intersection range is automatically determined. This method does not require the intersection of the road center line or edge line, and can accurately identify and mark intersections in three-dimensional space.
It realizes automatic identification and marking of intersection ranges in multiple road curves, improves efficiency and fault tolerance, is suitable for complex road networks, and is in line with users' intuitive usage experience.
Smart Images

Figure CN119028118A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular, to a method for determining a range of an intersection, and also to a device, a storage medium, and a program product for executing the determination method. Background Art
[0002] In the game application scenario, many games include game maps. When making game maps, real scenes such as roads, houses, trees, mountains, rivers, etc. are usually imitated. At present, the methods for identifying / marking road intersections in game maps can generally be divided into two categories: one is to mark them in a fully manual way; the other is to project the center curve of the road and / or the edge line of the road onto a certain plane (usually a horizontal plane), find the intersection points of all curves, and then start from each intersection point, according to the specific road width and intersection angle, mark the curve section within a certain distance from the intersection point as the range of the intersection.
[0003] However, for the method of manually marking intersections, as the complexity of the scene increases, the workload will also increase dramatically, and its efficiency is extremely low, requiring a lot of manpower. For the method of identifying and marking based on the intersection of two-dimensional curves, on the one hand, it requires that the center curve of the road and / or the edge line of the road have an intersection. Therefore, when the center curve of the road and / or the edge line of the road do not have an intersection (for example, when the ramp merges with the main road), it is difficult to achieve accurate identification and marking; on the other hand, it requires that all road curves be projected onto a two-dimensional plane before intersection detection, so it has poor compatibility with road curves in three-dimensional space. Summary of the invention
[0004] According to a first aspect of the present disclosure, a method for determining the range of an intersection is provided, comprising: determining a plurality of nodes on a road curve of a plurality of roads based on a preset subdivision accuracy, thereby converting each road curve into a corresponding road curve, wherein the distance between two adjacent nodes on the road curve is equal to the subdivision accuracy; determining intersection nodes from the plurality of nodes based on a relative positional relationship between the nodes; determining at least one intersection node set based on the determined intersection nodes, wherein each intersection node set corresponds to an intersection in the plurality of roads; and determining the range of intersections corresponding to each intersection node set based on the determined intersection node sets.
[0005] According to some exemplary embodiments, determining an intersection node from the multiple nodes based on the relative position relationship between the nodes includes: taking the multiple nodes as detection nodes in turn, and based on a preset detection radius, determining the nodes located at the detection node as the center and within the range defined by the detection radius as neighboring nodes of the detection node; when the relative position relationship between the detection node and the neighboring nodes satisfies the following conditions, determining both the detection node and the neighboring nodes as the intersection nodes, wherein the conditions include: the detection node and the neighboring nodes belong to different road curves respectively, or the detection node and the neighboring nodes belong to the same road curve, and the distance between the detection node and the neighboring nodes along the same road curve is greater than a road curve distance threshold; adding an intersection node line connecting the detection node determined as an intersection node and the corresponding neighboring node.
[0006] According to some exemplary embodiments, determining multiple nodes on road curves of multiple roads based on a preset subdivision accuracy also includes numbering the multiple nodes in sequence; determining intersection nodes from the multiple nodes based on the relative position relationship between the nodes also includes: the relative position relationship between the detection node and the neighboring node must also satisfy the following conditions: the number of the neighboring node is greater than the number of the detection node.
[0007] According to some exemplary embodiments, the method of determining multiple nodes on the road curves of multiple roads based on a preset subdivision accuracy further includes: determining a first side position point and a second side position point corresponding to each node based on a preset first side width and a second side width of each node, wherein the first side position point and the second side position point are respectively located on a first side edge line and a second side edge line of the road where the corresponding node is located; determining a node line segment of each node, wherein a node line segment of a node is a straight line segment connecting the first side position point and the second side position point corresponding to the node; determining a node road surface direction unit vector corresponding to each node, wherein the node road surface direction unit vector is perpendicular to the road surface of the corresponding road at the node and points upward. Furthermore, the method of determining a road intersection node from the multiple nodes based on the relative position relationship between the nodes further includes: determining an average direction unit vector based on the node road surface direction unit vector of the detection node and the node road surface direction unit vector of the adjacent node; the relative position relationship between the detection node and the adjacent node also needs to satisfy the following condition: the minimum distance between the projections of the node line segment corresponding to the detection node and the node line segment corresponding to the adjacent node in a plane perpendicular to the average direction unit vector is less than the subdivision accuracy.
[0008] According to some exemplary embodiments, the relative position relationship between the detection node and the neighboring node also needs to satisfy the following condition: the distance between the projections of the detection node and the neighboring node on the straight line where the average direction unit vector is located is less than a preset height threshold.
[0009] According to some exemplary embodiments, the detection radius is a maximum value of first side widths and second side widths of the plurality of nodes.
[0010] According to some exemplary embodiments, determining at least one intersection node set based on the determined intersection nodes includes: determining intersection node broken line segments from the road broken line based on the determined intersection nodes, wherein the endpoints at both ends of the intersection node broken line segments are both intersection nodes; when any two intersection nodes in a group of intersection nodes included in the determined intersection nodes are connected by an intersection node line and / or a broken line composed of at least one intersection node broken line segment, the group of intersection nodes is determined as an intersection node set.
[0011] According to some exemplary embodiments, determining the range of the corresponding intersection based on the intersection node set includes: setting a corresponding set identifier for each intersection node set in the determined intersection node set; and assigning the set identifier corresponding to the intersection node set to all intersection nodes included in the intersection node set.
[0012] According to some exemplary embodiments, determining the range of the corresponding intersection based on the intersection node set includes: deleting the node line segment; deleting the intersection node line.
[0013] According to a second aspect of the present disclosure, a device for determining the range of an intersection is provided, comprising: a road zigzag generation module, configured to: determine a plurality of nodes on a road curve of a plurality of roads based on a preset subdivision accuracy, thereby converting each road curve into a corresponding road zigzag, wherein the distance between two adjacent nodes on the road zigzag is equal to the subdivision accuracy; an intersection node determination module, configured to: determine an intersection node from the plurality of nodes based on a relative positional relationship between the nodes; an intersection node set determination module, configured to: determine at least one intersection node set based on the determined intersection nodes, wherein each intersection node set corresponds to an intersection in the plurality of roads; an intersection range determination module, configured to: determine the range of intersections corresponding to each intersection node set based on the determined intersection node set.
[0014] According to some exemplary embodiments, the intersection node determination module includes: a neighboring node determination submodule, which is configured to: take the multiple nodes as detection nodes in turn, and based on a preset detection radius, determine the nodes located at the detection node as the center and within the range defined by the detection radius as neighboring nodes of the detection node; an intersection node selection submodule, which is configured to: when the relative position relationship between the detection node and the neighboring nodes satisfies the following conditions, determine both the detection node and the neighboring nodes as the intersection nodes, wherein the conditions include: the detection node and the neighboring nodes belong to different road curves respectively, or the detection node and the neighboring nodes belong to the same road curve, and the distance between the detection node and the neighboring nodes along the same road curve is greater than a road curve distance threshold; an intersection node line addition submodule, which is configured to: add an intersection node line connecting the detection node determined as an intersection node and the corresponding neighboring node.
[0015] According to some exemplary embodiments, the intersection node set determination module includes: an intersection node zigzag segment determination submodule, which is configured to: determine the intersection node zigzag segment from the road zigzag based on the determined intersection nodes, wherein the endpoints at both ends of the intersection node zigzag segment are both intersection nodes; an intersection node set generation submodule, which is configured to: when any two intersection nodes in a group of intersection nodes included in the determined intersection nodes are connected by an intersection node line and / or a zigzag composed of at least one intersection node zigzag segment, the group of intersection nodes is determined as an intersection node set.
[0016] According to a third aspect of the present disclosure, a computing device is provided, including a processor and a memory, wherein the memory is configured to store computer-executable instructions, and the computer-executable instructions are configured to, when executed on the processor, cause the processor to perform the determination method described in the first aspect of the present disclosure and its various exemplary embodiments.
[0017] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, which is configured to store computer-executable instructions, and the computer-executable instructions are configured to, when executed on a processor, cause the processor to perform the determination method described in the first aspect of the present disclosure and its various exemplary embodiments.
[0018] According to a fifth aspect of the present disclosure, a computer program product is provided, which includes computer executable instructions, and the computer executable instructions are configured to, when executed on a processor, cause the processor to perform the determination method described in the first aspect of the present disclosure and its various exemplary embodiments.
[0019] The method for determining the scope of intersections disclosed in the present invention can at least achieve the following beneficial technical effects: first, it can automatically determine the scope of intersections among multiple input road curves and mark them as needed without manual identification and marking; second, it does not require actual intersections between road center lines or edge lines, has a higher fault tolerance rate, and the recognition result is more in line with the user's intuitive usage experience; third, it can identify and mark intersections in three-dimensional space, even if their road curves and / or edge lines do not belong to the same plane in space, as long as their height difference is within a certain range, the method can still correctly identify and mark them, and therefore can be applied to complex road networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Hereinafter, various exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings; in the accompanying drawings:
[0021] Figures 1a to 1e The meanings of the road model, road polyline, intersection and the range of the intersection involved in the present disclosure are schematically illustrated respectively;
[0022] Figure 2 An exemplary application scenario of the method for determining the intersection range according to the present disclosure is schematically shown;
[0023] Figure 3 In the form of a flow chart, a method for determining an intersection range according to an exemplary embodiment of the present disclosure is schematically shown;
[0024] Figures 4a to 4c According to some exemplary embodiments of the present disclosure, a road broken line obtained by transforming a road curve in the determination method according to the present disclosure is schematically shown;
[0025] Figure 5 According to another exemplary embodiment of the present disclosure, the intersection node identified in the determination method according to the present disclosure is schematically shown;
[0026] Figure 6 According to another exemplary embodiment of the present disclosure, a set of intersection nodes determined in the determination method according to the present disclosure is schematically shown;
[0027] Figure 7a and Figure 7b According to an exemplary embodiment of the present disclosure, the intersection range determined in the determination method according to the present disclosure is schematically shown;
[0028] Figures 8a to 8c The technical effect of the determination method according to the present disclosure is schematically shown;
[0029] Fig. 9In the form of a block diagram, the structure of a device for determining an intersection range according to an exemplary embodiment of the present disclosure is schematically shown;
[0030] Fig.10 According to an exemplary embodiment of the present disclosure, the specific structure of the determination device according to the present disclosure is further schematically shown in the form of a block diagram;
[0031] Fig.11 According to an exemplary embodiment of the present disclosure, the specific structure of the determination device according to the present disclosure is further schematically shown in the form of a block diagram;
[0032] Fig.12 According to an exemplary embodiment of the present disclosure, a computing device is schematically shown in the form of a block diagram.
[0033] It should be understood that the accompanying drawings are only schematic illustrations of exemplary embodiments of the present disclosure, and are not intended to limit the present disclosure, nor are they necessarily drawn to scale. In addition, in the accompanying drawings, identical or similar features are indicated by identical or similar reference numerals. DETAILED DESCRIPTION
[0034] Various exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings so that those skilled in the art can fully understand and implement the technical solutions according to the present disclosure.
[0035] First, some terms involved in the present disclosure are explained to facilitate understanding of the present disclosure by those skilled in the art:
[0036] Road: A model obtained by using computer technology to model real roads based on given information in digital application scenarios. Figure 1a , which schematically shows the road involved in the present disclosure. Figure 1aAs shown, the main features of the road 100 include: a road curve 101, which defines the extension of the road in the length direction in the three-dimensional space and its bending state in the three-dimensional space; a first side edge line 102 and a second side edge line 103, the two edge lines are located on both sides of the road curve 101, defining the extension of the road in the width direction in the three-dimensional space, wherein the width direction is perpendicular to the length direction; a plurality of nodes 110 located on the road curve 101 and a first perpendicular intersection line 111 from each node to the first side edge line 102 and a second perpendicular intersection line 112 from each node to the first side edge line 103, which are used to generate a road surface of the road 100; and a node road surface direction unit vector 113 perpendicular to the road surface at each node 110, which reflects the inclination state of the road surface relative to the horizontal plane. Among them, the distance between two adjacent nodes among the multiple nodes 110 along the road curve 101 can be equal or unequal, and the length of the first vertical intersection line 111 (that is, the first side width of the road at the node) and the length of the second vertical intersection line 112 (that is, the second side width of the road at the node) corresponding to each node 110 can be equal or unequal.
[0037] Road polyline: A polyline in three-dimensional space obtained by connecting multiple nodes in a road curve with straight line segments in a specific order. Figure 1b , which schematically shows the road broken line involved in the present disclosure. Figure 1b As shown, the road polyline 101' is generally obtained by converting the corresponding road curve, so it has the same extension and curvature along the length direction as the corresponding road curve in three-dimensional space. In addition, in the process of converting the road curve into the road polyline, multiple nodes can also be numbered in sequence.
[0038] Vector normalization: convert a vector into a vector with the same direction and a modulus of 1, that is, the unit vector in that direction.
[0039] Intersection: A road feature formed by the intersection or confluence of at least two roads in three-dimensional space. Figure 1c , which schematically shows an intersection involved in the present disclosure. Figure 1c As shown, roads 100a, 100b, 100c intersect with road 100d, respectively, thereby forming three intersections A, B, and C. In this case, the road curves, first and second side edge lines of roads 100a, 100b, and 100c intersect with the road curves, first and second side edge lines of road 100d, respectively. However, in other cases, the road curves and / or edge lines of the roads forming the intersection may not intersect. See Figure 1d , which schematically shows another intersection involved in the present disclosure. Figure 1dAs shown, the roads 100e and 100f merge with each other to form a road junction. However, in this case, the road curves and corresponding edge lines of the roads 100e and 100f do not intersect.
[0040] Intersection Extent: The smallest segment of intersecting roads required to form an intersection. Figure 1e , which schematically shows the scope of the intersection involved in the present disclosure. Figure 1e As shown and in conjunction with Figure 1c , the scopes of the three intersections A, B, and C formed by the intersection of roads 100a, 100b, and 100c with road 100d are Scope-A, Scope-B, and Scope-C, respectively. Figure 1e The parts marked with hatched lines include the smallest sections of each road used to form three intersections.
[0041] See also Figure 2 , which schematically shows an exemplary application scenario of the method for determining the intersection range according to the present disclosure. Figure 2 As shown, the application scenario 200 may include terminal devices 202a and 202b, a network 204, and a server 206. The terminal devices 202a and 202b are communicatively connected to the server 206 via the network 204.
[0042] The server 206 can store and run computer instructions that can execute the method for determining the intersection range described in the present disclosure, and it can be a single server or a server cluster or a cloud server. The server 206 can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server 206 can communicate with the terminal devices 202a and 202b through wired or wireless communication, which is not limited by the present disclosure.
[0043] Terminal devices 202a, 202b may be any type of suitable mobile device, including but not limited to: mobile computers (such as but not limited to, devices, personal digital assistants (PDAs), laptop computers, notebook computers, tablet computers such as the Apple iPad™, netbooks, etc.), smartphones (such as, but not limited to, Microsoft Mobile phone, Apple iPhone, realized AndroidTM operating system mobile phones, cell phone, mobile phones, etc.), wearable computing devices (such as, but not limited to, smart watches and bracelets, head-mounted devices (including smart glasses, such as GlassTM), etc.) or other types of mobile devices. In addition, in some exemplary embodiments, the terminal devices 202a, 202b may also be any type of suitable fixed device, including but not limited to desktop computers, game consoles, smart TVs, projectors, set-top boxes, etc.
[0044] The network 204 may include, for example, but is not limited to, any combination of a local area network (LAN), a wide area network (WAN), a personal area network (PAN), and / or a communication network such as the Internet. Each of the service end 110 and the one or more terminal devices 130 may include at least one communication interface (not shown) capable of communicating through the network 120. Such a communication interface may be one or more of the following: any type of network interface (e.g., a network interface card (NIC)), a wired or wireless (such as IEEE 802.11 wireless LAN (WLAN)) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth™ interface, a Near Field Communication (NFC) interface, etc.
[0045] It should be understood that the execution of the method for determining the intersection range provided by the present disclosure includes but is not limited to: execution by the terminal devices 202a and 202b, execution by the server 206, and coordinated execution by the terminal devices 202a and 202b and the server 206. The present disclosure does not impose any limitation on the specific execution of the method for determining the intersection range.
[0046] See also Figure 3 , which schematically illustrates a method for determining an intersection range according to an exemplary embodiment of the present disclosure in the form of a flow chart. Figure 3 As shown, the determination method 300 includes steps 310 , 320 , 330 and 340 .
[0047] In step 310, a plurality of nodes are determined on the road curves of the plurality of roads based on a preset subdivision accuracy, so as to transform each road curve into a corresponding road polyline, wherein the distance between two adjacent nodes on the road polyline is equal to the subdivision accuracy.
[0048] In some exemplary embodiments, a road curve of each of the multiple roads may be assigned a corresponding road identifier, and then multiple nodes on each road curve may be determined based on a preset subdivision accuracy, so that the distance between two adjacent nodes is equal to the subdivision accuracy, and then each node may be connected with a straight line segment, thereby converting the road curve into a corresponding road polyline. It should be understood that each node may be assigned a corresponding node identifier and also be assigned a road identifier of the road to which it belongs. Thus, using step 310, multiple roads in space may be nodeized, so that these nodes may be screened based on preset conditions, so that the range of intersections in these roads may be determined based on the screened nodes. The preset subdivision accuracy may be set according to actual needs, as long as it is conducive to converting the road curve into a road polyline and is conducive to the subsequent screening of nodes.
[0049] In some exemplary embodiments, multiple nodes on each road curve may also be numbered in sequence, or the nodes on the road curves of all roads may be uniformly numbered in sequence. It should be understood that in some cases, the node number and the node identification may be equal, while in other cases, the node number and the node identification may be different.
[0050] See also Figure 4a And see also Figure 3 , which schematically shows the road broken line obtained by transforming the road curve in step 310 in the determination method 300. Figure 4a As shown, the road curves of multiple roads are converted into corresponding road polylines R1, R2, R3, and R4 based on the preset subdivision accuracy, and each road polyline includes multiple nodes Point. Thus, these roads are noded.
[0051] In some exemplary embodiments, step 310 may also include: determining a first side position point and a second side position point corresponding to each node based on a preset first side width and a second side width of each node, wherein the first side position point and the second side position point are respectively located on a first side edge line and a second side edge line of the road where the corresponding node is located; and determining a node line segment of each node, wherein a node line segment of a node is a straight line segment connecting the first side position point and the second side position point corresponding to the node.
[0052] See also Figure 4b And see also Figure 3 , which schematically illustrates the determination method 300 in step 310 of the first side position point and the second side position point corresponding to each node in the road curve and the corresponding node line segment. Figure 4bAs shown, based on the preset first side width and second side width of each node Point, the first side position point (e.g., the gray node shown in the figure) and the second side position point (e.g., the black node shown in the figure) corresponding to each node on the road polylines R1, R2, R3, and R4 of the multiple roads are determined, and thus, the node line segment connecting the first side position point and the second side position is also determined accordingly. Using the determined node line segments of each node, the nodes that can be used to represent the range of the intersection can be determined more accurately, which will be described in detail below.
[0053] In some exemplary embodiments, step 310 may further include: determining a node road surface direction unit vector corresponding to each node, wherein the node road surface direction unit vector is perpendicular to the road surface of the corresponding road at the node and points upward.
[0054] See also Figure 4c And see also Figure 3 , which schematically illustrates the determination of the node road surface direction unit vector corresponding to each node in the road curve by step 310 in the determination method 300. Figure 4c As shown, each node Point on the road polylines R1, R2, R3, and R4 of multiple roads has a corresponding node road surface direction unit vector. Depending on the deflection of the road surface corresponding to the node, the direction of the node road surface direction unit vector corresponding to each node is different, but it should be understood that since the node road surface direction unit vector reflects the orientation of the road surface, it is perpendicular to the road surface at the corresponding node and points upward or approximately upward.
[0055] It should be understood that the features of the above exemplary embodiments described in the present disclosure with respect to step 310 can be combined in any suitable manner as long as such combination does not violate technical principles.
[0056] Continue to see Figure 3 , in step 320, based on the relative positional relationship between the nodes, the intersection node is determined from the multiple nodes. Because multiple roads are nodeized by step 310, these nodes can be screened based on preset conditions, so that the range of the intersections in these roads can be determined based on the screened nodes. As a non-limiting example, the relative positional relationship in step 320 may include the distance and orientation between the nodes, the roads to which each node belongs, etc. Therefore, according to the determination method 300 of the present disclosure, it is not necessary to determine whether the road center curve and / or road edge line of the intersecting roads have an intersection, and the range of the intersection can be accurately determined.
[0057] In some exemplary embodiments, step 320 may include: taking the multiple nodes as detection nodes in turn, and based on a preset detection radius, determining the nodes located at the detection node as the center and within the range defined by the detection radius as neighboring nodes of the detection node; when the relative position relationship between the detection node and the neighboring nodes satisfies the following conditions, determining both the detection node and the neighboring nodes as intersection nodes, wherein the conditions include: the detection node and the neighboring nodes belong to different road curves respectively, or the detection node and the neighboring nodes belong to the same road curve, and the distance between the detection node and the neighboring nodes along the same road curve is greater than a road curve distance threshold; and, adding an intersection node line connecting the detection node determined as an intersection node and the corresponding neighboring node.
[0058] As a non-limiting example, the detection radius can be set to the maximum value of the first side width and the second side width of multiple nodes. However, it should be understood that the detection radius can be set according to actual needs, as long as it can screen out nodes suitable for determining the range of the intersection. In addition, in the present disclosure, the range defined by the detection radius is the range of the three-dimensional space, not the range of the two-dimensional plane. Therefore, according to the determination method 300 of the present disclosure, the range of the intersection formed by the road curve in the three-dimensional space can be determined, and marked as needed. It should be noted that the distance between the detection node and the adjacent node along the same road curve in the above conditions is greater than the road curve distance threshold, which refers to such a situation, for example, a curved or closed road around a roundabout. Therefore, the road curve distance threshold refers to the distance obtained along the extension direction of the road curve, not the straight-line distance between the two nodes, and the road curve distance threshold can generally take a relatively large value, such as 50 meters.
[0059] In some exemplary embodiments, when step 310 further includes sequentially numbering the multiple nodes, step 320 may further include: the relative position relationship between the detection node and the neighboring node also satisfies the following condition: the number of the neighboring node is greater than the number of the detection node. In this way, the determination method 300 can avoid redundant judgments and calculations.
[0060] In some exemplary embodiments, when the first side position point and the second side position point corresponding to each node, the node line segment of each node and the node road surface direction unit vector corresponding to each node are also determined in step 310, step 320 may also include: determining the average direction unit vector based on the node road surface direction unit vector of the detection node and the node road surface direction unit vector of the neighboring node; the relative position relationship between the detection node and the neighboring node also satisfies the following conditions: the minimum distance between the projections of the node line segment corresponding to the detection node and the node line segment corresponding to the neighboring node in a plane perpendicular to the average direction unit vector is less than the subdivision accuracy.
[0061] See also Figure 5 And see also Figure 3 , which schematically illustrates the intersection node determined by the determination method 300 from multiple nodes. Figure 5 As shown, each node Point in the road polylines R5, R6, and R7 of the multiple roads includes a corresponding node line segment. Therefore, the intersection node can be determined based on the preset detection radius and the positional relationship between the node line segments of each node. Figure 5 In the figure, the gray node Junction-point is the determined junction node, and the dotted line is the corresponding junction node link Junction-link. By using the positional relationship between the node segments of each node to determine whether a node is a junction node, the determination method 300 according to the present disclosure can more accurately determine the junction node from multiple nodes, thereby being able to more accurately determine the range of the junction.
[0062] In some exemplary embodiments, when the node road surface direction unit vector corresponding to each node is also determined in step 310, step 320 may also include: the relative position relationship between the detection node and the neighboring node also satisfies the following conditions: the distance between the projections of the detection node and the neighboring node on the straight line where the average direction unit vector is located is less than a preset height threshold. Thus, according to the determination method 300 disclosed in the present invention, it is possible to more accurately identify the intersection in three-dimensional space, even if the center line and / or edge line of the road do not belong to the same plane in space, as long as the height difference is within a certain range, the determination method 300 can still correctly identify it. In other exemplary embodiments, it is also possible to determine whether the distance between the projections of the detection node and the neighboring node in the vertical direction perpendicular to the horizontal plane is less than a preset height threshold, and if it is less than the height threshold, the detection node and the neighboring node can be determined as intersection nodes.
[0063] Continue to see Figure 3In step 330, at least one intersection node set is determined based on the determined intersection nodes, wherein each intersection node set corresponds to an intersection among the plurality of roads. The intersection nodes determined by the above steps may correspond to a plurality of intersections, and therefore, a group of intersection nodes corresponding to an intersection needs to be determined from these intersection nodes, so that the range of the intersection can be determined based on this group of intersection nodes.
[0064] In some exemplary embodiments, step 330 may include: determining an intersection node zigzag segment from the road zigzag based on the determined intersection node, wherein the endpoints at both ends of the intersection node zigzag segment are both intersection nodes; and, when any two intersection nodes in a group of intersection nodes included in the determined intersection nodes are connected by an intersection node line and / or a zigzag consisting of at least one intersection node zigzag segment, the group of intersection nodes is determined as an intersection node set.
[0065] See also Figure 6 And see also Figure 3 , which schematically illustrates the intersection node set determined by the determination method 300 from multiple nodes. Figure 6 As shown, in the road polylines R5, R6, and R7 of multiple roads, the junction node polyline segment Junction-edge is determined based on the determined junction node (i.e., the gray node Junction-point), wherein the endpoints of both ends of the junction node polyline segment are both junction nodes. Figure 5 The bolded broken line segment is the junction node broken line segment Junction-edge that meets the above requirements. Based on the determined junction node broken line segment Junction-edge and the existing junction node link Junction-link, the junction node Junction-point in the figure can be divided into two junction node sets, namely Junction-set1 and Junction-set2 shown in the figure. Junction node sets Junction-set1 and Junction-set2 correspond to one junction respectively.
[0066] Continue to see Figure 3 , in step 340, the scope of the corresponding intersection is determined based on the intersection node set. For example, a set identifier can be set for each intersection node set, and the set identifier can be assigned to all intersection nodes in the corresponding intersection node set. Based on the set identifier, the nodes in the intersection node set corresponding to an intersection can be distinguished from other nodes, thereby achieving the determination of the scope of the intersection from multiple roads. In some exemplary embodiments, step 340 may also include: deleting the node segment; and, deleting the intersection node line.
[0067] See also Figure 7a and Figure 7b , and see Figure 3 , which schematically shows Figure 3 The range of the intersection determined in the determination method 300 shown in FIG. Figure 7a and Figure 7b As shown, by setting a set identifier for each of the intersection node sets Junction-set1 and Junction-set2, the range of the corresponding intersection is determined. Figure 7a It shows the situation after the node segments of each node are deleted. Figure 7b It shows the situation after the node segments of each node and all the node links at the intersection are deleted.
[0068] The determination method 300 disclosed in the present invention can at least achieve the following beneficial technical effects: first, it can automatically identify and determine the range of intersections among multiple input road curves without manual identification and marking; second, it does not require actual intersections between road center lines or edge lines, has a higher fault tolerance rate, and the recognition result is more in line with the user's intuitive usage experience; third, it can identify and mark intersections in three-dimensional space, even if the road curves and / or edge lines do not belong to the same plane in space, as long as the height difference is within a certain range, the method can still correctly identify and mark them, and therefore can be applied to complex road networks.
[0069] See also Figures 8a to 8c , which schematically show Figure 3 The technical effect of the determination method shown.
[0070] like Figure 8a As shown, the road curves of roads R8 and R9 do not intersect, but the first side edge lines and the second side edge lines of the two roads intersect to form the first side edge line intersection point and the second side edge line intersection point, and the widths of roads R8 and R9 are variable, and for these two roads, the widths on both sides of the road curves are different. Figure 8a In the roads R8 and R9, the intersection formed by the roads R8 and R9 cannot be accurately identified and marked only by the intersection of the first side edge line and the second side edge line. However, the determination method according to the present disclosure can accurately identify and mark Figure 8a The range of the intersection formed by roads R8 and R9 in the figure, that is, the area covered by dark shadows in the figure.
[0071] Figure 8b and Figure 8c The following schematically illustrates the situation of identifying and marking intersections in three-dimensional space according to the determination method disclosed in the present invention. Figure 8b and Figure 8cAs shown, the road curves and edge lines of roads R10 and R11 do not belong to the same plane in three-dimensional space. As long as their height difference is within a certain range (for example, within the range defined by a preset height difference threshold), the determination method according to the present invention can still determine the scope of the intersection formed by them.
[0072] The method for determining the intersection range according to the present disclosure can be applied to, for example, the procedural content generation (i.e., Procedural Content Generation, also referred to as PCG) of a road network in a game application scenario. As a non-limiting example, a method for generating a road network by PCG in a game application scenario may include: obtaining road information of each road; based on the road information, determining the intersection range of the intersection from the roads; based on the determined intersection range of the intersection, drawing the intersection and generating the intersection road surface; based on the road information of each road, generating the road segment of each road; and, combining the road segment of each road with the intersection to generate a road network.
[0073] In the above method, in the step of obtaining the road information of each road, the road information can be manually input, obtained from the output results of other calculation modules, or read from an existing data file. As a non-limiting example, the road information may include three-dimensional geometric data of the road curves of each road, three-dimensional geometric data of the road edge lines, and the like. In the step of determining the intersection range of the intersection, the method for determining the intersection range according to each exemplary embodiment of the present disclosure can be applied, which will not be repeated here. The step of generating the intersection road surface may include: determining the edge lines of each intersection based on the road edge lines of each road and the determined intersection range of the intersection; drawing the intersection based on the determined edge lines of the intersection and generating the intersection road surface. The step of generating the road segment may include: smoothing the sharp corners in the road curve; and, drawing the edges of each road segment based on the road information and generating the road surface of the road segment. Finally, when the intersection and the road segment are generated, the two are combined together to generate the final road network.
[0074] As described above, the method for determining the intersection range according to the present disclosure can be used in the PCG method to improve the determination of the intersection range of the intersections in each road, avoid manual identification and marking of the intersection range, and thus greatly improve the efficiency of the PCG method for generating a road network. In addition, the method for determining the intersection range according to the present disclosure can be used on various suitable platforms, and can be implemented in professional programmatic generation tools (such as SideFX Houdini), or integrated into an engine plug-in, so as to interactively determine and mark the intersection range.
[0075] See also Fig. 9, which schematically shows the structure of a device for determining an intersection range according to an exemplary embodiment of the present disclosure in the form of a block diagram. Fig. 9 As shown, the intersection range determination device 700 includes: a road fold line generation module 710, an intersection node determination module 720, an intersection node set determination module 730, and an intersection range determination module 740. The road fold line generation module 710 is configured to: determine multiple nodes on the road curves of multiple roads based on a preset subdivision accuracy, thereby converting each road curve into a corresponding road fold line, wherein the distance between two adjacent nodes on the road fold line is equal to the subdivision accuracy. The intersection node determination module 720 is configured to: determine the intersection node from the multiple nodes based on the relative position relationship between the nodes. The intersection node set determination module 730 is configured to: determine at least one intersection node set based on the determined intersection nodes, wherein each intersection node set corresponds to an intersection in the multiple roads. The intersection range determination module 740 is configured to: determine the range of the intersection corresponding to each intersection node set based on the determined intersection node set.
[0076] See also Fig.10 According to an exemplary embodiment of the present disclosure, the Fig. 9 The specific structure of the intersection node determination module in the determination device is shown. Fig.10 As shown, the intersection node determination module 720 in the intersection range determination device 700 includes: a neighboring node determination submodule 721, a intersection node selection submodule 722, and an intersection node connection adding submodule 723. The neighboring node determination submodule 721 is configured to: take the multiple nodes as detection nodes in turn, and based on a preset detection radius, determine the nodes located at the detection node as the center and within the range defined by the detection radius as neighboring nodes of the detection node. The intersection node selection submodule 722 is configured to: when the relative position relationship between the detection node and the neighboring node meets the following conditions, determine both the detection node and the neighboring node as the intersection node, wherein the conditions include: the detection node and the neighboring node belong to different road curves respectively, or the detection node and the neighboring node belong to the same road curve, and the distance between the detection node and the neighboring node along the same road curve is greater than the road curve distance threshold. The intersection node line adding submodule 723 is configured to add an intersection node line connecting the detection node determined as an intersection node and the corresponding adjacent node.
[0077] Fig.11 According to an exemplary embodiment of the present disclosure, the Fig. 9The specific structure of the intersection node set determination module in the determination device is shown. Fig.11 As shown, the intersection node set determination module 730 in the intersection range determination device 700 includes: an intersection node broken line segment determination submodule 731 and an intersection node set generation submodule 732. The intersection node broken line segment determination submodule 731 is configured to: determine the intersection node broken line segment from the road broken line based on the determined intersection node, wherein the endpoints at both ends of the intersection node broken line segment are both intersection nodes. The intersection node set generation submodule 732 is configured to: when any two intersection nodes in a group of intersection nodes included in the determined intersection nodes are connected by an intersection node line and / or by a broken line composed of at least one intersection node broken line segment, the group of intersection nodes is determined as an intersection node set.
[0078] It should be understood that the above Figures 9 to 11 Each module and sub-module described can be implemented in hardware or in hardware combined with software and / or firmware. For example, these modules and sub-modules can be implemented as computer executable code / instructions, which are configured to be executed in one or more processors and stored in a computer-readable storage medium. Alternatively, these modules and sub-modules can be implemented as hardware logic / circuits. For example, in some embodiments, one or more of these modules can be implemented together in a system on a chip (SoC). The SoC may include an integrated circuit chip (which includes a processor (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, a digital signal processor (DSP), etc.), a memory, one or more communication interfaces, and / or one or more components in other circuits), and may optionally execute the received program code and / or include embedded firmware to perform functions. It should also be understood that the above-mentioned modules and sub-modules are respectively related to the above-mentioned modules and sub-modules. Figure 3 The operations of the method 300 for determining relevant intersections and relevant steps in each of the exemplary embodiments described herein will not be described in detail herein.
[0079] See also Fig.12 , which schematically shows the structure of a computing device 900 according to some embodiments of the present disclosure in the form of a block diagram. The computing device 900 can be used in various application scenarios described in the present disclosure.
[0080] The computing device 900 may include at least one processor 902, memory 904, communication interface(s) 906, a display device 908, other input / output (I / O) devices 910, and one or more mass storage devices 912 that can communicate with each other, such as via a system bus 914 or other appropriate connection.
[0081] The processor 902 may be a single processing unit or multiple processing units, all of which may include a single or multiple computing units or multiple cores. The processor 902 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any device that manipulates signals based on operating instructions. Among other capabilities, the processor 902 may be configured to obtain and execute computer-readable instructions stored in the memory 904, mass storage device 912, or other computer-readable media, such as program codes of an operating system 916, program codes of an application program 918, program codes of other programs 920, and the like.
[0082] The memory 904 and the mass storage device 912 are examples of computer-readable storage media for storing instructions that can be executed by the processor 902 to implement the various functions described above. For example, the memory 904 can generally include both volatile memory and non-volatile memory (e.g., RAM, ROM, etc.). In addition, the mass storage device 912 can generally include a hard drive, a solid-state drive, a removable medium, including external and removable drives, a memory card, a flash memory, a floppy disk, an optical disk (e.g., CD, DVD), a storage array, a network attached storage, a storage area network, etc. The memory 904 and the mass storage device 912 can all be collectively referred to as computer-readable memory or computer-readable storage media herein, and can be a non-transitory medium capable of storing computer-readable, processor-executable program instructions as computer-executable code, which can be executed by the processor 902 as a specific machine configured to implement the operations and functions described in the examples of the present disclosure.
[0083] A plurality of program modules may be stored on the mass storage device 912. These program modules include an operating system 916, one or more application programs 918, other programs 920, and program data 922, and they may be executed by the processor 902. Examples of such application programs or program modules may include, for example, computer program logic (e.g., computer executable code or instructions) for implementing the following components / functions: a road polyline generation module 710, an intersection node determination module 720, an intersection node set determination module 730, and an intersection range determination module 740.
[0084] Although in Fig.12904 of the computing device 900, but modules 916, 918, 920, and 922 or portions thereof may be implemented using any form of computer-readable media accessible by the computing device 900. As used in the present disclosure, "computer-readable media" includes at least two types of computer-readable media, namely computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information, such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other optical storage devices, magnetic cassettes, tapes, magnetic disk storage devices or other magnetic storage devices, or any other non-transmission media that can be used to store information for access by a computing device. In contrast, communication media can embody computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism. Computer storage media as defined in the present disclosure do not include communication media.
[0085] The computing device 900 may also include one or more communication interfaces 906 for exchanging data with other devices, such as through a network, direct connection, etc. The communication interface 906 may facilitate communication within a variety of network and protocol types, including wired networks (e.g., LAN, cable, etc.) and wireless networks (e.g., WLAN, cellular, satellite, etc.), the Internet, etc. The communication interface 906 may also provide for communication with external storage devices (not shown), such as in a storage array, network attached storage, storage area network, etc.
[0086] In some examples, the computing device 900 may also include a display device 908 such as a display for displaying information and images. Other I / O devices 910 may be devices that receive various inputs from a user and provide various outputs to the user, including but not limited to touch input devices, gesture input devices, cameras, keyboards, remote controls, mice, printers, audio input / output devices, and the like.
[0087] The present disclosure also relates to a computer-readable storage medium, which is configured to store computer-executable instructions, and the computer-executable instructions are configured to, when executed on a processor, cause the processor to perform the method for determining the intersection according to each exemplary embodiment of the present disclosure. It should be understood that the computer-readable storage medium should be any suitable storage medium, including but not limited to RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD), or other optical storage device, magnetic cassette, tape, disk storage device or other magnetic storage device, or semiconductor medium (such as solid state disk (SSD)), or any other non-transmission medium that can be used to store information for access by a computing device. The present disclosure does not limit the computer-readable storage medium.
[0088] In addition, the present disclosure also relates to a computer program product, which includes computer executable instructions, and the computer executable instructions are configured to, when executed on a processor, cause the processor to execute the method for determining an intersection according to each exemplary embodiment of the present disclosure.
[0089] The terms used in this disclosure are only used to describe the embodiments in the present disclosure and are not intended to limit the present disclosure. As used in this disclosure, the singular forms "one", "an" and "the" are intended to also include plural forms, unless the context clearly indicates otherwise. It is also to be understood that the terms "include" and "comprise" when used in this disclosure refer to the presence of the features described, but do not exclude the presence of one, one or more other features or add one or more other features. As used in this disclosure, the term "and / or" includes any and all combinations of one or more of the associated listed items. It will be understood that although the terms "first", "second", "third", etc. can be used to describe various features in the present disclosure, these features should not be limited by these terms. These terms are only used to distinguish one feature from another feature.
[0090] Unless otherwise defined, all terms (including technical and scientific terms) used in this disclosure have the same meaning as commonly understood by those of ordinary skill in the art to which this disclosure belongs. It is also understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the relevant art and / or the context of this specification, and will not be interpreted in an idealized or overly formal sense unless explicitly defined in this disclosure.
[0091] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradicting each other and without violating technical principles, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, or may omit some technical features from the different embodiments or examples described in this specification, and the embodiments or examples obtained based on such combination, combination or omission are also considered to fall within the scope of the present disclosure.
[0092] The method described in the present disclosure includes one or more steps or actions. These method steps and / or actions do not have to be performed in the order described in the present disclosure, but can be performed in a different order, for example, they can be performed simultaneously or in a reverse order, as long as they do not conflict with the principle of the technical solution described in the present disclosure. In addition, according to actual needs, the steps or actions in the method described in the present disclosure can be replaced with different steps or actions, or can also include additional steps or actions.
[0093] Although the present disclosure has been described in detail in conjunction with some exemplary embodiments, it is not to be limited to the specific forms described in the present disclosure. Rather, the scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for determining an intersection range, characterized in that: include: Determining a plurality of nodes on the road curves of the plurality of roads based on a preset subdivision accuracy, thereby converting each road curve into a corresponding road polyline, wherein a distance between two adjacent nodes on the road polyline is equal to the subdivision accuracy; Determining an intersection node from the plurality of nodes based on a relative positional relationship between the nodes; Determine at least one intersection node set based on the determined intersection nodes, wherein each intersection node set corresponds to an intersection among the plurality of roads; Based on the determined intersection node sets, the range of the intersections corresponding to each intersection node set is determined.
2. The determination method according to claim 1, characterized in that: The determining of the intersection node from the plurality of nodes based on the relative position relationship between the nodes comprises: The multiple nodes are sequentially used as detection nodes, and based on a preset detection radius, nodes located within a range defined by the detection radius and centered on the detection node are determined as neighboring nodes of the detection node; When the relative position relationship between the detection node and the neighboring node satisfies the following conditions, the detection node and the neighboring node are both determined as the intersection nodes, wherein the conditions include: the detection node and the neighboring node belong to different road curves, respectively, or the detection node and the neighboring node belong to the same road curve, and the distance between the detection node and the neighboring node along the same road curve is greater than a road curve distance threshold; An intersection node link is added between the detection node determined as the intersection node and the corresponding adjacent node to connect the two.
3. The determination method according to claim 2, characterized in that: The determining of a plurality of nodes on the road curves of the plurality of roads based on the preset subdivision accuracy further comprises sequentially numbering the plurality of nodes; Determining the intersection node from the plurality of nodes based on the relative position relationship between the nodes also includes: the relative position relationship between the detection node and the neighboring node also needs to satisfy the following condition: the number of the neighboring node is greater than the number of the detection node.
4. The determination method according to claim 2 or 3, characterized in that: The step of determining a plurality of nodes on the road curves of the plurality of roads based on the preset subdivision accuracy further comprises: Based on the preset first side width and second side width of each node, determine a first side position point and a second side position point corresponding to each node, wherein the first side position point and the second side position point are respectively located on a first side edge line and a second side edge line of the road where the corresponding node is located; Determine a node line segment of each node, wherein a node line segment of a node is a straight line segment connecting a first side position point and a second side position point corresponding to the node; Determine a node road surface direction unit vector corresponding to each node, wherein the node road surface direction unit vector is perpendicular to the road surface of the corresponding road at the node and points upward; The determining of the intersection node from the plurality of nodes based on the relative position relationship between the nodes further comprises: Determine an average direction unit vector based on the node road surface direction unit vector of the detection node and the node road surface direction unit vector of the neighboring node; The relative position relationship between the detection node and the neighboring nodes must also satisfy the following condition: the minimum distance between the projections of the node line segment corresponding to the detection node and the node line segment corresponding to the neighboring node in the plane perpendicular to the average direction unit vector is less than the subdivision accuracy.
5. The determination method according to claim 4, characterized in that: The relative position relationship between the detection node and the neighboring node must also satisfy the following condition: the distance between the projections of the detection node and the neighboring node on the straight line where the average direction unit vector is located is less than a preset height threshold.
6. The determination method according to claim 4, characterized in that: The detection radius is a maximum value among the first side widths and the second side widths of the plurality of nodes.
7. The determination method according to claim 2, characterized in that: The determining at least one intersection node set based on the determined intersection nodes comprises: Determine an intersection node polyline segment from the road polyline based on the determined intersection node, wherein endpoints at both ends of the intersection node polyline segment are both intersection nodes; When any two intersection nodes in a group of intersection nodes included in the determined intersection nodes are connected by an intersection node line and / or a broken line consisting of at least one intersection node broken line segment, the group of intersection nodes is determined as an intersection node set.
8. The determination method according to claim 2, characterized in that: The determining of the range of the corresponding intersection based on the intersection node set includes: Setting a corresponding set identifier for each intersection node set in the determined intersection node set; The set identifier corresponding to the intersection node set is assigned to all intersection nodes included in the intersection node set.
9. The determination method according to claim 8, characterized in that: The determining of the range of the corresponding intersection based on the intersection node set includes: Deleting the node segment; Delete the intersection node connection.
10. A device for determining a range of an intersection, characterized in that: include: A road polyline generation module is configured to: determine a plurality of nodes on road curves of a plurality of roads based on a preset subdivision accuracy, thereby converting each road curve into a corresponding road polyline, wherein a distance between two adjacent nodes on the road polyline is equal to the subdivision accuracy; A road intersection node determination module, which is configured to: determine a road intersection node from the plurality of nodes based on a relative position relationship between the nodes; An intersection node set determination module is configured to: determine at least one intersection node set based on the determined intersection nodes, wherein each intersection node set corresponds to an intersection among the plurality of roads; The intersection range determination module is configured to determine the range of the intersection corresponding to each intersection node set based on the determined intersection node set.
11. The determination device according to claim 10, characterized in that: The intersection node determination module includes: A neighboring node determination submodule is configured to: sequentially use the multiple nodes as detection nodes, and based on a preset detection radius, determine nodes located within a range defined by the detection radius with the detection node as the center as the detection node as the neighboring nodes of the detection node; A road intersection node selection submodule is configured to: when the relative position relationship between the detection node and the neighboring node satisfies the following conditions, determine both the detection node and the neighboring node as the road intersection node, wherein the conditions include: the detection node and the neighboring node belong to different road curves, respectively, or the detection node and the neighboring node belong to the same road curve, and the distance between the detection node and the neighboring node along the same road curve is greater than a road curve distance threshold; The intersection node line adding submodule is configured to add an intersection node line connecting the detection node determined as an intersection node and the corresponding adjacent node.
12. The determination device according to claim 11, characterized in that: The intersection node set determination module includes: A junction node polyline segment determination submodule is configured to: determine a junction node polyline segment from the road polyline based on the determined junction node, wherein the endpoints at both ends of the junction node polyline segment are both junction nodes; The intersection node set generation submodule is configured to: when any two intersection nodes in a group of intersection nodes included in the determined intersection nodes are connected by an intersection node line and / or a broken line composed of at least one intersection node broken line segment, determine the group of intersection nodes as an intersection node set.
13. A computing device comprising a processor and a memory, the memory being configured to store computer executable instructions, the computer executable instructions being configured to, when executed on the processor, cause the processor to perform the determination method according to any one of claims 1 to 9.
14. A computer-readable storage medium configured to store computer-executable instructions, which, when executed on a processor, are configured to cause the processor to perform the determination method according to any one of claims 1 to 9.
15. A computer program product comprising computer executable instructions, which, when executed on a processor, are configured to cause the processor to perform the determination method according to any one of claims 1 to 9.
