Vehicle-mounted multimedia 3D scroll wheel effect construction method and system, and storage medium

CN115756700BActive Publication Date: 2026-08-18HUIZHOU DESAY SV AUTOMOTIVE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211457611.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-21
Publication Date
2026-08-18
Estimated Expiration
2042-11-21

AI Technical Summary

Technical Problem

[0003]本发明解决当前3D图形效果构建需要引入3D图形引擎,增加了车机造价成本,并存在对车机系统性能带来高消耗的技术问题,提供一种车载多媒体3D滚轮效果构建方法、系统及存储介质

Benefits of technology

[0036]This invention utilizes a processor to construct a 3D scroll wheel effect using the in-vehicle multimedia 3D scroll wheel construction method without introducing an external 3D engine, and displays it through a display module. This 3D graphics construction method is constructed solely by the processor executing software algorithms, which is reliable and efficient in calculation, fast in image construction, and does not require the introduction of an external 3D engine, thus reducing the cost of the vehicle system. It also has low performance consumption on the vehicle system, high stability and robustness, and allows for free modification of relevant parameters, exhibiting high reusability and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115756700B_ABST
    Figure CN115756700B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of 3D effect picture construction, and particularly relates to a vehicle-mounted multimedia 3D scroll wheel effect construction method and system and a storage medium. The method comprises the following steps: establishing a coordinate system, defining a circumscribed circle for constructing an N-gon, determining a projection ellipse, defining a projection relationship between the circumscribed circle and the projection ellipse, and obtaining a projection formula therebetween; determining the coordinates of a first vertex of the N-gon on the circumscribed circle, determining the coordinates of the remaining vertices according to the circumscribed relationship between the N-gon and the circumscribed circle and the coordinates of the first vertex; determining the coordinates of the projection vertices on the projection ellipse according to the projection formula and the vertex coordinates of the N-gon; adjusting the size of the corresponding display picture according to the position of the projection vertex, taking the projection vertex as the vertex of the N-gon column, and taking the adjusted display picture as the side surface to construct a 3D scroll wheel effect picture. The present application is reliable and effective in calculation, fast in image construction, does not need to introduce an external 3D engine, and reduces the cost of the vehicle machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of 3D rendering, and more particularly to a method, system, and storage medium for creating 3D scroll wheel effects for in-vehicle multimedia systems. Background Technology

[0002] Currently, cutting-edge in-vehicle multimedia head units all require 3D graphics effects. Therefore, introducing 3D graphics engines such as Unity and Kanzi increases the burden on the head unit's CPU and memory. However, practical application scenarios are relatively limited, while the performance consumption is very high. Furthermore, introducing external 3D engines requires additional licensing fees, increasing the cost of the head unit. During operation, external 3D engines place demands on the head unit's CPU, RAM, and storage space, further increasing the cost. Therefore, how to achieve 3D image effects in in-vehicle multimedia head units without introducing a 3D graphics engine has become a challenge in the industry. Summary of the Invention

[0003] This invention addresses the technical problem that current 3D graphics effects require the introduction of a 3D graphics engine, increasing the cost of vehicle infotainment systems and consuming significant resources on the system's performance. It provides a method, system, and storage medium for creating 3D scroll wheel effects in in-vehicle multimedia systems.

[0004] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:

[0005] A method for constructing a 3D scroll wheel effect in in-vehicle multimedia systems is characterized by being applied to an in-vehicle multimedia system, the system including a processor, and the method being used to construct a 3D scroll wheel effect image of an N-sided prism on the in-vehicle multimedia system, the 3D scroll wheel effect image being used to display multiple display screens, the method comprising:

[0006] Establish a coordinate system, define the circumcircle used to construct the N-gon, take the diameter of the circumcircle as the major axis, and have the same center as the circumcircle. Determine a projection ellipse, define the projection relationship between the circumcircle and the projection ellipse, and obtain the projection formula between the two.

[0007] The coordinates of the first vertex of the N-gon are determined by the circumcircle. Based on the circumcircle relationship between the N-gon and the circumcircle and the coordinates of the first vertex, the coordinates of the remaining vertices are determined.

