Manuscript Offprint
arXiv:2611.04002Evaluating the Impact of Nonlinear Registration on Longitudinal PET Analysis in a Rodent Stroke Model
Haytham Ziani¹, El Mostafa Kalmoun¹, Zohaib Atif², and Hyuk-Sang Kwon²
¹ School of Science and Engineering, Al Akhawayn University in Ifrane, Morocco h.ziani@auli.ma
² 3D-BIT Lab, Department of Biomedical Science and Engineering, Gwangju Institute of Science and Technology, Gwangju 61005, South Korea
Abstract. Longitudinal rodent positron emission tomography (PET) studies of stroke and neuromodulation rely on accurate registration to a common atlas space to detect group-level effects. Prior work applying ultra-high frequency low-intensity magnetic stimulation (UHF-LiMS) to a rat model of chronic capsule infarct used affine normalization to a Sprague Dawley MRI template without evaluating that choice [1]. We compare a two-stage (affine and nonlinear) pipeline against an affine-only one for rat PET-to-atlas alignment on the same dataset. Across 32 longitudinal [¹⁸F]-FDG PET scans (8 rats, 4 timepoints), the nonlinear stage gave a higher Dice similarity coefficient on every scan, and the gain was significant at the rat level. Jacobian determinants showed no folding on the sampling grid. Group-level linear mixed-effects maps of change from baseline (AFNI 3dLME), computed identically under both pipelines, differ in the size, number and location of their suprathreshold clusters. In this dataset, the registration pipeline is therefore a variable that can change the interpretation of downstream group-level analyses.
Keywords: Image registration · PET · rodent stroke model · nonlinear registration.
1 Introduction
Longitudinal small-animal positron emission tomography (PET) imaging is a standard tool for tracking disease progression and treatment response over time. A critical step in such studies is registration: aligning each scan, often acquired weeks apart under variable noise and motion conditions, into a common atlas space. The spatial accuracy of this step directly affects the reliability of subsequent group-level statistics across subjects and timepoints.
In rodent PET studies, registration is often treated as a routine step rather than as a methodological variable [2]. A single affine transformation to a template is commonly applied and followed directly by group-level analysis, without quantifying registration accuracy or comparing alternative alignment strategies [3]. Given the small size of rodent brains, their susceptibility to motion and
H.Ziani et al.
the limited resolution of small-animal PET, residual misalignment after affine-only registration can bias quantitative outcomes [2, 4]. The study that introduced ultra-high-frequency, low-intensity magnetic stimulation (UHF-LiMS) for chronic capsular infarct in rats [1] illustrates this gap. Its longitudinal PET scans were normalized to a Sprague Dawley magnetic resonance imaging (MRI) template by affine registration alone, and no registration accuracy was reported.
On that same dataset, we evaluate a two-stage pipeline: affine registration followed by nonlinear Symmetric Normalization (SyN). Registration quality is assessed with the Dice similarity coefficient and Jacobian determinant maps. The downstream effect is assessed with group-level linear mixed-effects maps computed under both pipelines.
Learning-based methods such as VoxelMorph [7] and SynthMorph [8] predict a deformation field with a network trained once, instead of solving a new optimization problem for each image pair. A single cohort of 32 PET scans registered to an MRI atlas is too small to train or adapt such a model, so both pipelines evaluated here are classical, optimization-based ones.
3 Methods
3.1 Data and Preprocessing
We use the 5 mT UHF-LiMS dataset of Atif et al. [1]: longitudinal PET with fluorodeoxyglucose (FDG) from 8 rats with photothrombotic capsular infarct, each imaged at four timepoints (32 scans). In the original study the images were attenuation-corrected and reconstructed by three-dimensional ordered-subsets expectation maximization (3D-OSEM). We denote the timepoints (baseline, pre-stroke), (2 weeks post-stroke, pre-stimulation), (1 week post-stimulation) and (2 weeks post-stimulation). They correspond to the condition labels d00, d01, d07 and d14 in the analysis scripts, where the suffix indexes the stimulation protocol rather than elapsed days.
The inherited volumes are not raw reconstructions. In [1] they had already been resampled with 3dresample from the Analysis of Functional NeuroImages (AFNI) suite [11] onto the grid of the Waxholm Space (WHS) Sprague Dawley
MRI atlas [10] that serves as our working space ( voxels of mm). They had also been scaled by a per-scan constant and affine-aligned to a study-specific mean template with 3dWarpDrive. Both pipelines compared here therefore start from a linearly aligned state, a point we return to in Section 5. Residual translations and rotations that could impede convergence were then removed manually with AFNI's nudge_dataset plugin under visual inspection.
3.2 Affine Registration
The pre-aligned scans were registered with a 12-degree-of-freedom affine transformation by AFNI's align_epi_anat.py (epi2anat mode). The target was the native-resolution WHS atlas ( voxels at 0.1 mm), and the result was written back onto the source grid. The cost function was normalized mutual information (NMI). Unlike metrics that assume a monotonic intensity relationship, NMI is robust to differing fields of view, low spatial resolution and metabolic contrast variation [12, 13]. Every registration was checked visually.
3.3 Nonlinear Registration
The affinely registered scans were then refined by SyN in ANTsPy, the Python interface of ANTs [9], against the atlas resampled to the working grid. We used the Mattes mutual information metric [14] with 32 histogram bins and the deformation-only SyNOnly transform, so that this stage refines the affine result instead of re-estimating it. The linear component returned with the warp was the identity in all 32 cases, which confirms that the stage is purely deformable.
Before group-level modeling, AFNI's 3dmerge smoothed the registered volumes of both pipelines with the same Gaussian kernel of 1.2 mm full width at half maximum (FWHM). Smoothing affects only the statistical maps, and the registration metrics of Section 3.4 use the unsmoothed volumes. We report the kernel explicitly because smoothing directly influences cluster extent.
3.4 Evaluation Metrics
Let denote a moving PET volume, the fixed atlas, and the estimated transformation (affine, or affine followed by SyN), so that is the registered volume. For binary masks and , with the number of voxels, the Dice similarity coefficient [15] is . We take , the binarized whole-brain atlas mask, which also restricts the group-level model and contains voxels. Because the PET volumes carry no anatomical labels, we take , the set of the brightest voxels of . Both masks then have the same cardinality, so volume is not a confound and the score depends only on where the most metabolically active voxels fall relative to the atlas brain. The score is thus an intensity-derived proxy for the alignment of the high-uptake envelope, not a label-based overlap of delineated structures. We use
H.Ziani et al.
it because no per-structure segmentations of these volumes exist, and we discuss its limits in Section 5.
The determinant of the Jacobian matrix of each deformation served as a regularity check. A diffeomorphism has everywhere, and non-positive values indicate folding. We computed from the forward warp on the atlas grid, so the check is discrete and does not prove invertibility of the continuous map.
Group-level effects were modeled voxelwise with AFNI's 3dLME [16], with timepoint as a fixed effect and rat as a random intercept, inside the mask . The model was fitted separately to the affine-only and the Affine + SyN data, so the two pipelines share data, mask and contrasts (). Maps of the voxelwise statistic were thresholded at (two-sided ) and clustered with AFNI's 3dClusterize (face and edge neighbors, minimum extent 42 voxels, about 5.03 L). This extent was fixed a priori to suppress isolated voxels and was not derived from a cluster-size null distribution. The maps are therefore uncorrected, and they serve to compare topology between pipelines, not to establish significance.
Scan-level Dice differences (SyN minus affine) are reported descriptively. Since the 32 scans are nested within 8 rats, the confirmatory test uses the 8 per-rat mean differences: a one-sample -test against zero, with an exact binomial sign test. A linear mixed-effects model of the scan-level difference (timepoint fixed, rat as random intercept, Satterthwaite degrees of freedom) tests whether the gain varies across timepoints.
4 Results
4.1 Registration Accuracy
The Affine + SyN pipeline gave a higher Dice than affine-only registration on all 32 scans (Figure 1), with scan-level gains between 0.024 and 0.101. Mean Dice rose from 0.6449 (standard deviation SD = 0.0528) to 0.6952 (SD = 0.0464). The scan-level gain averaged 0.0504 (SD = 0.0180), a large effect (Cohen's ). At the rat level the mean gain was 0.0504 (SD = 0.0103), with , and 95% confidence interval [0.0417, 0.0590]. All 8 rats improved (sign test, ). The mixed-effects model detected no dependence of the gain on timepoint ( and 0.729 for and against ), although eight rats give this test little power and the value is borderline. Both pipelines lie far above chance: a randomly placed -voxel mask has expected Dice , where is the number of voxels in the field of view.
4.2 Diffeomorphism Check
Over the 32 determinant maps, ranged from 0.200 to 2.964, with a per-map mean of 1.000, and no non-positive value occurred at any grid point. The deformations therefore show no folding on the evaluated grid. The implied local volume change lies between a fivefold contraction and a threefold expansion.

Fig. 1. Scan-level Dice similarity coefficients for affine-only and Affine + SyN registration (32 rodent PET scans).
4.3 Group-Level Statistical Maps
Figure 2 shows the thresholded maps, and we write for the extreme value within a cluster. All contrasts are cumulative changes from the pre-stroke baseline . They combine the effect of the infarct with that of any later stimulation and do not isolate a stimulation effect.
Cluster topology depended markedly on the pipeline. At , the largest affine-only cluster had 156 voxels () and the suprathreshold total was 474 voxels. With Affine + SyN, the largest cluster was about three times larger (476 voxels, ) and the total was 804 voxels. Both maps had four clusters at this timepoint.
The pipelines were closest at : 590 suprathreshold voxels in six clusters (largest 164, ) for affine-only, against 435 voxels in five clusters (largest 148, ) for Affine + SyN.
At the divergence took another form. Affine + SyN gave more suprathreshold volume (938 vs. 806 voxels), but its largest cluster (437 voxels, ) was smaller than the affine-only one (593 voxels, ), and the rest of its signal was spread over seven smaller clusters. In this dataset, the pipeline thus changes the size, number and location of the suprathreshold clusters.
5 Discussion
The nonlinear stage improves overlap on every scan, and its Jacobian determinants stay well away from zero. The changes in cluster topology are therefore unlikely to come from folding or extreme local deformation. The volumes were already affinely aligned to a study mean before our pipeline began. We did not measure the gain of our affine stage separately, but this prior alignment suggests that most of the remaining correction comes from the SyN stage.
At , the larger primary cluster under Affine + SyN is consistent with reduced inter-subject misalignment of the lesion signal. At , the spread of the
H. Ziani et al.

Fig. 2. Thresholded group-level 3dLME maps for the nonlinear (Affine + SyN, left) and affine-only (right) pipelines. Rows are the contrasts , and . The overlay applies the voxelwise threshold (, ) and the 42-voxel extent threshold. The color scale saturates at , and cool and warm colors denote negative and positive effects. Maps are uncorrected for multiple comparisons.
signal over more numerous, smaller clusters may reflect finer localization of a spatially heterogeneous cumulative effect, or a change in noise sensitivity once residual misalignment is reduced. The present data cannot distinguish these two explanations.
Two limitations bound these conclusions. First, with rats the asymptotic approximations behind 3dLME are less reliable. The uncorrected maps therefore show how residual misalignment shifts signal consolidation, and they make no biological claim about the 5 mT stimulation effect. Second, the top- Dice measures agreement between the high-uptake envelope and the atlas brain. It is sensitive to gross position, scale and shape, but it cannot detect structures displaced within a correctly placed envelope, and it inherits any bias of the tracer distribution. The observed gain is a necessary but not sufficient condition for better anatomical correspondence. Establishing the latter would require label-based evaluation on segmented structures, which this dataset does not provide.
6 Conclusion
This work proposes no new registration algorithm. On a previously published UHF-LiMS stroke and stimulation dataset, adding a nonlinear stage to an affine-only pipeline significantly improved the overlap between the registered PET volumes and the atlas brain, without detectable folding. The same refinement changed the size, number and location of the clusters in the group-level 3dLME maps. In this dataset, registration was thus a methodological variable with a visible effect on the group-level results, and its evaluation, absent from the original study [1], deserves a place in such analyses. Future work should cover other rodent disease models and compare classical and learning-based registration in small cohorts.
Acknowledgments. This work was primarily conducted when the first author was visiting the 3D-BIT Lab within the Gwangju Institute of Science and Technology (GIST) under the Global Intern Program (GIP).
Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article.
Ethics declaration The PET data were acquired in a previous study [1], whose animal procedures were approved by the GIST Animal Care and Use Committee (approval no. GIST-2019-074) and reported following the Animal Research: Reporting of In Vivo Experiments (ARRIVE) guidelines. The present work is a secondary analysis of those images and involved no new animal procedures and no human participants.
Data availability The data analyzed in this study were acquired at the 3D-BIT Lab (GIST) for [1] and are used with the laboratory's permission.
References
- Atif, Z., Kim, J., Park, J.-Y., et al.: Ultra-High Frequency-Low Intensity Magnetic Stimulation Enhances Functional Recovery in a Rat Model for Chronic Capsule Infarct. IEEE Transactions on Neural Systems and Rehabilitation Engineering 34, 2073-2082 (2026)
- Pascau, J., Gispert, J.D., Michaelides, M., et al.: Automated Method for Small-Animal PET Image Registration with Intrinsic Validation. Molecular Imaging and Biology 11, 107-113 (2008)
- Vállez Garcia, D., Casteels, C., Schwarz, A.J., et al.: A Standardized Method for the Construction of Tracer Specific PET and SPECT Rat Brain Templates: Validation and Implementation of a Toolbox. PLOS ONE 10, e0122363 (2015)
- Nandi, A., Nakano, M., Brašić, J.R., et al.: Improved Quantification of MicroPET/CT Imaging Using CT-derived Scaling Factors. Molecular Imaging and Biology 26, 1016-1026 (2024)
- Avants, B.B., Epstein, C.L., Grossman, M., Gee, J.C.: Symmetric Diffeomorphic Image Registration with Cross-Correlation: Evaluating Automated Labeling of Elderly and Neurodegenerative Brain. Medical Image Analysis 12(1), 26-41 (2008)
- Avants, B.B., Tustison, N., Song, G.: Advanced Normalization Tools (ANTS). The Insight Journal 2(365), 1-35 (2009)
- Balakrishnan, G., Zhao, A., Sabuncu, M.R., et al.: An Unsupervised Learning Model for Deformable Medical Image Registration. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 9252-9260 (2019)
- Hoffmann, M., Billot, B., Greve, D.N., et al.: SynthMorph: Learning Contrast-Invariant Registration Without Acquired Images. IEEE Transactions on Medical Imaging 41(3), 543-558 (2022)
- Avants, B.B., Tustison, N.J., Song, G., et al.: A reproducible evaluation of ANTs similarity metric performance in brain image registration. NeuroImage 54(3), 2033-2044 (2011)
- Papp, E.A., Leergaard, T.B., Calabrese, E., et al.: Waxholm Space atlas of the Sprague Dawley rat brain. NeuroImage 97, 374-386 (2014)
H.Ziani et al.
-
Cox, R.W.: AFNI: software for analysis and visualization of functional magnetic resonance neuroimages. Computers and Biomedical Research 29(3), 162–173 (1996)
-
Maes, F., Collignon, A., Vandermeulen, D., et al.: Multimodality image registration by maximization of mutual information. IEEE Transactions on Medical Imaging 16(2), 187–198 (1997)
-
Pluim, J.P.W., Maintz, J.B.A., Viergever, M.A.: Mutual-information-based registration of medical images: a survey. IEEE Transactions on Medical Imaging 22(8), 986–1004 (2003)
-
Mattes, D., Haynor, D.R., Vesselle, H., et al.: PET-CT image registration in the chest using free-form deformations. IEEE Transactions on Medical Imaging 22(1), 120–128 (2003)
-
Dice, L.R.: Measures of the Amount of Ecologic Association Between Species. Ecology 26(3), 297–302 (1945)
-
Chen, G., Saad, Z.S., Britton, J.C., et al.: Linear Mixed-Effects Modeling Approach to fMRI Group Analysis. NeuroImage 73, 176–190 (2013)