Background resolution testing method and device
By setting up a test scene, adjusting light source parameters and simulating application scenarios, and testing the background resolution of the camera equipment under glare, the problem of the existing technology that cannot evaluate the equipment's adaptability to glare environments is solved, and the equipment is improved and optimized.
Patent Information
- Application Number
- CN202210928479.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-03
- Publication Date
- 2025-09-26
- Estimated Expiration
- 2042-08-03
AI Technical Summary
Existing technologies cannot effectively test the resolution of background objects of camera equipment in glare environments, nor can they evaluate the equipment's ability to adapt to the environment under glare conditions.
Build a test scene, including a test background plate, ambient light source, light shield, and luminous light source. Adjust the brightness, color temperature, and distance of the light source. Control the opening/closing of the light shield. Simulate different application scenarios. Test the equipment to capture image cards and analyze changes in shooting parameters.
It is possible to test the resolution of background objects of camera equipment in a glare environment, evaluate the adaptability of the equipment, and provide improvement and optimization directions.
Smart Images

Figure CN115243037B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method and device for testing background resolution. Background Art
[0002] Existing glare testing methods primarily involve photographing a light source in a darkroom and calculating the brightness decay near the light source in the image. This calculation is performed to determine the area where the decay reaches a certain level, such as approximately 50%, or by calculating the brightness at a certain distance from the light source. These existing glare testing methods can only determine the device's sensitivity to the light source and cannot accurately determine whether background objects near the light source can be clearly distinguished under the given lighting conditions. Summary of the Invention
[0003] One purpose of this application is to provide a background resolution testing method and equipment, which is used to test the ability of a test device with a camera function to resolve environmental objects in a glare environment, so as to test the impact of the measuring light source on the test device and its adaptability to the environment, so as to subsequently improve and optimize the test equipment.
[0004] According to one aspect of the present application, a method for testing background resolution is provided, wherein the method comprises:
[0005] Build a test scene, the test scene including a test background plate, an ambient light source located around the test background plate and its corresponding light shielding plate, a light source located in front of the test background plate, and a test device, wherein the test background plate is provided with at least one test chart;
[0006] Adjusting the brightness and color temperature of the ambient light source and the luminous light source respectively, adjusting the distance between the test background plate and the luminous light source and the ambient light source respectively, and controlling the opening / closing of the light shield to simulate different application scenarios;
[0007] In each application scenario, the test device photographs each of the test charts on the test background plate to obtain photographic images corresponding to each application scenario;
[0008] Changes in shooting parameters of the pictures corresponding to each application scenario at each field of view FOV are analyzed respectively to obtain the background resolution of the test device in each application scenario.
[0009] Furthermore, in the above method, the method further comprises:
[0010] The shooting performance of the test device is optimized in combination with the background resolution of the test device in each of the application scenarios.
[0011] Furthermore, in the above method, the ambient light source located around the test background plate includes:
[0012] Ambient light sources located on both sides of the test background plate; or,
[0013] An ambient light source is suspended from the ceiling above the test background board.
[0014] Furthermore, in the above method, the shooting parameters include at least any one of the following:
[0015] Resolution, contrast and color reproduction.
[0016] Furthermore, in the above method, the test chart includes at least any one of the following:
[0017] Resolution chart, grayscale chart and color chart.
[0018] Furthermore, in the above method, the method further comprises:
[0019] The light shield is opened to block the ambient light source from irradiating the test device, so as to simulate an application scenario of a single light source.
[0020] Furthermore, in the above method, the method further comprises:
[0021] The light shield is closed to allow the ambient light source to directly illuminate the test device, thereby simulating an application scenario of mixed lighting.
[0022] According to another aspect of the present application, a non-volatile storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the processor implements the above-mentioned background resolution testing method.
[0023] According to another aspect of the present application, a background resolution testing device is provided, wherein the device includes:
[0024] one or more processors;
[0025] a computer-readable medium for storing one or more computer-readable instructions,
[0026] When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement the above-mentioned background resolution testing method.
[0027] Compared with the prior art, the present application sets up a test scene, which includes a test background plate, an ambient light source located around the test background plate and its corresponding light shield, a luminous light source located in front of the test background plate, and a test device, wherein at least one test chart is provided on the test background plate; the brightness and color temperature of the ambient light source and the luminous light source are adjusted respectively, and the distance between the test background plate and the luminous light source and the ambient light source is adjusted respectively; at the same time, the opening / closing of the light shield is controlled to simulate different application scenarios; in each application scenario, the test device shoots each of the test charts on the test background plate to obtain a photographic image corresponding to each application scenario; and the changes in the photographic parameters of the photographic image corresponding to each application scenario under each field of view angle FOV are analyzed respectively to obtain the background resolution of the test device in each application scenario. This achieves the test of the ability of a test device with a camera function to resolve environmental objects in a glare environment, so as to test the influence of the measuring light source on the test device and its adaptability to the environment, so as to subsequently improve and optimize the test device. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Other features, objects and advantages of the present application will become more apparent upon reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0029] Figure 1 A schematic flow chart showing a method for testing background resolution according to one aspect of the present application;
[0030] Figure 2 A schematic diagram illustrating the layout of a test scene in a background resolution testing method according to one aspect of the present application.
[0031] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0032] The present application is described in further detail below with reference to the accompanying drawings.
[0033] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memories.
[0034] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0035] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0036] like Figure 1 As shown, one aspect of the present application provides a flow chart of a method for testing background resolution, the method including step S11, step S12, step S13 and step S14, specifically including the following steps:
[0037] Step S11, building a test scene, the test scene including a test background plate, an ambient light source located around the test background plate and its corresponding light shielding plate, a light source located in front of the test background plate and a test device, and at least one test chart is set on the test background plate.
[0038] Here, the test charts placed on the test background board include but are not limited to resolution charts, grayscale charts, and color charts.
[0039] When setting up a test scenario, Figure 2 As shown, one or more test charts for testing and analysis can be placed on the test background plate 1 in the test scene; the ambient light source 2 and its corresponding light shielding plate 4 are located around the test background plate 1, wherein the ambient light source 2 can simulate various actual daily scenes, such as sunset, midday, sunset and tunnel, etc., and the light shielding plate 4 can prevent the ambient light source 2 from entering the test device 3 to be tested. In the actual test scene, two test conditions can be added or not; the test device 3 is located in front of the test background plate 1, and can be a camera device with a camera function, such as a camera or various camera modules, etc.; there is also a luminous light source 5 located in front of the test background plate 1, which is used to simulate luminous objects in the actual environment, such as car headlights and objects that can emit light from sun lamps.
[0040] It should be noted that the ambient light source located around the test background board includes but is not limited to the ambient light source located on both sides of the test background board; or the ambient light source on the ceiling above the test background board, etc., so as to satisfy the requirement that the ambient light source surrounds or can illuminate the background test board.
[0041] Step S12, respectively adjust the brightness and color temperature of the ambient light source and the luminous light source, respectively adjust the distance between the test background plate and the luminous light source and the ambient light source, and at the same time, control the opening / closing of the light shield to simulate different application scenarios; here, the distance between the test background plate and the luminous light source and the ambient light source can be controlled by a guide rail or a robotic arm.
[0042] Step S13, in each application scenario, the test device photographs each of the test charts on the test background plate to obtain a photographed picture corresponding to each application scenario;
[0043] Step S14: Analyze changes in shooting parameters of the images captured for each application scenario at each field of view (FOV) to determine the background resolution of the test device in each application scenario. The shooting parameters include, but are not limited to, one or more of resolution, contrast, and color reproduction. Specifically, changes in resolution, contrast, and color reproduction of the images captured for each application scenario at each field of view (FOV) can be analyzed to determine the background resolution capability of the test device in each application scenario (each application scenario corresponds to a light source environment).
[0044] Through the above steps S11 to S14, the ability of the test equipment with camera function to resolve environmental objects in a glare environment is tested, so as to test the influence of the measuring light source on the test equipment and its adaptability to the environment, so as to subsequently improve and optimize the test equipment.
[0045] Continuing with the above-mentioned embodiment of the present application, the light shield can be opened or closed. When the light shield is opened, it is used to block the ambient light source from irradiating the test device, thereby simulating an application scenario with a single light source (i.e., a situation where there is no direct ambient light source), such as a daily meeting with only oncoming vehicle lights, or a single light-emitting object on the roadside such as a traffic light. When the light shield is closed, the ambient light source can directly irradiate the test device, thereby simulating an application scenario with mixed lighting, such as driving at night with the simultaneous influence of oncoming vehicle headlights and street lights, etc., thereby achieving the simulation of different application scenarios through the light shield.
[0046] like Figure 2 As shown, the embodiment of the present application utilizes Figure 2In the test scene constructed in the embodiment, one or more test charts, such as a resolution chart, a grayscale chart, and a color chart, are placed on the test background plate 1. In order to simulate different application scenarios, the brightness and color temperature of the ambient light source 2 and the luminous light source 5 are adjusted respectively, and the distance between the test background plate 1 and the luminous light source 5 and the ambient light source 2 is adjusted respectively. At the same time, the light shield is controlled to be open or closed to simulate various different actual application scenarios. For example, in a preferred embodiment of the present application, the luminous light source 5 simulates a car headlight, the light shield 4 is closed (i.e., the light shield 4 is not placed), the ambient light source 2 simulates the sun or a street light, and the distance between the test background plate 1 and the luminous light source 5 is adjusted. The test chart placed on the test background plate 1 is photographed by the test equipment, and the recognition and detection of objects on both sides, such as pedestrians, by the on-board camera module (the test equipment is preferably a on-board camera module) under the application scenario (i.e., the lighting environment) can be simulated.
[0047] At the beginning of the test, in different application scenarios, the test equipment shoots different test charts on the test background board to obtain the pictures corresponding to each application scenario, and analyzes the resolution changes, contrast changes and color reproduction capabilities of the pictures corresponding to each application scenario under each field of view FOV, so as to judge the background resolution ability of the test equipment in different application scenarios (i.e. different light source environments).
[0048] Continuing with the above-mentioned embodiment of the present application, the method further includes: optimizing the shooting performance of the test device in combination with the background resolution of the test device in each of the application scenarios. For example, by analyzing images captured in various application scenarios, it is possible to determine the shooting performance of the test device in different application scenarios, thereby determining the subsequent optimization direction for the test device, which can help optimize the hardware of the test device and also provide tuning direction for algorithms such as autonomous driving.
[0049] According to another aspect of the present application, a non-volatile storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the processor implements the above-mentioned background resolution testing method.
[0050] According to another aspect of the present application, a background resolution testing device is provided, wherein the device includes:
[0051] one or more processors;
[0052] a computer-readable medium for storing one or more computer-readable instructions,
[0053] When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement the above-mentioned background resolution testing method.
[0054] Here, for the detailed contents of each embodiment of the background resolution testing device, please refer to the corresponding part of the embodiment of the background resolution testing method mentioned above, which will not be described in detail here.
[0055] In summary, the present application sets up a test scene, which includes a test background plate, an ambient light source located around the test background plate and its corresponding light shielding plate, a luminous light source located in front of the test background plate, and a test device, wherein at least one test chart is provided on the test background plate; the brightness and color temperature of the ambient light source and the luminous light source are adjusted respectively, and the distance between the test background plate and the luminous light source and the ambient light source is adjusted respectively, while the opening / closing of the light shielding plate is controlled to simulate different application scenarios; in each application scenario, the test device shoots each of the test charts on the test background plate to obtain a photographic image corresponding to each application scenario; and the changes in the photographic parameters of the photographic image corresponding to each application scenario under each field of view angle FOV are analyzed respectively to obtain the background resolution of the test device in each application scenario. This achieves the test of the ability of a test device with a camera function to resolve environmental objects in a glare environment, so as to test the influence of the measuring light source on the test device and its ability to adapt to the environment, so as to subsequently improve and optimize the test device.
[0056] It should be noted that the application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the application can be executed by a processor to realize the steps or functions described above. Similarly, the software program of the application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0057] In addition, a part of the present application may be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instructions for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-carrying medium, and / or stored in a working memory of a computer device that runs according to the program instructions. Here, according to an embodiment of the present application, a device is included, which includes a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instructions are executed by the processor, the device is triggered to run the method and / or technical solution based on the aforementioned multiple embodiments of the present application.
[0058] It is obvious to those skilled in the art that the present application is not limited to the details of the above-mentioned exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic characteristics of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes that fall within the meaning and scope of the equivalent elements of the claims are included in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. Words such as first and second are used to indicate names and do not indicate any particular order.
Claims
1. A method for testing background resolution, wherein: The method comprises: Build a test scene, which includes a test background plate, an ambient light source located around the test background plate and its corresponding light shield, a light source located in front of the test background plate, and a test device. The test background plate is provided with at least one test chart, wherein the light source is directed toward the test device. The brightness and color temperature of the ambient light source and the luminous light source are adjusted respectively, and the distances between the test background plate and the luminous light source and the ambient light source are adjusted respectively. At the same time, the opening / closing of the light shield is controlled to simulate different application scenarios; wherein, the light shield is opened to block the ambient light source from irradiating the test device to simulate an application scenario of a single light source; and the light shield is closed to allow the ambient light source to directly irradiate the test device to simulate an application scenario of mixed lighting; and the distances between the test background plate and the luminous light source and the ambient light source are controlled by a guide rail or a robotic arm; In each application scenario, the test device photographs each of the test charts on the test background plate to obtain photographic images corresponding to each application scenario; Changes in shooting parameters of the pictures corresponding to each application scenario at each field of view FOV are analyzed respectively to obtain the background resolution of the test device in each application scenario.
2. The method according to claim 1, wherein The method further comprises: The shooting performance of the test device is optimized in combination with the background resolution of the test device in each of the application scenarios.
3. The method according to claim 1, wherein The ambient light source located around the test background plate includes: Ambient light sources located on both sides of the test background plate; or, An ambient light source is suspended from the ceiling above the test background board.
4. The method according to claim 1, wherein The shooting parameters include at least one of the following: Resolution, contrast and color reproduction.
5. The method according to claim 1, wherein The test chart includes at least one of the following: Resolution chart, grayscale chart and color chart. 6 . A non-volatile storage medium having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executable by a processor, the processor is caused to implement the method according to claim 1 .
7. A background resolution test device, wherein: The device includes: one or more processors; a computer-readable medium for storing one or more computer-readable instructions, When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Night vision camera test system
KR101062619B1
Test apparatus for image sensor in camera
KR1020100134326A