Atmosphere lamp illumination width test method and test system thereof

By generating grayscale images, setting brightness thresholds and connecting area extraction algorithms, and calculating the illumination width of the atmosphere lamps with calibrated unit pixel size, the problem of low test accuracy in the prior art is solved, and high-precision measurement and simulation model optimization is achieved.

CN120253179APending Publication Date: 2025-07-04CHANGZHOU XINGYU AUTOMOTIVE LIGHTING SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510406743.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the prior art, the accuracy of the ambient light illumination width test is low, resulting in large actual deviations, and the inability to accurately measure and optimize the simulation model.

Method used

By obtaining the brightness data of the atmosphere light, a grayscale image is generated, a brightness threshold is set to filter the target pixel point, a connecting area extraction algorithm is used to determine the illumination boundary area, and the illumination width is calculated by pulling the wire to calculate the intersection point, and the calibrated unit pixel size is used to make accurate measurements.

Benefits of technology

Accurate measurement of the illumination width of the ambient lamp is achieved, the accuracy and reliability of measurement are improved, the parameter settings of the simulation model are optimized, and the effectiveness of the simulation results are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120253179A_ABST
    Figure CN120253179A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of lamp testing, in particular to an atmosphere lamp illumination width testing method and a testing system thereof. The method comprises the following steps: acquiring brightness data of a detected atmosphere lamp, and generating a grayscale image according to the brightness data; all pixel points in the grayscale image are screened according to a set brightness threshold value, target pixel points and coordinates corresponding to the target pixel points are obtained, and the brightness of the target pixel points is larger than the brightness threshold value; carrying out connectivity judgment on all target pixel points by adopting a connected region extraction algorithm to obtain a plurality of connected regions; obtaining the number of pixels of each connected area, and taking the connected area with the maximum number of pixels as an illuminated boundary area; a stay wire is arranged on the illumination boundary area, and the stay wire intersects with two boundaries of the illumination boundary area; coordinates of intersection points where the stay wire intersects with the two boundaries of the illuminated boundary area are obtained, and the number of pixels between the two intersection points is calculated; the illumination width of the tested atmosphere lamp is calculated based on the unit pixel size and the pixel number, and the test accuracy is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lamp testing, and particularly to a method and a testing system for testing the illumination width of an ambient light. Background Art

[0002] With the increasingly fierce competition in the automotive market, each vehicle manufacturer has put forward many new requirements for the detailed control of lamps. Among them, some vehicle manufacturers have put forward the requirement of measuring the illumination width of the ambient light. Previously, only subjective evaluation was required for the illumination width of the ambient light. If there were no lighting defects in the subjective evaluation, it was considered that the illumination width of the ambient light met the requirements. However, at present, some ambient light projects involve too long instrument panels, and the instrument panel manufacturers cannot guarantee the surface shape problems between the cover plate and the illuminated surface, resulting in an actual deviation of ±1.5 mm and a seam width of 5 mm. The actual deviation is much larger than the theoretical deviation, resulting in the problem of "wide - narrow - wide" where the illumination width of the ambient light is wide at both sides and narrow in the middle when actually installed in the vehicle. To solve this problem, it is necessary to measure the illumination width of the ambient light at multiple positions, lock the influence of the ambient light or the counterpart part according to the difference in the illumination width results of the ambient light on the tooling and the counterpart part, and then rectify the corresponding problem parts. At present, there is no testing system for the illumination width developed specifically for ambient lights on the market. Generally, simulation is used to calculate the illumination width, but there is a certain gap between the simulation results and the actual test results, and the accuracy of the illumination width test is low. Summary of the Invention

[0003] The technical problem to be solved by the present invention is: to solve the technical problem of low accuracy in testing the illumination width through simulation in the prior art, the present invention provides a method and a testing system for testing the illumination width of an ambient light, with high testing accuracy.

[0004] The technical solution adopted by the present invention to solve its technical problem is: a method for testing the illumination width of an ambient light, the method comprising the following steps:

[0005] Obtain the brightness data of the ambient light to be tested, and generate a first grayscale image according to the brightness data;

[0006] Set a brightness threshold, and screen all pixel points in the first grayscale image according to the brightness threshold to obtain target pixel points and the coordinates corresponding to the target pixel points, where the brightness of the target pixel points is greater than the brightness threshold;

[0007] Adopt a connected region extraction algorithm to determine the connectivity of all the target pixel points to obtain a plurality of connected regions;

[0008] Obtain the number of pixels of each connected region, and use the connected region with the largest number of pixels as the illumination boundary region;

[0009] Set at least one wire on the illuminated boundary region, and the wire intersects two boundaries of the illuminated boundary region;

