Brought to you by:
Note

Detailed high quality surface-based mouse CAD model suitable for electromagnetic simulations

, , , and

Published 30 November 2023 © 2023 IOP Publishing Ltd
, , Citation Peter Serano et al 2024 Biomed. Phys. Eng. Express 10 017001 DOI 10.1088/2057-1976/ad0e14

2057-1976/10/1/017001

Abstract

Transcranial magnetic stimulation (TMS) studies with small animals can provide useful knowledge of activating regions and mechanisms. Along with this, functional magnetic resonance imaging (fMRI) in mice and rats is increasingly often used to draw important conclusions about brain connectivity and functionality. For cases of both low- and high-frequency TMS studies, a high-quality computational surface-based rodent model may be useful as a tool for performing supporting modeling and optimization tasks. This work presents the development and usage of an accurate CAD model of a mouse that has been optimized for use in computational electromagnetic modeling in any frequency range. It is based on the labeled atlas data of the Digimouse archive. The model includes a relatively accurate four-compartment brain representation (the 'whole brain' according to the original terminology, external cerebrum, cerebellum, and striatum [9]) and contains 21 distinct compartments in total. Four examples of low- and high frequency modeling have been considered to demonstrate the utility and applicability of the model.

Export citation and abstract BibTeX RIS

1. Introduction

Transcranial magnetic stimulation (TMS) studies with small animals (e.g., mice and rats) can provide useful knowledge of brain activating regions and mechanisms [13]. Along with and in parallel to this, functional magnetic resonance imaging (fMRI) in mice and rats is increasingly often used to draw important conclusions about the brain connectivity and functionality [47].

For both types of studies—the low-frequency quasistatic TMS and the high-frequency MRI or fMRI—a high-quality computational surface-based rodent model may be useful as a tool for performing supporting modeling and optimization tasks [8].

This work presents the development and usage of an accurate CAD model of a mouse that has been optimized for use in computational electromagnetic (EM) modeling in any frequency range. It is based on the labeled atlas data of the Digimouse archive [9, 10]. Although the voxel-based Digimouse archive is well known, previous efforts [1113] focused on the generation of tetrahedral meshes suitable exclusively for the finite element method (FEM). Due to its CAD compatible nature, the meshes generated in the present work can be easily adapted to any simulation methodology (i.e., Finite Difference Time Domain, Boundary Element, Method, Finite Integral, etc) making it compatible across a myriad of commercial and research simulation platforms. This characteristic is demonstrated in the present work as the same meshes are used for high-frequency calculations in the FEM based commercial software Ansys Electronics Workbench HFSS and low-frequency simulations are executed with in MATLAB using the Boundary Element Fast Multipole Method (BEM-FMM) [31, 32]. Additionally, the triangular surface structure of the meshes presented herein offer the user a host of easily implemented manipulations to tailor the meshes for a particular application. For example, if higher resolution is required, simple barycentric division can be employed to dramatically reduce the minimum mesh surface edge. The triangular surface structure also enables a host of surface manipulations that can be realized via three-dimension affine operations. If a tumor or an embedded medical device is necessary, surface meshes may be easily changed to accommodate additional structures. This can be further extended to replicate physiological motion, as demonstrated here [14].

This study constructs such a surface CAD model and disseminates it for various applications. The model includes a relatively accurate four-compartment brain representation (the 'whole brain', external cerebrum, cerebellum, and striatum according to the original terminology [9]) and contains 21 distinct compartments in total. Preliminary model usage is described in [15].

This study is organized as follows. In section 2, Materials and Methods, we describe the model construction and its topology. In section 3, Results, we describe several computation examples or projects: two projects for low-frequency TMS (transcranial magnetic stimulation) modeling and another two projects for high- or radio-frequency (RF) MRI rodent coil modeling and design. Both the low-frequency and high-frequency projects along with the model itself in the stereolithographic (*.STL) format are made available.

2. Materials & methods

2.1. Initial surface reconstruction

