Confocal laser scanning imaging method and system and confocal laser scanning device
The galvanometer galvanometer scanning is synchronously controlled by the feedback signal of the resonant galvanometer, and the grating photoelectric detector is used for anti-noise processing and distortion correction, which solves the problem of synchronized control of galvanometer movement and laser data collection in industrial confocal microscopes, and improves Improve imaging efficiency and imaging quality.
Patent Information
- Application Number
- CN202411065980.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-11
AI Technical Summary
Industrial confocal microscopes have synchronization control problems between galvanometer movement and laser data collection during three-dimensional imaging and measurement, resulting in low imaging efficiency.
The row trigger signal and the second scan clock signal are obtained through the feedback signal of the resonant galvanometer, and the galvanometer scanning operation of the galvanometer is controlled to achieve synchronization of scanning and acquisition. A grating photoelectric detector is introduced for anti-noise processing and distortion correction.
It improves the imaging efficiency of confocal laser scanning, solves the problem of synchronization between scanning and acquisition, corrects the distortion in the X direction, and improves the imaging quality.
Smart Images

Figure CN118759713A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optical imaging technology, and in particular to a confocal laser scanning imaging method, system and confocal laser scanning device. Background Art
[0002] At present, industrial confocal microscopes, as high-precision, high-value-added measuring instruments, are powerful tools for measuring the surface morphology of objects, and play an important role in the research, development, production and detection of materials including ceramics, metals, semiconductors, etc. Unlike biological confocal microscopes that focus on two-dimensional image observation, industrial confocal microscopes need to go further for three-dimensional imaging and measurement, so their technical difficulty is higher. At present, confocal laser scanning has developed a variety of scanning imaging methods, including dual-galvanometer scanning based on galvanometer / resonance, scanning based on MEMS (Micro-Electro-Mechanical System, micro-electromechanical system) galvanometer scanning, Nipkow disk scanning and line scanning, etc. Among them, the scanning method of using a resonant galvanometer on the X-axis and a galvanometer galvanometer on the Y-axis has become the mainstream due to cost and technical maturity. However, this scanning method still has the problem of synchronous control of galvanometer movement and laser data acquisition, and the imaging efficiency is poor. Summary of the invention
[0003] The purpose of the present application is to provide an imaging method, system, confocal laser scanning device, electronic device and computer-readable storage medium for confocal laser scanning, which can achieve the technical effect of improving the efficiency of confocal laser scanning.
[0004] In a first aspect, the present application provides a confocal laser scanning imaging method, which is applied to a confocal laser scanning device, wherein the confocal laser scanning device includes a resonant galvanometer and a galvanometer. The imaging method includes:
[0005] Acquire a first scanning clock signal;
[0006] Controlling the galvanometer galvanometer scanning operation by the first scanning clock signal to obtain a feedback signal of the resonant galvanometer galvanometer;
[0007] Obtaining a row trigger signal and a second scanning clock signal according to the feedback signal;
[0008] Controlling the galvanometer galvanometer scanning operation by the second scanning clock signal to obtain image frame data;
[0009] The image frame data is captured by the row trigger signal to obtain laser imaging data.
[0010] In the above-mentioned implementation process, the imaging method of the confocal laser scanning obtains a row trigger signal and a second scanning clock signal based on the feedback signal of the resonant galvanometer, controls the galvanometer scanning operation of the galvanometer through the second scanning clock signal, and performs image acquisition on the image frame data through the row trigger signal; thus, the imaging method of the confocal laser scanning uses the feedback signal of the resonant galvanometer as the synchronization source, generates the second scanning clock signal corresponding to the galvanometer and the row trigger signal of the image acquisition trigger reference based on the feedback signal, thereby realizing the synchronization of scanning and acquisition, solving the problem of synchronization of scanning and acquisition in dual-galvanometer laser scanning, and achieving the technical effect of improving imaging efficiency.
[0011] Furthermore, the confocal laser scanning device is provided with a grating photoelectric detection element between the resonant galvanometer mirror and the galvanometer galvanometer mirror, and the imaging method further comprises:
[0012] Based on the grating photoelectric detection element, obtaining grating signal data after the laser beam passes through the resonant galvanometer, wherein the grating signal data corresponds to the image frame data;
[0013] Anti-noise processing is performed on the grating signal data to obtain optimized grating signal data.
[0014] In the above implementation process, two orthogonally arranged galvanometers (resonant galvanometer and galvanometer) deflect the focused light spot in the X and Y directions respectively, so that the light spot moves on the sample surface, wherein the X-axis uses a resonant galvanometer to achieve fast line scanning, and the Y-axis uses a galvanometer to achieve slow frame scanning; in order to solve the distortion in the X direction, a grating photoelectric detection device is introduced, which includes a positioning grating and a corresponding signal detector.
[0015] Furthermore, after the step of controlling the image acquisition of the confocal laser scanning device by the line trigger signal to obtain laser imaging data, the imaging method further comprises:
[0016] The laser imaging data is corrected according to the optimized grating signal data to obtain corrected laser imaging data.
[0017] In the above implementation process, by analyzing the signal waveform of the grating photoelectric detection element, the laser imaging data can be corrected and processed, thereby correcting the image distortion.
[0018] Furthermore, the step of performing anti-noise processing on the grating signal data to obtain optimized grating signal data includes:
[0019] The grating signal data is averaged to obtain optimized grating signal data.
[0020] Furthermore, the step of performing correction processing on the laser imaging data according to the optimized grating signal data to obtain corrected laser imaging data comprises:
[0021] Performing peak detection on the optimized grating signal data to obtain peak parameters of the optimized grating signal data, wherein the peak parameters include one or more of the number of peaks and the peak spacing;
[0022] The laser imaging data is processed according to the peak parameters to obtain corrected laser imaging data.
[0023] In a second aspect, an embodiment of the present application provides an imaging system for confocal laser scanning, which is applied to a confocal laser scanning device, wherein the confocal laser scanning device includes a resonant galvanometer and a galvanometer. The imaging of the confocal laser scanning includes:
[0024] A scanning acquisition module, used for acquiring a first scanning clock signal;
[0025] A resonant galvanometer module, used to control the galvanometer scanning operation of the galvanometer galvanometer through the first scanning clock signal, and obtain a feedback signal of the resonant galvanometer;
[0026] A feedback module, used for obtaining a row trigger signal and a second scanning clock signal according to the feedback signal;
[0027] A galvanometer galvanometer module, used for controlling the galvanometer galvanometer scanning operation through the second scanning clock signal to obtain image frame data;
[0028] The acquisition module is used to acquire the image frame data through the line trigger signal to obtain laser imaging data.
[0029] Furthermore, the confocal laser scanning device is provided with a grating photoelectric detection element between the resonant galvanometer and the galvanometer. The confocal laser scanning imaging system also includes: a grating signal module for obtaining grating signal data after the laser beam passes through the resonant galvanometer based on the grating photoelectric detection element, wherein the grating signal data corresponds to the image frame data; and performing anti-noise processing on the grating signal data to obtain optimized grating signal data.
[0030] Furthermore, the confocal laser scanning imaging system further includes: a correction module, which is used to perform correction processing on the laser imaging data according to the optimized grating signal data to obtain corrected laser imaging data.
[0031] Furthermore, the grating signal module is also used to perform averaging processing on the grating signal data to obtain optimized grating signal data.
[0032] Furthermore, the correction module is also used to: perform peak detection on the optimized grating signal data to obtain peak parameters of the optimized grating signal data, wherein the peak parameters include one or more of the number of peaks and the peak spacing; process the laser imaging data according to the peak parameters to obtain corrected laser imaging data.
[0033] In a third aspect, the present application provides a confocal laser scanning device, which is applied to the confocal laser scanning imaging method described in any one of the first aspects, including a light emitting mechanism, a PBS prism, a resonant galvanometer, a transflective mirror, a galvanometer galvanometer, a light intensity detection element, a grating photoelectric detection element and an objective lens;
[0034] The light-emitting mechanism, the PBS prism, the resonant galvanometer, the transflective mirror, the galvanometer galvanometer, and the objective lens are arranged in sequence, and the light-emitting mechanism is used to generate a preset laser beam, and the preset laser beam passes through the PBS prism, the resonant galvanometer, the transflective mirror, the galvanometer galvanometer, and the objective lens in sequence to reach the surface of the sample to be detected;
[0035] The light intensity detection element is matched with the PBS prism;
[0036] The grating photoelectric detection element is matched with the transflective mirror, and a positioning grating is arranged between the grating photoelectric detection element and the transflective mirror.
[0037] Furthermore, the confocal laser scanning device also includes a spot shaping component and an aperture, and the spot shaping component and the aperture are sequentially arranged between the light-emitting mechanism and the PBS prism.
[0038] In a fourth aspect, the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in any one of the first aspects when executing the computer program.
[0039] In a fifth aspect, the present application provides a computer-readable storage medium, on which instructions are stored. When the instructions are executed on a computer, the computer executes the method as described in any one of the first aspects.
[0040] In a sixth aspect, the present application provides a computer program product, which, when running on a computer, enables the computer to execute the method as described in any one of the first aspects.
[0041] Other features and advantages disclosed in the present application will be described in the following description, or some features and advantages can be inferred or determined without doubt from the description, or can be learned by implementing the above-mentioned technology disclosed in the present application.
[0042] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A schematic diagram of the variation of the deflection angle of the resonant galvanometer scanning over time provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of the variation of the deflection angle of the galvanometer mirror scanning over time provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of the structure of a confocal laser scanning device provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of a confocal laser scanning imaging method provided in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a signal scanning timing provided by an embodiment of the present application;
[0049] Figure 6 A schematic flow chart of another confocal laser scanning imaging method provided in an embodiment of the present application;
[0050] Figure 7 A schematic diagram of laser imaging data provided by an embodiment of the present application;
[0051] Figure 8 A schematic diagram of a first row of grating signal waveform of grating signal data provided in an embodiment of the present application;
[0052] Fig. 9 A schematic diagram of a second row of grating signal waveforms of grating signal data provided in an embodiment of the present application;
[0053] Fig.10 A schematic diagram of correcting laser imaging data provided in an embodiment of the present application;
[0054] Fig.11 A structural block diagram of a confocal laser scanning imaging system provided in an embodiment of the present invention;
[0055] Fig.12 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0056] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0057] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0058] See also Figure 1 and Figure 2 , Figure 1 A schematic diagram of the variation of the deflection angle of the resonant galvanometer scanning over time provided in an embodiment of the present application, Figure 2 Schematic diagram of the change of the deflection angle of the galvanometer scanning mirror over time provided in the embodiment of the present application; wherein A x , -A x Respectively represent the maximum deflection angle and minimum deflection angle of the resonant galvanometer, F x Represents the deflection frequency of the resonant galvanometer; A y , -A y They represent the maximum deflection angle and the minimum deflection angle of the galvanometer oscillator mirror, respectively, and T represents the deflection half period of the galvanometer;
[0059] Generally, for industrial confocal microscopes, the scanning method of using a resonant galvanometer on the X-axis and a galvanometer on the Y-axis is more commonly used. The key technologies of this scanning method include: 1) synchronous control of galvanometer motion and laser data acquisition; 2) image distortion correction;
[0060] In the current mainstream laser confocal scanning microscope equipped with a two-dimensional galvanometer, two orthogonally arranged galvanometers (resonant galvanometer and galvanometer) deflect the focused light spot in the X and Y directions respectively, so that the light spot moves on the sample surface. The X-axis uses a resonant galvanometer to achieve fast line scanning, and the Y-axis uses a galvanometer to achieve slow frame scanning. The scanning speed of the galvanometer directly determines the imaging frame rate of the laser confocal scanning microscope. There are two scanning modes of the galvanometer: step deflection and continuous deflection. Compared with the step deflection, the continuous deflection method eliminates the dwell time between lines and frames, which can not only reduce the position error caused by repeated starting and stopping of the step deflection, but also greatly increase the scanning speed; however:
[0061] 1) Due to the difference between the mechanical motion characteristics of the galvanometer and the theoretical parameters, it is difficult to achieve synchronous matching of line scanning and frame scanning with continuous deflection. Therefore, how to reconstruct the continuous one-dimensional scanning signal sequence into multiple two-dimensional images with high precision has become one of the key difficulties in high-speed imaging;
[0062] 2) The laser scanning system realizes the point-by-point scanning process by changing the incident angle of the light in the optical path. Since the X-direction resonant galvanometer performs simple harmonic vibration, the change speed of its incident angle is constant, while the moving speed of the scanning point is not constant (see Figure 1 and Figure 2 This causes the scanning point to form a nonlinear displacement in the X direction, which manifests as image distortion, especially at the edge of the field of view. Although it can be corrected by deriving the relationship between the actual position of each pixel in the image, the actual deflection angle of the galvanometer, and the control voltage, this method has a large amount of calculation and is difficult to implement, which affects the imaging speed to a certain extent.
[0063] In order to solve the technical problems raised above, the embodiments of the present application provide a confocal laser scanning imaging method, system, confocal laser scanning device, electronic device and computer-readable storage medium, which can be applied to a confocal laser scanning device of a dual-galvanometer scanning mode of a resonant galvanometer and a galvanometer; the confocal laser scanning imaging method obtains a row trigger signal and a second scanning clock signal based on the feedback signal of the resonant galvanometer, controls the galvanometer scanning operation of the galvanometer by the second scanning clock signal, and performs image acquisition on the image frame data by the row trigger signal; thus, the confocal laser scanning imaging method uses the feedback signal of the resonant galvanometer as the synchronization source, generates the second scanning clock signal corresponding to the galvanometer and the row trigger signal of the image acquisition trigger reference based on the feedback signal, thereby realizing the synchronization of scanning and acquisition, solving the problem of synchronization of scanning and acquisition in dual-galvanometer laser scanning, and achieving the technical effect of improving imaging efficiency.
[0064] See also Figure 3 , Figure 3 A schematic diagram of the structure of a confocal laser scanning device provided in an embodiment of the present application, the confocal laser scanning device includes a light emitting mechanism 101, a PBS prism 102, a resonant galvanometer 103, a transflective mirror 104, a galvanometer galvanometer 105, a light intensity detector 106, a grating photoelectric detector 107 and an objective lens 108;
[0065] Exemplarily, the light emitting mechanism 101, the PBS prism 102, the resonant galvanometer 103, the transflective mirror 104, the galvanometer galvanometer 105, and the objective lens 108 are sequentially arranged, and the light emitting mechanism 101 is used to generate a preset laser beam, and the preset laser beam sequentially passes through the PBS prism 102, the resonant galvanometer 103, the transflective mirror 104, the galvanometer galvanometer 105, and the objective lens 108 to reach the surface of the sample to be detected 109;
[0066] The light emitting mechanism 101 may be a laser tube, which may generate a 405 nm laser beam.
[0067] Exemplarily, the light intensity detector 106 is matched with the PBS prism 102; wherein the PBS (Polarizing Beam Splitter) prism is formed by coating a multilayer interference film on the inclined surface of a right-angle prism and then gluing them into a cubic structure, so that the incident P polarization component is transmitted and the S polarization component is reflected.
[0068] Exemplarily, the grating photoelectric detection element 107 is matched with the transflective mirror 104, and a positioning grating is arranged between the grating photoelectric detection element 107 and the transflective mirror 104;
[0069] Among them, the light intensity detection element 106 and the grating photoelectric detection element 107 are Figure 3 They are marked as PMT1 and PMT2 respectively; the light intensity detection element 106 and the grating photoelectric detection element 107 can be PMT (photomultiplier tube) to convert weak light signals into electrical signals.
[0070] Exemplarily, the confocal laser scanning device further includes a spot shaping component 110 and an aperture 111 , which are sequentially arranged between the light emitting mechanism 101 and the PBS prism 102 .
[0071] It should be noted that the confocal laser scanning device in the embodiment of the present application, wherein the necessary optical components such as Figure 3 As shown, where:
[0072] The optical path design of the confocal laser scanning device also includes a plurality of lens groups 112, and the plurality of lens groups 112 are respectively arranged in the optical path of the confocal laser scanning device;
[0073] The confocal laser scanning device further includes a mechanical aperture 113, a variable attenuator 114, and a first reflector 115, which are sequentially arranged in the optical path between the PBS prism 102 and the light intensity detection element 106; wherein the variable attenuator 114 may be an electric variable attenuator;
[0074] The confocal laser scanning device also includes a quarter wave plate 116, a second reflector 117, a second transflective mirror 118 and a grating ruler 119, which are sequentially arranged in the optical path between the galvanometer oscillator 105 and the objective lens 108; wherein the transmittance of the second transflective mirror 118 is 80%, the reflectivity is 20%, and the grating ruler 119 is an electric Z-axis.
[0075] For example, in Figure 3 In the figure, RS4K and GY are the resonant galvanometer mirror used in the X-axis and the galvanometer galvanometer mirror used in the Y-axis respectively. The models can be CRS4KHz and 8310K of Cambridge Technology. The grid on the left of PMT2 is the positioning grating. Figure 3 As shown in the schematic diagram, the confocal scanning imaging process is as follows:
[0076] The 405nm laser beam generated by the laser diode (light-emitting mechanism 101) is collimated by a group of lenses and then shaped into a circular spot by two cylindrical mirrors. The latter is filtered out of the stray light at the edge after passing through the aperture 111. After that, the laser beam passes through the PBS prism 102, and the transmitted P light passes through the resonant galvanometer 103 and the lens group 112 in turn to reach the transflective mirror 104. At this time: a small part of the light passes through the transflective mirror 104 and passes through the positioning grating ( Figure 3 The laser beam passing through the grating is received by the grating photoelectric detector 107 and forms an electrical signal, which is converted into a 16-bit integer by the high-speed acquisition card, indicating the X position of the current detected sample surface point; the remaining light is reflected by the reflective mirror 104 and passes through the lens group 112, the galvanometer galvanometer 105, the lens group 112, the quarter-wave plate 116, the second reflector 117, the lens group 112, the second reflective mirror 118 and the objective lens 108 in sequence to reach the sample surface, and the reflected light returns to the PBS prism 102 along the original path, and then passes through the lens group 112, the mechanical aperture 113, the variable attenuator 114 and the first reflector 115, and is received by the light intensity detector 106 and forms an electrical signal, which is converted into a 16-bit integer by the high-speed acquisition card, indicating the light intensity of the current detected sample surface point.
[0077] See also Figure 4 , Figure 4 A schematic diagram of a confocal laser scanning imaging method provided in an embodiment of the present application, wherein the confocal laser scanning imaging method is applied to Figure 3 The confocal laser scanning device shown, the imaging method comprises the following steps:
[0078] S100: Acquire a first scanning clock signal;
[0079] Exemplarily, the first scanning clock signal is used to control a galvanometer scanning operation of the resonant galvanometer.
[0080] S200: Controlling the galvanometer galvanometer scanning operation through the first scanning clock signal to obtain a feedback signal of the resonant galvanometer galvanometer;
[0081] S300: Obtaining a row trigger signal and a second scanning clock signal according to the feedback signal;
[0082] S400: Controlling the galvanometer galvanometer scanning operation by a second scanning clock signal to obtain image frame data;
[0083] S500: Capture image frame data through a line trigger signal to obtain laser imaging data.
[0084] Exemplarily, the confocal laser scanning imaging method obtains a row trigger signal and a second scanning clock signal based on the feedback signal of the resonant galvanometer, controls the galvanometer scanning operation of the galvanometer through the second scanning clock signal, and performs image acquisition on the image frame data through the row trigger signal; thus, the confocal laser scanning imaging method uses the feedback signal of the resonant galvanometer as a synchronization source, generates a second scanning clock signal corresponding to the galvanometer and a row trigger signal of an image acquisition trigger reference based on the feedback signal, thereby realizing synchronization of scanning and acquisition, solving the problem of synchronization of scanning and acquisition in dual-galvanometer laser scanning, and achieving the technical effect of improving imaging efficiency.
[0085] See also Figure 5 , Figure 5 A schematic diagram of a signal scanning timing provided in an embodiment of the present application; wherein t represents the period of the trigger signal.
[0086] In some embodiments, in combination Figure 3 The confocal laser scanning device shown in the figure and the confocal laser scanning imaging method provided in the embodiment of the present application use the feedback signal of the X-axis resonant galvanometer as the synchronization source of the entire system, and input the feedback signal into the control board as the basis for generating the Y-axis galvanometer scanning signal and the trigger signal of the high-speed acquisition card, so as to achieve synchronization of scanning and acquisition. The specific waveform is as follows Figure 5 As shown in the timing diagram, the row trigger signal period of the high-speed acquisition card is the same as the resonance feedback signal period. After each cycle of the resonance feedback signal, the Y galvanometer signal undergoes a step change.
[0087] See also Figure 6 , Figure 6 A schematic flow chart of another confocal laser scanning imaging method provided in an embodiment of the present application.
[0088] Exemplarily, the confocal laser scanning device is provided with a grating photoelectric detection element between the resonant galvanometer mirror and the galvanometer galvanometer mirror, and the imaging method further comprises:
[0089] S510: Based on the grating photoelectric detection element, grating signal data after the laser beam passes through the resonant galvanometer is obtained, and the grating signal data corresponds to the image frame data;
[0090] S520: Perform anti-noise processing on the grating signal data to obtain optimized grating signal data.
[0091] Illustratively, in the confocal laser scanning device provided in the embodiment of the present application, two orthogonally arranged galvanometers (a resonant galvanometer and a galvanometer) deflect the focused light spot in the X and Y directions respectively, so that the light spot moves on the sample surface, wherein the X-axis uses a resonant galvanometer to achieve fast line scanning, and the Y-axis uses a galvanometer to achieve slow frame scanning; in order to solve the distortion in the X direction, a grating photoelectric detection device is introduced, which includes a positioning grating and a corresponding signal detector PMT2.
[0092] Exemplarily, after the step of S500: controlling the image acquisition of the confocal laser scanning device by a line trigger signal to obtain laser imaging data, the imaging method further includes:
[0093] S530: Correcting the laser imaging data according to the optimized grating signal data to obtain corrected laser imaging data.
[0094] Exemplarily, by analyzing the signal waveform of the grating photoelectric detection element, the laser imaging data can be corrected and processed, thereby correcting the image distortion.
[0095] Exemplarily, S520: performing anti-noise processing on the grating signal data to obtain optimized grating signal data includes:
[0096] The grating signal data is averaged to obtain optimized grating signal data.
[0097] Exemplarily, S530: the step of performing correction processing on the laser imaging data according to the optimized grating signal data to obtain the corrected laser imaging data includes:
[0098] Performing peak detection on the optimized grating signal data to obtain peak parameters of the optimized grating signal data, wherein the peak parameters include one or more of the number of peaks and the peak spacing;
[0099] The laser imaging data is processed according to the peak parameters to obtain corrected laser imaging data.
[0100] See also Figures 7 to 10 , Figure 7 A schematic diagram of laser imaging data provided in an embodiment of the present application, Figure 8 A schematic diagram of a first row of grating signal waveform of grating signal data provided in an embodiment of the present application, Fig. 9 A schematic diagram of a second row of grating signal waveform of grating signal data provided in an embodiment of the present application, Fig.10 A schematic diagram of correcting laser imaging data provided in an embodiment of the present application;
[0101] in, Figure 7The laser imaging data shown is a distorted image before correction; the scanned image of a local area of the equidistant scale of the distorted image is not equidistant along the horizontal direction (X axis), but remains equidistant along the vertical direction (Y axis); Fig.10 The corrected laser imaging data shown is a schematic diagram of the distortion correction result. After correction, the equidistant scales are restored to equidistant in both the horizontal and vertical directions.
[0102] In some embodiments, as described above, the confocal laser scanning imaging method provided in the embodiment of the present application, after solving the scanning and acquisition synchronization problem in the dual-galvanometer laser scanning, only needs to solve the distortion in the X direction (such as Figure 7 As shown in the figure, a positioning grating and a corresponding signal detector PMT2 are introduced for this purpose. Under the above control logic, the signals received by PMT1 and PMT2 are synchronized and one-to-one corresponding (that is, the data length is the same in the same time). The difference is that PMT1 describes the light intensity of the sample at a certain (X, Y, Z) position. It is an isochronous but non-equidistant signal in the X direction, which is manifested as the points that are horizontally equidistantly distributed in the object space are no longer equidistant in the horizontal direction in the image space. This unequal distribution is characterized by the synchronized PMT2 signal; therefore, by analyzing the signal waveform of PMT2, the image can be corrected for distortion. In addition, although in theory the signal waveform of PMT2 is uniquely determined by the size and spacing of the positioning grating and the sampling of the X-axis resonant galvanometer within the motion range (corresponding to one image row), the signal waveform of each row will fluctuate due to the influence of random noise ( Figure 8 , 9 As shown), therefore, it is necessary to perform certain anti-noise processing on its waveform, one of which is to average the grating signals of each row. In summary, the distortion correction algorithm process proposed in the embodiment of the present application is as follows:
[0103] 1) Use XY galvanometer scanning to obtain the current image frame and record the grating signal corresponding to each line;
[0104] 2) averaging the grating signal of each row to obtain an averaged grating signal waveform diagram;
[0105] 3) Perform peak detection on the averaged grating signal waveform;
[0106] 4) Calculate the number of peaks and the distance between each peak;
[0107] 5) The collected current image frame is divided into blocks in the horizontal direction according to the number of the peak values, and different image data blocks are scaled according to the intervals between the peak values, so as to finally obtain a corrected image.
[0108] Optionally, in the distortion correction algorithm, the averaged grating signal waveform may also be replaced by an accumulated waveform.
[0109] For example, in combination Figures 1 to 10 The confocal laser scanning device and the confocal laser scanning imaging method shown in the figure have at least the following beneficial effects:
[0110] 1) As a high-precision, high-value-added measuring instrument, industrial confocal microscope plays an important role in materials science and many industries including the semiconductor electronics industry;
[0111] 2) Currently, the high-end brand of this product is almost monopolized by foreign countries. In the current increasingly tense international situation and the ongoing industrial upgrading in my country, the present invention provides an important choice for domestic substitution of this product.
[0112] See also Fig.11 , Fig.11 The confocal laser scanning imaging system is a block diagram of the confocal laser scanning imaging system provided in the embodiment of the application. Figure 3 The confocal laser scanning device shown, the confocal laser scanning imaging includes:
[0113] A scanning acquisition module 100, used to acquire a first scanning clock signal;
[0114] The resonant galvanometer module 200 is used to control the galvanometer scanning operation of the galvanometer through the first scanning clock signal to obtain the feedback signal of the resonant galvanometer;
[0115] A feedback module 300, configured to obtain a row trigger signal and a second scanning clock signal according to a feedback signal;
[0116] The galvanometer galvanometer module 400 is used to control the galvanometer galvanometer scanning operation through the second scanning clock signal to obtain image frame data;
[0117] The acquisition module 500 is used to acquire image frame data through a line trigger signal to obtain laser imaging data.
[0118] Exemplarily, a confocal laser scanning device is provided with a grating photoelectric detection element between the resonant galvanometer and the galvanometer. The imaging system of the confocal laser scanning also includes: a grating signal module, which is used to obtain grating signal data after the laser beam passes through the resonant galvanometer based on the grating photoelectric detection element, wherein the grating signal data corresponds to the image frame data; and perform anti-noise processing on the grating signal data to obtain optimized grating signal data.
[0119] Exemplarily, the confocal laser scanning imaging system further includes: a correction module, which is used to perform correction processing on the laser imaging data according to the optimized grating signal data to obtain corrected laser imaging data.
[0120] Exemplarily, the grating signal module is also used to perform averaging processing on the grating signal data to obtain optimized grating signal data.
[0121] Exemplarily, the correction module is also used to: perform peak detection on the optimized grating signal data to obtain peak parameters of the optimized grating signal data, wherein the peak parameters include one or more of the number of peaks and the peak spacing; process the laser imaging data according to the peak parameters to obtain corrected laser imaging data.
[0122] It should be noted that the confocal laser scanning imaging system provided in the embodiment of the present application is Figures 1 to 10 The confocal laser scanning device and the confocal laser scanning imaging method correspond to each other and will not be described in detail here to avoid repetition.
[0123] This application also provides an electronic device, see Fig.12 , Fig.12 A block diagram of an electronic device provided in an embodiment of the present application. The electronic device may include a processor 510, a communication interface 520, a memory 530, and at least one communication bus 540. The communication bus 540 is used to realize direct connection and communication between these components. The communication interface 520 of the electronic device in the embodiment of the present application is used to communicate signaling or data with other node devices. The processor 510 may be an integrated circuit chip with signal processing capabilities.
[0124] The processor 510 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor 510 can also be any conventional processor, etc.
[0125] The memory 530 may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electric erasable programmable read-only memory (EEPROM), etc. The memory 530 stores computer-readable instructions. When the computer-readable instructions are executed by the processor 510, the electronic device can execute the above-mentioned Figures 1 to 10 The method embodiment involves various steps.
[0126] Optionally, the electronic device may further include a storage controller and an input / output unit.
[0127] The memory 530, storage controller, processor 510, peripheral interface, input and output unit components are directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses 540. The processor 510 is used to execute executable modules stored in the memory 530, such as software function modules or computer programs included in the electronic device.
[0128] The input and output unit is used to provide users with the task creation and to create a start optional time period or preset execution time for the task to realize the interaction between the user and the server. The input and output unit can be, but is not limited to, a mouse and a keyboard.
[0129] Understandably, Fig.12 The structure shown is for illustration only, and the electronic device may also include Fig.12 More or fewer components as shown, or with Fig.12 Different configurations shown. Fig.12 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0130] An embodiment of the present application further provides a storage medium having instructions stored thereon. When the instructions are run on a computer, the computer program is executed by a processor to implement the method described in the method embodiment. To avoid repetition, the method will not be described here.
[0131] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the method described in the method embodiment.
[0132] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0133] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0134] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0135] The above description is only an embodiment of the present application and is not intended to limit the scope of protection of the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0136] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0137] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
Claims
1. A confocal laser scanning imaging method, characterized in that: Applied to a confocal laser scanning device, the confocal laser scanning device includes a resonant galvanometer mirror and a galvanometer galvanometer mirror, and the imaging method includes: Acquire a first scanning clock signal; Controlling the galvanometer galvanometer scanning operation by the first scanning clock signal to obtain a feedback signal of the resonant galvanometer galvanometer; Obtaining a row trigger signal and a second scanning clock signal according to the feedback signal; Controlling the galvanometer galvanometer scanning operation by the second scanning clock signal to obtain image frame data; The image frame data is captured by the row trigger signal to obtain laser imaging data.
2. The confocal laser scanning imaging method according to claim 1, characterized in that: The confocal laser scanning device is provided with a grating photoelectric detection element between the resonant galvanometer mirror and the galvanometer galvanometer mirror, and the imaging method further comprises: Based on the grating photoelectric detection element, obtaining grating signal data after the laser beam passes through the resonant galvanometer, wherein the grating signal data corresponds to the image frame data; Anti-noise processing is performed on the grating signal data to obtain optimized grating signal data.
3. The confocal laser scanning imaging method according to claim 2, characterized in that: After the step of controlling the image acquisition of the confocal laser scanning device by the line trigger signal to obtain laser imaging data, the imaging method further comprises: The laser imaging data is corrected according to the optimized grating signal data to obtain corrected laser imaging data.
4. The confocal laser scanning imaging method according to claim 2 or 3, characterized in that: The step of performing anti-noise processing on the grating signal data to obtain optimized grating signal data comprises: The grating signal data is averaged to obtain optimized grating signal data.
5. The confocal laser scanning imaging method according to claim 3, characterized in that: The step of performing correction processing on the laser imaging data according to the optimized grating signal data to obtain corrected laser imaging data comprises: Performing peak detection on the optimized grating signal data to obtain peak parameters of the optimized grating signal data, wherein the peak parameters include one or more of the number of peaks and the peak spacing; The laser imaging data is processed according to the peak parameters to obtain corrected laser imaging data.
6. A confocal laser scanning imaging system, characterized in that: Applied to a confocal laser scanning device, the confocal laser scanning device includes a resonant galvanometer and a galvanometer. The imaging of the confocal laser scanning includes: A scanning acquisition module, used for acquiring a first scanning clock signal; A resonant galvanometer module, used to control the galvanometer scanning operation of the galvanometer galvanometer through the first scanning clock signal, and obtain a feedback signal of the resonant galvanometer; A feedback module, used for obtaining a row trigger signal and a second scanning clock signal according to the feedback signal; A galvanometer galvanometer module, used for controlling the galvanometer galvanometer scanning operation through the second scanning clock signal to obtain image frame data; The acquisition module is used to acquire the image frame data through the line trigger signal to obtain laser imaging data.
7. A confocal laser scanning device, characterized in that: An imaging method for confocal laser scanning as described in any one of claims 1 to 5, comprising a light-emitting mechanism, a PBS prism, a resonant galvanometer, a transflective mirror, a galvanometer galvanometer, a light intensity detector, a grating photoelectric detector and an objective lens; The light-emitting mechanism, the PBS prism, the resonant galvanometer, the transflective mirror, the galvanometer galvanometer, and the objective lens are arranged in sequence, and the light-emitting mechanism is used to generate a preset laser beam, and the preset laser beam passes through the PBS prism, the resonant galvanometer, the transflective mirror, the galvanometer galvanometer, and the objective lens in sequence to reach the surface of the sample to be detected; The light intensity detection element is matched with the PBS prism; The grating photoelectric detection element is matched with the transflective mirror, and a positioning grating is arranged between the grating photoelectric detection element and the transflective mirror.
8. The confocal laser scanning device according to claim 7, characterized in that: The confocal laser scanning device further comprises a light spot shaping component and an aperture, wherein the light spot shaping component and the aperture are sequentially arranged between the light emitting mechanism and the PBS prism.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the confocal laser scanning imaging method described in any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the confocal laser scanning imaging method according to any one of claims 1 to 5.
Citation Information
Cited By
Laser confocal scanning microscope, scanned image distortion correction method and acquisition card
CN120405922A
Laser confocal scanning microscope, scanning image distortion correction method and acquisition card
CN120405922B
Laser confocal scanning microscope, distortion correction method and acquisition card
CN120610387A
A laser confocal scanning microscope, a distortion correction method, and a data acquisition card.
CN120610387B
