Light source brightness calibration method and system and storage medium

By constructing a database and mapping model between light source brightness and image grayscale values, the light source brightness is calibrated automatically, solving the problem of time-consuming and labor-intensive traditional light source calibration methods, and achieving accuracy and consistency in light source brightness calibration.

CN120916306APending Publication Date: 2025-11-07HUIZHOU DEPANG PRECISION AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511023247.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-23
Publication Date
2025-11-07

AI Technical Summary

Technical Problem

Traditional light source calibration methods are not quantifiable, time-consuming and labor-intensive, and difficult to assess calibration effectiveness, leading to inconsistent imaging.

Method used

A database of standard light source brightness and image grayscale values ​​is constructed. The light source brightness is automatically calibrated through a light source brightness mapping model. The calibration accuracy and efficiency are improved by using a linear relationship model and filtering.

Benefits of technology

It achieves quantification and automation of light source brightness calibration, ensuring the accuracy and reliability of calibration and avoiding inconsistencies in imaging caused by light source aging or manufacturing differences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120916306A_ABST
    Figure CN120916306A_ABST
Patent Text Reader

Abstract

The invention provides a light source brightness calibration method, system and model and a storage medium. The method comprises the following steps: acquiring current image gray values under different current light source brightness in real time; matching the current image gray value according to a database to obtain corresponding standard light source brightness; comparing the current light source brightness with standard light source brightness so as to construct a light source brightness mapping model through the current light source brightness, the current image gray value, the standard image gray value and the corresponding standard light source brightness when the current light source brightness is inconsistent with the standard light source brightness, acquiring a light source brightness calibration value according to the light source brightness mapping model; and calibrating the current light source brightness based on the light source brightness calibration value. The method provided by the invention effectively solves the technical problems that quantification cannot be carried out, time and labor are consumed, and the effectiveness of light source calibration is difficult to evaluate when the brightness of the light source is adjusted by observing the image gray difference with naked eyes in the traditional method.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of computer vision, and particularly relates to a light source brightness calibration method and system and a storage medium. BACKGROUND

[0002] In the process of automatic production and quality detection, machine vision systems play an important role. However, in the actual production environment, due to the differences in light source manufacturing process, aging caused by long-term use, environmental temperature changes or power supply fluctuations and other factors, even the same type of light source equipment may exhibit different optical characteristics (such as brightness, color temperature, uniformity, etc.), thereby causing inconsistent imaging problems, which seriously affect the accuracy and stability of the detection results. The traditional light source calibration method generally adjusts the light source brightness by observing the image gray difference with the naked eye. This calibration method cannot be quantified, and is time-consuming and laborious, and it is difficult to evaluate the effectiveness of light source calibration. SUMMARY

[0003] To solve the above technical problems, the application provides a light source brightness calibration method, system and storage medium which can quantify, efficiently and evaluate the effectiveness of light source calibration.

[0004] Specifically, the application pre-constructs a database for storing standard light source brightness and its corresponding standard image gray value, and the proposed light source brightness calibration method includes:

[0005] Real-time acquisition of current image gray values under different current light source brightness.

[0006] Matching the current image gray value according to the database to obtain the corresponding standard light source brightness.

[0007] Comparing the current light source brightness with the standard light source brightness, when the current light source brightness is inconsistent with the standard light source brightness, constructing a light source brightness mapping model through the current light source brightness, current image gray value, standard image gray value and corresponding standard light source brightness, and obtaining a light source brightness calibration value according to the light source brightness mapping model.

[0008] And, calibrating the current light source brightness based on the light source brightness calibration value.

[0009] In the technical solution, the standard light source brightness, the corresponding standard image gray value and the constructed light source brightness mapping model are provided by the pre-constructed database to realize the quantification of the light source brightness calibration, and the calibration of the light source brightness avoids the problem of inconsistent imaging caused by factors such as light source aging or manufacturing difference. The image gray value under different light source brightness is matched with the database to automatically calibrate the light source brightness, thereby effectively improving the work efficiency of the light source brightness calibration. The light source brightness calibration value is obtained by the constructed light source brightness mapping model to calibrate the current light source brightness, thereby ensuring the accuracy and reliability of the light source brightness calibration.

[0010] As an implementation, the light source brightness mapping model is constructed by the current light source brightness, the current image gray value, the standard image gray value and the corresponding standard light source brightness, including:

