Commit 8739a8c
committed
BUG: issue when segmentation touched the image border
The surface computation used in the surface_hausdorff_distance yielded
incorrect results when the segmentation was touching the image
border. In this case the surface is outside the image extent, so when
voxelized the expected voxels were not marked as surface. By padding
the image we resolve the problem.
resolves #4531 parent 9c41a5a commit 8739a8c
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
493 | 505 | | |
494 | 506 | | |
495 | 507 | | |
| |||
0 commit comments