An optimized focusing and alternating chromatic aberration correction method for two-dimensional hyperspectral imaging equipment
By adopting optimized focus and alternating chromatic aberration correction methods in two-dimensional ultraspectral imaging equipment, the problem of degradation of spectral quality and insufficient inversion accuracy caused by chromatic aberration problems is solved, and the spectrum quality improvement and inversion accuracy are achieved.
Patent Information
- Application Number
- CN202411135087.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-08-19
AI Technical Summary
In two-dimensional hyperspectral imaging equipment, the chromatic aberration problem leads to a decrease in spectral quality, affecting the accuracy of inversion of multi-component trace gas concentration, which is difficult to effectively solve in the prior art.
The optimal focus and alternating chromatic aberration correction method are used to calculate the clarity of each channel through Laplace operator convolution, determine the optimal focal length, and divide the channel into two parts, and alternate focus sampling is used for alternating focus sampling, and chromatic aberration correction is performed for each channel.
The spectral quality collected by the equipment is improved, the accuracy of inversion multi-component trace gas concentration is improved, and the inversion quality is improved by about 18%.
Smart Images

Figure CN118999785B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of hyperspectral imaging, and in particular relates to an optimized focusing and alternating chromatic aberration correction method applied to a two-dimensional hyperspectral imaging device. Background Art
[0002] Currently, the imaging spectroscopy technology used in the field of environmental monitoring can be divided into two categories: one is the camera method, which obtains all spatial dimension information at one time, and then supplements the spectral dimension information by switching different filtering devices; the other is the hyperspectral method, which obtains all spectral dimension information at one time, and then obtains different spatial dimension information by changing the observation field of view.
[0003] For the demand of monitoring gas composition, in order to ensure the accuracy of the concentration of the target component, a high-quality spectrum is required, so hyperspectral imaging is the mainstream imaging method in the current environmental monitoring field. Hyperspectral imaging is divided into two categories, one is the linear array "swing-sweep" one-dimensional imaging, and the other is the area array "push-sweep" two-dimensional imaging. The main difference between the two is that two-dimensional imaging uses a two-dimensional detector and can directly obtain a column of spatial dimension information, thus greatly improving the time resolution and spatial resolution of the observation.
[0004] In one-dimensional and two-dimensional hyperspectral imaging devices, the imaging results are "mosaic" due to the low imaging resolution, so the out-of-focus problem caused by chromatic aberration is difficult to show. In the application of two-dimensional hyperspectral atmospheric trace component imaging equipment, since high-resolution imaging results can be obtained directly through push scanning, the chromatic aberration problem is more prominent than that of one-dimensional imaging equipment.
[0005] The chromatic aberration problem in the field of hyperspectral imaging is that the optical device has different imaging focal lengths for light in different bands. Therefore, when collecting spectra at a specific focal length, the imaging quality of each band will be different. The bands with more serious out-of-focus will be affected by the aliasing effect of scattered light, which will cause the spectrum quality to deteriorate seriously, thus affecting the inversion quality. Although there are some achromatic lenses that can avoid this problem to a certain extent, these lenses are difficult to design, expensive, and have limited achromatic bands. Therefore, it is hoped that this scenario can be corrected from the algorithm level.
[0006] There are already some studies that have performed algorithmic correction on the chromatic aberration of multispectral devices. However, since hyperspectral devices have too many channels, although such correction methods will improve the imaging quality of each spectral channel, the spectral dimension will be severely deformed, resulting in inversion failure. Therefore, they are not suitable for hyperspectral inversion.
[0007] Similarly, blind deconvolution for each channel will cause more serious spectral deformation. Therefore, how to select an optimal focusing scheme according to the different inversion bands of different trace gases and how to correct the chromatic aberration to a certain extent are urgent problems to be solved. Summary of the invention
[0008] In view of the above, the purpose of the present invention is to provide an optimized focusing and alternating chromatic aberration correction method for a two-dimensional hyperspectral imaging device. The method is suitable for multi-channel high-resolution two-dimensional hyperspectral imaging devices in the field of environmental monitoring, thereby improving the quality of the spectrum collected by the device and further improving the accuracy of inverting the concentration of multi-component trace gases.
[0009] To achieve the above-mentioned purpose of the invention, an embodiment provides an optimized focusing and alternating chromatic aberration correction method for a two-dimensional hyperspectral imaging device, comprising the following steps:
[0010] Determine the band range corresponding to the target observation component, and obtain the hyperspectral images of each channel of each discontinuous band within the band range collected by the two-dimensional hyperspectral imaging device;
[0011] The Laplace operator is used to perform convolution calculation on the hyperspectral image, and the standard deviation of the convolved image matrix is calculated as the clarity of each channel. The clarity of each band is calculated according to the overlap of the bands and the clarity of each channel, and the total clarity of a single observation is obtained based on the clarity of each band.
[0012] The focal length of the two-dimensional hyperspectral imaging device is continuously changed until the maximum total definition is obtained, and the focal length corresponding to the maximum total definition is taken as the optimal focal length;
[0013] The two-dimensional hyperspectral imaging device performs a collection at the optimal focal length and obtains the channel corresponding to the maximum hyperspectral image clarity. All collection channels are divided into two parts, front and back, based on the reference channel, and the optimal focal lengths of the two parts are obtained.
[0014] Alternate focus sampling is performed using the respective optimal focal lengths of the two parts to obtain a clear image and a blurred image of each channel in each band in a round of alternate focus sampling, and the clear image is used to perform chromatic aberration correction on the blurred image for each channel.
[0015] Preferably, the Laplace operator is used to perform convolution calculation on the hyperspectral image, and the standard deviation of the image matrix after convolution is calculated as the clarity of each channel, including:
[0016] The Laplace operator is defined in the discrete domain as:
[0017]
[0018] Wherein, f(x,y) represents the light intensity information at the position (x,y) in the hyperspectral image;
[0019] Using the Laplace operator Approximate second-order differential operations are performed on the hyperspectral images of each channel in each band, and the standard deviation of the image matrix after the operation is used to measure the clarity of each channel:
[0020]
[0021] Among them, M×N represents the size of the hyperspectral image, μ represents the average value of the image matrix after Laplace operation, Indicates F ij The square of F ij Indicates the clarity of the jth channel of the i-th discontinuous band.
[0022] Preferably, the clarity of each band is calculated according to the overlap of the bands and the clarity of each channel, including:
[0023] For discontinuous bands where the inversion component bands do not overlap, the resolution of these bands is:
[0024]
[0025] Among them, F i is the clarity of the i-th discontinuous band, m i Indicates the number of channels contained in the i-th discontinuous band, F ij Indicates the clarity of the jth channel of the i-th discontinuous band;
[0026] For inversion component bands, there are overlapping discontinuous bands, and the clarity of these bands is:
[0027]
[0028] Among them, L represents the different overlapping modes of discontinuous bands, x l is the number of overlaps in the lth overlap mode, x l ≥1, It represents the sum of the clarity of the channels in the lth overlapping mode in the i-th discontinuous band.
[0029] Preferably, the total clarity of a single observation is obtained according to the clarity of each band, including:
[0030]
[0031] Among them, F i is the clarity of the i-th discontinuous band, n is the total number of discontinuous bands, and F is the total clarity of a single observation.
[0032] Preferably, the two-dimensional hyperspectral imaging device performs a collection at an optimal focal length and obtains a channel corresponding to the maximum hyperspectral image clarity as a reference channel, including:
[0033] The two-dimensional hyperspectral imaging device performs a collection at the optimal focal length, and the obtained reference channel is the channel close to the central channel and with the highest hyperspectral image clarity.
[0034] Preferably, obtaining the respective optimal focal lengths of the various parts comprises:
[0035] The Laplace operator is used to perform convolution calculation on the hyperspectral images corresponding to all channels of each part, and the standard deviation of the convolved image matrix is calculated as the clarity of each channel. The clarity of each band is calculated according to the overlap of the bands and the clarity of all channels of each part, and the total clarity of each part is obtained according to the clarity of each band contained in each part.
[0036] The focal length of the two-dimensional hyperspectral imaging device is continuously changed until the maximum total clarity of each part is obtained, and the focal length corresponding to the maximum total clarity of each part is taken as the optimal focal length of each part.
[0037] Preferably, alternate focusing sampling is performed using the respective optimal focal lengths of the two parts to obtain a clear image and a blurred image of each channel in each band in a round of alternate focusing sampling, including:
[0038] The optimal focal length of the front part is used for focus sampling. The image obtained by sampling each channel of the front part is a clear image, and the image obtained by sampling each channel of the rear part is a blurred image.
[0039] The optimal focal length of the rear part is used for focus sampling. The image obtained by sampling each channel of the front part is a simulated image, and the image obtained by sampling each channel of the rear part is a clear image.
[0040] For each band, a round of alternating focus sampling is performed at the optimal focal length of the front part and the optimal focal length of the rear part to obtain a clear image and a blurred image of each channel.
[0041] Preferably, for each channel, using a clear image to correct chromatic aberration of a blurred image includes:
[0042] Calculate the weight matrix W according to the light intensity of the clear image of each channel j :
[0043]
[0044] Among them, A x,y,j Represents the light intensity information at position (x, y) in the clear image of the jth channel, A x,s,jrepresents the light intensity information at position (x, s) in the clear image of the jth channel, M×N represents the size of the cleaned image, and W x,y,j Represents the weight matrix W j The weight value at position (x, y) in the middle;
[0045] According to the weight matrix W j Perform chromatic aberration correction on the blurred image to obtain the corrected image S j :
[0046]
[0047] Among them, S x,y,j Represents the rectified image S j The light intensity information at the position (x, y), C x,s,j Represents the light intensity information at position (x, s) in the blurred image of the jth channel, and the symbol · represents the dot product.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] The hyperspectral image is convolved by selecting a suitable Laplace operator, and the standard deviation of the image matrix after convolution is used as the clarity of each channel. The total clarity of each band is calculated accordingly to determine the optimal focal length. The clarity of each channel obtained by the optimal focal length can meet the inversion requirements. On this basis, the acquisition channel is divided into two parts, front and back, according to the optimal focal length. Alternate focus sampling is performed using the optimal focal length of each part to obtain a clear image and a blurred image of each channel in each band in a round of alternating focus sampling. For each channel, the clear image is used to correct the chromatic aberration of the blurred image. This can improve the inversion quality when only one optimal focal length is used for acquisition. When the inversion band covers the entire scanning band of the instrument, the inversion quality is improved by about 18%. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] 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 creative work.
[0051] Figure 1 is a flow chart of an optimized focusing and alternating chromatic aberration correction method for a two-dimensional hyperspectral imaging device provided in an embodiment;
[0052] Figure 2 The alternating chromatic aberration correction provided by the embodiment is specifically applied to the imaging correction effect of a certain channel;
[0053] Figure 3 It is a comparison diagram of the improvement of inversion quality by the alternating chromatic aberration correction provided in the embodiment. DETAILED DESCRIPTION
[0054] To make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation methods described herein are only used to explain the present invention and do not limit the scope of protection of the present invention.
[0055] The technical concept of the present invention is: the optimal focusing and chromatic aberration correction of current imaging devices based on spectral principles are concentrated on multi-spectral imaging devices with a small number of channels (usually less than 20), and are not applicable to multi-channel two-dimensional hyperspectral imaging devices. To this end, the embodiment of the present invention provides an optimal focusing and alternating chromatic aberration correction method for multi-channel high-resolution imaging devices in the field of environmental monitoring, thereby improving the quality of the spectrum collected by the device and further improving the accuracy of inverting the concentration of multi-component trace gases.
[0056] like Figure 1 As shown, the optimized focusing and alternating chromatic aberration correction method for a two-dimensional hyperspectral imaging device provided in the embodiment includes the following steps:
[0057] S1. Determine the band range corresponding to the target observation component, and obtain the hyperspectral images of each channel of each discontinuous band within the band range collected by the two-dimensional hyperspectral imaging device.
[0058] In the embodiment, the target component of the atmospheric trace gas to be observed is determined, and different components correspond to different strong absorption bands. The band range required for inversion is determined based on the strong absorption band of the target component and taking into account factors such as cross-absorption. Then, a two-dimensional hyperspectral imaging device is used to collect hyperspectral images of each channel of each discontinuous band within the band range. Among them, the two-dimensional hyperspectral imaging device generally refers to a device that uses push scanning to perform trace gas imaging, and the resulting hyperspectral image includes three dimensions: a two-dimensional image dimension and a spectral dimension.
[0059] S2. Use the Laplace operator to perform convolution calculation on the hyperspectral image, and calculate the standard deviation of the convolved image matrix as the clarity of each channel. According to the overlap of the bands and the clarity of each channel, the clarity of each band is calculated, and the total clarity of a single observation is obtained based on the clarity of each band.
[0060] There are two methods for evaluating the clarity of an image: the Laplace operator and the Sobel operator. After testing, the Sobel operator series method will be affected by the difference in light intensity distribution between channels when used for multi-channel hyperspectral imaging, resulting in distortion of clarity evaluation, and this effect cannot be eliminated by normalization. The evaluation system based on the Laplace operator is not significantly affected by the difference in light intensity distribution between channels, so the clarity evaluation system is constructed through the Laplace operator. Specifically, the Laplace operator is defined in the discrete field as:
[0061]
[0062] Wherein, f(x,y) represents the light intensity information at the position (x,y) in the hyperspectral image;
[0063] Using the Laplace operator Approximate second-order differential operations are performed on the hyperspectral images of each channel in each band, and the standard deviation of the image matrix after the operation is used to measure the clarity of each channel:
[0064]
[0065] Among them, M×N represents the size of the hyperspectral image, μ represents the average value of the image matrix after Laplace operation, Indicates F ij The square of F ij Indicates the clarity of the jth channel of the i-th discontinuous band.
[0066] In the embodiment, the clarity of each band is calculated according to the overlap of the bands and the clarity of each channel, including:
[0067] For discontinuous bands where the inversion component bands do not overlap, the resolution of these bands is:
[0068]
[0069] Among them, F i is the clarity of the i-th discontinuous band, m i Indicates the number of channels contained in the i-th discontinuous band, F ij Indicates the clarity of the jth channel of the i-th discontinuous band;
[0070] For inversion component bands, there are overlapping discontinuous bands, and the clarity of these bands is:
[0071]
[0072] Among them, L represents the different overlapping modes of discontinuous bands, x l is the number of overlaps in the lth overlap mode, x l ≥1, It represents the sum of the clarity of the channels in the lth overlapping mode in the i-th discontinuous band.
[0073] In the embodiment, the total clarity of a single observation is obtained according to the clarity of each band, including:
[0074]
[0075] Where n is the total number of discontinuous bands and F is the total clarity of a single observation.
[0076] S3. Continuously change the focal length of the two-dimensional hyperspectral imaging device until the maximum total definition is obtained, and take the focal length corresponding to the maximum total definition as the optimal focal length.
[0077] In the embodiment, the focal length is continuously changed with a fixed step length until the focal length at which the total clarity is maximum is obtained, which is the optimal focal length for inversion. Generally, when the optimal focal length is adjusted, the clarity of each channel involved in the inversion can meet the inversion requirements.
[0078] S4. The two-dimensional hyperspectral imaging device performs a collection at the optimal focal length and obtains the channel corresponding to the maximum hyperspectral image clarity as the reference channel. All collection channels are divided into two parts, front and back, based on the reference channel, and the optimal focal lengths of the two parts are obtained.
[0079] In the embodiment, for observation scenes with high-precision requirements, the use of chromatic aberration correction can further improve the imaging quality and inversion effect. To this end, an alternating correction method is proposed. The two-dimensional hyperspectral imaging device performs a collection at the optimal focal length and obtains the channel corresponding to the maximum hyperspectral image clarity as the reference channel. Generally, the reference channel is the channel close to the center channel and has the highest hyperspectral image clarity.
[0080] After obtaining the reference channel, all acquisition channels are divided into two parts based on the reference channel. For example, when all acquisition channels of the two-dimensional hyperspectral imaging device are 2048, assuming that the obtained reference channel is the 1032nd, channels 1-1032 are divided into the front part, and channels 1034-2048 are divided into the rear part. The reference channel can be included in the front part or the rear part, and it only needs to be divided into one part.
[0081] In the embodiment, the optimal focal length of the two divided parts is also acquired to obtain the optimal focal length of each of the two parts. The specific acquisition process is the same as steps S2-S3, except that the image of each part is processed, specifically using the Laplace operator to perform convolution calculation on the hyperspectral images corresponding to all channels of each part, and calculating the standard deviation of the image matrix after convolution as the clarity of each channel, calculating the clarity of each band according to the overlap of the bands and the clarity of all channels of each part, and obtaining the total clarity of each part according to the clarity of each band contained in each part; continuously changing the focal length of the two-dimensional hyperspectral imaging device until the maximum total clarity of each part is obtained, and taking the focal length corresponding to the maximum total clarity of each part as the optimal focal length of each part.
[0082] S5. Perform alternating focus sampling using the respective optimal focal lengths of the two parts to obtain a clear image and a blurred image of each channel in each band in a round of alternating focus sampling, and perform chromatic aberration correction on the blurred image using the clear image for each channel.
[0083] In the embodiment, alternate focus sampling is performed using the respective optimal focal lengths of the two parts to obtain a clear image and a blurred image of each channel in each band in a round of alternate focus sampling, specifically:
[0084] Using the optimal focal length f of the front part fp Focus sampling is performed, and the image obtained by sampling each channel in the front part is a clear image A fp , the image obtained by sampling each channel in the latter part is the blurred image C fp ;
[0085] Using the optimal focal length f of the rear part rp Focus sampling is performed, and the image obtained by sampling each channel in the front part is a blurred image C rp , the image obtained by sampling each channel in the latter part is the clear image A rp ;
[0086] For each band, the optimal focal length f in the front part fp and the optimal focal length f of the rear part rp In a round of alternating focus sampling, a clear image A and a blurred image C of each channel are obtained, where the clear image A and the blurred image C of each channel in the front part are the clear image A fp and blurred image C rp , the clear image and blurred image of each channel in the latter part are the clear image A rp and blurred image C fp .
[0087] Since the single acquisition time of the two-dimensional hyperspectral imaging device is about one minute, it can be approximately considered that the spatial distribution of light intensity is approximately unchanged during the two acquisitions. The spatial distribution of the clear image A can be approximately replaced by the spatial distribution of the blurred image C, and C provides the light intensity information (concentration information) of each channel. The clear image can be used to perform chromatic aberration correction on the blurred image for each channel in turn, specifically including:
[0088] Calculate the weight matrix W according to the light intensity of the clear image of each channel j :
[0089]
[0090] Among them, A x,y,j Represents the light intensity information at position (x, y) in the clear image of the jth channel, A x,s,j represents the light intensity information at position (x, s) in the clear image of the jth channel, M×N represents the size of the cleaned image, and W x,y,j Represents the weight matrix W j The weight value at position (x, y) in the middle;
[0091] According to the weight matrix W j Perform chromatic aberration correction on the blurred image to obtain the corrected image S j :
[0092]
[0093] Among them, S x,y,j Represents the rectified image S j The light intensity information at the position (x, y), C x,s,j Represents the light intensity information at position (x, s) in the blurred image of the jth channel, and the symbol · represents the dot product.
[0094] This alternating chromatic aberration correction method can improve the inversion quality when only one optimal focal length is used for acquisition, such as Figure 2 As shown in the figure, for a certain channel, before correction Figure 2 As shown on the left side of the figure, the image quality is not high. After the above alternating chromatic aberration correction, the following is obtained: Figure 2 The corrected image shown on the right side of the figure shows that the image quality has been greatly improved. When the inversion band covers the entire scanning band of the instrument, such as Figure 3 As shown, the inversion quality is improved by about 18% (with the fitting root mean square residual as the evaluation standard).
[0095] The specific implementation methods described above provide a detailed description of the technical solutions and beneficial effects of the present invention. It should be understood that the above is only the most preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, supplements and equivalent substitutions made within the scope of the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for optimizing focusing and alternating chromatic aberration correction applied to a two-dimensional hyperspectral imaging device, characterized in that: The following steps are involved: Determine the band range corresponding to the target observation component, and obtain the hyperspectral images of each channel of each discontinuous band within the band range collected by the two-dimensional hyperspectral imaging device; The Laplace operator is used to perform convolution calculation on the hyperspectral image, and the standard deviation of the convolved image matrix is calculated as the clarity of each channel. The clarity of each band is calculated according to the overlap of the bands and the clarity of each channel, and the total clarity of a single observation is obtained based on the clarity of each band. The focal length of the two-dimensional hyperspectral imaging device is continuously changed until the maximum total definition is obtained, and the focal length corresponding to the maximum total definition is taken as the optimal focal length; The two-dimensional hyperspectral imaging device performs a collection at the optimal focal length and obtains the channel corresponding to the maximum hyperspectral image clarity. All collection channels are divided into two parts, front and back, based on the reference channel, and the optimal focal lengths of the two parts are obtained. Alternate focus sampling is performed using the respective optimal focal lengths of the two parts to obtain a clear image and a blurred image of each channel in each band in a round of alternate focus sampling, and the clear image is used to perform chromatic aberration correction on the blurred image for each channel.
2. The method for optimizing focusing and alternating chromatic aberration correction applied to a two-dimensional hyperspectral imaging device according to claim 1, characterized in that: The Laplace operator is used to perform convolution calculation on the hyperspectral image, and the standard deviation of the convolved image matrix is calculated as the clarity of each channel, including: The Laplace operator is defined in the discrete domain as: Wherein, f(x,y) represents the light intensity information at the position (x,y) in the hyperspectral image; Using the Laplace operator Approximate second-order differential operations are performed on the hyperspectral images of each channel in each band, and the standard deviation of the image matrix after the operation is used to measure the clarity of each channel: Among them, M×N represents the size of the hyperspectral image, μ represents the average value of the image matrix after Laplace operation, Indicates F ij The square of F ij Indicates the clarity of the jth channel of the i-th discontinuous band.
3. The method for optimizing focusing and alternating chromatic aberration correction applied to a two-dimensional hyperspectral imaging device according to claim 1, characterized in that: Calculate the clarity of each band based on the overlap of the bands and the clarity of each channel, including: For discontinuous bands where the inversion component bands do not overlap, the resolution of these bands is: Among them, F i is the clarity of the i-th discontinuous band, m i Indicates the number of channels contained in the i-th discontinuous band, F ij Indicates the clarity of the jth channel of the i-th discontinuous band; For inversion component bands, there are overlapping discontinuous bands, and the clarity of these bands is: Among them, L represents the different overlapping modes of discontinuous bands, x l is the number of overlaps in the lth overlap mode, x l ≥1, It represents the sum of the clarity of the channels in the lth overlapping mode in the i-th discontinuous band.
4. The method for optimizing focusing and alternating chromatic aberration correction applied to a two-dimensional hyperspectral imaging device according to claim 1, characterized in that: The total clarity of a single observation is obtained based on the clarity of each band, including: Among them, F i is the clarity of the i-th discontinuous band, n is the total number of discontinuous bands, and F is the total clarity of a single observation.
5. The method for optimizing focusing and alternating chromatic aberration correction applied to a two-dimensional hyperspectral imaging device according to claim 1, characterized in that: The two-dimensional hyperspectral imaging device collects data once at the optimal focal length and obtains the channel corresponding to the maximum hyperspectral image clarity as the reference channel, including: The two-dimensional hyperspectral imaging device performs a collection at the optimal focal length, and the obtained reference channel is the channel close to the central channel and with the highest hyperspectral image clarity.
6. The method for optimizing focusing and alternating chromatic aberration correction applied to a two-dimensional hyperspectral imaging device according to claim 1, characterized in that: Get the optimal focal length for each part, including: The Laplace operator is used to perform convolution calculation on the hyperspectral images corresponding to all channels of each part, and the standard deviation of the convolved image matrix is calculated as the clarity of each channel. The clarity of each band is calculated according to the overlap of the bands and the clarity of all channels of each part, and the total clarity of each part is obtained according to the clarity of each band contained in each part. The focal length of the two-dimensional hyperspectral imaging device is continuously changed until the maximum total clarity of each part is obtained, and the focal length corresponding to the maximum total clarity of each part is taken as the optimal focal length of each part.
7. The method for optimizing focusing and alternating chromatic aberration correction applied to a two-dimensional hyperspectral imaging device according to claim 1, characterized in that: By using the optimal focal lengths of the two parts for alternate focusing sampling, a clear image and a blurred image of each channel in each band in a round of alternate focusing sampling are obtained, including: The optimal focal length of the front part is used for focus sampling. The image obtained by sampling each channel of the front part is a clear image, and the image obtained by sampling each channel of the rear part is a blurred image. The optimal focal length of the rear part is used for focus sampling. The image obtained by sampling each channel of the front part is a simulated image, and the image obtained by sampling each channel of the rear part is a clear image. For each band, a round of alternating focus sampling is performed at the optimal focal length of the front part and the optimal focal length of the rear part to obtain a clear image and a blurred image of each channel.
8. The method for optimizing focusing and alternating chromatic aberration correction applied to a two-dimensional hyperspectral imaging device according to claim 1, characterized in that: For each channel, the blurry image is corrected using the clear image, including: Calculate the weight matrix W according to the light intensity of the clear image of each channel j : Among them, A x,y,j Represents the light intensity information at position (x, y) in the clear image of the jth channel, A x,s,j represents the light intensity information at position (x, s) in the clear image of the jth channel, M×N represents the size of the clear image, and W x,y,j Represents the weight matrix W j The weight value at position (x, y) in the middle; According to the weight matrix W j Perform chromatic aberration correction on the blurred image to obtain the corrected image S j : Among them, S x,y,j Represents the rectified image S j The light intensity information at the position (x, y), C x,s,j Represents the light intensity information at position (x, s) in the blurred image of the jth channel, and the symbol · represents the dot product.
Citation Information
Patent Citations
Multi-spectral optical field imaging system and multi-spectral optical field imaging method based on color difference expansion principle
CN107421640A
A multispectral image inversion method based on a residual error learning convolutional neural network
CN109671031A