[0011] A linear relationship model is constructed based on the standard light source brightness and the standard image gray value, first and second model parameters of the linear relationship model are obtained based on the current light source brightness and the current image gray value, and third and fourth model parameters of the linear relationship model are obtained based on the standard light source brightness and the standard image gray value.

[0012] The linear relationship model is constructed to describe the relationship between the standard light source brightness and the standard image gray value, thereby simplifying the complexity of the light source brightness calibration process and making the light source brightness calibration process more easily realized. The first, second, third and fourth model parameters of the linear relationship model are obtained to refine the construction process of the light source brightness mapping model, thereby improving the accuracy of the light source brightness calibration value obtained by the subsequent light source brightness mapping model.

[0013] Further, the light source brightness mapping model is constructed by the current light source brightness, the current image gray value, the standard image gray value and the corresponding standard light source brightness, and further includes: obtaining a first mapping parameter based on the first and third model parameters; obtaining a second mapping parameter based on the second and fourth model parameters; and constructing the light source brightness mapping model based on the standard light source brightness, the first mapping parameter, the second mapping parameter, the first model parameter and the second model parameter.

[0014] The light source brightness mapping model is constructed based on the standard light source brightness, the first mapping parameter, the second mapping parameter, the first model parameter and the second model parameter, thereby further improving the accuracy of the light source brightness mapping model.

[0015] Further, the real-time acquisition of the current image gray value under different current light source brightness includes:

[0016] The current image data under different current light source brightness is collected, the current image data is filtered, and the current image gray value is further obtained based on the processed image data.

[0017] The filtering processing of the collected current image data helps to eliminate the possible noise or unnecessary interference, avoids the problem of unclear current image gray value caused by various factors, improves the quality and stability of the image, and makes the obtained image gray value more accurate.

[0018] Further, the database for storing the standard light source brightness and the corresponding standard image gray value is pre-constructed, comprising:

[0019] The standard image gray value of different standard light source brightness is obtained according to the standard gray scale plate, and the standard light source brightness and the corresponding standard image gray value are stored in the database.

[0020] The standard gray scale plate serves as a calibration tool and can accurately reflect the change rule of image gray value under different standard light source brightness, so that the database stores each standard light source brightness and the corresponding standard image gray value, and provides effective data support for the calibration process of light source brightness.

[0021] Further, after the calibration of the light source brightness based on the light source brightness calibration value, further comprising:

[0022] The final image gray value of different final light source brightness obtained after calibration is collected; the corresponding standard image gray value is matched from the database based on the final light source brightness; and the final light source brightness is verified by comparing the final image gray value with the standard image gray value.

[0023] By further verifying the light source brightness after calibration, comparing the final image gray value with the standard image gray value, it can effectively check whether the calibration is accurate, and can effectively verify whether the final light source brightness is accurate, so as to ensure the reliability of the light source brightness calibration.

[0024] Further, the verification of the final light source brightness comprises:

[0025] If the final image gray value is consistent with the standard image gray value, the final light source brightness is verified; otherwise, the final light source brightness is not verified, and the final light source brightness is calibrated again by the light source brightness mapping model until the final light source brightness is verified.

[0026] When the final light source brightness fails to pass the verification, the final light source brightness is calibrated again by using the light source brightness mapping model, thereby effectively ensuring consistency of the final light source brightness and improving accuracy of light source brightness calibration. Through the repeated verification and calibration process, stability of image quality can be ensured, image quality inconsistency or difference caused by inaccurate light source brightness can be avoided, and consistency of image quality can be ensured.

[0027] Based on the same inventive concept, the application further provides a light source brightness calibration system, which comprises:

[0028] A data acquisition module is configured to acquire current image grayscale values under different current light source brightness in real time.

[0029] A data matching module is configured to match the current image grayscale values according to the database to obtain corresponding standard light source brightness.

[0030] A brightness comparison module is configured to compare the current light source brightness with the standard light source brightness, and output a comparison result to a model construction module when the current light source brightness is inconsistent with the standard light source brightness.

[0031] A model construction module is configured to construct a light source brightness mapping model by using the current light source brightness, current image grayscale values, standard image grayscale values and corresponding standard light source brightness.

[0032] A calibration value acquisition module is configured to acquire a light source brightness calibration value according to the light source brightness mapping model.

[0033] A calibration module is configured to calibrate the current light source brightness based on the light source brightness calibration value.

