Method, device and electronic device for determining projection area
By acquiring and processing simulation data, establishing projection lines and connecting lines, and determining projection areas, the problem of complex determination of on-board screen projection areas in the prior art is solved, and the rapid and efficient calibration of projection equipment layout locations is achieved. Simplifies the vehicle design process.
Patent Information
- Application Number
- CN202211534864.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2024-12-17
- Estimated Expiration
- 2042-11-29
AI Technical Summary
In the prior art, the method of determining the projection area of the on-board screen is complex and has a large amount of calculation, and it is impossible to quickly and efficiently determine the projection area, resulting in cumbersome, time-consuming and inefficient operation during the vehicle design process.
By obtaining simulation data of projection equipment, shadow bearing equipment and user eye points, establishing projection lines and connection lines, determining the reflection points of projection points, and determining the projection area based on these points, the layout and position verification process of projection equipment is simplified and the reduction of the reduction of the The calculation volume is improved and the accuracy is improved.
It realizes the suitability of quickly and efficiently checking the layout position of the projection equipment in the simulation software environment, simplifies the projection verification process, reduces the need to use multiple design software, and improves computing efficiency and accuracy.
Smart Images

Figure CN115866222B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of vehicle design technology, and in particular to a method, device and electronic device for determining a projection area. Background Art
[0002] With the rapid development of vehicle intelligence, in-vehicle screens are being used more and more widely. For example, in-vehicle screens can be used to provide navigation, reversing images, etc. for drivers. However, if the in-vehicle screen is not properly positioned in the vehicle, a projection of the in-vehicle screen may be formed on the glass surface of the front windshield or side windshield. In this way, the projection area formed on the glass surface may affect the driver's safe field of vision, thereby posing a safety hazard.
[0003] At present, in order to avoid safety hazards caused by the projection area formed by the vehicle screen, simulation software is usually used in the vehicle development process. Based on the projection device corresponding to the vehicle screen in the simulation software and the image-bearing device corresponding to the glass surface in the simulation software, the projection area formed by the projection device on the image-bearing device is analyzed, and the layout of the projection device is optimized based on the analysis results of the simulation software.
[0004] However, the current method for determining the projection area is complex and computationally intensive, and is unable to determine the projection area quickly and efficiently. Summary of the invention
[0005] In view of the above problems, an embodiment of the present invention provides a method for determining a projection area, which is used to solve the problem that the method for determining a projection area in the prior art is complex, has a large amount of calculation, and cannot determine the projection area quickly and efficiently.
[0006] According to one aspect of an embodiment of the present invention, a method for determining a projection area is provided, the method comprising:
[0007] Acquire first simulation data of a projection device, second simulation data of an image receiving device, and third simulation data of a user's eye point; wherein the first simulation data includes simulation point data of a plurality of projection points on the projection device;
[0008] Based on the simulation point data, the second simulation data and the third simulation data, a projection line on the image receiving device is established;
[0009] Based on the projection line, determining a reflection point of the projection point;
[0010] Based on the reflection points of all the projection points, a projection area is determined.
[0011] In an optional manner, establishing the projection line on the image receiving device based on the simulation point data, the second simulation data and the third simulation data includes:
[0012] Establishing a first connection line based on the simulation point data and the third simulation data;
[0013] A projection line on the imaging device is established based on the first connecting line and the second simulation data.
[0014] In an optional manner, determining the reflection point of the projection point based on the projection line includes:
[0015] Selecting a candidate reflection point on the projection line, wherein the candidate reflection point is any point on the projection line;
[0016] Establishing a second connecting line based on the candidate reflection point and the simulation point data;
[0017] Establishing a third connecting line based on the candidate projection point and the third simulation data;
[0018] Based on the second connecting line and the third connecting line, determine the incident angle and the reflection angle corresponding to the candidate reflection point; wherein the incident angle is the angle between the second connecting line and the normal line, and the reflection angle is the angle between the third connecting line and the normal line, and the normal line passes through the candidate reflection point and is perpendicular to the image receiving device;
[0019] If the incident angle and the reflection angle corresponding to the candidate reflection point are equal in magnitude, the candidate reflection point is determined to be the reflection point of the projection point on the projection line.
[0020] In an optional manner, the method further includes:
[0021] If the incident angles and reflection angles corresponding to all candidate reflection points on the projection line are not equal, it is determined that there is no reflection point on the projection point on the image receiving device.
[0022] In an optional manner, it also includes:
[0023] If there is no projection line corresponding to the first connecting line on the image receiving device, it is determined that the projection point does not have the reflection point on the image receiving device.
[0024] In an optional manner, the user eye point includes a first eye point and a second eye point, and the step of obtaining third simulation data of the user eye point includes:
[0025] Acquire first eye point simulation data of the first eye point and second eye point simulation data of the second eye point;
[0026] using the first eye point simulation data and / or the second eye point simulation data as the third simulation data; or,
[0027] The third simulation data is determined according to the first eye-point simulation data and the second eye-point simulation data.
[0028] In an optional manner, after acquiring first eyepoint simulation data of the first eyepoint and second eyepoint simulation data of the second eyepoint, the method includes:
[0029] respectively using the first eye point simulation data and the second eye point simulation data as the third simulation data, and sequentially determining the corresponding first projection area and second projection area;
[0030] The projection area is determined based on the first projection area and the second projection area.
[0031] In an optional manner, the method further includes:
[0032] Determining a safe field of view of the imaging device based on the second simulation data of the imaging device;
[0033] Based on the safety field of view and the projection area, it is determined whether the arrangement position of the projection device is appropriate.
[0034] According to another aspect of an embodiment of the present invention, a device for determining a projection area is provided, the device comprising:
[0035] An acquisition module, used to acquire first simulation data of a projection device, second simulation data of a projection device, and third simulation data of a user's eye point; wherein the first simulation data includes simulation point data of a plurality of projection points on the projection device;
[0036] A projection line establishing module, used for establishing a projection line on the image receiving device based on the simulation point data, the second simulation data and the third simulation data;
[0037] A reflection point determination module, used to determine the reflection point of the projection point based on the projection line;
[0038] The projection area determination module is used to determine the projection area based on the reflection points of all the projection points.
[0039] In an optional manner, the projection line establishment module is specifically used to establish a first connection line based on the simulation point data and the third simulation data; and to establish a projection line on the imaging device based on the first connection line and the second simulation data.
[0040] In an optional manner, a reflection point determination module is specifically used to select an alternative reflection point on the projection line, wherein the alternative reflection point is any point on the projection line; a second connecting line is established based on the alternative reflection point and the simulation point data; a third connecting line is established based on the alternative projection point and the third simulation data; based on the second connecting line and the third connecting line, an incident angle and a reflection angle corresponding to the alternative reflection point are determined; wherein the incident angle is the angle between the second connecting line and the normal, and the reflection angle is the angle between the third connecting line and the normal, and the normal passes through the alternative reflection point and is perpendicular to the image receiving device; if the incident angle and the reflection angle corresponding to the alternative reflection point are equal in size, the alternative reflection point is determined to be the reflection point of the projection point on the projection line.
[0041] In an optional manner, the projection area determination module is also used to determine that there is no reflection point on the projection point on the projection device if the incident angles and reflection angles corresponding to all the candidate reflection points on the projection line are not equal.
[0042] In an optional manner, the projection area determination module is further used to determine that the projection point does not have the reflection point on the imaging device if there is no projection line corresponding to the first connecting line on the imaging device.
[0043] In an optional manner, the user's eye point includes a first eye point and a second eye point, and an acquisition module is specifically used to obtain first eye point simulation data of the first eye point and second eye point simulation data of the second eye point; use the first eye point simulation data and / or the second eye point simulation data as the third simulation data; or determine the third simulation data based on the first eye point simulation data and the second eye point simulation data.
[0044] In an optional manner, the projection area determination module is specifically used to use the first eye point simulation data and the second eye point simulation data as the third simulation data, respectively, to determine the corresponding first projection area and second projection area in sequence; and determine the projection area based on the first projection area and the second projection area.
[0045] According to another aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; the memory is used to store at least one executable instruction, wherein the executable instruction enables the processor to perform the operation of the method for determining a projection area as described in any one of the above-mentioned invention contents.
[0046] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and when the executable instruction is executed on a device / electronic device for determining a projection area, the device / electronic device for determining a projection area performs the operation of a method for determining a projection area as described in any one of the above-mentioned invention contents.
[0047] The method for determining the projection area provided in the embodiment of the present invention can verify whether the layout position of the projection device is appropriate in the working environment of the simulation software. In this way, the layout scheme optimization of the projection device and the projection verification can be realized simultaneously, and there is no need to repeatedly use multiple design software for projection verification, thereby simplifying the projection verification process, and being able to quickly and efficiently determine whether the layout position of the verification projection device is appropriate. In addition, the method for determining the projection area provided in the embodiment of the present invention, when determining the reflection point of the projection point, first narrows the range of the reflection point of the projection point to the projection line on the receiving device, and then determines the reflection point of the projection point on the projection line based on the projection line, the reflection point and the user's eye point. In this way, compared with the solution of directly finding the reflection point corresponding to the projection point on the receiving device, the present invention can reduce the amount of calculation for determining the reflection point and improve the accuracy of the determined reflection point.
[0048] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0050] Figure 1 A schematic flow chart of a method for determining a projection area provided by the present invention is shown;
[0051] Figure 2 A schematic diagram showing a method for establishing a projection line on a projection device provided by an embodiment of the present invention is shown;
[0052] Figure 3 A schematic structural diagram of a device for determining a projection area provided by the present invention is shown;
[0053] Figure 4 A structural schematic diagram of an electronic device provided by the present invention is shown.
[0054] Description of Reference Numerals
[0055] 10-image receiving device, 20-projection device, 21-projection point, 30-user in the vehicle, 31-user eye point, 40-alternative reflection point. DETAILED DESCRIPTION
[0056] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.
[0057] Vehicles usually include some reflective parts, such as dashboards, onboard screens, metal strip interiors, etc. These reflective parts have their own beneficial effects, but they may also bring some negative effects. For example, if these reflective parts are not properly arranged in the vehicle, they may form corresponding projections on the glass surface of the front windshield or side windshield. In this way, the projection formed on the glass surface may affect the driver's field of vision, thereby posing a safety hazard.
[0058] Taking the component with reflective properties as the vehicle screen and the glass surface as the glass surface of the vehicle window as an example, at present, in order to avoid safety hazards caused by the projection area formed by the vehicle screen on the glass surface, simulation software is usually used in the vehicle development process to analyze the projection area formed by the projection device on the projection device based on the projection device corresponding to the vehicle screen in the simulation software and the projection device corresponding to the glass surface in the simulation software, and optimize the layout of the projection device based on the analysis results of the simulation software.
[0059] However, the current method for determining the projection area is complex and cannot be determined quickly and efficiently. For example, at present, most vehicle design engineers use CAITA software for vehicle design, but there is no projection verification function in CAITA software. Therefore, every time a projection verification is performed, the vehicle model designed by CAITA software must be imported into UG, RAMSSIS, CAVA, OPTIS and other software for projection verification.
[0060] However, due to factors such as data format and software version, the projection equipment and image receiving equipment designed by CAITA software need to be converted before they can be imported into UG and other software for projection verification. The converted projection equipment and image receiving equipment are reflected in UG and other software in the form of parameter elimination. In this way, if the projection equipment layout plan is determined to be unreasonable through UG and other software, the layout parameters of the projection equipment cannot be directly adjusted in UG and other software. It is also necessary to re-adjust the layout parameters of the projection equipment on CAITA software and then import them into UG and other software for verification. In this way, at least two design softwares are required to complete the projection verification.
[0061] It can be seen that when performing projection verification on the vehicle scheme designed by CAITA software, it is necessary to repeatedly use multiple design software, which is cumbersome, time-consuming and inefficient.
[0062] In order to solve the problem that when performing projection verification on a vehicle solution designed by CAITA software, multiple design software need to be used repeatedly, which is cumbersome, time-consuming and inefficient, the present invention discloses a method, device and electronic device for determining a projection area.
[0063] The method for determining the projection area disclosed in the present invention can perform projection verification based on a vehicle solution designed by CAITA software, and can simultaneously implement solution optimization and projection verification based on CAITA software, without repeatedly using multiple design software for projection verification.
[0064] Exemplarily, a projection verification template can be created based on CAITA software, and the projection verification template is used to execute the method for determining the projection area disclosed in the present invention. In this way, the designed vehicle screen can be mapped to the CAITA software, and the projection device can be obtained in the CAITA software. Correspondingly, the designed glass surface can also be mapped to the CAITA software, and the projection device can be obtained in the CAITA software. Then, the projection verification template in the CAITA software can be directly used to determine whether the layout position of the projection device is appropriate, without the need to repeatedly use multiple design software. This can simplify the projection verification process, thereby quickly and efficiently determining whether the layout position of the verification projection device is appropriate.
[0065] It should be noted that the method for determining the projection area disclosed in the embodiment of the present invention is not only applicable to CAITA software, but also to UG, RAMSSIS, CAVA, OPTIS and other software. The method for determining the projection area disclosed in the embodiment of the present invention has the advantages of small calculation amount and accurate determination of the projection area.
[0066] The following is an exemplary description of the method for determining the projection area disclosed in the embodiment of the present invention.
[0067] Figure 1 FIG. 1 is a flowchart of a method for determining a projection area provided by an embodiment of the present invention, and the method is executed by an electronic device. Figure 1 As shown, the method comprises the following steps:
[0068] Step 110: Acquire first simulation data of the projection device, second simulation data of the image receiving device, and third simulation data of the user's eye point.
[0069] First of all, it should be noted that in the following description of the embodiments of the present invention, the projection device, the image receiving device and the user eye point all refer to corresponding objects in the simulation software (such as: CAITA, UG, RAMSSIS, CAVA, OPTIS and other software).
[0070] Among them, the projection device in the embodiment of the present invention can correspond to any component in the vehicle that has reflective properties and can form a projection on the image-bearing device. For example, the projection device can correspond to the instrument panel, the vehicle screen, the metal strip interior, etc.
[0071] The first simulation data may include position information, angle information, size information, etc. of the projection device. For example, the projection device corresponds to a vehicle screen, and the corresponding first simulation data may include position information, angle information, size information, etc. corresponding to the vehicle screen.
[0072] The projection device refers to a device that carries the projection, such as a front windshield or a side windshield of a vehicle.
[0073] The second simulation data may include position information of a window frame of the simulated vehicle, position information of a glass surface of the window, size information of the glass surface of the window, curvature of the glass surface of the window, and the like.
[0074] In the present invention, the user eye point is used to characterize the position of the eyes of the user (such as the driver) in the simulated vehicle. The user eye point includes a first eye point and a second eye point. For example, the first eye point corresponds to the left eye of the user, and the second eye point corresponds to the right eye of the user.
[0075] The present invention can use the first eye point simulation data of the first eye point and / or the second eye point simulation data of the second eye point as the third simulation data. Exemplarily, the first eye point simulation data of the first eye point and the second eye point simulation data of the second eye point can be obtained first; then, the first eye point simulation data or the second eye point simulation data can be used as the third simulation data, or both the first eye point simulation data and the second eye point simulation data can be used as the third simulation data.
[0076] The present invention can also determine the third simulation data based on the first eye point simulation data of the first eye point and the second eye point simulation data of the second eye point. Exemplarily, the first eye point simulation data of the first eye point and the second eye point simulation data of the second eye point can be obtained first; then, the third simulation data can be determined based on the first eye point simulation data and the second eye point simulation data. For example, the center point between the first eye point and the second eye point can be determined based on the first eye point simulation data and the second eye point simulation data, and finally, the center point is used as the third simulation data.
[0077] In different vehicle design requirements, the calculation method for the user's eye point may be different. The present invention can calculate the user's eye point according to any current standard. For example, the user's eye point in the vehicle can be calculated based on the human body hard points arranged by ergonomics and the SAE941 standard.
[0078] It should be noted that the first simulation data of the projection device, the second simulation data of the image receiving device, and the third simulation data of the user's eye point may be input by a user (such as a vehicle design engineer) or obtained from a server or a local storage device, and the present invention does not limit this. The server or the local storage device may store the first simulation data of the projection device, the second simulation data of the image receiving device, and the third simulation data of the user's eye point.
[0079] The first simulation data includes simulation point data of multiple projection points on the projection device. The present invention does not limit the method for determining the projection points.
[0080] Exemplarily, the projection point may be a point on the outline of the projection device. The outline of the projection device refers to the outer edge line of the projection device. For example, if the projection device corresponds to a rectangular vehicle screen, then the outline corresponding to the vehicle screen is a rectangular frame. For another example, if the projection device corresponds to a circular instrument panel, then the outline corresponding to the circular instrument panel is a circular frame.
[0081] In this way, the contour of the projection device can be extracted based on the first simulation data of the projection device, and then multiple projection points can be further selected on the contour of the projection device. The present invention does not limit the selection of multiple projections on the contour of the projection device. For example, multiple projection points can be selected at equal intervals on the contour of the projection device, so that any two adjacent projection points among the multiple projection points have equal spacing on the contour of the projection device.
[0082] In addition, after the outline of the projection device is extracted, the extracted outline of the projection device can be displayed on the display interface. The positions of each projection point can also be marked on the display interface.
[0083] The present invention does not limit the specific implementation method of extracting the contour of the projection device. For example, the extraction function provided by the simulation software can be called to extract the contour of the projection device. For another example, a contour extraction function can be designed separately, and then the contour of the projection device can be extracted using the contour extraction function.
[0084] Since the projection area corresponding to the outline of the projection device can reflect the maximum projection area of the projection device on the image receiving device, the present invention can determine the projection area of the projection device on the image receiving device based on the outline of the projection device. Furthermore, the present invention determines the projection area of the projection device on the image receiving device based on multiple projection points on the outline of the projection device, so that the amount of calculation for determining the projection area can be reduced.
[0085] Step 120: Establish a projection line on the image receiving device based on the simulation point data, the second simulation data and the third simulation data.
[0086] Firstly, the present invention can extract the structure of the image receiving device based on the second simulation data.
[0087] Taking the front windshield corresponding to the projection device as an example, the front windshield includes two surfaces, one of which is located on the inside of the vehicle and the other is located on the outside of the vehicle. Since the projection device in the vehicle will form a projection on the glass surface located on the inside of the vehicle, the glass surface in the embodiment of the present invention refers to the glass surface of the vehicle window located on the inside of the vehicle.
[0088] After the glass surface of the front windshield is extracted, a structural diagram of the extracted glass surface, such as a three-dimensional diagram or a two-dimensional diagram, can be displayed on a display interface. For example, based on CAITA software, when step 120 is executed, a three-dimensional diagram of the glass surface can be displayed on a display interface in a working environment of CAITA software. For another example, based on UG software, when step 120 is executed, a three-dimensional diagram of the glass surface can be displayed on a display interface in a working environment of UG software.
[0089] The present invention does not limit the specific implementation method of extracting the glass surface of the front windshield. For example, the extraction function provided by the simulation software can be called to extract the glass surface of the front windshield. For another example, a glass surface extraction function can also be designed separately, and then the glass surface of the front windshield is extracted using the glass surface extraction function.
[0090] Then, a first connection line may be established based on the simulation point data and the third simulation data.
[0091] Finally, based on the first connecting line and the second simulation data, a projection line on the imaging device is established.
[0092] Figure 2 A schematic diagram of a method for establishing a projection line on a projection device provided in an embodiment of the present invention. Figure 2 The simulation software interface shown includes an image receiving device 10 , a projection device 20 , a user 30 in a vehicle, and a user eye point 31 .
[0093] like Figure 2As shown, the reflection point of the first projection point 21 on the outline of the projection device 20 is determined as an example. First, based on the simulation point data and the third simulation data, a first connection line l1 between the user's eye point 31 and the projection point 21 is constructed; then, the first connection line l1 is projected onto the image receiving device 10 to obtain a projection line l1 of the first connection line L1 on the image receiving device 10. 投 .
[0094] It should be noted that if there is a projection line l corresponding to the first connection line l1 on the image receiving device 10 投 , then it means the projection line l 投 There may be a reflection point corresponding to the projection point 21 on the projection line l, so that the subsequent step 130 can be continued to determine the projection point 21 on the projection line l 投 If there is no projection line l corresponding to the first connecting line l1 on the image receiving device 10 投 , it means that the projection point 21 will not form a reflection point on the image receiving device 10. In this way, the step of determining the reflection point of the projection point 21 on the image receiving device 10 is completed.
[0095] Step 130: Determine the reflection point of the projection point based on the projection line.
[0096] At present, in the process of reflection verification based on software such as UG, RAMSSIS, CAVA, OPTIS, etc., the method for determining the reflection point of the projection point on the image receiving device 10 is usually to find the reflection point corresponding to the projection point on the entire image receiving device. This results in a large amount of calculation, and the reflection point found may not be accurate.
[0097] The embodiment of the present invention first narrows the range of the reflection point of the projection point 21 to the projection line l on the image receiving device 10. 投 On the projection line l 投 , projection point 21 and user eye point 31, determine that projection point 21 is on projection line l 投 Thus, compared with the solution of directly finding the reflection point corresponding to the projection point 21 on the image receiving device 10, the present invention can reduce the amount of calculation for determining the reflection point and improve the accuracy of the determined reflection point.
[0098] In one possible implementation, based on the projection line l 投 , determine the reflection point of the projection point 21, which can be achieved in the following way: Please continue to refer to Figure 2 , we can first 投 Select the candidate reflection point 40, which is the projection line l 投Then, based on the candidate reflection point 40 and the simulation point data, a second connection line l2 is established, so that the connection between the candidate reflection point 40 and the projection point 21 is obtained. Then, based on the candidate reflection point 40 and the third simulation data, a third connection line l3 is established, so that the connection between the candidate reflection point 40 and the user's eye point 31 is obtained. Next, based on the second connection line l2 and the third connection line l3, the incident angle α and the reflection angle β corresponding to the candidate reflection point 40 are determined, where the incident angle α is the angle between the second connection line l2 and the normal l 法 The angle between the third connecting line l3 and the normal line l 法 The angle between the normal line l 法 The candidate reflection point 40 is passed through and is perpendicular to the image receiving device 10. Finally, when the incident angle α and the reflection angle β corresponding to the candidate reflection point 40 are the same, the candidate reflection point 40 is determined to be the projection point 21 on the projection line l. 投 The reflection point on.
[0099] That is to say, the present invention traverses the projection line l 投 The candidate reflection point 40 on the projection line l is found to satisfy the equal magnitude of the incident angle α and the reflection angle β, and the candidate reflection point 40 satisfying the equal magnitude of the incident angle α and the reflection angle β is determined as the projection point 21 on the projection line l. 投 The reflection point on.
[0100] It should be noted that if the projection line l 投 If the incident angles α and the reflection angles β corresponding to all the candidate reflection points 40 on the image receiving device 10 are not equal, it is determined that there is no reflection point for the projection point 21 on the image receiving device 10 .
[0101] After determining the reflection point corresponding to the first projection point 21, repeat the above step 130 to determine the reflection point corresponding to each remaining projection point on the contour of the projection device 20 one by one. In this way, the reflection point corresponding to each projection point on the contour of the projection device 20 is obtained.
[0102] Step 140: Determine the projection area based on the reflection points of all projection points.
[0103] Taking the projection device corresponding to the vehicle-mounted screen as an example, after obtaining the reflection point corresponding to each projection point on the outline of the projection device 20, the area enclosed by connecting the reflection points in sequence is determined as the projection area of the projection device 20 on the receiving device 10.
[0104] It should be noted that if the third simulation data is the first eye point simulation data of the first eye point or the second eye point simulation data of the second eye point, or the third simulation data is data based on the first eye point simulation data and the second eye point simulation data, the projection area can be determined according to the method provided in the above embodiment. That is to say, if the third simulation data corresponds to an eye point position, each of the multiple projection points corresponds to a reflection point, so that the reflection point of each of the multiple projection points can enclose an area, that is, the projection area of the projection device.
[0105] If the third simulation data includes the first eye point simulation data and the second eye point simulation data, then when determining the projection area of the projection device, the first eye point simulation data and the second eye point simulation data can be used as the third simulation data respectively to determine the corresponding first projection area and second projection area in turn; then, based on the first projection area and the second projection area, the projection area is determined.
[0106] For example, the first projection line on the image receiving device can be established based on the simulation point data, the second simulation data, and the first eye point simulation data; then, based on the first projection line, the first reflection point of the projection point is determined; then, based on the first reflection points of all projection points, the first projection area is determined. Then, based on the simulation point data, the second simulation data, and the second eye point simulation data, the second projection line on the image receiving device is established; then, based on the second projection line, the second reflection point of the projection point is determined; then, based on the second reflection points of all projection points, the second projection area is determined. Finally, the union of the first projection area and the second projection area is determined as the projection area.
[0107] The steps of establishing the first projection line and the second projection line can refer to the description of the above step 120; the steps of determining the first reflection point and the second reflection point can refer to the description of the above step 130; the steps of determining the first sub-projection area and the second sub-projection area can refer to the description of the above step 140. The above will not be repeated here.
[0108] In order to check whether the layout position of the projection equipment is appropriate, after determining the projection area of the projection equipment, the following steps may also be included: first obtain the safe field of view area on the projection equipment; then, based on the safe field of view area and the projection area, determine whether the layout position of the projection equipment is appropriate.
[0109] The safe visual field area may be a safe visual field area calculated according to relevant standards. For example, the safe visual field area corresponding to the glass surface 10 in the vehicle may be calculated according to the national standard GB11532-2014 for the requirements and measurement methods of the front visual field of automobile drivers.
[0110] In one possible implementation, determining whether the arrangement position of the projection device is appropriate based on the safety field of view area and the projection area can be implemented in the following manner: first determine whether there is an overlapping area between the safety field of view area and the projection area. If there is an overlapping area, further determine whether the overlapping area is greater than a preset area threshold. If the overlapping area is greater than the preset area threshold, it is determined that the arrangement position of the projection device is inappropriate, and the first simulation data of the projection device needs to be readjusted. If there is no overlapping area or the overlapping area is less than or equal to the preset area threshold, it is determined that the arrangement position of the projection device is appropriate, and there is no need to readjust the first simulation data of the projection device.
[0111] Further, after adjusting the first simulation data of the projection device, the adjusted first simulation data of the projection device may be reacquired, and the projection area may be re-determined based on the adjusted first simulation data of the projection device.
[0112] Exemplarily, a projection verification template can be created based on the CAITA software, and the projection verification template is used to perform the above-mentioned steps of determining the projection area and determining whether the arrangement position of the projection device is appropriate. After triggering the projection verification template, an input window can be displayed on the display interface under the working environment of the CAITA software, and the user can enter the adjusted first simulation data of the projection device through the input window. Then, the projection verification template calculates the projection area and determines whether the arrangement position of the projection device is appropriate based on the input adjusted first simulation data of the projection device. It can be seen that when the arrangement position of the projection device is not appropriate, the first simulation data of the projection device can be directly adjusted in the CAITA software, and then, the adjusted first simulation data of the projection device can be re-entered in the working environment of the CAITA software, and the arrangement position of the adjusted projection device can be re-checked. Repeated verification until the arrangement position of the projection device is adjusted to be appropriate. In this way, the scheme optimization and projection verification can be realized simultaneously in the CAITA software, without repeatedly using multiple design software for projection verification.
[0113] Accordingly, the verification results can be displayed on the display interface in the working environment of the CAITA software, wherein the verification results can be displayed in the form of icons and / or texts. For example, the safe field of view area, the projection area, and the overlapping area of the safe field of view area and the projection area are displayed on the display interface, and the area value of the overlapping area of the safe field of view area and the projection area is displayed in the overlapping area of the safe field of view area and the projection area. In this way, the user can intuitively receive the projection verification results.
[0114] It should be noted that the above embodiment is only exemplified by the image receiving device 10 corresponding to the glass surface of the front windshield, and does not limit the image receiving device 10. For example, the image receiving device 10 may also correspond to the glass surface of the side windshield. When the image receiving device 10 corresponds to the glass surface of the side windshield, the method provided in the above embodiment can also be used to determine the corresponding projection area.
[0115] In summary, the method for determining the projection area provided by the embodiment of the present invention has at least the following beneficial effects: First, it is possible to check whether the layout position of the projection equipment is appropriate in the working environment of the simulation software (such as CAITA software). In this way, the layout scheme optimization of the projection equipment and the projection verification can be carried out simultaneously, without the need to repeatedly use multiple design software for projection verification, thereby simplifying the projection verification process, and being able to quickly and efficiently determine whether the layout position of the projection equipment is appropriate. Second, when determining the reflection point of the projection point, the present invention first narrows the range of the reflection point of the projection point to the projection line on the receiving device, and then determines the reflection point of the projection point on the projection line based on the projection line, the projection point and the user's eye point. In this way, compared with the solution of directly finding the reflection point corresponding to the projection point on the receiving device, the present invention can reduce the amount of calculation for determining the reflection point and improve the accuracy of the determined reflection point. In addition, the method for determining the projection area provided in the embodiment of the present invention is also applicable to software such as UG, RAMSSIS, CAVA, OPTIS, etc. In the working environment of simulation software such as UG, RAMSSIS, CAVA, OPTIS, etc., the method provided in the embodiment of the present invention is used to determine the projection area, which can reduce the amount of calculation and improve the accuracy of the determined reflection point.
[0116] The following are device embodiments provided by the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.
[0117] Figure 3 FIG. 2 shows a schematic diagram of a device for determining a projection area provided by an embodiment of the present invention. Figure 3 As shown, the device 200 includes: an acquisition module 210, a projection line establishment module 220, a reflection point determination module 230 and a projection area determination module 240.
[0118] The acquisition module 210 is used to acquire first simulation data of the projection device, second simulation data of the image receiving device, and third simulation data of the user's eye point; wherein the first simulation data includes simulation point data of multiple projection points on the projection device;
[0119] A projection line establishing module 220, configured to establish a projection line on the image receiving device based on the simulation point data, the second simulation data and the third simulation data;
[0120] A reflection point determination module 230, configured to determine a reflection point of the projection point based on the projection line;
[0121] The projection area determination module 240 is used to determine the projection area based on the reflection points of all the projection points.
[0122] In an optional manner, the projection line establishing module 220 is specifically used to establish a first connection line based on the simulation point data and the third simulation data; and to establish a projection line on the image receiving device based on the first connection line and the second simulation data.
[0123] In an optional manner, the reflection point determination module 230 is specifically used to select an alternative reflection point on the projection line, and the alternative reflection point is any point on the projection line; based on the alternative reflection point and the simulation point data, a second connecting line is established; based on the alternative reflection point and the third simulation data, a third connecting line is established; based on the second connecting line and the third connecting line, the incident angle and the reflection angle corresponding to the alternative reflection point are determined; wherein the incident angle is the angle between the second connecting line and the normal, and the reflection angle is the angle between the third connecting line and the normal, and the normal passes through the alternative reflection point and is perpendicular to the projection device; if the incident angle and the reflection angle corresponding to the alternative reflection point are equal in size, the alternative reflection point is determined to be the reflection point of the projection point on the projection line.
[0124] In an optional manner, the projection area determination module 240 is also used to determine that there is no reflection point on the projection point on the projection device if the incident angles and reflection angles corresponding to all the candidate reflection points on the projection line are not equal.
[0125] In an optional manner, the projection area determination module 240 is further used to determine that the projection point does not have the reflection point on the shadow receiving device if there is no projection line corresponding to the first connecting line on the shadow receiving device. In an optional manner, the user's eye point includes a first eye point and a second eye point, and the acquisition module 210 is specifically used to acquire first eye point simulation data of the first eye point and second eye point simulation data of the second eye point; use the first eye point simulation data and / or the second eye point simulation data as the third simulation data; or determine the third simulation data based on the first eye point simulation data and the second eye point simulation data.
[0126] In an optional manner, the projection area determination module 240 is specifically used to use the first eye point simulation data and the second eye point simulation data as the third simulation data, respectively, to determine the corresponding first projection area and second projection area in sequence; and determine the projection area based on the first projection area and the second projection area.
[0127] By applying the technical solution of the present invention, when determining the reflection point of the projection point, the range of the reflection point of the projection point is first narrowed down to the projection line on the image receiving device, and then the reflection point of the projection point on the projection line is determined based on the projection line, the projection point and the user's eye point. In this way, compared with the solution of directly finding the reflection point corresponding to the projection point on the image receiving device, the present invention can reduce the amount of calculation for determining the reflection point and improve the accuracy of the determined reflection point.
[0128] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
[0129] like Figure 4 As shown, the electronic device may include: a processor (processor) 302 , a communication interface (Communications Interface) 304 , a memory (memory) 306 , and a communication bus 308 .
[0130] The processor 302, the communication interface 304, and the memory 306 communicate with each other via the communication bus 308. The communication interface 304 is used to communicate with other devices such as a client or other server network elements. The processor 302 is used to execute the program 310, which can specifically execute the relevant steps in the above-mentioned projection area determination method embodiment.
[0131] Specifically, the program 310 may include program code including computer executable instructions.
[0132] The processor 302 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0133] The memory 306 is used to store the program 310. The memory 306 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0134] The program 310 can be specifically called by the processor 302 to enable the electronic device to perform the following operations:
[0135] Acquire first simulation data of a projection device, second simulation data of an image receiving device, and third simulation data of a user's eye point; wherein the first simulation data includes simulation point data of a plurality of projection points on the projection device;
[0136] Based on the simulation point data, the second simulation data and the third simulation data, a projection line on the image receiving device is established;
[0137] Based on the projection line, determining a reflection point of the projection point;
[0138] Based on the reflection points of all the projection points, a projection area is determined.
[0139] In an optional manner, establishing the projection line on the image receiving device based on the simulation point data, the second simulation data and the third simulation data includes:
[0140] Establishing a first connection line based on the simulation point data and the third simulation data;
[0141] A projection line on the imaging device is established based on the first connecting line and the second simulation data.
[0142] In an optional manner, determining the reflection point of the projection point based on the projection line includes:
[0143] Selecting a candidate reflection point on the projection line, wherein the candidate reflection point is any point on the projection line;
[0144] Establishing a second connecting line based on the candidate reflection point and the simulation point data;
[0145] Establishing a third connecting line based on the candidate reflection point and the third simulation data;
[0146] Based on the second connecting line and the third connecting line, determine the incident angle and the reflection angle corresponding to the candidate reflection point; wherein the incident angle is the angle between the second connecting line and the normal line, and the reflection angle is the angle between the third connecting line and the normal line, and the normal line passes through the candidate reflection point and is perpendicular to the image receiving device;
[0147] If the incident angle and the reflection angle corresponding to the candidate reflection point are equal in magnitude, the candidate reflection point is determined to be the reflection point of the projection point on the projection line.
[0148] In an optional manner, the method further includes:
[0149] If the incident angles and reflection angles corresponding to all candidate reflection points on the projection line are not equal, it is determined that there is no reflection point on the projection point on the image receiving device.
[0150] In an optional manner, it also includes:
[0151] If there is no projection line corresponding to the first connecting line on the image receiving device, it is determined that the projection point does not have the reflection point on the image receiving device.
[0152] In an optional manner, the user eye point includes a first eye point and a second eye point, and the step of obtaining third simulation data of the user eye point includes:
[0153] Acquire first eye point simulation data of the first eye point and second eye point simulation data of the second eye point;
[0154] using the first eye point simulation data and / or the second eye point simulation data as the third simulation data; or,
[0155] The third simulation data is determined according to the first eye-point simulation data and the second eye-point simulation data.
[0156] In an optional manner, after acquiring first eyepoint simulation data of the first eyepoint and second eyepoint simulation data of the second eyepoint, the method includes:
[0157] respectively using the first eye point simulation data and the second eye point simulation data as the third simulation data, and sequentially determining the corresponding first projection area and second projection area;
[0158] The projection area is determined based on the first projection area and the second projection area.
[0159] In an optional manner, the method further includes:
[0160] Determining a safe field of view of the imaging device based on the second simulation data of the imaging device;
[0161] Based on the safety field of view and the projection area, it is determined whether the arrangement position of the projection device is appropriate.
[0162] By applying the technical solution of the present invention, when determining the reflection point of the projection point, the range of the reflection point of the projection point is first narrowed down to the projection line on the image receiving device, and then the reflection point of the projection point on the projection line is determined based on the projection line, the projection point and the user's eye point. In this way, compared with the solution of directly finding the reflection point corresponding to the projection point on the image receiving device, the present invention can reduce the amount of calculation for determining the reflection point and improve the accuracy of the determined reflection point.
[0163] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a device / electronic device for determining a projection area, the device / electronic device for determining the projection area executes the method for determining the projection area in any of the above-mentioned method embodiments.
[0164] The executable instructions may be specifically used to enable the projection area determination device / electronic device to perform the following operations:
[0165] Acquire first simulation data of a projection device, second simulation data of an image receiving device, and third simulation data of a user's eye point; wherein the first simulation data includes simulation point data of a plurality of projection points on the projection device;
[0166] Based on the simulation point data, the second simulation data and the third simulation data, a projection line on the image receiving device is established;
[0167] Based on the projection line, determining a reflection point of the projection point;
[0168] Based on the reflection points of all the projection points, a projection area is determined.
[0169] In an optional manner, establishing the projection line on the image receiving device based on the simulation point data, the second simulation data and the third simulation data includes:
[0170] Establishing a first connection line based on the simulation point data and the third simulation data;
[0171] A projection line on the imaging device is established based on the first connecting line and the second simulation data.
[0172] In an optional manner, determining the reflection point of the projection point based on the projection line includes:
[0173] Selecting a candidate reflection point on the projection line, wherein the candidate reflection point is any point on the projection line;
[0174] Establishing a second connecting line based on the candidate reflection point and the simulation point data;
[0175] Establishing a third connecting line based on the candidate reflection point and the third simulation data;
[0176] Based on the second connecting line and the third connecting line, determine the incident angle and the reflection angle corresponding to the candidate reflection point; wherein the incident angle is the angle between the second connecting line and the normal line, and the reflection angle is the angle between the third connecting line and the normal line, and the normal line passes through the candidate reflection point and is perpendicular to the image receiving device;
[0177] If the incident angle and the reflection angle corresponding to the candidate reflection point are equal in size, the candidate reflection point is determined to be the reflection point of the projection point on the projection line.
[0178] In an optional manner, the method further includes:
[0179] If the incident angles and reflection angles corresponding to all candidate reflection points on the projection line are not equal, it is determined that there is no reflection point on the projection point on the image receiving device.
[0180] In an optional manner, it also includes:
[0181] If there is no projection line corresponding to the first connecting line on the image receiving device, it is determined that the projection point does not have the reflection point on the image receiving device.
[0182] In an optional manner, the user eye point includes a first eye point and a second eye point, and the step of obtaining third simulation data of the user eye point includes:
[0183] Acquire first eye point simulation data of the first eye point and second eye point simulation data of the second eye point;
[0184] using the first eye point simulation data and / or the second eye point simulation data as the third simulation data; or,
[0185] The third simulation data is determined according to the first eye-point simulation data and the second eye-point simulation data.
[0186] In an optional manner, after acquiring first eyepoint simulation data of the first eyepoint and second eyepoint simulation data of the second eyepoint, the method includes:
[0187] respectively using the first eye point simulation data and the second eye point simulation data as the third simulation data, and sequentially determining the corresponding first projection area and second projection area;
[0188] The projection area is determined based on the first projection area and the second projection area.
[0189] In an optional manner, the method further includes:
[0190] Determining a safe field of view of the imaging device based on the second simulation data of the imaging device;
[0191] Based on the safety field of view and the projection area, it is determined whether the arrangement position of the projection device is appropriate.
[0192] By applying the technical solution of the present invention, when determining the reflection point of the projection point, the range of the reflection point of the projection point is first narrowed down to the projection line on the image receiving device, and then the reflection point of the projection point on the projection line is determined based on the projection line, the projection point and the user's eye point. In this way, compared with the solution of directly finding the reflection point corresponding to the projection point on the image receiving device, the present invention can reduce the amount of calculation for determining the reflection point and improve the accuracy of the determined reflection point.
[0193] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.
[0194] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.
[0195] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.
[0196] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
Claims
1. A method for determining a projection area, characterized in that: The method comprises: Acquire first simulation data of a projection device, second simulation data of an image receiving device, and third simulation data of a user's eye point; wherein the first simulation data includes simulation point data of a plurality of projection points on the projection device, and the projection device refers to a component with a reflective property in a vehicle; Based on the simulation point data, the second simulation data and the third simulation data, a projection line on the projection device is established, where the projection device refers to a device in the vehicle that carries the projection; Based on the projection line, determining a reflection point of the projection point; Determine a projection area based on the reflection points of all the projection points; Wherein, establishing the projection line on the image receiving device based on the simulation point data, the second simulation data and the third simulation data comprises: Establishing a first connection line based on the simulation point data and the third simulation data; Based on the first connection line and the second simulation data, establishing a projection line on the image receiving device; The step of determining the reflection point of the projection point based on the projection line includes: Selecting a candidate reflection point on the projection line, wherein the candidate reflection point is any point on the projection line; Establishing a second connecting line based on the candidate reflection point and the simulation point data; Establishing a third connecting line based on the candidate reflection point and the third simulation data; Based on the second connecting line and the third connecting line, determine the incident angle and the reflection angle corresponding to the candidate reflection point; wherein the incident angle is the angle between the second connecting line and the normal line, and the reflection angle is the angle between the third connecting line and the normal line, and the normal line passes through the candidate reflection point and is perpendicular to the image receiving device; If the incident angle and the reflection angle corresponding to the candidate reflection point are equal in magnitude, the candidate reflection point is determined to be the reflection point of the projection point on the projection line.
2. The method according to claim 1, characterized in that The method further comprises: If the incident angles and reflection angles corresponding to all candidate reflection points on the projection line are not equal, it is determined that there is no reflection point on the projection point on the image receiving device.
3. The method according to claim 1, characterized in that: The method further comprises: If there is no projection line corresponding to the first connecting line on the image receiving device, it is determined that the projection point does not have the reflection point on the image receiving device.
4. The method according to any one of claims 1 to 3, characterized in that The user eye point includes a first eye point and a second eye point, and obtaining third simulation data of the user eye point includes: Acquire first eye point simulation data of the first eye point and second eye point simulation data of the second eye point; using the first eye point simulation data and / or the second eye point simulation data as the third simulation data; or, The third simulation data is determined according to the first eye-point simulation data and the second eye-point simulation data.
5. The method according to claim 4, characterized in that After acquiring the first eye point simulation data of the first eye point and the second eye point simulation data of the second eye point, the method includes: respectively using the first eye point simulation data and the second eye point simulation data as the third simulation data, and sequentially determining the corresponding first projection area and second projection area; The projection area is determined based on the first projection area and the second projection area.
6. The method according to claim 1, characterized in that The method further comprises: Determining a safe field of view of the imaging device based on the second simulation data of the imaging device; Based on the safety field of view and the projection area, it is determined whether the arrangement position of the projection device is appropriate.
7. A device for determining a projection area, characterized in that: The device comprises: An acquisition module, used to acquire first simulation data of a projection device, second simulation data of a projection device, and third simulation data of a user's eye point; wherein the first simulation data includes simulation point data of a plurality of projection points on the projection device, and the projection device refers to a component with a reflective property in a vehicle; A projection line establishing module, used to establish a projection line on the projection device based on the simulation point data, the second simulation data and the third simulation data, where the projection device refers to a device in the vehicle that carries the projection; A reflection point determination module, used to determine the reflection point of the projection point based on the projection line; A projection area determination module, used to determine the projection area based on the reflection points of all the projection points; The projection line establishment module is further used to establish a first connection line based on the simulation point data and the third simulation data; and to establish a projection line on the image receiving device based on the first connection line and the second simulation data; The reflection point determination module is also used to select an alternative reflection point on the projection line, and the alternative reflection point is any point on the projection line; based on the alternative reflection point and the simulation point data, a second connecting line is established; based on the alternative reflection point and the third simulation data, a third connecting line is established; based on the second connecting line and the third connecting line, the incident angle and the reflection angle corresponding to the alternative reflection point are determined; wherein the incident angle is the angle between the second connecting line and the normal line, and the reflection angle is the angle between the third connecting line and the normal line, and the normal line passes through the alternative reflection point and is perpendicular to the image receiving device; if the incident angle and the reflection angle corresponding to the alternative reflection point are equal in size, the alternative reflection point is determined to be the reflection point of the projection point on the projection line.
8. An electronic device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform the operation of the method for determining the projection area as described in any one of claims 1-6.
