CN118154789A - Three-dimensional roadway parameterization modeling texture calculation method - Google Patents

Three-dimensional roadway parameterization modeling texture calculation method Download PDF

Info

Publication number
CN118154789A
CN118154789A CN202410396803.7A CN202410396803A CN118154789A CN 118154789 A CN118154789 A CN 118154789A CN 202410396803 A CN202410396803 A CN 202410396803A CN 118154789 A CN118154789 A CN 118154789A
Authority
CN
China
Prior art keywords
coordinate value
determining
section
sampling points
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410396803.7A
Other languages
Chinese (zh)
Inventor
崔宗帅
郭军
刘义勤
黄坤
蒋佳明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Technology Research Branch Of Tiandi Technology Co ltd
General Coal Research Institute Co Ltd
Original Assignee
Beijing Technology Research Branch Of Tiandi Technology Co ltd
General Coal Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Technology Research Branch Of Tiandi Technology Co ltd, General Coal Research Institute Co Ltd filed Critical Beijing Technology Research Branch Of Tiandi Technology Co ltd
Priority to CN202410396803.7A priority Critical patent/CN118154789A/en
Publication of CN118154789A publication Critical patent/CN118154789A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)

Abstract

The disclosure provides a three-dimensional roadway parameterization modeling texture calculation method, which comprises the following steps: determining a first section of the three-dimensional roadway model, wherein the first section is perpendicular to a horizontal plane, the outline of the first section comprises a plurality of sampling points, and the outline is in a closed shape; determining two reference sampling points from a plurality of sampling points, and splitting the contour of the first section into two reference lines based on the two reference sampling points; determining a first coordinate value of the sampling point in a corresponding reference line according to the length of the contour and the position information of the sampling point in the contour; determining a second coordinate value of the sampling point along the direction of the central line of the roadway according to the position information of the first section in the three-dimensional roadway model, wherein the first coordinate value and the second coordinate value jointly form a reference texture coordinate of the sampling point; and determining texture coordinates of the sampling points to be calculated according to the reference texture coordinates. Therefore, the accuracy and the practicability of the obtained texture coordinates can be effectively improved by splitting the closed cross section outline, and the texture mapping effect is ensured.

Description

