Noise calibration method, noise calibration device and storage medium

By calibrating the noise floor and light noise of the image separately in unilluminated and light environments, and combining the weight matrix for overall noise calibration, the problems of low noise calibration accuracy and low efficiency in the prior art are solved, and more efficient noise calibration is achieved .

CN118921570APending Publication Date: 2024-11-08BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310417947.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the process of image noise reduction, it is difficult to effectively separate and calibrate the light noise and noise floor, resulting in high impact on low pixel values, low noise reduction accuracy, and the calibration process requires manual operation and low efficiency.

Method used

By acquiring the original images collected in unlit and light environments, noise floor and light noise calibration are performed respectively, and the noise calibration results are determined based on the weight matrix and the overall noise calibration is performed using the equation K=(XTWX)-1XTWY for the .

Benefits of technology

It improves the accuracy of overall noise calibration, reduces artificial operations, improves calibration efficiency, and solves the problem of low pixel values ​​being affected by noise floor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921570A_ABST
    Figure CN118921570A_ABST
Patent Text Reader

Abstract

The invention relates to a noise calibration method, a noise calibration device and a storage medium. The noise calibration method comprises the steps that a first original image and a second original image are acquired, the first original image is an original image acquired by an image acquisition device in a non-illumination environment, and the second original image is an original image acquired by the image acquisition device in an illumination environment; performing bottom noise calibration on the first original image to obtain a bottom noise calibration result, and performing light noise calibration on the second original image to obtain a light noise calibration result; and determining a noise calibration result based on the ground noise calibration result and the light noise calibration result. According to the invention, the ground noise and the light noise are calibrated separately, and the overall noise calibration result is obtained based on the ground noise calibration result and the light noise calibration result, so that the problem that the low pixel value is greatly influenced by the ground noise when the light noise is calibrated is solved, and the calibration precision of the overall noise is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image noise reduction, and in particular to a noise calibration method, a noise calibration device and a storage medium. Background Art

[0002] When denoising an image, it is necessary to perform denoising based on a pre-determined noise model, which includes the correspondence between camera parameters and image noise. When taking a photo, the calibrated noise is determined based on the camera parameters, and targeted denoising is performed. When performing noise calibration, it is necessary to pre-determine the noise under different parameters and calibrate the noise. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a noise calibration method, a noise calibration device and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a noise calibration method is provided, comprising: acquiring a first original image and a second original image, the first original image being an original image acquired by an image acquisition device in a non-illuminated environment, and the second original image being an original image acquired by the image acquisition device in an illuminated environment; performing background noise calibration on the first original image to obtain a background noise calibration result, and performing optical noise calibration on the second original image to obtain an optical noise calibration result; and determining a noise calibration result based on the background noise calibration result and the optical noise calibration result.

[0005] In one embodiment, determining the noise calibration result based on the background noise calibration result and the optical noise calibration result includes: determining the noise calibration result based on a weight matrix, the background noise calibration result and the optical noise calibration result; wherein, the weight matrix includes a first weight and a second weight, the first weight corresponds to the background noise calibration result, the second weight corresponds to the optical noise calibration result, and the first weight is greater than the second weight.

[0006] In one implementation, the noise calibration result is determined based on the weight matrix, the background noise calibration result, and the optical noise calibration result using the following formula: K = (X T WX) -1 X T WY. Wherein, K is the noise calibration result, W is the weight matrix, X is the mean matrix established based on the mean of the background noise in the background noise calibration result and the mean of the light noise in the light noise calibration result, and Y is the variance matrix established based on the background noise variance in the background noise calibration result and the light noise variance in the light noise calibration result.

[0007] In one embodiment, the method of acquiring a first original image captured by an image acquisition device in a non-illuminated environment and a second original image captured by the image acquisition device in a illuminated environment includes: sending an image acquisition instruction to the image acquisition device, wherein the image acquisition instruction is used to instruct the image acquisition device to traverse each ISO level within an ISO level range and capture a first original image in a non-illuminated environment and a second original image in a illuminated environment at each ISO level; and acquiring the first original image and the second original image captured by the image acquisition device based on the image acquisition instruction.

[0008] In one embodiment, the noise floor calibration of the first original image to obtain the noise floor calibration result includes: for each ISO level within the ISO level range in the image acquisition device, respectively obtaining the noise floor variance and the noise floor mean of the first original image in each color channel, and determining a first corresponding relationship between the ISO level, the noise floor variance and the noise floor mean; and determining the first corresponding relationship as the noise floor calibration result.

[0009] In one embodiment, the performing light noise calibration on the second original image to obtain the light noise calibration result includes: for each ISO level within the ISO level range in the image acquisition device, respectively determining each color channel of the second original image, presetting identification points corresponding to multiple color blocks in the color card, and presetting an identification frame corresponding to each identified point in the second original image; based on the size of the identification frame and the preset number of the first original image at different sensitivity levels, respectively obtaining a second correspondence between the sensitivity level of each color channel in each identification frame and the background noise variance and the background noise mean; and determining the second correspondence as the light noise calibration result.

[0010] According to a second aspect of an embodiment of the present disclosure, a noise calibration device is provided, comprising: an acquisition unit, used to acquire a first original image and a second original image, wherein the first original image is an original image acquired by an image acquisition device in a non-illuminated environment, and the second original image is an original image acquired by the image acquisition device in an illuminated environment; a calibration unit, used to perform background noise calibration on the first original image to obtain a background noise calibration result, and perform optical noise calibration on the second original image to obtain an optical noise calibration result; and a determination unit, used to determine a noise calibration result based on the background noise calibration result and the optical noise calibration result.