[0010] Obtain the intersection coordinates of the wire and the two boundaries of the illuminated boundary region, and calculate the number of pixels N between the two intersection coordinates based on the two intersection coordinates P2 ;

[0011] Based on the calibrated unit pixel size D P and the number of pixels N P2 , calculate the illumination width of the measured ambient light.

[0012] Further, specifically, the connected region extraction algorithm is an eight-connected region extraction algorithm;

[0013] The decision logic of the eight-connected region extraction algorithm is: If the sides or corners of the target pixel points are in contact, or two target pixel points are connected in the horizontal, vertical or diagonal directions and belong to the same object, it is determined as a connected region.

[0014] Further, specifically, the calculation formula for the illumination width is:

[0015] D A =D P *N P2 .

[0016] Further, specifically, obtain the brightness data of the measured ambient light through an imaging photometer.

[0017] Further, specifically, the calibration of the unit pixel size D P includes the following steps:

[0018] Measure the object distance L between the imaging photometer and the measured ambient light;

[0019] Calculate the target surface width according to the internal parameters of the imaging photometer, and the calculation formula is:

[0020] W b =d*i

[0021] where d is the pixel size of the imaging photometer, and i is the number of horizontal pixels of the imaging photometer;

[0022] Calculate the field of view width of the imaging photometer based on the target surface width, and the calculation formula is:

[0023] D w =(W b *L) / f

[0024] where f is the focal length of the imaging photometer;

[0025] Calculate the physical size of pixels based on the field of view width of the imaging photometer. The calculation formula is:

[0026] D p = D w / i.

[0027] Furthermore, specifically, the calibration of the unit pixel size D P includes the following steps:

[0028] Place a ruler on the measured ambient light;

[0029] Turn off the measured ambient light. Under the condition of ensuring sufficient ambient light, collect the scale image through the imaging photometer and convert the scale image into a second grayscale image;

[0030] Mark two positions in the second grayscale image based on the scale of the ruler, namely the first position and the second position;

[0031] Obtain the actual physical distance D R ;

[0032] Calculate the number of pixels N between the first position and the second position in the image P1 ;

[0033] Calculate the physical size of pixels. The calculation formula is:

[0034] D p = D R / N P1 .

[0035] An ambient light illumination width test system, the system includes:

[0036] The measured ambient light placed in a dark room;

[0037] An imaging photometer, placed in front of the measured ambient light, for collecting the brightness data of the measured ambient light;

[0038] A host computer, both the imaging photometer and the measured ambient light are connected to the host computer, and the host computer is used to execute the above-mentioned ambient light illumination width test method;

[0039] Furthermore, specifically, the system further includes a power module, and the power module is used to supply power to the measured ambient light.

[0040] Furthermore, specifically, the host computer is connected to the measured ambient light through a bus acquisition device.

[0041] Furthermore, specifically, the host computer is connected to the imaging photometer through a USB bus.

[0042] The beneficial effects of the present invention are as follows. The method for testing the illumination width of the ambient light of the present invention generates a grayscale image based on brightness data, extracts the illumination boundary of the ambient light by processing the grayscale image according to a set threshold, obtains the number of pixels between the upper and lower boundaries by the method of finding the intersection points through vertical line drawing, and combines the calibrated pixel size and the number of pixels between the intervals to obtain the illumination width of the ambient light, realizing the accurate measurement of the illumination width of the ambient light, improving the accuracy and reliability of the measurement, and can verify the accuracy of the simulation model and optimize the parameter settings of the simulation model to ensure the effectiveness of the simulation results. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The present invention will be further described below in conjunction with the drawings and embodiments.

[0044] Figure 1 It is a schematic flowchart of the method according to the first embodiment of the present invention.

[0045] Figure 2 It is a schematic diagram of the principle of extracting and calculating the illumination boundary area according to the first embodiment of the present invention.

[0046] Figure 3 It is a schematic diagram of calibrating the unit pixel size according to the second embodiment of the present invention.

[0047] Figure 4 It is a schematic diagram of the system structure according to the third embodiment of the present invention.

[0048] Figure 5 It is a schematic diagram of the structure of the computing device according to the fourth embodiment of the present invention.

[0049] In the figure: 1, host computer; 2, bus acquisition device; 3, power module; 4, measured ambient light; 5, imaging luminance meter; 10, computer device; 1002, processor; 1004, memory; 1006, transmission device. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0050] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are all simplified schematic diagrams, only illustrating the basic structure of the present invention in a schematic manner, so they only show the components related to the present invention.

[0051] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention. In addition, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, unless otherwise specified, the meaning of "a plurality" is two or more.

