A method, system and medium for correcting white image of light field data with high dynamic range

By performing noise floor energy calibration and multi-point white image calibration on the microlens array light field system, the problem of outliers in the light field data is solved, efficient correction of the light field data is achieved, and the accuracy of the three-dimensional reconstruction is improved. and quality.

CN118333914BInactive Publication Date: 2024-09-03ZHEJIANG HEHU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410720613.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In traditional light field imaging systems, the light transmittance becomes low or damaged due to problems with the microlens preparation process, resulting in dark outliers appearing in the light field data, which affects the three-dimensional reconstruction results. It is difficult to effectively eliminate outliers and reduce artifacts with existing technology. .

Method used

By calibrating the microlens array light field system, the noise floor energy is obtained, and a uniform excitation light sample is used for white image calibration to obtain normalized four-dimensional phase space light field data, and use this data to obtain the four-dimensional phase space light of the sample to be tested. Field data are corrected to remove outliers and noise.

Benefits of technology

It effectively removes outliers in light field data, reduces artifacts after three-dimensional reconstruction, improves reconstruction quality, and is suitable for high dynamic range data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118333914B
    Figure CN118333914B
Patent Text Reader

Abstract

The present invention discloses a white image correction method, system and medium for light field data with a high dynamic range, and belongs to the field of data imaging technology. The white image correction method for light field data with a high dynamic range includes calibrating the microlens array light field system to obtain background noise energy; using uniform excitation light samples and background noise energy to calibrate the white image to obtain normalized white image four-dimensional phase space light field data; using the normalized white image four-dimensional phase space light field data and background noise energy to correct the four-dimensional phase space light field data of the sample to be tested to obtain the corrected four-dimensional phase space light field data. Using the above method and related systems and media, the present invention can eliminate outliers in light field data and reduce artifacts after three-dimensional reconstruction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data imaging technology, and more particularly to a method, system and medium for correcting white images of light field data with a high dynamic range. Background Art

[0002] Traditional light field imaging systems use conventional lenses and sensors to project three-dimensional objects onto a two-dimensional plane, causing the imaging results to lose the perspective and depth information of the sample.

[0003] Light field imaging technology based on microlens arrays can simultaneously record the spatial information and angle information of light, thereby more completely describing the light in three-dimensional space. By modeling the three-dimensional point spread function of the system and using the three-dimensional point spread function to deconvolve the four-dimensional phase space data of the light field, the three-dimensional tomography results of the sample can be obtained. However, due to problems with the microlens preparation process and the coating process, it is inevitable that some microlenses will have low transmittance or even damage. The four-dimensional phase space light field data of the sample to be tested obtained on this basis will have dark outliers at fixed positions at different viewing angles. After the data is reconstructed in three dimensions, the outlier noise will be further amplified, resulting in artifacts and affecting the final reconstruction results.

[0004] Therefore, how to eliminate outliers in light field data and reduce artifacts after three-dimensional reconstruction is a problem that technical personnel in this field need to solve urgently. Summary of the invention

[0005] In view of this, the present invention provides a method, system and medium for white image correction of light field data with high dynamic range.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] First, the present application discloses a method for correcting a white image of a light field data with a high dynamic range, comprising the following steps:

[0008] Calibrate the microlens array light field system to obtain the background noise energy of the microlens array light field system;

[0009] The white image is calibrated using the uniform excitation light sample and the background noise energy of the microlens array light field system to obtain the normalized white image four-dimensional phase space light field data.

[0010] The four-dimensional phase space light field data of the sample to be tested is corrected using the normalized white image four-dimensional phase space light field data and the background noise energy of the microlens array light field system to obtain the corrected four-dimensional phase space light field data.

[0011] Furthermore, the microlens array light field system is calibrated to obtain the background noise energy of the microlens array light field system, specifically including:

[0012] When the illumination source is turned off and the sample is empty, the camera of the microlens array light field system is used to take pictures to obtain the system noise floor map;

[0013] The average value of all pixel intensity values ​​in the background noise image is calculated to obtain the background noise energy of the microlens array light field system.

[0014] Furthermore, in the white image calibration step, the uniform excitation light sample includes a fluorescent plate or fluorescent paper.

[0015] Furthermore, a white image calibration is performed using a sample capable of uniformly exciting light and the background noise energy of a microlens array light field system, specifically comprising the following steps:

[0016] S21, using the camera of the microlens array light field system to collect a two-dimensional light field map of a white image of a uniform excitation light sample;

[0017] S22, preprocessing the two-dimensional light field image of the white image of the uniform excitation light sample to obtain four-dimensional phase space light field data of the two-dimensional light field image of the white image;

[0018] S23, horizontally moving the position of the uniform excitation light sample under the microlens array light field system, and repeating steps S21-S22 to obtain four-dimensional phase space light field data of white images at n points;