[0011] In one embodiment, the determination unit determines the noise calibration result based on the background noise calibration result and the optical noise calibration result in the following manner: the noise calibration result is determined based on a weight matrix, the background noise calibration result and the optical noise calibration result; wherein the weight matrix includes a first weight corresponding to the background noise calibration result and a second weight corresponding to the optical noise calibration result, and the first weight is greater than the second weight.

[0012] In one embodiment, the determination unit determines the noise calibration result based on the weight matrix, the background noise calibration result and the optical noise calibration result using the following formula: K = (X T WX) -1 X T WY. Wherein, K is the noise calibration result, W is the weight matrix, X is the mean matrix established based on the mean of the background noise in the background noise calibration result and the mean of the light noise in the light noise calibration result, and Y is the variance matrix established based on the background noise variance in the background noise calibration result and the light noise variance in the light noise calibration result.

[0013] In one embodiment, the acquisition unit acquires a first original image acquired by an image acquisition device in a non-illuminated environment and a second original image acquired by the image acquisition device in an illuminated environment in the following manner: an image acquisition instruction is sent to the image acquisition device, where the image acquisition instruction is used to instruct the image acquisition device to traverse each ISO level within the ISO level range and acquire a first original image in a non-illuminated environment and a second original image in an illuminated environment at each ISO level; and the first original image and the second original image acquired by the image acquisition device based on the image acquisition instruction are acquired.

[0014] In one embodiment, the calibration unit performs background noise calibration on the first original image in the following manner to obtain a background noise calibration result: for each ISO level within the ISO level range in the image acquisition device, respectively obtain the background noise variance and the background noise mean of the first original image in each color channel, and determine a first corresponding relationship between the ISO level, the background noise variance and the background noise mean; determine the first corresponding relationship as the background noise calibration result.

[0015] In one embodiment, the calibration unit performs light noise calibration on the second original image to obtain a light noise calibration result by: for each ISO level within the ISO level range in the image acquisition device, respectively determining each color channel of the second original image, presetting identification points corresponding to multiple color blocks in the color card, and presetting an identification frame corresponding to each identified point in the second original image; based on the size of the identification frame and the preset number of the first original image at different sensitivity levels, respectively obtaining a second correspondence between the sensitivity level of each color channel in each identification frame and the background noise variance and the background noise mean; and determining the second correspondence as the light noise calibration result.

[0016] According to a third aspect of an embodiment of the present disclosure, a noise calibration device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to: execute the noise calibration method described in the first aspect or any one of the implementations of the first aspect.

[0017] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the noise calibration method described in the first aspect or any one of the embodiments of the first aspect.

[0018] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: respectively obtaining a first original image acquired by an image acquisition device in a non-illuminated environment and a second original image acquired in an illuminated environment, and performing background noise calibration on the first original image, and performing light noise calibration on the second original image, and calibrating the background noise and light noise separately. Based on the background noise calibration results and the light noise calibration results, an overall noise calibration result is obtained, which solves the problem that low pixel values ​​are greatly affected by background noise when calibrating light noise, thereby improving the calibration accuracy of the overall noise.

[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0021] Figure 1 It is a block diagram showing a noise reduction method according to an exemplary embodiment of the present disclosure.

[0022] Figure 2 The block diagram is a method for acquiring an original image according to an exemplary embodiment of the present disclosure.

[0023] Figure 3The figure is a flow chart of a noise calibration method according to an exemplary embodiment.

[0024] Figure 4 It is a block diagram of a method for determining a noise calibration result according to an exemplary embodiment of the present disclosure.

[0025] Figure 5 The invention is a flowchart of a method for determining a noise calibration result according to an exemplary embodiment.

[0026] Figure 6 The present invention is a flowchart of a method for controlling a terminal camera to obtain an original image according to an exemplary embodiment of the present invention.

[0027] Figure 7 The figure is a flow chart of a method for acquiring an original image according to an exemplary embodiment.

[0028] Figure 8 The figure is a flow chart of a method for obtaining a low-noise calibration result according to an exemplary embodiment.

[0029] Fig. 9 is a schematic diagram showing an arrangement of image channels according to an exemplary embodiment of the present disclosure

[0030] Fig.10 The figure is a flow chart of a method for obtaining a low-noise calibration result according to an exemplary embodiment.

[0031] Fig.11 The figure is a block diagram of a noise calibration device according to an exemplary embodiment.

[0032] Fig.12 It is a block diagram of a device for noise calibration according to an exemplary embodiment. DETAILED DESCRIPTION

[0033] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.

[0034] The noise calibration method provided in the embodiments of the present disclosure is applied to scenarios where noise parameters required for noise reduction are obtained for devices such as terminals and surveillance devices that use cameras.

[0035] like Figure 1As shown in the block diagram of the noise reduction method in , the noise reduction processing of the image specifically includes the following steps: obtaining the original image without noise reduction; obtaining the noise level of the image according to the noise calibration result; determining the noise reduction algorithm parameters according to the image noise level; using the noise reduction algorithm to perform noise reduction processing on the image; and obtaining the noise-reduced image. Among them, the noise calibration result reflects the corresponding relationship between the parameters of the camera device and the noise level. The camera device can determine the corresponding noise level based on the parameters when taking pictures, and determine the noise reduction algorithm parameters corresponding to the noise level, and then perform noise reduction through the noise reduction algorithm.