Three-dimensional roadway parameterization modeling texture calculation method
Technical Field
The disclosure relates to the technical field of three-dimensional parametric modeling, in particular to a three-dimensional roadway parametric modeling texture calculation method.
Background
Along with the continuous improvement of the intelligent degree of coal mining, a corresponding three-dimensional roadway model is generally constructed in the coal mining process so as to facilitate the management of the coal mine. The three-dimensional roadway model has the characteristics of closed section and multiple turns.
In the related art, when texture calculation is performed, accuracy of a texture calculation result cannot be guaranteed, so that mapping effect is poor.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
Therefore, the purpose of the present disclosure is to provide a three-dimensional roadway parameterization modeling texture calculation method, so that accuracy and practicality of the obtained texture coordinates can be effectively improved by splitting the closed section profile, and a texture mapping effect is ensured.
In order to achieve the above objective, a three-dimensional roadway parametric modeling texture calculation method according to an embodiment of the present disclosure includes:
Determining a first section of a three-dimensional roadway model, wherein the first section is perpendicular to a horizontal plane, and a contour of the first section comprises a plurality of sampling points, and the contour is a closed shape;
determining two reference sampling points from the plurality of sampling points, and splitting the contour of the first section into two reference lines based on the two reference sampling points;
determining a first coordinate value of the sampling point in the corresponding reference line according to the length of the contour and the position information of the sampling point in the contour;
Determining a second coordinate value of the sampling point along the roadway center line direction according to the position information of the first section in the three-dimensional roadway model, wherein the first coordinate value and the second coordinate value jointly form a reference texture coordinate of the sampling point;
And determining texture coordinates of the sampling points to be calculated according to the reference texture coordinates.
According to the three-dimensional roadway parametric modeling texture calculation method, a first cross section of a three-dimensional roadway model is determined, wherein the first cross section is perpendicular to a horizontal plane, the outline of the first cross section comprises a plurality of sampling points, the outline is of a closed shape, two reference sampling points are determined from the plurality of sampling points, the outline of the first cross section is split into two reference lines based on the two reference sampling points, a first coordinate value of the sampling points in the corresponding reference lines is determined according to the length of the outline and the position information of the sampling points in the outline, a second coordinate value of the sampling points along the direction of a roadway center line is determined according to the position information of the first cross section in the three-dimensional roadway model, the reference texture coordinates of the sampling points are formed by combining the first coordinate values and the second coordinate values, and the texture coordinates of the sampling points to be calculated are determined according to the reference texture coordinates. Therefore, the accuracy and the practicability of the obtained texture coordinates can be effectively improved by splitting the closed cross section outline, and the texture mapping effect is ensured.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a method for calculating a texture of a parametric modeling of a three-dimensional roadway according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a distribution of pre-split contour sampling points proposed in accordance with the present disclosure;
FIG. 3 is a schematic diagram of split profile sample point distribution proposed in accordance with the present disclosure;
FIG. 4 is a flow chart of a method for computing texture of parametric modeling of a three-dimensional roadway according to another embodiment of the present disclosure;
FIG. 5 is a schematic representation of a model curve texture calculation in accordance with the present disclosure;
FIG. 6 is a schematic representation of texture calculations at a model curve proposed in accordance with the present disclosure;
fig. 7 is a schematic diagram of model corner point texture coordinate correction calculation according to the present disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present disclosure and are not to be construed as limiting the present disclosure. On the contrary, the embodiments of the disclosure include all alternatives, modifications, and equivalents as may be included within the spirit and scope of the appended claims.
Fig. 1 is a flow chart of a three-dimensional roadway parameterized modeling texture calculation method according to an embodiment of the present disclosure.
It should be noted that, the execution body of the three-dimensional roadway parametric modeling texture computing method in this embodiment is a three-dimensional roadway parametric modeling texture computing device, and the device may be implemented in a software and/or hardware manner, and the device may be configured in a computer device, where the computer device may include, but is not limited to, a terminal, a server, and the like.
As shown in fig. 1, the three-dimensional roadway parameterization modeling texture calculation method includes:
s101: and determining a first section of the three-dimensional roadway model, wherein the first section is perpendicular to a horizontal plane, the outline of the first section comprises a plurality of sampling points, and the outline is in a closed shape.
The three-dimensional roadway model can be a three-dimensional model constructed by a pointer on a roadway excavated in the coal mining process.
The first section may be a section taken along a vertical direction with respect to a roadway in the model, and the first section may be perpendicular to a central axis of the roadway.
In the embodiment of the present disclosure, the profile of the first section may be rectangular, or may be any other shape, which is not limited thereto.
The sampling point may be a point selected at an edge contour of the first section for performing texture calculation.
Optionally, in some embodiments, the plurality of sampling points are arranged in the profile of the first section based on a preset regular distribution.
For example, in the embodiment of the present disclosure, the distribution positions of the sampling points may be determined based on a preset sampling interval, or the sampling points may be further arranged at the positions of the vertices and the midpoints of each side, which is not limited.
S102: two reference sampling points are determined from the plurality of sampling points, and the contour of the first section is split into two reference lines based on the two reference sampling points.
The reference sampling point may refer to any two sampling points selected from a plurality of sampling points for splitting the first cross-sectional profile. The two reference sampling points may be two adjacent sampling points or may be non-adjacent sampling points, which is not limited.
The reference line may refer to a two-part line formed after the profile of the first section is split.
Alternatively, in some embodiments, the contour of the first cross-section may be split into two reference lines based on two reference sampling points at a specified point in time, where the specified point in time is after the three-dimensional roadway model completes the boolean operation and before the three-dimensional roadway model is displayed.
Optionally, in some embodiments, the two reference sampling points split the contour of the first section into a model floor and a model non-floor, the model non-floor comprising the left and right sides and the top of the model.
In the embodiment of the disclosure, by determining two reference sampling points from a plurality of sampling points and splitting the contour of the first section into two reference lines based on the two reference sampling points, a reliable judgment basis can be provided for subsequently determining the first coordinate value of the sampling point in the corresponding reference line.
S103: and determining a first coordinate value of the sampling point in the corresponding reference line according to the length of the contour and the position information of the sampling point in the contour.
Wherein the first coordinate values may be used to describe the position of the corresponding sampling point in the first cross-sectional profile. The first coordinate value may be used as a v value in a UV texture coordinate system.
In an embodiment of the disclosure, after splitting the contour of the first section into two reference lines based on two reference sampling points, the reference sampling points have corresponding first coordinate values in the two reference lines, respectively. For example, as shown in fig. 2 and 3, fig. 2 is a schematic diagram of a distribution of sampling points of a contour before splitting according to the disclosure, and fig. 3 is a schematic diagram of a distribution of sampling points of a contour after splitting according to the disclosure. The sampling points corresponding to 0.0 and 0.2 in fig. 2 are taken as the reference sampling points, and the sampling point distribution diagram shown in fig. 3 is obtained after the first section profile is split, so that the continuity of coordinates can be maintained, and the poor effect of partial patch between 0.8 and 1.0 during texture mapping is avoided.
It will be appreciated that the general cross-sectional shape of the roadway, as seen in fig. 2, is a closed shape with the start and end points coinciding. Texture coordinate system (u, v) defines: the anticlockwise direction with the cross-sectional normal phase as a reference is taken as a v coordinate component, and the model is taken as a u component along the midline direction. The start point v component is 0.0 and the end point is 1.0, but one point can only be one of them, which results in partial texture compression regardless of which interpolation is chosen. In the embodiment of the disclosure, the problem can be effectively solved by splitting the section profile into two lines based on a splitting method.
S104: and determining a second coordinate value of the sampling point along the direction of the central line of the roadway according to the position information of the first section in the three-dimensional roadway model, wherein the first coordinate value and the second coordinate value jointly form a reference texture coordinate of the sampling point.
The second coordinate value may refer to a u value in the UV texture coordinate system.
That is, in the embodiment of the present disclosure, the u component in the UV texture coordinate system may be taken as the direction along the lane center line, so that the first coordinate value obtained above is combined to determine the reference texture coordinate corresponding to the sampling point.
S105: and determining texture coordinates of the sampling points to be calculated according to the reference texture coordinates.
The sampling points to be calculated can refer to any sampling points to be subjected to texture calculation in the three-dimensional roadway model.
Alternatively, in some embodiments, when determining texture coordinates of the sampling point to be calculated according to the reference texture coordinates, the actual coordinates of the sampling point to be calculated and the actual coordinates of the sampling point may be determined; and determining the texture coordinates of the sampling points to be calculated according to the actual coordinates of the sampling points to be calculated, and the actual coordinates and the reference texture coordinates of the sampling points. Therefore, the texture coordinates of the sampling points to be calculated can be quickly and accurately calculated by combining the actual coordinates of the sampling points to be calculated, the actual coordinates of a plurality of sampling points and the reference texture coordinates.
The actual coordinates may refer to coordinates of the sampling point in a rectangular coordinate system in three-dimensional space.
In the embodiment of the disclosure, when calculating the texture coordinates, the texture coordinates of any known point inside the triangle may be calculated based on the triangle weighting method, that is, the actual coordinates of three vertices of the triangle and the texture coordinates are known.
In this embodiment, a first section of the three-dimensional roadway model is determined, wherein the first section is perpendicular to a horizontal plane, a contour of the first section includes a plurality of sampling points, the contour is a closed shape, two reference sampling points are determined from the plurality of sampling points, the contour of the first section is split into two reference lines based on the two reference sampling points, a first coordinate value of the sampling point in a corresponding reference line is determined according to the length of the contour and position information of the sampling point in the contour, a second coordinate value of the sampling point along a roadway center line direction is determined according to the position information of the first section in the three-dimensional roadway model, the first coordinate value and the second coordinate value jointly form a reference texture coordinate of the sampling point, and the texture coordinate of the sampling point to be calculated is determined according to the reference texture coordinate. Therefore, the accuracy and the practicability of the obtained texture coordinates can be effectively improved by splitting the closed cross section outline, and the texture mapping effect is ensured.
Fig. 4 is a flow chart of a three-dimensional roadway parameterized modeling texture calculation method according to another embodiment of the present disclosure.
As shown in fig. 4, the three-dimensional roadway parameterization modeling texture calculation method includes:
s401: and determining a first section of the three-dimensional roadway model, wherein the first section is perpendicular to a horizontal plane, the outline of the first section comprises a plurality of sampling points, and the outline is in a closed shape.
S402: two reference sampling points are determined from the plurality of sampling points, and the contour of the first section is split into two reference lines based on the two reference sampling points.
S403: and determining a first coordinate value of the sampling point in the corresponding reference line according to the length of the contour and the position information of the sampling point in the contour.
The descriptions of S401 to S403 may be specifically referred to the above embodiments, and are not repeated herein.
S404: a first distance between a first centerline end point at a first inflection point and a roadway centerline start point is determined.
The first inflection point may refer to any inflection point in the three-dimensional roadway model.
The first center line end point may refer to an end point of a lane center line at a first inflection point in the three-dimensional roadway model.
S405: and determining an image scale of the three-dimensional roadway model.
The image scale may be used to describe the actual length of a single picture representation used for texture mapping.
S406: a second distance from a projection point of the sampling point on the first side of the first inflection point to the first centerline endpoint is determined.
The first side may refer to a side, close to the start point of the lane center line, of two sides of the first inflection point.
S407: and determining a first side coordinate value according to the first distance, the second distance and the image scale.
The first side coordinate value may refer to a coordinate value of one side of the sampling point at the first inflection point.
That is, in the embodiment of the present disclosure, the coordinate values of the sampling points at the two sides of the inflection point may be calculated at the first inflection point, so that the problem that the texture image at the inflection point is stretched or compressed may be effectively solved.
In the embodiment of the disclosure, when determining the first side coordinate value according to the first distance, the second distance and the image scale, the first distance, the second distance and the image scale may be input into a pre-trained machine learning model to obtain the corresponding first side coordinate value, or the first side coordinate value may be determined according to the first distance, the second distance and the image scale based on a mathematical or engineering method, which is not limited.
For example, in determining the first side coordinate value u according to the first distance L, the second distance d, and the image scale Pd in the embodiment of the disclosure, the following formula may be used:
u=(L+d)/Pd;
Wherein d is positive when projected on the outside and negative when inside.
S408: and determining a second side coordinate value according to the first side coordinate value.
That is, in the embodiment of the disclosure, after splitting the contour of the first section into two reference lines based on two reference sampling points, a first distance between a first center line end point at a first inflection point and a lane center line start point may be determined, an image scale of the three-dimensional roadway model may be determined, a second distance between a projection point of the sampling point on a first side center line of the first inflection point and the first center line end point may be determined, a first side coordinate value may be determined according to the first distance, the second distance and the image scale, and a second side coordinate value may be determined according to the first side coordinate value. Therefore, the resolution processing of coordinates on two sides of the inflection point can be realized at the turning of the three-dimensional roadway model, and the obtained first side coordinates and second side coordinates can effectively solve the problem that the texture image at the turning is stretched or compressed, so that the texture mapping effect is effectively improved.
Alternatively, in some embodiments, when determining the second side coordinate value according to the first side coordinate value, it may be: determining a target coordinate value of the plurality of first side coordinate values; determining a target distance between a projection point of a target coordinate value corresponding to the sampling point on the central line and a first central line endpoint; correcting the first distance according to the target coordinate value, the target distance and the image scale to obtain a new first distance; and determining a second side coordinate value according to the new first distance, the new second distance and the new image scale. Thus, the correction processing for the first distance can be realized after the first side coordinate is determined, thereby ensuring the practicability and reliability of the obtained second side coordinate value.
Optionally, in some embodiments, the target coordinate value is a maximum or minimum of a plurality of first side coordinate values.
Optionally, in some embodiments, when determining the second side coordinate value according to the first side coordinate value, it may further be: determining that the second side coordinate value is equal to the first side coordinate value; inserting a reference section on a second side of the first inflection point, wherein the reference section is perpendicular to a second side centerline; and adjusting the second coordinate values of the sampling points in the reference section along the direction of the central line of the roadway to be equal. Therefore, the abnormal texture region of the model can be effectively reduced, and the continuity of the whole texture of the model can be maintained.
It will be appreciated that the tunnel turns, which can cause the left and right sides of the model to vary in length, thereby causing the cornering texture to lean, the sides longer than the midline being stretched, the sides shorter than the midline being compressed. According to the embodiment of the disclosure, the influence of turning on the texture mapping can be effectively reduced and the texture mapping effect is ensured by splitting the section of each turn or inserting one section at the position of each turn at the short distance.
S409: and determining texture coordinates of the sampling points to be calculated according to the reference texture coordinates.
The description of S409 may be specifically referred to the above embodiments, and will not be repeated here.
In this embodiment, a first distance between a first center line end point at a first inflection point and a center line start point of a roadway is determined, an image scale of a three-dimensional roadway model is determined, a second distance between a projection point of a sampling point on a first side center line of the first inflection point and the first center line end point is determined, a first side coordinate value is determined according to the first distance, the second distance and the image scale, and a second side coordinate value is determined according to the first side coordinate value. Therefore, the resolution processing of coordinates on two sides of the inflection point can be realized at the turning of the three-dimensional roadway model, and the obtained first side coordinates and second side coordinates can effectively solve the problem that the texture image at the turning is stretched or compressed, so that the texture mapping effect is effectively improved.
Based on the above embodiment, the present invention can quickly calculate an initial value, which refers to texture coordinates of the complete model before the boolean operation is not performed. The method is fast and mainly characterized in that all the point coordinates are not required to be compared each time, and judgment is carried out according to the storage mode. The number of points of each section and the total number of points of the model are known, the points on the section are arranged according to a specified sequence, and v values at the points are determined directly in combination with the contour length of the section.
For the sealing problem, the sealing model is split, namely after all operations (mainly Boolean operations) for the model are completed and before the model is displayed, and the model is split into two parts, namely a model bottom plate and a non-bottom plate (the left side wall, the right side wall and the top wall of the model). Since the texture map is a picture, when v is calculated, the starting position is 0.0 from the bottom side, and the non-bottom starting position is 1.0 to be identical to the bottom ending position. This maintains the continuity of the map.
Two solutions are proposed for the turning problem, the first solution is similar to the solution for the sealing problem, and splitting is performed at the section of each turn, as shown in fig. 5, fig. 5 is a schematic diagram of calculating texture at the turning of a model according to the disclosure, and splitting can cause the texture part after a certain side wall turns to be repeated with the previous section; the second is to insert a section at a short distance from each turn, which concentrates the problem of stretching the map in a small range, other positions are correct, and the overall calculation speed is fast. As shown in fig. 6, fig. 6 is a schematic diagram illustrating another model corner texture calculation according to the present disclosure, where the insertion section causes a small portion of the texture to be stretched and compressed, and the texture is continuous throughout.
The invention can flexibly adopt any solution to the turning problem according to the requirements of application scenes in the application process, and is not limited.
Fig. 7 is a schematic diagram of correction calculation of coordinates of a model corner point texture according to the present disclosure, and uses distances between projection points of a position point to be calculated of the left and right sides on the center line and end points of the center line as references to correct the distances, wherein the projection points are positive on the outer part d and negative on the inner part d.
According to the formula u= (l+d)/Pd, where L is the distance between a certain node of the centerline and the starting node, a certain node is the centerline endpoint close to the point to be calculated, and Pd is the actual length of a preset image representation, which is a known fixed value.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It should be noted that in the description of the present disclosure, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present disclosure, unless otherwise indicated, the meaning of "a plurality" is two or more.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present disclosure in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
Furthermore, each functional unit in the embodiments of the present disclosure may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.

