Analysis of Stray Light and Enhancement of SNR in DMD-Based Spectrometers

Due to advantages such as the high efficiency of light utilization, small volume, and vibration resistance, digital micro-mirror device (DMD)-based spectrometers are widely used in ocean investigations, mountain surveys, and other field science research. In order to eliminate the stray light caused by DMDs, the stray light in DMD-based spectrometers was first measured and analyzed. Then, the stray light was classified into wavelength-related components and wavelength-unrelated components. Moreover, the noise caused by the stray light was analyzed from the perspective of encoding equation, and the de-noising decoding equation was deduced. The results showed that the accuracy range of absorbance was enhanced from [0, 1.9] to [0, 3.1] in single-stripe mode and the accuracy range of absorbance was enhanced from [0, 3.8] to [0, 6.3] in Hadamard transform (HT) multiple-stripe mode. A conclusion can be drawn that the de-noising strategy is feasible and effective for enhancing the SNR in DMD-based spectrometers.


The Background of the Enhancement of SNR in DMD-Based Spectrometers
As novel digital transform spectrometers, the digital micro-mirror device (DMD)based Hadamard transform (HT) spectrometers have been widely used in ocean investigation and other field science studies because of advantages such as the high efficiency of light utilization, the resistance to vibration, and the small volume [1][2][3][4][5]. However, stray light caused by the micro-mirrors lowered the signal-to-noise ratio (SNR) of the spectrometer [6,7]. Consequently, strategies for eliminating the stray light in DMD-based spectrometers have attracted more and more attention [8,9]. Carrying out a series of measurement with stray light, Kenneth D. et al. quantitatively analyzed the impact of stray light on SNR in DMD-based spectrometers. This study laid the foundation for eliminating stray light and enhancing the SNR in DMD-based spectrometers [10][11][12]. Wang X. et al. measured the diffraction of light in optical systems and enhanced the SNR in DMD-based spectrometers by optimizing the optical system of spectrometer [13][14][15]. Zhang Zhihai et al. enhanced the SNR in DMD-based spectrometers by changing the Hadamard transform order [16,17]. Rasmussen et al. introduced an absorption pool to reduce the stray light caused by the "off" state micro-mirrors, but the stray light and background light beyond the absorption pool still existed [18,19]. Quan X. et al. presented a new system of compound parabolic concentrator to suppress the stray light of micro-mirrors beyond the acceptance angle. However, stray light still existed within the acceptance angle [20,21].

Our Work
In this paper, based on the measurement and analysis of the stray light, the stray light was classified into the variable stray light related to the wavelength and the intrinsic stray light unrelated to the wavelength. Moreover, the impact of stray light on the encoding equation was analyzed and the decoding equation of eliminating stray light was deduced. Finally, the absorbance was corrected both in single-stripe mode and HT multiple-stripe mode. The results showed that the accurate range of absorbance was enhanced from [0, 1.9] to [0, 3.1] in the single-stripe mode, and the accurate range of corrected absorbance was enhanced from [0, 3.8] to [0, 6.3] in the HT multiple-stripe mode.

The Analysis and Classification of Stray Light in DMD-Based Spectrometers
The stray light in DMD-based spectrometers is mainly divided into the diffraction of DMD, the reflection light of micro-mirrors on "off" state, the reflection light caused by mechanical structure, the background light, and so on. The prototype of DMD-based spectrometer is shown in Figure 1. The polychromatic light from fiber is collimated by the collimating lens. Collimated light is split by the grating and focused onto the DMD by the imaging lens. After encoding with the DMD according to the modulation mode, the different spectrum components are concentrated onto the single detector by the converging lens. Eventually, the spectra are decoded by the computer. DMD consist of 1024 × 768 micro-mirrors with a pixel size of 13.68 µm × 13.68 µm and tilt angle of ±12 • mounted on a 14.68 µm × 14.68 µm pitch. The dimension of grating is 12.8 mm × 6.4 mm with a groove density of 300 lines/mm. The light source is a nearinfrared lamp with the spectrum range covering from 1.35 to 2.45 µm; then, the light is passed through the fiber with a numerical aperture of 0.2. The light source power is 12 W. The detector is an InGaAs detector with area of 2 mm 2 . The size of the spectrometer is 150 × 150 × 120 mm 3 . The stray light I off (when all the micro-mirrors are in the "off" state) and the signal light I on (when all the micro-mirrors are in the "on" state) were measured by inserting the filters in the sampling pool. Moreover, by changing the light source intensity, the relationships between stray light I off with signal light I on were derived.