[0019] S24, sorting the four-dimensional phase space light field data of the white image at n points along the dimension of n, removing the maximum value and the minimum value, and then averaging the remaining four-dimensional phase space light field data to obtain the four-dimensional phase space light field data with the average value at multiple points;

[0020] S25. Using the averaged four-dimensional phase space light field data at multiple points and the background noise energy of the microlens array light field system, normalized four-dimensional phase space light field data of the white image is obtained.

[0021] Furthermore, in step S22, the two-dimensional light field image of the white image of the uniform excitation light sample is preprocessed, specifically including the following steps:

[0022] The two-dimensional light field map of the white image of the uniform excitation light sample is rearranged.

[0023] Further, the two-dimensional light field map of the white image of the uniform excitation light sample is rearranged, specifically comprising the following steps:

[0024] If the horizontal and vertical dimensions of the two-dimensional light field image of the white image of the original uniform excitation light sample are u*h and v*w respectively, where h and w represent the horizontal and vertical numbers of microlenses in the microlens array light field imaging system, and u and v represent the horizontal and vertical field pixels of a single microlens, respectively;

[0025] Fix the angle coordinate, obtain the pixel value of the angle coordinate under different spatial coordinates, and form the spatial coordinate sub-image of the angle coordinate;

[0026] The spatial coordinate sub-images of all angle coordinates are arranged in order to form the four-dimensional phase space light field data of the two-dimensional light field map of the white image.

[0027] Further, in step S25, the four-dimensional phase space light field data of the multi-point average and the background noise energy of the microlens array light field system are used to obtain the normalized four-dimensional phase space light field data of the white image, which specifically includes the following steps:

[0028] The four-dimensional phase space light field data of the white image with the average value at multiple points is subtracted from the background noise energy of the microlens array light field system to obtain the four-dimensional phase space light field data of the white image with the background noise removed. The expression is as follows:

[0029]

[0030] Where M represents the four-dimensional phase space light field data averaged at multiple points, and E represents the background noise energy of the microlens array light field system;

[0031] Calculate the energy mean of each angle coordinate in the four-dimensional phase space light field data M′ of the denoised white image;

[0032] The data of each angle coordinate is normalized using the energy mean of each angle;

[0033] All the normalized data of the angular coordinates are combined together to obtain the denoised white image four-dimensional phase space light field data M′ and the normalized white image four-dimensional phase space light field data W.

[0034] Furthermore, the four-dimensional phase space light field data of the sample to be tested is corrected using the normalized white image and the background noise energy of the microlens array light field system, which specifically includes the following steps:

[0035] S31, using the camera of the microlens array light field system to obtain an original two-dimensional light field image of the sample to be tested;

[0036] S32, preprocessing the original two-dimensional light field image to obtain four-dimensional phase space light field data of the sample to be tested;

[0037] S33, according to the four-dimensional phase space light field data of the sample to be tested and the background noise energy of the microlens array light field system, the four-dimensional phase space light field data of the sample to be tested is corrected using the following formula:

[0038]

[0039] Among them, Sdenosie represents the corrected sample four-dimensional phase space data, S represents the four-dimensional phase space light field data of the sample to be tested, W represents the normalized four-dimensional phase space light field data of the white image, and E represents the background noise energy of the microlens array light field system.

[0040] Secondly, the present invention also discloses a high dynamic range light field data white image correction system, including a computer system, wherein the computer system is used to input the four-dimensional phase space light field data of the sample to be tested and perform correction, and the correction method adopted is the high dynamic range light field data white image correction method described in any one of the present invention.

[0041] The present invention also discloses a computer medium, which is used for a computer program. When the computer program is executed, any one of the methods for correcting white images of light field data with a high dynamic range described in the present invention can be implemented.

[0042] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a method, system and medium for correcting white images of light field data with a high dynamic range, which has the following beneficial effects:

[0043] The present invention calibrates the system noise floor so that the method can be applied to data with a high dynamic range;

[0044] The present invention eliminates the noise introduced in the process of shooting the white image by calibrating the white image at multiple points.

[0045] The present invention combines system background noise calibration and multi-point white image calibration to effectively remove most outliers in light field data, reduce artifacts produced after reconstruction, and improve reconstruction quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0047] Figure 1 The present invention provides a schematic diagram of the overall process of the method.

[0048] Figure 2 This is a comparison chart of the effects of the method provided by the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] The embodiment of the present invention discloses a method for correcting white images of light field data with a high dynamic range. Figure 1 As shown, the specific steps include:

[0051] Calibrate the system noise floor energy:

[0052] 1. When the illumination source is turned off and the sample is empty, use the microlens array light field system's own camera to take pictures and obtain the system noise floor map.

[0053] 2. Take the average value of all pixel intensity values ​​in the system noise floor image to obtain the calibrated noise floor energy E.