[0008] Determine the coordinates of the projected vertices on the projected ellipse based on the projection formula and the vertex coordinates of the N-sided polygon.

[0009] The size of the corresponding display screen is adjusted according to the position of the projection vertex. The projection vertex is used as the vertex of the N-sided prism, and the adjusted display screen is used as the side, thus constructing a 3D scroll wheel effect of the N-sided prism.

[0010] Furthermore, the construction method also includes:

[0011] Receive scroll operation input, and calculate the scroll angle of the first vertex during the scrolling process based on the scroll operation input;

[0012] Based on the initial coordinates and rolling angle of the first vertex, the coordinates of the first vertex after the change are calculated;

[0013] Using the changed coordinates of the first vertex, the construction method is repeated to obtain a 3D scroll wheel effect of the scrolled N-sided prism. Furthermore, the formula for the coordinate change of the first vertex is:

[0014] x'=x*cos(α)-y*sin(α), y'=x*sin(α)+y*cos(α),

[0015] Where x is the x-coordinate of the first vertex on the circumcircle, y is the y-coordinate of the first vertex on the circumcircle, x' is the x-coordinate of the first vertex after the change, y' is the y-coordinate of the first vertex after the change, and α is the rolling angle.

[0016] Furthermore, the definition of the projection relationship between the circumcircle and the projected ellipse, and the resulting projection formula between them, include:

[0017] Define the circumcircle and the projected ellipse by taking the points with the same ordinate as the corresponding points, and determine the projection relationship between the circumcircle and the projected ellipse.

[0018] Based on the projection relationship between the circumcircle and the projected ellipse, the projection formula between them is obtained:

[0019] y” = y, x” = B / A*x;

[0020] Where x is the abscissa of a point on the circumcircle, y is the ordinate of a point on the circumcircle, x” is the abscissa of the corresponding projection point on the projection ellipse, y” is the ordinate of the corresponding projection point on the projection ellipse, A is the major axis of the projection ellipse, and B is the minor axis of the projection ellipse.

[0021] Furthermore, determining the coordinates of the remaining vertices based on the circumcircle relationship of the N-gon and its circumcircle and the coordinates of the first vertex includes:

[0022] Calculate the interior angles of the N-sided polygon;

[0023] Based on the interior angles of the N-sided polygon, the relative angles between the first vertex and the other vertices can be obtained;

[0024] The coordinates of the remaining vertices are determined on the circumcircle based on the first vertex and the relative angles between the first vertex and the remaining vertices.

[0025] Furthermore, adjusting the size of the corresponding display screen based on the position of the projection vertex includes:

[0026] The positions of the N-sided polygon's edges are determined by the positions of the projected vertices;

[0027] The size of the display screen corresponding to the edge of the N-sided polygon on the display side is adjusted to obtain the adjusted display screen.

[0028] Furthermore, adjusting the display screen size corresponding to the N-sided polygonal edge on the display side includes:

[0029] The display on the display side is distorted by keeping the screen width unchanged and aligning the screen height with the parallel and aligned edges of the N-gon to obtain the adjusted display screen.

[0030] The display side is the left side of the N-sided polygon.

[0031] Furthermore, the shear slope of the displayed image distortion is calculated based on the two projected vertices of the corresponding N-sided polygon's edge. The formula for calculating the shear slope is:

[0032] k = tan(a) = (X) 2- X1) / (Y2-Y1),

[0033] Where k is the shear slope, a is the distortion tilt angle of the display screen, and X1, Y1 and X2, Y2 are the x and y coordinates of the two projected vertices of the N-sided polygon's edge, respectively.

[0034] Secondly, the present invention also provides an in-vehicle multimedia system, characterized in that it includes a processor and a display module. The processor is used to calculate data in the in-vehicle multimedia system. The in-vehicle multimedia system executes the above-mentioned method for constructing the 3D scroll wheel effect of the in-vehicle multimedia system through the processor, and outputs the constructed 3D scroll wheel effect image of an N-sided prism to the display module for display.

[0035] Thirdly, the present invention also provides a storage medium, characterized in that the storage medium stores a computer program, which, when executed by a processor, implements the above-described method for constructing the 3D scroll wheel effect of in-vehicle multimedia.