[0036] The purpose of noise calibration is to obtain the noise intensity corresponding to different image acquisition device parameters (such as ISO level or sensitivity level). Generally, noise calibration includes the following three steps: taking samples, counting the pixel value information of the samples, and regressing the model parameters using the statistical information. Noise calibration needs to be calibrated on the original image (raw domain image) after image preprocessing, such as Figure 2 As shown in the block diagram of the original image acquisition process used in the noise calibration, the original image needs to be acquired through the following process: converting the collected light signal into an electrical signal through an optical sensor; performing gain processing on the converted electrical signal through an analog amplifier to obtain an amplified electrical signal; performing digital-to-analog conversion processing on the amplified electrical signal through a digital-to-analog converter to obtain an initial image file to be processed; performing defective pixel correction (DPC) preprocessing on the initial image file to be processed to obtain a target initial image file, which can be used for noise calibration.

[0037] The raw image is an image file format directly output by the image sensor. Since it contains a large amount of raw image information, it is often used in high dynamic range (HDR) imaging, super resolution (SR) imaging, etc. Image sensors introduce noise in each imaging process. For example, during the signal acquisition process of the sensor, the number of photons reaching the sensor in different time periods is not constant and changes over time. That is, the number of photons captured by the sensor pixels is a random quantity, which fluctuates around a certain mean value. The volatility of the number of photons received by the sensor pixels per unit time is manifested as visible noise on the image, namely photon noise. In the process of the sensor performing photoelectric conversion and converting the collected light signal into an electrical signal, the sensor generates electrons due to the photoelectric effect. At the same time, the sensor itself will also release electrons due to the influence of temperature and other factors. During the exposure time, the generated electrons are also volatile. This volatility is reflected in the image, generating dark noise. The electrical signal containing image information will be affected by voltage fluctuations during the process of reading out from the simulator, amplifying the analog signal, and converting to digital signal, causing the original value to deviate from the ideal value proportional to the photon count, thereby introducing readout noise and analog to digital converter (ADC) noise, etc. Among them, the noise other than optical noise can be called background noise.

[0038] In the related art, the noise calibration of the original image includes the following two schemes. One is to divide the noise into Gaussian noise and Poisson noise according to the noise distribution. When performing noise calibration, Gaussian noise is removed first, and then the Poisson noise is calibrated. However, there is an overlap between Gaussian noise and Poisson noise. When removing Gaussian noise, part of Poisson noise will also be removed, resulting in less calibration of part of Poisson noise and calibration error. The second is that during noise calibration, only optical noise calibration is performed, and parameter regression is performed by traditional least squares method, but low pixel values ​​are greatly affected by background noise, which affects the accuracy of parameter regression. In addition, the above two noise calibration techniques cannot avoid the following problems: the confidence level of low pixel value statistical information is low. That is, when the pixel value is small, the pixel value is greatly affected by the background noise, and the optical noise cannot be effectively counted, so the error is large. Furthermore, due to the use of traditional least squares method to regress noise parameters, the statistical error of optical noise will directly affect the accuracy of regression, resulting in errors in regression noise parameters. In addition, existing calibration methods require manual operation and need to take a large number of samples of original images under different camera parameters or external lighting conditions. The whole process is time-consuming, resulting in low overall efficiency of the calibration method.

[0039] In view of this, the present disclosure proposes a noise calibration method, which controls an image acquisition device to acquire an original image through a host for calibrating noise, and obtains the light noise calibration result and the background noise calibration result of the original image respectively, sets weights for the light noise calibration result and the background noise calibration result of the original image respectively, establishes a noise model, and obtains the overall noise calibration result. In addition, the problem that low pixel values ​​are greatly affected by background noise when calibrating light noise and the problem that the efficiency of acquiring the original image by manual operation is low are solved, and the calibration accuracy of the overall noise is improved.

[0040] Figure 3 FIG. 1 is a flow chart of a noise calibration method according to an exemplary embodiment. Figure 3 As shown, the method includes steps S101 to S103.

[0041] In step S101 , a first original image and a second original image are acquired.

[0042] The first original image is the original image captured by the image acquisition device in a dark environment, and the second original image is the original image captured by the image acquisition device in a bright environment.

[0043] In the disclosed embodiment, a light shielding sheet can be used to block the lens to achieve a dark environment, and a fixed shutter time can be set by the image acquisition device in the dark environment to obtain and save multiple original images. A fixed light source is fixed in a darkroom light box to achieve a light environment, and the optimal shutter time is set based on the ISO level, i.e., the sensitivity level, of the image acquisition device to ensure that the overall picture is bright but not overexposed, and multiple original images are obtained and saved by the image acquisition device.

[0044] In step S102, a background noise calibration is performed on the first original image to obtain a background noise calibration result, and an optical noise calibration is performed on the second original image to obtain an optical noise calibration result.

[0045] In step S103, a noise calibration result is determined based on the background noise calibration result and the optical noise calibration result.