[0054] Calibrate the system white image:

[0055] 3. Select a sample with uniform excitation light for shooting, such as a fluorescent plate or fluorescent paper, to obtain a two-dimensional light field diagram of the white image of the microlens array light field imaging system.

[0056] The obtained two-dimensional light field map of the white image is preprocessed by rearranging and other processes to obtain the four-dimensional phase space light field data of the system white image with the size of u*v*h*w.

[0057] The specific process is as follows: if the horizontal and vertical dimensions of the original white image two-dimensional light field map are u*h and v*w respectively, h and w represent the horizontal and vertical numbers of microlenses in the microlens array light field imaging system, and u and v represent the horizontal and vertical field of view pixels of a single microlens respectively.

[0058] Fixed angle coordinates, obtained the pixel values ​​of the angle coordinates under different spatial coordinates, formed the spatial coordinate sub-image of the angle coordinate, the size is h*w; all the spatial coordinate sub-images of the angle coordinates are arranged in order, together forming the four-dimensional phase space light field data, the size is u*v*h*w. The above operation rearranges the pixels of the original two-dimensional light field image of the white image into four-dimensional phase space light field data.

[0059] 4. Move the stage horizontally to shoot different fields of view of the uniform excitation light sample, repeat step 3, and obtain the four-dimensional phase space light field data of the white image at n points with a size of n*u*v*h*w.

[0060] 5. Eliminate the noise introduced during the fluorescent plate shooting process: sort the four-dimensional phase space light field data of the white image at n points along the dimension of n, and remove the four-dimensional phase space light field data of the white image at n points.

[0061] The maximum and minimum values ​​in are averaged to obtain the white image four-dimensional phase space light field data M with the average value at multiple points.

[0062] 6. After subtracting the system noise energy E from the white image four-dimensional phase space light field data M with the average of multiple points, the denoised white image four-dimensional phase space light field data M′ is obtained, and the expression is as follows:

[0063] .

[0064] Then, the denoised white image four-dimensional phase space light field data M′ is normalized to obtain the normalized white image four-dimensional phase space light field data W. The specific steps are as follows.

[0065] First, calculate the energy mean V of each angle coordinate in the four-dimensional phase space light field data M′ of the denoised white image i , the size is u*v*1*1; specifically, if the four-dimensional phase space light field data M′ of the denoised white image is expressed as , where x, y are spatial coordinates, is the angular coordinate, for each angle Calculate its energy mean V i , the formula is as follows:

[0066] , where N is the total number of spatial pixels at the angle coordinate.

[0067] Secondly, the energy mean of each angle is used to calculate the coordinates of each angle The data is normalized:

[0068] .

[0069] Finally, all the normalized data of the angular coordinates are combined together to obtain the denoised white image four-dimensional phase space light field data M′ and the normalized white image four-dimensional phase space light field data W.

[0070] Sample white image correction:

[0071] 7. Take the original two-dimensional light field image of the sample to be tested, and perform preprocessing such as rearrangement to obtain the four-dimensional phase space light field data S of the sample.

[0072] 8. Subtract the energy noise E from the sample's four-dimensional phase space light field data, divide it by the normalized white image four-dimensional phase space light field data W, and add the energy noise E to obtain the corrected sample four-dimensional phase space data Sdenosie , used for subsequent processing and reconstruction, the specific formula is as follows:

[0073] .

[0074] In the present invention, the result of direct shooting by the system is a two-dimensional original light field image of a white image; the result after rearrangement processing is four-dimensional phase space light field data of the white image.

[0075] Figure 2 This is a comparison diagram of the effects of the method provided by the present invention. It can be seen that when white image correction is not performed, there are dark outliers in the rearranged central perspective image, and the corresponding reconstructed intermediate layer image has black hole artifacts; when white image correction is performed but no background noise energy calibration is performed, there are bright outliers in the rearranged central perspective image, and the corresponding reconstructed intermediate layer image has bright spot artifacts; after white image correction with background noise energy calibration, the outliers in the rearranged central perspective image and the artifacts in the intermediate layer image of the reconstructed result are significantly reduced.

[0076] It should be pointed out that all data appearing in the present invention refer to data images. In order to simplify, some data images only represent XX data. Those skilled in the art can understand that operating on XX data is essentially processing on XX data images.

[0077] Secondly, the present invention also discloses a high dynamic range light field data white image correction system, including a computer system, wherein the computer system is used to input the four-dimensional phase space light field data of the sample to be tested and perform correction, and the correction method adopted is the high dynamic range light field data white image correction method described in any one of the present invention.

[0078] The present invention also discloses a computer medium, which is used for a computer program. When the computer program is executed, any one of the methods for correcting white images of light field data with a high dynamic range described in the present invention can be implemented.

