Serial electron microscope 3d registration trajectory optimization method based on neural ordinary differential equation

By defining the 3D registration problem as continuous manifold trajectory optimization, and combining neural ordinary differential equations and Gauss-Seidel iteration, unsupervised serial electron microscopy 3D registration was achieved, solving the problem of biological signal entanglement with noise and improving reconstruction accuracy and stability.

CN121120731BActive Publication Date: 2026-05-15SHANGHAI YUEXIN LIFE-SCI INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511680646.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-05-15
Estimated Expiration
2045-11-17

AI Technical Summary

Technical Problem

Existing serial electron microscopy 3D registration techniques struggle to effectively distinguish the topological entanglement between biological signals and technical noise, impacting the accuracy and reliability of 3D structure reconstruction, especially with excessive computational burdens on large-scale image data.

Method used

The 3D registration problem is redefined as a continuous manifold trajectory optimization problem. A method based on neural ordinary differential equations is adopted, and the displacement field is estimated by a 2D U-shaped convolutional neural network. The trajectory is smoothed by Gauss-Seidel iteration, thus achieving unsupervised image stack registration.

Benefits of technology

It improves the accuracy and stability of 3D structure reconstruction, is suitable for scenarios with scarce annotations, has better cross-organization robustness than existing methods, and maintains smooth and detailed restoration of image texture and grayscale.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121120731B_ABST
    Figure CN121120731B_ABST
Patent Text Reader

Abstract

The application discloses a kind of serial section electron microscope three-dimensional registration trajectory optimization method based on neural ordinary differential equation, belong to electron microscope three-dimensional reconstruction technical field.The present application regards each pixel as particle in continuous medium, sets single particle trajectory optimization objective function and global consistency trajectory constraint objective function;Using two-dimensional U-shaped convolutional neural network estimates the displacement field between adjacent slices, and constructs the time sequence trajectory body of each pixel;Combining gauss-siedel iteration with neural ordinary differential equation carries out trajectory smoothing;The optimized trajectory is inverted into displacement field on pixel grid, based on final objective function carries out network training, finally realizes the registration of image stack.The present application is completely supervised training, especially suitable for the scene of serial section electron microscope of annotation scarcity, and a large number of experiments on multiple data sets covering different tissue types show that the method is superior to existing methods in terms of structure recovery accuracy and cross-organ robustness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of three-dimensional reconstruction technology of electron microscopy, and specifically to an unsupervised trajectory optimization method for three-dimensional registration of serial electron microscopes based on neural ordinary differential equations. Background Technology

[0002] Serial electron microscopy has become a powerful nanoscale three-dimensional visualization technique, widely used in fields such as neuroconnectomics, developmental biology, and clinical diagnostics. The standard workflow of serial electron microscopy typically includes computational steps such as two-dimensional image stitching, three-dimensional registration, and three-dimensional segmentation. Among these, three-dimensional registration is particularly critical, as it corrects axial misalignment and nonlinear distortions generated during slicing, directly determining the accuracy and reliability of the final three-dimensional structure.

[0003] The fundamental challenge of accurate 3D registration lies in the topological entanglement between biological signals and technical noise—that is, the difficulty in distinguishing between natural cell morphological deformations and nonlinear distortions introduced during sample preparation. The blurred boundaries between these deformation types significantly increase the difficulty of recovering the true 3D structure of the sample, making 3D registration a highly complex and critical task. Furthermore, with the continuous advancement of slicing techniques, modern equipment can generate trillions of image data points daily. This massive data volume and the accumulation of errors in long sequences further exacerbate the complexity and computational burden of 3D registration.

[0004] Several effective methods have been proposed. For example, 3D registration can be achieved by optimizing a particle system connected by springs (modeled as a triangular mesh) or by using self-supervised networks for metric learning. However, these methods often ignore the natural deformation between slices and overemphasize pixel-level similarity, thus affecting the realism of the reconstruction results. Summary of the Invention

[0005] The purpose of this invention is to provide a method for optimizing the three-dimensional registration trajectory of a series electron microscope based on neural ordinary differential equations, so as to overcome the shortcomings of the prior art.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] A method for optimizing the 3D registration trajectory of a series-slice electron microscope based on the ordinary differential equation of the neuron redefines the 3D registration problem as a continuous manifold trajectory optimization problem, including the following steps:

[0008] S1: Treat each pixel as a particle in a continuous medium, and set a single-particle trajectory optimization objective function and a globally consistent trajectory constraint objective function;

[0009] S2: Use a two-dimensional U-shaped convolutional neural network to estimate the displacement field between adjacent slices and construct the temporal trajectory volume of each pixel;

[0010] S3: Combining Gauss-Seidel iteration with the God ordinary differential equation for trajectory smoothing;

