Imaging system and method capable of removing local high reflection
By using beam splitters, lens groups, DMD spatial light modulators and residual neural networks in the surface defect detection system of the object to be imaged, adaptive light flux modulation in highly reflective areas is achieved, which solves the problem of the long and long removal time of highly reflective areas in traditional systems. The problem of low detection accuracy is improved by improving the accuracy and efficiency of defect detection.
Patent Information
- Application Number
- CN202410568198.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-09
- Publication Date
- 2024-09-17
AI Technical Summary
Traditional surface defect detection systems for objects to be imaged take a long time to remove highly reflective surfaces and are difficult to apply to automated defect detection processes, resulting in low detection accuracy.
An imaging system composed of a beam splitter, multiple lens groups, a DMD spatial light modulator, a detector and a server is used to optimize the pixel-by-pixel mapping relationship between the detector and the DMD spatial light modulator by constructing a residual neural network model to determine And reduce the light flux in highly reflective areas to achieve adaptive pixel-by-pixel removal of high reflections.
It improves the accuracy of defect detection on highly reflective surfaces in automated production lines, solves the problem of reduced defect detection accuracy caused by high reflection in traditional systems, and shortens the removal time of highly reflective surfaces.
Smart Images

Figure CN118655698A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of removing high reflection on the surface of an object to be imaged, and in particular to an imaging system and method capable of removing local high reflection. Background Art
[0002] Surface defects of the object to be imaged will have a negative impact on its performance. In order to effectively control product quality, surface defect detection of the object to be imaged is required. Especially for many industries such as electronics, automobiles, papermaking, roads and factory automation, surface defect detection of the object to be imaged is a crucial quality control link. In strict automated production, the smallest surface defect will also affect the appearance and performance of the finished product. A highly accurate and reliable surface inspection process ensures that the product is qualified and ready for delivery.
[0003] Traditional detection methods still rely on a large number of manual inspections with the naked eye, which not only affects work efficiency, but also directly affects the service life and performance of parts due to factors such as worker visual fatigue and personal judgment standards. Therefore, in order to improve the efficiency and accuracy of detection, many companies have introduced machine vision in recent years. This technology realizes the ultimate intelligent detection and control by extracting information from images and processing them. The defect detection environment of the imaged object depends on passive light sources, that is, a certain amount of lighting is required to capture the surface information of the imaged object. However, the surface materials of the imaged object are different, and the light reflectivity of different materials is quite different. For example, the reflectivity of the alloy surface is high, similar to mirror reflection. The reflectivity of other colloids, silicon substrates, etc. is less than or even much less than that of alloys. Therefore, in the same lighting environment, the alloy surface is prone to overexposure, and the captured image has local high reflection. The high reflection area will cause the information of the defect area to be lost, and finally cause the detection accuracy of the surface defects of the imaged object to be reduced. In order to solve the problem of high reflection, researchers proposed to use polarizers and DMD (Digital Micromirror Device) methods for exposure modulation. However, metal reflection and medium reflection change the polarization state of light differently. The conductivity of the medium (glass, water surface, etc.) is 0, so there will be no phase change during the reflection process. Only the reflection coefficients of different polarization components in the incident light are different, and the reflected light may become linearly polarized light. The conductivity of metal is greater than 0, which makes the refractive index complex, so the polarizer has little effect on the high reflection of the metal surface, which greatly limits its application. The DMD method can adjust the local overexposed area, but the traditional system design is not flexible enough, and the high reflection removal time is long, which makes it difficult to apply to the automated defect detection process.
[0004] Therefore, developing an efficient system and method for removing local high reflections on the surface of the chip to be imaged is of great significance to improving the accuracy of defect detection on the chip to be imaged. At present, the mainstream methods for improving defect detection of objects to be imaged mainly focus on algorithm improvement, while there is little research on removing local high reflections. Summary of the invention
[0005] The purpose of the present invention is to provide an imaging system and method that can remove local high reflections, so as to solve the problem that the traditional surface defect detection system for the imaged object takes a long time to remove high reflections, is difficult to apply to the automated defect detection process, and has low detection accuracy. The specific technical solution is as follows:
[0006] An imaging system capable of removing local high reflection, the system comprising a beam splitter and a plurality of lens groups sequentially arranged behind the beam splitter, a DMD spatial light modulator, a plurality of detectors, a plurality of data lines and a server, wherein a first lens group and a second lens group of the plurality of lens groups are arranged in a direction perpendicular to each other behind the beam splitter, a first detector is arranged behind the first lens group, and the first detector is connected to the server through a first data line;
[0007] The DMD spatial light modulator is arranged behind the second lens group, a third lens group is arranged behind the DMD spatial light modulator, a second detector is arranged behind the third lens group, the second detector is connected to the server through a second data line, and the DMD spatial light modulator is connected to the server through a third data line;
[0008] The server is used to build a residual neural network model and optimize the pixel-by-pixel mapping relationship between the detector and the DMD spatial light modulator, while determining whether there is a high-reflective area in the image and converting the high-reflective area information into modulation area information;
[0009] The DMD spatial light modulator is used to perform modulation according to information of a region to be modulated so as to reduce the light flux of the region to be pre-modulated.
[0010] The present invention also provides an imaging method capable of removing local high reflection, using the imaging system capable of removing local high reflection as claimed in claim 1, the method specifically comprising the following steps:
[0011] S1, splitting the surface reflected light beam of the object to be imaged under illumination conditions into a reflected light beam and a transmitted light beam through the beam splitter;
[0012] S2, imaging the reflected light beam through a first detector to obtain a first image, and imaging the transmitted light beam through a DMD air conditioning light modulator and a second detector to obtain a second image;
[0013] S3, establishing a first pixel-by-pixel mapping relationship between the first detector and the DMD air conditioning light modulator, and optimizing the mapping relationship to obtain an optimized first pixel-by-pixel mapping relationship;
[0014] S4. Determine whether there is a high-reflection area in the first image. If so, determine the high-reflection area in the first image, and convert the high-reflection area information into the corresponding information of the area to be modulated on the first detector according to the optimized first pixel-by-pixel mapping relationship. The DMD spatial light modulator modulates according to the information of the area to be modulated to reduce the luminous flux of the area to be modulated.
[0015] Furthermore, in step S3, the first pixel-by-pixel mapping relationship between the first detector and the DMD air-conditioning light modulator is indirectly established and optimized through the second detector as an intermediary.
[0016] Furthermore, the step S3 includes:
[0017] Constructing a first residual neural network model reflecting a second pixel-by-pixel mapping relationship between the first detector and the second detector, and optimizing the first residual neural network model by using the first image after the image operation as a network input to obtain an optimized second pixel-by-pixel mapping relationship;
[0018] Constructing a second residual neural network model reflecting a third pixel-by-pixel mapping relationship between the second detector and the DMD spatial light modulator, and optimizing the second residual neural network model by taking the second image of the image operation as a network input to obtain an optimized third pixel-by-pixel mapping relationship;
[0019] The optimized second pixel-by-pixel mapping relationship and the optimized third pixel-by-pixel mapping relationship are sequentially compounded to obtain an optimized first pixel-by-pixel mapping relationship.
[0020] Furthermore, the image operation includes rotating, translating and shifting the normal angle of the image.
[0021] Furthermore, the DMD spatial light modulator includes a two-dimensional array composed of multiple DMD micromirrors, and the DMD spatial light modulator at least partially turns off the DMD micromirrors in the area to be modulated according to information of the area to be modulated to reduce the light flux of the area to be modulated.
[0022] Furthermore, the DMD spatial light modulator includes a planar two-dimensional array composed of multiple DMD micromirrors. The DMD spatial light modulator turns off the DMD micromirrors alternately in the area to be modulated according to information of the area to be modulated so as to uniformly reduce the light flux of the area to be modulated.
[0023] Furthermore, the training optimization method of the first residual neural network model is: placing a checkerboard calibration plate in front of the beam splitter, with the DMD spatial light modulator in the fully open state, rotating, displacing, and tilting the checkerboard calibration plate to obtain two sets of image data sets D1' and D2', using data set D1' as network input, and data set D2' as learning labels, and continuously iterating learning to obtain the final first residual neural network model.
[0024] Furthermore, the training optimization method of the second residual neural network model is: inputting a plurality of randomly generated binary masks L into the DMD spatial light modulator and displaying them through the DMD spatial light modulator, using the corresponding DMD mask image I captured by the second detector as a data set for neural network input, using the plurality of binary masks L for learning labels, and inputting the image I into the neural network to obtain a predicted image I ’ , will I ’ The difference with the learned label L is back-propagated and iteratively calculated to obtain the final second residual neural network model.
[0025] The imaging system and method for removing local high reflection provided by the present invention have the following beneficial effects compared with the prior art:
[0026] 1. The present invention provides an imaging system and method capable of removing local high reflection, which adopts two chip light wave capture optical paths, one of which is used to judge and extract the high reflection area. After judging that there is a high light area, a mask matrix is generated and transmitted to the DMD spatial light modulator to realize adaptive pixel-by-pixel removal of high reflection on the surface of the imaged object. It can be used for defect detection of high reflection surfaces on automated production lines to improve the accuracy of defect detection.
[0027] 2. The present invention provides an imaging system and method capable of removing local high reflection. In order to overcome the problem that traditional images contain too dark or too bright areas that are difficult to modulate, a pixel mapping relationship between the detector and the DMD spatial light modulator is established. While ensuring that the brightness of other areas remains unchanged, only the high-reflection areas are modulated, thus solving the problem that the accuracy of defect detection is reduced due to the local overbrightness of the imaged object.
[0028] 3. The present invention provides an imaging system and method capable of removing local high reflection. In order to improve the high reflection removal speed of the system, a residual neural network is adopted. At the same time, through indirect learning, the same network model is used to establish pixel mapping models of detector 1 and detector 2, and detector 2 and DMD spatial light modulator, and finally the pixel mapping model of detector 1 and DMD spatial light modulator is obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 It is a schematic diagram of a framework of an imaging system capable of removing local high reflection provided by the present invention;
[0030] Figure 2 It is a schematic diagram of establishing a pixel mapping model in an imaging system capable of removing local high reflection provided by the present invention;
[0031] Figure 3 It is a schematic diagram of a pixel-by-pixel mapping model based on a residual network in an imaging system capable of removing local high reflection provided by the present invention.
[0032] Figure 4 The present invention is a schematic flow chart of an imaging method capable of removing local high reflection. DETAILED DESCRIPTION
[0033] The following will be combined with the accompanying drawings provided by the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. According to the following description, the advantages and features of the present invention will be more clear. It should be noted that the accompanying drawings are all in a very simplified form and are not in precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.
[0034] In the description of the present invention, unless otherwise clearly stipulated and limited, the terms "connection" and "connected" should be interpreted in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0035] In the description of the present invention, terms such as "up", "down", "left", "right", "front", "back", "center", "horizontal", "vertical", "top", "bottom", "inside" and "outside" and other orientations or positional relationships are based on the orientations or positional relationships shown in the accompanying drawings and are only for the convenience of description and simplification of operation, rather than indicating or implying that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0036] Embodiment 1: This embodiment provides an imaging system capable of removing local high reflection. Figure 1As shown, the system includes a beam splitter, and a first lens group, a second lens group, a third lens group, a DMD spatial light modulator, a first detector, a second detector, a first data line, a second data line, a third data line and a server are sequentially arranged after the beam splitter. The first lens group and the second lens group are arranged in a direction perpendicular to each other after the beam splitter, and a first detector is arranged after the first lens group, and the first detector is connected to the server through a first data line. A DMD spatial light modulator is arranged after the second lens group, a third lens group is arranged after the DMD spatial light modulator, and a second detector is arranged after the third lens group, and the second detector is connected to the server through a second data line, and the DMD spatial light modulator is connected to the server through a third data line.
[0037] Among them, the lens group is an imaging lens composed of multiple groups of lenses, the detector has a bit depth of 8 bits, and the pixel intensity ranges from 0 to 255.
[0038] The working principle of the system provided in this embodiment is as follows: the object to be imaged is placed at the front end of the beam splitter, the surface of the object to be imaged reflects the light beam under lighting conditions, and the beam splitter divides the reflected light beam into two identical beams, one of which is reflected by the beam splitter, focused by the first lens group, and then passes through the first detector to form a first image of the surface of the object to be imaged, and the first image is transmitted to the server by the first data line; the other beam is transmitted through the beam splitter, focused by the second lens group, and then transmitted to the DMD spatial light modulator, reflected by the DMD spatial light modulator, focused by the third lens group, and then passes through the second detector to form a second image of the surface of the object to be imaged, and the second image is transmitted to the server by the second data line.
[0039] The server has a first residual neural network model of the first detector and the second detector obtained by training and optimization, and a second residual neural network model of the second detector and the DMD spatial light modulator. The pixel-by-pixel mapping relationship between the first detector and the DMD spatial light modulator is obtained through the first residual neural network model and the second residual neural network model. At the same time, it is determined whether there is a high-reflection area in the first image. If so, the high-reflection area is determined and a mask is generated in the high-reflection area. The first image after the mask is generated is converted into the corresponding information of the area to be modulated on the first detector according to the pixel-by-pixel mapping relationship. The information of the area to be modulated is transmitted to the DMD spatial light modulator through the third data line. The DMD spatial light modulator modulates according to the information of the area to be modulated to reduce the luminous flux of the area to be modulated, and finally the surface image of the object to be imaged formed by the DMD spatial light modulator and the second detector is a non-high-reflection image. The non-high-reflection image is transmitted to the server and can be used to continue subsequent detection.
[0040] Embodiment 2: This embodiment provides an imaging method capable of removing local high reflection, that is, using the above system to remove local high reflection on the surface of the object to be imaged, see Figure 2As shown, the removal method specifically comprises the following steps:
[0041] S1, splitting the surface reflected light beam of the object to be imaged under illumination conditions into a reflected light beam and a transmitted light beam through the beam splitter;
[0042] Specifically, the object to be imaged is placed at the front end of the beam splitter. The object to be imaged can reflect a light beam on its surface under ambient light conditions. The reflected light beam passes through the beam splitter and is split into two identical beams at a 1:1 ratio by the beam splitter, one being a reflected light beam and the other being a transmitted light beam. The two light beams are focused by the first lens group and the second lens group respectively.
[0043] S2, imaging the reflected light beam through a first detector to obtain a first image, and imaging the transmitted light beam through a DMD air conditioning light modulator and a second detector to obtain a second image;
[0044] Specifically, the focused light waves of the reflected light beam form a first image of the surface of the object to be imaged through the first detector, and the first image is transmitted to the server through the first data line; the focused light waves of the transmitted light beam are transmitted to the DMD spatial light modulator, and after being reflected by the DMD spatial light modulator, they form a second image of the surface of the object to be imaged through the second detector.
[0045] S3, establishing a first pixel-by-pixel mapping relationship between the first detector and the DMD air conditioning light modulator, and optimizing the mapping relationship to obtain an optimized first pixel-by-pixel mapping relationship;
[0046] Specifically, if the DMD spatial light modulator is to achieve pixel-by-pixel modulation, it is necessary to clarify the pixel-by-pixel mapping relationship between the first detector and the DMD spatial light modulator. However, as a light field modulation element, the DMD cannot form an image. Therefore, a pixel mapping model of the first detector and the DMD spatial light modulator is established indirectly, that is, first train and optimize the first residual neural network model w1 of the first detector and the second detector, and then train and optimize the second residual neural network model w2 of the second detector and the DMD spatial light modulator. The pixel mapping relationship between the first detector and the DMD spatial light modulator can be obtained through the first residual neural network model w1 and the second residual neural network model w2. The specific model construction process is as follows:
[0047] The residual neural network training is used to optimize the first residual neural network model w1 of the pixel mapping relationship between the first detector and the second detector. First, the checkerboard calibration plate is placed in front of the beam splitter, and the DMD spatial light modulator is in the fully open state. At this time, the function of the DMD spatial light modulator is similar to that of a reflector. The checkerboard images received by the first detector and the second detector are recorded as D1 and D2 respectively. Then, the checkerboard calibration plate is rotated, displaced back and forth, and tilted to obtain two groups of image data sets D1' and D2'. The data set images are divided into a test set and a training set according to the proportions of 20% and 80%. The training set D1' is used as the network input, and the training set D2' is used as the learning label. The final first residual neural network model w1 is obtained by continuous iterative learning.
[0048] The second residual neural network model w2 is optimized by using the residual neural network training to map the pixel relationship between the second detector and the DMD spatial light modulator, see Figure 2 As shown, firstly, a data set is obtained, and n randomly generated binary masks L are input into the DMD spatial light modulator and displayed through the DMD spatial light modulator. The second detector captures n DMD mask images I as a data set for neural network input. The corresponding n binary masks L are used to learn labels. The data set images are divided into a test set and a training set according to a ratio of 20% and 80%, and the image I in the training set is input into the neural network to obtain the predicted image I ’ , will I ’ The difference with the learned label L is back-propagated. The difference here is calculated using the loss function. The above process is iterated. When the loss function is lower than a certain threshold or the number of network training iterations reaches a certain threshold, the network training is terminated. The images in the test set are input into the trained neural network to test the accuracy, and the final second residual neural network model w2 is obtained.
[0049] The image of the first detector is first input into the first residual neural network model w1 for optimization, so as to obtain the optimized pixel-by-pixel mapping relationship between the first detector and the second detector. The image of the second detector is input into the second residual neural network model w2 for optimization, so as to obtain the optimized pixel-by-pixel mapping relationship between the second detector and the DMD spatial light modulator. The two pixel-by-pixel mapping relationships obtained above are compounded in sequence to obtain the pixel-by-pixel mapping relationship between the first detector and the DMD spatial light modulator.
[0050] See also Figure 3As shown, the above residual neural network combines a deep convolutional neural network with a residual network structure. The residual neural network includes multiple convolutional layers, and the image size remains unchanged after each convolutional layer. The residual neural network is used to perform multi-scale processing on the image details, and the perceptual loss function is used to obtain the mask image as input by the detector, compare it with the original mask image, back-propagate the error, and optimize the network parameters by gradient descent, so as to learn the mapping relationship between images. Specifically, during the training process, the detector inputs a mask or checkerboard with an image of w*h*1, w is the image width (pixel), h is the image length (pixel), and 1 indicates that the image is a single channel. In this embodiment, the first and fourth convolutional layers use a kernel of size 11×11, and each layer generates 64 feature maps. The second and fifth convolutional layers use a kernel of size 1×1, and each layer generates 32 feature maps. The third and last convolutional layers use a kernel of size 7×7 and generate a single feature map. The ResBlock structure is added to reduce the impact of gradient explosion and gradient disappearance, so that the original forward path becomes F(x)+x, and F(x)+x is used as the next input after passing through ReLU. In order to ensure that x and F(x) are the same size, a 1×1 convolution is performed on x on ResBlock, and the result is residually connected with the result of the 7×7 convolution kernel. In this embodiment, the residual network finally outputs w'*h'*1 after normalization. Generally, there is a certain difference in the pixel size of the DMD spatial light modulator and the detector, so the network output is inconsistent with the input image size. For this reason, in other embodiments, the network parameters need to be modified according to the actual size of the DMD spatial light modulator and the detector so that the output can match the image size of the DMD spatial light modulator.
[0051] S4. Determine whether there is a high-reflection area in the first image. If so, determine the high-reflection area in the first image, and convert the high-reflection area information into the corresponding information of the area to be modulated on the first detector according to the optimized first pixel-by-pixel mapping relationship. The DMD spatial light modulator modulates according to the information of the area to be modulated to reduce the luminous flux of the area to be modulated.
[0052] Specifically, it is determined whether the image on the surface of the object to be imaged transmitted through the first data line has a high-reflection area. In this embodiment, the pixel intensity parameter C1=200 is used as the basis for determining the high-reflection area. If the pixel intensities are all less than 200, the image on the surface of the object to be imaged does not have a high-reflection area. The image is converted into the corresponding information of the area to be modulated on the first detector according to the pixel-by-pixel mapping relationship between the optimized first detector and the DMD spatial light modulator. The information of the area to be modulated is transmitted to the DMD spatial light modulator. The DMD spatial light modulator performs modulation according to the information of the area to be adjusted. The DMD micromirror remains fully open, which is equivalent to a reflector. At this time, the light flux passing through should not be changed.
[0053] If the pixel intensity of a certain area is greater than or equal to 200, there is a high-reflection area in the image of the surface of the imaged object, and the area is marked as a high-reflection area. A mask is generated in the marked high-reflection area, and the image after the mask is generated is converted into the corresponding information of the area to be modulated on the first detector according to the pixel-by-pixel mapping relationship between the optimized first detector and the DMD spatial light modulator. The DMD spatial light modulator performs pixel-by-pixel high-reflection modulation according to the information of the area to be modulated, so that the DMD micromirror at the mask position is modulated to the off state, and other positions remain unchanged and are still fully open. At this time, the light flux in the modulation area can be reduced.
[0054] After the modulated light beam of the DMD spatial light modulator is focused by the third lens, the image formed by the second detector is an image without high-reflective areas. The image is transmitted to the server via a data cable for subsequent detection.
[0055] Those skilled in the art should understand that the present invention can be implemented in many other specific forms without departing from the spirit and scope of the present invention. Based on the embodiments of the present invention, any changes and modifications made by ordinary technicians in the field of the present invention according to the above disclosure are within the scope of protection of the claims.
Claims
1. An imaging system capable of removing local high reflection, characterized in that: The system includes a beam splitter and a plurality of lens groups sequentially arranged after the beam splitter, a DMD spatial light modulator, a plurality of detectors, a plurality of data lines and a server, wherein a first lens group and a second lens group of the plurality of lens groups are arranged in a direction perpendicular to each other after the beam splitter, a first detector is arranged after the first lens group, and the first detector is connected to the server through a first data line; The DMD spatial light modulator is arranged behind the second lens group, a third lens group is arranged behind the DMD spatial light modulator, a second detector is arranged behind the third lens group, the second detector is connected to the server through a second data line, and the DMD spatial light modulator is connected to the server through a third data line; The server is used to construct a residual neural network model and optimize the pixel-by-pixel mapping relationship between the detector and the DMD air conditioning light modulator, while determining whether there is a high-reflection area in the image and converting the high-reflection area information into modulation area information; The DMD spatial light modulator is used to perform modulation according to information of a region to be modulated so as to reduce the light flux of the region to be pre-modulated.
2. An imaging method capable of removing local high reflection, using the imaging system capable of removing local high reflection as claimed in claim 1, characterized in that: The method specifically comprises the following steps: S1, splitting the surface reflected light beam of the object to be imaged under illumination conditions into a reflected light beam and a transmitted light beam through the beam splitter; S2, imaging the reflected light beam through a first detector to obtain a first image, and imaging the transmitted light beam through a DMD air conditioning light modulator and a second detector to obtain a second image; S3, establishing a first pixel-by-pixel mapping relationship between the first detector and the DMD air conditioning light modulator, and optimizing the mapping relationship to obtain an optimized first pixel-by-pixel mapping relationship; S4. Determine whether there is a high-reflection area in the first image. If so, determine the high-reflection area in the first image, and convert the high-reflection area information into the corresponding information of the area to be modulated on the first detector according to the optimized first pixel-by-pixel mapping relationship. The DMD spatial light modulator modulates according to the information of the area to be modulated to reduce the luminous flux of the area to be modulated.
3. The imaging method capable of removing local high reflection according to claim 2, characterized in that: In step S3, the first pixel-by-pixel mapping relationship between the first detector and the DMD air-conditioning light modulator is indirectly established and optimized through the second detector as an intermediary.
4. The imaging method capable of removing local high reflection according to claim 2, characterized in that: The step S3 comprises: Constructing a first residual neural network model reflecting a second pixel-by-pixel mapping relationship between the first detector and the second detector, and optimizing the first residual neural network model by using the first image after the image operation as a network input to obtain an optimized second pixel-by-pixel mapping relationship; Constructing a second residual neural network model reflecting a third pixel-by-pixel mapping relationship between the second detector and the DMD spatial light modulator, and optimizing the second residual neural network model by taking the second image of the image operation as a network input to obtain an optimized third pixel-by-pixel mapping relationship; The optimized second pixel-by-pixel mapping relationship and the optimized third pixel-by-pixel mapping relationship are sequentially compounded to obtain an optimized first pixel-by-pixel mapping relationship.
5. The imaging method capable of removing local high reflection according to claim 4, characterized in that the image operation comprises rotating, translating and shifting the normal angle of the image.
6. The imaging method capable of removing local high reflection according to claim 2, characterized in that: The DMD spatial light modulator comprises a two-dimensional array composed of a plurality of DMD micromirrors. The DMD spatial light modulator at least partially turns off the DMD micromirrors in the area to be modulated according to information of the area to be modulated so as to reduce the light flux of the area to be modulated.
7. The imaging method capable of removing local high reflection according to claim 2, characterized in that: The DMD spatial light modulator comprises a planar two-dimensional array composed of a plurality of DMD micromirrors. The DMD spatial light modulator turns off the DMD micromirrors alternately in the area to be modulated according to information of the area to be modulated so as to uniformly reduce the light flux of the area to be modulated.
8. According to the imaging method capable of removing local high reflections as described in claim 4, it is characterized in that the training optimization method of the first residual neural network model is: placing a checkerboard calibration plate in front of the beam splitter, and the DMD spatial light modulator is in a fully open state, rotating, displacing and tilting the checkerboard calibration plate to obtain two sets of image data sets D1' and D2', using data set D1' as network input, and data set D2' as learning labels, and continuously iterating learning to obtain the final first residual neural network model.
9. The imaging method capable of removing local high reflection according to claim 4 is characterized in that the training optimization method of the second residual neural network model is: inputting a plurality of randomly generated binary masks L into a DMD spatial light modulator and displaying them through the DMD spatial light modulator, using the corresponding DMD mask image I captured by the second detector as a data set for neural network input, using the plurality of binary masks L for learning labels, and inputting the image I into the neural network to obtain a predicted image I ’ , will I ’ The difference with the learned label L is back-propagated and iteratively calculated to obtain the final second residual neural network model.
Citation Information
Cited By
DMD-based local imaging method and spectrum system
CN119880143A
A DMD-based local imaging method and spectral system
CN119880143B