[0046] In the present disclosure, Figure 4 As shown in the block diagram of the noise calibration method, original images in an illuminated environment and original images in a non-illuminated environment are taken and counted respectively, and light noise calibration and background noise calibration are performed on the original images in an illuminated environment and the original images in a non-illuminated environment after statistics respectively to obtain background noise calibration results and light noise calibration results, and further obtain an overall noise calibration result.

[0047] In the disclosed embodiment, the background noise calibration result is the correspondence between the ISO level of the image acquisition device and the background noise level, the light noise calibration result is the correspondence between the ISO level of the image acquisition device and the light noise level, and the background noise calibration result is the correspondence between the ISO level of the image acquisition device and the noise level as a whole. In an actual photographing scene, based on the noise calibration result, the noise level can be determined while determining the ISO level of the photographing device, and the corresponding noise reduction parameters can be determined for the noise reduction algorithm, thereby achieving image noise reduction.

[0048] In the disclosed embodiment, the original image captured by the image acquisition device in a non-illuminated environment and the original image captured in an illuminated environment are respectively acquired. The original image captured in the non-illuminated environment is subjected to background noise calibration, and the original image captured in the illuminated environment is subjected to light noise calibration. Based on the background noise calibration result and the light noise calibration result, the overall noise calibration result is determined. By calibrating the background noise and the light noise separately, and obtaining the overall noise calibration result based on the background noise calibration result and the light noise calibration result, the problem that low pixel values ​​are greatly affected by the background noise when calibrating the light noise is solved, thereby improving the calibration accuracy of the overall noise.

[0049] In the embodiment of the present disclosure, the background noise calibration result and the light noise calibration result have their own weights. When obtaining the overall noise calibration result, the overall noise calibration result needs to be obtained based on the weight of the background noise calibration result and the weight of the light noise calibration result. The following embodiment of the present disclosure describes the above-mentioned acquisition of the noise calibration result.

[0050] Figure 5 FIG. 1 is a flow chart showing a method for determining a noise calibration result according to an exemplary embodiment. Figure 5 As shown, the method includes step S201 to step S202.

[0051] In step S201, the weight corresponding to the background noise calibration result and the weight corresponding to the optical noise calibration result are determined, and a weight matrix is ​​established.

[0052] In step S202, a noise calibration result is determined based on the weight matrix, the background noise calibration result and the optical noise calibration result.

[0053] Among them, the weight matrix includes a first weight and a second weight, the first weight corresponds to the background noise calibration result, the second weight corresponds to the optical noise calibration result, and the first weight is greater than the second weight.

[0054] In the disclosed embodiment, the sum of the weight of the background noise calibration result and the weight of the light noise calibration result is 1. At the same ISO level, there are multiple data corresponding to the light noise calibration result, each data has a corresponding weight, and the weight corresponding to each data can be allocated based on the confidence level.

[0055] In the disclosed embodiment, a weight model is established based on the weights corresponding to the background noise calibration results and the weights corresponding to the light noise calibration results, and the noise calibration results are determined based on the weight matrix, the background noise calibration results and the light noise calibration results.

[0056] In one implementation of the disclosed embodiment, the noise calibration result is determined based on the weight matrix, the background noise calibration result and the light noise calibration result using the following formula:

[0057] K=(X T WX) -1 X T WY

[0058] Among them, K is the noise calibration result, W is the weight matrix, X is the mean matrix established based on the background noise mean in the background noise calibration result and the optical noise mean in the optical noise calibration result, and Y is the variance matrix established based on the background noise variance in the background noise calibration result and the optical noise variance in the optical noise calibration result.

[0059] In the embodiment of the present disclosure, the data of the background noise calibration result and the light noise calibration result are merged to obtain the mean matrix X including the background noise mean and the light noise mean, the variance matrix Y including the background noise variance and the light noise variance, and the weight matrix W based on the weight of the creation result and the light noise result. A noise model is established based on the mean matrix X, the variance matrix Y and the weight matrix W, and the first-order derivative is performed to obtain the noise model parameters at different ISO levels, that is, the noise calibration result K. It can be understood that when the user uses the shooting device to take pictures, the shooting device can determine the noise calibration result K corresponding to the current ISO level based on the ISO level at the time of taking pictures, and then determine the current noise level, and determine the corresponding noise reduction parameters to complete the noise reduction of the acquired image.

[0060] In the disclosed embodiment, the background noise variance and background noise mean are parameters reflecting the background noise level. The light noise variance and light noise mean are parameters reflecting the background noise level.

[0061] In an exemplary embodiment of the present disclosure, at a certain ISO level, based on the obtained background noise calibration result (E m1 ,Var m1 ), optical noise calibration results The weight corresponding to the background noise calibration result and the weight corresponding to the light noise calibration result are used to obtain the overall noise calibration result, for example, in the following manner:

[0062] The background noise calibration result is added to the light noise calibration result. In the light noise calibration result, r1=0…23, indicating that the light noise calibration result has 24 pairs of data. Therefore, the sequence number is set to r=24. At this time, under this ISO level, the noise calibration result has a total of 25 pairs of values.

[0063] Based on the above 25 pairs of values, the weighted least squares method is used to regress the model parameters. Since the noise floor calibration is not affected by the external environment, the confidence of the noise floor calibration result is high, and it is used as prior knowledge to participate in the regression parameters, that is, the noise floor result Set a higher weight.