Our Work
In this paper, based on the measurement and analysis of the stray light, the stray light was classified into the variable stray light related to the wavelength and the intrinsic stray light unrelated to the wavelength. Moreover, the impact of stray light on the encoding equation was analyzed and the decoding equation of eliminating stray light was deduced. Finally, the absorbance was corrected both in single-stripe mode and HT multiple-stripe mode. The results showed that the accurate range of absorbance was enhanced from [0, 1.9] to [0, 3.1] in the single-stripe mode, and the accurate range of corrected absorbance was enhanced from [0, 3.8] to [0, 6.3] in the HT multiple-stripe mode.

The Analysis and Classification of Stray Light in DMD-Based Spectrometers
The stray light in DMD-based spectrometers is mainly divided into the diffraction of DMD, the reflection light of micro-mirrors on "off" state, the reflection light caused by mechanical structure, the background light, and so on. The prototype of DMD-based spectrometer is shown in Figure 1. The polychromatic light from fiber is collimated by the collimating lens. Collimated light is split by the grating and focused onto the DMD by the imaging lens. After encoding with the DMD according to the modulation mode, the different spectrum components are concentrated onto the single detector by the converging lens. Eventually, the spectra are decoded by the computer. DMD consist of 1024 × 768 micro-mirrors with a pixel size of 13.68 μm × 13.68 μm and tilt angle of ±12° mounted on a 14.68 μm × 14.68 μm pitch. The dimension of grating is 12.8 mm × 6.4 mm with a groove density of 300 lines/mm. The light source is a near-infrared lamp with the spectrum range covering from 1.35 to 2.45 μm; then, the light is passed through the fiber with a numerical aperture of 0.2. The light source power is 12 W. The detector is an In-GaAs detector with area of 2 mm 2 . The size of the spectrometer is 150 × 150 × 120 mm 3 . The stray light off I (when all the micro-mirrors are in the "off" state) and the signal light on I (when all the micro-mirrors are in the "on" state) were measured by inserting the filters in the sampling pool. Moreover, by changing the light source intensity, the relationships between stray light off I with signal light on I were derived.  The prototype of stray light measurement in a DMD-based spectrometer: the light from the light source passes through the collimating lens, grating, imaging lens, DMD, and converging lens to the detector. When all the micro-mirrors are in the "on" state and "off" state, the detected light signals I on and I off can be derived, respectively.
The relationships of I on and I off at wavelengths of 1.44 µm, 1.72 µm, 1.92 µm, 2.10 µm, and 2.29 µm were measured, as shown in Figure 2. The relationships of on I and off I at wavelengths of 1.44 μm, 1.72 μm, 1.92 μm, 2.10 μm, and 2.29 μm were measured, as shown in Figure 2. According to the ratio of variable stray light to signal light at the sampling wavelength, the fitting curve of the variable stray light ratio is shown in Figure 3. As shown in Figure 2, with the change in light source intensity, the relationship between I off_i and I on_i is linear. Here, i represents the serial number at different wavelengths. The relationship between I off_i and I on_i is fitted with a linear function, as shown in Equation (1).
where δ i is the gradient of the fitted linear function which corresponds to the variable stray light related to the wavelength. ε i is the intercept of the fitted linear function at different wavelengths, which corresponds to the intrinsic stray light unrelated to the wavelength. The fitted linear function is written in the form of a matrix as Equation (2): where I off = [I off_1 I off_2 · · · I off_n ] T is the stray light matrix composed of I off_i , I on = [I on_1 I on_2 · · · I on_n ] T is the signal light matrix composed of I on_i , δ = [δ 1 δ 2 · · · δ n ] T is the matrix composed of the ratio coefficients of variable stray light to signal light, and ε = [ε 1 ε 2 · · · ε n ] T is the matrix composed of intrinsic stray light. According to the ratio of variable stray light to signal light at the sampling wavelength, the fitting curve of the variable stray light ratio is shown in Figure 3.
Corresponding to the code equation, the ratio of the variable stray light to signal light at the entire spectrum band is extended as Equation (3) in the matrix form: where N represents the time of measurement which corresponds to the sampling wavelength. The intrinsic stray light matrix is shown in Equation (4): where ε is the average value of the measured intrinsic stray light. Additionally, the longitudinal coordinate shows the ratio of variable stray light to signal light, which is represented by "δ" in this paper.
Corresponding to the code equation, the ratio of the variable stray light to signal light at the entire spectrum band is extended as Equation (3) in the matrix form: where N represents the time of measurement which corresponds to the sampling wavelength. The intrinsic stray light matrix is shown in Equation (4): where ε is the average value of the measured intrinsic stray light.

