Actions
Activity #4708
closedModule #4443: Development
RMS Error Calculation in Align Phase
Start date:
04/22/2026
Due date:
% Done:
0%
Estimated time:
Planned Due Date:
Description
Objective
Quantify alignment accuracy between STL and CBCT (or between pre/post positions).
Tasks
Math Core
Implement RMS formula:
RMS=
N
1
∑
i=1
N
∣∣p
i
−q
i
∣∣
2
Where:
p
i
= source points (STL)
q
i
= target points (CBCT)
Algorithm
Implement:
ICP (Iterative Closest Point)
Use:
KD-tree for nearest neighbor search
Pipeline
Input:
STL mesh
CBCT surface (or point cloud)
Output:
RMS error value
Per-point error map
Visualization
Heatmap overlay:
Green (low error)
Red (high error)
Show:
Mean RMS
Max deviation
UI
Add panel:
“Alignment Quality”
Add threshold indicator:
Acceptable (< 1mm)
Warning (> 2mm)
Actions