Claims (9)

1. The three-dimensional roadway parameterization modeling texture calculation method is characterized by comprising the following steps of:
Determining a first section of a three-dimensional roadway model, wherein the first section is perpendicular to a horizontal plane, and a contour of the first section comprises a plurality of sampling points, and the contour is a closed shape;
determining two reference sampling points from the plurality of sampling points, and splitting the contour of the first section into two reference lines based on the two reference sampling points;
determining a first coordinate value of the sampling point in the corresponding reference line according to the length of the contour and the position information of the sampling point in the contour;
Determining a second coordinate value of the sampling point along the roadway center line direction according to the position information of the first section in the three-dimensional roadway model, wherein the first coordinate value and the second coordinate value jointly form a reference texture coordinate of the sampling point;
And determining texture coordinates of the sampling points to be calculated according to the reference texture coordinates.
2. The method of claim 1, wherein the first cross-section is at a first inflection point of a roadway in the three-dimensional roadway model, and the second coordinate values comprise a first side coordinate value and a second side coordinate value;
the determining, according to the position information of the first section in the three-dimensional roadway model, a second coordinate value of the sampling point along a roadway center line direction includes:
determining a first distance between a first center line end point at the first inflection point and a center line start point of a roadway;
determining an image scale of the three-dimensional roadway model;
determining a second distance between a projection point of the sampling point on a first side center line of the first inflection point and the first center line end point;
Determining the first side coordinate value according to the first distance, the second distance and the image scale;
and determining the second side coordinate value according to the first side coordinate value.
3. The method of claim 2, wherein the determining the second side coordinate value from the first side coordinate value comprises:
Determining a target coordinate value in the plurality of first side coordinate values;
Determining a target distance between a projection point of the target coordinate value corresponding to the sampling point on the central line and the first central line endpoint;
correcting the first distance according to the target coordinate value, the target distance and the image scale to obtain a new first distance;
And determining the second side coordinate value according to the new first distance, the second distance and the image scale.
4. The method of claim 3, wherein the target coordinate value is a maximum or minimum of a plurality of the first side coordinate values.
5. The method of claim 2, wherein the determining the second side coordinate value from the first side coordinate value comprises:
determining that the second side coordinate value is equal to the first side coordinate value;
Inserting a reference section on a second side of the first inflection point, wherein the reference section is perpendicular to a second side centerline;
and adjusting the second coordinate values of the sampling points in the reference section along the direction of the central line of the roadway to be equal.
6. The method of claim 1, wherein determining texture coordinates of a sample point to be calculated from the reference texture coordinates comprises:
determining the actual coordinates of the sampling points to be calculated and the actual coordinates of the sampling points;
And determining the texture coordinates of the sampling points to be calculated according to the actual coordinates of the sampling points to be calculated, the actual coordinates of a plurality of sampling points and the reference texture coordinates.
7. The method of claim 1, wherein the splitting the profile of the first cross-section into two reference lines based on the two reference sampling points comprises:
Splitting the contour of the first section into two reference lines based on the two reference sampling points at a specified time point, wherein the specified time point is after the three-dimensional roadway model completes Boolean operation and before the three-dimensional roadway model is displayed.
8. The method of claim 1, wherein the two reference sampling points split the profile of the first cross section into a model floor and a model non-floor, the model non-floor comprising left and right sides and a roof of a model.
9. The method of claim 1, wherein the plurality of sampling points are arranged in the profile of the first cross-section based on a predetermined regular distribution.
CN202410396803.7A 2024-04-02 2024-04-02 Three-dimensional roadway parameterization modeling texture calculation method Pending CN118154789A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410396803.7A CN118154789A (en) 2024-04-02 2024-04-02 Three-dimensional roadway parameterization modeling texture calculation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410396803.7A CN118154789A (en) 2024-04-02 2024-04-02 Three-dimensional roadway parameterization modeling texture calculation method