The Impact of Stray Light on the Encoding Equation and Decoding Equation
There are two common coding modes: single-stripe mode and Hadamard multiple-stripe mode; the single-stripe mode has the advantages of simplicity and the Hadamard multiple-stripe mode has advantage of a high SNR. HT spectrometers boost the SNR according to specific encoding patterns. The H-matrix, the S-matrix, and the com- where N is the Hadamard order. In this paper, we adopted the S-matrix in the Hadamard transform coding mode.

The Impact of Stray Light in Single-Stripe Mode
There are two types of spectrum acquisition modes in DMD-based spectrometers: single-stripe mode and multiple-stripe mode. The single-stripe coding process is shown in Figure 4. Additionally, the longitudinal coordinate shows the ratio of variable stray light to signal light, which is represented by "δ" in this paper.

The Impact of Stray Light on the Encoding Equation and Decoding Equation
There are two common coding modes: single-stripe mode and Hadamard multiplestripe mode; the single-stripe mode has the advantages of simplicity and the Hadamard multiple-stripe mode has advantage of a high SNR. HT spectrometers boost the SNR according to specific encoding patterns. The H-matrix, the S-matrix, and the complementary S-matrix boost the SNR by factors of 2 , respectively, where N is the Hadamard order. In this paper, we adopted the S-matrix in the Hadamard transform coding mode.

The Impact of Stray Light in Single-Stripe Mode
There are two types of spectrum acquisition modes in DMD-based spectrometers: single-stripe mode and multiple-stripe mode. The single-stripe coding process is shown in Figure 4.  . The sketch map of the single-stripe mode: in the single-stripe mode, only one column of micro-mirrors is turned on, corresponding to the single encoding matrix. The first detected light signal is reflected by mask1. Accordingly, the second detected light signal is reflected by mask2, and so on. After the last detected signal is detected with the reflection of maskN, the spectra can be derived.
Ideally, the single-stripe scanning process is expressed in a matrix, such as in Equation (5): The encoding matrix is a unit matrix. The number of matrix columns . The sketch map of the single-stripe mode: in the single-stripe mode, only one column of micro-mirrors is turned on, corresponding to the single encoding matrix. The first detected light signal is reflected by mask 1 . Accordingly, the second detected light signal is reflected by mask 2 , and so on. After the last detected signal is detected with the reflection of mask N , the spectra can be derived.
Ideally, the single-stripe scanning process is expressed in a matrix, such as in Equation (5): where E 1 -E N is the spectral intensity unfolded on the DMD. I 1 -I N is the detected light intensity. The encoding matrix is a unit matrix. The number of matrix columns represents the time of the measurements, and the number of matrix rows represents the value of the measured wavelength. The element "1" in the matrix indicates that the micro-mirror is in the "on" state. The element "0" in the matrix indicates that the micro-mirror is in the "off" state. The encoding matrix could be described as Equation (6) in a simplified form: where I is the detected light intensity matrix, E is the spectral intensity matrix, and U is the N-order unit matrix for coding. However, due to the existence of stray light, the element "0" in the encoding matrix may be greater than 0. Based on the variable stray light ratio matrix (3), the spectral encoding matrix with variable stray light is shown as Equation (7).
The equation could be expressed in a simplified form as Equation (8).
where I δ is the detected light intensity matrix with variable stray light, and O is the N-order square matrix with all elements as "1". Based on the intrinsic stray light in DMD-based spectrometers, the encoding equation is modified to Equation (9).
The equation could be expressed in a simplified form as Equation (10): where I δ+ε is the detected light intensity matrix with two types of stray light. The decoded spectral intensity matrix could be derived as Equation (11): where E δ+ε is the spectral intensity matrix with two types of stray light. The spectral intensity matrix eliminating two types of stray light can be expressed as Equation (12): To simplify the calculation, we substituted E ≈ E δ+ε into Equation (12). Then, the decoding matrix could be derived as Equation (13):