[0064] Let the weight of the 25 pairs of values ​​be w r ,r=0,…,24,satisfies Let the weight of the noise floor calibration result be w 24 = 0.9, the square of the weight of the optical noise calibration result is 1-0.9 = 0.1, that is, w r =0.1 / 24, i = 0,…, 23. Assume that the noise model parameters to be regressed for channel m at the current ISO level are

[0065]

[0066] The noise mean and noise variance in the noise calibration result are expressed in matrix form as

[0067]

[0068] The weight of the background noise calibration result and the weight of the light noise calibration result are expressed in the form of a weight matrix:

[0069]

[0070] At this time, the weighted error is

[0071]

[0072] Solve the first-order condition for minimizing the error:

[0073]

[0074] Solved

[0075] K=(X T WX) -1 X T WY.

[0076] Among them, the noise calibration result K reflects the noise level under the current ISO level. It is necessary to traverse all ISO levels, obtain the noise calibration results K corresponding to all noise levels, and complete the noise calibration.

[0077] Figure 6 FIG. 1 is a flow chart of a method for collecting original images according to an exemplary embodiment. Figure 6 As shown, the method includes step S301 to step S302.

[0078] In step S301, an image acquisition instruction is sent to an image acquisition device, where the image acquisition instruction is used to instruct the image acquisition device to traverse each ISO level within the ISO level range and to acquire a first original image in a non-illuminated environment and a second original image in an illuminated environment at each ISO level.

[0079] In step S302, a first original image and a second original image acquired by an image acquisition device based on an image acquisition instruction are acquired.

[0080] In the disclosed embodiments, different image acquisition devices have different ISO level ranges. The host device for calibrating the original image noise can obtain the level range (ISOmin, ISOmax) of the image acquisition device after establishing a connection with the image acquisition device, and control the image acquisition device to traverse all ISO levels to obtain a predetermined number of images at each ISO level. Among them, in a dark environment, the ISO level has no effect on the shutter time, and the shutter time can be set to a fixed value. In a lighted environment, it is necessary to set the optimal shutter time corresponding to different ISO levels according to the effect of the ISO level on the shutter time, so as to ensure that the overall picture is bright but not overexposed.

[0081] In an exemplary embodiment of the present disclosure, a host is used to control the terminal to obtain raw image data, a data cable is used to connect the host and the terminal, and the Android Debug Bridge (adb) instructions of each process are connected in series through the script on the host, and the Android Debug Bridge instructions are sent to the terminal in sequence for execution, and the terminal is controlled to collect raw images to achieve an automated effect. Figure 7 As shown in the flowchart of obtaining the original image, the implementation steps of the terminal obtaining the original image can be implemented in the following manner, for example:

[0082] 1. Open the camera.

[0083] In response to the light sensitivity level not completing the traversal, the camera is turned on and image acquisition is started.

[0084] 2. Lock the shooting parameters.

[0085] In a dark environment, set a fixed shutter time and set the light sensitivity level. In a bright environment, set the light sensitivity level and set the shutter time corresponding to the light sensitivity level.

[0086] 3. Shoot.

[0087] In a dark environment, a predetermined number of original images are obtained. In a lighted environment, a color card is used as a target object, and the color card is placed in the center of the image, and a predetermined number of original images are obtained.

[0088] 4. Exit the camera.

[0089] In response to acquiring a predetermined number of images, the camera is exited.

[0090] 5. Transfer the original image file to the host.

[0091] A predetermined number of original images are transmitted to the host computer via a data line.

[0092] 6. Delete the original image in the terminal.

[0093] In response to the image transmission being completed, the original image in the terminal is deleted.

[0094] 7. Determine whether the light sensitivity level has been traversed.

[0095] In an embodiment of the present disclosure, based on the original image acquired in the illuminated environment and the original image acquired in the unilluminated environment, background noise calibration and light noise calibration are performed respectively. The following embodiment of the present disclosure describes a method for calibrating the background noise and obtaining the background noise calibration result.

[0096] Figure 8 FIG. 1 is a flow chart showing a method for obtaining a low-noise calibration result according to an exemplary embodiment. Figure 8 As shown, the method includes step S401 to step S402.

[0097] In step S401, for each ISO level within the ISO level range in the image acquisition device, the background noise variance and the background noise mean of the first original image in each color channel are obtained respectively, and a first corresponding relationship among the ISO level, the background noise variance and the background noise mean is determined.

[0098] In step S402, the first corresponding relationship is determined as the background noise calibration result.

[0099] In the disclosed embodiment, the background noise calibration is performed based on the original image obtained in a no-light environment. The obtained background noise calibration result is not affected by changes in ambient light. Therefore, in the above-mentioned process based on the background noise calibration result and the light noise calibration result, the background noise calibration result has a higher confidence level, so a higher weight is assigned to the background noise calibration result.

[0100] In the disclosed embodiment, each original image includes multiple image channels, such as Fig. 9 The arrangement shown is a schematic diagram of the image channels of the Bayer array, including four channels, R, Gr, B, and Gb, wherein the noise floor of each channel needs to be calibrated separately. That is, the present disclosure needs to obtain the noise floor calibration results of each image channel at each ISO level.

[0101] In an exemplary embodiment of the present disclosure, the steps of implementing background noise calibration for an original image including four channels arranged as Bayer channels may be implemented in the following manner, for example:

