Content area
A method that allows a fast and accurate registration of digital tissue models obtained during preoperative, diagnostic imaging with those captured intraoperatively using lower-fidelity ultrasound imaging techniques is presented. Minimally invasive surgeries are often planned using preoperative, high-fidelity medical imaging techniques such as MRI and CT imaging. While these techniques allow clinicians to obtain detailed 3D models of the surgical region of interest (ROI), various factors such as physical changes to the tissue, changes in the body’s configuration, or apparatus used during the surgery may cause large, non-linear deformations of the ROI. Such deformations of the tissue can result in a severe mismatch between the preoperatively obtained 3D model and the real-time image data acquired during surgery, potentially compromising surgical success. To overcome this challenge, this work presents a new approach for predicting intraoperative soft tissue deformations. The approach works by simply tracking the displacements of a handful of fiducial markers or analogous biological features embedded in the tissue, and produces a 3D deformed version of the high-fidelity ROI model that registers accurately with the intraoperative data. In an offline setting, we use the finite element method to generate deformation fields given various boundary conditions that mimic the realistic environment of soft tissues during a surgery. To reduce the dimensionality of the 3D deformation field involving thousands of degrees of freedom, we use an autoencoder neural network to encode each computed deformation field into a short latent space representation, such that a neural network can accurately map the fiducial marker displacements to the latent space. Our computational tests on a head and neck tumor, a kidney, and an aorta model show prediction errors as small as 0.5 mm. Considering that the typical resolution of interventional ultrasound is around 1 mm and each prediction takes less than 0.5 s, the proposed approach has the potential to be clinically relevant for an accurate tracking of soft tissue deformations during image-guided surgeries.
Introduction
A major challenge that often hinders the success of image-guided surgery is the shape mismatch caused by the deformation of the region of interest (ROI), such as a tumor, between the time of diagnosis and the subsequent surgical procedure. Since biological tissues may be highly compliant, large deformations preceding or during the surgery may significantly reduce tissue tracking accuracy, leading to a critical mismatch between the real tissue configuration versus the imaging data presented to the clinician. Such discrepancies between the ROIs acquired during diagnosis and presurgical planning (commonly using MRI and CT imaging), versus those monitored during the surgery (CT or ultrasound) may arise due to a number of factors including physiological changes to the tissue over time, and differences in the patient’s tissue configuration due to variations in the patient’s 3D pose and contact with surgical instruments. Therefore, for surgeries that rely on 3D models acquired preoperatively, an accurate tracking and registration of the ROI deformation during the surgery is critical, especially for cases that require a precise control of safety margins such as physical tumor resection, cryosurgery, and radiation therapy [1].
To aid in downstream image-guided localizations and tracking of ROIs, fiducial markers (FM) [2–5] or functionally analogous markerless keypoint registration techniques [6–8], are commonly employed. FMs allow for clinicians to correlate between two images taken via different imaging modalities. In a typical radiotherapy application, for instance, FMs are implanted on the tumor or the surrounding tissue, which allows anatomical information of the ROI to be captured with a high resolution imaging modality such as MRI or CT. These markers are then easily detected during the surgery using lower fidelity systems such as ultrasound imaging, thereby allowing clinicians to track a tumor’s general configuration in real-time. However, unless digitally registered with the preoperative high-fidelity model, a precise visualization of the ROI’s instantaneous 3D shape can be very challenging, which possibly compromises the success of subsequent operations.
To account for the shape mismatch between surgical preplanning and intraoperative observations, researchers have made extensive efforts to explore different methods for tracking tissue deformations. Deformable models [9] have been proposed to simulate the shape change of soft biological tissues, including finite element methods (FEM). However, despite its accuracy, FEM simulations can be computationally prohibitive, especially when the solution involves complex mesh topologies and nonlinearities in either the computational models or material property formulations [10–20]. Even when tissue geometry can be rapidly captured via scanning, it is challenging for FEM to simulate its deformation in real-time for intraoperative visualization due to the need for computationally demanding, nonlinear iterative solvers. Several computational methods have been proposed including geometry and physics-based models. However, due to the intricate and unique nature of soft tissue boundary conditions, it is practically infeasible to create customized models for each tissue ROI and its interfacial environment to model the boundary conditions. Hence, there is an unmet need for surrogate models that can quickly and accurately predict tissue deformations using a limited amount of tracking aids such as the aforementioned embedded FM or keypoint registration techniques.
Recent literature has focused on combining machine learning (ML) methods with FEM to yield real-time tracking capabilities [21–25]. Some approaches use standard machine learning techniques for deformation prediction: Tonutti et al. use basic artificial neural networks and support vector regression [25], while Lorente et al. and Martinez et al. use tree based methods [21,24]. Karami et al. and Nguyen et al. used deep learning approaches built on LSTM methods to predict time varying deformations. Interestingly, Nguyen et al. use PCA to simplify the dimensionality of the deformation prediction as we do later in this paper. For clinical adoption, we believe it is important that limited information on loading conditions and displacements is required to make prediction on the deformation of the ROI. All the aforementioned papers require information on the location, magnitude, or direction of the externally applied forces, which may be challenging to acquire intraoperatively.
In this work, we describe a data-driven approach capable of predicting nonlinear deformations of the surgical ROI based on a real-time, ultra-sound based tracking of a few FMs embedded in the tissue. A key advantage of our approach is that during the surgery, it does not require the knowledge of precise boundary or loading conditions surrounding the tissue. Instead, it only relies on the displacements of several embedded FMs, which are commonly tracked using ultra-sound imaging techniques. Given the patient-specific FM-embedded 3D tissue model extracted in a pre-surgery session, our approach first produces a rich dataset by simulating tissue deformations across a range of different boundary conditions. The FEM software Ansys is employed to build the simulation models, where we impose different boundary conditions (BCs) and regularization techniques to generate varying force distributions and corresponding 3D deformation fields. In the next step, we compute a concise latent space representation of each of the high-dimensional deformation field vectors using an autoencoder. Next, we train a neural network (NN) regressor that takes as input FM displacements, and outputs the latent space vectors of the deformation fields. Finally, the predicted latent space vectors are decoded to obtain the 3D deformation field vectors corresponding to the deformed tissue. Results show that given the displacement of as few as five FMs, our approach can reconstruct in real-time deformed tissues with sub-millimeter accuracy. We demonstrate our approach across a head and neck tumor, a kidney, and an aorta model.
Materials and methods
Our proposed approach to predicting soft tissue deformations involves several major steps. Fig 1 details the overall pipeline, which can be further separated into three major components: (1) Establish FEM simulation models to generate various deformation fields given different boundary and loading conditions, thus creating a deformation dataset, (2) Train a convolutional autoencoder (AE) to encode the generated deformation fields into latent vectors, and (3) Train a neural network that maps simulated FM displacements to the corresponding latent vector of a particular deformation field. In clinical applications, the pretrained NN takes as input the observed FM displacements and outputs the latent vector. The latent vector is then decoded with the pretrained AE to reconstruct the deformed ROI.
[Figure omitted. See PDF.]
(a) Starting with a geometric model of the patient’s region of interest (ROI), we create a deformation dataset with FEM from a widely varying force field. This dataset contains the displacements of all nodes in the model, but can also be used to track just the displacement of the fiducial markers (FMs). (b) Using the full deformation dataset, we train the autoencoder to create a latent space representation which encodes the shape deformations. (c) Also during the training phase, a neural network (NN) and ridge regression (RR) model are trained to map FM displacements to the latent space. (d) In the deployment phase, the NN or RR is used to map in situ FM displacements to the latent space representation. The trained decoder reconstructs the full shape deformation from the latent vector.
[Figure omitted. See PDF.]
The models pictured are: (a) head and neck tumor, (b) head and neck tumor cross-section, (c) kidney, (d) kidney cross-section, (e) aorta aneurysm, and (e) aorta aneurysm cross-section.
To illustrate our approach, a 3D model of a head-and-neck (H&N) squamous carcinoma tumor is used throughout this section. The H&N tumor model is a retrospective de-identified model from a CT-scan of the tumor. The model was accessed for this study between January 23, 2018 and April 18, 2024. Researchers from this study had no access to identifying information over the course of the study, nor upon first receipt of the model. The CT-scanned H&N tumor is reconstructed using Synopsys’ Simpleware™ software and meshed with a tetrahedral mesh in Netgen [26]. Fig 2 and Table 1 show further details of this geometry and its parameters. We also visualize the kidney and aorta aneurysm models used later in this paper, and detail their properties in Fig 2 and Table 1. It is worth noting that we used the same material properties from the H&N tumor for our kidney and aorta aneurysm models as well, since the major aim of this research is to show the capability of our data-driven pipeline on full-field deformation prediction given only a few displacements values of FMs, rather than generating realistic deformation fields for each respective model. We hypothesize that our trained machine learning model would yield equally accurate results with whatever material properties we choose as long as the soft tissue deformation magnitude falls within a similar range.
[Figure omitted. See PDF.]
Modeling tissue deformation with nonlinear FEM
We use the nonlinear FEM solver in Ansys with quadratic tetrahedral elements for our simulation models. Within the FEM scheme [27], the tissue deformation is modeled as:
(1)
where ( is the number of nodes) is the global stiffness matrix, is the 3D nodal displacement vector and is the external force vector. In this work, deformations are primarily driven by the forces generated in the tissue’s interstitial environment. Hence, the external forces are assumed to be present only on the surface nodes. Thus, Eq 1 can be rewritten as:
(2)
where and are submatrices of K that correspond to the internal and surface nodes, respectively. As such, is the vector representing forces applied to the surface of the model.
With regard to the nonlinearity of the FEM solver, we model the following nonlinearities in the dataset generation:
1. Material nonlinearity. We model the soft tissue as a homogeneous, continuous and isotropic neo-Hookean solid. The material constants can be computed based on Young’s modulus and Poisson’s ratio following the approach introduced in [28].
2. Geometric nonlinearity. By separating the simulation process into incremental steps, the force is divided into load increments that are gradually applied to the tumor. The transformation and stiffness matrices are recomputed at each step to account for incremental changes in the geometry of the tumor.
3. Nonlinear elements. In our simulation, each element is a 10-node quadratic tetrahedral element with four corner nodes and six nodes located at the midpoints of the edges.
In essence, the nonlinearity of our simulation arises from both nonlinear material properties and nonlinear simulation schemes. This is sufficient to capture most of the nonlinear deformation behaviors of the target soft tissues.
Creation of deformation dataset based on nonlinear FEM
To train our machine learning pipeline, we generate a dataset of deformed tumor models using the aforementioned nonlinear FEM solver. Since the deformation is primarily driven by a smooth force field on the tumor surface, we generate a large variety of unique smoothed force fields applied on the tumor surface and calculate the corresponding deformations through simulations. As shown in Fig 3, we first generate a few nodal forces on the surface of the model by randomly selecting positions, magnitudes, and directions of the loads; then we perform spectral decomposition of the discretized Laplacian of the tumor’s surface mesh to obtain a discretized Laplacian-Beltrami operator (LBO) that can spread the nodal forces into smoother force field distributions around them. A scalar field P of forces can then be reconstructed as a weighted linear combination of the first k eigenvectors of L as follows:
(3)
where Γ is a matrix encoding the first k eigenvectors of L, w is a k × 1 weight vector, and P is the resulting scalar field defined over the surface of the tumor.
Using the above strategy, we can generate however many force fields we intend to, through a random sampling process of weight vector w. As shown in Equ 4, to generate the x, y, and z components of f, we multiply those components with the aforementioned randomly generated weights and then reconstruct a series of completely different LBO-smoothed force field derived from a few concentrated forces ().
(4)
where j ∈ { x , y , z } , is the jth component of , is number of surface vertices, s is the scaling factor, is eigen force field obtained from the ith eigenvector of the discretized LBO, m is number of template force fields, and is weighting terms sampled uniformly from [ − 1 , 1 ] . The scaling factor s is used to control the magnitude of , which subsequently determines the maximum displacement magnitude of the simulated deformations.
With the generated , a pool of deformation samples can be simulated through the nonlinear FEM simulation. The training and validation dataset can therefore be partitioned and established from the generated deformation sample pool. To evaluate the prediction performance on much more diverse deformations, we create a set of randomly sampled and then simulate with given material properties and mesh structures. The detailed scheme of the construction of is shown in Fig 3. It is worth noting that we separately generate the testing dataset through nonlinear finite element simulation with completely different , which will be used to validate the trained NN and evaluate the reconstruction performance.
[Figure omitted. See PDF.]
The procedures of generating are: (i) generate concentrated forces with a randomly sampled magnitude between [ − s , s ] and a randomly assigned node on the outer surface as the loading position, and (ii) use LBO to locally smooth the concentrated forces and generate a smoothed concentrated force field (). In the figure, the initial magnitude of three forces: N, and is eventually obtained after 20 iterations of smoothing with a rate of 0.1.
Encoding of deformation vectors
It is challenging to create a mapping from the displacement vector of a few FMs to the full-length deformation vector of a specific geometric model (e.g., a tumor), whose mesh contains thousands of nodes and has very high dimensionality. Therefore, it would be impractical to put nodal displacements directly on the output side of the machine learning pipeline due to over-fitting and training time considerations. To overcome this issue, an AE is utilized to reduce the dimension of simulated deformation vectors and create a unique and concise latent representation for each deformation of a specific geometry. In this paper, a simple architecture with a stack of multiple convolutional layers is employed for both the encoder and decoder of the AE, with a n-dimensional latent space. On the application end, we train the AE immediately after we obtain the deformation results from the FEM simulations, and the resultant latent vectors are generated by pushing the full-length deformation vectors through the AE encoder. When we need to reconstruct the entire deformation vector from the corresponding latent embedding, we push the latent embedding through the trained AE decoder and the nodal displacements will be recovered accordingly.
Deformation prediction with NN
After the AE is trained over the deformation field dataset, a NN is trained to predict the previously generated latent embeddings given the displacement vectors of FMs. We again utilize and , but this time we only consider the deformation of the FMs. We perform parametric studies (elaborated in Sec. Parametric studies) on input and output dimensions of the NN, corresponding to the number of FMs and latent dimension. We empirically found the hidden layer dimensions of the NN, , to balance generalizability with minimal overfitting across all geometries. Furthermore, we monitor the validation curve during training to ensure our model does not overfit to the training data. Our NN uses ReLU as the activation function for each layer except the output layer. The NN’s structure and parameters (shown in Table 2) are the same for all geometries discussed in this paper.
In the proposed approach, the fully-trained NN serves as a surrogate model that projects the FMs’ displacement vectors to the latent space established by AE. The predicted latent vectors are subsequently used to reconstruct the corresponding entire deformation field vector through the AE decoder.
Deformation prediction with ridge regression
We use ridge regression as the baseline method for deformation prediction. The function parameters are detailed in Table 3 and the objective function is shown in Eq 5.
(5)
[Figure omitted. See PDF.]
[Figure omitted. See PDF.]
The objective function in Eq 5 minimizes the difference between reconstructed and ground truth FM displacements with respect to the latent vector . The coefficients and are weighting terms with . We apply a small weight, , on the regularization term to prevent overfitting. The optimal ratio of is obtained through a parametric study for each model.
Evaluation metrics
To evaluate our models’ ability to reconstruct the shape of the deformed tissue, we use the two following metrics: mean nodal reconstruction error (Eq 6) and max nodal reconstruction error (Eq 7),
(7)(6)
where and are 3 × 1 displacement vectors of vertex i in the benchmark and predicted shapes and is the total number of vertices. In each case we compute the Euclidean distance between a given benchmark vertex and predicted vertex. For the mean nodal reconstruction error, we average the error over all vertices in a given shape. For the max nodal reconstruction error, we simply take the maximum error of all the vertices in the shape, to get an idea of the worst case error for our models.
Results and discussion
In this section, we demonstrate the deformation reconstruction performance of our proposed approach on three different geometric models - namely H&N tumor, kidney, and aorta aneurysm. We also present the parametric study results for latent space dimension, number of FMs, and NN or AE architectures.
We implement the NN with PyTorch 1.6.0, and all demonstrated experiments are completed using a consumer-grade CPU (4-core Intel I7-8550U @ 1.80GHz). Each geometry is discretized as a mesh model, with the topology of each model remaining fixed throughout the FEM simulation process as well as the learning pipeline. Table 1 shows the fundamental parameters, including material constants, of each geometry and its corresponding mesh model. The number of FMs is prescribed before running through the machine learning pipeline, and the FMs are selected from the nodes of each mesh model following the revised k-center clustering algorithm (detailed in S1 Appendix). After the learning process, we validate the reconstruction performance on all geometries with both the fully-trained pipeline and ridge regression (our baseline method), to demonstrate the efficacy and efficiency of our proposed method.
[Figure omitted. See PDF.]
The gray mesh corresponds to the undeformed geometry, the blue mesh corresponds to the ground truth deformation, and the yellow mesh corresponds to the NN reconstruction.
[Figure omitted. See PDF.]
Red corresponds to the NN model, green corresponds to the RR model, and quartiles are marked by the dashed lines. (a) Mean nodal reconstruction error. (b) Maximum nodal reconstruction error.
Head-and-neck tumor
For the H&N tumor geometric model, we use displacement vectors of 5 FMs and latent vectors with the dimension of 12 × 1 as the input and output of the NN training, respectively. The corresponding full-length deformation field vectors are reconstructed using the pretrained AE decoder given the predicted latent vectors. To ensure diversity in the dataset we deform the ground truth FEM simulations up to a maximum magnitude of ∼ 70 mm, for widely varying force field distributions as described in Sec. Creation of deformation dataset based on nonlinear FEM and Fig 3. We detail the scale of deformations seen in the three models in Fig 4. Fig 6 visualizes the benchmark configuration and the reconstructed configuration of the H&N tumor based on FM displacement samples from using both the NN and RR models. Fig 5 shows the violin plots of mean nodal reconstruction error (Offsetmean) and max nodal reconstruction error (Offsetmax). The average reconstruction error values are tabulated for both NN and RR models across all geometries in Table 4 for Offsetmean and in Table 5 for Offsetmax. Importantly, the maximum nodal reconstruction error for test cases on all three geometries is sub-millimeter, meaning that our approach exceeds the resolution of conventional intraoperative ultrasound.
[Figure omitted. See PDF.]
[Figure omitted. See PDF.]
Kidney
A kidney consists of two major parts, the medulla and the cortex [29]. In our implementation, it is assumed that the medulla has an extremely soft mechanical property so that the physical interaction between medulla and cortex can be ignored. It is common to model the kidney as a homogeneous material, with no distinction made between the medulla and cortex [30,31]. We study the cortex of the kidney, which has a hollow structure and is therefore topologically different from the H&N tumor.
[Figure omitted. See PDF.]
The blue mesh corresponds to the ground truth deformation, the green mesh corresponds to the NN reconstruction, and the red mesh corresponds to the RR reconstruction.
[Figure omitted. See PDF.]
The average nodal displacement errors (i.e., mean nodal error and max nodal error) are plotted together with error bars. (a) Varying number of FMs, with latent dimension of 5. (b) Varying latent dimension with 5 FMs.
For the kidney model, we use displacement vectors of 5 FMs and latent vectors with the dimension of 8 × 1 as the input and output of the NN training, respectively, and the maximum deformation magnitude is around 30 mm. Fig 6 visualizes the benchmark configuration and the reconstructed configuration of the kidney model based on FM displacement samples from using both the NN and RR models. Fig 5 show the violin plots of mean nodal reconstruction error (Offsetmean) and max nodal reconstruction error (Offsetmax), respectively. The average reconstruction error values are tabulated for both NN and RR models across all geometries in Table 4 for Offsetmean and in Table 5 for Offsetmax. From the above results, it can be concluded that on the geometric model with a different topology, our proposed approach still has a higher reconstruction accuracy and a much faster reconstruction speed than a traditional baseline model like ridge regression.
Aorta aneurysm
Different from the previous two models, the aorta aneurysm geometric model is a thin tube-like shape with a hollow structure [32]. Using the same approach, we apply force fields to the outer surface of the geometry, and all six degrees of freedom of the three pre-selected nodes at the middle of the geometry are fixed as the boundary conditions. Since the structure of the studied aorta aneurysm can be easily deformed with lateral forces (forces perpendicular to its middle axis), we control the magnitude (smaller than the force fields applied to the above two models) of the general forces to make the maximum deflection of the model reach 30 mm.
For the aorta aneurysm geometric model, we use displacement vectors of 10 FMs and latent vectors with the dimension of 20 × 1 as the input and output of the NN training, respectively. Fig 6 shows the visualized comparison between the benchmark configuration and the reconstructed configuration of the aorta aneurysm geometric model. Fig 5 shows the violin plot of Offsetmean and Offsetmax of two different reconstruction methods. On the model of aorta aneurysm, our proposed approach outperforms the baseline method again, with a lower mean and max nodal reconstruction errors on both the training and testing sets. This result, together with the reconstruction performance of the kidney geometric model, demonstrates the generalizability of our proposed approach to different geometries and topologies.
Parametric studies
In this section, parametric studies are accordingly demonstrated with respect to the number of FMs and the dimension of the latent space. These correspond to the input and output dimensions of the neural network, respectively. We showcase the results using the H&N tumor. The optimal parameters are determined by not only having an acceptable reconstruction error defined in Sec. Evaluation metrics, but also considering the surgical and computational cost.
Number of FMs.
In clinical practice, FMs correspond to the pre-surgically implanted gold seeds/physical deformation trackers inside the human body. Therefore, it is desirable to have as few FMs as possible during surgery. In practical applications, there may also be a limited region where FMs can be placed. We perform a parametric study to analyze how prediction accuracy varies with the number of FMs used. In this section, experiments are performed with the number of FMs varying from 1 to 30. The FMs are placed using the k-center clustering algorithm described in S1 Appendix. The results of the parametric study are shown for the H&N tumor in Fig. 7. We note that when the number of FMs decreases, both the overall prediction error and the number of significantly-poor cases increase. Likewise, for the other two investigated geometric models, similar correlations between the number of FMs and the prediction performance is observed. To select the optimal FM number for a specific geometric model, we set a threshold for Offsetmean or Offsetmax and pick the fewest possible number of FMs that yields a result under this threshold.
Algorithm 1: Revised K-center clustering.
Latent dimension.
The latent dimension may vary with different geometries. It is apparent that the larger the latent dimension is, the more accurately the pretrained AE decoder can reconstruct a deformed configuration. Nevertheless, we should also apply a reasonable limit to the latent dimension to make the NN training process less challenging. To resolve this trade-off, we run parameterization on the latent dimension to search for the optimal one that takes both the computational cost and the reconstruction accuracy into consideration. Fig 7 shows the parameterization result on the latent dimension of the H&N tumor model. We identify an “elbow” in both the mean and max nodal displacements after the latent dimension reaches 5, and choose this as our latent dimension. We also observe that very high latent dimensions (i.e., close to 30 in this case) might lead to worse reconstruction performances. This phenomena is due to the fact that higher latent dimension increase the output vector size of NN and thereby reduce the NN’s prediction accuracy on the latent vector. As was done for the number of FMs, by setting a threshold for Offsetmean or Offsetmax, the optimal latent dimension can be chosen accordingly for any geometric model. From the above results, we demonstrate that the proposed approach can be employed to predict the deformation of various soft tissue models. Moreover, the computation time for going through the entire prediction and reconstruction pipeline is less than 0 . 5s for all the cases, indicating our work’s potential for real-time surgical applications.
Conclusion
A data-driven approach is developed for predicting intraoperative soft tissue deformation based on FM registration. In the proposed approach, physical nonlinear simulations are performed to model deformation prior to surgery and are later utilized to train a NN surrogate model for the real-time deployment of deformation prediction. We employ an AE encoder-decoder structure to project the full-length deformation vectors into a low-dimensional latent space, which simplifies the NN training and prediction process. For the H&N tumor model with a maximum displacement of 30 mm, our approach is capable of reconstructing this deformation with sub-millimeter accuracy, which is below the typical 1 mm resolution of interventional ultrasound. Parametric studies on the number of FMs, latent dimension, and NN structure are performed accordingly to characterize the optimal NN model structure. Further tests on different anatomical models have demonstrated the generalizability of our approach to various geometries and topologies.
Although generating datasets and training the NN can take several hours, the process can be done preoperatively. After the NN is trained, the deformation prediction of one case takes less than 0 . 5 s, compared to the computational time of around 5 minutes for each simulation via the FEM method. This demonstrates the proposed approach’s capability in real-time tracking of intraoperative soft tissue deformations with high reconstruction fidelity. Overall, the presented approach is able to yield fast and accurate predictions on intraoperative soft tissue deformations, by harnessing the advantages from both high-fidelity simulations and the NN surrogate model, which demonstrate its potential of being clinically relevant in the future.
Limitations & future work
Despite presenting a systematic study on the real-time reconstruction of soft tissue’s deformation with an NN-based approach, our paper still has several limitations. Firstly, our approach requires a minimum of three fixed anchor points (boundary conditions) to restrict rotation of the model when applying force fields. When the fixed anchor points change, our NN-based model might not be able to yield accurate predictions and deformation reconstruction results. Secondly, it is well established that NNs perform poorly on out of range predictions. Therefore it is necessary to generate a deformation dataset which exceeds the in situ deformations for the surgical ROI. Additionally, the current approach requires that the to-be-reconstructed sample must be derived from the exactly same geometry and mesh topology. If the initial geometry of the sample is changed, the NN may fail to reconstruct its deformation.
Due to the aforementioned limitations, there is room for improvement to extend our current work. For instance: (i) we can generalize benchmark creation with more complex BCs, (ii) we can use physical experiments to validate our proposed computational framework, (iii) we can extend deformation to a larger scale with changes in topology, and (iv) we can employ more advance machine learning models/architectures.
Supporting information
S1 Appendix. Method for selecting FMs. The conventional K-center clustering algorithm iteratively searches the farthest point from the pre-obtained centers within a specific closed geometry [33]. However, it might lead to an uneven distribution of search directions when the geometry is highly irregular, forcing the centers to be heavily concentrated at corners or edges of the region. Realistically, the geometries of human soft tissues are originally or deformed to be irregular in most cases. Therefore, to homogeneously distribute FMs in the target geometry, the revised K-center clustering algorithm maximizes the average and minimizes the variance of distances among the selected centers at the same time. In this paper, the minimal distance threshold between two center points is set to 10 mm; two sub-loops are implemented in the algorithm to alternately obtain the point with the maximum distance average and the point with the minimum distance variance. With an initial point specified, the algorithm can automatically search the next best center point candidate based on the positions of pre-obtained centers and iteratively distribute the required number of center points within a closed mesh topology. Algorithm S1 Fig shows the pseudocode detailing the implementation of the aforementioned algorithm. S1 Fig shows FMs captured by the algorithm with different numbers of iterations (i.e., number of points k) within the H&N tumor model, evidencing that the revised K-center clustering algorithm enables the homogeneous distribution of FMs with arbitrarily specified k.
S1 Fig. Distribution of different numbers (k) of FMs in H&N tumor model.
Starting at the initial node index of 97, the red asterisks represent the centers obtained by the revised K-center clustering algorithm. k = 5 is eventually selected for implementations in this paper.
https://doi.org/10.1371/journal.pone.0319196.s001
(TIF)
Acknowledgments
We thank Dr. Gal Shafirstein from the Photodynamic Therapy Center, Department of Cell Stress Biology, Roswell Park Comprehensive Cancer Center for providing H&N tumor geometry. We thank NIH 3D Exchange for providing us with the geometric models of the kidney [29] and aorta aneurysm [32].
References
1. 1. Azagury DE, Dua MM, Barrese JC, Henderson JM, Buchs NC, Ris F, et al. Image-guided surgery. Curr Probl Surg 2015;52(12):476–520. pmid:26683419
* View Article
* PubMed/NCBI
* Google Scholar
2. 2. Han Y, Oakley E, Shafirstein G, Rabin Y, Kara LB. Reconstruction of a deformed tumor based on fiducial marker registration: A computational feasibility study. Technol Cancer Res Treat. 2018;17:1533034618766792. pmid:29658392
* View Article
* PubMed/NCBI
* Google Scholar
3. 3. Han Y, Rabin Y, Kara LB. Soft tissue deformation tracking by means of an optimized fiducial marker layout with application to cancer tumors. Int J Comput Assist Radiol Surg 2020;15(2):225–37. pmid:31606792
* View Article
* PubMed/NCBI
* Google Scholar
4. 4. Kok END, Eppenga R, Kuhlmann KFD, Groen HC, van Veen R, van Dieren JM, et al. Accurate surgical navigation with real-time tumor tracking in cancer surgery. NPJ Precis Oncol. 2020;4:8.
* View Article
* Google Scholar
5. 5. Radiological Society of North America. Fiducial marker placement; 2023. Available from: https://www.radiologyinfo.org/en/info/fiducial-marker#:~:text=The
6. 6. Johnson HJ, Christensen GE. Consistent landmark and intensity-based image registration. IEEE Trans Med Imaging 2002;21(5):450–61. pmid:12071616
* View Article
* PubMed/NCBI
* Google Scholar
7. 7. Evans AC, Marrett S, Torrescorzo J, Ku S, Collins L. MRI-PET correlation in three dimensions using a volume-of-interest (VOI) atlas. J Cereb Blood Flow Metab. 1991;11(2):A69-78. pmid:1997491
* View Article
* PubMed/NCBI
* Google Scholar
8. 8. Ault T, Siegel MW. Frameless patient registration using ultrasonic imaging: a preliminary study. J Image Guid Surg 1995;1(2):94–102. pmid:9079433
* View Article
* PubMed/NCBI
* Google Scholar
9. 9. Zhang J, Zhong Y, Gu C. Deformable Models for Surgical Simulation: A Survey. IEEE Rev Biomed Eng. 2018;11:143–64. pmid:29990129
* View Article
* PubMed/NCBI
* Google Scholar
10. 10. Carter TJ, Sermesant M, Cash DM, Barratt DC, Tanner C, Hawkes DJ. Application of soft tissue modelling to image-guided surgery. Med Eng Phys 2005;27(10):893–909. pmid:16271490
* View Article
* PubMed/NCBI
* Google Scholar
11. 11. Cash DM, Miga MI, Sinha TK, Galloway RL, Chapman WC. Compensating for intraoperative soft-tissue deformations using incomplete surface data and finite elements. IEEE Trans Med Imaging 2005;24(11):1479–91. pmid:16279084
* View Article
* PubMed/NCBI
* Google Scholar
12. 12. Rucker DC, Wu Y, Clements LW, Ondrake JE, Pheiffer TS, Simpson AL, et al. A mechanics-based nonrigid registration method for liver surgery using sparse intraoperative data. IEEE Trans Med Imaging 2014;33(1):147–58. pmid:24107926
* View Article
* PubMed/NCBI
* Google Scholar
13. 13. Heiselman JS, Clements LW, Collins JA, Weis JA, Simpson AL, Geevarghese SK, et al. Characterization and correction of intraoperative soft tissue deformation in image-guided laparoscopic liver surgery. J Med Imaging (Bellingham) 2018;5(2):021203. pmid:29285519
* View Article
* PubMed/NCBI
* Google Scholar
14. 14. Lunn KE, Paulsen KD, Roberts DW, Kennedy FE, Hartov A, Platenik LA. Nonrigid brain registration: Synthesizing full volume deformation fields from model basis solutions constrained by partial volume intraoperative data. Comput Vision Image Understand. 2003;89(2–3):299–317.
* View Article
* Google Scholar
15. 15. Sun K, Pheiffer TS, Simpson AL, Weis JA, Thompson RC, Miga MI. Near real-time computer assisted surgery for brain shift correction using biomechanical models. IEEE J Transl Eng Health Med. 2014;2:2500113. pmid:25914864
* View Article
* PubMed/NCBI
* Google Scholar
16. 16. Khallaghi S, Sánchez CA, Rasoulian A, Sun Y, Imani F, Khojaste A, et al. Biomechanically constrained surface registration: Application to MR-TRUS fusion for prostate interventions. IEEE Trans Med Imaging 2015;34(11):2404–14. pmid:26054062
* View Article
* PubMed/NCBI
* Google Scholar
17. 17. Nimsky C, Ganslandt O, Hastreiter P, Fahlbusch R. Intraoperative compensation for brain shift. Surg Neurol. 2001;56(6):357–64; discussion 364-5. pmid:11755962
* View Article
* PubMed/NCBI
* Google Scholar
18. 18. Monserrat C, Meier U, Alcañiz M, Chinesta F, Juan MC. A new approach for the real-time simulation of tissue deformations in surgery simulation. Comput Methods Programs Biomed 2001;64(2):77–85. pmid:11137190
* View Article
* PubMed/NCBI
* Google Scholar
19. 19. Zou Y, Liu PX, Cheng Q, Lai P, Li C. A new deformation model of biological tissue for surgery simulation. IEEE Trans Cybern 2017;47(11):3494–503. pmid:27187979
* View Article
* PubMed/NCBI
* Google Scholar
20. 20. Ling Z, Ying Y, Baoquan Z, Lijing W. An improved meshless method in virtual surgery simulation. 2014 international conference on virtual reality and visualization; 2014. p. 449–54. https://doi.org/10.1109/icvrv.2014.49
21. 21. Lorente D, Martínez-Martínez F, Rupérez MJ, Lago MA, Martínez-Sober M, Escandell-Montero P, et al. A framework for modelling the biomechanical behaviour of the human liver during breathing in real time using machine learning. Expert Systems with Applications. 2017;71:342–57.
* View Article
* Google Scholar
22. 22. Karami M, Lombaert H, Rivest-Hénault D. Real-time simulation of viscoelastic tissue behavior with physics-guided deep learning. Comput Med Imaging Graph. 2023;104:102165. pmid:36599223
* View Article
* PubMed/NCBI
* Google Scholar
23. 23. Nguyen-Le DH, Ballit A, Dao T-T. A novel deep learning-driven approach for predicting the pelvis soft-tissue deformations toward a real-time interactive childbirth simulation. Engineering Applications of Artificial Intelligence. 2023;126:107150.
* View Article
* Google Scholar
24. 24. Martínez-Martínez F, Rupérez-Moreno M, Martínez-Sober M, Solves-Llorens J, Lorente D, Serrano-López A. A finite element-based machine learning approach for modeling the mechanical behavior of the breast tissues under compression in real-time. Computers in biology and medicine. 2017;90:116–24.
* View Article
* Google Scholar
25. 25. Tonutti M, Gras G, Yang G-Z. A machine learning approach for real-time modelling of tissue deformation in image-guided neurosurgery. Artif Intell Med. 2017;80:39–47. pmid:28750949
* View Article
* PubMed/NCBI
* Google Scholar
26. 26. Sch öberl J. NETGEN An advancing front 2D/3D-mesh generator based on abstract rules. Computing and Visualization in Science 1997;1(1):41–52.
* View Article
* Google Scholar
27. 27. Bathe KJ. Finite element procedures Prentice-Hall. New Jersey; 1996. p. 1037.
28. 28. Hu T, Desai JP. Soft-tissue material properties under large deformation: Strain rate effect. The 26th annual international conference of the IEEE engineering in medicine and biology society, vol. 1. IEEE; 2004. p. 2758–61.
29. 29. National Institutes of Health 3D Exchange. Kidney 3D model; 2014. Available from: https://3d.nih.gov/entries/3DPX-000906
30. 30. Bourdin X, Trosseille X, Petit P, Beillas P. Comparison of tetrahedral and hexahedral meshes for organ finite element modeling: An application to kidney impact. Proceedings of the 20th international technical conference on the enhanced safety of vehicles; 2007. p. 1–10.
31. 31. Snedeker JG, Bajka M, Hug JM, Székely G, Niederer P. The creation of a high‐fidelity finite element model of the kidney for use in trauma research. J Visual Comput Animat 2002;13(1):53–64.
* View Article
* Google Scholar
32. 32. National Institutes of Health 3D Exchange. Aorta aneurysm 3D model; 2016. Available from: https://3d.nih.gov/entries/3DPX-003283
33. 33. Park D, Caramanis C, Sanghavi S. Greedy subspace clustering. Advances in neural information processing systems; 2014. p. 2753–61.
Citation: Liu H, Han Y, Emerson D, Rabin Y, Kara LB (2025) A data-driven approach for real-time soft tissue deformation prediction using nonlinear presurgical simulations. PLoS ONE 20(4): e0319196. https://doi.org/10.1371/journal.pone.0319196
About the Authors:
Haolin Liu
Contributed equally to this work with: Haolin Liu, Ye Han
Roles: Conceptualization, Formal analysis, Investigation, Methodology, Software, Validation, Writing – original draft, Writing – review & editing
Affiliation: Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh, Pennsylvania, United States of America
ORICD: https://orcid.org/0000-0002-9237-5613
Ye Han
Contributed equally to this work with: Haolin Liu, Ye Han
Roles: Conceptualization, Formal analysis, Investigation, Methodology, Software, Visualization, Writing – original draft
Affiliation: Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh, Pennsylvania, United States of America
Daniel Emerson
Roles: Formal analysis, Investigation, Methodology, Software, Visualization, Writing – original draft, Writing – review & editing
Affiliation: Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh, Pennsylvania, United States of America
ORICD: https://orcid.org/0009-0000-2149-0553
Yoed Rabin
Roles: Conceptualization, Methodology, Project administration, Supervision, Writing – review & editing
Affiliation: Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh, Pennsylvania, United States of America
Levent Burak Kara
Roles: Conceptualization, Methodology, Project administration, Supervision, Writing – original draft, Writing – review & editing
E-mail: [email protected]
Affiliation: Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh, Pennsylvania, United States of America
ORICD: https://orcid.org/0000-0002-2203-4020
[/RAW_REF_TEXT]
[/RAW_REF_TEXT]
[/RAW_REF_TEXT]
[/RAW_REF_TEXT]
[/RAW_REF_TEXT]
[/RAW_REF_TEXT]
[/RAW_REF_TEXT]
[/RAW_REF_TEXT]
1. Azagury DE, Dua MM, Barrese JC, Henderson JM, Buchs NC, Ris F, et al. Image-guided surgery. Curr Probl Surg 2015;52(12):476–520. pmid:26683419
2. Han Y, Oakley E, Shafirstein G, Rabin Y, Kara LB. Reconstruction of a deformed tumor based on fiducial marker registration: A computational feasibility study. Technol Cancer Res Treat. 2018;17:1533034618766792. pmid:29658392
3. Han Y, Rabin Y, Kara LB. Soft tissue deformation tracking by means of an optimized fiducial marker layout with application to cancer tumors. Int J Comput Assist Radiol Surg 2020;15(2):225–37. pmid:31606792
4. Kok END, Eppenga R, Kuhlmann KFD, Groen HC, van Veen R, van Dieren JM, et al. Accurate surgical navigation with real-time tumor tracking in cancer surgery. NPJ Precis Oncol. 2020;4:8.
5. Radiological Society of North America. Fiducial marker placement; 2023. Available from: https://www.radiologyinfo.org/en/info/fiducial-marker#:~:text=The
6. Johnson HJ, Christensen GE. Consistent landmark and intensity-based image registration. IEEE Trans Med Imaging 2002;21(5):450–61. pmid:12071616
7. Evans AC, Marrett S, Torrescorzo J, Ku S, Collins L. MRI-PET correlation in three dimensions using a volume-of-interest (VOI) atlas. J Cereb Blood Flow Metab. 1991;11(2):A69-78. pmid:1997491
8. Ault T, Siegel MW. Frameless patient registration using ultrasonic imaging: a preliminary study. J Image Guid Surg 1995;1(2):94–102. pmid:9079433
9. Zhang J, Zhong Y, Gu C. Deformable Models for Surgical Simulation: A Survey. IEEE Rev Biomed Eng. 2018;11:143–64. pmid:29990129
10. Carter TJ, Sermesant M, Cash DM, Barratt DC, Tanner C, Hawkes DJ. Application of soft tissue modelling to image-guided surgery. Med Eng Phys 2005;27(10):893–909. pmid:16271490
11. Cash DM, Miga MI, Sinha TK, Galloway RL, Chapman WC. Compensating for intraoperative soft-tissue deformations using incomplete surface data and finite elements. IEEE Trans Med Imaging 2005;24(11):1479–91. pmid:16279084
12. Rucker DC, Wu Y, Clements LW, Ondrake JE, Pheiffer TS, Simpson AL, et al. A mechanics-based nonrigid registration method for liver surgery using sparse intraoperative data. IEEE Trans Med Imaging 2014;33(1):147–58. pmid:24107926
13. Heiselman JS, Clements LW, Collins JA, Weis JA, Simpson AL, Geevarghese SK, et al. Characterization and correction of intraoperative soft tissue deformation in image-guided laparoscopic liver surgery. J Med Imaging (Bellingham) 2018;5(2):021203. pmid:29285519
14. Lunn KE, Paulsen KD, Roberts DW, Kennedy FE, Hartov A, Platenik LA. Nonrigid brain registration: Synthesizing full volume deformation fields from model basis solutions constrained by partial volume intraoperative data. Comput Vision Image Understand. 2003;89(2–3):299–317.
15. Sun K, Pheiffer TS, Simpson AL, Weis JA, Thompson RC, Miga MI. Near real-time computer assisted surgery for brain shift correction using biomechanical models. IEEE J Transl Eng Health Med. 2014;2:2500113. pmid:25914864
16. Khallaghi S, Sánchez CA, Rasoulian A, Sun Y, Imani F, Khojaste A, et al. Biomechanically constrained surface registration: Application to MR-TRUS fusion for prostate interventions. IEEE Trans Med Imaging 2015;34(11):2404–14. pmid:26054062
17. Nimsky C, Ganslandt O, Hastreiter P, Fahlbusch R. Intraoperative compensation for brain shift. Surg Neurol. 2001;56(6):357–64; discussion 364-5. pmid:11755962
18. Monserrat C, Meier U, Alcañiz M, Chinesta F, Juan MC. A new approach for the real-time simulation of tissue deformations in surgery simulation. Comput Methods Programs Biomed 2001;64(2):77–85. pmid:11137190
19. Zou Y, Liu PX, Cheng Q, Lai P, Li C. A new deformation model of biological tissue for surgery simulation. IEEE Trans Cybern 2017;47(11):3494–503. pmid:27187979
20. Ling Z, Ying Y, Baoquan Z, Lijing W. An improved meshless method in virtual surgery simulation. 2014 international conference on virtual reality and visualization; 2014. p. 449–54. https://doi.org/10.1109/icvrv.2014.49
21. Lorente D, Martínez-Martínez F, Rupérez MJ, Lago MA, Martínez-Sober M, Escandell-Montero P, et al. A framework for modelling the biomechanical behaviour of the human liver during breathing in real time using machine learning. Expert Systems with Applications. 2017;71:342–57.
22. Karami M, Lombaert H, Rivest-Hénault D. Real-time simulation of viscoelastic tissue behavior with physics-guided deep learning. Comput Med Imaging Graph. 2023;104:102165. pmid:36599223
23. Nguyen-Le DH, Ballit A, Dao T-T. A novel deep learning-driven approach for predicting the pelvis soft-tissue deformations toward a real-time interactive childbirth simulation. Engineering Applications of Artificial Intelligence. 2023;126:107150.
24. Martínez-Martínez F, Rupérez-Moreno M, Martínez-Sober M, Solves-Llorens J, Lorente D, Serrano-López A. A finite element-based machine learning approach for modeling the mechanical behavior of the breast tissues under compression in real-time. Computers in biology and medicine. 2017;90:116–24.
25. Tonutti M, Gras G, Yang G-Z. A machine learning approach for real-time modelling of tissue deformation in image-guided neurosurgery. Artif Intell Med. 2017;80:39–47. pmid:28750949
26. Sch öberl J. NETGEN An advancing front 2D/3D-mesh generator based on abstract rules. Computing and Visualization in Science 1997;1(1):41–52.
27. Bathe KJ. Finite element procedures Prentice-Hall. New Jersey; 1996. p. 1037.
28. Hu T, Desai JP. Soft-tissue material properties under large deformation: Strain rate effect. The 26th annual international conference of the IEEE engineering in medicine and biology society, vol. 1. IEEE; 2004. p. 2758–61.
29. National Institutes of Health 3D Exchange. Kidney 3D model; 2014. Available from: https://3d.nih.gov/entries/3DPX-000906
30. Bourdin X, Trosseille X, Petit P, Beillas P. Comparison of tetrahedral and hexahedral meshes for organ finite element modeling: An application to kidney impact. Proceedings of the 20th international technical conference on the enhanced safety of vehicles; 2007. p. 1–10.
31. Snedeker JG, Bajka M, Hug JM, Székely G, Niederer P. The creation of a high‐fidelity finite element model of the kidney for use in trauma research. J Visual Comput Animat 2002;13(1):53–64.
32. National Institutes of Health 3D Exchange. Aorta aneurysm 3D model; 2016. Available from: https://3d.nih.gov/entries/3DPX-003283
33. Park D, Caramanis C, Sanghavi S. Greedy subspace clustering. Advances in neural information processing systems; 2014. p. 2753–61.
© 2025 Liu et al. This is an open access article distributed under the terms of the Creative Commons Attribution License: http://creativecommons.org/licenses/by/4.0/ (the “License”), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.