The Impact of Stray Light in Hadamard Multiple-Stripe Mode
The Hadamard coding process of DMD-based spectrometers is shown in Figure 5. decoding matrix could be derived as Equation (13):

The Impact of Stray Light in Hadamard Multiple-Stripe Mode
The Hadamard coding process of DMD-based spectrometers is shown in Figure 5. Figure 5. The sketch map of Hadamard multiple-stripe mode: in Hadamard multiple-stripe mode, multiple columns of micro-mirrors are turned on, corresponding to the Hadamard encoding matrix. The first detected light signal is reflected by mask1. Accordingly, the second detected light signal is reflected by mask2, and so on. After the last detected signal is detected with the reflecting of maskN, the raw data of the spectrum are acquired. By decoding with the computer, the spectra can be derived.
Corresponding to the single-stripe mode, the encoding matrix is changed from U to H . Accordingly, the encoding matrix with two types of stray light is shown as Equation (14): where H is the Hadamard encoding matrix. The decoding matrix eliminating two types of stray light is shown as Equation (15): Figure 5. The sketch map of Hadamard multiple-stripe mode: in Hadamard multiple-stripe mode, multiple columns of micro-mirrors are turned on, corresponding to the Hadamard encoding matrix. The first detected light signal is reflected by mask 1 . Accordingly, the second detected light signal is reflected by mask 2 , and so on. After the last detected signal is detected with the reflecting of mask N , the raw data of the spectrum are acquired. By decoding with the computer, the spectra can be derived.
Corresponding to the single-stripe mode, the encoding matrix is changed from U to H. Accordingly, the encoding matrix with two types of stray light is shown as Equation (14): where H is the Hadamard encoding matrix. The decoding matrix eliminating two types of stray light is shown as Equation (15): Then, the decoding matrix eliminating two types of stray light can be shown as Equation (16): To simplify the calculation, we substituted E ≈ E δ+ε into (16); then, the decoding matrix was derived as Equation (17):

Experiments and Methods
To certify the efficiency of our SNR enhancement strategy in DMD-based spectrometers, we carried out a series of experiments and simulations. The process and method are shown as follows: • Firstly, we assumed that the light source spectrum was the constant of "1", whereas the ideal absorption spectrum was a normal curve. With this assumption, we could obtain the referential spectrum and absorbance. • Secondly, the Hadamard transform order was set to 255 during the data processing. Based on the stray light detected in the experiment (as shown in Figure 2), the spectrum with the noise of stray light was calculated and the absorbance with the noise could be derived in both single-stripe mode and Hadamard multiple-stripe mode. Consequently, we could obtain the raw spectrum and absorbance data with the noise. By contrasting the raw spectrum and absorbance with the referential spectrum and absorbance, the effect of the noise could be calculated quantitatively. We defined that the accuracy of absorbance was less than 0.1, then the accuracy range could be derived.

•
Thirdly, based on the decoding matrix of eliminating the two types of stray light, the spectrum and absorbance of eliminating the stray light noise were derived. By contrasting the corrected spectrum and absorbance with the referential spectrum and absorbance, the accuracy range could be derived both in the single-stripe mode and the Hadamard multiple-stripe mode, respectively. • Finally, by contrasting the accuracy range of absorbance between raw absorbance with corrected absorbance, the efficiency of this strategy was certified. Figure 6 shows the impact of stray light on the spectrum in the single-stripe mode. The light source spectrum was assumed to have a constant value of "1", while the ideal absorption spectrum was a normal curve (a in Figure 6). Then, the spectrum with wavelengthrelated stray light is shown as curve b (in Figure 6) and the spectrum with two kinds of stray light is shown as curve c (in Figure 6). The calculation of the absorbance is shown as Equation (18):

