Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

CC SyN radius characterization

Cy-ExM supports the CC nonlinear SyN metric with one scalar voxel radius. This study compared the Mattes SyN baseline with CC radii 2, 4, 6, and 8 on the cropped spheroid data. A radius spans the same number of voxels along each axis, so anisotropic voxel spacing makes its physical neighborhood anisotropic.

Execution and evaluation

Each CC workflow used three exclusive 512-GB SLURM nodes, one moving round per node, and 30 ITK and BLAS-family threads per worker. The four configurations were identical apart from dataset identity, output and worker-scratch paths, SLURM job name, and CC radius. All four workflows and all moving-round tasks completed, and each workflow reported successful client, cluster, and execution-configuration cleanup.

Registration quality was evaluated in three complementary ways:

The local result is reported as the magnitude of the corrective two-dimensional displacement that maximized gradient NCC within a plus-or-minus 30-pixel search. Zero pixels means that the current registered position was already optimal under this measurement. This projection-based analysis matches the view in which the peripheral offset was originally observed; it is not a substitute for a future three-dimensional residual field.

Computational performance

Nonlinear metricWorkflow wall timeApproximate node-hoursTime relative to Mattes
Mattes baseline3:49:5711.51.00x
CC radius 23:52:5411.61.01x
CC radius 45:50:4917.51.53x
CC radius 69:08:4427.42.39x
CC radius 813:46:0841.33.59x

Approximate node-hours are three times workflow wall time because each workflow held three workers. Dependent-channel transformation took approximately 25 seconds per channel; nonlinear registration dominated the runtime. Increasing the radius therefore imposed a large computational cost rather than an I/O or channel-export cost.

Spatially resolved registration

Lower residual displacement is better.

Nonlinear metricRound 2 dim residualRound 3 dim residualRound 4 dim residualBright-region residual
Mattes baseline10.63 px18.36 px15.00 px0 px in every round
CC radius 28.49 px17.09 pxat least 31.95 pxRound 4 failed locally
CC radius 47.81 px14.32 px13.45 px0 px in every round
CC radius 67.81 px15.81 pxat least 30.15 pxRound 4 failed locally
CC radius 89.22 px17.89 px16.28 px0 px in every round

The radius-2 and radius-6 round-4 optima reached the search boundary, so their reported dim-region displacements are lower bounds rather than well-resolved estimates. Their corresponding bright-region measurements also showed large misalignment. As discussed below, these failures began in the independently estimated affine stage and cannot be assigned to the nonlinear radius.

Relative to the Mattes baseline, radius 4 reduced the measured dim-region residual by approximately 26% in round 2, 22% in round 3, and 10% in round 4. It preserved zero measured displacement in the bright region. The remaining 8--14-pixel residual is nevertheless scientifically meaningful: CC radius 4 reduced the brightness-associated error but did not eliminate it.

Global similarity

The workflow’s final whole-volume Correlation metric favored Mattes even though radius 4 improved the known dim region.

Nonlinear metricRound 2Round 3Round 4
Mattes baseline0.7260.6160.608
CC radius 20.6940.5680.276
CC radius 40.6850.5420.557
CC radius 60.6720.5400.313
CC radius 80.6630.5460.542

This is not a contradiction. A global similarity score is dominated by the larger, brighter, information-rich parts of the image and can obscure a spatially localized residual. The result reinforces the need to retain spatially resolved, signal-aware quality control rather than optimizing the CC radius from one global number.

Interpretation and limitations

Radius 4 provided the best low-signal tradeoff in this sweep. Radius 2 required approximately the same workflow time as Mattes and retained slightly stronger global similarity than the other CC radii in rounds 2 and 3, but it left more of the peripheral residual. Radii 6 and 8 imposed much larger runtimes without a corresponding registration improvement.

The sweep has an important experimental confound: each configuration independently reran the stochastic Mattes affine stage. Changing the CC radius changes only the nonlinear stage, yet the round-4 radius-2 and radius-6 runs already had substantially worse linearly registered metrics. Those round-4 failures are therefore affine-run variation, not evidence that the corresponding CC radii intrinsically fail. Smaller differences among the other affine estimates may also contribute to the measured radius differences.

This evidence supports retaining radius 4 as the provisional default; it does not justify labeling radius 4 optimized. Formal promotion would require a fixed-affine or replicated-seed comparison, a three-dimensional blockwise residual map, warp-Jacobian and folding checks, and chunk-seam analysis. If the remaining low-signal residual is unacceptable, the next scientifically motivated experiment is a low-weight gradient or Laplacian-of-Gaussian secondary CC metric rather than a larger scalar CC radius.

The subsequent fixed-affine nonlinear chunk-size characterization held this radius-4 affine state constant while varying only nonlinear chunk support. It reproduced these three dim residuals exactly at every tested chunk size, confirming that smaller chunks alone do not remove the remaining brightness-associated displacement.