Commit dfbee4c
fix(ImageResliceMapper): normalize slab sampling direction
Ensure the slab sampling direction is normalized before computing
step sizes and traversal distances.
Previously, normalWCVSOutput was used directly, which could be a
non-unit vector. This caused incorrect scaling of sampling steps,
leading to inconsistent sampling density and potential visual artifacts
when traversing the slab.1 parent d296bd3 commit dfbee4c
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1431 | 1431 | | |
1432 | 1432 | | |
1433 | 1433 | | |
1434 | | - | |
| 1434 | + | |
| 1435 | + | |
1435 | 1436 | | |
1436 | 1437 | | |
1437 | 1438 | | |
| |||
1441 | 1442 | | |
1442 | 1443 | | |
1443 | 1444 | | |
1444 | | - | |
| 1445 | + | |
1445 | 1446 | | |
1446 | 1447 | | |
1447 | 1448 | | |
| |||
0 commit comments