[0102] 1. Shooting: Take a light-shielding sheet and completely cover the camera lens. Lock the shutter time of the device at t and obtain the ISO level range [ISO min , ISO max . Lock an ISO level and shoot N pure black photos. Traverse all ISO level ranges for shooting and save the original images.

[0103] 2. Statistics: For each ISO level, respectively obtain the mean E m and variance Var m of different channels of the original image. Specifically, let the original image obtained under a certain ISO level be denoted as f n1 , n = 0, …, N - 1. The size of each original image is h × w, where h and w respectively represent the number of channels of the image in the length and width directions. Each original image contains four channels. As shown in the schematic diagram of the Bayer array in the figure, the image channels include four R channels, four Gr channels, four B channels, and four Gb channels, arranged in a "field" shape to form a Bayer array. Each original image is composed of multiple Bayer arrays. Therefore, both h and w are multiples of 4. The Bayer four channels are denoted as c m1 , m1 = 0, 1, 2, 3. Denote as the floor function. Then, the mean E m1 1 and variance Var m of channel c m1 under a certain ISO level are calculated by the following formulas:

[0104]

[0105]

[0106] At this time, the base noise calibration has been completed. This process statistically analyzes the noise in the time domain and spatial domain and obtains the noise levels (E m1 , Var m1 ) of different ISO levels under the condition of no light, that is, on the m1-th channel, when the pixel value is E m1 , the noise variance is Var m1 , and different ISOs have different (E m1 , Var m1 ). Further, based on the above method, the mean E m1 and variance Var m1 of each channel under each ISO level are obtained.

[0107] In the embodiments of the present disclosure, the background noise is calibrated based on the original image obtained in the non-illuminated environment, and the light noise is calibrated based on the image obtained in the illuminated environment. The process of light noise calibration is similar to the background noise calibration process, but due to the different target images, the calibrated target noise is different, so there are certain differences from the background noise calibration. The following embodiments of the present disclosure illustrate the method of calibrating the background noise and obtaining the background noise calibration result.

[0108] Fig.10 FIG. 1 is a flow chart showing a method for obtaining an optical noise calibration result according to an exemplary embodiment. Fig.10 As shown, the method includes steps S501 to S503.

[0109] In step S501, for each ISO level within the ISO level range in the image acquisition device, each color channel of the second original image is determined respectively, identification points corresponding to multiple color blocks in the color card are preset, and identification frames corresponding to each identified point in the second original image are preset.

[0110] In step S502, based on the size of the identification frame and the preset number of the first original image at different ISO levels, a second correspondence between the ISO level of each color channel in each identification frame and the background noise variance and the background noise mean is obtained respectively.

[0111] In step S503, the second corresponding relationship is determined as the optical noise calibration result.

[0112] In the embodiment of the present disclosure, similar to the background noise calibration process, the light noise calibration also needs to obtain the noise calibration results of different images at different ISO levels. Furthermore, the light noise calibration also needs to be calibrated for different color blocks of the color card as the target object. The identification point can be at any position in the color block. One identification point can correspond to multiple color blocks, and one color block can also correspond to multiple identification points. Each identification point has a corresponding identification frame, and the present disclosure needs to perform light noise calibration on each identification frame.

[0113] In the disclosed embodiment, in a lighting environment, a color card is used as the target object to be photographed, identification points and identification frames corresponding to different color blocks in the color card are determined, and light noise calibration is performed on each image channel and each identification frame at each ISO level to obtain a light noise calibration result.

[0114] In an exemplary embodiment of the present disclosure, the steps of implementing background noise calibration for an original image including four channels arranged as Bayer channels and a target object being a 24-color card may be implemented in the following manner, for example:

[0115] 1. Shooting: The shooting environment is in a dark room with a fixed light source. Fix the 24-color card on the wall and fix the device on a tripod to ensure that the 24-color card is in the center of the preview screen of the device. Get the ISO level range of the image acquisition device [ISO min ,ISO max ] and measure light to record the best shutter speed for different ISO levels ISO , ensuring that the overall picture is bright but not overexposed. Lock a certain ISO level and the corresponding optimal shutter time, take N color card pictures, traverse all ISO level ranges to shoot, and save the original image.

[0116] 2. Statistics: For each ISO level, obtain the mean and variance of different channels of the original image. Mark the center positions of 24 color blocks on the original image and record them as in Let p r1 are both located in channel c1 (if not, then take p r1 The nearest c1 channel coordinates are assigned to p r1 ). Let the original image obtained at a certain ISO level be denoted as f n2 ,n2=0,…,N-1. The four Bayer channels are denoted by c m2 ,m2=0,1,2,3. Take p r1 is a square box in the upper left corner, with a size of s×s (s is the number of image channels, let s be a multiple of 4). At this time, at a certain ISO level, at the r1th color block position, channel c m2 The mean and variance The calculation formula is:

[0117]

[0118]

[0119] Statistical noise in the temporal and spatial domains to obtain the light noise level at different ISO levels under lighting conditions The 24 sets of data are due to the selection of 24 p r1 Different ISO levels have different

[0120] In the embodiment of the present disclosure, the host for noise calibration controls the image acquisition device to collect the original image in the non-lighting environment and the original image in the lighted environment at each ISO level. The background noise variance and background noise mean of the original image in the non-lighting environment in each color channel are obtained, and the corresponding relationship between the ISO level, the background noise variance and the background noise mean is determined as the background noise calibration result. The color channels of the original image in the lighted environment are obtained, and the identification points corresponding to the multiple color blocks in the color card and the identification frame corresponding to each identified point are preset. The corresponding relationship between the sensitivity level of each color channel in each identification frame and the background noise variance and the background noise mean is determined as the light noise calibration result. A weight matrix is ​​established based on the weight of the background noise calibration result and the weight of the light noise calibration result, and the noise calibration result is determined based on the weight matrix, the background noise calibration result and the light noise calibration result. The accuracy of the original image noise calibration is improved, the accurate image noise level is obtained, the parameter accuracy of the noise reduction algorithm is improved, the noise reduction effect of the algorithm is improved, the unmanned calibration process is realized, and the manpower and time cost during calibration is reduced.

[0121] Based on the same concept, the embodiment of the present disclosure also provides a noise calibration device 100 .

[0122] It is understandable that the noise calibration device 100 provided in the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0123] Fig.11 is a block diagram of a noise calibration device 100 according to an exemplary embodiment. Fig.11 The device includes an acquisition unit 101, a calibration unit 102 and a determination unit 103.