[0052] In the description of the present invention, it should be noted that unless otherwise clearly specified and defined, the terms "installation", "connection", and "coupling" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be a direct connection or an indirect connection through an intermediate medium, and it may be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific situations.

[0053] Embodiment 1

[0054] The embodiment of the present application provides a method for testing the illumination width of an ambient light, as Figure 1-2 shown, the method includes the following steps:

[0055] Obtain the brightness data of the ambient light 4 to be measured, and generate a first grayscale image according to the brightness data. Further, convert the brightness data into a two-dimensional brightness array, and then generate a first grayscale image.

[0056] Set a brightness threshold, and screen all pixel points in the first grayscale image according to the brightness threshold to obtain target pixel points and the coordinates corresponding to the target pixel points, and the brightness of the target pixel points is greater than the brightness threshold.

[0057] Use a connected region extraction algorithm to determine the connectivity of all target pixel points to obtain a plurality of connected regions.

[0058] Obtain the number of pixels in each connected region, and use the connected region with the largest number of pixels as the illuminated boundary region.

[0059] Set at least one pull wire on the illuminated boundary region, and the pull wire intersects two boundaries of the illuminated boundary region; as Figure 2 shown, the pull wire is perpendicular to the illuminated boundary region and intersects the upper boundary and the lower boundary of the illuminated boundary region.

[0060] Obtain the intersection coordinates where the wire and the two boundaries illuminating the boundary area intersect, and calculate the number of pixels N between the two intersection coordinates based on the two intersection coordinates. P2 。

[0061] Based on the calibrated unit pixel size D P and the number of pixels N P2 , calculate the illumination width of the measured ambient light 4.

[0062] In this embodiment, the connected region extraction algorithm is an eight-connected region extraction algorithm; further, the determination logic of the eight-connected region extraction algorithm is: if the sides or corners of the target pixel points are in contact, or two target pixel points are connected in the horizontal, vertical or diagonal directions and belong to the same object, it is determined as a connected region.

[0063] In this embodiment, the calculation formula for the illumination width is:

[0064] D A = D P * N P2 。

[0065] In this embodiment, the imaging photometer 5 is used to obtain the brightness data of the measured ambient light 4.

[0066] In this embodiment, the calibration of the unit pixel size D P includes the following steps:

[0067] Measure the object distance L between the imaging photometer 5 and the measured ambient light 4.

[0068] Calculate the target surface width according to the internal parameters of the imaging photometer 5, and the calculation formula is:

[0069] W b = d * i

[0070] where d is the pixel size of the imaging photometer, and i is the number of pixels in the horizontal direction of the imaging photometer;

[0071] Calculate the field of view width of the imaging photometer 5 based on the target surface width, and the calculation formula is:

[0072] D w = (W b * L) / f

[0073] where f is the focal length of the imaging photometer 5.

[0074] Calculate the pixel physical size based on the field of view width of the imaging photometer 5, and the calculation formula is:

[0075] D p = D w / i.

[0076] In summary, the method for testing the illumination width of the ambient light of the present invention generates a grayscale image based on the luminance data, processes the grayscale image according to the set threshold to extract the illumination boundary of the ambient light, obtains the number of pixels between the upper and lower boundaries by the method of finding the intersection points through vertical wire drawing, combines the calibrated pixel size and the number of pixels between the boundaries to obtain the illumination width of the ambient light, realizes the accurate measurement of the illumination width of the ambient light, improves the accuracy and reliability of the measurement, and can verify the accuracy of the simulation model and optimize the parameter settings of the simulation model to ensure the effectiveness of the simulation results.

[0077] Embodiment 2

[0078] The difference from Embodiment 1 is that the calibration of the unit pixel size D P includes the following steps:

[0079] Place a ruler on the ambient light 4 to be measured.

[0080] Turn off the ambient light 4 to be measured. Under the condition of ensuring sufficient ambient light, collect the scale image through the imaging photometer 5 and convert the scale image into a second grayscale image.

[0081] Mark two positions in the second grayscale image based on the scale of the ruler, namely the first position and the second position.

[0082] Obtain the actual physical distance D R .

[0083] Calculate the number of pixels between the first position and the second position in the image, N P1 .

[0084] Calculate the physical size of the pixel. The calculation formula is:

[0085] D p = D R / N P1 .

[0086] When the imaging luminance meter does not provide optical parameters, the unit pixel size D P can be calibrated by the direct scale method in this embodiment. As Figure 4 shown, drag the calibration line and input the actual physical size corresponding to the calibration line to obtain the actual physical size of the unit pixel.