[0036] This invention utilizes a processor to construct a 3D scroll wheel effect using the in-vehicle multimedia 3D scroll wheel construction method without introducing an external 3D engine, and displays it through a display module. This 3D graphics construction method is constructed solely by the processor executing software algorithms, which is reliable and efficient in calculation, fast in image construction, and does not require the introduction of an external 3D engine, thus reducing the cost of the vehicle system. It also has low performance consumption on the vehicle system, high stability and robustness, and allows for free modification of relevant parameters, exhibiting high reusability and scalability. Attached Figure Description

[0037] Figure 1 This is a construction effect diagram of the 3D roller effect diagram of an embodiment of the present invention.

[0038] Figure 2 This is a flowchart illustrating the structural process of the method for constructing a 3D scroll wheel effect for in-vehicle multimedia in an embodiment of the present invention.

[0039] Figure 3 This is a structural diagram showing the relationship between the circumcircle and the N-sided polygon in an embodiment of the present invention.

[0040] Figure 4 This is a diagram showing the relationship between the circumcircle and the projected ellipse in an embodiment of the present invention.

[0041] Figure 5 This is a distortion effect diagram of the displayed image in an embodiment of the present invention.

[0042] Figure 6 This is a diagram showing the vertex changes during rotation of the 3D scroll wheel in an embodiment of the present invention.

[0043] Figure 7 This is a structural block diagram of the in-vehicle multimedia system in an embodiment of the present invention. Detailed Implementation

[0044] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0045] Example 1

[0046] Figure 1 This is a construction effect diagram of the 3D roller effect diagram of an embodiment of the present invention; Figure 2 This is a flowchart illustrating the structural process of the method for constructing a 3D scroll wheel effect for in-vehicle multimedia in an embodiment of the present invention.

[0047] This embodiment provides a method for constructing a 3D scroll wheel effect in in-vehicle multimedia systems. This method is applied to in-vehicle multimedia systems and is mainly used to construct a 3D scroll wheel effect image of an N-sided prism. Please refer to... Figure 1In this embodiment, the 3D scroll wheel effect image is used to display multiple display screens. Specifically, the 3D scroll wheel effect image is an N-sided main image with a 3D effect. The side of the N-sided main image is used to provide a scrollable screen for browsing operations. When the user scrolls the 3D scroll wheel effect image through the display module, the scrollable screen on the side changes with the 3D effect as the N-sided main image scrolls.

[0048] The 3D scroll wheel effect construction method in this embodiment is used to construct the 3D scroll wheel effect diagram mentioned above. Please refer to [link / reference]. Figure 2 The method includes:

[0049] 101. Establish a coordinate system, define the circumcircle used to construct the N-gon, take the diameter of the circumcircle as the major axis, and have the same center as the circumcircle. Determine a projection ellipse, define the projection relationship between the circumcircle and the projection ellipse, and obtain the projection formula between the two.

[0050] The processor constructs the circumcircle of an N-sided polygon and determines a projection ellipse. The vertices of the N-sided polygon on the circumcircle are projected onto the projection ellipse to form the base vertices of the N-sided prism in the 3D rendering. In this way, the base vertices of the N-sided prism in the 3D rendering can be planarized. Once the coordinates of the N-sided polygon on the circumcircle are determined, the coordinate positions of the base vertices of the N-sided prism in the 3D rendering can be determined using the projection formula.

[0051] Specifically, the relationship between the circumcircle and the projected ellipse can be defined according to requirements. In this embodiment, the processor uses the diameter of the circumcircle as the major axis and the circumcircle as the center to determine a projected ellipse. The minor axis of the projected ellipse can be adjusted according to the specific shape of the required 3D rendering.

[0052] 102. Determine the coordinates of the first vertex of the N-sided polygon by its circumcircle. Based on the circumcircle relationship between the N-sided polygon and its circumcircle, and the coordinates of the first vertex, determine the coordinates of the remaining vertices.