Publications (1)

Publication Number Publication Date
CN118154789A true CN118154789A (en) 2024-06-07

Family

ID=91296577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410396803.7A Pending CN118154789A (en) 2024-04-02 2024-04-02 Three-dimensional roadway parameterization modeling texture calculation method

Country Status (1)

Country Link
CN (1) CN118154789A (en)

Similar Documents

Publication Publication Date Title
CN111583663B (en) Monocular perception correction method and device based on sparse point cloud and storage medium
CN111009153B (en) Training method, device and equipment of trajectory prediction model
CN110088563B (en) Image depth calculation method, image processing device and three-dimensional measurement system
CN114332291A (en) Oblique photography model building outer contour rule extraction method
CN108564604B (en) Binocular vision stereo matching method and device based on plane constraint and triangulation
CN112731334A (en) Method and device for positioning vehicle by laser
CN116091574A (en) 3D target detection method and system based on plane constraint and position constraint
CN115546313A (en) Vehicle-mounted camera self-calibration method and device, electronic equipment and storage medium
CN114092906A (en) Lane line segment fitting method and system, electronic device and storage medium
CN118154789A (en) Three-dimensional roadway parameterization modeling texture calculation method
CN110874170A (en) Image area correction method, image segmentation method and device
US8588507B2 (en) Computing device and method for analyzing profile tolerances of products
CN111798517A (en) Method and device for determining travel track, readable medium and electronic equipment
CN115326055A (en) Method and device for rasterizing track line of surface mine road
CN113435427B (en) Method and device for aggregating lane lines
CN111009036B (en) Grid map correction method and device in synchronous positioning and map construction
CN114332137A (en) Method and system for generating lane boundary line of medium-precision map
CN114445570A (en) Method for rapidly extracting strip-shaped local map elements from high-precision map
Fickenscher et al. Modeling, programming and performance analysis of automotive environment map representations on embedded GPUs
CN113391338B (en) Method, device, equipment, medium and product for repairing tightly coupled track
CN111145225B (en) Non-rigid registration method and device for three-dimensional face
CN116756804A (en) Method and system for processing graphics under same space plane
CN107689081B (en) Grid model region division method for denture digital repair
CN116721249A (en) Fusion labeling method based on neural network and related equipment
CN116486036A (en) Three-dimensional tunnel scene restoration method and device, vehicle and storage medium

Legal Events

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