Visual joint evaluation method, device and storage medium based on vehicle modeling data
By using a visual seam assessment method based on vehicle styling data, and by employing field-of-view fitting and visual plane assessment, the subjectivity and inefficiency of visual seam assessment based on vehicle styling data are resolved, achieving a more efficient and accurate visual perception quality assessment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG LEAPMOTOR TECH CO LTD
- Filing Date
- 2026-03-18
- Publication Date
- 2026-07-10
AI Technical Summary
In existing technologies, the visual gap assessment of vehicle styling data relies on manual verification, which is highly subjective and inefficient.
By acquiring the gaps between the target reference part and the counterpart part in the vehicle styling data, performing visual line fitting processing, and using the visual plane to evaluate visual gaps, a visual gap evaluation method based on vehicle styling data is provided, avoiding human subjectivity and error.
It improves the visual perception quality and efficiency of gaps in vehicle styling data, and reduces the subjectivity and error of manual evaluation.
Smart Images

Figure CN122365700A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle perception technology, and in particular to a visual gap assessment method, electronic device, and computer-readable storage medium based on vehicle styling data. Background Technology
[0002] With the rapid development of the automotive industry, the market offers a wider variety of increasingly sophisticated car models, leading users to place greater emphasis on perceived quality. Perceived quality is a comprehensive evaluation made by users based on subjective feelings such as sight, hearing, smell, touch, and emotional connection to assess whether a car is "good" or "high-end," directly influencing their purchasing decisions and brand loyalty. Visual gap assessment is one method of perceiving automotive quality.
[0003] Currently, gaps are manually checked by vehicle designers to ensure the visual quality of the gaps in the vehicle's styling data. However, this method is highly subjective, prone to controversy, and inefficient. Summary of the Invention
[0004] The main technical problem addressed by this application is to provide a visual seam evaluation method, electronic device, and computer-readable storage medium based on vehicle styling data, which can improve the visual perception quality of vehicle styling data.
[0005] To address the aforementioned technical problems, this application provides a visual seam evaluation method based on vehicle styling data. The method includes: acquiring a seam to be evaluated, wherein a target reference component and a target counterpart component in the vehicle styling data are relatively positioned to form the seam to be evaluated, and the design gap between each reference component and its corresponding counterpart component in the vehicle styling data is the same; performing a field of view fitting process based on the first rounded corner surface of the target reference component to obtain a first field of view corresponding to the target reference component, and performing a field of view fitting process based on the second rounded corner surface of the target counterpart component to obtain a second field of view corresponding to the target counterpart component; and performing a visual gap evaluation process based on the first and second field of view lines to obtain an evaluation result.
[0006] In one embodiment, the step of performing field-of-view fitting processing based on the first rounded corner surface of the target reference component to obtain the first field-of-view line corresponding to the target reference component includes: performing boundary line extraction processing on the first rounded corner surface to obtain the target boundary line of the first rounded corner surface; performing discretization processing based on the target boundary line of the first rounded corner surface to obtain at least two initial curve vertical surfaces corresponding to each curve in the first rounded corner surface, wherein the initial curve vertical surfaces are perpendicular to the first rounded corner surface and parallel to the target boundary line of the first rounded corner surface; performing matching processing based on the at least two initial curve vertical surfaces corresponding to each curve and the obtained visual plane to obtain the target curve vertical surface corresponding to each curve; and projecting the intersection point between each curve and the corresponding target curve vertical surface onto the visual plane to obtain the first field-of-view line corresponding to the target reference component.
[0007] In one embodiment, the first rounded corner surface includes a plurality of first rounded corner sub-surfaces. The step of performing boundary line extraction processing on the first rounded corner surface to obtain the target boundary line of the first rounded corner surface includes: determining a first target rounded corner sub-surface and a target sub-boundary line corresponding to the first target rounded corner sub-surface from each of the first rounded corner sub-surfaces; determining the target sub-boundary lines corresponding to other first rounded corner sub-surfaces in the first rounded corner surface based on the target sub-boundary lines of the first target rounded corner sub-surfaces; and connecting the target sub-boundary lines of the first target rounded corner sub-surfaces with the target sub-boundary lines corresponding to the other first rounded corner surfaces to obtain the target boundary line of the first rounded corner surface.
[0008] In one embodiment, the step of determining the first target rounded corner facet and the target sub-boundary line corresponding to the first target rounded corner facet from each first rounded corner facet includes: taking the face with the largest area among each first rounded corner facet as the first target rounded corner facet, the first target rounded corner facet including four boundary lines and four endpoints; constructing a fitting circle for each boundary line and corresponding endpoint in the first target rounded corner facet to obtain the fitting circle corresponding to each boundary line in the first target rounded corner facet; and determining the target sub-boundary line corresponding to the first target rounded corner facet based on the area of the fitting circle corresponding to each boundary line in the first target rounded corner facet.
[0009] In one embodiment, the step of discretizing the first rounded corner surface according to the target boundary line to obtain at least two initial curve vertical surfaces corresponding to each curve in the first rounded corner surface includes: creating discrete planes perpendicular to the target boundary line at a first preset distance along the length direction of the first rounded corner surface to obtain multiple discrete planes; intersecting each discrete plane with the first rounded corner surface at a second preset distance to obtain multiple curves; and creating initial curve vertical surfaces perpendicular to each curve at a second preset distance to obtain at least two initial curve vertical surfaces corresponding to each curve.
[0010] In one embodiment, the step of matching at least two initial curve vertical planes corresponding to each curve with the obtained visual plane to obtain the target curve vertical plane corresponding to each curve includes: calculating the angle difference between the initial curve vertical plane corresponding to each curve and the visual plane; and taking the initial curve vertical plane corresponding to the smallest angle difference among the curves as the target curve vertical plane corresponding to the curve.
[0011] In one embodiment, the step of performing visual gap assessment processing based on the first visual field line and the second visual field line to obtain an assessment result includes: obtaining the gap difference between the first visual field line and the second visual field line; and performing visual gap assessment processing based on the gap difference and the length of the visual field line to obtain the assessment result.
[0012] In one embodiment, the gap difference includes a maximum gap difference and a minimum gap difference. The step of performing visual gap assessment processing based on the gap difference and the length of the field of view to obtain the assessment result includes: calculating the gap difference difference between the maximum gap difference and the minimum gap difference; in response to the gap difference difference being less than a first preset threshold and the length of the field of view being greater than or equal to a preset length, obtaining an assessment result characterizing the visual gap consistency between the target reference component and the target counterpart component; in response to the gap difference difference being less than a second preset threshold and the length of the field of view being less than the preset length, obtaining an assessment result characterizing the visual gap consistency between the target reference component and the target counterpart component, wherein the first preset threshold is greater than the second preset threshold.
[0013] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide an electronic device, including a memory and a processor, wherein the memory stores program instructions, and the processor retrieves the program instructions from the memory to execute the above-mentioned visual seam evaluation method based on vehicle styling data.
[0014] To solve the above-mentioned technical problems, another technical solution adopted in this application is to provide a computer-readable storage medium including program data, which, when executed by a processor, is used to implement the above-mentioned visual seam evaluation method based on vehicle styling data.
[0015] The above scheme obtains the seams to be evaluated. The target reference component and the target counterpart component in the vehicle styling data are positioned relative to each other to form the seams to be evaluated. The design gaps between the seams of each reference component and its corresponding counterpart component in the vehicle styling data are the same. A first field of view line is obtained by fitting the first rounded surface of the target reference component, and a second field of view line is obtained by fitting the second rounded surface of the target counterpart component. Visual gap evaluation is then performed based on the first and second field of view lines to obtain the evaluation result. This avoids the subjectivity and error of manual perception of the visual quality of each seam in the vehicle styling data, improving both the visual perception quality and the efficiency of visual quality perception. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly described below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein: Figure 1 This is a schematic flowchart of an exemplary embodiment of the visual seam evaluation method based on vehicle styling data shown in this application; Figure 2 yes Figure 1 The diagram shows the overall vehicle structure based on the visual seam evaluation method using vehicle styling data. Figure 3 yes Figure 1 The diagram shows a partial structural representation of vehicle styling data in a visual seam evaluation method based on vehicle styling data. Figure 4 yes Figure 1 A schematic diagram illustrating the scene for determining the visual plane in a visual seam evaluation method based on vehicle styling data; Figure 5 yes Figure 1 A flowchart illustrating an exemplary embodiment of step S120 in the visual gap evaluation method based on vehicle styling data is shown. Figure 6 yes Figure 1 A simplified structural diagram of the first rounded corner surface in the visual seam evaluation method based on vehicle styling data is shown. Figure 7 yes Figure 1 A schematic diagram of the discrete planes on the first rounded corner surface in the visual seam evaluation method based on vehicle styling data is shown. Figure 8 yes Figure 1The diagram shows the curve on the first rounded corner surface and the vertical surface of the initial curve in the visual gap evaluation method based on vehicle styling data. Figure 9 This is a schematic diagram of an exemplary embodiment of the visual seam evaluation device shown in this application; Figure 10 This is a schematic diagram of the structure of an embodiment of the electronic device provided in this application; Figure 11 This is a schematic diagram of an embodiment of the computer-readable storage medium provided in this application. Detailed Implementation
[0017] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are only for explaining this application and not for limiting it. Furthermore, it should be noted that, for ease of description, only the parts related to this application are shown in the accompanying drawings, not all structures. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0018] For details, please refer to Figure 1 , Figure 1 This is a flowchart illustrating an exemplary embodiment of the visual seam evaluation method based on vehicle styling data shown in this application.
[0019] The execution entity of the visual gap assessment method based on vehicle styling data can be a terminal device, a server, or other processing device. The terminal device can be a user equipment (UE), computer, mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (PDA), handheld device, computing device, in-vehicle device, wearable device, etc. The execution entity of the visual gap assessment method based on vehicle styling data can also be a visual gap assessment device. In some possible implementations, this visual gap assessment method based on vehicle styling data can be implemented by a processor calling computer-readable instructions stored in memory.
[0020] In this embodiment, a visual seam assessment device is used as the execution subject for description. Specifically, the visual seam assessment method based on vehicle styling data in this embodiment includes the following steps: S110, Obtain the seam to be evaluated. The target reference part and the target counterpart part in the vehicle styling data are set relative to each other to form the seam to be evaluated. The design gap of the seam between each reference part and the corresponding counterpart part in the vehicle styling data is the same.
[0021] For details, please refer to Figure 2 and Figure 3 , Figure 2 The data shows the vehicle's overall styling. Figure 3 The partial structure of the vehicle styling data is shown. Figure 3 It includes target reference component 1, target counterpart component 2, and the seam to be evaluated formed by the relative arrangement of target reference component 1 and target counterpart component 2.
[0022] The same design gap between the seams can refer to the consistent gap between each reference part and the counterpart part in the vehicle styling data; it can also refer to the consistent surface difference between each reference part and the counterpart part in the vehicle styling data; or it can refer to the consistent gap and surface difference between each reference part and the counterpart part in the vehicle styling data.
[0023] Regarding the method of acquiring the seams to be evaluated, as an example, the visual seam evaluation device acquires the seams in the vehicle styling data one by one as the seams to be evaluated. As another example, the visual seam evaluation device can acquire the seams in the vehicle styling data in response to the user's selection. Specifically, in response to the user's click operation on a rounded corner in the vehicle styling data, the visual seam evaluation device acquires the rounded corner and determines the rounded corner surface where the rounded corner is located as the first rounded corner surface of the target reference part; based on the first rounded corner surface of the target reference part, it determines the rounded corner of the target counterpart part closest to the target reference part, extracts the second rounded corner surface where the rounded corner of the target counterpart part is located, and then takes the gap between the first rounded corner surface and the second rounded corner surface as the seam to be evaluated.
[0024] S120, perform field of view fitting processing based on the first rounded surface of the target reference part to obtain the first field of view corresponding to the target reference part, and perform field of view fitting processing based on the second rounded surface of the target counterpart part to obtain the second field of view corresponding to the target counterpart part.
[0025] As an example, the visual seam evaluation device can perform boundary point extraction processing on the first rounded corner surface of the target reference component to obtain two target boundary lines of the first rounded corner surface; and project the points on the midline of the two target boundary lines onto the acquired visual plane to obtain the first field of view corresponding to the target reference component. The midline is equidistant from the two target boundary lines.
[0026] As an example, the visual seam evaluation device can perform boundary point extraction processing on the second rounded corner surface of the target component to obtain two target boundary lines of the second rounded corner surface; and project the points on the midline of the two target boundary lines onto the acquired visual plane to obtain the first field of view corresponding to the target reference component. The midline is equidistant from both target boundary lines.
[0027] For details on how the visual plane is determined, please refer to [link / reference needed]. Figure 4 ,like Figure 4 As shown, the visual gap assessment device creates a plane a parallel to the plane where the vehicle is located, with plane a at a first preset height from the ground. It then obtains the rounded corner selected by the user on the vehicle styling data, i.e., the model focus. A plane b perpendicular to plane a is created, with plane b at a third preset distance from the rounded corner. The model focus is projected onto plane b to obtain virtual point 1. Virtual point 1 is then projected onto plane a to obtain virtual point 2. Connecting virtual point 2 and the model focus creates a line of sight. Finally, a plane perpendicular to this line of sight is created to obtain the visual plane. It should be noted that the ground plane, the first preset height, and the third preset distance are pre-set. In a specific embodiment, the first preset height can be 1600mm, and the third preset distance can be 1000mm.
[0028] S130, visual gap assessment is performed based on the first and second visual field lines to obtain the assessment results.
[0029] As an example, the visual gap assessment device acquires the gap difference between a first field of view and a second field of view; it performs visual gap assessment processing based on the gap difference and the length of the field of view to obtain an assessment result. Specifically, for the method of obtaining an assessment result by performing visual gap assessment processing based on the gap difference and the length of the field of view, the gap difference includes a maximum gap difference and a minimum gap difference, and the field of view includes a first field of view or a second field of view. The visual gap assessment device calculates the gap difference difference between the maximum gap difference and the minimum gap difference; in response to the gap difference difference being less than a first preset threshold and the length of the field of view being greater than or equal to a preset length, an assessment result is obtained indicating that the visual gap between the target reference part and the target counterpart part is consistent; in response to the gap difference difference being less than the first preset threshold and the length of the field of view being less than the preset length, an assessment result is obtained indicating that the visual gap between the target reference part and the target counterpart part is inconsistent; in response to the gap difference difference being greater than or equal to the first preset threshold and the length of the field of view being greater than or equal to the preset length, an assessment result is obtained indicating that the visual gap between the target reference part and the target counterpart part is inconsistent; in response to the gap difference difference being greater than or equal to the first preset threshold... If the length of the field of view is less than a preset length, an evaluation result indicating inconsistency in the visual gap between the target reference component and the target counterpart component is obtained; if the gap difference is less than a second preset threshold and the length of the field of view is less than a preset length, an evaluation result indicating consistency in the visual gap between the target reference component and the target counterpart component is obtained, where the first preset threshold is greater than the second preset threshold; if the gap difference is greater than or equal to the second preset threshold and the length of the field of view is less than a preset length, an evaluation result indicating inconsistency in the visual gap between the target reference component and the target counterpart component is obtained; if the gap difference is less than the second preset threshold and the length of the field of view is greater than or equal to a preset length, an evaluation result indicating inconsistency in the visual gap between the target reference component and the target counterpart component is obtained; if the gap difference is greater than or equal to the second preset threshold and the length of the field of view is greater than or equal to a preset length, an evaluation result indicating inconsistency in the visual gap between the target reference component and the target counterpart component is obtained.
[0030] It should be noted that the first preset threshold is greater than the second preset threshold. As an example, the first preset threshold can be 1mm, the second preset threshold can be 0.5mm, and the preset length can be 300mm.
[0031] It should also be noted that when the evaluation results indicate a discrepancy between the visual gap of the seam between the target reference part and the target counterpart part, the visual seam evaluation device provides feedback to the operator. Based on the feedback, the operator adjusts the corresponding seam data in the vehicle styling data and uploads the adjusted vehicle styling data back to the visual seam evaluation device. The visual seam evaluation device re-evaluates the corresponding seam in the re-uploaded vehicle styling data until an evaluation result indicating a consistent visual gap between the target reference part and the target counterpart part is obtained. This data adjustment can be achieved by changing the seam angle or adjusting the surface difference between the reference part and the counterpart part.
[0032] As can be seen, the visual seam evaluation method based on vehicle styling data in this application obtains the seam to be evaluated. The target reference component and the target counterpart component in the vehicle styling data are relatively positioned to form the seam to be evaluated. The design gaps between the seams of each reference component and its corresponding counterpart component in the vehicle styling data are the same. A first field of view line is obtained by fitting the first rounded corner surface of the target reference component, and a second field of view line is obtained by fitting the second rounded corner surface of the target counterpart component. Visual gap evaluation is performed based on the first and second field of view lines to obtain the evaluation result. This avoids the subjectivity and error of manual perception of the visual quality of each seam in the vehicle styling data, improving both the visual perception quality and the efficiency of visual quality perception.
[0033] Based on the above embodiments, please continue to refer to Figure 5 , Figure 5 yes Figure 1 The diagram illustrates an exemplary embodiment of step S120 in the visual gap evaluation method based on vehicle styling data. Specifically, step S120 performs field-of-view line fitting processing based on the first rounded corner surface of the target reference part to obtain the first field-of-view line corresponding to the target reference part, and further includes: Step S210: Perform boundary line extraction processing on the first rounded corner surface to obtain the target boundary line of the first rounded corner surface.
[0034] See also Figure 6 , Figure 6 The image shows the first rounded corner surface. The visual seam evaluation device performs boundary line extraction processing on the first rounded corner surface to obtain the target boundary line of the first rounded corner surface. It should be noted that the target boundary line of the first rounded corner surface includes two lines, and the first rounded corner surface includes several first rounded corner sub-surfaces.
[0035] As an example, the visual seam evaluation device determines a first target rounded corner facet and a target sub-boundary line corresponding to the first target rounded corner facet from each first rounded corner facet; determines the target sub-boundary lines corresponding to other first rounded corner faces in the first rounded corner facet based on the target sub-boundary lines of the first target rounded corner facet; and connects the target sub-boundary lines of the first target rounded corner facet with the target sub-boundary lines corresponding to other first rounded corner faces to obtain the target boundary line of the first rounded corner facet.
[0036] Regarding the method of determining the first target rounded corner facet and the corresponding target sub-boundary line from each of the first rounded corner faces, the visual seam evaluation device uses the face with the largest area among the first rounded corner faces as the first target rounded corner facet. The first target rounded corner facet includes four boundary lines and four endpoints. For details, please refer to [link / reference]. Figure 6 The middle arrow indicates the method of constructing a fitted circle for each boundary line and its corresponding endpoint in the first target rounded corner sub-face, thus obtaining the fitted circle corresponding to each boundary line in the first target rounded corner sub-face; and determining the target sub-boundary line corresponding to the first target rounded corner sub-face based on the area of the fitted circle corresponding to each boundary line in the first target rounded corner sub-face. Specifically, in the method of constructing a fitted circle for each boundary line and its corresponding endpoint in the first target rounded corner sub-face, the visual seam evaluation device uses each boundary line as the diameter of the circle to construct the fitted circle, with the endpoints of the corresponding boundary lines located on the fitted circle. In the method of determining the target sub-boundary line corresponding to the first target rounded corner sub-face based on the area of the fitted circle corresponding to each boundary line in the first target rounded corner sub-face, the visual seam evaluation device determines the boundary line corresponding to the two largest fitted circles in the first target rounded corner sub-face as the target sub-boundary line corresponding to the first target rounded corner sub-face.
[0037] For the method of determining the target sub-boundary lines of other first rounded sub-faces in the first rounded sub-face based on the target sub-boundary line of the first target rounded sub-face, the visual seam evaluation device acquires the adjacent rounded sub-faces adjacent to the first target rounded sub-face, and takes the boundary line of the adjacent rounded sub-face that is connected to the target sub-boundary line of the first target rounded sub-face as the target sub-boundary line corresponding to the adjacent rounded sub-face, thereby obtaining the target sub-boundary lines of other rounded sub-faces adjacent to the first target rounded sub-face. Then, the target sub-boundary lines of other rounded sub-faces adjacent to it are used to determine the target sub-boundary lines of other rounded sub-faces adjacent to it, until the target sub-boundary lines of all rounded sub-faces are determined.
[0038] As another example, the visual seam evaluation device divides a first rounded corner surface into several first rounded corner sub-surfaces. For each first rounded corner sub-surface, the visual seam evaluation device constructs fitting circles using the boundary lines and corresponding endpoints of each first rounded corner sub-surface, obtaining fitting circles corresponding to each boundary line in each first rounded corner sub-surface. The target sub-boundary line corresponding to each first rounded corner sub-surface is determined based on the area of the fitting circles corresponding to each boundary line in the first rounded corner sub-surface. Then, the target sub-boundary lines corresponding to each first rounded corner sub-surface are connected to obtain the target boundary line of the first rounded corner surface. Specifically, regarding the method of determining the target sub-boundary line of each first rounded corner sub-surface based on the area of the fitting circles corresponding to each boundary line in the first rounded corner sub-surface, the visual seam evaluation device can determine the boundary lines corresponding to the two fitting circles with the largest areas in the first rounded corner surface as the corresponding target sub-boundary lines.
[0039] As another example, the visual seam evaluation device divides a first rounded corner surface into several first rounded corner sub-surfaces. For each first rounded corner sub-surface, the visual seam evaluation device constructs a fitting circle using the boundary lines and corresponding endpoints of each first rounded corner sub-surface, obtaining the fitting circle corresponding to each boundary line in each first rounded corner sub-surface. Based on the area of the fitting circle corresponding to each boundary line in the first rounded corner sub-surface and the length of the corresponding boundary line, the target sub-boundary line corresponding to each first rounded corner sub-surface is determined. Then, the target sub-boundary lines corresponding to each first rounded corner sub-surface are connected to obtain the target boundary line of the first rounded corner surface. Regarding the direction of the target sub-boundary line corresponding to each first rounded corner surface determined based on the area of the fitting circle corresponding to each boundary line in the first rounded corner sub-surface and the length of each boundary line, the visual seam evaluation device can sort the areas of the fitting circles corresponding to each boundary line in the first rounded corner surface and sort the lengths of each boundary line. The boundary line whose fitting circle area ranks before a preset number and whose corresponding boundary line length ranks before a preset number is determined as the corresponding target sub-boundary line.
[0040] Step S220: Discretize the target boundary line of the first rounded surface to obtain at least two initial curve vertical surfaces corresponding to each curve in the first rounded surface. The initial curve vertical surfaces are perpendicular to the first rounded surface and parallel to the target boundary line of the first rounded surface.
[0041] The visual seam evaluation device creates discrete planes perpendicular to the target boundary line at first preset distances along the length direction of the first rounded corner surface, resulting in multiple discrete planes. Along the width direction of the first rounded corner surface, each discrete plane intersects with the first rounded corner surface, resulting in multiple curves. At second preset distances, initial curve vertical surfaces perpendicular to each curve are created, resulting in at least two initial curve vertical surfaces corresponding to each curve. For example, the first preset distance can be 5 mm, and the second preset distance can be 0.1 mm. A schematic diagram of the discrete planes and the relationship between the discrete planes and the first rounded corner surface can be found in [reference needed]. Figure 7 , Figure 7 The identifier 3 in the diagram represents the discrete plane. A schematic diagram of the curve on the first rounded surface and the vertical plane of the initial curve can be found in [reference needed]. Figure 8 , Figure 8 In this context, 4 represents the curve between the discrete plane and the first rounded corner surface, and 5 represents the initial curve perpendicular to that curve.
[0042] Step S230: Match the vertical planes of at least two initial curves corresponding to each curve with the obtained visual plane to obtain the vertical planes of the target curves corresponding to each curve.
[0043] The visual seam evaluation device calculates the angle difference between the initial curve vertical plane and the visual plane corresponding to each curve; the initial curve vertical plane corresponding to the smallest angle difference among the curves is taken as the target curve vertical plane corresponding to the curve.
[0044] Step S240: Project the intersection points between each curve and the corresponding target curve vertical plane onto the visual plane to obtain the first field of view line corresponding to the target reference component.
[0045] The visual seam evaluation device projects the intersection points between each curve and the corresponding target curve's vertical plane onto the visual plane, obtaining the projection points of each intersection point on the visual plane; then, the projection points are connected to form the first field of view line corresponding to the target reference piece.
[0046] As can be seen, the visual seam evaluation method based on vehicle styling data in this embodiment extracts the boundary line of the first rounded surface to obtain the target boundary line of the first rounded surface; it discretizes the target boundary line of the first rounded surface to obtain at least two initial curve vertical surfaces corresponding to each curve in the first rounded surface, the initial curve vertical surfaces being perpendicular to the first rounded surface and parallel to the target boundary line of the first rounded surface; it matches the at least two initial curve vertical surfaces corresponding to each curve with the obtained visual plane to obtain the target curve vertical surface corresponding to each curve; and it projects the intersection point between each curve and the corresponding target curve vertical surface onto the visual plane to obtain the first field of view line corresponding to the target reference part. This avoids the subjectivity and error of manual perception of the visual quality of each seam in the vehicle styling data, improving the visual perception quality of each seam in the vehicle styling data while also improving the efficiency of visual quality perception.
[0047] Other methods for determining the second field of view corresponding to the target counterpart by fitting the field of view based on the second rounded corner surface of the target counterpart are the same as the methods for determining the first field of view corresponding to the target reference component, and will not be repeated here.
[0048] Please see Figure 9 , Figure 9This is a schematic diagram of an exemplary embodiment of the visual gap assessment device shown in this application. The visual gap assessment device 900 includes an acquisition module 910, a fitting module 920, and a visual gap assessment module 930. Specifically: The acquisition module 910 is used to acquire the seam to be evaluated. The target reference part and the target counterpart part in the vehicle styling data are set relative to each other to form the seam to be evaluated. The design gap of the seam between each reference part and the corresponding counterpart part in the vehicle styling data is the same.
[0049] The fitting module 920 is used to perform field of view fitting processing based on the first rounded surface of the target reference part to obtain the first field of view corresponding to the target reference part, and to perform field of view fitting processing based on the second rounded surface of the target counterpart part to obtain the second field of view corresponding to the target counterpart part.
[0050] The visual gap assessment module 930 is used to perform visual gap assessment processing based on the first visual field line and the second visual field line to obtain the assessment result.
[0051] The above scheme involves a visual seam evaluation device acquiring the seam to be evaluated. Target reference parts and target counterpart parts in the vehicle styling data are positioned relative to each other to form the seam to be evaluated. The design gaps between the seams of each reference part and its corresponding counterpart part in the vehicle styling data are the same. A first field of view line is obtained by fitting the first rounded surface of the target reference part, and a second field of view line is obtained by fitting the second rounded surface of the target counterpart part. Visual gap evaluation is then performed based on the first and second field of view lines to obtain the evaluation result. This avoids the subjectivity and error of manual perception of the visual quality of each seam in the vehicle styling data, improving both the visual perception quality and efficiency of visual quality perception.
[0052] The functions of each module can be found in the implementation example of the visual gap evaluation method based on vehicle styling data, and will not be repeated here.
[0053] To implement the visual gap evaluation method based on vehicle styling data described in the above embodiments, this application proposes another electronic device, which can be found in the following details. Figure 10 , Figure 10 This is a schematic diagram of the structure of an embodiment of the electronic device provided in this application.
[0054] Electronic device 400 includes memory 401 and processor 402, wherein memory 401 and processor 402 are coupled together.
[0055] The memory 401 is used to store program data, and the processor 402 is used to execute the program data to implement the visual seam evaluation method based on vehicle styling data in the above embodiment.
[0056] In this embodiment, processor 402 can also be referred to as a CPU (Central Processing Unit). Processor 402 may be an integrated circuit chip with signal processing capabilities. Processor 402 can also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The general-purpose processor can be a microprocessor, or processor 402 can be any conventional processor.
[0057] This application also provides a computer-readable storage medium, such as Figure 11 As shown, the computer-readable storage medium 500 is used to store program data 501, which, when executed by a processor, is used to implement the visual seam evaluation method based on vehicle styling data as described in the method embodiments of this application.
[0058] The methods involved in the visual gap evaluation method based on vehicle styling data in this application, when implemented as software functional units and sold or used as independent products, can be stored in a device, such as a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0059] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A visual seam evaluation method based on vehicle styling data, characterized in that, The visual seam evaluation method based on vehicle styling data includes: The seam to be evaluated is obtained. The target reference part and the target counterpart part in the vehicle styling data are set relative to each other to form the seam to be evaluated. The design gap of the seam between each reference part and the corresponding counterpart part in the vehicle styling data is the same. The first field of view line corresponding to the target reference part is obtained by performing field of view line fitting processing based on the first rounded corner surface of the target reference part, and the second field of view line corresponding to the target opponent part is obtained by performing field of view line fitting processing based on the second rounded corner surface of the target opponent part. Visual gap assessment is performed based on the first and second visual field lines to obtain the assessment results.
2. The visual seam evaluation method based on vehicle styling data according to claim 1, characterized in that, The step of performing field-of-view fitting based on the first rounded corner surface of the target reference component to obtain the first field-of-view line corresponding to the target reference component includes: The first rounded corner surface is subjected to boundary line extraction processing to obtain the target boundary line of the first rounded corner surface; Discretize the first rounded corner surface according to the target boundary line to obtain at least two initial curve vertical surfaces corresponding to each curve in the first rounded corner surface. The initial curve vertical surfaces are perpendicular to the first rounded corner surface and parallel to the target boundary line of the first rounded corner surface. The target curve vertical plane corresponding to each curve is obtained by matching at least two initial curve vertical planes with the obtained visual plane. The intersection points between each curve and the corresponding vertical plane of the target curve are projected onto the visual plane to obtain the first field of view line corresponding to the target reference component.
3. The visual seam evaluation method based on vehicle styling data according to claim 2, characterized in that, The first rounded corner surface includes a plurality of first rounded corner sub-surfaces. The step of performing boundary line extraction processing on the first rounded corner surface to obtain the target boundary line of the first rounded corner surface includes: Determine the first target rounded sub-face and the target sub-boundary line corresponding to the first target rounded sub-face from each first rounded sub-face; Determine the target sub-boundary lines of other first rounded sub-faces in the first rounded sub-face based on the target sub-boundary line of the first target rounded sub-face; The target sub-boundary line of the first target rounded sub-face is connected with the target sub-boundary lines corresponding to the other first rounded sub-faces to obtain the target boundary line of the first rounded sub-face.
4. The visual seam evaluation method based on vehicle styling data according to claim 3, characterized in that, The step of determining the first target rounded sub-face and the target sub-boundary line corresponding to the first target rounded sub-face from each first rounded sub-face includes: The face with the largest area among the first rounded corner faces is taken as the first target rounded corner face, which includes four boundary lines and four endpoints; For each boundary line and its corresponding endpoint in the first target rounded corner sub-face, a fitting circle is constructed to obtain the fitting circle corresponding to each boundary line in the first target rounded corner sub-face. The target sub-boundary line corresponding to the first target rounded sub-face is determined based on the area of the fitted circle corresponding to each boundary line in the first target rounded sub-face.
5. The visual seam evaluation method based on vehicle styling data according to claim 2, characterized in that, The step of discretizing the target boundary line of the first rounded corner surface to obtain at least two initial curve perpendicular surfaces corresponding to each curve in the first rounded corner surface includes: Along the length direction of the first rounded corner surface, discrete planes perpendicular to the target boundary line are created at first preset distances to obtain multiple discrete planes; By intersecting each discrete plane with the first rounded corner surface, multiple curves are obtained; Along the width direction of the first rounded corner surface, create initial curve vertical surfaces perpendicular to each curve at second preset distances, thereby obtaining at least two initial curve vertical surfaces corresponding to each curve.
6. The visual seam evaluation method based on vehicle styling data according to claim 2, characterized in that, The step of matching at least two initial curve vertical planes corresponding to each curve with the obtained visual plane to obtain the target curve vertical plane corresponding to each curve includes: Calculate the angle difference between the vertical plane of the initial curve corresponding to each curve and the visual plane; The vertical plane of the initial curve corresponding to the smallest angle difference among the curves is taken as the vertical plane of the target curve corresponding to the curve.
7. The visual seam evaluation method based on vehicle styling data according to claim 1, characterized in that, The step of performing visual gap assessment based on the first visual field line and the second visual field line to obtain the assessment result includes: Obtain the gap difference between the first field of view and the second field of view; The visual gap is evaluated based on the gap difference and the length of the field of vision line to obtain the evaluation result.
8. The visual seam evaluation method based on vehicle styling data according to claim 7, characterized in that, The gap difference includes the maximum gap difference and the minimum gap difference. The step of performing visual gap assessment processing based on the gap difference and the length of the field of view to obtain the assessment result includes: Calculate the gap difference between the maximum gap difference and the minimum gap difference; In response to the gap difference being less than a first preset threshold and the length of the field of view being greater than or equal to a preset length, an evaluation result is obtained that characterizes the visual gap consistency between the target reference piece and the target counterpart piece. In response to the gap difference being less than a second preset threshold and the length of the field of view being less than the preset length, an evaluation result is obtained that characterizes the visual gap consistency between the target reference piece and the target counterpart piece, wherein the first preset threshold is greater than the second preset threshold.
9. An electronic device, characterized in that, include: A memory and a processor, wherein the memory stores program instructions, and the processor retrieves the program instructions from the memory to perform the method as claimed in any one of claims 1-8.
10. A computer storage medium, characterized in that, include: The system stores program data, which, when executed by a processor, is used to implement the method as described in any one of claims 1-8.