[0124] The acquisition unit 101 is configured to acquire a first original image and a second original image.

[0125] The first original image is an original image captured by the image acquisition device in a dark environment, and the second original image is an original image captured by the image acquisition device in a bright environment.

[0126] The calibration unit 102 is configured to perform background noise calibration on the first original image to obtain a background noise calibration result, and perform light noise calibration on the second original image to obtain a light noise calibration result.

[0127] The determination unit 103 is configured to determine a noise calibration result based on the background noise calibration result and the optical noise calibration result.

[0128] In one implementation, the determination unit 103 determines the noise calibration result based on the background noise calibration result and the light noise calibration result in the following manner: the noise calibration result is determined based on a weight matrix, the background noise calibration result and the light noise calibration result. The weight matrix includes a first weight and a second weight, the first weight corresponds to the background noise calibration result, the second weight corresponds to the light noise calibration result, and the first weight is greater than the second weight.

[0129] In one implementation, the determination unit 103 uses the following formula to determine the noise calibration result based on the weight matrix, the background noise calibration result and the light noise calibration result: K = (X T WX) -1 X T WY. Where K is the noise calibration result, W is the weight matrix, X is the mean matrix established based on the mean of the background noise in the background noise calibration result and the mean of the optical noise in the optical noise calibration result, and Y is the variance matrix established based on the background noise variance in the background noise calibration result and the optical noise variance in the optical noise calibration result.

[0130] In one implementation, the acquisition unit 101 acquires a first original image acquired by an image acquisition device in a non-illuminated environment and a second original image acquired by the image acquisition device in an illuminated environment in the following manner. An image acquisition instruction is sent to the image acquisition device, where the image acquisition instruction is used to instruct the image acquisition device to traverse each ISO level within the ISO level range and acquire a first original image in a non-illuminated environment and a second original image in an illuminated environment at each ISO level. The first original image and the second original image acquired by the image acquisition device based on the image acquisition instruction are acquired.

[0131] In one implementation, the calibration unit 102 performs background noise calibration on the first original image in the following manner to obtain a background noise calibration result: for each ISO level within the ISO level range in the image acquisition device, respectively obtain the background noise variance and background noise mean of the first original image in each color channel, and determine a first corresponding relationship between the ISO level, the background noise variance, and the background noise mean. The first corresponding relationship is determined as the background noise calibration result.

[0132] In one embodiment, the calibration unit 102 performs light noise calibration on the second original image to obtain a light noise calibration result: for each ISO level within the ISO level range in the image acquisition device, each color channel of the second original image is determined respectively, and identification points corresponding to multiple color blocks in the color card and identification frames corresponding to each identified point in the second original image are preset. Based on the size of the identification frame and the preset number of the first original image at different ISO levels, a second correspondence between the ISO level of each color channel in each identification frame and the background noise variance and the background noise mean is obtained respectively. The second correspondence is determined as the light noise calibration result.

[0133] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0134] Fig.12 2 is a block diagram of a device 200 for zooming according to an exemplary embodiment. The device 200 may be provided as a terminal. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0135] Reference Fig.12 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .

[0136] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.

[0137] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0138] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.

[0139] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0140] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

[0141] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0142] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0143] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0144] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0145] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0146] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.

[0147] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

[0148] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.

[0149] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring that the operations be performed in the specific order shown or in a serial order, or requiring that all the operations shown be performed to obtain the desired results. In certain environments, multiple people and parallel processing may be advantageous.

[0150] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modifications, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0151] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims

1. A noise calibration method, characterized in that: include: Acquire a first original image and a second original image, wherein the first original image is an original image acquired by an image acquisition device in a non-illuminated environment, and the second original image is an original image acquired by the image acquisition device in a illuminated environment; Performing background noise calibration on the first original image to obtain a background noise calibration result, and performing light noise calibration on the second original image to obtain a light noise calibration result; A noise calibration result is determined based on the background noise calibration result and the optical noise calibration result.

2. The method according to claim 1, characterized in that The determining of the noise calibration result based on the background noise calibration result and the optical noise calibration result includes: Determine a noise calibration result based on the weight matrix, the background noise calibration result and the optical noise calibration result; The weight matrix includes a first weight and a second weight, the first weight corresponds to the background noise calibration result, the second weight corresponds to the optical noise calibration result, and the first weight is greater than the second weight.