[0087] Embodiment 3

[0088] The embodiment of the present application provides a system for testing the illumination width of an ambient light. As Figure 4 shown, the system includes:

[0089] The ambient light 4 to be measured placed in a dark room.

[0090] An imaging photometer 5 is placed in front of the atmosphere lamp 4 to be measured, and is used to collect the brightness data of the atmosphere lamp 4 to be measured.

[0091] A host computer 1, the imaging photometer 5 and the atmosphere lamp 4 to be measured are all connected to the host computer 1, and the host computer 1 is used to execute the above-mentioned method for testing the illumination width of the atmosphere lamp.

[0092] In this embodiment, the system further includes a power supply module 3, and the power supply module 3 is used to supply power to the atmosphere lamp 4 to be measured.

[0093] In this embodiment, the host computer 1 and the atmosphere lamp 4 to be measured are connected through a bus acquisition device 2. The host computer 1 sends a control message to the atmosphere lamp 4 to be measured through the bus acquisition device 2 to adjust the working state of the atmosphere lamp 4 to be measured, and synchronously receives the bus signal fed back by the atmosphere lamp 4 to be measured to analyze the current state of the vehicle lamp. The host computer 1 also records all message operations in real time to a local log file.

[0094] In this embodiment, the host computer 1 and the imaging photometer 5 are connected through a USB bus to ensure that the brightness data of the imaging photometer 5 can be received effectively, quickly and accurately.

[0095] The foregoing Figure 1 All the various change modes and specific examples of the method for testing the illumination width of an atmosphere lamp in Embodiment 1 are equally applicable to the system for testing the illumination width of an atmosphere lamp in this embodiment. Through the foregoing detailed description of the method for testing the illumination width of an atmosphere lamp, those skilled in the art can clearly know the implementation method of the system for testing the illumination width of an atmosphere lamp in this embodiment. Therefore, for the sake of simplicity of the specification, it will not be described in detail here.

[0096] Embodiment 4

[0097] This application embodiment provides a computer device, which includes a processor and a memory. At least one instruction or at least one program segment is stored in the memory, and the at least one instruction or the at least one program segment is loaded and executed by the processor to implement a method for testing the illumination width of an atmosphere lamp as provided in the above method embodiment.

[0098] Figure 5 Shows a schematic hardware structure diagram of a device for implementing the method for testing the illumination width of an atmosphere lamp provided in this application embodiment. The device may participate in constituting or include the device or system provided in this application embodiment. As Figure 5As shown, the computer device 10 may include one or more processors 1002 (the processors may include, but are not limited to, processing devices such as microprocessor MCUs or programmable logic devices FPGAs), a memory 1004 for storing data, and a transmission device 1006 for communication functions. In addition, it may further include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a power supply, and / or a camera. Those of ordinary skill in the art can understand that Figure 5 the structure shown is only illustrative and does not limit the structure of the above-mentioned electronic device. For example, the computer device 10 may further include more or fewer components than those Figure 5 shown herein, or have a different configuration from that Figure 5 shown.

[0099] It should be noted that the above one or more processors and / or other data processing circuits are generally referred to as "data processing circuits" herein. The data processing circuit may be embodied in software, hardware, firmware, or any combination thereof, in whole or in part. In addition, the data processing circuit may be a single independent processing module, or be incorporated in whole or in part into any one of the other elements in the computer device 10 (or mobile device). As involved in the embodiments of the present application, the data processing circuit is a processor control (such as the selection of a variable resistor terminal path connected to an interface).

[0100] The memory 1004 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to a method for testing the illumination width of an ambient light in the embodiments of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 1004, that is, implements the above-mentioned method. The memory 1004 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 1004 may further include a memory remotely located relative to the processor, and these remote memories can be connected to the computer device 10 through a network. Examples of the above network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0101] The transmission device 1006 is used to receive or send data via a network. Specific examples of the above network may include a wireless network provided by the communication provider of the computer device 10. In one example, the transmission device 1006 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 1006 can be a Radio Frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0102] The display can be, for example, a touch-screen liquid crystal display (LCD), which enables the user to interact with the user interface of the computer device 10 (or mobile device).

[0103] Embodiment 5

[0104] The embodiment of the present application further provides a computer-readable storage medium, which can be arranged in the server to store at least one instruction or at least one program related to a method for testing the illumination width of an ambient light in the method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the method for testing the illumination width of an ambient light provided by the above method embodiment.

[0105] Optionally, in this embodiment, the above storage medium can be located in at least one of multiple network servers in a computer network. Optionally, in this embodiment, the above storage medium may include, but is not limited to: various media that can store program codes such as USB flash drives, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), mobile hard disks, magnetic disks, or optical discs.