[0034] Further, the system further comprises a brightness verification module configured to acquire final image grayscale values of different final light source brightness obtained after calibration, match corresponding standard image grayscale values from the database based on the final light source brightness, and compare the final image grayscale values with the standard image grayscale values to verify the final light source brightness.

[0035] Based on the same inventive concept, the application further provides a computer readable storage medium, which stores computer executable instructions, and the computer executable instructions are executed by a control processor to implement the light source brightness calibration method.

[0036] Compared with the prior art, the application has at least the following beneficial effects:

[0037] The application effectively solves the technical problem that in the traditional light source calibration method, the light source brightness is adjusted by manually observing the image gray difference, and such calibration method cannot be quantified, and is time-consuming and labor-consuming, and it is difficult to evaluate the effectiveness of light source calibration. The standard light source brightness and the corresponding standard image gray value provided by the pre-constructed database and the light source brightness mapping model constructed can realize the quantification of light source brightness calibration. The calibration of the light source brightness avoids the problem of inconsistent imaging caused by light source aging or manufacturing differences. The image gray value under different light source brightness is matched with the database, so as to automatically calibrate the light source brightness, and the working efficiency of light source calibration is effectively improved. The light source brightness calibration value obtained by the constructed light source brightness mapping model is used to calibrate the current light source brightness, so as to ensure the accuracy and reliability of the light source brightness calibration. BRIEF DESCRIPTION OF DRAWINGS

[0038] Figure 1 is a flowchart of the light source brightness calibration method shown in the embodiment of the application.

[0039] Figure 2 is a schematic diagram of the light source brightness calibration system shown in the embodiment of the application. DETAILED DESCRIPTION

[0040] The technical solutions in the embodiments of the application will be clearly and completely described below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only part of the embodiments of the application, not all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of the application.

[0041] It should be noted that the terms "first", "second" and the like in the specification and claims of the application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or server including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0042] Embodiment one:

[0043] Please refer to Figure 1The light source brightness calibration method comprises steps S100-S400.

[0044] The step S100 comprises: collecting current image gray values under different current light source brightness in real time. For example, the light source brightness of the collected image set can be 60, 80, 100, 120, 140, 160, 180, 200, etc. in turn, and is not limited thereto. During the collection of the current image gray values, consistency of other parameters except the light source brightness needs to be ensured, for example, the exposure, channel, gain and other parameters remain consistent. The collected image data can also be filtered and preprocessed through median or mean filtering and other preprocessing operations, so as to obtain the current image gray values. Those skilled in the art can take median and mean filtering processing different from the above according to actual needs, and other preprocessing operations can also be used, which are not limited herein.

[0045] The step S200 comprises: matching the current image gray values according to the database to obtain corresponding standard light source brightness. A plurality of different standard light source brightness and corresponding standard image gray values are pre-stored in the database, and the same standard image gray values as the current image gray values can be obtained through the database, and then the standard light source brightness corresponding to the standard image gray values is obtained.

[0046] The step S300 comprises: comparing the current light source brightness with the standard light source brightness, so that when the current light source brightness is inconsistent with the standard light source brightness, a light source brightness mapping model is constructed through the current light source brightness, current image gray value, standard image gray value and corresponding standard light source brightness, and a light source brightness calibration value is obtained according to the light source brightness mapping model. When the current light source brightness is consistent with the standard light source brightness, it means that the current light source brightness does not need to be calibrated.

[0047] And the step S400 comprises: calibrating the current light source brightness based on the light source brightness calibration value. The light source brightness controller to be calibrated can be used, the light source brightness calibration value is input into the light source brightness controller to be calibrated, and the light source brightness is calibrated through the light source brightness controller to be calibrated. The calibrated current light source brightness can effectively avoid the imaging inconsistency caused by manufacturing differences or aging problems between different devices, and improve the imaging consistency. Through the automatic calibration process, the technical problems that the calibration method cannot be quantified and is time-consuming and difficult to evaluate the effectiveness of the light source calibration due to manual observation of image gray difference are avoided.

[0048] In some embodiments, the light source brightness mapping model is constructed based on the current light source brightness, the current image gray value, the standard image gray value, and the corresponding standard light source brightness, comprising:

