A distortion image correction method based on wavefront control
Through a wavefront control method, the wavefront sensor and ray tracing algorithm are used to correct image distortion in real time, solving the problems of complex computing and poor real-time performance in the prior art, and achieving efficient image distortion correction.
Patent Information
- Application Number
- CN202111622690.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-28
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-12-28
AI Technical Summary
The existing image distortion correction methods have complex calculations and poor real-time performance, which cannot effectively solve the distortion and blur problems caused by refraction, scattering, light absorption, aberration, etc.
By using a method based on wavefront control, by building a correction optical system, using a wavefront sensor to measure the spot information, constructing the inclination angle matrix of the distorted wavefront, combining the ray tracing algorithm to calculate the correction matrix of the deforming mirror, and controlling the deformation of the deforming mirror in real time to realize Correction of image distortion.
Real-time correction of image distortion is achieved, the correction effect and real-timeness are improved, the distortion of image quality is reduced, and the imaging optical path is clear and complete.
Smart Images

Figure CN114283093B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image distortion correction, and in particular to a distortion image correction method based on wavefront control, which has the ability to correct images in real time. Background Art
[0002] Today, artificial intelligence is developing rapidly, and the requirements for imaging are becoming higher and higher. At the same time, application scenarios such as complex environments and cross-media imaging have also emerged. How to solve the distortion and blur problems caused by refraction, scattering, absorption, aberration, etc. has attracted a lot of attention and has important application significance. At present, the most common method for image distortion correction is to restore the distorted image by iterative processing of the image through software or lucky block sequence superposition operation, but it takes a long time and has poor real-time performance.
[0003] The Chinese invention patent with application number 201810184833.6 discloses a square image correction method for microlens array errors. It uses the original white image of the light field of the light field camera, extracts the position coordinates of the marking points of each error sub-image in the image and combines them with the corresponding reference point coordinates to determine the geometric error matrix of each error sub-image to form a light field image correction matrix, and performs coordinate transformation on the pixel points of each sub-image in the light field image to be corrected to achieve correction of the light field image. It is necessary to process the white image and detect the sub-image error to extract the edge feature points. The processing method is relatively complex and has poor real-time performance. Summary of the invention
[0004] In view of the technical problems of complex calculations and poor real-time performance of existing image distortion correction methods, the present invention proposes a distortion image correction method based on wavefront control, which solves the image distortion correction problem in an optical hardware manner, overcomes the shortcomings of image sequence imaging schemes and image iterative processing methods, and has real-time performance and good correction effect.
[0005] In order to achieve the above object, the technical solution of the present invention is implemented as follows: a distortion image correction method based on wavefront control, the steps of which are as follows:
[0006] Step 1: Build a correction optical system, which includes sequentially arranging a laser, a distortion lens, a deformable mirror and a wavefront sensor on the optical path, with a target light source on the same side of the laser and a camera on the same side of the wavefront sensor;
[0007] Step 2: When no distortion lens is set in the optical path, the spot information measured by the wavefront sensor is the reference wavefront; when a distortion lens is set in the optical path, the spot information measured by the wavefront sensor is the wavefront information; the wavefront distortion information is obtained according to the reference wavefront and the wavefront information;
[0008] Step 3: constructing a tilt angle matrix of the distorted wavefront according to the wavefront distortion information of the wavefront sensor imaging calculated in real time;
[0009] Step 4: Calculate the correction matrix of the deformable mirror deformation according to the tilt angle matrix through a ray tracing algorithm;
[0010] Step 5: Control the tilt angle of the deformable mirror according to the correction matrix to make the deformable mirror obtain corresponding deformation in real time;
[0011] Step 6: The camera images the target object at the same image plane as the wavefront sensor, and the obtained image is the distortion-corrected image.
[0012] The light beams emitted by the target light source and the laser are incident on the distortion lens through the first beam splitter, the distortion lens is incident on the deformable mirror through the first lens group, the light beam reflected by the deformable mirror is incident on the second beam splitter through the second lens group, one light beam separated by the second beam splitter is incident on the wavefront sensor, and the other light beam separated by the second beam splitter is transmitted to the camera for imaging through a filter; the wavefront sensor and the camera are arranged on the focal plane of the second lens group; the wavefront sensor is connected to a computer, and the computer is connected to an actuator of the deformable mirror.
[0013] The first lens group and the second lens group are both 4F optical systems; the first lens group includes a first lens and a second lens, and the centers of the first lens and the second lens are on the optical path between the distortion lens and the deformable mirror; the second lens group includes a third lens and a fourth lens, and the centers of the third lens and the fourth lens are on the optical path between the deformable mirror and the second beam splitter; the distortion lens is located at the focal plane of the first lens, the deformable mirror is located at the focal plane of the second lens and the third lens, and the wavefront sensor and the camera are both located at the focal plane of the fourth lens.
[0014] The wavefront sensor comprises a CCD detection unit and a microlens array. The CCD detection unit is arranged on the focal plane of the microlens of the microlens array. The microlens array divides the incident light beam into a series of small light beams, which are focused on the CCD detection unit to generate a focused light spot.
[0015] The deformable mirror includes at least two deformable reflective lenses, at the rear of which at least two actuators are fixed, and the actuators are connected to a computer via a drive circuit; the computer calculates the tilt angle of the deformable reflective lenses according to a correction matrix, and applies different voltages to the actuators using the drive circuit, so that the deformable mirror obtains corresponding deformation.
[0016] Three actuators are installed under the deformable reflective lens, and the three actuators cooperate with each other to adjust the displacement, pitch angle and tilt angle of the mirror surface of the deformable reflective lens.
[0017] The wavefront distortion information in step 2 is the light spot offset information, and:
[0018] in, is the position vector from the center of the CCD detection unit in the wavefront sensor (15) to the light spot formed in the corresponding CCD detection unit, and is a two-dimensional matrix of m×n m is the number of rows of microlenses in the microlens array of the wavefront sensor; n is the number of columns of microlenses in the microlens array of the wavefront sensor; the element (x mn ,y mn ) is the position vector coordinate of the center of the CCD detection unit in the mth row and nth column to the light spot on the CCD detection unit; f is the focal length of the microlens; is the desired wavefront tilt angle; is the position vector Unit vectors with the same direction.
[0019] The calculation method of the tilt angle matrix of the distorted wavefront in step 3 is:
[0020] The magnitude of the distorted wavefront tilt angle at the position corresponding to the light spot on the CCD detection unit in the ath row and the bth column of the wavefront sensor (15) at the current time t and
[0021] The tilt direction of the distorted wavefront at the position corresponding to the light spot on the CCD imaging unit in the ath row and bth column of the wavefront sensor at the current moment and
[0022] in, is the position vector from the center of the CCD detection unit in the ath row and the bth column of the wavefront sensor to the light spot on the CCD detection unit at the current time t; a=1,...,m; b=1,...,n; f is the focal length of the microlens; tilt angle matrix is a 2×n×n three-dimensional matrix; α mn It represents the tilt angle of the wavefront point corresponding to the position of the CCD detection unit in the mth row and nth column of the wavefront sensor; is the α arranged by coordinates mn A two-dimensional scalar matrix composed of Find the unit vector for each element in, and we get Right now is a two-dimensional vector matrix, which indicates the tilt direction of the wavefront point corresponding to each pixel of the wavefront sensor. Same direction.
[0023] In the step 2, the wavefront tilt angle vector corresponding to the spot position on the same CCD detection unit of the wavefront sensor at different times is used as the wavefront information for wavefront correction. The computer stores the measurement data of the wavefront sensor for the last 3-5 times, assigns different weights to the wavefront tilt angles obtained at different time sampling points, obtains the tilt angle that the deformable reflective lens at the corresponding position of the deformable mirror needs to move, and forms a correction matrix B.
[0024] The calculation method of the correction matrix in step 4 is: and
[0025] in, is the angle and direction that the deformable reflective lens in the deformable mirror corresponding to the CCD detection unit in the ath row and the bth column of the wavefront sensor needs to be tilted, and the negative sign indicates that its direction is opposite to the tilt direction of the distorted wavefront; is the distorted wavefront tilt angle corresponding to the position of the light spot on the CCD detection unit in the ath row and bth column of the wavefront sensor obtained at the i sampling moments before the current moment t; α i is the tilt angle of the distorted wavefront The weight of i, the smaller the value of i, the larger the value of α; num represents the number of moments when the weight is accumulated.
[0026] Compared with the prior art, the present invention has the following beneficial effects: the laser emitted by the laser passes through the optical path that introduces distortion and then enters the wavefront sensor to obtain wavefront information, while the camera directly images the imaging target figure through the same optical path; when imaging the non-distorted figure, the spot of the wavefront sensor is distributed at the center of the CCD detection unit, and when distortion is introduced, the imaging spot position of the wavefront sensor will have a certain offset, and the tilt angle matrix of the distortion plane is obtained from the offset value; combined with the knowledge of geometric optics, the posture matrix that needs to be changed in the deformable lens in the deformable mirror is obtained through the time accumulation ray tracing algorithm to achieve the purpose of correcting image distortion. The present invention obtains the wavefront information before the target is imaged by using a wavefront sensor, and reconstructs the distorted wavefront that reduces the image quality, and uses the ray tracing algorithm based on the wavefront information to effectively control the deformable mirror, so that it produces corresponding deformation, so that the imaging optical path can be clearly and completely imaged. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 It is a schematic structural diagram of the correction optical system of the present invention.
[0029] Figure 2 Schematic diagram of the imaging results of the present invention, wherein (a) is with distortion and (b) is without distortion.
[0030] Figure 3 It is a schematic structural diagram of the deformable mirror of the present invention.
[0031] Figure 4 It is a schematic diagram of the process of distorted image correction of the present invention.
[0032] In the figure, 1 is a laser, 2 is a laser beam, 3 is a target light source, 4 is a target beam, 5 is a first beam splitter, 6 is a distortion lens, 7 is a first lens, 8 is a second lens, 9 is a deformable mirror, 10 is a third lens, 11 is a fourth lens, 12 is a second beam splitter, 13 is a filter, 14 is a camera, 15 is a wavefront sensor, 16 is a computer, 17 is undistorted light, 18 is a simulation of an undistorted situation, 19 is a focusing lens, 20 is a CCD photosensitive surface, 21 is an imaging result of the wavefront sensor when there is no distortion, 22 is a distorted light, 23 is a simulation of a distorted situation, 24 is an imaging wavefront when there is distortion, 25 is a deformable reflective lens, and 26 is an actuator. DETAILED DESCRIPTION
[0033] 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.
[0034] A distortion image correction method based on wavefront control, the steps of which are as follows:
[0035] Step 1: Build a correction optical system. The correction optical system includes a laser 1, a distortion lens 6, a deformable mirror 9 and a waveform sensor 15 arranged in sequence on the optical path. A target light source 3 is arranged on the same side of the laser 1, and a camera 14 is arranged on the same side of the wavefront sensor 15.
[0036] like Figure 1As shown, the structural diagram of the correction optical system of the present invention obtains the wavefront information of the target light source 3 before imaging through the wavefront sensor, and reconstructs the distortion that reduces the image quality. The light beams emitted by the target light source 3 and the laser 1 are superimposed by the first beam splitter 5 and reflected onto the distortion lens 6. The first beam splitter 5 plays the role of transmission and reflection at the same time, so that natural light and laser enter the optical path at the same time. The transmission and refraction ratio of the first beam splitter 5 is 1:1, the diameter is 50.8mm, the transmission and refraction ratio is 1:1, and the transmission energy and the reflected energy are evenly distributed, which will not cause the natural light or laser in the optical path to be very weak. The target light source 3 of the present invention is a natural light source. The distortion lens 6 is a lens with uneven refractive index, and its function is to realize the deformation of the light beam. The distortion lens 6 is incident on the deformable mirror 9 through the first lens group. The first lens group is a 4F optical system, which ensures the collimated propagation of the light path, and cooperates with the second lens group to ensure that the wavefront sensor 15 and the camera 14 are placed at the iso-image plane of the distortion lens 6, so that the distortion information can be truly received, and the deformable mirror 9 can deform to correct the distortion. After the light beam is reflected by the deformable mirror 9, it is incident on the second beam splitter 12 through the second lens group. The second lens group has the same function as the first lens group and is a 4F optical system. The 4F optical system can ensure that the distortion lens 6, the deformable mirror 9, the wavefront sensor 15, and the camera 14 are all at the iso-image plane, so that the deformable mirror corrects the distortion in proportion, and the wavefront sensor obtains a real distorted wavefront image. The function of the second beam splitter 12 is to split the focused light beam into two beams, which are transmitted to the wavefront sensor 15 and the camera 14 respectively. The transmission and reflection ratio of the second beam splitter 12 is 92:8, and the diameter is 50.8 mm. The actual transmission and reflection ratio used in the experiment is 92:8, so that both the wavefront sensor and the camera can obtain better imaging effects. One beam split by the second beam splitter 12 is incident on the wavefront sensor 15, and the wavefront sensor 15 is used to collect the wavefront information of the beam. The other beam split by the second beam splitter 5 is transmitted to the camera 14 through the filter 13 for imaging, which is used to image the target light source 3. The wavefront sensor 15 and the camera 14 are arranged on the focal plane of the second lens group; the wavefront sensor 15 is connected to the computer 16, and the computer 16 is connected to the actuator 26 of the deformable mirror 9. The correction matrix is calculated through the wavefront information collected by the wavefront sensor 15, and the deformable mirror 9 is adjusted according to the correction matrix through the actuator 26, so as to realize the waveform correction of the beam.
[0037] Furthermore, the first lens group and the second lens group are both 4F optical systems; the first lens group includes a first lens 7 and a second lens 8, and the centers of the first lens 7 and the second lens 8 are on the optical path between the distortion lens 6 and the deformable mirror 9; the second lens group includes a third lens 10 and a fourth lens 11, and the centers of the third lens 10 and the fourth lens 11 are in the optical path between the deformable mirror 9 and the second beam splitter 12. The diameters of the first lens 7, the second lens 8, the third lens 10, and the fourth lens 11 are all 25.4 mm, and the focal lengths are all 750 mm. The distortion lens 6 is located at the focal plane of the first lens 7, the deformable mirror 9 is located at the focal plane of the second lens 8 and the third lens 10, and the wavefront sensor 15 and the camera 14 are both located at the focal plane of the fourth lens 11, ensuring that the image propagates on the equal image plane in the optical path and truly receives the image.
[0038] The wavelength of the light wave output by the laser 1 is 532nm, which provides sufficient light intensity for the wavefront sensor imaging, so that it can better collect wavefront distortion information. The laser beam 2 is reflected by the first beam splitter 5 and then incident on the distortion lens 6, thereby introducing distortion in the optical path of imaging the target object, and then incident on the first lens 7 and the second lens 8. After being reflected by the deformable mirror 9, it is successively incident on the third lens 10 and the fourth lens 11, and then reflected by the second beam splitter 12 and enters the wavefront sensor 15 to obtain wavefront information. At the same time, the target light source 3, that is, the target light beam 4 at the imaging target, is transmitted through the first beam splitter 5 to the distortion lens 6 with uneven refractive index and is transmitted to the second beam splitter 12 along the same optical path as the laser beam 2. After being partially reflected by the second beam splitter 12, it enters the wavefront sensor 15, and the other part is transmitted and incident on the filter 13. The filter 13 filters out the laser component with a wavelength of 532nm in the light beam, and then enters the camera 14 for imaging.
[0039] The wavefront sensor 15 includes a CCD detection unit and a microlens array. The CCD detection unit is arranged on the focal plane of the microlens of the microlens array. The microlens array divides the incident light beam into a series of small light beams. The multiple lens arrays divide the light beam into multiple beams. Each beam focuses on a point. The small light beams are focused on the CCD detection unit to produce a focused light spot. The corresponding wavefront sensor 15 is square with a side length of 6mm. It is composed of a 12*12 microlens array and a CCD detection unit. Each beam of light is focused on the CCD detection unit after passing through the microlens array. In the case of no distortion in the imaging optical path 18, the propagation direction of the light 17 does not change. The light beam is perpendicular to the incident wavefront sensor 15. The light beam will generate a focused light spot on the CCD photosensitive surface 21 in the direction of the optical axis of each microlens (focusing lens 19), and a regularly arranged light spot grid 21 is generated on the focal plane, such as Figure 2 As shown in (a), when there is no distortion, the light spot in the imaging result 21 of the wavefront sensor is located at the center of each CCD detection unit. Figure 2As shown in (b), in the case where there is distortion 23 in the imaging light path, the distorted light 23 is incident on the wavefront sensor 15, thereby obtaining a distorted imaging wavefront 24, and the light spot is located at a position off-center of each CCD detection unit.
[0040] The deformable mirror 9 includes at least two deformable reflective mirrors 25, and at least two actuators 26 are fixed to the rear of the deformable reflective mirrors 25. The actuators 26 are connected to the computer 16 through a driving circuit. The computer 16 calculates the tilt angle of the deformable reflective mirror 25 according to the correction matrix, and applies different voltages to the actuators 26 using the driving circuit, so that the deformable mirror 9 obtains corresponding deformation. The deformable reflective mirror 25 is deformed under the control of the actuator 26 to compensate for the distorted wavefront measured by the wavefront sensor 15. If the undistorted wavefront is incident on the surface of the flat deformable mirror 9, the reflected image will remain aberration-free, and the deformable mirror 9 cannot compensate for any deformation of the wavefront; when the incident wavefront is distorted, the deformable mirror 9 will produce corresponding deformation to compensate for the distortion.
[0041] The deformable mirror 9 is square with a side length of 6 mm. It is composed of an array of 12*12 deformable reflective mirrors 25 and actuators 26. Three actuators 26 are installed under each deformable reflective mirror 25. The three actuators 26 cooperate with each other to adjust the displacement, pitch angle and tilt angle of the mirror surface of the deformable reflective mirror 25. In order to effectively utilize the deformable reflector, i.e., the deformable mirror 9, in the adaptive optical application, during the working process, the beam range is required to cover all deformable mirrors to ensure the image correction quality.
[0042] Step 2: When the distortion lens 6 is not set in the optical path, the spot information measured by the wavefront sensor 15 is the reference wavefront; when the distortion lens 6 is set in the optical path, the spot information measured by the wavefront sensor 15 is the wavefront information; the wavefront distortion information, that is, the spot offset of the wavefront imaging, is obtained based on the reference wavefront and the wavefront information.
[0043] Before the formal operation, the distortion lens 6 that introduces distortion is not placed in the correction optical system, and the imaging condition of the wavefront sensor 15 at this time is recorded as follows: Figure 2 The imaging result of the wavefront sensor without distortion in (a) is shown in 21. The light spot formed by each wavefront imaging focus point is at the center of the CCD photosensitive surface. The inclination of each pixel point is 0°. The wavefront at this time is used as the reference wavefront. In the formal operation, in order to verify the feasibility of the system method, a distortion lens 6 is placed in the optical path to introduce distortion. Then the wavefront imaging focus will deviate from the center of each microlens. The wavefront imaging situation is as follows Figure 2 (b) The imaging result of the wavefront sensor when there is distortion 24. The distance that each spot position deviates is proportional to the wavefront slope of the microlens position, and the wavefront shape is reconstructed based on the obtained spot offset information.
[0044] The spot offset information is:
[0045] in, is the position vector from the center of the CCD detection unit in the wavefront sensor 15 to the light spot formed in the corresponding CCD detection unit, and is a two-dimensional matrix of m×n m is the number of rows of microlenses in the microlens array of the wavefront sensor 15, n is the number of columns of microlenses in the microlens array of the wavefront sensor 15, and the element (x mn ,y mn ) is the position vector coordinate from the center of the CCD detection unit in the mth row and nth column to the light spot on the CCD detection unit, f is the focal length of the microlens, which is also equal to the distance between the microlens and the CCD detection unit, is the desired wavefront tilt angle, is the position vector Unit vectors with the same direction.
[0046] Step 3: Construct the tilt angle matrix of the distorted wavefront based on the spot offset information calculated in real time.
[0047] From formula (1), it can be seen that the calculation method of the tilt angle matrix of the distorted wavefront in step 3 is:
[0048] The magnitude of the tilt angle of the distorted wavefront at the position corresponding to the light spot on the CCD detection unit in the ath row and the bth column of the wavefront sensor 15 at the current time t and
[0049] The tilt direction of the distorted wavefront at the position corresponding to the light spot on the CCD imaging unit in the ath row and the bth column of the wavefront sensor 15 at the current time t and
[0050] in, is the position vector of the light spot on the CCD detection unit from the center of the ath row and the bth column in the wavefront sensor 15 at the current time t, a=1,...,m, b=1,...,n; f is the focal length of the microlens; the tilt angle matrix is a 2×n×n three-dimensional matrix, α mn It represents the inclination angle of the wavefront point corresponding to the position of the CCD detection unit in the mth row and nth column of the wavefront sensor. is the α arranged by coordinates mn The two-dimensional scalar matrix composed of the vector matrix Find the unit vector for each element in, and we get Right now is a two-dimensional vector matrix, which indicates the tilt direction of the wavefront point corresponding to each pixel of the wavefront sensor. Obviously, the direction indicated is the same as Same direction.
[0051] Therefore, the wavefront tilt angle vector matrix at the corresponding position is obtained according to the position offset of each light spot in the wavefront imaging, so as to restore the distorted wavefront clearly and accurately.
[0052] Step 4: Calculate the correction matrix of the deformation of the deformable mirror 9 according to the tilt angle matrix through a ray tracing algorithm;
[0053] Get the tilt angle matrix of the distorted wavefront Afterwards, the ray tracing method shows that the state of the deformable mirror 9 needs to be conjugate with the acquired wavefront state, that is, the tilt direction of the deformable mirror 9 that needs to be adjusted should be opposite to the tilt direction of the corresponding point of the acquired wavefront. According to the reflection principle, the tilt angle of the deformable mirror 9 that needs to be deformed should be 1 / 2 of the wavefront deviation angle. Since there will be scattering, optical noise and wavefront information errors caused by performance limitations of the wavefront sensor 15 during light beam propagation, in order to obtain a stable and ideal image wavefront correction effect, the present invention proposes a time-accumulated image distortion correction algorithm based on wavefront control.
[0054] The time-accumulated image distortion correction algorithm based on wavefront control in step 2 uses the wavefront tilt angle vector corresponding to the spot position on the same CCD detection unit of the wavefront sensor 15 at different times as the wavefront information for wavefront correction. The computer 16 stores the measurement data of the wavefront sensor 15 for the last 3-5 times, assigns different weights to the wavefront tilt angles obtained at different time sampling points, obtains the tilt angle that the deformable reflective lens 25 at the corresponding position of the deformable mirror 9 needs to move, and forms a correction matrix B. On the one hand, this algorithm solves the problem of dynamic distortion correction that changes with time and truly reflects the law of dynamic distortion change; on the other hand, it reduces the correction error caused by the detection accuracy of the wavefront sensor and the correction accuracy of the deformable mirror, forms a closed-loop control between the wavefront sensor and the deformable mirror correction, and improves the correction effect and correction stability.
[0055] The calculation method of the correction matrix in step 4 is: and
[0056] in, is the angle and direction that the deformable reflective lens 25 in the deformable mirror 9 corresponding to the CCD detection unit in the ath row and the bth column in the wavefront sensor 15 needs to be tilted, and the negative sign indicates that its direction is opposite to the tilt direction of the distorted wavefront; is the distorted wavefront tilt angle corresponding to the position of the light spot on the CCD detection unit in the ath row and the bth column of the wavefront sensor 15 obtained at the i sampling moments before the current moment t; α i is the tilt angle of the distorted wavefront The smaller the i value, the larger the α value, that is, the closer to the current time, the greater the weight; the weights of num+1 moments are accumulated, Represents the wavefront information matrix at the t-num moment.
[0057] Specifically, taking the wavefront tilt angle matrix of 5 time points as an example to perform image distortion correction, the specific method of calculating the correction matrix when the deformable mirror 9 needs to be deformed is:
[0058] in, is the angle at which the deformable reflector lens 25 needs to be tilted at the current moment, and its direction is opposite to the tilt direction of the distorted wavefront. is the distortion wavefront tilt angle vector matrix obtained by the wavefront sensor 15 at the i sampling moments before the current moment, α i =0.05, 0.1, 0.15, 0.2, 0.5 are their weights respectively. The closer to the current time, the greater the weight. The whole process is as follows Figure 4 shown.
[0059] Step 5: controlling the tilt angle of the deformable mirror 9 according to the correction matrix so that the deformable mirror 9 obtains corresponding deformation in real time;
[0060] Step 6: The camera 14 collects the light spot of the deformable mirror 9 after deformation, and the obtained image is the image after distortion correction.
[0061] The correction matrix is calculated by computer 16 The actuator 26 inside the deformable mirror 9 is controlled according to the vector value of each element in the correction matrix. Different voltages are applied to the actuator 26 according to the tilt angle requirement of each deformable lens 25 so that the deformable mirror 9 obtains corresponding deformation to achieve the image distortion correction effect.
[0062] The correction effect is characterized by calculating the root mean square (RMS) and PV value (peak-peak value) of the three-dimensional wavefront. The PV value is the difference between the highest point and the lowest point of the actual wavefront phase plane relative to the expected ideal wavefront phase plane. The smaller the PV value, the closer it is to the ideal wavefront, and the better the distortion correction effect. When the wavefront accuracy requirements are high, it is inaccurate to only use the PV value to evaluate the accuracy of the wavefront state. The RMS value refers to the root mean square of the difference between each point on the actual wavefront and the corresponding point on the expected ideal wavefront. The smaller the RMS, the more stable the wavefront state after correction and the better the image correction effect.
[0063] As shown in Table 1, a set of experimental results are given. When the plane is set as the expected reference wavefront, the RMS value and PV value of the system are 0.231μm and 1.013μm respectively when the deformable mirror 9 is not working. After the deformable mirror 9 is working, the RMS and PV values are 0.100μm and 0.589μm respectively, which reduces the influence of the optical path itself on the incident light wavefront. Then, a distortion lens with a focal length of 190mm is added to the optical path as a simulated film disturbance source. When the deformable mirror 9 is not working, the RMS and PV values of the system are 1.935μm and 7.387μm respectively. After the deformable mirror 9 is working, the RMS and PV values of the system are reduced to 0.905μm and 3.944μm respectively. From the example data results, it can be obtained that the wavefront sensor 15 obtains the wavefront information. The specific correction method of the deformable mirror 9 obtained by processing the wavefront information using the calculation method of the present invention can well correct the wavefront distortion, and the imaging effect is also significantly improved.
[0064] Table 1 Experimental results example
[0065]
[0066] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A distortion image correction method based on wavefront control, characterized in that: The steps are as follows: Step 1: constructing a correction optical system, wherein the correction optical system comprises a laser (1), a distortion lens (6), a deformable mirror (9) and a wavefront sensor (15) arranged in sequence on an optical path, a target light source (3) being arranged on the same side of the laser (1), and a camera (14) being arranged on the same side of the wavefront sensor (15); Step 2: When the distortion lens (6) is not provided in the optical path, the light spot information measured by the wavefront sensor (15) is the reference wavefront; when the distortion lens (6) is provided in the optical path, the light spot information measured by the wavefront sensor (15) is the wavefront information; and wavefront distortion information is obtained according to the reference wavefront and the wavefront information; The wavefront distortion information in step 2 is the light spot offset information, and: in, is the position vector from the center of the CCD detection unit in the wavefront sensor (15) to the light spot formed in the corresponding CCD detection unit, and is a two-dimensional matrix of m×n m is the number of rows of microlenses in the microlens array of the wavefront sensor (15); n is the number of columns of microlenses in the microlens array of the wavefront sensor (15); the element (x mn ,y mn ) is the position vector coordinate of the center of the CCD detection unit in the mth row and nth column to the light spot on the CCD detection unit; f is the focal length of the microlens; is the desired wavefront tilt angle; is the position vector Unit vectors in the same direction; Step 3: constructing a tilt angle matrix of the distorted wavefront according to the wavefront distortion information imaged by the wavefront sensor (15) calculated in real time; Step 4: Calculate the correction matrix of the deformation of the deformable mirror (9) according to the tilt angle matrix by using a ray tracing algorithm; Step 5: controlling the tilt angle of the deformable mirror (9) according to the correction matrix so that the deformable mirror (9) obtains corresponding deformation in real time; Step 6: The camera (14) images the target object at the same image plane as the wavefront sensor (15), and the obtained image is a distortion-corrected image.
2. The distortion image correction method based on wavefront control according to claim 1, characterized in that: The light beams emitted by the target light source (3) and the laser (1) are incident on the distortion lens (6) through the first beam splitter (5), the distortion lens (6) is incident on the deformation mirror (9) through the first lens group, the light beam reflected by the deformation mirror (9) is incident on the second beam splitter (12) through the second lens group, one light beam split by the second beam splitter (12) is incident on the wavefront sensor (15), and the other light beam split by the second beam splitter (5) is transmitted to the camera (14) through the filter (13) for imaging; the wavefront sensor (15) and the camera (14) are arranged on the focal plane of the second lens group; the wavefront sensor (15) is connected to a computer (16), and the computer (16) is connected to an actuator (26) of the deformation mirror (9).
3. The distortion image correction method based on wavefront control according to claim 2, characterized in that: The first lens group and the second lens group are both 4F optical systems; the first lens group comprises a first lens (7) and a second lens (8), the centers of the first lens (7) and the second lens (8) are on the optical path between the distortion lens (6) and the deformable mirror (9); the second lens group comprises a third lens (10) and a fourth lens (11), the centers of the third lens (10) and the fourth lens (11) are on the optical path between the deformable mirror (9) and the second beam splitter (12); the distortion lens (6) is located at the focal plane of the first lens (7), the deformable mirror (9) is located at the focal plane of the second lens (8) and the third lens (10), and the wavefront sensor (15) and the camera (14) are both located at the focal plane of the fourth lens (11).
4. The method for correcting distorted images based on wavefront control according to claim 1, 2 or 3, characterized in that: The wavefront sensor (15) comprises a CCD detection unit and a microlens array. The CCD detection unit is arranged on the focal plane of a microlens of the microlens array. The microlens array divides an incident light beam into a series of small light beams. The small light beams are focused on the CCD detection unit to generate a focused light spot.
5. The distortion image correction method based on wavefront control according to claim 4, characterized in that: The deformable mirror (9) comprises at least two deformable reflective mirrors (25), at least two actuators (26) are fixed to the rear of the deformable reflective mirrors (25), and the actuators (26) are connected to a computer (16) via a drive circuit; the computer (16) calculates the tilt angle of the deformable reflective mirror (25) according to a correction matrix, and applies different voltages to the actuators (26) using the drive circuit, so that the deformable mirror (9) obtains corresponding deformation.
6. The distortion image correction method based on wavefront control according to claim 5, characterized in that: Three actuators (26) are installed under the deformable reflective lens (25), and the three actuators (26) cooperate with each other to adjust the displacement, pitch angle and tilt angle of the mirror surface of the deformable reflective lens (25).
7. The distortion image correction method based on wavefront control according to claim 5 or 6, characterized in that: The calculation method of the tilt angle matrix of the distorted wavefront in step 3 is: The magnitude of the distorted wavefront tilt angle at the position corresponding to the light spot on the CCD detection unit in the ath row and the bth column of the wavefront sensor (15) at the current time t and The tilt direction of the distorted wavefront at the position corresponding to the light spot on the CCD imaging unit in the ath row and the bth column of the wavefront sensor (15) at the current moment and in, is the position vector from the center of the CCD detection unit in the ath row and the bth column in the wavefront sensor (15) at the current moment t to the light spot on the CCD detection unit; a=1,...,m; b=1,...,n; f is the focal length of the microlens; the tilt angle matrix is a 2×n×n three-dimensional matrix; α mn It represents the tilt angle of the wavefront point corresponding to the position of the CCD detection unit in the mth row and nth column of the wavefront sensor; is the α arranged by coordinates mn A two-dimensional scalar matrix composed of Find the unit vector for each element in, and we get Right now is a two-dimensional vector matrix, which indicates the tilt direction of the wavefront point corresponding to each pixel of the wavefront sensor. Same direction.
8. The method for correcting distorted images based on wavefront control according to any one of claims 1 to 3, 5 and 6, characterized in that: In the step 2, the wavefront tilt angle vector corresponding to the light spot position on the same CCD detection unit of the wavefront sensor (15) at different times is used as the wavefront information for wavefront correction. The computer (16) stores the measurement data of the wavefront sensor (15) for the last 3 to 5 times, assigns different weights to the wavefront tilt angles obtained at different time sampling points, obtains the tilt angle that the deformable reflective lens (25) at the corresponding position of the deformable mirror (9) needs to move, and forms a correction matrix B.
9. The distortion image correction method based on wavefront control according to claim 8, characterized in that: The calculation method of the correction matrix in step 4 is: and in, is the angle and direction in which the deformable reflective lens (25) in the deformable mirror (9) corresponding to the CCD detection unit in the ath row and the bth column of the wavefront sensor (15) needs to be tilted, and the negative sign indicates that the direction is opposite to the tilt direction of the distorted wavefront; is the distorted wavefront tilt angle corresponding to the position of the light spot on the CCD detection unit in the ath row and the bth column of the wavefront sensor (15) obtained at the i sampling moments before the current moment t; α i is the tilt angle of the distorted wavefront The weight of i, the smaller the value of i, the larger the value of α; num represents the number of moments when the weight is accumulated.