The computational mouse model prepared specifically for this work was derived from the labeled atlas data of the Digimouse archive [9, 10]. The authors of this atlas collected co-registered positron emission tomography (PET), computed tomography (CT), and cryosection data to fully characterize the internal organs and external surface of a 28 g male mouse. This data resulted in a 380,992,208 cubical voxel matrix; each voxel is cubical with a side length of 0.1 mm. Each voxel in the atlas was given a greyscale intensity value corresponding to one of twenty-one distinct tissues.

This greyscale image stack was imported into ITK-SNAP [16]. After that, each of the twenty-one tissues was segmented from the image stack. The gross features of each tissue were extracted using the semi-autonomous tools of ITK-SNAP; finer features were captured on a voxel-by-voxel basis using a variety of manual segmentation tools. Following segmentation, surface meshes were obtained and saved as stereolithographic (*.STL) files. The resulting mesh files were post-processed using standard algorithms on an as-needed basis. Mesh resurfacing was accomplished using screened Poisson surface reconstruction [17]; mesh size reduction was realized through the use of quadric edge collapse decimation [18]; element smoothing and quality enhancement was achieved using Taubin smoothing [19]. All post-processing was completed using the open-source tool Meshlab [20] and verified as CAD compatible structures (manifold, non-self-intersecting) with the commercial software Ansys SpaceClaim. All 21 surface meshes were 2-manifold and had a high triangle quality (twice the ratio of the incircle radius to the circumcircle radius). However, these meshes were very large in size. For example, the skin surface alone had 2.7 million facets. Plus, the majority of these meshes did intersect in small domains. Figure 1 shows the initial model so constructed.

Figure 1.

Figure 1. Initial surface reconstruction (with average body shell removed for clarity). The model has 5.3 million triangular facets in total.

Standard image High-resolution image

2.2. Pipeline for generating high-quality composite non-intersecting mesh assembly in ansys spaceclaim and ansys electronics desktop

A semi-automated pipeline has been developed for converting the initial composite surface model to a set of strictly non-intersecting meshes while maintaining the closest similarity with the initial meshes with regard to their volume and other geometrical properties. This process includes the following steps:

  • 1.  
    All meshes were imported into Ansys SpaceClaim 2023 R1 in STL format.
  • 2.  
    A shrink-wrap operation was applied for every mesh with the goal to reduce the faceting while maintaining high mesh quality.
  • 3.  
    All meshes were then imported into Ansys Electronics Desktop 2023 R1 and the mesh intersections were resolved semi-automatically using Boolean subtraction operations.

The shrink-wrap operation allows for the specification of a target facet length in which to create a new surface with uniform faceting that is said to be 'wrapped' around the input geometry. The volume of the geometry before and after facet reduction was computed and the facet length applied to each tissue was adjusted to achieve the minimum length needed to successfully retain at least 99% of the original tissue volume. Note that for the 'skin' geometry the large increase in the reduced model was due to encapsulation of folded skin. Using this technique, the total number of facets was able to be reduced by 87% while maintaining high triangle quality and anatomical accuracy. This reduction allows the model to be utilized with commercial EM solvers like Ansys HFSS.

2.3. Decoupling tissue meshes from neighboring structures

The result of the operations from the previous section was the composite surface mouse model with approximately 670,000 facets in total and with all strictly non-intersecting tissues. However, many of the tissues still had exactly coincident facets. To physically separate the meshes with a small gap, the surface sculpt operation with any and all adjacent meshes using the free triangular surface mesh manipulator Meshmixer v3.5.474 by Autodesk has been performed. Sculpting combines affine transformations to enable mesh bending over a defined area using a controlled strength. Multiple meshes were simultaneously projected so that separation resolution could be visually confirmed prior to checking again using Boolean operations. This separation and validation procedure took approximately 20 manhours to complete.

2.4. Model topology

When constructed in the manner described above, the final model possesses a set of topological characteristics necessary for

  • (i)  
    cross-platform compatibility and;
  • (ii)  
    computational efficiency.