[0049] a linear relationship model is constructed based on the standard light source brightness and the standard image gray value; first and second model parameters of the linear relationship model are obtained based on the current light source brightness and the current image gray value; third and fourth model parameters of the linear relationship model are obtained based on the standard light source brightness and the standard image gray value.

[0050] For example, the standard image gray value can be represented by Gray, the standard light source brightness can be represented by Intensity, and the linear relationship model constructed based on the standard light source brightness and the standard image gray value can be:

[0051] Gray=k*Intensity+b;

[0052] wherein k and b are model parameters of the linear relationship model.

[0053] The first model parameter of the linear relationship model obtained based on the current light source brightness and the current image gray value can be k, and the second model parameter obtained can be b; the third model parameter of the linear relationship model obtained based on the standard light source brightness and the standard image gray value can be k_std, and the fourth model parameter obtained can be b_std. In the process of calculating the first model parameter k, the second model parameter b, the third model parameter k_std, and the fourth model parameter b_std, the least square method can be used for operation, which is not limited herein.

[0054] Preferably, the light source brightness mapping model is constructed based on the current light source brightness, the current image gray value, the standard image gray value, and the corresponding standard light source brightness, further comprising:

[0055] a first mapping parameter is obtained based on the first and third model parameters; a second mapping parameter is obtained based on the second and fourth model parameters; and the light source brightness mapping model is constructed based on the standard light source brightness, the first mapping parameter, the second mapping parameter, the first model parameter, and the second model parameter.

[0056] For example, the first mapping parameter obtained based on the first and third model parameters can be:

[0057] sigma=k / k_std;

[0058] wherein sigma is the first mapping parameter.

[0059] The second mapping parameter can be obtained based on the second model parameter and a fourth model parameter.

[0060] belta = b std - b;

[0061] The second mapping parameter is belta.

[0062] The light source brightness mapping model can be constructed based on the standard light source brightness, the first mapping parameter, the second mapping parameter, the first model parameter, and the second model parameter.

[0063] IntensityOut = Intensity / sigma + belta / k;

[0064] The light source brightness calibration value is IntensityOut.

[0065] Preferably, the current image gray value under different current light source brightness is acquired in real time, and the method further comprises:

[0066] The current image data under different current light source brightness is acquired, the current image data is filtered, and the current image gray value is further obtained based on the filtered image data.

[0067] The current image data can be filtered by using a median or mean method, but is not limited thereto. For example, the average gray value of each image data is calculated, and the average gray value is used as the current image gray value. When the current image data under different current light source brightness is acquired, it is ensured that the parameters other than the light source brightness are consistent, thereby avoiding the interference of other parameters.

[0068] Preferably, the database for storing the standard light source brightness and the corresponding standard image gray value is constructed in advance, and the method comprises:

[0069] The standard image gray value of different standard light source brightness is obtained according to a standard gray scale plate, and the standard light source brightness and the corresponding standard image gray value are stored in the database.

[0070] Each region in the standard gray scale plate has a different standard image gray value, and each standard image gray value corresponds to a standard light source brightness. By recording the standard image gray value and the corresponding standard light source brightness to the database, effective data support is provided for subsequent light source brightness calibration.

[0071] Preferably, after the current light source brightness is calibrated based on the light source brightness calibration value, the method further comprises:

[0072] The final image gray value of the final light source brightness acquired after calibration is collected; the corresponding standard image gray value is matched from the database based on the final light source brightness; and the final light source brightness is verified by comparing the final image gray value with the standard image gray value.

[0073] The final light source brightness can be acquired after the current light source brightness is calibrated by the light source brightness calibration value, the final image gray value is acquired by collecting the average gray value of the image data of the final light source brightness, the standard image gray value corresponding to the same standard light source brightness is searched from the database by the final light source brightness, and the final image gray value is compared with the standard image gray value for verification.

[0074] Preferably, the verification of the final light source brightness comprises:

[0075] If the final image gray value is consistent with the standard image gray value, the final light source brightness is verified to be passed; otherwise, the final light source brightness is verified to be failed, and the final light source brightness is calibrated again by the light source brightness mapping model until the final light source brightness is verified to be passed.

[0076] The final light source brightness is calibrated again by the light source brightness mapping model in an iterative manner when the final light source brightness is verified to be failed, so that the final light source brightness is verified to be passed, and the reliability of light source brightness calibration is ensured.

[0077] Embodiment two:

