Commit eebe773
committed
fix masking; replace hstack with diffvector; remove square root of sqeuclidean average
`errvectorexp = np.zeros_like(mskvector)` used to generate a uint8
vector by default which loses the precision when calculating the special
volumes with float voxels of small values like the jacobian determinant
volume1 parent 157a21f commit eebe773
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
544 | | - | |
545 | | - | |
| 544 | + | |
| 545 | + | |
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
| 552 | + | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
| 556 | + | |
560 | 557 | | |
561 | 558 | | |
562 | 559 | | |
| |||
0 commit comments