[0011] S4: The optimized trajectory is inverted into a displacement field on the pixel grid, and the network is trained based on the final objective function to finally achieve image stack registration.

[0012] Furthermore, S1 specifically includes:

[0013] S1-1: The trajectory of a single particle is defined as follows:

[0014] ;

[0015] in Represents the original trajectory. It is an axial Laplacian operator;

[0016] S1-2: Define the objective function for globally consistent constraints:

[0017] ;

[0018] in It is the total number of trajectories. It is the spatial consistency coefficient, used to maintain the topological relationship between neighboring pixels within a slice, and is defined as:

[0019] .

[0020] Furthermore, in step S2, a trajectory volume is introduced to model the trajectory of each pixel. ,in Used to store slices The spatial coordinates and trajectory are initialized as follows:

[0021] ;

[0022] Next, the displacement field of the previous slice is recursively propagated to determine the position, and the sub-position flow is estimated using bilinear interpolation. Trajectory propagation is then performed using the transport equation:

[0023] ;

[0024] in This represents the interpolated displacement field.

[0025] Furthermore, in S2, the two-dimensional U-shaped network structure consists of two parts: a hybrid convolutional feature encoder and an upsampled dense feature decoder. The encoder passes through four convolutional layers with a stride of 2, and the number of channels is 8, 16, 32, and 64 respectively. Each convolutional layer includes two convolution operations, and the kernel sizes are as follows: and The decoder consists of four dense transposed convolutional layers with kernel sizes of 2, strides of 2, and channel sizes of 64, 32, 16, and 8 respectively. The final displacement field is generated by dual... Convolutional kernels and the Softsign activation function are used for generation. Image registration utilizes a spatial transformation network to create spatial twisting. The Adam optimizer is used with the following parameters: , The learning rate is There are a total of 500 rounds, with each batch size being 16. Smoothness parameter. The Gauss-Seidel method iterates 200 times. .

[0026] Furthermore, the process in S3 involves modeling trajectory smoothing as a weighted minimization of discrete curvature energy and the original trajectory deviation, with the objective of minimizing the deviation between the discrete curvature energy and the original trajectory. To solve this optimization objective, an iterative trajectory smoothing method is employed.

[0027] Furthermore, S3 specifically includes:

[0028] S3-1: The Gauss-Seidel method uses the latest updated value immediately in each iteration to accelerate convergence. Its iterative formula is as follows:

[0029] ;

[0030] Among them, the boundary value is fixed as

[0031] ;

[0032] in This refers to the total number of slices and their positions. Each iteration starts from 1 to... ;

[0033] S3-2: Compared to the Gauss-Seidel method, the God ordinary differential equations perform better in modeling continuous dynamic systems. They can effectively capture complex nonlinear deviations through implicit dynamic modeling, satisfying the following formula:

[0034] ;

[0035] in, It is a neural network with trainable parameters.

[0036] S3-3: The trajectory smoothing is reformulated as a dynamic process of trajectory evolution over time, and the explicit iterative convergence of Gauss-Seidel is organically integrated with the implicit dynamic modeling capability of the God ordinary differential equation:

[0037] ;

[0038] in It is the Gauss-Seidel operator, with the initial time... The trajectory is taken as input, with The time-smoothed trajectory is the output. ODESolver represents the neural dynamic correction module. These are adaptive weights that evolve over time, and the evolution and update method is as follows:

[0039] ;

[0040] in This represents the activation function used for smoothing. Controlling response rate sensitivity. The distance between the smoothed trajectory and the original trajectory is represented by:

[0041] ;

[0042] The differential equations used in the study employ a 3D U-shaped network, with parameters consistent with the kernel of the trajectory tracking network. The training batch size is 4, corresponding to the parameters of the objective function. , Other parameters remain the same as the default.

[0043] Furthermore, S4 includes:

[0044] S4-1: To transform the smoothed trajectory into a discrete displacement field, the trajectory is optimized to obtain the following trajectory. Each of the components Represents a slice The trajectory coordinates The displacement vector of the trajectory is ;

[0045] S4-2: Using bilinear scatter interpolation, the trajectory of each pixel is inverted into integer grid point positions:

[0046] ;

[0047] This represents the bilinear scatter interpolation method. Representation of sliced ​​images Related deformation field;

[0048] S4-3: The image registration is obtained by performing a deformation operation on the deformation field and the slice image as follows:

[0049] ;

[0050] S4-4: The final objective function is:

[0051] .

[0052] Compared with the prior art, the present invention has at least the following beneficial effects:

[0053] 1. This invention analyzes the formation mechanism and intrinsic characteristics of nonlinear distortion from the perspective of biological motion consistency. Based on this, three-dimensional registration is redefined as a continuous manifold trajectory optimization problem, and a continuous trajectory dynamics modeling method for three-dimensional registration is proposed for the first time.