[0053] To quickly construct the 3D rendering, an initial vertex needs to be defined. Using this vertex as input and its positional relationships with other vertices, the coordinates of the other vertices of the N-gon can be quickly determined. Furthermore, during scrolling, only the coordinates of the vertices after scrolling need to be calculated to quickly obtain the changed positional relationships of the other vertices.

[0054] Specifically, since all vertices of the N-sided polygon lie on the arcs of its circumcircle, and the interior angles formed by adjacent vertices of the N-sided polygon to its center are the same, the relationship between the remaining vertices and the first vertex can be obtained based on these two conditions: the interior angles and the fact that all vertices lie on the arcs of the circumcircle.

[0055] 103. Based on the projection formula and the vertex coordinates of the N-sided polygon, determine the coordinates of the projected vertices on the projection ellipse;

[0056] Once the vertex positions of the N-sided polygon are known, the vertex coordinates of the N-sided polygon on the 3D rendering can be determined using the projection formula. Combined with step 102, once the processor determines the coordinates of the first vertex, the coordinates of the projected vertices on the 3D rendering of the N-sided polygon can be quickly determined using steps 102 and 103.

[0057] 104. Adjust the size of the corresponding display screen according to the position of the projection vertex, use the projection vertex as the vertex of the N-sided prism, and use the adjusted display screen as the side to construct a 3D scroll wheel effect of the N-sided prism.

[0058] The processor calculates the coordinates of the projected vertices of the N-sided polygon, which determines the base of the N-sided main body in the 3D rendering. The side view can then be modified based on the base. Specifically, the display screens correspond to multiple vertices of the N-sided polygon. For example, the display screen between the first vertex and the adjacent second vertex is the first screen, which needs to be modified to transform the flat first screen into the side view in the 3D rendering.

[0059] Finally, the processor uses the projected vertex as the base vertex of the N-sided prism and the adjusted display image as the side to stitch together the images, forming a 3D scroll wheel effect.

[0060] Preferably, the construction method in this embodiment further includes:

[0061] 105. Receive the scroll operation input and calculate the scroll angle of the first vertex during the scrolling process based on the scroll operation input.

[0062] 106. Calculate the coordinates of the first vertex after the change, based on the initial coordinates and the rolling angle of the first vertex.

[0063] 107. Using the coordinates of the first vertex after the change, repeat the construction method to obtain the 3D scroll effect of the N-sided prism after scrolling.

[0064] When the processor constructs a 3D scroll wheel effect image, this 3D scroll wheel effect image serves as the initial image. During use, if the processor receives a scrolling operation from the user, it quickly calculates the coordinates of the first vertex and then quickly reconstructs the changed 3D scroll wheel effect image using the above construction method.

[0065] For example, when a user scrolls the 3D scroll wheel image on the display screen by β degrees, the processor receives and calculates the scroll angle. On the circumcircle, the processor calculates the changed coordinates of the first vertex based on the initial coordinates of the first vertex and the scroll angle. Then, the processor reconstructs the changed 3D scroll wheel image using the changed coordinates of the first vertex in steps 101-104.

[0066] Further preferably, in step 106, the formula for the coordinate change of the first vertex is as follows:

[0067] x'=x*cos(α)-y*sin(α), y'=x*sin(α)+y*cos(α),

[0068] Where x is the x-coordinate of the first vertex on the circumcircle, y is the y-coordinate of the first vertex on the circumcircle, x' is the x-coordinate of the first vertex after the change, y' is the y-coordinate of the first vertex after the change, and α is the rolling angle.

[0069] As a preferred embodiment, in step 101, the step of defining the projection relationship between the circumcircle and the projected ellipse, and obtaining the projection formula between them, specifically includes:

[0070] Define the circumcircle and the projected ellipse by taking the points with the same ordinate as the corresponding points, and determine the projection relationship between the circumcircle and the projected ellipse.

[0071] Based on the projection relationship between the circumcircle and the projected ellipse, the projection formula between them is obtained:

[0072] y” = y, x” = B / A*x;

[0073] Where x is the abscissa of a point on the circumcircle, y is the ordinate of a point on the circumcircle, x” is the abscissa of the corresponding projection point on the projection ellipse, y” is the ordinate of the corresponding projection point on the projection ellipse, A is the major axis of the projection ellipse, and B is the minor axis of the projection ellipse.