[0106] Embodiment 6

[0107] The embodiment of the present invention further provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes a method for testing the illumination width of an ambient light provided in the above various optional embodiments.

[0108] It should be noted that: the above order of the embodiments of the present application is only for description and does not represent the superiority or inferiority of the embodiments. And the above specific embodiments of the present application have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0109] The embodiments in the present application are all described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device, equipment, and storage medium, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiments.

[0110] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware or by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disk, etc.

[0111] Taking the above ideal embodiments of the present invention as inspiration, through the above description, relevant staff can completely make various changes and modifications without departing from the technical idea of the present invention. The technical scope of the present invention is not limited to the content in the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A method for testing the illumination width of an ambient light, characterized in that, The method includes the following steps: Obtain the brightness data of the measured ambient light (4), and generate a first grayscale image according to the brightness data; Set a brightness threshold, screen all pixel points in the first grayscale image according to the brightness threshold, obtain target pixel points and the coordinates corresponding to the target pixel points, and the brightness of the target pixel points is greater than the brightness threshold; Adopt a connected region extraction algorithm to determine the connectivity of all the target pixel points, and obtain a plurality of connected regions; Obtain the number of pixels in each connected region, and use the connected region with the largest number of pixels as the illuminated boundary region; Set at least one wire on the illuminated boundary region, and the wire intersects two boundaries of the illuminated boundary region; Obtain the intersection point coordinates where the pull wire intersects the two boundaries of the illuminated boundary region, and calculate the number of pixels N between the two intersection points based on the two intersection point coordinates P2 ; Based on the calibrated unit pixel size D P and the number of pixels N P2 , calculate the illumination width of the measured ambient light (4).

2. The method for testing the illumination width of the ambient light according to claim 1, wherein The connected region extraction algorithm is an eight-connected region extraction algorithm; The determination logic of the eight-connected region extraction algorithm is: if the sides or corners of the target pixel points are in contact, or two target pixel points are connected in the horizontal, vertical or diagonal directions and belong to the same object, it is determined as a connected region.

3. The method for testing the illumination width of the ambient light according to claim 1, wherein The calculation formula for the illumination width is: D A = D P * N P2 .

4. The method for testing the illumination width of the ambient light according to claim 1, characterized in that, Obtain the brightness data of the measured ambient light (4) through an imaging photometer (5).

5. The method for testing the illumination width of the ambient light according to claim 3, characterized in that, The calibration of the unit pixel size D P includes the following steps: Measure the object distance L between the imaging photometer (5) and the measured ambient light (4); Calculate the target surface width according to the internal parameters of the imaging photometer (5), and the calculation formula is: W b = d * i Where d is the pixel size of the imaging photometer (5), and i is the number of pixels in the horizontal direction of the imaging photometer (5); Calculate the field of view width of the imaging photometer (5) based on the target surface width, and the calculation formula is: D w = (W b * L) / f Where f is the focal length of the imaging photometer (5); Calculate the pixel physical size based on the field of view width of the imaging photometer (5), and the calculation formula is: D p = D w / i.

6. The method for testing the illumination width of the ambient light according to claim 3, wherein The unit pixel size D P is calibrated through the following steps: Place a ruler on the measured ambient light (4); Turn off the measured ambient light (4), and under the condition of ensuring sufficient ambient light, collect a scale image through the imaging photometer (5) and convert the scale image into a second grayscale image; Mark two positions in the second grayscale image based on the scale of the ruler, namely the first position and the second position; Obtain the actual physical distance D between the first position and the second position R ; Calculate the number N of intervening pixels between the first position and the second position in the image P1 ; Calculate the pixel physical size, and the calculation formula is: D p = D R / N P1 。 7. An atmosphere lamp illumination width test system, characterized in that, The system includes: The measured ambient light (4) placed in a dark room; An imaging photometer (5), placed in front of the measured ambient light (4), for collecting the brightness data of the measured ambient light (4); A host computer (1), both the imaging photometer (5) and the measured ambient light (4) are connected to the host computer (1), and the host computer (1) is used to execute the ambient light illumination width test method according to any one of claims 1 to 6.

8. The ambient light illumination width test system according to claim 7, wherein The system further includes a power supply module (3), and the power supply module (3) is used to supply power to the measured ambient light (4).

9. The ambient light illumination width test system according to claim 7, characterized in that The host computer (1) is connected to the measured ambient light (4) through a bus acquisition device (2).

10. The ambient light illumination width test system according to claim 7, characterized in that, The host computer (1) is connected to the imaging photometer (5) through a USB bus.