[0054] 2. This invention employs unsupervised training entirely, without relying on manual annotation, making it particularly suitable for serial electron microscopy scenarios where annotations are scarce.

[0055] 3. Extensive experiments conducted on multiple datasets covering different tissue types demonstrate that this method outperforms existing methods in both structural recovery accuracy and cross-tissue robustness. Attached Figure Description

[0056] Figure 1 A diagram comparing the principles of this invention with existing methods.

[0057] Figure 2 This is the overall flowchart of the present invention.

[0058] Figure 3 This is a visualization comparison of the present invention with other methods on skin and pancreas datasets.

[0059] Figure 4 This is a visualization comparison of the present invention with other methods on a liver dataset.

[0060] Figure 5 This is a visualization comparing the present invention with other methods on heart and kidney datasets. Detailed Implementation

[0061] To make the objectives, technical solutions, and advantages of this invention clearer, the following detailed description, in conjunction with specific embodiments and accompanying drawings, further illustrates the invention. Obviously, the described embodiments are only a portion, not all, of the embodiments disclosed in this invention. All other embodiments obtained by those skilled in the art based on the embodiments disclosed in this invention without inventive effort are within the scope of protection of this invention.

[0062] This invention, starting from the fact that anatomical structures typically exhibit smooth manifold characteristics and maintain evolutionary consistency during morphological transformation, and that nonlinear distortion is essentially caused by abrupt changes in local curvature due to mechanical slicing, proposes a paradigm shift optimization framework. This framework redefines 3D registration as a motion trajectory optimization problem, preserving local structural information while maintaining overall trajectory smoothness, and systematically integrating biophysical priors with data-driven deformation compensation mechanisms. The motivation for this invention can be found in [link to invention]. Figure 1 Comparison with previous methods and motivation for the present invention: (a) Previous methods focused on local registration of adjacent slices, while the present invention improves upon this by introducing a global trajectory optimization that distinguishes the position, velocity, acceleration and curvature of the trajectory before and after smoothing; (b) The figure shows the curvature change of the original slice and the slice with nonlinear twist. Based on this observation, the present invention explores the possible internal correlation between nonlinear twist and trajectory curvature abrupt change.

[0063] Example 1

[0064] The overall process of this invention is as follows: Figure 2 The following technical solution is adopted:

[0065] An unsupervised trajectory optimization method for 3D registration in serial electron microscopy based on neural ordinary differential equations redefines the 3D registration problem as a continuous manifold trajectory optimization problem, including the following steps:

[0066] S1: Treat each pixel as a particle in a continuous medium, and set a single-particle trajectory optimization objective function and a globally consistent trajectory constraint objective function; specifically including:

[0067] S1-1: The trajectory of a single particle is defined as follows:

[0068] ;

[0069] in Represents the original trajectory. It is an axial Laplacian operator;

[0070] S1-2: Define the objective function for globally consistent constraints:

[0071] ;

[0072] in It is the total number of trajectories. It is the spatial consistency coefficient, used to maintain the topological relationship between neighboring pixels within a slice, and is defined as:

[0073] .

[0074] S2: A two-dimensional U-shaped convolutional neural network is used to estimate the displacement field between adjacent slices and construct the temporal trajectory volume for each pixel; to model the trajectory of each pixel, a trajectory volume is introduced. ,in Used to store slices The spatial coordinates and trajectory are initialized as follows:

[0075] ;

[0076] Next, the displacement field of the previous slice is recursively propagated to determine the position, and the sub-position flow is estimated using bilinear interpolation. Trajectory propagation is then performed using the transport equation:

[0077] ,

[0078] in This represents the interpolated displacement field.

[0079] The U-shaped convolutional neural network structure consists of a hybrid convolutional feature encoder and an upsampled dense feature decoder. The encoder consists of four convolutional layers with a stride of 2, and the number of channels is 8, 16, 32, and 64 respectively. Each convolutional layer includes two convolution operations, and the kernel size is as follows: and The decoder consists of four dense transposed convolutional layers with kernel sizes of 2, strides of 2, and channel sizes of 64, 32, 16, and 8 respectively. The final displacement field is generated by dual... Convolutional kernels and the Softsign activation function are used for generation. Image registration utilizes a spatial transformation network to create spatial twisting. The Adam optimizer is used with the following parameters: , The learning rate is There are a total of 500 rounds, with each batch size being 16. Smoothness parameter. The Gauss-Seidel method iterates 200 times. .

[0080] S3: Trajectory smoothing is performed by combining Gauss-Seidel iteration with the God constant differential equation. Trajectory smoothing is modeled as a weighted minimization of discrete curvature energy and the original trajectory deviation, with the objective of minimizing the deviation between the discrete curvature energy and the original trajectory. To solve this optimization objective, an iterative trajectory smoothing method based on the Gauss-Seidel method is used. Specifically, this includes:

