NERVE-FACE ALIGNMENT
Bring the faces into register.
Prepare faces
Include a visible 1 cm reference.
Calibrated test image. Choose a tool to adjust the mask.
Calibrate & center
Fascicles
Threshold segmentation within the nerve circle.
Alignment
Choose the highest mean Dice across the angular window. Default ±5°: 11 mask measurements, 1° apart, including the center.
Ready to compare the test pair.
Exact optimal alignment
- Angle · clockwise
- —
- Maximum Dice overlap
- —
Surgically robust alignment
- Angle · clockwise
- —
- Center Dice overlap
- —
- Mean Dice across ±5°
- —
- Minimum Dice across ±5°
- —
Enable surgical tolerance optimization, then find both alignments.
Overlap details & rotation curve
Dice = 2 × intersection / total fascicle area. IoU = intersection / union. Exact search: 1° steps, then 0.1° refinement. Robust search: every 1° center, scoring actual masks at every 1° offset within the window. Highest mean wins; ties favor the higher minimum, then center Dice, then smaller angle. Scores describe geometry, not axonal identity.
GIF and overlay exports use the current rotation. Apply either alignment before exporting.