Each original triangular surface tissue mesh is strictly 2-manifold or thin-shell (no non-manifold faces, no non-manifold vertices, no holes, and no self-intersections). No tissue mesh has any triangular facets in contact with other tissue surfaces. There is always a small gap between the distinct tissue surfaces. This gap physically represents connective tissues or thin membranes separating individual distinct organs from each other.

Numerically, this gap corresponds to an 'average body' container, which encloses organs and tissues, and guarantees compatibility between different CAD formats. Figure 2 shows the model topology using a cross-section view. Note that the 'skin' object is utilized by default as the 'average body' container for this model. The container type can be changed by introducing a sub container.

Figure 2.

Figure 2. Top and middle: reduced surface reconstruction (with average body shell removed for clarity). The model has 0.67 million facets in total. Bottom: Element quality as defined by twice the radius of the (largest) inscribed circle divided by the radius of the (smallest) circumscribed circle.

Standard image High-resolution image

2.5. Mesh quality

There are many definitions that exist to define the quality of a triangular element as it may relate to deviation from an ideal equilateral triangle [21]. Regardless of the metric used to define it, finite element quality is essential to the success of a given simulation. Studies on the suitability of triangular mesh structure the FEM [22] and maximum internal angle of two- [23] and three-dimensional elements [24], as well as the three-dimensional Joe-Liu metric [25] provide guidelines that drive mesh quality [26, 27] especially as related to the convergence of a given simulation [28].

For the purposes of this work, mesh quality is defined as [29]

Equation (1)

where ${r}_{in}$ is the radius of the largest inscribed circle within the element, ${r}_{out}$ is the radius of the smallest circumscribed circle that encapsulates the element, and a, b, and c are the corresponding triangle line segments. These radii and line segments are shown for a right-angled isosceles triangle in the lowest section of figure 2.

Under this definition, an equilateral triangle would have a quality factor of $q=1$ and degenerate triangles would deviate from this value to zero. While the value of $q$ for a triangular element suitable for numerical analysis is subjective, a threshold of $q\gt 0.4$ shall be adopted. The quality of the meshed representation of an entire structure (e.g., a bone, muscle, etc) shall be assessed based on the worst individual value of $q.$

Figure 2 shows the resulting composite surface model with 0.67 million facets in total. Table 1 gives the tissue mesh roster along with the minimum triangle quality for every mesh. Figure 3 illustrates the model topology along with the brain composition. The brain is divided into several sub-regions including the cerebellum striatum, external cerebrum, and the 'rest of the brain'.

Table 1. Tissue roster for the composite surface mouse model.

NameAvg. Facet Size [mm]# FacesVolume [mm3]
  OriginalReduced% ΔOriginalReduced% Δ
Adrenal Glands0.1055964838−13.5%5.545.49−0.8%
Bladder0.45485961844−96.2%189.35187.40−1.0%
Cerebellum0.20195203798−80.5%30.3830.11−0.9%
External Cerebrum0.207868415376−80.5%137.56137.40−0.1%
Eyes0.1055444480−19.2%5.455.41−0.8%
Skeleton0.171204376319492−73.5%1722.831713.50−0.5%
Heart0.45594882262−96.2%222.56220.34−1.0%
Kidneys0.451217324720−96.1%496.80492.32−0.9%
Lachrymal Glands0.15199767136−64.3%30.0529.88−0.6%
Liver0.14410288164880−59.8%2011.252012.440.1%
Lungs0.2016678031128−81.3%416.03419.470.8%
Masseter Muscles0.25563127116−87.4%106.73105.75−0.9%
Medulla0.20241284836−80.0%45.5145.24−0.6%
Olfactory Bulbs0.20117922294−80.5%18.4918.37−0.6%
Pancreas0.50324127170−77.9%44.7644.36−0.9%
Whole brain (or 'rest of the brain' [9])0.208590016534−80.8%151.10150.71−0.3%
Skin0.50267297255724−97.9%18342.5222974.7525.3%
Spleen0.30646245476−91.5%140.23138.97−0.9%
Stomach0.45671402528−96.2%225.79223.79−0.9%
Striatum0.20188243714−80.3%26.0625.80−1.0%
Testes0.34529203710−93.0%149.01147.48−1.0%
Total5227604669056−87.2%24518.0029128.9818.8%
Figure 3.