[0074] More specifically, the projection relationship between the circumcircle and the projected ellipse changes according to the change of the minor axis of the projected ellipse. After determining the size of the 3D roller effect of the N-sided prism, the sizes of the major and minor axes of the projected ellipse are determined, and then the projection relationship between the circumcircle and the projected ellipse is determined.

[0075] Preferably, in step 102, the step of determining the coordinates of the remaining vertices based on the circumcircle relationship of the N-gon and the circumcircle and the coordinates of the first vertex specifically includes:

[0076] Calculate the interior angles of the N-sided polygon.

[0077] Based on the interior angles of the N-sided polygon, the relative angles between the first vertex and the other vertices can be obtained.

[0078] The coordinates of the remaining vertices are determined on the circumcircle based on the first vertex and the relative angles between the first vertex and the remaining vertices.

[0079] In this context, the interior angle of an N-sided polygon refers to the interior angle of the polygon within the circle, which is the angle formed by the line segments from any two adjacent vertices to the center. Specifically, the formula for calculating this angle is: α = 360° / N.

[0080] Preferably, in step 104, the step of adjusting the size of the corresponding display screen based on the position of the projection vertex includes:

[0081] The positions of the N-sided polygon's edges are determined by the positions of the projected vertices.

[0082] The size of the display screen corresponding to the edge of the N-sided polygon on the display side is adjusted to obtain the adjusted display screen.

[0083] Since the N-sided polygon has N sides, each side corresponds to a screen. The screen is used to provide users with browsing operations. The initial screen is a flat screen. After the processor obtains the position and coordinates of the N-sided polygon's edges, it distorts the flat screen according to the position and coordinates of the N-sided polygon's edges and adjusts it into a 3D effect display screen, which serves as the side of the N-sided polygon's main body.

[0084] Specifically, during adjustment, the display image is distorted while maintaining its width, and its height is aligned parallel to the edge of the N-gon to obtain the adjusted display image. Preferably, the display side is the left side of the N-gon.

[0085] Similarly, preferably, the processor needs to determine the shear slope of the distortion when dealing with display image distortion. Specifically, the formula for calculating the shear slope is:

[0086] k=tan(a)=(X2-X1) / (Y2-Y1),

[0087] Where k is the shear slope, a is the distortion tilt angle of the display screen, and X1, Y1 and X2, Y2 are the x and y coordinates of the two projected vertices of the N-sided polygon's edge, respectively.

[0088] To provide a better user experience, this embodiment provides a specific implementation method, wherein the N-sided polygon is preferably an octagon, and the 3D image effect is an octagonal prism.

[0089] In this implementation, the processor establishes a coordinate system, such as Figure 3 As shown, a circumcircle is established with the origin of the coordinate system as the center. (See diagram.) Figure 4As shown, with the circumcircle diameter as the major axis, a projection ellipse is established to determine the vertex A(x, y) of the octagon, with vertex A as the first vertex.

[0090] Regarding the confirmation of projection points, the processor calculates the coordinates of the other seven points of the octagon using vertex A(x, y) and the interior angle of the octagon, i.e., 45°. Then, according to the projection formula, the coordinates of the projection points corresponding to the eight vertices of the octagon are obtained.

[0091] Regarding the distortion of the displayed image, since the octagonal prism has eight sides, it is necessary to distort all eight displayed images. For example, displayed image one corresponds to line segment one formed by points A and B. Figure 5 As shown, the display screen is adjusted by offsetting according to the coordinates of the projection points of points A and B.

[0092] After the processor obtains the coordinates of the eight projection points and the distorted display images corresponding to the eight projection points, it combines the two to obtain the 3D graphic effect of the mathematical model.

[0093] When the processor receives scroll input from the user, it calculates the scroll angle of the graphic, such as... Figure 6 As shown, based on the scrolling angle and the coordinates of vertex A, the coordinates of vertex A′ after scrolling are calculated. Then, using the above construction method, vertex A′ determines the eight vertices of the octagon, and then determines eight projection points. The eight display images are distorted, and finally the 3D graphic effect of the mathematical model is reconstructed.