[0079] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0080] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A white image correction method for light field data with high dynamic range, It is characterized in that The following steps are involved: Calibrate the microlens array light field system to obtain the background noise energy of the microlens array light field system; The white image is calibrated using the uniform excitation light sample and the background noise energy of the microlens array light field system to obtain the normalized white image four-dimensional phase space light field data, which specifically includes the following steps: S21, using the camera of the microlens array light field system to collect a two-dimensional light field map of a white image of a uniform excitation light sample; S22, preprocessing the two-dimensional light field image of the white image of the uniform excitation light sample to obtain four-dimensional phase space light field data of the two-dimensional light field image of the white image; S23, horizontally moving the position of the uniform excitation light sample under the microlens array light field system, and repeating steps S21-S22 to obtain four-dimensional phase space light field data of white images at n points; S24, sorting the four-dimensional phase space light field data of the white image at n points along the dimension of n, removing the maximum value and the minimum value, and then averaging the remaining four-dimensional phase space light field data to obtain the four-dimensional phase space light field data with the average value at multiple points; S25, using the four-dimensional phase space light field data averaged at multiple points and the background noise energy of the microlens array light field system to obtain normalized four-dimensional phase space light field data of a white image; specifically comprising the following steps: The four-dimensional phase space light field data of the white image with the average value at multiple points is subtracted from the background noise energy of the microlens array light field system to obtain the four-dimensional phase space light field data of the white image with the background noise removed. The expression is as follows: ; Where M represents the four-dimensional phase space light field data averaged at multiple points, and E represents the background noise energy of the microlens array light field system; Calculate the energy mean of each angle coordinate in the four-dimensional phase space light field data M′ of the denoised white image; The data of each angle coordinate is normalized using the energy mean of each angle; All the normalized data of the angle coordinates are combined together to obtain the denoised white image four-dimensional phase space light field data M′ and the normalized white image four-dimensional phase space light field data W; The four-dimensional phase space light field data of the sample to be tested is corrected by using the normalized four-dimensional phase space light field data of the white image and the background noise energy of the microlens array light field system to obtain the corrected four-dimensional phase space light field data, which specifically includes the following steps: S31, using the camera of the microlens array light field system to obtain an original two-dimensional light field image of the sample to be tested; S32, preprocessing the original two-dimensional light field image to obtain four-dimensional phase space light field data of the sample to be tested; S33, according to the four-dimensional phase space light field data of the sample to be tested and the background noise energy of the microlens array light field system, the four-dimensional phase space light field data of the sample to be tested is corrected using the following formula: ; Among them, S denosie represents the corrected sample four-dimensional phase space data, S represents the four-dimensional phase space light field data of the sample to be tested, W represents the normalized four-dimensional phase space light field data of the white image, and E represents the background noise energy of the microlens array light field system.

2. The method for correcting white images of light field data with high dynamic range according to claim 1, It is characterized in that Calibrate the microlens array light field system to obtain the background noise energy of the microlens array light field system, including: When the illumination source is turned off and the sample is empty, the camera of the microlens array light field system is used to take pictures to obtain the system noise floor map; The average value of all pixel intensity values ​​in the background noise image is calculated to obtain the background noise energy of the microlens array light field system.

3. The method for correcting white images of light field data with high dynamic range according to claim 1, It is characterized in that In the step of performing white image calibration, the uniform excitation light sample includes a fluorescent plate or fluorescent paper.

4. The method for correcting white images of light field data with high dynamic range according to claim 1, It is characterized in that In step S22, the two-dimensional light field image of the white image of the uniform excitation light sample is preprocessed, specifically including the following steps: The two-dimensional light field map of the white image of the uniform excitation light sample is rearranged.

5. The method for correcting white images of light field data with high dynamic range according to claim 4, It is characterized in that The two-dimensional light field image of the white image of the uniform excitation light sample is rearranged, specifically comprising the following steps: If the horizontal and vertical dimensions of the two-dimensional light field image of the white image of the original uniform excitation light sample are u*h and v*w respectively, where h and w represent the horizontal and vertical numbers of microlenses in the microlens array light field imaging system, and u and v represent the horizontal and vertical field pixels of a single microlens, respectively; Fix the angle coordinate, obtain the pixel value of the angle coordinate under different spatial coordinates, and form the spatial coordinate sub-image of the angle coordinate; The spatial coordinate sub-images of all angle coordinates are arranged in order to form the four-dimensional phase space light field data of the two-dimensional light field map of the white image.

6. A high dynamic range light field data white image correction system, It is characterized in that The method comprises a computer system, wherein the computer system is used to input four-dimensional phase space light field data of a sample to be tested and perform correction, wherein the correction adopts the high dynamic range light field data white image correction method as described in any one of claims 1-5.

7. A computer medium, It is characterized in that The computer medium is used for a computer program, and when the computer program is executed, it can implement the high dynamic range light field data white image correction method described in any one of claims 1 to 5.