Figure 3. (a) Model topology; cross-section view; 'skin' object utilized as 'average body' shell. (b) Detailed view of mouse head.

Standard image High-resolution image

Table 2 provides the quality value for each mesh as determined by equation (1) as well as the minimum mesh edge length.

2.6. Model frequency suitability and material properties

For the present study, we employ frequency ranges as defined by the International Telecommunication Union and assert that the meshes created herein are suitable for applications from Very Low Frequency (VLF) (3–30 kHz) to Very High Frequency (VHF) (30–300 MHz). The flexibility to be able to apply a single set of meshes across a broad range of frequencies (thereby enabling the simulation of many relevant applications) is due to the ease with which triangular surface meshes may be manipulated. Consider as an example the requirements of a mesh as frequency increases from VLF to VHF and the corresponding wavelength decreases. If we stipulate that twenty points are necessary to capture the behavior of an electromagnetic wave, the maximum allowable edge length of any triangular facet in a mesh may be given as:

Equation (2)

where $\lambda $ is the wavelength in the medium under consideration (free space, tissue, bone, etc). If further refinement is required, barycentric subdivision, depicted in figure 4, or a similar refinement methodology may be employed to ensure the threshold defined by equation (2) is met. This refinement process may indeed be iteratively employed to enable simulation of applications at frequencies beyond those cited above. If lower resolution can be tolerated, faster simulation execution times can be realized through triangular surface mesh decimation via quadric edge collapse [18] or another standard decimation process.

Figure 4.

Figure 4. Barycentric subdivision where the triangle center of mass is identified. An additional vertex is defined at this center of mass to create three new triangles from one. This process may be iterated to create a sufficiently refined triangular surface mesh.

Standard image High-resolution image

The model has also been augmented with tissue properties mimicking the respective human body properties and adapted from the IT'IS database [30], which tabulates values of electric permittivity and permeability from 10 Hz to 100 GHz and has become the industry standard from which countless studies have referenced. For the low-frequency simulations, we use the data at 10 kHz. For high-frequency simulations, we use the data at 600 MHz.

3. 3. Results & discussion

3.1. Application to low-frequency TMS and magnetic stimulation modeling

To model TMS exposure of the mouse brain, we applied the recently developed charge-based boundary element fast multipole method or BEM-FMM [31, 32]. This method is more accurate than the first-order FEM [33]. The entire project was constructed and disseminated using the MATLAB® platform. The model executed in 30–50 seconds on a 2.6 GHz machine for one coil position using an accurate iterative solution.

A Cool 40 Rat coil of MagVenture, Denmark with dI/dt = 4.7e7 A/m targeting the mouse brain in an anterior position is shown in figures 5(a). (b), (c) show the computed total inducted electric field just inside the brain interfaces (cerebellum + external cerebrum + the whole brain).

Figure 5.

Figure 5. (a) Mouse model subject to TMS stimulation with Cool 40 Rat coil of MagVenture. (b) Total electric field just inside the brain interfaces (cerebellum + external cerebrum + the whole remaining brain). (c) Zoomed in brain region.

Standard image High-resolution image

