Commit 1815249
ENH: Use ConvertNumberToString for voxel spacing in VoxBoCUB IO
m_Spacing[] values (double) were written to the CUB text header with
default stream precision (6 significant digits), silently truncating
sub-millimeter or high-precision spacing values. Replace with
itk::ConvertNumberToString() for shortest-round-trip serialization.
See: #3249
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9ffc66b commit 1815249
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
672 | 673 | | |
673 | 674 | | |
674 | 675 | | |
675 | | - | |
| 676 | + | |
| 677 | + | |
676 | 678 | | |
677 | 679 | | |
678 | 680 | | |
| |||
0 commit comments