[0078] Please refer to Figure 2 The application also proposes a system adopting the light source brightness calibration method of embodiment one, mainly comprising a data collection module, a data matching module, a brightness comparison module, a model construction module, a calibration value acquisition module and a calibration module.

[0079] The data collection module is used to collect the current image gray value under different current light source brightness in real time. When data is collected in the data collection module, it is necessary to ensure that other parameters remain unchanged except the light source brightness, for example, to ensure the consistency of parameters such as exposure, channel and gain, so as to avoid the interference of other parameters. The collected image data is subjected to preprocessing operations such as median filtering or mean filtering in the data collection module, so as to improve the stability of the collected current image gray value.

[0080] The data matching module is configured to match the current image gray value with the database to obtain a corresponding standard light source brightness. The database used by the data matching module is pre-constructed and stores a large number of standard light source brightnesses and corresponding standard image gray values. The standard light source brightnesses and standard image gray values stored in the database can be mainly obtained by using a standard gray scale plate. After the data matching module matches the current image gray value to the corresponding standard light source brightness, the standard light source brightness is output to the brightness comparison module.

[0081] The brightness comparison module is configured to compare the current light source brightness with the standard light source brightness, and output a comparison result to the model construction module when the current light source brightness is inconsistent with the standard light source brightness. After receiving the standard light source brightness, the brightness comparison module compares the standard light source brightness with the current light source brightness, so as to effectively determine whether the current light source brightness is consistent with the standard light source brightness.

[0082] The model construction module is configured to construct a light source brightness mapping model by using the current light source brightness, the current image gray value, the standard image gray value, and the corresponding standard light source brightness. In the model construction module, a linear relationship model can be constructed according to the standard image gray value and the standard light source brightness, and then model parameters of the current light source brightness and the current image gray value, and model parameters of the standard light source brightness and the standard image gray value are calculated by using the linear relationship model, so as to construct the light source brightness mapping model according to the obtained model parameters.

[0083] The calibration value acquisition module is configured to acquire a light source brightness calibration value according to the light source brightness mapping model. In the calibration value acquisition module, the light source brightness calibration value is acquired by running the constructed light source brightness mapping model.

[0084] In addition, the calibration module is configured to calibrate the current light source brightness based on the light source brightness calibration value. By using the light source brightness mapping model based on the standard light source brightness and the corresponding standard image gray value, the light source brightness calibration value that enables the current light source brightness to be calibrated can be obtained.

[0085] Preferably, the system further comprises a brightness verification module configured to acquire a final image gray value of a different final light source brightness obtained after calibration; match a corresponding standard image gray value from the database based on the final light source brightness; and compare the final image gray value with the standard image gray value to verify the final light source brightness.

[0086] The final light source brightness after calibration is verified by the brightness verification module, so as to further ensure the accuracy of the light source brightness calibration.

[0087] Embodiment three:

[0088] The application further provides a computer readable storage medium storing computer executable instructions, which, when executed by a processor, implement the light source brightness calibration method in the first embodiment.

[0089] In the computer readable storage medium, the implementation can be achieved by software, hardware, firmware or any combination thereof, in whole or in part. When implemented by software, the implementation can be achieved in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed by a computer, the computer instructions produce the processes or functions described in the embodiments of the application in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as DVD), or semiconductor media (such as solid state disk (SSD)) and the like.

[0090] In summary, the application realizes the quantification of light source brightness calibration by constructing the database for storing standard light source brightness and standard image gray value and constructing the light source brightness mapping model. The calibration of light source brightness avoids the problem of inconsistent imaging caused by light source aging or manufacturing differences, etc. The calibration of light source brightness is automatically realized by matching the image gray value under different light source brightness with the database, which effectively improves the work efficiency of light source calibration. The calibration of current light source brightness is realized by acquiring the light source brightness calibration value through the constructed light source brightness mapping model, thereby ensuring the accuracy and reliability of light source brightness calibration.

[0091] In several embodiments provided in the present application, it can be understood that each block in the flowchart or block diagram can represent a module, a segment or a portion of code which includes one or more executable instructions for implementing the specified logic function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figure. For example, two blocks noted in succession can in fact be executed substantially concurrently or in the reverse order, depending on the functionality involved.

[0092] The functions described above if implemented in the form of software function modules and sold or used as independent products can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part of the prior art or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing an electronic device to perform all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk and various media capable of storing program codes.