3. The method according to claim 2, characterized in that The noise calibration result is determined by using the following formula based on the weight matrix, the background noise calibration result and the optical noise calibration result: K=(X T WX) -1 X T WY Wherein, K is the noise calibration result, W is the weight matrix, X is the mean matrix established based on the background noise mean in the background noise calibration result and the optical noise mean in the optical noise calibration result, and Y is the variance matrix established based on the background noise variance in the background noise calibration result and the optical noise variance in the optical noise calibration result.

4. The method according to claim 1, characterized in that: The method of acquiring a first original image acquired by the image acquisition device in a non-illuminated environment and a second original image acquired by the image acquisition device in a illuminated environment comprises: Sending an image acquisition instruction to the image acquisition device, wherein the image acquisition instruction is used to instruct the image acquisition device to traverse each ISO level within the ISO level range, and to acquire a first original image in a non-illuminated environment and a second original image in an illuminated environment at each ISO level; A first original image and a second original image acquired by the image acquisition device based on the image acquisition instruction are acquired.

5. The method according to claim 1 or 4, characterized in that: The performing background noise calibration on the first original image to obtain a background noise calibration result includes: For each ISO level within the ISO level range in the image acquisition device, respectively obtain a background noise variance and a background noise mean of the first original image in each color channel, and determine a first corresponding relationship among the ISO level, the background noise variance and the background noise mean; The first corresponding relationship is determined as the background noise calibration result.

6. The method according to claim 1 or 4, characterized in that: The performing light noise calibration on the second original image to obtain a light noise calibration result includes: For each ISO level within the ISO level range in the image acquisition device, respectively determine each color channel of the second original image, preset identification points corresponding to a plurality of color blocks in the color card, and preset identification frames corresponding to each identified point in the second original image; Based on the size of the identification frame and the preset number of the first original image at different sensitivity levels, respectively obtain a second correspondence between the sensitivity level of each color channel in each identification frame and the background noise variance and the background noise mean; The second corresponding relationship is determined as the optical noise calibration result.

7. A noise calibration device, characterized in that: include: An acquisition unit, configured to acquire a first original image and a second original image, wherein the first original image is an original image acquired by an image acquisition device in a non-illuminated environment, and the second original image is an original image acquired by the image acquisition device in a illuminated environment; a calibration unit, configured to perform background noise calibration on the first original image to obtain a background noise calibration result, and perform light noise calibration on the second original image to obtain a light noise calibration result; A determination unit is used to determine a noise calibration result based on the background noise calibration result and the optical noise calibration result.

8. The device according to claim 7, characterized in that The determination unit determines the noise calibration result based on the background noise calibration result and the optical noise calibration result in the following manner: Determine a noise calibration result based on the weight matrix, the background noise calibration result and the optical noise calibration result; Among them, the weight matrix includes a first weight and a second weight, the first weight corresponds to the background noise calibration result, the second weight corresponds to the optical noise calibration result, and the first weight is greater than the second weight.

9. The device according to claim 8, characterized in that The determination unit determines the noise calibration result based on the weight matrix, the background noise calibration result and the optical noise calibration result by using the following formula: K=(X T WX) -1 X T WY Wherein, K is the noise calibration result, W is the weight matrix, X is the mean matrix established based on the background noise mean in the background noise calibration result and the optical noise mean in the optical noise calibration result, and Y is the variance matrix established based on the background noise variance in the background noise calibration result and the optical noise variance in the optical noise calibration result.

10. The device according to claim 7, characterized in that The acquisition unit acquires a first original image acquired by the image acquisition device in a non-illuminated environment and a second original image acquired by the image acquisition device in a illuminated environment in the following manner; Sending an image acquisition instruction to the image acquisition device, wherein the image acquisition instruction is used to instruct the image acquisition device to traverse each ISO level within the ISO level range, and to acquire a first original image in a non-illuminated environment and a second original image in an illuminated environment at each ISO level; A first original image and a second original image acquired by the image acquisition device based on the image acquisition instruction are acquired.

11. The device according to claim 7 or 10, characterized in that The calibration unit performs background noise calibration on the first original image in the following manner to obtain a background noise calibration result: For each ISO level within the ISO level range in the image acquisition device, respectively obtain a background noise variance and a background noise mean of the first original image in each color channel, and determine a first corresponding relationship among the ISO level, the background noise variance and the background noise mean; The first corresponding relationship is determined as the background noise calibration result.

12. The device according to claim 7 or 10, characterized in that: The calibration unit performs light noise calibration on the second original image to obtain a light noise calibration result: For each ISO level within the ISO level range in the image acquisition device, respectively determine each color channel of the second original image, preset identification points corresponding to a plurality of color blocks in the color card, and preset identification frames corresponding to each identified point in the second original image; Based on the size of the identification frame and the preset number of the first original image at different sensitivity levels, respectively obtain a second correspondence between the sensitivity level of each color channel in each identification frame and the background noise variance and the background noise mean; The second corresponding relationship is determined as the optical noise calibration result.

13. A noise calibration device, characterized in that: include: processor: a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the noise calibration method according to any one of claims 1 to 6.

14. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor, the processor is enabled to execute the noise calibration method according to any one of claims 1 to 6.