WO2023197785A1 - Three-dimensional reconstruction method and apparatus for local orbital function - Google Patents

Three-dimensional reconstruction method and apparatus for local orbital function Download PDF

Info

Publication number
WO2023197785A1
WO2023197785A1 PCT/CN2023/080253 CN2023080253W WO2023197785A1 WO 2023197785 A1 WO2023197785 A1 WO 2023197785A1 CN 2023080253 W CN2023080253 W CN 2023080253W WO 2023197785 A1 WO2023197785 A1 WO 2023197785A1
Authority
WO
WIPO (PCT)
Prior art keywords
function
local
parameters
image
dimensional
Prior art date
Application number
PCT/CN2023/080253
Other languages
French (fr)
Chinese (zh)
Inventor
于荣
毛梁泽
程志英
Original Assignee
清华大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 清华大学 filed Critical 清华大学
Publication of WO2023197785A1 publication Critical patent/WO2023197785A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Definitions

  • the present application relates to the field of three-dimensional imaging technology, and in particular to a three-dimensional reconstruction method and device of a local orbit function.
  • the electron microscope photos of the sample contain rich information that is difficult to obtain intuitively.
  • Applying a three-dimensional reconstruction algorithm to obtain the three-dimensional structural information of the sample from a series of electron microscope projection photos of the sample is essential for understanding the material composition at a fundamental level. It helps a lot with performance.
  • AET Anamic Electrical Tomography, atomic scale electron tomography
  • the AET algorithm obtains the three-dimensional coordinates of atoms through peak searching from the reconstructed three-dimensional density matrix, which has high hardware requirements, and during the peak searching process, cumbersome human intervention is required, which is difficult to avoid Errors caused by human intervention.
  • the three-dimensional coordinates of atoms it is impossible to correct the sample drift and mechanical tilt error of the sample stage when collecting images. The accuracy is poor and needs to be improved.
  • This application provides a method and device for three-dimensional reconstruction of local orbital functions to solve the problem in related technologies that only the three-dimensional coordinates of atoms can be obtained from the reconstructed three-dimensional density matrix, and the errors cannot be corrected, resulting in reconstruction problems.
  • the process has high hardware requirements and the reconstructed three-dimensional coordinates have poor accuracy.
  • the first embodiment of the present application provides a three-dimensional reconstruction method of a local orbit function, which includes the following steps: collecting image data of samples at multiple tilt angles; based on the image data, scattering is performed at equal intervals in real space. points and use linear accumulation to obtain the calculated image at each tilt angle of the multiple tilt angles; and calculate the loss function based on the calculated image at each tilt angle, and obtain the parameters of the loss function to be optimized gradient, and optimize the parameters to be optimized according to the gradient, screen out the atoms that meet the preset conditions, and recalculate the new loss function until the
  • the convergence condition is to reconstruct the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function in the real space to obtain a three-dimensional reconstruction result.
  • collecting image data of the sample at the multiple tilt angles includes: acquiring initial image data of the sample at the multiple tilt angles; The image data is subjected to alignment and noise reduction processing, and the processed image is normalized to obtain the image data.
  • the calculation formula of the loss function is:
  • W represents the loss function
  • M represents the total number of tilt angles
  • j represents the serial number of the tilt angle
  • i represents the local orbit function serial number
  • P represents the side length of the image
  • u represents the abscissa of each pixel in the image
  • v represents the ordinate of each pixel in the image
  • f j (u, v) represents the image calculated at the j-th angle
  • b j (u, v) represents the image obtained experimentally at the j-th angle.
  • filtering out atoms that meet preset conditions includes: after iteratively updating the parameters at each step, detecting the parameters of all local orbital functions before detecting any local When the parameters of the orbital function are less than the threshold obtained from all the parameters of the local orbital function, while deleting any of the local orbital functions, a local orbital function whose center distance is smaller than the preset pixel is obtained by establishing a binary tree. For the index, delete any local orbit function in the pair of local orbit functions; after each step iteratively updates the parameters and deletes the local orbit function, reduce the parameters of each local orbit function by a preset probability. is a preset multiple, and the protection time is set so that filtering operations and deletion operations are not allowed to be performed within the protection time.
  • the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, three Euler angles corresponding to each corner, and each At least one of the drift of the sample under the angle and the mechanical tilt deviation of the sample stage.
  • the second embodiment of the present application provides a three-dimensional reconstruction device of a local orbit function, including: a collection module for collecting image data of samples at multiple tilt angles; an accumulation module for based on the image data , scatter points at equal intervals in the real space and use linear accumulation to obtain the calculated image at each tilt angle of the multiple tilt angles; and a reconstruction module used to calculate the image at each tilt angle according to Calculate the loss function, obtain the gradient of the loss function with respect to the parameters to be optimized, and optimize the parameters to be optimized according to the gradient, screen out atoms that meet the preset conditions, and recalculate the new loss function until the convergence conditions are met, The three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function are reconstructed in the real space to obtain a three-dimensional reconstruction result.
  • the acquisition module includes: an acquisition unit, used to acquire initial image data of the sample at the multiple tilt angles; and a noise reduction unit, used to perform the initial image data on the sample.
  • the image data is subjected to alignment and noise reduction processing, and the processed image is normalized to obtain the image data.
  • the calculation formula of the loss function is:
  • W represents the loss function
  • M represents the total number of tilt angles
  • j represents the serial number of the tilt angle
  • i represents the local orbit function serial number
  • P represents the side length of the image
  • u represents the abscissa of each pixel in the image
  • v represents the ordinate of each pixel in the image
  • f j (u, v) represents the image calculated at the j-th angle
  • b j (u, v) represents the image obtained experimentally at the j-th angle.
  • the reconstruction module includes: a detection unit, used to detect the parameter deletion unit of all local orbit functions after the parameters are iteratively updated in each step, and a unit used to detect the parameter deletion unit of all local orbit functions after detecting
  • a detection unit used to detect the parameter deletion unit of all local orbit functions after the parameters are iteratively updated in each step
  • a unit used to detect the parameter deletion unit of all local orbit functions after detecting When the parameters of any local orbit function are less than the threshold obtained from all the parameters of the local orbit function, while deleting the any local orbit function, a binary tree is established to obtain the center distance of the local orbit function less than the preset pixel.
  • the local orbit function pair index is used to delete any local orbit function in the local orbit function pair; the protection unit is used to update each local orbit function after iteratively updating the parameters and deleting the local orbit function at each step.
  • the parameters of the orbital function are all reduced to a preset multiple with a preset probability, and a protection time is set so that filtering operations and deletion operations
  • the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, three Euler angles corresponding to each corner, and each At least one of the drift of the sample under the angle and the mechanical tilt deviation of the sample stage.
  • a third embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor executes the program to implement The three-dimensional reconstruction method of local orbital function as described in the above embodiment.
  • a fourth embodiment of the present application provides a computer-readable storage medium that stores computer instructions, and the computer instructions are used to cause the computer to execute the local orbit function as described in the above embodiment.
  • Three-dimensional reconstruction method Three-dimensional reconstruction method.
  • the embodiment of the present application obtains calculated images at multiple tilt angles based on the collected image data of the sample at multiple tilt angles, and then calculates the loss function of the calculated image, and obtains the gradient of the optimized parameters, thereby obtaining the optimized parameters. , after repeated screening and calculation, until the loss function meets the convergence conditions, the three-dimensional reconstruction result is obtained, which can streamline the three-dimensional coordinate reconstruction process, not only reducing the requirements for hardware, but also reducing tedious human intervention and saving labor. At the same time, during the iterative process, sample drift and mechanical tilt error of the sample stage can also be corrected, thereby improving the accuracy of three-dimensional coordinate reconstruction.
  • Figure 1 is a flow chart of a three-dimensional reconstruction method of local orbital functions provided according to an embodiment of the present application
  • Figure 2 is a flow chart of a three-dimensional reconstruction method of local orbital functions according to an embodiment of the present application
  • Figure 3 is a schematic diagram of simulations at 25°, 0° and -25° of small particles composed of 10,000 atoms to be reconstructed according to an embodiment of the present application;
  • Figure 4 is a schematic diagram of scatter points composed of the initial input atomic coordinates of the three-dimensional reconstruction method of the local orbital function according to an embodiment of the present application;
  • Figure 5 is a schematic diagram of the calculation of the initial input local orbit function at tilt angles of 25°, 0° and -25° respectively according to the three-dimensional reconstruction method of the local orbit function according to an embodiment of the present application;
  • Figure 6 is a schematic polyline diagram of the value of the loss function during the iterative process of the three-dimensional reconstruction method of the local orbit function according to an embodiment of the present application;
  • Figure 7 is a schematic diagram of an atomic model obtained after convergence of the three-dimensional reconstruction method of local orbital functions according to an embodiment of the present application
  • Figure 8 shows the difference between the calculated image and the experimental image during convergence of the three-dimensional reconstruction method of the local orbit function according to one embodiment of the present application
  • Figure 9 is a histogram of the distance between the atomic coordinates and the real coordinates obtained by the convergence calculation of the three-dimensional reconstruction method of the local orbital function according to an embodiment of the present application;
  • Figure 10 is a schematic structural diagram of a three-dimensional reconstruction device of a local orbit function according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • this application provides a three-dimensional reconstruction method of local orbit function.
  • this method multiple tilt angles are obtained based on the collected image data of the sample at multiple tilt angles. Calculate the image under the calculation image, then calculate the loss function of the calculation image, obtain the gradient of the optimization parameters, and obtain the optimization parameters.
  • FIG. 1 is a schematic flowchart of a three-dimensional reconstruction method of a local orbital function provided by an embodiment of the present application.
  • the three-dimensional reconstruction method of the local orbit function includes the following steps:
  • step S101 image data of the sample at multiple tilt angles is collected.
  • the embodiment of the present application can capture HAADF (High-Angle Annular Dark-Field imaging) images of the sample at a series of different rotation angles, and then obtain the sample at multiple tilt angles.
  • HAADF High-Angle Annular Dark-Field imaging
  • the image data is convenient for subsequent processing of image data and three-dimensional coordinate reconstruction.
  • collecting image data of samples at multiple tilt angles includes: acquiring initial image data of samples at multiple tilt angles; centering and combining the initial image data. axis and noise reduction processing, and normalized by the processed image to obtain image data.
  • the initial image data can be subjected to centering and axis and noise reduction processing. While facilitating subsequent calculations, it avoids the impact of noise on three-dimensional coordinate reconstruction, and then through linear normalization, image data that can be used for subsequent calculations is obtained.
  • M represents the total number of tilt angles
  • j represents the serial number of the tilt angle
  • u represents the abscissa of each pixel in the image
  • v represents the ordinate of each pixel in the image
  • b j (u, v) represents the jth Images obtained from experiments at several angles.
  • step S102 based on the image data, points are scattered at equal intervals in the real space and linear accumulation is used to obtain calculated images at each tilt angle of multiple tilt angles.
  • the embodiment of the present application can first set up a discretized and limited number of local orbit functions in real space based on the image data obtained in the above steps as the initial input of the iterative process, where each The strength H of the local orbital function can be set to 1e -5 , the width can be set to 1.4, the sample drift at each angle (u j , v j ) and the offset of the Euler rotation angle Both can be set to 0.
  • the embodiment of the present application can express the three-dimensional coordinates of the local orbit function center at different angles as:
  • this embodiment of the application can calculate the coordinates of the local orbit center at each angle:
  • embodiments of the present application can represent the local orbit function as a three-dimensional Gaussian function based on the above coordinates, and calculate the value of each local orbit function at each angle:
  • D ij represents the value of the i-th local orbit function at the j-th angle in the real space (u, v, w)
  • H i and B i are the parameters to be optimized, representing the i-th local orbit function respectively.
  • the intensity and width of the orbit function are the three-dimensional position coordinates of the real space
  • (u ij , v ij , w ij ) are the center three-dimensional position coordinates of the i-th local orbit function at the j-th angle
  • (u j ,v j ,w j ) is the three-dimensional drift of the local orbit function center relative to the true position (u ij ,v ij ,w ij ) at the jth angle.
  • N represents the total number of local orbit functions
  • D ij represents the value of the i-th local orbit function at the j-th angle in the real space (u, v, w).
  • step S103 the loss function is calculated based on the calculation image at each tilt angle, and the gradient of the loss function with respect to the parameters to be optimized is obtained, and the parameters to be optimized are optimized according to the gradient, atoms that meet the preset conditions are screened out, and new atoms are recalculated.
  • the embodiments of the present application can use the gradient optimization algorithm to solve the parameters, and reconstruct the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function in real space through multiple calculations and screenings. Obtain three-dimensional reconstruction results.
  • embodiments of the present application can use the calculation images calculated in the above steps to calculate the loss function, and then obtain the gradient of the loss function with respect to the parameters to be optimized, and use the gradient optimization algorithm to optimize the parameters to be optimized, and then filter out the parameters that satisfy the preset
  • the atom of the condition is calculated repeatedly until the convergence condition is met, thereby reconstructing the three-dimensional space coordinates of the center of the local orbital function and the shape of the local orbital function in real space, and obtaining the three-dimensional reconstruction result.
  • the embodiments of the present application can directly obtain the three-dimensional coordinates of the sample atoms, skipping the process of first obtaining the three-dimensional density matrix and then searching for peaks to obtain the three-dimensional coordinates. This not only reduces the requirements for hardware, but also eliminates cumbersome human intervention in the process of peak searching. This saves labor costs, and at the same time, during the iterative process, sample drift and mechanical tilt errors of the sample stage can be corrected, thereby improving the accuracy of three-dimensional coordinate reconstruction.
  • preset conditions can be set by those skilled in the art according to actual conditions, and are not specifically limited here.
  • the calculation formula of the loss function is:
  • W represents the loss function
  • M represents the total number of tilt angles
  • j represents the serial number of the tilt angle
  • i represents the local orbit function serial number
  • P represents the side length of the image
  • u represents the abscissa of each pixel in the image
  • v represents the ordinate of each pixel in the image
  • f j (u, v) represents the image calculated at the j-th angle
  • b j (u, v) represents the image obtained experimentally at the j-th angle.
  • the embodiment of the present application can calculate the loss function through the calculation image in the above steps, and write the loss function as a function about the calculation image and the experimental image:
  • W represents the loss function
  • M represents the total number of tilt angles
  • j represents the serial number of the tilt angle
  • i represents the local orbit function serial number
  • P represents the side length of the image
  • u represents the abscissa of each pixel in the image
  • v represents the ordinate of each pixel in the image
  • f j (u, v) represents the image calculated at the j-th angle
  • b j (u, v) represents the experimental image at the j-th angle
  • m j (u ,v) is the difference between the calculated image and the experimental image at the jth angle.
  • the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, three Euler angles corresponding to each corner, and At least one of the drift of the sample and the mechanical tilt deviation of the sample stage.
  • the embodiment of the present application can calculate the loss function with respect to the three-dimensional coordinates (x i , y i , z i ) of the center of the local orbit function, the intensity Hi , the width Bi , and the sample drift amount at each angle ( u j ,v j ), sample stage angle deviation gradient of equal parameters.
  • this embodiment of the present application can use the gradient obtained by calculation to update the target parameters:
  • the gradient can be obtained using a software library with automatic derivation function or through analytical expressions.
  • screening out atoms that meet preset conditions includes: after iteratively updating the parameters in each step, detecting the parameters of all local orbital functions and detecting any local orbital function.
  • the parameters of are less than the threshold obtained from all local orbit function parameters, while deleting any local orbit function, establish a binary tree to obtain the local orbit function pair index whose center distance is less than the preset pixel, and delete the local orbit function Any local orbital function in the orbital function pair; after each step iteratively updates the parameters and deletes the local orbital function, the parameters of each local orbital function are reduced to a preset multiple with a preset probability, and set Protection time, so that filtering operations and deletion operations are not allowed during the protection time.
  • screening out atoms that meet preset conditions includes deleting redundant local orbital functions and screening local orbital functions.
  • the method of deleting redundant local orbital functions is: after updating the parameters iteratively at each step, check the parameters H of all local orbital functions. If the parameter H of a certain local orbital function is less than the parameter H of all local orbital functions. When the threshold value is obtained, the local orbit function is deleted. At the same time, by establishing a binary tree, the local orbit function pair index of the local orbit function center distance from the preset pixel is obtained, and any one of the local orbit function pairs is deleted. Orbital function.
  • the threshold can be set by those skilled in the art according to the actual situation, or can be set as a reference value, such as 0.01 times the maximum value of all local orbit function parameters H; the preset pixel can be set by those skilled in the art according to Set according to the actual situation, or set to a reference value, such as 2 pixels.
  • the method of screening local orbital functions is as follows: after iteratively updating the parameters and deleting the local orbital functions at each step, the preset probability of the parameter H of each local orbital function is reduced to a preset multiple, and a protection time is set. Local orbital functions cannot be filtered and deleted during the protection time.
  • the preset probability and preset multiple can be set by those skilled in the art according to the actual situation, or can be set as a reference value.
  • the parameter H of each local orbit function is reduced to 0.1 times with a probability of 0.02. ;
  • the embodiment of the present application includes the following steps:
  • Step S201 Collect image data.
  • the embodiment of this application needs to reconstruct a small particle composed of 10,000 atoms, and obtain its simulation by tilting at angles of ⁇ 25°, ⁇ 20°, ⁇ 15°, ⁇ 5°, and 0°.
  • Image, columns 1, 2, and 3 in Figure 3 correspond to images of 25°, 0°, and -25° respectively.
  • Step S202 Calculate the image.
  • Embodiments of the present application can scatter points at equal intervals in real space based on image data and use linear accumulation to obtain calculated images at each tilt angle of multiple tilt angles.
  • the initial scatter point set is a cylinder composed of equally spaced atoms.
  • the calculated images at various angles at the initial iteration are obtained, among which the 1st, 2nd, and 3rd columns correspond to images of 25°, 0°, and -25° respectively.
  • Step S203 Calculate the loss function and iteratively update the target parameters.
  • the embodiment of this application can calculate the loss function and the gradient of the target parameters, and use the following formula to iteratively update the target parameters:
  • the line chart of the value of the loss function with the iterative process is shown in Figure 6; the schematic diagram of the atomic model obtained during final convergence is shown in Figure 7; the difference reference diagram between the calculated image and the experimental image is shown in Figure 8, where , the first column is the calculation diagram, the second column is the experimental diagram, the third column is the difference between the two, the first row is the data when the tilt angle is 25°, the second row is the data when the tilt angle is 20°;
  • the distance histogram between the calculated atomic coordinates and the real coordinates is shown in Figure 9.
  • the three-dimensional reconstruction method of the local orbit function proposed in the embodiment of the present application, based on the collected image data of the sample at multiple tilt angles, calculated images at multiple tilt angles are obtained, and then the loss of the calculated image is calculated function to obtain the gradient of the optimization parameters, thereby obtaining the optimization parameters.
  • the three-dimensional reconstruction result is obtained, which can streamline the three-dimensional coordinate reconstruction process, not only reducing the need for hardware requirements, it can also reduce tedious human intervention and save labor costs.
  • iteration process it can also correct sample drift and mechanical tilt errors of the sample stage, thereby improving the accuracy of three-dimensional coordinate reconstruction.
  • Figure 10 is a block schematic diagram of a three-dimensional reconstruction device of a local orbit function according to an embodiment of the present application.
  • the three-dimensional reconstruction device 10 of the local orbit function includes: an acquisition module 100, an accumulation module 200 and a reconstruction module 300.
  • the acquisition module 100 is used to acquire image data of samples at multiple tilt angles.
  • the accumulation module 200 is used to scatter points at equal intervals in the real space based on the image data and use linear accumulation to obtain calculated images at each tilt angle of multiple tilt angles.
  • the reconstruction module 300 is used to calculate the loss function based on the calculated image at each tilt angle, obtain the gradient of the loss function with respect to the parameters to be optimized, and optimize the parameters to be optimized based on the gradient, screen out atoms that meet the preset conditions, and re- count Calculate a new loss function until the convergence conditions are met, reconstruct the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function in real space, and obtain the three-dimensional reconstruction result.
  • the collection module 100 includes: an acquisition unit and a noise reduction unit.
  • the acquisition unit is used to acquire initial image data of the sample at multiple tilt angles.
  • the noise reduction unit is used to perform centering and noise reduction processing on the initial image data, and normalizes the processed image to obtain image data.
  • the calculation formula of the loss function is:
  • W represents the loss function
  • M represents the total number of tilt angles
  • j represents the serial number of the tilt angle
  • i represents the local orbit function serial number
  • P represents the side length of the image
  • u represents the abscissa of each pixel in the image
  • v represents the ordinate of each pixel in the image
  • f j (u, v) represents the image calculated at the j-th angle
  • b j (u, v) represents the image obtained experimentally at the j-th angle.
  • the reconstruction module 300 includes: a detection unit and a protection unit.
  • the detection unit is used to detect the parameter deletion unit of all local orbit functions after iteratively updating the parameters in each step, and is used to detect that the parameters of any local orbit function are smaller than those obtained from all the local orbit function parameters.
  • the threshold while deleting any local orbit function, establish a binary tree to obtain the local orbit function pair index whose center distance is smaller than the preset pixel, and delete any local orbit function in the local orbit function pair.
  • the protection unit is used to reduce the parameters of each local orbit function to a preset multiple with a preset probability after iteratively updating the parameters and deleting the local orbit function at each step, and sets the protection time so that during the protection During this time, filtering operations and deletion operations are not allowed.
  • the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, three Euler angles corresponding to each corner, and At least one of the drift of the sample and the mechanical tilt deviation of the sample stage.
  • the three-dimensional reconstruction device of the local orbit function proposed in the embodiment of the present application, based on the collected image data of the sample at multiple tilt angles, calculated images at multiple tilt angles are obtained, and then the loss of the calculated image is calculated function to obtain the gradient of the optimization parameters, thereby obtaining the optimization parameters.
  • the three-dimensional reconstruction result is obtained, which can streamline the three-dimensional coordinate reconstruction process, not only reducing the need for hardware requirements, it can also reduce tedious human intervention and save labor costs.
  • iteration process it can also correct sample drift and mechanical tilt errors of the sample stage, thereby improving the accuracy of three-dimensional coordinate reconstruction.
  • FIG 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device may include:
  • the processor 1102 executes the program, it implements the three-dimensional reconstruction method of the local orbit function provided in the above embodiment.
  • electronic equipment also includes:
  • Communication interface 1103 is used for communication between the memory 1101 and the processor 1102.
  • Memory 1101 is used to store computer programs that can run on the processor 1102.
  • the memory 1101 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 11, but it does not mean that there is only one bus or one type of bus.
  • the memory 1101, the processor 1102 and the communication interface 1103 are integrated on one chip, the memory 1101, the processor 1102 and the communication interface 1103 can communicate with each other through the internal interface.
  • the processor 1102 may be a central processing unit (Central Processing Unit, CPU for short), or an Application Specific Integrated Circuit (ASIC for short), or one or more processors configured to implement the embodiments of the present application. integrated circuit.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • This embodiment also provides a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the above three-dimensional reconstruction method of the local orbital function is implemented.
  • first and second are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as “first” and “second” may explicitly or implicitly include at least one of these features. In the description of this application, “N” means at least two, such as two, three, etc., unless otherwise clearly and specifically limited.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Non-exhaustive list of computer readable media include the following: electrical connections with one or N wires (electronic device), portable computer disk cartridge (magnetic device), random access memory (RAM), Read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, and subsequently edited, interpreted, or otherwise suitable as necessary. process to obtain the program electronically and then store it in computer memory.
  • N steps or methods may be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a suitable instruction execution system For example, if it is implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: discrete logic gate circuits with logic functions for implementing data signals; Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • each functional unit in various embodiments of the present application can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
  • the storage media mentioned above can be read-only memory, magnetic disks or optical disks, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Pure & Applied Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Algebra (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Apparatus For Radiation Diagnosis (AREA)
  • Image Processing (AREA)

Abstract

The present application discloses a three-dimensional reconstruction method and apparatus for a local orbital function. The method comprises: collecting image data of a sample at a plurality of tilt angles; scattering points at equal intervals in a real space and performing linear accumulation to obtain a calculated image at each tilt angle of the plurality of tilt angles; and further obtaining a gradient of a loss function with respect to a parameter to be optimized, optimizing said parameter according to the gradient, screening atoms satisfying a preset condition, recalculating a new loss function until a convergence condition is satisfied, and reconstructing three-dimensional space coordinates of a center of a local orbital function and the shape of the local orbital function in the real space to obtain a three-dimensional reconstruction result. Thus, the technical problems in the related art that three-dimensional coordinates of atoms can only be obtained from a reconstructed three-dimensional density matrix, and errors cannot be corrected, resulting in a relatively high hardware requirement in a reconstruction process and poor precision of reconstructed three-dimensional coordinates are solved.

Description

局域轨道函数的三维重构方法及装置Three-dimensional reconstruction method and device of local orbital function
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202210381325.3,申请日为2022年04月12日申请的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with application number 202210381325.3 and the filing date is April 12, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated into this application as a reference.
技术领域Technical field
本申请涉及三维成像技术领域,特别涉及一种局域轨道函数的三维重构方法及装置。The present application relates to the field of three-dimensional imaging technology, and in particular to a three-dimensional reconstruction method and device of a local orbit function.
背景技术Background technique
通常情况下样品的电子显微镜照片中蕴含着样品丰富的、难以直观获取的信息,应用三维重构算法从样品一系列电子显微镜投影照片中获取样品的三维结构信息对在根本的层面上理解材料成分和性能的关系有很大帮助。Usually, the electron microscope photos of the sample contain rich information that is difficult to obtain intuitively. Applying a three-dimensional reconstruction algorithm to obtain the three-dimensional structural information of the sample from a series of electron microscope projection photos of the sample is essential for understanding the material composition at a fundamental level. It helps a lot with performance.
近年来,随着数据采集方法、迭代三维重建算法和后处理方法的发展,AET(Atomic Electrical Tomography,原子尺度电子层析成像)已成为三维和四维原子尺度结构表征的有力工具,它提供了在原子水平上关联材料结构和性质的能力,相关技术中的AET能够以亚埃精度确定三维原子坐标和元素种类,并揭示其在动态过程中的原子尺度时间演化。In recent years, with the development of data acquisition methods, iterative three-dimensional reconstruction algorithms and post-processing methods, AET (Atomic Electrical Tomography, atomic scale electron tomography) has become a powerful tool for the characterization of three-dimensional and four-dimensional atomic scale structures. It provides The ability to correlate the structure and properties of materials at the atomic level. AET in related technologies can determine three-dimensional atomic coordinates and element species with sub-angstrom accuracy, and reveal their atomic-scale time evolution in dynamic processes.
然而,相关技术中,AET算法从重构出的三维密度矩阵中通过寻峰来获取原子的三维坐标,对硬件的需求较高,且在寻峰过程中,需要进行繁琐的人为干预,难以避免因人为干预造成的误差,同时,在直接对原子的三维坐标进行重构的同时,无法对采集图像时存在的样品漂移、样品台的机械倾转误差进行矫正,准确度较差,有待改善。However, in the related technology, the AET algorithm obtains the three-dimensional coordinates of atoms through peak searching from the reconstructed three-dimensional density matrix, which has high hardware requirements, and during the peak searching process, cumbersome human intervention is required, which is difficult to avoid Errors caused by human intervention. At the same time, while directly reconstructing the three-dimensional coordinates of atoms, it is impossible to correct the sample drift and mechanical tilt error of the sample stage when collecting images. The accuracy is poor and needs to be improved.
发明内容Contents of the invention
本申请提供一种局域轨道函数的三维重构方法及装置,以解决相关技术中只能从重构出的三维密度矩阵中获取原子的三维坐标,且无法对误差进行校正,导致重构的过程对硬件需求较高,且重构的三维坐标精度较差的技术问题。This application provides a method and device for three-dimensional reconstruction of local orbital functions to solve the problem in related technologies that only the three-dimensional coordinates of atoms can be obtained from the reconstructed three-dimensional density matrix, and the errors cannot be corrected, resulting in reconstruction problems. The process has high hardware requirements and the reconstructed three-dimensional coordinates have poor accuracy.
本申请第一方面实施例提供一种局域轨道函数的三维重构方法,包括以下步骤:采集多个倾转角度下的样品的图像数据;基于所述图像数据,在实空间等间隔进行撒点并利用线性累加,得到所述多个倾转角度的每个倾转角度下的计算图像;以及根据每个倾转角度下的计算图像计算损失函数,并获取所述损失函数关于待优化参数的梯度,且根据所述梯度优化所述待优化参数,筛选出满足预设条件的原子,重新计算新的损失函数,直至满足 收敛条件,在所述实空间重构局域轨道函数的中心的三维空间坐标和局域轨道函数的形状,得到三维重构结果。The first embodiment of the present application provides a three-dimensional reconstruction method of a local orbit function, which includes the following steps: collecting image data of samples at multiple tilt angles; based on the image data, scattering is performed at equal intervals in real space. points and use linear accumulation to obtain the calculated image at each tilt angle of the multiple tilt angles; and calculate the loss function based on the calculated image at each tilt angle, and obtain the parameters of the loss function to be optimized gradient, and optimize the parameters to be optimized according to the gradient, screen out the atoms that meet the preset conditions, and recalculate the new loss function until the The convergence condition is to reconstruct the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function in the real space to obtain a three-dimensional reconstruction result.
可选地,在本申请的一个实施例中,采集所述多个倾转角度下的样品的图像数据,包括:获取所述多个倾转角度下的样品的初始图像数据;对所述初始图像数据进行对中合轴和降噪处理,并由处理后的图像归一化,得到所述图像数据。Optionally, in one embodiment of the present application, collecting image data of the sample at the multiple tilt angles includes: acquiring initial image data of the sample at the multiple tilt angles; The image data is subjected to alignment and noise reduction processing, and the processed image is normalized to obtain the image data.
可选地,在本申请的一个实施例中,所述损失函数的计算公式为:
Optionally, in one embodiment of the present application, the calculation formula of the loss function is:
其中,W代表损失函数,M代表倾转角度的总数,j代表倾转角度的序号,i代表局域轨道函数序号,P代表图像的边长,u代表图像中每个像素的横坐标,v代表图像中每个像素的纵坐标,fj(u,v)代表第j个角度下计算得到的图像,bj(u,v)代表第j个角度下实验所得的图像。Among them, W represents the loss function, M represents the total number of tilt angles, j represents the serial number of the tilt angle, i represents the local orbit function serial number, P represents the side length of the image, u represents the abscissa of each pixel in the image, v represents the ordinate of each pixel in the image, f j (u, v) represents the image calculated at the j-th angle, and b j (u, v) represents the image obtained experimentally at the j-th angle.
可选地,在本申请的一个实施例中,所述筛选出满足预设条件的原子,包括:在每一步迭代更新完参数后,检测所有局域轨道函数的参数在检测到任一局域轨道函数的参数小于由所述所有局域轨道函数参数得到的阈值时,删除所述任一局域轨道函数的同时,通过建立二叉树得到局域轨道函数中心距离小于预设像素的局域轨道函数对索引,删除局域轨道函数对中的任意一个局域轨道函数;每一步迭代更新完参数并删除完所述局域轨道函数后,将每个局域轨道函数的参数均以预设概率减小为预设倍数,且设置保护时间,使得在所述保护时间内,不允许执行筛选操作和删除操作。Optionally, in one embodiment of the present application, filtering out atoms that meet preset conditions includes: after iteratively updating the parameters at each step, detecting the parameters of all local orbital functions before detecting any local When the parameters of the orbital function are less than the threshold obtained from all the parameters of the local orbital function, while deleting any of the local orbital functions, a local orbital function whose center distance is smaller than the preset pixel is obtained by establishing a binary tree. For the index, delete any local orbit function in the pair of local orbit functions; after each step iteratively updates the parameters and deletes the local orbit function, reduce the parameters of each local orbit function by a preset probability. is a preset multiple, and the protection time is set so that filtering operations and deletion operations are not allowed to be performed within the protection time.
可选地,在本申请的一个实施例中,所述待优化参数包括每个局域轨道函数中心的三维空间坐标、描述其形状的参数、每个转角对应的三个欧拉角、每个角度下样品的漂移、样品台的机械倾转偏差中的至少一项。Optionally, in one embodiment of the present application, the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, three Euler angles corresponding to each corner, and each At least one of the drift of the sample under the angle and the mechanical tilt deviation of the sample stage.
本申请第二方面实施例提供一种局域轨道函数的三维重构装置,包括:采集模块,用于采集多个倾转角度下的样品的图像数据;累加模块,用于基于所述图像数据,在实空间等间隔进行撒点并利用线性累加,得到所述多个倾转角度的每个倾转角度下的计算图像;以及重构模块,用于根据每个倾转角度下的计算图像计算损失函数,并获取所述损失函数关于待优化参数的梯度,且根据所述梯度优化所述待优化参数,筛选出满足预设条件的原子,重新计算新的损失函数,直至满足收敛条件,在所述实空间重构局域轨道函数的中心的三维空间坐标和局域轨道函数的形状,得到三维重构结果。The second embodiment of the present application provides a three-dimensional reconstruction device of a local orbit function, including: a collection module for collecting image data of samples at multiple tilt angles; an accumulation module for based on the image data , scatter points at equal intervals in the real space and use linear accumulation to obtain the calculated image at each tilt angle of the multiple tilt angles; and a reconstruction module used to calculate the image at each tilt angle according to Calculate the loss function, obtain the gradient of the loss function with respect to the parameters to be optimized, and optimize the parameters to be optimized according to the gradient, screen out atoms that meet the preset conditions, and recalculate the new loss function until the convergence conditions are met, The three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function are reconstructed in the real space to obtain a three-dimensional reconstruction result.
可选地,在本申请的一个实施例中,所述采集模块包括:获取单元,用于获取所述多个倾转角度下的样品的初始图像数据;降噪单元,用于对所述初始图像数据进行对中合轴和降噪处理,并由处理后的图像归一化,得到所述图像数据。Optionally, in one embodiment of the present application, the acquisition module includes: an acquisition unit, used to acquire initial image data of the sample at the multiple tilt angles; and a noise reduction unit, used to perform the initial image data on the sample. The image data is subjected to alignment and noise reduction processing, and the processed image is normalized to obtain the image data.
可选地,在本申请的一个实施例中,所述损失函数的计算公式为:
Optionally, in one embodiment of the present application, the calculation formula of the loss function is:
其中,W代表损失函数,M代表倾转角度的总数,j代表倾转角度的序号,i代表局域轨道函数序号,P代表图像的边长,u代表图像中每个像素的横坐标,v代表图像中每个像素的纵坐标,fj(u,v)代表第j个角度下计算得到的图像,bj(u,v)代表第j个角度下实验所得的图像。Among them, W represents the loss function, M represents the total number of tilt angles, j represents the serial number of the tilt angle, i represents the local orbit function serial number, P represents the side length of the image, u represents the abscissa of each pixel in the image, v represents the ordinate of each pixel in the image, f j (u, v) represents the image calculated at the j-th angle, and b j (u, v) represents the image obtained experimentally at the j-th angle.
可选地,在本申请的一个实施例中,所述重构模块包括:检测单元,用于在每一步迭代更新完参数后,检测所有局域轨道函数的参数删除单元,用于在检测到任一局域轨道函数的参数小于由所述所有局域轨道函数参数得到的阈值时,删除所述任一局域轨道函数的同时,通过建立二叉树得到局域轨道函数中心距离小于预设像素的局域轨道函数对索引,删除局域轨道函数对中的任意一个局域轨道函数;保护单元,用于在每一步迭代更新完参数并删除完所述局域轨道函数后,将每个局域轨道函数的参数均以预设概率减小为预设倍数,且设置保护时间,使得在所述保护时间内,不允许执行筛选操作和删除操作。Optionally, in one embodiment of the present application, the reconstruction module includes: a detection unit, used to detect the parameter deletion unit of all local orbit functions after the parameters are iteratively updated in each step, and a unit used to detect the parameter deletion unit of all local orbit functions after detecting When the parameters of any local orbit function are less than the threshold obtained from all the parameters of the local orbit function, while deleting the any local orbit function, a binary tree is established to obtain the center distance of the local orbit function less than the preset pixel. The local orbit function pair index is used to delete any local orbit function in the local orbit function pair; the protection unit is used to update each local orbit function after iteratively updating the parameters and deleting the local orbit function at each step. The parameters of the orbital function are all reduced to a preset multiple with a preset probability, and a protection time is set so that filtering operations and deletion operations are not allowed to be performed within the protection time.
可选地,在本申请的一个实施例中,所述待优化参数包括每个局域轨道函数中心的三维空间坐标、描述其形状的参数、每个转角对应的三个欧拉角、每个角度下样品的漂移、样品台的机械倾转偏差中的至少一项。Optionally, in one embodiment of the present application, the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, three Euler angles corresponding to each corner, and each At least one of the drift of the sample under the angle and the mechanical tilt deviation of the sample stage.
本申请第三方面实施例提供一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序,以实现如上述实施例所述的局域轨道函数的三维重构方法。A third embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor executes the program to implement The three-dimensional reconstruction method of local orbital function as described in the above embodiment.
本申请第四方面实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上述实施例所述的局域轨道函数的三维重构方法。A fourth embodiment of the present application provides a computer-readable storage medium that stores computer instructions, and the computer instructions are used to cause the computer to execute the local orbit function as described in the above embodiment. Three-dimensional reconstruction method.
本申请实施例基于采集的多个倾转角度下的样品的图像数据,获得多个倾转角度下的计算图像,进而计算出计算图像的损失函数,求取优化参数的梯度,从而获得优化参数,在经过反复筛选和计算后,直至损失函数满足收敛条件,进而获得三维重构结果,可以精简三维坐标的重构过程,不仅降低了对硬件的要求,还能减少繁琐的人为干预,节约劳动力成本,同时在迭代过程中,还可以矫正样品漂移和样品台的机械倾转误差,进而提高三维坐标重构的准确性。由此,解决了相关技术中只能从重构出的三维密度矩阵中获取原子的三维坐标,且无法对误差进行校正,导致重构的过程对硬件需求较高,且重构的三维坐标精度较差的技术问题。The embodiment of the present application obtains calculated images at multiple tilt angles based on the collected image data of the sample at multiple tilt angles, and then calculates the loss function of the calculated image, and obtains the gradient of the optimized parameters, thereby obtaining the optimized parameters. , after repeated screening and calculation, until the loss function meets the convergence conditions, the three-dimensional reconstruction result is obtained, which can streamline the three-dimensional coordinate reconstruction process, not only reducing the requirements for hardware, but also reducing tedious human intervention and saving labor At the same time, during the iterative process, sample drift and mechanical tilt error of the sample stage can also be corrected, thereby improving the accuracy of three-dimensional coordinate reconstruction. This solves the problem in related technologies that the three-dimensional coordinates of atoms can only be obtained from the reconstructed three-dimensional density matrix, and the errors cannot be corrected, resulting in high hardware requirements for the reconstruction process and the accuracy of the reconstructed three-dimensional coordinates. Poor technical issues.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。 Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
附图说明Description of the drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and readily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
图1为根据本申请实施例提供的一种局域轨道函数的三维重构方法的流程图;Figure 1 is a flow chart of a three-dimensional reconstruction method of local orbital functions provided according to an embodiment of the present application;
图2为根据本申请一个实施例的局域轨道函数的三维重构方法的流程图;Figure 2 is a flow chart of a three-dimensional reconstruction method of local orbital functions according to an embodiment of the present application;
图3为根据本申请一个实施例的待重构的10000个原子构成的小颗粒在25°、0°和-25°的模拟示意图;Figure 3 is a schematic diagram of simulations at 25°, 0° and -25° of small particles composed of 10,000 atoms to be reconstructed according to an embodiment of the present application;
图4为根据本申请一个实施例的局域轨道函数的三维重构方法的初始输入的原子坐标构成的散点示意图;Figure 4 is a schematic diagram of scatter points composed of the initial input atomic coordinates of the three-dimensional reconstruction method of the local orbital function according to an embodiment of the present application;
图5为根据本申请一个实施例的局域轨道函数的三维重构方法的初始输入的局域轨道函数在倾转角度分别为25°、0°和-25°的计算示意图;Figure 5 is a schematic diagram of the calculation of the initial input local orbit function at tilt angles of 25°, 0° and -25° respectively according to the three-dimensional reconstruction method of the local orbit function according to an embodiment of the present application;
图6为根据本申请一个实施例的局域轨道函数的三维重构方法的迭代过程中损失函数的值的折线示意图;Figure 6 is a schematic polyline diagram of the value of the loss function during the iterative process of the three-dimensional reconstruction method of the local orbit function according to an embodiment of the present application;
图7为根据本申请一个实施例的局域轨道函数的三维重构方法的收敛后获得的原子模型示意图;Figure 7 is a schematic diagram of an atomic model obtained after convergence of the three-dimensional reconstruction method of local orbital functions according to an embodiment of the present application;
图8为根据本申请一个实施例的局域轨道函数的三维重构方法的收敛时计算图像与实验图像的差值;Figure 8 shows the difference between the calculated image and the experimental image during convergence of the three-dimensional reconstruction method of the local orbit function according to one embodiment of the present application;
图9为根据本申请一个实施例的局域轨道函数的三维重构方法的收敛计算所得原子坐标与真实坐标之间的距离直方图;Figure 9 is a histogram of the distance between the atomic coordinates and the real coordinates obtained by the convergence calculation of the three-dimensional reconstruction method of the local orbital function according to an embodiment of the present application;
图10为根据本申请实施例提供的一种局域轨道函数的三维重构装置的结构示意图;Figure 10 is a schematic structural diagram of a three-dimensional reconstruction device of a local orbit function according to an embodiment of the present application;
图11为根据本申请实施例提供的电子设备的结构示意图。FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present application, but should not be construed as limiting the present application.
下面参考附图描述本申请实施例的局域轨道函数的三维重构方法及装置。针对上述背景技术中心提到的相关技术只能从重构出的三维密度矩阵中获取原子的三维坐标,且无法对误差进行校正,导致重构的过程对硬件需求较高,且重构的三维坐标精度较差的技术问题,本申请提供了一种局域轨道函数的三维重构方法,在该方法中,基于采集的多个倾转角度下的样品的图像数据,获得多个倾转角度下的计算图像,进而计算出计算图像的损失函数,求取优化参数的梯度,从而获得优化参数,在经过反复筛选和计算后,直至损失函 数满足收敛条件,进而获得三维重构结果,可以精简三维坐标的重构过程,不仅降低了对硬件的要求,还能减少繁琐的人为干预,节约劳动力成本,同时在迭代过程中,还可以矫正样品漂移和样品台的机械倾转误差,进而提高三维坐标重构的准确性。由此,解决了相关技术中只能从重构出的三维密度矩阵中获取原子的三维坐标,且无法对误差进行校正,导致重构的过程对硬件需求较高,且重构的三维坐标精度较差的技术问题。The three-dimensional reconstruction method and device of the local orbit function according to the embodiment of the present application will be described below with reference to the accompanying drawings. Regarding the above background technology center, the related technologies mentioned can only obtain the three-dimensional coordinates of atoms from the reconstructed three-dimensional density matrix, and cannot correct the errors, resulting in high hardware requirements for the reconstruction process, and the reconstructed three-dimensional To solve the technical problem of poor coordinate accuracy, this application provides a three-dimensional reconstruction method of local orbit function. In this method, multiple tilt angles are obtained based on the collected image data of the sample at multiple tilt angles. Calculate the image under the calculation image, then calculate the loss function of the calculation image, obtain the gradient of the optimization parameters, and obtain the optimization parameters. After repeated screening and calculation, until the loss function The data satisfies the convergence conditions, and then the three-dimensional reconstruction results are obtained, which can streamline the three-dimensional coordinate reconstruction process, which not only reduces the requirements for hardware, but also reduces tedious human intervention and saves labor costs. At the same time, it can also be corrected during the iterative process. Sample drift and mechanical tilt error of the sample stage, thereby improving the accuracy of three-dimensional coordinate reconstruction. This solves the problem in related technologies that the three-dimensional coordinates of atoms can only be obtained from the reconstructed three-dimensional density matrix, and the errors cannot be corrected, resulting in high hardware requirements for the reconstruction process and the accuracy of the reconstructed three-dimensional coordinates. Poor technical issues.
具体而言,图1为本申请实施例所提供的一种局域轨道函数的三维重构方法的流程示意图。Specifically, FIG. 1 is a schematic flowchart of a three-dimensional reconstruction method of a local orbital function provided by an embodiment of the present application.
如图1所示,该局域轨道函数的三维重构方法包括以下步骤:As shown in Figure 1, the three-dimensional reconstruction method of the local orbit function includes the following steps:
在步骤S101中,采集多个倾转角度下的样品的图像数据。In step S101, image data of the sample at multiple tilt angles is collected.
在实际执行过程中,本申请实施例可以拍摄样品在一系列不同转角下的HAADF(High-Angle Annular Dark-Field imaging,高角环形暗场像)图像,进而获得样品多个倾转角度下的样品的图像数据,便于后续对图像数据进行处理,并进行三维坐标重构。In the actual implementation process, the embodiment of the present application can capture HAADF (High-Angle Annular Dark-Field imaging) images of the sample at a series of different rotation angles, and then obtain the sample at multiple tilt angles. The image data is convenient for subsequent processing of image data and three-dimensional coordinate reconstruction.
可选地,在本申请的一个实施例中,采集多个倾转角度下的样品的图像数据,包括:获取多个倾转角度下的样品的初始图像数据;对初始图像数据进行对中合轴和降噪处理,并由处理后的图像归一化,得到图像数据。Optionally, in one embodiment of the present application, collecting image data of samples at multiple tilt angles includes: acquiring initial image data of samples at multiple tilt angles; centering and combining the initial image data. axis and noise reduction processing, and normalized by the processed image to obtain image data.
具体地,本申请实施例通过拍摄获得多个倾转角度下的样品的初始图像数据后,为保证后续三维坐标重构的准确性,可以对初始图像数据进行对中和轴和降噪处理,在便于后续计算的同时,避免噪点对三维坐标重构的影响,再通过线性归一化,得到可用于后续计算的图像数据。Specifically, after the embodiment of the present application obtains the initial image data of the sample at multiple tilt angles through shooting, in order to ensure the accuracy of subsequent three-dimensional coordinate reconstruction, the initial image data can be subjected to centering and axis and noise reduction processing. While facilitating subsequent calculations, it avoids the impact of noise on three-dimensional coordinate reconstruction, and then through linear normalization, image data that can be used for subsequent calculations is obtained.
其中,线性归一化的具体过程如下:
Among them, the specific process of linear normalization is as follows:
其中,M代表倾转角度的总数,j代表倾转角度的序号,u代表图像中每个像素的横坐标,v代表图像中每个像素的纵坐标,bj(u,v)代表第j个角度下实验得到的图像。Among them, M represents the total number of tilt angles, j represents the serial number of the tilt angle, u represents the abscissa of each pixel in the image, v represents the ordinate of each pixel in the image, and b j (u, v) represents the jth Images obtained from experiments at several angles.
在步骤S102中,基于图像数据,在实空间等间隔进行撒点并利用线性累加,得到多个倾转角度的每个倾转角度下的计算图像。In step S102, based on the image data, points are scattered at equal intervals in the real space and linear accumulation is used to obtain calculated images at each tilt angle of multiple tilt angles.
作为一种可能实现的方式,本申请实施例首先可以基于上述步骤获得的图像数据,在实空间以一定规律设置离散化、有限数目的局域轨道函数作为迭代过程的初始输入,其中,每个局域轨道函数的强度H可以设置为1e-5,宽度可以设置为1.4,各角度下的样品漂移量(uj,vj)和欧拉转角的偏移量皆可以设置为0。 As a possible implementation method, the embodiment of the present application can first set up a discretized and limited number of local orbit functions in real space based on the image data obtained in the above steps as the initial input of the iterative process, where each The strength H of the local orbital function can be set to 1e -5 , the width can be set to 1.4, the sample drift at each angle (u j , v j ) and the offset of the Euler rotation angle Both can be set to 0.
具体地,本申请实施例可以将不同角度下的局域轨道函数中心的三维坐标表示为:
Specifically, the embodiment of the present application can express the three-dimensional coordinates of the local orbit function center at different angles as:
其中,为第j个角度对应的分布绕x轴、y轴、z轴的欧拉角,(xi,yi,zi)为第i个局域轨道函数在未旋转(三个欧拉角皆为0)时的中心三维位置坐标,(uij,vij,wij)为第i个局域轨道函数在第j个角度下的中心三维位置坐标。in, is the Euler angle of the distribution corresponding to the j-th angle around the x-axis, y-axis, and z-axis, (x i , y i , z i ) is the i-th local orbit function without rotation (all three Euler angles are is the central three-dimensional position coordinate when is 0), (u ij , v ij , w ij ) is the central three-dimensional position coordinate of the i-th local orbit function at the j-th angle.
进一步地,本申请实施例可以计算各角度下局域轨道中心的坐标:
Further, this embodiment of the application can calculate the coordinates of the local orbit center at each angle:
进而,本申请实施例可以根据上述坐标,将局域轨道函数表示为三维高斯函数,计算每个局域轨道函数在各个角度下的值:
Furthermore, embodiments of the present application can represent the local orbit function as a three-dimensional Gaussian function based on the above coordinates, and calculate the value of each local orbit function at each angle:
其中,Dij表示第i个局域轨道函数在第j个角度下在实空间(u,v,w)位置处的值,Hi和Bi为待优化参数,分别代表第i个局域轨道函数的强度与宽度,(u,v,w)为实空间三维位置坐标,(uij,vij,wij)为第i个局域轨道函数在第j个角度下的中心三维位置坐标,(uj,vj,wj)为第j个角度下局域轨道函数中心相对于真实位置(uij,vij,wij)的三维方向漂移。Among them, D ij represents the value of the i-th local orbit function at the j-th angle in the real space (u, v, w), H i and B i are the parameters to be optimized, representing the i-th local orbit function respectively. The intensity and width of the orbit function, (u, v, w) are the three-dimensional position coordinates of the real space, (u ij , v ij , w ij ) are the center three-dimensional position coordinates of the i-th local orbit function at the j-th angle , (u j ,v j ,w j ) is the three-dimensional drift of the local orbit function center relative to the true position (u ij ,v ij ,w ij ) at the jth angle.
再通过线性累加,本申请实施例可以得到计算图像:
Then through linear accumulation, the calculation image can be obtained in the embodiment of this application:
其中,N代表局域轨道函数总个数,Dij表示第i个局域轨道函数在第j个角度下在实空间(u,v,w)位置处的值。Among them, N represents the total number of local orbit functions, and D ij represents the value of the i-th local orbit function at the j-th angle in the real space (u, v, w).
在步骤S103中,根据每个倾转角度下的计算图像计算损失函数,并获取损失函数关于待优化参数的梯度,且根据梯度优化待优化参数,筛选出满足预设条件的原子,重新计算新的损失函数,直至满足收敛条件,在实空间重构局域轨道函数的中心的三维空间坐标和局域轨道函数的形状,得到三维重构结果。In step S103, the loss function is calculated based on the calculation image at each tilt angle, and the gradient of the loss function with respect to the parameters to be optimized is obtained, and the parameters to be optimized are optimized according to the gradient, atoms that meet the preset conditions are screened out, and new atoms are recalculated. The loss function until the convergence condition is met, the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function are reconstructed in real space, and the three-dimensional reconstruction result is obtained.
在实际执行过程中,本申请实施例可以利用梯度的优化算法求解参数,并通过多次计算和筛选,在实空间重构局域轨道函数的中心的三维空间坐标和局域轨道函数的形状,得到三维重构结果。 During the actual execution process, the embodiments of the present application can use the gradient optimization algorithm to solve the parameters, and reconstruct the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function in real space through multiple calculations and screenings. Obtain three-dimensional reconstruction results.
具体地,本申请实施例可以利用上述步骤中计算获得的计算图像,计算损失函数,进而获取损失函数关于待优化参数的梯度,利用梯度的优化算法,优化待优化参数,进而筛选出满足预设条件的原子,并重复计算损失函数,直至满足收敛条件,从而在实空间重构局域轨道函数的中心的三维空间坐标和局域轨道函数的形状,得到三维重构结果。Specifically, embodiments of the present application can use the calculation images calculated in the above steps to calculate the loss function, and then obtain the gradient of the loss function with respect to the parameters to be optimized, and use the gradient optimization algorithm to optimize the parameters to be optimized, and then filter out the parameters that satisfy the preset The atom of the condition is calculated repeatedly until the convergence condition is met, thereby reconstructing the three-dimensional space coordinates of the center of the local orbital function and the shape of the local orbital function in real space, and obtaining the three-dimensional reconstruction result.
本申请实施例可以直接获得样品原子的三维坐标,跳过了先得到三维密度矩阵再寻峰得到三维坐标的过程,不仅降低了对硬件的要求,还去除了寻峰过程中的繁琐人为干预,节约了劳动成本,同时在迭代过程中,还可以矫正样品漂移和样品台的机械倾转误差,进而提高三维坐标重构的准确性。The embodiments of the present application can directly obtain the three-dimensional coordinates of the sample atoms, skipping the process of first obtaining the three-dimensional density matrix and then searching for peaks to obtain the three-dimensional coordinates. This not only reduces the requirements for hardware, but also eliminates cumbersome human intervention in the process of peak searching. This saves labor costs, and at the same time, during the iterative process, sample drift and mechanical tilt errors of the sample stage can be corrected, thereby improving the accuracy of three-dimensional coordinate reconstruction.
需要注意的是,预设条件可以由本领域技术人员根据实际情况进行设置,在此不做具体限制。It should be noted that the preset conditions can be set by those skilled in the art according to actual conditions, and are not specifically limited here.
可选地,在本申请的一个实施例中,损失函数的计算公式为:
Optionally, in one embodiment of this application, the calculation formula of the loss function is:
其中,W代表损失函数,M代表倾转角度的总数,j代表倾转角度的序号,i代表局域轨道函数序号,P代表图像的边长,u代表图像中每个像素的横坐标,v代表图像中每个像素的纵坐标,fj(u,v)代表第j个角度下计算得到的图像,bj(u,v)代表第j个角度下实验所得的图像。Among them, W represents the loss function, M represents the total number of tilt angles, j represents the serial number of the tilt angle, i represents the local orbit function serial number, P represents the side length of the image, u represents the abscissa of each pixel in the image, v represents the ordinate of each pixel in the image, f j (u, v) represents the image calculated at the j-th angle, and b j (u, v) represents the image obtained experimentally at the j-th angle.
具体地,本申请实施例可以通过上述步骤中的计算图像计算损失函数,并将损失函数写为关于计算图像和实验图像的函数:
Specifically, the embodiment of the present application can calculate the loss function through the calculation image in the above steps, and write the loss function as a function about the calculation image and the experimental image:
其中,W代表损失函数,M代表倾转角度的总数,j代表倾转角度的序号,i代表局域轨道函数序号,P代表图像的边长,u代表图像中每个像素的横坐标,v代表图像中每个像素的纵坐标,fj(u,v)代表第j个角度下计算得到的图像,bj(u,v)代表第j个角度下实验所得的图像,mj(u,v)为第j个角度下计算图像与实验图像之差。Among them, W represents the loss function, M represents the total number of tilt angles, j represents the serial number of the tilt angle, i represents the local orbit function serial number, P represents the side length of the image, u represents the abscissa of each pixel in the image, v represents the ordinate of each pixel in the image, f j (u, v) represents the image calculated at the j-th angle, b j (u, v) represents the experimental image at the j-th angle, m j (u ,v) is the difference between the calculated image and the experimental image at the jth angle.
可选地,在本申请的一个实施例中,待优化参数包括每个局域轨道函数中心的三维空间坐标、描述其形状的参数,每个转角对应的三个欧拉角,每个角度下样品的漂移、样品台的机械倾转偏差中的至少一项。Optionally, in one embodiment of the present application, the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, three Euler angles corresponding to each corner, and At least one of the drift of the sample and the mechanical tilt deviation of the sample stage.
在获取损失函数后,本申请实施例可以求出损失函数关于局域轨道函数中心三维坐标(xi,yi,zi)、强度Hi、宽度Bi、每个角度下样品漂移量(uj,vj)、样品台角度偏差量等参数的梯度。After obtaining the loss function, the embodiment of the present application can calculate the loss function with respect to the three-dimensional coordinates (x i , y i , z i ) of the center of the local orbit function, the intensity Hi , the width Bi , and the sample drift amount at each angle ( u j ,v j ), sample stage angle deviation gradient of equal parameters.
进一步地,本申请实施例可以利用计算获得的梯度对目标参数进行更新:









Further, this embodiment of the present application can use the gradient obtained by calculation to update the target parameters:









其中,是各个参数的学习率。in, and is the learning rate of each parameter.
需要注意的是,梯度的求取可以利用具有自动求导功能的软件库实现,也可以通过解析表达式实现。It should be noted that the gradient can be obtained using a software library with automatic derivation function or through analytical expressions.
可选地,在本申请的一个实施例中,筛选出满足预设条件的原子,包括:在每一步迭代更新完参数后,检测所有局域轨道函数的参数在检测到任一局域轨道函数的参数小于由所有局域轨道函数参数得到的阈值时,删除任一局域轨道函数的同时,通过建立二叉树得到局域轨道函数中心距离小于预设像素的局域轨道函数对索引,删除局域轨道函数对中的任意一个局域轨道函数;每一步迭代更新完参数并删除完局域轨道函数后,将每个局域轨道函数的参数均以预设概率减小为预设倍数,且设置保护时间,使得在保护时间内,不允许执行筛选操作和删除操作。Optionally, in one embodiment of the present application, screening out atoms that meet preset conditions includes: after iteratively updating the parameters in each step, detecting the parameters of all local orbital functions and detecting any local orbital function. When the parameters of are less than the threshold obtained from all local orbit function parameters, while deleting any local orbit function, establish a binary tree to obtain the local orbit function pair index whose center distance is less than the preset pixel, and delete the local orbit function Any local orbital function in the orbital function pair; after each step iteratively updates the parameters and deletes the local orbital function, the parameters of each local orbital function are reduced to a preset multiple with a preset probability, and set Protection time, so that filtering operations and deletion operations are not allowed during the protection time.
可以理解的是,筛选出满足预设条件的原子包括删除冗余局域轨道函数和筛选局域轨道函数。It can be understood that screening out atoms that meet preset conditions includes deleting redundant local orbital functions and screening local orbital functions.
其中,删除冗余局域轨道函数的方法为:在每一步迭代更新完参数后,检查所有局域轨道函数的参数H,若某局域轨道函数的参数H小于小于由所有局域轨道函数参数得到的阈值时,则删除该局域轨道函数,同时通过建立二叉树的方法,得到局域轨道函数中心距离预设像素的局域轨道函数对索引,删除局域轨道函数对中的任意一个局域轨道函数。Among them, the method of deleting redundant local orbital functions is: after updating the parameters iteratively at each step, check the parameters H of all local orbital functions. If the parameter H of a certain local orbital function is less than the parameter H of all local orbital functions. When the threshold value is obtained, the local orbit function is deleted. At the same time, by establishing a binary tree, the local orbit function pair index of the local orbit function center distance from the preset pixel is obtained, and any one of the local orbit function pairs is deleted. Orbital function.
需要注意的是,阈值可以由本领域技术人员根据实际情况进行设置,也可以设置为参考值,如所有局域轨道函数参数H最大值的0.01倍;预设像素可以由本领域技术人员根据 实际情况进行设置,也可以设置为参考值,如2像素。It should be noted that the threshold can be set by those skilled in the art according to the actual situation, or can be set as a reference value, such as 0.01 times the maximum value of all local orbit function parameters H; the preset pixel can be set by those skilled in the art according to Set according to the actual situation, or set to a reference value, such as 2 pixels.
筛选局域轨道函数的方法为:在每一步迭代更新完参数并删除完局域轨道函数后,每个局域轨道函数的参数H预设概率减小为预设倍数,且设置保护时间,在保护时间内局域轨道函数不可被筛选和删除。The method of screening local orbital functions is as follows: after iteratively updating the parameters and deleting the local orbital functions at each step, the preset probability of the parameter H of each local orbital function is reduced to a preset multiple, and a protection time is set. Local orbital functions cannot be filtered and deleted during the protection time.
需要注意的是,预设概率和预设倍数可以由本领域技术人员根据实际情况进行设置,也可以设置为参考值,如每个局域轨道函数的参数H皆以0.02的概率减小为0.1倍;保护事件可以由本领域技术人员根据实际情况进行设置,也可以设置为参考值,如设置保护时间T=50。It should be noted that the preset probability and preset multiple can be set by those skilled in the art according to the actual situation, or can be set as a reference value. For example, the parameter H of each local orbit function is reduced to 0.1 times with a probability of 0.02. ; The protection event can be set by those skilled in the art according to the actual situation, or can be set as a reference value, such as setting the protection time T=50.
下面结合图2至图9所示,以一个具体实施例对本申请实施例的局域轨道函数的三维重构方法的工作原理进行详细阐述。The working principle of the three-dimensional reconstruction method of the local orbit function in the embodiment of the present application will be described in detail with a specific embodiment as shown in FIGS. 2 to 9 .
如图2所示,以重构10000个原子组成的小颗粒为例,本申请实施例包括以下步骤:As shown in Figure 2, taking the reconstruction of a small particle composed of 10,000 atoms as an example, the embodiment of the present application includes the following steps:
步骤S201:采集图像数据。如图3所示,本申请实施例需要重构10000个原子组成的小颗粒,通过在角度为±25°、±20°、±15°、±5°、0°时倾转,获得其模拟图像,图3中第1、2、3列分别对应25°、0°和-25°的图像。Step S201: Collect image data. As shown in Figure 3, the embodiment of this application needs to reconstruct a small particle composed of 10,000 atoms, and obtain its simulation by tilting at angles of ±25°, ±20°, ±15°, ±5°, and 0°. Image, columns 1, 2, and 3 in Figure 3 correspond to images of 25°, 0°, and -25° respectively.
步骤S202:计算图像。本申请实施例可以基于图像数据,在实空间等间隔进行撒点并利用线性累加,得到多个倾转角度的每个倾转角度下的计算图像。如图4所示,初始撒点集合为等间隔原子构成的圆柱形,并参考图5所示,利用公式得到迭代初始的各个角度下的计算图像,其中,第1、2、3列分别对应25°、0°和-25°的图像。Step S202: Calculate the image. Embodiments of the present application can scatter points at equal intervals in real space based on image data and use linear accumulation to obtain calculated images at each tilt angle of multiple tilt angles. As shown in Figure 4, the initial scatter point set is a cylinder composed of equally spaced atoms. Referring to Figure 5, using the formula The calculated images at various angles at the initial iteration are obtained, among which the 1st, 2nd, and 3rd columns correspond to images of 25°, 0°, and -25° respectively.
步骤S203:计算损失函数,并对目标参数进行迭代更新。本申请实施例可以计算损失函数及目标参数的梯度,并利用以下公式对目标参数进行迭代更新:









Step S203: Calculate the loss function and iteratively update the target parameters. The embodiment of this application can calculate the loss function and the gradient of the target parameters, and use the following formula to iteratively update the target parameters:









其中,是各个参数的学习率。in, and is the learning rate of each parameter.
步骤S204:删除、筛选局域轨道函数。进一步地,本申请实施例可以删除强度H小于最强局域轨道函数强度Hmax*0.01的局域轨道函数,同时以0.02的概率重置该局域轨道函数,使局域轨道函数强度H减小为原来的0.1倍,设置保护周期T=50。Step S204: Delete and filter local orbital functions. Further, the embodiment of the present application can delete the local orbit function whose intensity H is less than the strongest local orbit function intensity Hmax*0.01, and at the same time reset the local orbit function with a probability of 0.02, so that the local orbit function intensity H decreases It is 0.1 times the original value and sets the protection period T=50.
通过循环计算损失函数,并更新各目标参数,删除和筛选局域轨道函数的操作,直至局域轨道函数数目收敛,实现三维坐标重构。By cyclically calculating the loss function, updating each target parameter, and deleting and filtering local orbital functions until the number of local orbital functions converges, three-dimensional coordinate reconstruction is achieved.
其中,损失函数的值随迭代过程的折线图如图6所示;最终收敛时得到的原子模型的示意图如图7所示;计算图像与实验图像的差值参考图如图8所示,其中,第1列为计算图,第2列为实验图,第3列为二者差值,第1行为倾转角度为25°下的数据,第2行为倾转角度为20°下的数据;计算所得原子坐标与真实坐标距离直方图如图9所示。Among them, the line chart of the value of the loss function with the iterative process is shown in Figure 6; the schematic diagram of the atomic model obtained during final convergence is shown in Figure 7; the difference reference diagram between the calculated image and the experimental image is shown in Figure 8, where , the first column is the calculation diagram, the second column is the experimental diagram, the third column is the difference between the two, the first row is the data when the tilt angle is 25°, the second row is the data when the tilt angle is 20°; The distance histogram between the calculated atomic coordinates and the real coordinates is shown in Figure 9.
根据本申请实施例提出的局域轨道函数的三维重构方法,基于采集的多个倾转角度下的样品的图像数据,获得多个倾转角度下的计算图像,进而计算出计算图像的损失函数,求取优化参数的梯度,从而获得优化参数,在经过反复筛选和计算后,直至损失函数满足收敛条件,进而获得三维重构结果,可以精简三维坐标的重构过程,不仅降低了对硬件的要求,还能减少繁琐的人为干预,节约劳动力成本,同时在迭代过程中,还可以矫正样品漂移和样品台的机械倾转误差,进而提高三维坐标重构的准确性。由此,解决了相关技术中只能从重构出的三维密度矩阵中获取原子的三维坐标,且无法对误差进行校正,导致重构的过程对硬件需求较高,且重构的三维坐标精度较差的技术问题。According to the three-dimensional reconstruction method of the local orbit function proposed in the embodiment of the present application, based on the collected image data of the sample at multiple tilt angles, calculated images at multiple tilt angles are obtained, and then the loss of the calculated image is calculated function to obtain the gradient of the optimization parameters, thereby obtaining the optimization parameters. After repeated screening and calculation, until the loss function meets the convergence conditions, the three-dimensional reconstruction result is obtained, which can streamline the three-dimensional coordinate reconstruction process, not only reducing the need for hardware requirements, it can also reduce tedious human intervention and save labor costs. At the same time, during the iteration process, it can also correct sample drift and mechanical tilt errors of the sample stage, thereby improving the accuracy of three-dimensional coordinate reconstruction. This solves the problem in related technologies that the three-dimensional coordinates of atoms can only be obtained from the reconstructed three-dimensional density matrix, and the errors cannot be corrected, resulting in high hardware requirements for the reconstruction process and the accuracy of the reconstructed three-dimensional coordinates. Poor technical issues.
其次参照附图描述根据本申请实施例提出的局域轨道函数的三维重构装置。Next, the three-dimensional reconstruction device of the local orbit function proposed according to the embodiment of the present application will be described with reference to the accompanying drawings.
图10是本申请实施例的局域轨道函数的三维重构装置的方框示意图。Figure 10 is a block schematic diagram of a three-dimensional reconstruction device of a local orbit function according to an embodiment of the present application.
如图10所示,该局域轨道函数的三维重构装置10包括:采集模块100、累加模块200和重构模块300。As shown in Figure 10, the three-dimensional reconstruction device 10 of the local orbit function includes: an acquisition module 100, an accumulation module 200 and a reconstruction module 300.
具体地,采集模块100,用于采集多个倾转角度下的样品的图像数据。Specifically, the acquisition module 100 is used to acquire image data of samples at multiple tilt angles.
累加模块200,用于基于图像数据,在实空间等间隔进行撒点并利用线性累加,得到多个倾转角度的每个倾转角度下的计算图像。The accumulation module 200 is used to scatter points at equal intervals in the real space based on the image data and use linear accumulation to obtain calculated images at each tilt angle of multiple tilt angles.
重构模块300,用于根据每个倾转角度下的计算图像计算损失函数,并获取损失函数关于待优化参数的梯度,且根据梯度优化待优化参数,筛选出满足预设条件的原子,重新计 算新的损失函数,直至满足收敛条件,在实空间重构局域轨道函数的中心的三维空间坐标和局域轨道函数的形状,得到三维重构结果。The reconstruction module 300 is used to calculate the loss function based on the calculated image at each tilt angle, obtain the gradient of the loss function with respect to the parameters to be optimized, and optimize the parameters to be optimized based on the gradient, screen out atoms that meet the preset conditions, and re- count Calculate a new loss function until the convergence conditions are met, reconstruct the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function in real space, and obtain the three-dimensional reconstruction result.
可选地,在本申请的一个实施例中,采集模块100包括:获取单元和降噪单元。Optionally, in one embodiment of the present application, the collection module 100 includes: an acquisition unit and a noise reduction unit.
其中,获取单元,用于获取多个倾转角度下的样品的初始图像数据。Among them, the acquisition unit is used to acquire initial image data of the sample at multiple tilt angles.
降噪单元,用于对初始图像数据进行对中合轴和降噪处理,并由处理后的图像归一化,得到图像数据。The noise reduction unit is used to perform centering and noise reduction processing on the initial image data, and normalizes the processed image to obtain image data.
可选地,在本申请的一个实施例中,损失函数的计算公式为:
Optionally, in one embodiment of this application, the calculation formula of the loss function is:
其中,W代表损失函数,M代表倾转角度的总数,j代表倾转角度的序号,i代表局域轨道函数序号,P代表图像的边长,u代表图像中每个像素的横坐标,v代表图像中每个像素的纵坐标,fj(u,v)代表第j个角度下计算得到的图像,bj(u,v)代表第j个角度下实验所得的图像。Among them, W represents the loss function, M represents the total number of tilt angles, j represents the serial number of the tilt angle, i represents the local orbit function serial number, P represents the side length of the image, u represents the abscissa of each pixel in the image, v represents the ordinate of each pixel in the image, f j (u, v) represents the image calculated at the j-th angle, and b j (u, v) represents the image obtained experimentally at the j-th angle.
可选地,在本申请的一个实施例中,重构模块300包括:检测单元和保护单元。Optionally, in one embodiment of the present application, the reconstruction module 300 includes: a detection unit and a protection unit.
其中,检测单元,用于在每一步迭代更新完参数后,检测所有局域轨道函数的参数删除单元,用于在检测到任一局域轨道函数的参数小于由所有局域轨道函数参数得到的阈值时,删除任一局域轨道函数的同时,通过建立二叉树得到局域轨道函数中心距离小于预设像素的局域轨道函数对索引,删除局域轨道函数对中的任意一个局域轨道函数。Among them, the detection unit is used to detect the parameter deletion unit of all local orbit functions after iteratively updating the parameters in each step, and is used to detect that the parameters of any local orbit function are smaller than those obtained from all the local orbit function parameters. At the threshold, while deleting any local orbit function, establish a binary tree to obtain the local orbit function pair index whose center distance is smaller than the preset pixel, and delete any local orbit function in the local orbit function pair.
保护单元,用于在每一步迭代更新完参数并删除完局域轨道函数后,将每个局域轨道函数的参数均以预设概率减小为预设倍数,且设置保护时间,使得在保护时间内,不允许执行筛选操作和删除操作。The protection unit is used to reduce the parameters of each local orbit function to a preset multiple with a preset probability after iteratively updating the parameters and deleting the local orbit function at each step, and sets the protection time so that during the protection During this time, filtering operations and deletion operations are not allowed.
可选地,在本申请的一个实施例中,待优化参数包括每个局域轨道函数中心的三维空间坐标、描述其形状的参数,每个转角对应的三个欧拉角,每个角度下样品的漂移、样品台的机械倾转偏差中的至少一项。Optionally, in one embodiment of the present application, the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, three Euler angles corresponding to each corner, and At least one of the drift of the sample and the mechanical tilt deviation of the sample stage.
需要说明的是,前述对局域轨道函数的三维重构方法实施例的解释说明也适用于该实施例的局域轨道函数的三维重构装置,此处不再赘述。It should be noted that the foregoing explanation of the embodiment of the three-dimensional reconstruction method of the local orbit function also applies to the three-dimensional reconstruction device of the local orbit function in this embodiment, and will not be described again here.
根据本申请实施例提出的局域轨道函数的三维重构装置,基于采集的多个倾转角度下的样品的图像数据,获得多个倾转角度下的计算图像,进而计算出计算图像的损失函数,求取优化参数的梯度,从而获得优化参数,在经过反复筛选和计算后,直至损失函数满足收敛条件,进而获得三维重构结果,可以精简三维坐标的重构过程,不仅降低了对硬件的要求,还能减少繁琐的人为干预,节约劳动力成本,同时在迭代过程中,还可以矫正样品漂移和样品台的机械倾转误差,进而提高三维坐标重构的准确性。由此,解决了相关技术中只能从重构出的三维密度矩阵中获取原子的三维坐标,且无法对误差进行校正,导致重 构的过程对硬件需求较高,且重构的三维坐标精度较差的技术问题。According to the three-dimensional reconstruction device of the local orbit function proposed in the embodiment of the present application, based on the collected image data of the sample at multiple tilt angles, calculated images at multiple tilt angles are obtained, and then the loss of the calculated image is calculated function to obtain the gradient of the optimization parameters, thereby obtaining the optimization parameters. After repeated screening and calculation, until the loss function meets the convergence conditions, the three-dimensional reconstruction result is obtained, which can streamline the three-dimensional coordinate reconstruction process, not only reducing the need for hardware requirements, it can also reduce tedious human intervention and save labor costs. At the same time, during the iteration process, it can also correct sample drift and mechanical tilt errors of the sample stage, thereby improving the accuracy of three-dimensional coordinate reconstruction. This solves the problem in related technologies that the three-dimensional coordinates of atoms can only be obtained from the reconstructed three-dimensional density matrix, and the errors cannot be corrected, resulting in heavy errors. The construction process has high hardware requirements and the accuracy of the reconstructed three-dimensional coordinates is poor.
图11为本申请实施例提供的电子设备的结构示意图。该电子设备可以包括:Figure 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device may include:
存储器1101、处理器1102及存储在存储器1101上并可在处理器1102上运行的计算机程序。Memory 1101, processor 1102, and a computer program stored on memory 1101 and executable on processor 1102.
处理器1102执行程序时实现上述实施例中提供的局域轨道函数的三维重构方法。When the processor 1102 executes the program, it implements the three-dimensional reconstruction method of the local orbit function provided in the above embodiment.
进一步地,电子设备还包括:Furthermore, electronic equipment also includes:
通信接口1103,用于存储器1101和处理器1102之间的通信。Communication interface 1103 is used for communication between the memory 1101 and the processor 1102.
存储器1101,用于存放可在处理器1102上运行的计算机程序。Memory 1101 is used to store computer programs that can run on the processor 1102.
存储器1101可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1101 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
如果存储器1101、处理器1102和通信接口1103独立实现,则通信接口1103、存储器1101和处理器1102可以通过总线相互连接并完成相互间的通信。总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。If the memory 1101, the processor 1102 and the communication interface 1103 are implemented independently, the communication interface 1103, the memory 1101 and the processor 1102 can be connected to each other through a bus and complete communication with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, only one thick line is used in Figure 11, but it does not mean that there is only one bus or one type of bus.
可选地,在具体实现上,如果存储器1101、处理器1102及通信接口1103,集成在一块芯片上实现,则存储器1101、处理器1102及通信接口1103可以通过内部接口完成相互间的通信。Optionally, in terms of specific implementation, if the memory 1101, the processor 1102 and the communication interface 1103 are integrated on one chip, the memory 1101, the processor 1102 and the communication interface 1103 can communicate with each other through the internal interface.
处理器1102可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 1102 may be a central processing unit (Central Processing Unit, CPU for short), or an Application Specific Integrated Circuit (ASIC for short), or one or more processors configured to implement the embodiments of the present application. integrated circuit.
本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上的局域轨道函数的三维重构方法。This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above three-dimensional reconstruction method of the local orbital function is implemented.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或N个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技 术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, reference to the terms "one embodiment,""someembodiments,""anexample,""specificexamples," or "some examples" or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. In addition, to the extent not inconsistent with each other, the technical The skilled person may combine and combine the different embodiments or examples and features of different embodiments or examples described in this specification.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“N个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms “first” and “second” are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically limited.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更N个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments, or portions of code that include one or more executable instructions for implementing customized logical functions or steps of the process. , and the scope of the preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in a substantially simultaneous manner or in the reverse order, depending on the functionality involved, which shall It should be understood by those skilled in the technical field to which the embodiments of this application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或N个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered a sequenced list of executable instructions for implementing the logical functions, and may be embodied in any computer-readable medium, For use by, or in combination with, instruction execution systems, devices or devices (such as computer-based systems, systems including processors or other systems that can fetch instructions from and execute instructions from the instruction execution system, device or device) or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or N wires (electronic device), portable computer disk cartridge (magnetic device), random access memory (RAM), Read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, and subsequently edited, interpreted, or otherwise suitable as necessary. process to obtain the program electronically and then store it in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,N个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present application can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if it is implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: discrete logic gate circuits with logic functions for implementing data signals; Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中, 该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps involved in implementing the methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When executed, the program includes one of the steps of the method embodiment or a combination thereof.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in various embodiments of the present application can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。 The storage media mentioned above can be read-only memory, magnetic disks or optical disks, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above-mentioned embodiments are illustrative and cannot be understood as limitations of the present application. Those of ordinary skill in the art can make modifications to the above-mentioned embodiments within the scope of the present application. The embodiments are subject to changes, modifications, substitutions and variations.

Claims (12)

  1. 一种局域轨道函数的三维重构方法,其特征在于,包括以下步骤:A three-dimensional reconstruction method of local orbital function, which is characterized by including the following steps:
    采集多个倾转角度下的样品的图像数据;Collect image data of samples at multiple tilt angles;
    基于所述图像数据,在实空间等间隔进行撒点并利用线性累加,得到所述多个倾转角度的每个倾转角度下的计算图像;以及Based on the image data, scatter points at equal intervals in real space and use linear accumulation to obtain calculated images at each tilt angle of the multiple tilt angles; and
    根据每个倾转角度下的计算图像计算损失函数,并获取所述损失函数关于待优化参数的梯度,且根据所述梯度优化所述待优化参数,筛选出满足预设条件的原子,重新计算新的损失函数,直至满足收敛条件,在所述实空间重构局域轨道函数的中心的三维空间坐标和局域轨道函数的形状,得到三维重构结果。Calculate the loss function based on the calculated image at each tilt angle, obtain the gradient of the loss function with respect to the parameters to be optimized, optimize the parameters to be optimized based on the gradient, screen out atoms that meet the preset conditions, and recalculate The new loss function is used until the convergence conditions are met, and the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function are reconstructed in the real space to obtain a three-dimensional reconstruction result.
  2. 根据权利要求1所述的方法,其特征在于,采集所述多个倾转角度下的样品的图像数据,包括:The method according to claim 1, characterized in that collecting image data of the sample at multiple tilt angles includes:
    获取所述多个倾转角度下的样品的初始图像数据;Obtain initial image data of the sample at the multiple tilt angles;
    对所述初始图像数据进行对中合轴和降噪处理,并由处理后的图像归一化,得到所述图像数据。The initial image data is subjected to centering and noise reduction processing, and the processed image is normalized to obtain the image data.
  3. 根据权利要求1所述的方法,其特征在于,所述损失函数的计算公式为:
    The method according to claim 1, characterized in that the calculation formula of the loss function is:
    其中,W代表损失函数,M代表倾转角度的总数,j代表倾转角度的序号,i代表局域轨道函数序号,P代表图像的边长,u代表图像中每个像素的横坐标,v代表图像中每个像素的纵坐标,fj(u,v)代表第j个角度下计算得到的图像,bj(u,v)代表第j个角度下实验所得的图像。Among them, W represents the loss function, M represents the total number of tilt angles, j represents the serial number of the tilt angle, i represents the local orbit function serial number, P represents the side length of the image, u represents the abscissa of each pixel in the image, v represents the ordinate of each pixel in the image, f j (u, v) represents the image calculated at the j-th angle, and b j (u, v) represents the image obtained experimentally at the j-th angle.
  4. 根据权利要求1所述的方法,其特征在于,所述筛选出满足预设条件的原子,包括:The method of claim 1, wherein screening out atoms that meet preset conditions includes:
    在每一步迭代更新完参数后,检测所有局域轨道函数的参数After the parameters are updated iteratively at each step, the parameters of all local orbital functions are detected.
    在检测到任一局域轨道函数的参数小于由所述所有局域轨道函数参数得到的阈值时,删除所述任一局域轨道函数的同时,通过建立二叉树得到局域轨道函数中心距离小于预设像素的局域轨道函数对索引,删除局域轨道函数对中的任意一个局域轨道函数;When it is detected that the parameters of any local orbit function are less than the threshold value obtained from all the parameters of the local orbit function, while deleting the any local orbit function, the center distance of the local orbit function is less than the preset value by establishing a binary tree. Set the local orbit function pair index of the pixel, and delete any local orbit function in the local orbit function pair;
    每一步迭代更新完参数并删除完所述局域轨道函数后,将每个局域轨道函数的参数均以预设概率减小为预设倍数,且设置保护时间,使得在所述保护时间内,不允许执行筛选操作和删除操作。After each step iteratively updates the parameters and deletes the local orbit function, the parameters of each local orbit function are reduced to a preset multiple with a preset probability, and a protection time is set so that within the protection time , filtering operations and deletion operations are not allowed.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述待优化参数包括每个局域轨道函数中心的三维空间坐标、描述其形状的参数、每个转角对应的三个欧拉角、每个角度下样品的漂移、样品台的机械倾转偏差中的至少一项。 The method according to any one of claims 1 to 4, characterized in that the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, and three European parameters corresponding to each corner. At least one of the pull angle, the drift of the sample at each angle, and the mechanical tilt deviation of the sample stage.
  6. 一种局域轨道函数的三维重构装置,其特征在于,包括:A three-dimensional reconstruction device of local orbital function, which is characterized by including:
    采集模块,用于采集多个倾转角度下的样品的图像数据;Acquisition module, used to collect image data of samples at multiple tilt angles;
    累加模块,用于基于所述图像数据,在实空间等间隔进行撒点并利用线性累加,得到所述多个倾转角度的每个倾转角度下的计算图像;以及An accumulation module, configured to scatter points at equal intervals in real space based on the image data and use linear accumulation to obtain the calculated image at each tilt angle of the plurality of tilt angles; and
    重构模块,用于根据每个倾转角度下的计算图像计算损失函数,并获取所述损失函数关于待优化参数的梯度,且根据所述梯度优化所述待优化参数,筛选出满足预设条件的原子,重新计算新的损失函数,直至满足收敛条件,在所述实空间重构局域轨道函数的中心的三维空间坐标和局域轨道函数的形状,得到三维重构结果。A reconstruction module, configured to calculate a loss function based on the calculated image at each tilt angle, obtain the gradient of the loss function with respect to the parameters to be optimized, and optimize the parameters to be optimized according to the gradient, and filter out the parameters that satisfy the preset Condition atoms, recalculate the new loss function until the convergence condition is met, reconstruct the three-dimensional space coordinates of the center of the local orbit function and the shape of the local orbit function in the real space, and obtain the three-dimensional reconstruction result.
  7. 根据权利要求6所述的装置,其特征在于,所述采集模块包括:The device according to claim 6, characterized in that the collection module includes:
    获取单元,用于获取所述多个倾转角度下的样品的初始图像数据;An acquisition unit, configured to acquire initial image data of the sample at the multiple tilt angles;
    降噪单元,用于对所述初始图像数据进行对中合轴和降噪处理,并由处理后的图像归一化,得到所述图像数据。A noise reduction unit is used to perform centering and noise reduction processing on the initial image data, and normalize the processed image to obtain the image data.
  8. 根据权利要求6所述的装置,其特征在于,所述损失函数的计算公式为:
    The device according to claim 6, characterized in that the calculation formula of the loss function is:
    其中,W代表损失函数,M代表倾转角度的总数,j代表倾转角度的序号,i代表局域轨道函数序号,P代表图像的边长,u代表图像中每个像素的横坐标,v代表图像中每个像素的纵坐标,fj(u,v)代表第j个角度下计算得到的图像,bj(u,v)代表第j个角度下实验所得的图像。Among them, W represents the loss function, M represents the total number of tilt angles, j represents the serial number of the tilt angle, i represents the local orbit function serial number, P represents the side length of the image, u represents the abscissa of each pixel in the image, v represents the ordinate of each pixel in the image, f j (u, v) represents the image calculated at the j-th angle, and b j (u, v) represents the image obtained experimentally at the j-th angle.
  9. 根据权利要求6所述的装置,其特征在于,所述重构模块包括:The device according to claim 6, characterized in that the reconstruction module includes:
    检测单元,用于在每一步迭代更新完参数后,检测所有局域轨道函数的参数The detection unit is used to detect the parameters of all local orbital functions after the parameters are updated iteratively at each step.
    删除单元,用于在检测到任一局域轨道函数的参数小于由所述所有局域轨道函数参数得到的阈值时,删除所述任一局域轨道函数的同时,通过建立二叉树得到局域轨道函数中心距离小于预设像素的局域轨道函数对索引,删除局域轨道函数对中的任意一个局域轨道函数;A deletion unit configured to delete any local orbit function and obtain the local orbit by establishing a binary tree when it is detected that the parameters of any local orbit function are less than the threshold obtained from all the local orbit function parameters. If the function center distance is smaller than the index of the local orbit function pair of the preset pixel, delete any local orbit function in the local orbit function pair;
    保护单元,用于在每一步迭代更新完参数并删除完所述局域轨道函数后,将每个局域轨道函数的参数均以预设概率减小为预设倍数,且设置保护时间,使得在所述保护时间内,不允许执行筛选操作和删除操作。A protection unit, used to reduce the parameters of each local orbit function to a preset multiple with a preset probability after iteratively updating the parameters and deleting the local orbit function at each step, and setting a protection time, so that Filtering operations and deletion operations are not allowed during the protection time.
  10. 根据权利要求6-9任一项所述的装置,其特征在于,所述待优化参数包括每个局域轨道函数中心的三维空间坐标、描述其形状的参数、每个转角对应的三个欧拉角、每个角度下样品的漂移、样品台的机械倾转偏差中的至少一项。The device according to any one of claims 6 to 9, characterized in that the parameters to be optimized include the three-dimensional spatial coordinates of the center of each local orbit function, parameters describing its shape, and three European parameters corresponding to each corner. At least one of the pull angle, the drift of the sample at each angle, and the mechanical tilt deviation of the sample stage.
  11. 一种电子设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序,以实现如权利要求1-5任 一项所述的局域轨道函数的三维重构方法。An electronic device, characterized in that it includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor executes the program to implement the method of claim 1 -5 Ren The three-dimensional reconstruction method of the local orbital function described in one item.
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行,以用于实现如权利要求1-5任一项所述的局域轨道函数的三维重构方法。 A computer-readable storage medium with a computer program stored thereon, characterized in that the program is executed by a processor to implement the three-dimensional reconstruction of the local orbital function as claimed in any one of claims 1-5. method.
PCT/CN2023/080253 2022-04-12 2023-03-08 Three-dimensional reconstruction method and apparatus for local orbital function WO2023197785A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210381325.3 2022-04-12
CN202210381325.3A CN114648611B (en) 2022-04-12 2022-04-12 Three-dimensional reconstruction method and device for local orbit function

Publications (1)

Publication Number Publication Date
WO2023197785A1 true WO2023197785A1 (en) 2023-10-19

Family

ID=81997728

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/080253 WO2023197785A1 (en) 2022-04-12 2023-03-08 Three-dimensional reconstruction method and apparatus for local orbital function

Country Status (2)

Country Link
CN (1) CN114648611B (en)
WO (1) WO2023197785A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114648611B (en) * 2022-04-12 2023-07-18 清华大学 Three-dimensional reconstruction method and device for local orbit function

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170178316A1 (en) * 2015-12-18 2017-06-22 Carestream Health, Inc. Accelerated statistical iterative reconstruction
CN111208513A (en) * 2020-01-15 2020-05-29 西安电子科技大学 Space target ISAR image sequence energy back projection and three-dimensional reconstruction method
CN111862316A (en) * 2020-07-28 2020-10-30 杭州深瞳科技有限公司 IMU tight coupling dense direct RGBD three-dimensional reconstruction method based on optimization
CN113720865A (en) * 2021-08-06 2021-11-30 清华大学 Electronic lamination imaging method and device for automatically correcting tape axis deviation of sample
CN114648611A (en) * 2022-04-12 2022-06-21 清华大学 Three-dimensional reconstruction method and device of local orbit function

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9613285B2 (en) * 2012-03-22 2017-04-04 The Charles Stark Draper Laboratory, Inc. Compressive sensing with local geometric features
EP2951528B1 (en) * 2013-01-29 2018-07-25 Andrew Robert Korb Methods for analyzing and compressing multiple images
EP3292466A4 (en) * 2015-05-05 2019-01-02 Kyndi, Inc. Quanton representation for emulating quantum-like computation on classical processors
US11934478B2 (en) * 2018-06-21 2024-03-19 The University Of Chicago Fully fourier space spherical convolutional neural network based on Clebsch-Gordan transforms
CN109508678B (en) * 2018-11-16 2021-03-30 广州市百果园信息技术有限公司 Training method of face detection model, and detection method and device of face key points
US10607164B1 (en) * 2019-07-28 2020-03-31 Zichu Wang Architects space programming process that determines new classroom sizes and count for educational institutions
CN110874864B (en) * 2019-10-25 2022-01-14 奥比中光科技集团股份有限公司 Method, device, electronic equipment and system for obtaining three-dimensional model of object
CN111179339B (en) * 2019-12-13 2024-03-08 深圳市瑞立视多媒体科技有限公司 Coordinate positioning method, device, equipment and storage medium based on triangulation
CN111507908B (en) * 2020-03-11 2023-10-20 平安科技(深圳)有限公司 Image correction processing method, device, storage medium and computer equipment
WO2021232194A1 (en) * 2020-05-18 2021-11-25 Shanghai United Imaging Healthcare Co., Ltd. Systems and methods for image reconstruction
FR3111067A1 (en) * 2020-06-06 2021-12-10 Olivier Querbes Optical impression of a patient's dental arch
JP2021196568A (en) * 2020-06-18 2021-12-27 コニカミノルタ株式会社 Image forming method and image forming system
CN112489102A (en) * 2020-11-30 2021-03-12 北京百度网讯科技有限公司 Three-dimensional reconstruction method, device, equipment and storage medium
CN113034681B (en) * 2021-04-07 2022-05-03 清华大学 Three-dimensional reconstruction method and device for spatial plane relation constraint
CN114186191A (en) * 2021-11-19 2022-03-15 合肥联宝信息技术有限公司 Method, device and equipment for calculating coordinate transformation matrix and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170178316A1 (en) * 2015-12-18 2017-06-22 Carestream Health, Inc. Accelerated statistical iterative reconstruction
CN111208513A (en) * 2020-01-15 2020-05-29 西安电子科技大学 Space target ISAR image sequence energy back projection and three-dimensional reconstruction method
CN111862316A (en) * 2020-07-28 2020-10-30 杭州深瞳科技有限公司 IMU tight coupling dense direct RGBD three-dimensional reconstruction method based on optimization
CN113720865A (en) * 2021-08-06 2021-11-30 清华大学 Electronic lamination imaging method and device for automatically correcting tape axis deviation of sample
CN114648611A (en) * 2022-04-12 2022-06-21 清华大学 Three-dimensional reconstruction method and device of local orbit function

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHENG XING-RONG, YANG WEI, ZHANG XIN-DAN, DU CHEN-MIN, LI XIAO-LONG, TANG HUAN: "Visualization Research of the Spherical Harmonic Function and Atomic Orbitalbased on MATLAB Software", JOURNAL OF SICHUAN UNIVERSITY (NATURAL SCIENCE EDITION), vol. 57, no. 5, 1 September 2020 (2020-09-01), pages 968 - 974, XP093098621, DOI: 10.3969/j.issn.0490-6756.2020.05.022 *

Also Published As

Publication number Publication date
CN114648611A (en) 2022-06-21
CN114648611B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
JP5500242B2 (en) Multi-class target detection apparatus and detection method
US6498863B1 (en) Method, system, and product for analyzing a digitized image of an array to create an image of a grid overlay
US9377546B2 (en) Automatic extraction and characterization of fault and fracture populations
US20190073510A1 (en) Computing technologies for image operations
US9311756B2 (en) Image group processing and visualization
WO2023197785A1 (en) Three-dimensional reconstruction method and apparatus for local orbital function
GB2463141A (en) Medical image segmentation
CN108154191B (en) Document image recognition method and system
US20160063721A1 (en) Transformation of 3-D object for object segmentation in 3-D medical image
JP2021196705A (en) Image processing system, image processing method and program
CN110728675A (en) Pulmonary nodule analysis device, model training method, device and analysis equipment
KR20200006461A (en) System and method of analyzing crystal defect
CN110268441A (en) The method for obtaining the 3D model data of multiple components of object
US20190188881A1 (en) Representation of a component using cross-sectional images
CN109411056B (en) image storage method and system
WO2022134415A1 (en) Method and apparatus for positioning indoor robot, and terminal device and storage medium
CN113159103A (en) Image matching method, image matching device, electronic equipment and storage medium
WO2016204241A1 (en) Image processing device, image processing method, program, and recording medium
US20230169637A1 (en) Method for grain size analysis
CN114359670A (en) Unstructured data labeling method and device, computer equipment and storage medium
JP6745268B2 (en) Scintigraphy image normalization technique
Kruszynski et al. An interactive visualization system for quantifying coral structures.
CN113163101B (en) Image exposure adjusting method, device, equipment and medium
Gaschen et al. MAMA User Guide v2. 0.1
CN113436063A (en) Image processing method, image processing device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23787433

Country of ref document: EP

Kind code of ref document: A1