[0094] The advantage of this embodiment is that it utilizes the processor to construct a 3D scroll wheel effect using the in-vehicle multimedia 3D scroll wheel construction method without introducing an external 3D engine, and then displays it through the display module. This 3D graphics construction method is constructed solely by the processor executing software algorithms, which is reliable and efficient in calculation, fast in image construction, and does not require the introduction of an external 3D engine, thus reducing the cost of the vehicle system. It also has low performance consumption on the vehicle system, high stability and robustness, and allows for free modification of relevant parameters, resulting in high reusability and scalability.

[0095] Example 2

[0096] Figure 7 This is a structural block diagram of the in-vehicle multimedia system in an embodiment of the present invention.

[0097] Please see Figure 7This embodiment provides an in-vehicle multimedia system, which includes a processor 201 and a display module 202. The processor 201 is used to calculate the data in the in-vehicle multimedia system. The in-vehicle multimedia system executes the 3D scroll wheel effect construction method through the processor 201 and outputs the constructed 3D scroll wheel effect image of an N-sided prism to the display module 202 for display.

[0098] The method for creating the 3D scroll wheel effect in the vehicle multimedia system includes:

[0099] Establish a coordinate system, define the circumcircle used to construct the N-gon, take the diameter of the circumcircle as the major axis, and have the same center as the circumcircle. Determine a projection ellipse, define the projection relationship between the circumcircle and the projection ellipse, and obtain the projection formula between the two.

[0100] The coordinates of the first vertex of the N-gon are determined by the circumcircle. Based on the circumcircle relationship between the N-gon and the circumcircle and the coordinates of the first vertex, the coordinates of the remaining vertices are determined.

[0101] Determine the coordinates of the projected vertices on the projected ellipse based on the projection formula and the vertex coordinates of the N-sided polygon.

[0102] The size of the corresponding display screen is adjusted according to the position of the projection vertex. The projection vertex is used as the bottom vertex of the N-sided prism, and the adjusted display screen is used as the side surface to construct a 3D scroll wheel effect of the N-sided prism.

[0103] Specifically, in this embodiment, the method for constructing the 3D scroll wheel effect of in-vehicle multimedia adopts the method for constructing the 3D scroll wheel effect of in-vehicle multimedia in Embodiment 1.

[0104] Example 3

[0105] This embodiment provides a storage medium storing a computer program. When the computer program is executed by a processor, it implements the method for constructing the 3D scroll wheel effect of in-vehicle multimedia as described in Embodiment 1.

[0106] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the implementation of the present invention. Those skilled in the art can make other variations or modifications based on the above description. It is neither necessary nor possible to exhaustively describe all embodiments here. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the claims of the present invention.

Claims

1. A method for constructing a 3D scroll wheel effect in in-vehicle multimedia, characterized in that, An application to an in-vehicle multimedia system, the system including a processor, the method for constructing a 3D scroll wheel effect image of an N-sided prism on the in-vehicle multimedia system, the 3D scroll wheel effect image being used to display multiple display screens, the method comprising: Establish a coordinate system, define the circumcircle used to construct the N-gon, take the diameter of the circumcircle as the major axis, and have the same center as the circumcircle. Determine a projection ellipse, define the projection relationship between the circumcircle and the projection ellipse, and obtain the projection formula between the two. The coordinates of the first vertex of the N-gon are determined by the circumcircle. Based on the circumcircle relationship between the N-gon and the circumcircle and the coordinates of the first vertex, the coordinates of the remaining vertices are determined. Determine the coordinates of the projected vertices on the projected ellipse based on the projection formula and the vertex coordinates of the N-sided polygon. The size of the corresponding display screen is adjusted according to the position of the projection vertex. The projection vertex is used as the bottom vertex of the N-sided prism, and the adjusted display screen is used as the side surface to construct a 3D scroll wheel effect of the N-sided prism.