Single-Stripe Mode
AU lg(1/ ) T = (18) where T is the transmittance of the spectrum. The absorbance under different circumstances is shown in Figure 7. The ideal absorbance is shown as a (in Figure 7). The absorbance with wavelength-related stray light is shown as b (in Figure 7). The absorbance with two kinds of stray light is shown as c (in Figure 7). Assuming that the deviation between the calculated absorbance and the standard absorbance was defined to be less than 0.1, it could be derived that the accurate range was [0, 1.9]. Figure 7. Result of stray light on the absorption spectrum in single-stripe mode: the horizontal ordinate shows the wavelength with units of micrometers. The longitudinal coordinate shows absorbance, which is represented by "AU" in this paper. Curve a shows the ideal absorbance, curve b Figure 6. Impact of stray light on the spectrum in single-stripe mode: the horizontal ordinate shows the wavelength with units of micrometers. Additionally, the longitudinal coordinate shows the spectrometric intensity. Curve a shows the ideal spectrum, curve b shows the spectrum with the noise of variable stray light, and curve c shows the spectrum with the noise of two types of stray light, including variable stray light and intrinsic stray light.
The calculation of the absorbance is shown as Equation (18): where T is the transmittance of the spectrum. The absorbance under different circumstances is shown in Figure 7. The ideal absorbance is shown as a (in Figure 7). The absorbance with wavelength-related stray light is shown as b (in Figure 7). The absorbance with two kinds of stray light is shown as c (in Figure 7). Assuming that the deviation between the calculated absorbance and the standard absorbance was defined to be less than 0.1, it could be derived that the accurate range was [0, 1.9]. Based on Equation (13), the corrected spectrum is derived as shown in Figure 8. Additionally, the corrected absorbance is shown as c (in Figure 8). The ideal absorbance is shown as a (in Figure 8). The absorbance with two kinds of stray light is shown as b (in Figure 8). The results showed that the accuracy range was enhanced to [0, 3.1].
where T is the transmittance of the spectrum. The absorbance under different circumstances is shown in Figure 7. The ideal absorbance is shown as a (in Figure 7). The absorbance with wavelength-related stray light is shown as b (in Figure 7). The absorbance with two kinds of stray light is shown as c (in Figure 7). Assuming that the deviation between the calculated absorbance and the standard absorbance was defined to be less than 0.1, it could be derived that the accurate range was [0, 1.9].

Figure 7.
Result of stray light on the absorption spectrum in single-stripe mode: the horizontal ordinate shows the wavelength with units of micrometers. The longitudinal coordinate shows absorbance, which is represented by "AU" in this paper. Curve a shows the ideal absorbance, curve b shows the absorbance with the noise of variable stray light, and curve c shows the absorbance with the noise of two types of stray light, including variable stray light and intrinsic stray light.
Based on Equation (13), the corrected spectrum is derived as shown in Figure 8. Additionally, the corrected absorbance is shown as c (in Figure 8). The ideal absorbance is shown as a (in Figure 8). The absorbance with two kinds of stray light is shown as b (in Figure 8). The results showed that the accuracy range was enhanced to [0, 3.1].  Figure 9 shows the impact of stray light on the spectrum in the Hadamard mode. The ideal absorption spectrum is a normal curve as a (in Figure 9). The spectrum with wavelength-related stray light is shown as curve b (in Figure 9). The spectrum with two kinds of stray light is shown as curve c (in Figure 9). Figure 8. Results of absorbance correction in single-stripe mode: the horizontal ordinate shows the wavelength with units of micrometers. The longitudinal coordinate shows absorbance, which was represented by "AU" in this paper. Curve a shows the ideal absorbance, curve b shows the absorbance with the noise of two types of stray light, including variable stray light and intrinsic stray light, and curve c shows the corrected absorbance. Figure 9 shows the impact of stray light on the spectrum in the Hadamard mode. The ideal absorption spectrum is a normal curve as a (in Figure 9). The spectrum with wavelength-related stray light is shown as curve b (in Figure 9). The spectrum with two kinds of stray light is shown as curve c (in Figure 9). light, and curve c shows the corrected absorbance. Figure 9 shows the impact of stray light on the spectrum in the Hadamard mode. The ideal absorption spectrum is a normal curve as a (in Figure 9). The spectrum with wavelength-related stray light is shown as curve b (in Figure 9). The spectrum with two kinds of stray light is shown as curve c (in Figure 9). The absorbance values in different scenarios are shown in Figure 10. The ideal absorbance is shown as a. The absorbance with wavelength-related stray light is shown as b. The absorbance with two kinds of stray light is shown as c. It could be derived that the accurate range was [0, 3.8]. The absorbance values in different scenarios are shown in Figure 10. The ideal absorbance is shown as a. The absorbance with wavelength-related stray light is shown as b. The absorbance with two kinds of stray light is shown as c. It could be derived that the accurate range was [0, 3.8].