[0093] The above specific embodiments further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only for specific embodiments of the present application and is not intended to limit the protection scope of the present application. It is particularly pointed out that any modification, equivalent replacement, improvement, etc. made by those skilled in the art within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method of calibrating the brightness of a light source, characterized by, The database is pre-constructed to store standard light source brightness and corresponding standard image gray value, and the light source brightness calibration method comprises: Real-time acquisition of current image gray value under different current light source brightness; Matching of the current image gray value according to the database to obtain corresponding standard light source brightness; Comparison of the current light source brightness with the standard light source brightness, so that when the current light source brightness is inconsistent with the standard light source brightness, a light source brightness mapping model is constructed through the current light source brightness, current image gray value, standard image gray value and corresponding standard light source brightness, and a light source brightness calibration value is obtained according to the light source brightness mapping model; And calibration of the current light source brightness based on the light source brightness calibration value.

2. The light source brightness calibration method of claim 1, wherein, Construction of the light source brightness mapping model through the current light source brightness, current image gray value, standard image gray value and corresponding standard light source brightness comprises: Construction of a linear relationship model based on the standard light source brightness and standard image gray value; Obtaining of first model parameters and second model parameters of the linear relationship model based on the current light source brightness and the current image gray value; Obtaining of third model parameters and fourth model parameters of the linear relationship model based on the standard light source brightness and the standard image gray value.

3. The method of claim 2, wherein the light source brightness calibration is performed by: Construction of the light source brightness mapping model through the current light source brightness, current image gray value, standard image gray value and corresponding standard light source brightness further comprises: Obtaining of first mapping parameters based on the first model parameters and third model parameters; Obtaining of second mapping parameters based on the second model parameters and fourth model parameters; Construction of the light source brightness mapping model based on the standard light source brightness, first mapping parameters, second mapping parameters, first model parameters and second model parameters.

4. The method of claim 3, wherein the light source brightness calibration is performed by a light source brightness calibration module. The real-time acquisition of current image gray value under different current light source brightness further comprises: Acquisition of current image data under different current light source brightness, filtering processing of the current image data, and further obtaining of the current image gray value based on the processed image data.

5. The method of claim 4, wherein, The database pre-constructed to store standard light source brightness and corresponding standard image gray value comprises: Obtaining of standard image gray value of different standard light source brightness according to a standard gray scale plate, and storing of the standard light source brightness and corresponding standard image gray value into the database.

6. The method of claim 5, wherein the step of determining the luminous intensity of the light source comprises: After the calibration of the current light source brightness based on the light source brightness calibration value, further comprising: Acquisition of final image gray value of different final light source brightness obtained after calibration; Matching of corresponding standard image gray value from the database based on the final light source brightness; Comparison of the final image gray value with the standard image gray value to verify the final light source brightness.

7. The method of claim 6, wherein the step of determining the luminous intensity of the light source comprises: The verification of the final light source brightness comprises: If the final image gray value is consistent with the standard image gray value, the final light source brightness is verified to be passed; otherwise, the final light source brightness is verified to be failed, and the final light source brightness is calibrated again through the light source brightness mapping model until the final light source brightness is verified to be passed.

8. A system for luminance calibration of a light source based on the method of any of claims 1-7, characterized in that, The system comprises: a data acquisition module, configured to acquire current image gray values under different current light source brightness in real time; a data matching module, configured to match the current image gray values according to the database to obtain corresponding standard light source brightness; a brightness comparison module, configured to compare the current light source brightness with the standard light source brightness, and output comparison results to a model construction module when the current light source brightness is inconsistent with the standard light source brightness; a model construction module, configured to construct a light source brightness mapping model through the current light source brightness, current image gray values, standard image gray values and corresponding standard light source brightness; a calibration value acquisition module, configured to acquire light source brightness calibration values according to the light source brightness mapping model; and a calibration module, configured to calibrate the current light source brightness based on the light source brightness calibration values.

9. The system for light source brightness calibration method according to claim 8, wherein, The system further comprises a brightness verification module, configured to acquire final image gray values of different final light source brightness after calibration; match corresponding standard image gray values from the database based on the final light source brightness; and compare the final image gray values with the standard image gray values to verify the final light source brightness. The computer readable storage medium stores computer executable instructions, and when the computer executable instructions are executed by the control processor, the light source brightness calibration method of any one of claims 1-7 is implemented.

10. A computer-readable storage medium, characterized in that, ​