2. The method for constructing a 3D scroll wheel effect for in-vehicle multimedia according to claim 1, characterized in that, The construction method also includes: Receive scroll operation input, and calculate the scroll angle of the first vertex during the scrolling process based on the scroll operation input; Based on the initial coordinates and rolling angle of the first vertex, the coordinates of the first vertex after the change are calculated; By repeating the construction method with the coordinates of the first vertex after the change, a 3D scroll wheel effect of the N-sided prism after scrolling is obtained.

3. The method for constructing a 3D scroll wheel effect for in-vehicle multimedia according to claim 2, characterized in that, The formula for the coordinate change of the first vertex is: x′=x*cos(α)-y*sin(α), y′=x*sin(α)+y*cos(α), Where x is the x-coordinate of the first vertex on the circumcircle, y is the y-coordinate of the first vertex on the circumcircle, x′ is the x-coordinate of the first vertex after the change, y′ is the y-coordinate of the first vertex after the change, and α is the rolling angle.

4. The method for constructing a 3D scroll wheel effect for in-vehicle multimedia according to claim 1, characterized in that, The definition of the projection relationship between the circumcircle and the projected ellipse, and the resulting projection formula between them, include: Define the circumcircle and the projected ellipse by taking the points with the same ordinate as the corresponding points, and determine the projection relationship between the circumcircle and the projected ellipse. Based on the projection relationship between the circumcircle and the projected ellipse, the projection formula between them is obtained: y″ = y, x″ = B / A*x; Where x is the x-coordinate of a point on the circumcircle, y is the y-coordinate of a point on the circumcircle, x″ is the x-coordinate of the corresponding projection point on the projection ellipse, y″ is the y-coordinate of the corresponding projection point on the projection ellipse, A is the major axis of the projection ellipse, and B is the minor axis of the projection ellipse.

5. The method for constructing a 3D scroll wheel effect for in-vehicle multimedia according to claim 1, characterized in that, The step of determining the coordinates of the remaining vertices based on the circumcircle relationship of the N-gon and its circumcircle and the coordinates of the first vertex includes: Calculate the interior angles of the N-sided polygon; Based on the interior angles of the N-sided polygon, the relative angles between the first vertex and the other vertices can be obtained; The coordinates of the remaining vertices are determined on the circumcircle based on the first vertex and the relative angles between the first vertex and the remaining vertices.

6. The method for constructing a 3D scroll wheel effect for in-vehicle multimedia according to claim 1, characterized in that, The step of adjusting the size of the corresponding display screen based on the position of the projection vertex includes: The positions of the N-sided polygon's edges are determined by the positions of the projected vertices; The size of the display screen corresponding to the edge of the N-sided polygon on the display side is adjusted to obtain the adjusted display screen.

7. The method for constructing a 3D scroll wheel effect for in-vehicle multimedia according to claim 6, characterized in that, The adjustment of the display screen size corresponding to the N-sided polygon edge on the display side includes: The display on the display side is distorted by keeping the screen width unchanged and aligning the screen height with the parallel and aligned edges of the N-gon to obtain the adjusted display screen. The display side is the left side of the N-sided polygon.

8. The method for constructing a 3D scroll wheel effect for in-vehicle multimedia according to claim 7, characterized in that, The tangent slope of the displayed image distortion is calculated based on the two projected vertices of the corresponding N-sided polygon's edge. The formula for calculating the tangent slope is: k=tan(a)=(X2-X1) / (Y2-Y1), Where k is the shear slope, a is the distortion tilt angle of the display screen, and X1, Y1 and X2, Y2 are the x and y coordinates of the two projected vertices of the N-sided polygon's edge, respectively.

9. A vehicle-mounted multimedia system, characterized in that, The system includes a processor and a display module. The processor is used to calculate data in the in-vehicle multimedia system. The in-vehicle multimedia system executes the 3D scroll wheel effect construction method of any one of claims 1-8 through the processor, and outputs the constructed 3D scroll wheel effect image of an N-sided prism to the display module for display.

10. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the method for constructing a vehicle multimedia 3D scroll wheel effect as described in any one of claims 1-8.

Citation Information

Patent Citations

  • Fisheye image processing method and device and electronic equipment

    CN109816587A

  • Method and system for demonstrating function of vehicle-mounted heads up display, and computer-readable storage medium

    US20200282833A1