[0081] S3-1: The Gauss-Seidel method uses the latest updated value immediately in each iteration to accelerate convergence. Its iterative formula is as follows:

[0082] ;

[0083] The boundary values ​​are fixed as follows:

[0084] ;

[0085] in This refers to the total number of slices and their positions. Each iteration starts from 1 to... .

[0086] S3-2: Compared to the Gauss-Seidel method, the God ordinary differential equations perform better in modeling continuous dynamic systems. They can effectively capture complex nonlinear deviations through implicit dynamic modeling, satisfying the following formula:

[0087] ;

[0088] in, It is a neural network with trainable parameters.

[0089] S3-3: This invention reformulates trajectory smoothing as a dynamic process of trajectory evolution over time, and organically integrates the explicit iterative convergence of Gauss-Seidel with the implicit dynamic modeling capability of the God ordinary differential equation:

[0090] ;

[0091] in It is the Gauss-Seidel operator, with the initial time... The trajectory is taken as input, with The time-smoothed trajectory is the output. ODESolver represents the neural dynamic correction module. These are adaptive weights that evolve over time, and the evolution and update method is as follows:

[0092] ;

[0093] in This represents the activation function used for smoothing. Control the sensitivity of the response rate. The distance between the smoothed trajectory and the original trajectory is represented by:

[0094] .

[0095] The differential equations used in the study employ a 3D U-shaped network, with parameters consistent with the kernel of the trajectory tracking network. The training batch size is 4, corresponding to the parameters of the objective function. , Other parameters remain the same as the default.

[0096] S4: The optimized trajectory is inverted into a displacement field on a pixel grid and used for image stack registration; and network training is performed based on the final objective function. In S4, to transform the smoothed trajectory into a discrete displacement field, the trajectory optimization yields the following trajectory: Each of the components Represents a slice The trajectory coordinates The displacement vector of the trajectory is Bilinear scatter interpolation is used to invert the trajectory of each pixel into integer grid point positions:

[0097] ;

[0098] This represents the bilinear scatter interpolation method. Representation of sliced ​​images The relevant deformation field. The image registration is obtained by performing deformation operations on the deformation field and the sliced ​​image as follows:

[0099] ;

[0100] And the final objective function is:

[0101] .

[0102] Example 2:

[0103] This embodiment is based on Example 1 and performs specific experimental verification, utilizing six publicly available datasets collected from the OpenOrganelle platform, including mouse heart, kidney, liver, skin, and pancreatic tissues.

[0104] Table 1 compares the present invention with existing 3D image registration methods. Here, MI represents interaction information, which measures the statistical dependence between the grayscale distributions of images; the higher the degree of registration between two images, the larger the MI coefficient. SSIM represents structural similarity index, which measures the structural similarity of images; the larger the SSIM coefficient, the more similar the images are in visual quality. NCC represents normalized cross-correlation, which measures the similarity at the pixel level; the larger the NCC coefficient, the higher the pixel similarity. Table 1 shows that the present invention outperforms previous methods in comparisons across various datasets and metrics.

[0105] Table 1: Performance of different 3D registration methods on six datasets

[0106] .

[0107] In addition to comparing the inventive performance, the present invention was also compared in terms of visualization, and the results are as follows: Figure 3-5 The present invention is superior to existing methods in terms of visualization, and the image texture is restored more smoothly and delicately while maintaining the original image texture and grayscale.

[0108] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for optimizing the three-dimensional registration trajectory of a serial electron microscope based on neural ordinary differential equations, characterized in that, The optimization method includes the following steps: S1: Treat each pixel as a particle in a continuous medium, and set a single-particle trajectory optimization objective function and a globally consistent trajectory constraint objective function; S2: A two-dimensional U-shaped convolutional neural network is used to estimate the displacement field between adjacent slices and construct the temporal trajectory volume for each pixel; to model the trajectory of each pixel, a trajectory volume is introduced. ,in This is used to store the spatial coordinates of slice z, and the trajectory is initialized as follows: ; Next, the displacement field of the previous slice is recursively propagated to determine the position, and the sub-position flow is estimated using bilinear interpolation. Trajectory propagation is then performed using the transport equation: ; in Represents the interpolated displacement field; S3: Combining Gauss-Seidel iteration with the God ordinary differential equation for trajectory smoothing; S4: The optimized trajectory is inverted into a displacement field on the pixel grid, and the network is trained based on the final objective function to finally achieve image stack registration.

2. The method for optimizing the three-dimensional registration trajectory of a serial electron microscope as described in claim 1, characterized in that, The process of S3 is to model trajectory smoothing as a weighted minimization of discrete curvature energy and original trajectory deviation, with the goal of minimizing the deviation between discrete curvature energy and original trajectory. To solve this optimization objective, the Gauss-Seidel method is used for iterative trajectory smoothing.