Calibration and correction method and device for illumination field non-uniformity detection system
By combining photodetectors and image sensors, the problem of detecting light intensity non-uniformity in a large-area lighting field is solved, high-precision correction is achieved in the absence of a standard light source, and the uniformity assessment of the lighting field is optimized.
Patent Information
- Application Number
- CN202210914322.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-07-29
AI Technical Summary
It is difficult to effectively detect and correct the non-uniformity of illumination intensity in a large-area lighting field with existing technology, especially in the absence of a standard light source, resulting in inaccurate detection results.
Using a method that combines photodetectors and image sensors, a pinhole is used to generate a response on the photosensitive surface of the photodetector, and the displacement stage is controlled to step-scan in the lighting field to obtain the light intensity distribution and image sensor response signal, and perform calibration image processing. and fitting to obtain calibration parameters, which are used to correct the grayscale distribution of the image sensor and determine the non-uniformity of the light intensity distribution.
It improves the detection accuracy and systematicness of light intensity distribution in the lighting field, is suitable for environments lacking standard light sources, optimizes the uniformity assessment of the lighting field, and enhances the accuracy of correction.
Smart Images

Figure CN115265767B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of illumination non-uniformity, and in particular to a calibration and correction method and device for an illumination field non-uniformity detection system. Background Art
[0002] At present, in some precision machining fields, there are very high requirements for the non-uniformity of light intensity distribution in a certain area of the lighting field. In order to adapt to the high-precision requirements of the inspected system for the test results, there are high requirements for the accuracy of the detection equipment, the consistency of the test results with the state of the inspected system, and the repeatability of the detection method.
[0003] The size of the light intensity is usually detected by using a photodetector (such as a photometer, illuminance meter, etc.) to detect the light intensity within the detector's photosensitive range; however, to evaluate the distribution of light intensity in a lighting field of a certain size, a single photodetector is used to discretely collect the light intensity in the lighting field, which is often limited by the size of the sensor's own photosensitive area and cannot meet the requirements for detecting the light intensity of a large area of lighting field. At the same time, the time cost of detection is high, and it is difficult to ensure the stability of the detection results when the photodetector is used for a long time. By using an image sensor (such as a Charge-coupled Device, CCD camera, etc.) to collect images of the lighting field, analyze and use the grayscale values and their distribution corresponding to the pixels in the image to reproduce the distribution of light intensity in the lighting field, it is possible to achieve micron-level spatial detection accuracy and hundreds of millions of detection units in a single acquisition (depending on the pixel size and resolution of the camera). However, after searching the literature on the prior art, it was found that the image sensor itself has a non-uniformity problem. The response output of different detection units under the same conditions is not exactly the same. As a result, when the image is used to reproduce the light intensity distribution of the illumination field, the non-uniformity of the image sensor itself will affect the detection result, making it impossible to characterize the non-uniformity of the light intensity distribution in the illumination field formed by the system under test. The existing light source illumination uniformity detection method usually requires a standard light source to calibrate the effect of the camera lens on the light. After reducing the effect of the camera lens on the light, the image collected by the camera is used to reflect the light uniformity of the light source, but there is a lack of standard light sources in the experimental process. Summary of the invention
[0004] In view of this, the present disclosure provides a calibration and correction method and device for an illumination field non-uniformity detection system, aiming to solve the technical problem of lack of systematic detection of illumination field non-uniformity.
[0005] According to a first aspect of an embodiment of the present disclosure, a calibration and correction method for an illumination field non-uniformity detection system is provided. The non-uniformity detection system includes a translation stage, a photodetector and an image sensor installed on the translation stage, and includes: placing a pinhole close to a photosensitive surface of the photodetector so that light from the illumination field generates a response on the photosensitive surface of the photodetector only through the pinhole; controlling the translation stage to drive the photodetector with the pinhole installed to step and scan a target position in the illumination field to collect a response signal, and obtaining an illumination field whose illumination intensity distribution is regarded as uniform according to the distribution of the response signal in the horizontal and vertical directions; controlling the translation stage to drive the image sensor to step and scan a target position in the illumination field to collect a response image under each illumination radiation intensity, and processing the response image based on the illumination field whose illumination intensity distribution is regarded as uniform to obtain a calibration image; fitting multiple calibration images obtained under different illumination radiation intensities to obtain calibration parameters; and correcting the response image to be calibrated collected by the image sensor under any radiation intensity according to the calibration parameters, and determining the non-uniformity of the illumination intensity distribution in the illumination field under the current state by using the non-uniformity of the grayscale distribution of the corrected response image to be calibrated.
[0006] According to an embodiment of the present disclosure, the method also includes: determining the time domain stability of the lighting system by collecting the power output by the lighting system in a preset time period through a photodetector; after the time domain of the lighting system is stable, installing a pinhole close to the photosensitive surface of the photodetector.
[0007] According to an embodiment of the present disclosure, an illumination field whose light intensity distribution is regarded as uniform is obtained according to the distribution of response signals in the horizontal and vertical directions, specifically including: setting a non-uniformity index; calculating the spatial detection range of the illumination field in the horizontal and vertical directions according to the corresponding response values of the response signals in the horizontal and vertical directions and the non-uniformity index, as the size of the illumination field whose light intensity distribution is regarded as uniform.
[0008] According to an embodiment of the present disclosure, a response image is processed based on an illumination field whose light intensity distribution is regarded as uniform, specifically comprising: intercepting an image area whose lateral size and longitudinal size are length and width, respectively, of an illumination field whose light intensity distribution is regarded as uniform in the response image of each target position, and splicing them into a first intermediate image; performing windowing and traversing on each pixel point in the first intermediate image, and changing the image response value of the pixel point that does not meet the preset condition to the median or mean of the image response value of all the pixel points in the window in the first intermediate image, to obtain a calibration image; or performing windowing and traversing on each pixel point in the response image of each target position, and changing the image response value of the pixel point that does not meet the preset condition to the median or mean of the image response value of all the pixel points in the window in the original image, to obtain a second intermediate image corresponding to each target position; intercepting an image area whose lateral size and longitudinal size are length and width, respectively, of an illumination field whose light intensity distribution is regarded as uniform in the second intermediate image of each target position, and splicing them into a calibration image.
[0009] According to an embodiment of the present disclosure, multiple calibration images obtained with different illumination radiation intensities are fitted to obtain calibration parameters, including: performing nonlinear fitting on the multiple calibration images to obtain calibration parameters that meet the minimum residual condition, wherein the fitting model used in the nonlinear fitting is an S-curve or a high-order curve, and the S-curve has a middle part with approximately linear characteristics.
[0010] According to an embodiment of the present disclosure, the response image to be calibrated collected by the image sensor under any radiation intensity is corrected according to the calibration parameters, and the non-uniformity of the grayscale distribution of the corrected response image to be calibrated is used to determine the non-uniformity of the illumination intensity distribution in the illumination field under the current state, specifically including:
[0011]
[0012] Calculate the corrected grayscale value of each pixel in the response image to be calibrated, where a (I,J) , b (I,J) 、c (I,J) ,d (I,J) is the calibration parameter corresponding to the pixel point (I, J), V′ (I,J) is the gray value of the pixel (I, J) before correction, is the gray value of the pixel (I, J) after correction; the non-uniformity index of the light intensity distribution in the illumination field under the current state is calculated according to the maximum gray value and the minimum gray value among the gray values of all the pixels after correction.
[0013] According to an embodiment of the present disclosure, the control stage drives the photoelectric detector equipped with a pinhole to step and scan the target position in the illumination field, and the step length is less than or equal to the diameter of the pinhole.
[0014] According to an embodiment of the present disclosure, the response images of each target position are collected by taking the lateral and longitudinal dimensions of the illumination field whose light intensity distribution is considered to be uniform as the lateral and longitudinal step lengths of the image sensor, respectively.
[0015] According to an embodiment of the present disclosure, the method also includes: in case of time domain instability of the lighting system, adjusting the time domain stability of the lighting system, and the adjustment method includes at least one of the following: adjusting the parameters of the lighting source of the lighting system through circuit design; or adjusting the parameters of the lighting source of the lighting system through optical materials; or adjusting the parameters of the lighting source of the lighting system through temperature feedback using proportional differential integral; or replacing the lighting source of the lighting system.
[0016] According to a second aspect of the disclosed embodiment, there is provided a calibration and correction device for an illumination field non-uniformity detection system. The non-uniformity detection system includes a translation stage and a photodetector and an image sensor mounted on the translation stage, including: a mounting module for mounting a pinhole close to a photosensitive surface of the photodetector so that light from the illumination field only passes through the pinhole to generate a response on the photosensitive surface of the photodetector; an acquisition module for controlling the translation stage to drive the photodetector with the pinhole mounted thereon to step and scan a target position in the illumination field to collect a response signal, and to obtain an illumination field whose light intensity distribution is regarded as uniform according to the horizontal and vertical distribution of the response signal; and a processing module. , under each illumination radiation intensity, it is used to control the displacement stage to drive the image sensor to step and scan the target position in the illumination field to collect the response image, and the response image is processed based on the illumination field whose illumination intensity distribution is regarded as uniform to obtain the calibration image; the fitting module is used to fit multiple calibration images obtained with different illumination radiation intensities to obtain the calibration parameters; the correction module is used to correct the response image to be calibrated collected by the image sensor under any radiation intensity according to the calibration parameters, and the non-uniformity of the grayscale distribution of the corrected response image to be calibrated is used to determine the non-uniformity of the illumination intensity distribution in the illumination field under the current state.
[0017] The calibration and correction method and device of the illumination field non-uniformity detection system provided by the embodiments of the present disclosure have at least the following beneficial effects:
[0018] By combining the photodetector with the image sensor, the photodetector is used to obtain the illumination field with uniform light intensity distribution, and then the response image obtained by the image sensor is processed based on the illumination field with uniform light intensity distribution to obtain the calibration parameters for non-uniformity evaluation, optimize the illumination field application scenario, and improve the systematicness of the calibration and correction process. It is particularly suitable for the measurement of illumination field uniformity indicators in the absence of a standard light source.
[0019] The S-curve fitting model is used to perform nonlinear fitting on multiple calibration images, so that the calibration points selected for fitting have the middle part with approximate linear characteristics. There is no need to select too many calibration points to avoid overfitting. The calibration points selected at both ends are relatively dense, which enhances the fitting effect and makes the fitting effect closer to the actual situation. The obtained calibration parameters are more accurate, and thus the correction based on the calibration parameters is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0021] Figure 1 The flowchart of the calibration and correction method of the illumination field non-uniformity detection system according to the embodiment of the present disclosure is schematically shown.
[0022] Figure 2 The principle diagram of obtaining an illumination field that is considered to be uniform according to an embodiment of the present disclosure is schematically shown.
[0023] Figure 3 The schematic diagram shows a principle diagram of processing a response image based on an illumination field whose light intensity distribution is considered to be uniform according to an embodiment of the present disclosure.
[0024] Figure 4 A block diagram of a calibration and correction device for an illumination field non-uniformity detection system provided according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.
[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0027] In the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0028] In the description of the present disclosure, it is necessary to understand that the terms "longitudinal", "length", "circumferential", "front", "rear", "left", "right", "top", "bottom", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the subsystem or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present disclosure.
[0029] Throughout the drawings, the same elements are represented by the same or similar reference numerals. Conventional structures or configurations will be omitted when they may cause confusion in the understanding of the present disclosure. The shapes, sizes, and positional relationships of the components in the drawings do not reflect the actual size, proportion, and actual positional relationship. In addition, in the present disclosure, any reference symbol between brackets should not be constructed as a limitation to the present disclosure.
[0030] Similarly, in order to simplify the present disclosure and help understand one or more of the various disclosed aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, figure, or description thereof. The description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0031] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of the present disclosure, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0032] Figure 1 The flowchart of the calibration and correction method of the illumination field non-uniformity detection system according to the embodiment of the present disclosure is schematically shown.
[0033] like Figure 1 As shown, the calibration and correction method of the illumination field non-uniformity detection system may include, for example, operations S101 to S105.
[0034] In operation S101, a pinhole is installed close to a photosensitive surface of a photodetector, so that light of an illumination field only passes through the pinhole to generate a response on the photosensitive surface of the photodetector.
[0035] In operation S102, the translation stage is controlled to drive the photoelectric detector equipped with a pinhole to step and scan the target position in the illumination field to collect response signals, and the illumination field whose light intensity distribution is regarded as uniform is obtained according to the horizontal and vertical distribution of the response signals.
[0036] In operation S103, at each illumination radiation intensity, the translation stage is controlled to drive the image sensor to step and scan the target position in the illumination field to collect a response image, and the response image is processed based on the illumination field whose illumination intensity distribution is regarded as uniform to obtain a calibration image.
[0037] In operation S104, multiple calibration images obtained with different illumination radiation intensities are fitted to obtain calibration parameters.
[0038] In operation S105, the response image to be calibrated collected by the image sensor under any radiation intensity is corrected according to the calibration parameters, and the non-uniformity of the grayscale distribution of the corrected response image to be calibrated is used to determine the non-uniformity of the light intensity distribution in the illumination field under the current state.
[0039] The non-uniformity detection system provided by the embodiment of the present disclosure includes a translation stage, a photoelectric detector and an image sensor. The translation stage can move within the illumination field of the illumination system to be inspected. The photoelectric detector and the image sensor are mounted on the translation stage. The photosensitive surface of the image sensor and the photosensitive surface of the photoelectric detector must be perpendicular to the illumination optical axis and be stable in the same plane.
[0040] Before performing operation S101, the embodiment of the present disclosure can also determine the temporal stability of the lighting system by collecting the power output by the lighting system through the photodetector in a preset time period (e.g., 8 consecutive hours). After the temporal stability of the lighting system, the pinhole is installed close to the photosensitive surface of the photodetector.
[0041] If the lighting system is found to be unstable in time domain through continuous measurement, the time domain stability of the lighting system can be adjusted, and the adjustment methods include at least one of the following: by improving the experimental environment; or adjusting the parameters of the lighting source of the lighting system through circuit design; or adjusting the parameters of the lighting source of the lighting system through optical materials; or adjusting the parameters of the lighting source of the lighting system through temperature feedback using proportional differential integral; or replacing the lighting source of the lighting system. Adjustment is used to avoid the influence of temperature, vibration and the quality of the lighting source itself on the time domain stability of the lighting system.
[0042] In an embodiment of the present disclosure, obtaining an illumination field whose light intensity distribution is considered to be uniform according to the horizontal and vertical distribution of the response signal may include, for example, any one of the following three methods.
[0043] The first method may be: obtaining the longitudinal dimension of the illumination field that is considered uniform according to the distribution curve of the response data collected by the photodetector in the column corresponding to the vertex of the distribution curve of the response data collected by the photodetector in any row of the illumination field, and obtaining the transverse dimension of the illumination field that is considered uniform according to the distribution curve of the response data collected by the row corresponding to the vertex of the distribution curve of the response data collected by the column. It should be understood that the columns may be scanned first and then the rows, specifically, obtaining the transverse dimension of the illumination field that is considered uniform according to the distribution curve of the response data collected by the photodetector in the row corresponding to the vertex of the distribution curve of the response data collected by the photodetector in any column of the illumination field, and obtaining the longitudinal dimension of the illumination field that is considered uniform according to the distribution curve of the response data collected by the column corresponding to the vertex of the distribution curve of the response data collected by the row.
[0044] The second method may be: obtaining multiple initial transverse dimensions according to a distribution curve of response data collected by the photodetector in each row of the illumination field, and determining the smallest initial transverse dimension among the multiple initial transverse dimensions as the transverse dimension of the illumination field that is considered uniform. Obtaining multiple initial longitudinal dimensions according to a distribution curve of response data collected by the photodetector in each column of the illumination field, and determining the smallest initial longitudinal dimension among the multiple initial longitudinal dimensions as the longitudinal dimension of the illumination field that is considered uniform.
[0045] The third method may be: obtaining the lateral size of the illumination field according to the distribution of response data collected by the photodetector in any row of the illumination field; obtaining the longitudinal size of the illumination field according to the distribution of response data collected by the photodetector in any column of the illumination field.
[0046] For each mode, the process of calculating the size of the illumination field considered uniform according to the distribution of the response signals collected by the rows and the distribution of the response signals collected by the columns may include, for example: setting a non-uniformity index. Calculating the spatial detection range of the illumination field in the horizontal and vertical directions according to the corresponding response values of the response signals in the horizontal and vertical directions and the non-uniformity index as the size of the illumination field considered uniform in the light intensity distribution.
[0047] Figure 2 The principle diagram of obtaining an illumination field that is considered to be uniform according to an embodiment of the present disclosure is schematically shown.
[0048] For example, Figure 2 As shown, based on the selected pinhole diameter, according to the required non-uniform index PV of the illumination light field, the light field passing through the pinhole is spliced to form an area L x ×L y The illumination field with uniformity is considered to be an illumination field with acceptable uniformity.
[0049] Specifically, the translation stage enables the pinhole and the photodetector to perform step-scanning of the illumination field in the plane of the illumination field, and the stepping distance is less than or equal to the pinhole diameter. At the same time, the response value of the photodetector at the corresponding position is collected. In the embodiment, when the pinhole and the photodetector step along the x-direction (horizontally), the distribution curve of the response value of the photodetector along the x-axis is a parabola, and there may be differences in the response curves between rows and columns. In other words, when the y-axis coordinates (longitudinal) of the rows scanned by the pinhole and the photodetector are different, the distribution curves of the response values of the photodetector along the x-axis are different. Similarly, the distribution curve of the response value of the photodetector along the y-axis changes with the change of the x-axis coordinate at the signal collection point.
[0050] Based on the acquisition results of the photoelectric detector and the non-uniformity index PV (the value of the non-uniformity index PV is preset according to actual needs), the spatial detection range L in the x and y directions of the illumination field is set respectively. x , L y PV is the maximum value of the photodetector output V max With minimum value V min The absolute value of the difference between the sum of the two, that is, (V max -V min ) / (V max +V min )*100%. Since the response values collected from the illumination field constitute a three-dimensional arc surface, in order to simplify the selection process of the uniform illumination surface, a rectangular uniform illumination surface is obtained.
[0051] It should be understood that Figure 2 The principle of obtaining the horizontal or vertical size of the illumination field according to the distribution of the response data of a row or column scan is shown. In practical applications, when any of the above three methods is flexibly selected according to application requirements to obtain the size of a uniform illumination field, the method of obtaining the horizontal or vertical size of the illumination field according to the distribution of the response data of a row or column scan in each method can be referred to. Figure 2 .
[0052] It should be noted that the advantage of the first method is that only three scans are required to obtain L x , L y , which saves scanning time. In actual situations, the distribution curves (quadratic function images) of the response data excluding the edge are mostly close. x , L y It is not only fast but also has strong representational significance.
[0053] The advantage of the second method is that since the illumination field is globally scanned, L x , L yIn addition, due to the existence of edge effects, in order to save time, the edge parts can be removed (for example, the 5% of the edge in the four directions of up, down, left, and right can be excluded), and a full range of scans can be performed, and finally the shortest L x , L y The final size of the field considered as uniform illumination.
[0054] The advantage of the third method is that it takes the shortest time to scan any row or column. Since the response value distribution collected at any x-coordinate and any y-coordinate of the illumination field is a quasi-Gaussian distribution, it can be approximately considered that the uniformity at the center of the illumination field is the best. Therefore, when the third method is used to obtain an illumination field that is considered uniform, the pinhole and the photodetector are stepped and scanned in the x-direction and y-direction passing through the center of the illumination field in the illumination field plane through the translation stage.
[0055] In one embodiment of the present disclosure, the control stage drives the photoelectric detector equipped with a pinhole to step and scan the target position in the illumination field, and the step length may be less than or equal to the diameter of the pinhole.
[0056] The diameter of the precision pinhole and the single axial step length of the translation stage can be selected according to user needs and non-uniformity index requirements. For example, the user can choose any of the following solutions according to their own needs: non-uniformity index PV <1%, pinhole diameter 5μm-100μm; non-uniformity index PV: 1%-5%, pinhole diameter 100μm-500μm; non-uniformity index PV>5%, pinhole diameter 500μm-1mm.
[0057] According to the embodiments of the present disclosure, three different solutions are provided for users to choose from. Users can select a solution according to their own needs, thereby improving the applicability of the calibration and correction method of the illumination field non-uniformity detection system.
[0058] In one embodiment of the present disclosure, the horizontal and vertical dimensions of the illumination field whose light intensity distribution can be regarded as uniform are used as the horizontal and vertical step lengths of the image sensor to collect response images of each target position.
[0059] Exemplarily, when the illumination system and illumination field are fixed and the illumination system is stable (including fixed parameters such as radiation intensity, area size, and position), the translation stage drives the image sensor to move in the x-direction and y-direction relative to the illumination field. The illumination field is scanned relative to the image sensor within the required image sensor area. The step length of the translation stage in the x-direction is L. x The step length in the y direction is L yThe image sensor is controlled to continuously collect images n times after each step to the target position. After mean filtering, the grayscale distribution of the response image of the target position is obtained. Each target position has A×B pixels. Mean filtering is to average the n-time response value V of each pixel at any target position, that is:
[0060]
[0061] In an embodiment of the present disclosure, processing the response image based on the illumination field whose light intensity distribution is considered to be uniform may include two methods.
[0062] Figure 3 The schematic diagram shows a principle diagram of processing a response image based on an illumination field whose light intensity distribution is considered to be uniform according to an embodiment of the present disclosure.
[0063] like Figure 3 As shown, the first processing method can be: intercepting the image area with the lateral size and longitudinal size of the illumination field regarded as uniform in the light intensity distribution in the response image of each target position, and splicing them into a first intermediate image; performing windowing and traversal on each pixel point in the first intermediate image, changing the image response value of the pixel point that does not meet the preset conditions to the median or mean of the image response values of all the pixel points in the window in the first intermediate image, and obtaining a calibration image.
[0064] For example, based on the obtained response image of the target position of all scans, L centered at the target position is intercepted. x ×L y Grayscale distribution of the response image within the regional range, splicing the output image (first intermediate image) at the required image sensor area under the current radiation intensity. Take any pixel (I, J) of the output image as the center window with a size of (2m+1)*(2n+1) pixels for windowing traversal, where m and n are non-negative integers, usually m≥2, n≥2, and I of the selected pixel (I, J) is greater than or equal to m+1, and J is greater than or equal to n+1. Then, determine whether the response of the pixel is removed. The criterion for determining whether the pixel response value is removed is whether the response value is in the interval [μ-3σ, μ+3σ]. Remove the response value that is not in the interval [μ-3σ, μ+3σ], where μ is the mean of the grayscale values of all pixel responses in the window, and σ^2 is the variance of all grayscale values of the response in the window. For the removed response value, the median of all values in the window is assigned as the response image grayscale value of the pixel. The grayscale distribution of pixels with I<m+1 and J<n+1 remains unchanged to obtain the calibrated image.
[0065] The second processing method can be: perform windowing and traversal on each pixel point in the response image of each target position, change the image response value of the pixel point that does not meet the preset conditions to the median or mean of the image response values of all pixel points in the window in the original image, and obtain the second intermediate image corresponding to each target position; intercept the image area with the lateral size and longitudinal size of the illumination field regarded as uniform in the second intermediate image of each target position as the length and width, and splice them into a calibration image.
[0066] Exemplarily, based on the obtained response images of all the scanned target positions, a window of size (2m+1)*(2n+1) pixels is used as the center of an arbitrary pixel (I, J) of the output image at each target position for window traversal, where m and n are non-negative integers, usually m≥2, n≥2, and I of the selected pixels (I, J) is greater than or equal to m+1, and J is greater than or equal to n+1. Then, it is determined whether the response of the pixel is removed. The criterion for determining whether the pixel response value is removed is whether the response value is within the interval [μ-3σ, μ+3σ]. The response values that are not within the interval [μ-3σ, μ+3σ] are removed, where μ is the mean of the grayscale values of the responses of all pixels in the window, and σ^2 is the variance of the grayscale values of the responses of all pixels in the window. For the removed response value, the median of all values in the window is assigned as the grayscale value of the response image of the pixel to obtain a second intermediate image. The L image of the second intermediate image centered at the target position is intercepted. x ×L y The grayscale distribution of the response image within the regional range is spliced, and the output image at the required image sensor area under the current radiation intensity is spliced to obtain the calibration image.
[0067] It should be noted that keeping the lighting field unchanged, N different radiation intensities are obtained only by energy regulation. The illumination field is repeated and the above operation is repeated to obtain N calibration images.
[0068] In one embodiment of the present disclosure, fitting multiple calibration images to obtain calibration parameters may include, for example: performing nonlinear fitting on multiple calibration images to obtain a polynomial parameter matrix corresponding to the calibration parameters under the condition of minimum residual error, wherein the fitting model used in the nonlinear fitting is an S-curve or a high-order curve, and the S-curve has a middle part with approximately linear characteristics. The nonlinear fitting may be performed in a least squares polynomial fitting manner.
[0069] For example, the calibration image can be converted into a grayscale response matrix Find the grayscale response matrix The gray value of all pixels in The median or mean It is used as the correction expected value of all gray values in the gray response matrix, and the number of rows and columns is the same as that of the gray response matrix The same, each element value in the matrix is The matrix is the correction expectation matrix.
[0070] The radiation intensity of any pixel (I, J) Corrected expected value Gray value The fitting function model between is:
[0071]
[0072] Among them, a (I,J) , b (I,J) 、c (I,J) ,d (I,J) is the calibration parameter.
[0073] Based on this, the sum of squares of the errors can be, for example:
[0074]
[0075] Then find the calibration parameter α that minimizes the sum of squared errors. (I,J) , b (I,J) 、c (I,J) ,d (I,J) , that is, find the calibration parameter α that meets the minimum residual error (I,J) , b (I,J) 、c (I,J) ,d (I,J) .
[0076] For different radiation intensities, the following formula can be used:
[0077]
[0078] Solve for any pixel point (I, J) to meet the minimum residual calibration parameter α (I,J) , b (I,J) 、c (I,J) ,d (I,J) .
[0079] For the grayscale response matrix The calibration parameter α of all pixels (I, J) can be obtained (I,J) , b (I,J) 、c (I,J) ,d (I,J) After that, we get the parameter matrices A, B, C, and D that meet the minimum residual error, where the number of matrix points in A is the same as the grayscale response matrix The number of points is the same, and the value of each point in the matrix is a (I,J) , the same is true for other matrices B, C, and D. The values of each point in the matrix are b (I,J) 、c (I,J) ,d(I,J) .
[0080] In one embodiment of the present disclosure, the response image to be calibrated collected by the image sensor under any radiation intensity is corrected according to the calibration parameters, and the non-uniformity of the grayscale distribution of the corrected response image to be calibrated is used to determine the non-uniformity of the light intensity distribution in the illumination field under the current state. For example, it may include: performing a fitting operation similar to the above on the grayscale value of each pixel in the response image to be calibrated and the calibration parameter corresponding to the pixel to obtain the corrected grayscale value of each pixel. The non-uniformity index of the light intensity distribution in the illumination field under the current state is calculated according to the maximum grayscale value and the minimum grayscale value of the corrected grayscale values of all pixels.
[0081] For example, in the illumination field to be measured, the photosensitive surface of the image sensor is perpendicular to the illumination optical axis, and the image sensor collects the grayscale value V′ of the grayscale response matrix M corresponding to the response image to be calibrated. (I,J) Multiply by the calibration parameter a (I,J) 、b (I,J) 、c (I,J) d (I,J) Then get the corrected gray value
[0082]
[0083] Then, find the maximum grayscale value V among the grayscale values of all pixels after correction max With the minimum gray value V min , through (V max -V min ) / (V max +V min )*100% Calculate the non-uniformity index value of the illumination field.
[0084] It should be noted that V in the above PV formula represents the response value of different acquisition devices, such as the voltage value for photodetectors and the grayscale value for image sensors.
[0085] According to the calibration and correction method of the illumination field non-uniformity detection system provided by the embodiment of the present disclosure, by combining the photoelectric detector with the image sensor, the illumination field whose light intensity distribution is regarded as uniform is first obtained based on the photoelectric detector, and then the response image obtained by the image sensor is processed based on the illumination field whose light intensity distribution is regarded as uniform, and the calibration parameters are obtained to evaluate the non-uniformity, optimize the illumination field application scenario, and improve the systematicness of the calibration and correction process. It is particularly suitable for the illumination field uniformity index measurement occasions lacking standard light sources.
[0086] Based on the same inventive concept, an embodiment of the present disclosure also provides a calibration and correction device for an illumination field non-uniformity detection system.
[0087] Figure 4 A block diagram of a calibration and correction device for an illumination field non-uniformity detection system provided according to an embodiment of the present disclosure is schematically shown.
[0088] like Figure 4 As shown, the calibration and correction device 400 of the illumination field non-uniformity detection system may include, for example, a mounting module 410 , an acquisition module 420 , a processing module 430 , a fitting module 440 and a correction module 450 .
[0089] The mounting module 410 is used to mount the pinhole close to the photosensitive surface of the photodetector so that the light of the illumination field only passes through the pinhole to generate a response on the photosensitive surface of the photodetector.
[0090] The acquisition module 420 is used to control the translation stage to drive the photoelectric detector equipped with a pinhole to step and scan the target position in the illumination field to collect the response signal, and obtain the illumination field that is regarded as uniform in light intensity distribution according to the horizontal and vertical distribution of the response signal.
[0091] The processing module 430 is used to control the translation stage to drive the image sensor to step and scan the target position in the illumination field to collect a response image under each illumination radiation intensity, and to process the response image based on the illumination field regarded as uniform in illumination intensity distribution to obtain a calibration image.
[0092] The fitting module 440 is used to fit multiple calibration images obtained with different illumination radiation intensities to obtain calibration parameters.
[0093] The correction module 450 is used to correct the response image to be calibrated collected by the image sensor under any radiation intensity according to the calibration parameters, and determine the non-uniformity of the light intensity distribution in the illumination field under the current state using the non-uniformity of the grayscale distribution of the corrected response image to be calibrated.
[0094] It should be noted that the calibration and correction device part of the illumination field non-uniformity detection system in the embodiment of the present disclosure corresponds to the calibration and correction method part of the illumination field non-uniformity detection system in the embodiment of the present disclosure, and their specific implementation details and the technical effects brought about are also the same, which will not be repeated here.
[0095] In the embodiments provided in the present disclosure, it should be understood that the disclosed system or device can be implemented in other ways. For example, the system connection circuit embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0096] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0097] In addition, each functional module in each embodiment of the present disclosure may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0098] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0099] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the described action sequence, because according to the present disclosure, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
[0100] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0101] The above is a description of the calibration and correction method of a device for detecting the non-uniformity of light intensity distribution in an illumination field in the field of photoelectric detection provided by the present disclosure. For technicians in this field, according to the ideas of the embodiments of the present disclosure, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present disclosure.
Claims
1. A calibration and correction method for an illumination field non-uniformity detection system, wherein the non-uniformity detection system comprises a translation stage and a photoelectric detector and an image sensor mounted on the translation stage, characterized in that: include: Installing a pinhole close to the photosensitive surface of the photodetector so that the light of the illumination field only passes through the pinhole to generate a response on the photosensitive surface of the photodetector; The control stage drives the photoelectric detector equipped with a pinhole to step and scan the target position in the illumination field to collect response signals, and obtains the illumination field whose light intensity distribution is considered to be uniform according to the horizontal and vertical distribution of the response signals; Under each illumination radiation intensity, the displacement stage is controlled to drive the image sensor to step and scan the target position in the illumination field to collect a response image, and the response image is processed based on the illumination field that is regarded as uniform in the illumination intensity distribution to obtain a calibration image; Fitting multiple calibration images obtained with different illumination radiation intensities to obtain calibration parameters; The response image to be calibrated collected by the image sensor under any radiation intensity is corrected according to the calibration parameters, and the non-uniformity of the grayscale distribution of the corrected response image to be calibrated is used to determine the non-uniformity of the light intensity distribution in the illumination field under the current state.
2. The calibration and correction method of the illumination field non-uniformity detection system according to claim 1, characterized in that: The method further comprises: Determine the time domain stability of the lighting system by collecting the power output by the lighting system in a preset time period through the photoelectric detector; After the illumination system is stabilized in time domain, a pinhole is installed close to the photosensitive surface of the photodetector.
3. The calibration and correction method of the illumination field non-uniformity detection system according to claim 1, characterized in that: The step of obtaining a lighting field whose light intensity distribution is considered to be uniform according to the horizontal and vertical distribution of the response signal specifically includes: Set non-uniformity index; The spatial detection range of the illumination field in the horizontal and vertical directions is calculated according to the corresponding response values of the response signal in the horizontal and vertical directions and the non-uniformity index, which is used as the size of the illumination field whose light intensity distribution is regarded as uniform.
4. The calibration and correction method of the illumination field non-uniformity detection system according to claim 1, characterized in that: The processing of the response image based on the illumination field regarded as uniform based on the light intensity distribution specifically includes: Intercepting image areas whose lateral dimensions and longitudinal dimensions are respectively the length and width of the illumination field regarded as uniform by the light intensity distribution in the response image of each target position, and splicing them into a first intermediate image; performing windowing traversal on each pixel point in the first intermediate image, and changing the image response value of the pixel point that does not meet the preset condition to the median or mean of the image response values of all the pixel points in the window of the first intermediate image, to obtain the calibration image; or Perform window traversal on each pixel point in the response image of each target position, change the image response value of the pixel point that does not meet the preset condition to the median or mean of the image response values of all the pixel points in the window in the original image, and obtain the second intermediate image corresponding to each target position; intercept the image area with the lateral size and longitudinal size of the illumination field regarded as uniform by the light intensity distribution in the second intermediate image of each target position as the length and width, and splice them into the calibration image.
5. The calibration and correction method of the illumination field non-uniformity detection system according to claim 1, characterized in that: The calibration parameters obtained by fitting multiple calibration images obtained with different illumination radiation intensities include: Nonlinear fitting is performed on the multiple calibration images to obtain calibration parameters that meet the minimum residual condition, wherein the fitting model used by the nonlinear fitting is an S-curve or a high-order curve, and the S-curve has a middle part with approximately linear characteristics.
6. The calibration and correction method of the illumination field non-uniformity detection system according to claim 1, characterized in that: Correcting the response image to be calibrated collected by the image sensor under any radiation intensity according to the calibration parameters, and determining the non-uniformity of the illumination intensity distribution in the illumination field under the current state by using the non-uniformity of the grayscale distribution of the corrected response image to be calibrated, specifically including: according to Calculate the corrected grayscale value of each pixel in the response image to be calibrated, where a (I,J) 、b (I,J) 、c (I,J) d (I,J) is the calibration parameter corresponding to the pixel point (I, J), V′ (I,J) is the gray value of the pixel (I, J) before correction, is the gray value of pixel (I, J) after correction; The non-uniformity index of the illumination intensity distribution in the illumination field under the current state is calculated according to the maximum grayscale value and the minimum grayscale value among the corrected grayscale values of all pixels.
7. The calibration and correction method of the illumination field non-uniformity detection system according to claim 1, characterized in that: The control displacement stage drives the photoelectric detector equipped with a pinhole to step and scan the target position in the illumination field, and the step length is less than or equal to the diameter of the pinhole.
8. The calibration and correction method of the illumination field non-uniformity detection system according to claim 1, characterized in that: The response images of each target position are collected by taking the lateral size and the longitudinal size of the illumination field in which the light intensity distribution is regarded as uniform as the lateral and longitudinal step lengths of the image sensor respectively.
9. The calibration and correction method of the illumination field non-uniformity detection system according to claim 2, characterized in that: The method further comprises: In the case where the time domain of the lighting system is unstable, adjusting the time domain stability of the lighting system, wherein the adjustment method includes at least one of the following: Adjusting parameters of the lighting source of the lighting system by circuit design; or adjusting parameters of the illumination source of the illumination system by means of optical materials; or Adjusting the parameters of the lighting source of the lighting system by using proportional-derivative-integral through temperature feedback; or Replace the illumination source of the illumination system.
10. A calibration and correction device for an illumination field non-uniformity detection system, the non-uniformity detection system comprising a translation stage and a photoelectric detector and an image sensor mounted on the translation stage, characterized in that: include: A mounting module is used to mount the pinhole close to the photosensitive surface of the photodetector so that the light of the illumination field only passes through the pinhole to generate a response on the photosensitive surface of the photodetector; An acquisition module is used to control the translation stage to drive the photoelectric detector equipped with a pinhole to step and scan the target position in the illumination field to collect response signals, and to obtain an illumination field whose light intensity distribution is considered to be uniform according to the horizontal and vertical distribution of the response signals; A processing module, for controlling the displacement stage to drive the image sensor to step and scan the target position in the illumination field to collect a response image under each illumination radiation intensity, and processing the response image based on the illumination field regarded as uniform in the illumination intensity distribution to obtain a calibration image; A fitting module, used to fit multiple calibration images obtained with different illumination radiation intensities to obtain calibration parameters; The correction module is used to correct the response image to be calibrated collected by the image sensor under any radiation intensity according to the calibration parameters, and determine the non-uniformity of the light intensity distribution in the illumination field under the current state by using the non-uniformity of the grayscale distribution of the corrected response image to be calibrated.
Citation Information
Patent Citations
Point-to-point correction system
CN101650914A
Relative radiometric calibration method for light field camera
CN102663732A
Online calibration system and online calibration method for ununiformity of LED (light-emitting diode) display screen
CN102723054A
Nonlinear illumination adaptive image splicing method and implementing system thereof
CN104992446A
Method for measuring and correcting light intensity nonuniformity of digital photoetching system
CN105652607A