As another computational example, figure 6 shows computational results for the total electric field distribution just inside mouse bone (figure 6(a)) and in two principal planes (figures 6(b),(c) given a primary induced coil field of $E=-\partial A/\partial t=100{\rm{V}}/{\rm{m}}$ in the anterior-posterior direction. A custom coil design is located posterior to the body center. The coil field is applied predominantly to the lower extremities of a sleeping animal. Only the average body shell/volume, skeleton, and heart were included in these computations. It follows from figure 6(a) that the field just inside bone is on the order of 25%–50% of the primary coil field, which is a useful initial estimate. Figures 6(b),(c) also show that the electric field in soft tissues (and heart) is relatively small which indicates one potential advantage of magnetic stimulation compared to electrical/ultrasound stimulation.

Figure 6.

Figure 6. Computational results for total electric field distribution just inside bone (a) and in two principal planes (b), (c) given a posterior primary induced coil field of $E=-\partial A/\partial t=100{\rm{V}}/{\rm{m}}$ in the anterior-posterior direction.

Standard image High-resolution image

3.2. Application to high frequency MRI RF coil modeling

A typical high frequency application of the computational mouse model is modeling and design of a radio frequency (RF) coil for MRI studies (cf [34, 35]). Here, we first consider a simple ring-shaped capacitively loaded surface RF coil resonating at 600 MHz shown along with the mouse model in figure 7(a). The simulation engine is Ansys Electronics Desktop (HFSS) 2023 R1 which was used to compute the fields induced in and around the mouse by the RF surface coil as well as tissue loading effects on the coil circuit network parameters (port S-parameters).

Figure 7.

Figure 7. (a) Mouse model with an MRI surface coil in Ansys Electronics Desktop HFSS. (b) Co-simulation linear network circuit analysis model for coil tuning & matching. (c) Port matching of the surface coil.

Standard image High-resolution image

An electromagnetic and circuit co-simulation methodology implemented as a linked finite element method (FEM) model and linear network (S-Parameter) circuit model is used to tune and match the RF coil to operate at the target Larmor frequency of 600 MHz.

Figure 7(b) shows the equivalent circuit and a co-simulation linear network circuit analysis setup for coil tuning and matching. It includes four tuning capacitors and one matching capacitor. Figure 7(c) is the result of the port matching of the surface coil placed above the mouse's head and loaded with the head tissues. Figure 8 shows the induced electric a) and magnetic b) field magnitude plot through a cross-section of the model at 600 MHz when 2.5 mW of incident power is applied to the input of the coil. Since meshes that were constructed for this work are entirely surface based shells, consisting solely of contiguous, high-quality triangles that define the mesh surface, Ansys Electronics Desktop HFSS, the software package used to solve Maxwell's equations in 3D throughout the solution domain, uses these surfaces as a basis from which to construct tetrahedral volume meshes. Ansys Electronics Desktop HFSS then performs an evaluation of the gradient of the fields following solution to check if there are higher than desired changes across elements. If this is the case, Ansys HFSS uses its inherent tetrahedral mesh refinement to subdivide tetrahedral elements in areas of high gradients until a user defined threshold is obtained. This results in a much smaller minimum (tetrahedral) edge length employed by the FEM based solver, as shown in the rightmost column of table 2. After 6 iterations of tetrahedral mesh refinement, the final mesh utilized 4.3 million tetrahedra, required 44.5GB RAM, and had a run-time of 7 h and 6 min using 6x cores of an Intel i7–11850H CPU. Simulation convergence was evaluated by ensuring subsequent adaptively refined meshes of increasing density did not change any component of the solved S-parameter matrix by more than 0.01. The final convergence was 0.0038 after 6 solved solution passes.

Figure 8.

Figure 8. Induced electric (a) and magnetic (b) field magnitude plots through a cross-section of the model at 600 MHz.

Standard image High-resolution image

Table 2. Total number of faces, quality as defined by equation (1), the minimum edge length in mm for each mesh as originally constructed, and the minimum edge length of each tetrahedra after adaptive mesh refinement for a simulation at 600 MHz Ansys Electronics Desktop HFSS .

Name# FacesMesh QualityMinimum Edge Length [mm]Minimum Edge Length [mm] for 600 MHz simulation
Adrenal Glands48380.730.0560.0193
Bladder18440.790.2970.5168
Cerebellum37980.730.1120.0009
External Cerebrum153760.740.0880.0005
Eyes44800.710.0560.0606
Skeleton3194920.40.0020.0003
Heart22620.750.2610.011
Kidneys47200.760.2660.0125
Lachrymal Glands71360.710.0620.0122
Liver1648800.640.0670.0007
Lungs311280.630.0980.0004
Masseter Muscles71160.680.140.0007
Medulla48360.460.0560.0009
Olfactory Bulbs22940.740.1250.0085
Pancreas71700.730.1130.0154
Whole brain (or 'rest of the brain' [9])165340.430.0580.0014
Skin557240.690.2610.0006
Spleen54760.690.1880.0137
Stomach25280.490.1710.0083
Striatum37140.710.0860.0049
Testes37100.710.1610.3169
Total669056   

Another example shown in figure 9 is a design and tuning a 2-port 16 rung high pass birdcage rodent coil at 600 MHz. The coil has the diameter of 40 mm (the shield diameter is 44 mm) and the coil length is 30 mm. Figure 9(a) shows the mouse model with the MRI birdcage rodent coil in Ansys Electronics Desktop HFSS and a co-simulation linear network circuit analysis model for coil tuning and matching. Figure 9(b) demonstrates port matching of the birdcage coil with the mouse model inside.

Figure 9.

Figure 9. (a) Mouse model with an MRI birdcage rodent coil in Ansys Electronics Desktop HFSS and a co-simulation linear network circuit analysis model for coil tuning & matching. (b) Port matching of the birdcage coil.

Standard image High-resolution image

3.3. Comparison of generated meshes with source data

Whenever medical images are used to construct models, regardless of the simulation methodology or application, one must always consider the anatomical accuracy of the resulting meshes, as this gives the modeler a feel for how realistic the results are. Unfortunately, there is no particularly concise process or metric to accomplish this comparison. However, given how good the human eye is at locating differences between two sets of images, we can superimpose the meshes onto the original medical source data to identify any discrepancies and to ascertain if these discrepancies should be addressed.

Figure 10 provides two examples where the meshes constructed using the processes described herein are overlayed on top of the original Digimouse cryosection images. On the left of figure 10, cryosection slice 54 is used as a reference; on the right of figure 10, cryosection 101, which is higher in the axial (transverse) plane of the mouse, is the reference. We see an overall agreement between the data and the meshes with some minor variations likely due to two factors. First, the segmentation masks employed were constructed from a combination of registered computed tomography (CT), positron emission tomography (PET), and cryosection data [9]. The comparisons shown in figure 10 are lacking this other source data, but still provide a strong indication that the mesh accuracy is high. Second, some misalignments due to both cryosection slice preparation and the fact that the animal may not have been fully frozen during CT and PET imaging were noted by the original research team [9]. While techniques including piecewise volume registration were employed to properly align the various data types, it is not possible to entirely rule out some minor misalignments. However, the end results show an excellent overall agreement.

Figure 10.

Figure 10. Left: Overlay of reduced surface reconstruction on slice 101 of Digimouse cryosection data. Right: Note that segmentation masks were created from a combination of registered CT, PET, and crysection data.

Standard image High-resolution image

4. Conclusion

A highly accurate anatomical surface-based CAD model of a mouse has been developed, tested, and made available to the research community. The model is suitable for both low-frequency (quasistatic) as well as high-frequency (full wave) electromagnetic simulations. The surface meshes are still robust enough to assure execution times below 1 min for BEM-FMM quasistatic modeling and below 1½ hours for full-wave FEM modeling (1 adaptive pass).

The corresponding Dropbox repository [36] contains the collection of tissue meshes in the form of *.STL files, the fully executable low-frequency TMS project that replicates figure 5 of this study, and the fully executable MRI RF coil modeling project that replicates figures 6 and 7 of this study. In the first case, we use MATLAB platform; in the second case, Ansys Electronics Desktop (HFSS) platform is used.

Acknowledgments

The authors wish to thank Henrik Corfitzen and Yordan Todorov (MagVenture, Farum, Denmark) for providing information on the TMS coil wire winding geometry. This work was supported by the National Institutes of Health Center for Mesoscale Mapping (grant number P41EB030006) and the National Institute of Biomedical Imaging and Bioengineering (grant number R01EB029818).

Data availability statement

The data that support the findings of this study are openly available at the following URL/DOI: https://doi.org/https://www.dropbox.com/sh/2vug7qry9wsmp1q/AABaM6EQol6Ph2U5fWpgw6hGa?dl=0.

Please wait… references are loading.
10.1088/2057-1976/ad0e14