The Hadamard Multiple-Stripe Mode
Sensors 2022, 22, x FOR PEER REVIEW 10 of 12 Figure 10. Result of stray light on the absorbance in Hadamard multiple-stripe mode: the horizontal ordinate shows the wavelength with units of micrometers. The longitudinal coordinate shows absorbance, which was represented by "AU" in this paper. Curve a shows the ideal absorbance, curve b shows the absorbance with the noise of variable stray light, and curve c shows the absorbance with the noise of two types of stray light, including variable stray light and intrinsic stray light.
The correction of absorbance in Hadamard mode is shown in Figure 11. Curve a is the standard absorbance. Curve b is the absorbance with stray light. Compared with the single-stripe acquisition mode, the range of absorbance accuracy in Hadamard acquisition mode is [0, 3.8]. Based on the decoding matrix in Equation (17), the corrected absorbance could be calculated as curve c. The range of absorbance accuracy was enhanced from [0, 3.8] to [0, 6.3]. Figure 10. Result of stray light on the absorbance in Hadamard multiple-stripe mode: the horizontal ordinate shows the wavelength with units of micrometers. The longitudinal coordinate shows absorbance, which was represented by "AU" in this paper. Curve a shows the ideal absorbance, curve b shows the absorbance with the noise of variable stray light, and curve c shows the absorbance with the noise of two types of stray light, including variable stray light and intrinsic stray light.
The correction of absorbance in Hadamard mode is shown in Figure 11. Curve a is the standard absorbance. Curve b is the absorbance with stray light. Compared with the single-stripe acquisition mode, the range of absorbance accuracy in Hadamard acquisition mode is [0, 3.8]. Based on the decoding matrix in Equation (17), the corrected absorbance could be calculated as curve c. The range of absorbance accuracy was enhanced from [0, 3.8] to [0, 6.3].
The correction of absorbance in Hadamard mode is shown in Figure 11. Curve a is the standard absorbance. Curve b is the absorbance with stray light. Compared with the single-stripe acquisition mode, the range of absorbance accuracy in Hadamard acquisition mode is [0, 3.8]. Based on the decoding matrix in Equation (17), the corrected absorbance could be calculated as curve c. The range of absorbance accuracy was enhanced from [0, 3.8] to [0, 6.3]. Figure 11. Results of absorbance correction in Hadamard mode: the horizontal ordinate shows the wavelength with units of micrometers. The longitudinal coordinate shows the absorbance, which was represented by "AU" in this paper. Curve a shows the ideal absorbance, curve b shows the absorbance with the noise of two types of stray light, including variable stray light and intrinsic stray light, and curve c shows the corrected absorbance.

Conclusions
The aim of this study was to eliminate the stray light in DMD-based spectrometers. Based on experiments measuring stray light, it was classified into two types, including variable stray light related to the wavelength, and the intrinsic stray light unrelated to the wavelength. Then, the impacts of stray light on spectrum were analyzed from the perspective of the encoding equation, and the decoding equation of eliminating stray light was derived. Finally, the spectrum absorbance accurate range was enhanced from [0, 1.9] Figure 11. Results of absorbance correction in Hadamard mode: the horizontal ordinate shows the wavelength with units of micrometers. The longitudinal coordinate shows the absorbance, which was represented by "AU" in this paper. Curve a shows the ideal absorbance, curve b shows the absorbance with the noise of two types of stray light, including variable stray light and intrinsic stray light, and curve c shows the corrected absorbance.

Conclusions
The aim of this study was to eliminate the stray light in DMD-based spectrometers. Based on experiments measuring stray light, it was classified into two types, including variable stray light related to the wavelength, and the intrinsic stray light unrelated to the wavelength. Then, the impacts of stray light on spectrum were analyzed from the perspective of the encoding equation, and the decoding equation of eliminating stray light was derived. Finally, the spectrum absorbance accurate range was enhanced from [0, 1.9] to [0, 3.1] in the single-stripe mode, and the spectrum absorbance accuracy range was enhanced from [0, 3.8] to [0, 6.3] in the Hadamard multiple-stripe mode. A conclusion can be drawn that the denoising strategy is feasible and effective for enhancing the SNR in DMD-based spectrometers.
Author Contributions: Conceptualization, X.C. and X.Q.; methodology, X.C. and X.Q.; analysis, X.C.; manuscript writing, X.C. All authors have read and agreed to the published version of the manuscript.

Data Availability Statement:
The data presented in this study are available from the corresponding author upon request.