larvitar 4.0.0-alpha.39 → 4.0.0-alpha.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/257.larvitar.js +1 -1
- package/dist/larvitar.js +8486 -1575
- package/package.json +2 -2
package/dist/257.larvitar.js
CHANGED
|
@@ -81072,7 +81072,7 @@ function volumetricGetStatistics(state, stats, options) {
|
|
|
81072
81072
|
calibration,
|
|
81073
81073
|
hasPixelSpacing: true,
|
|
81074
81074
|
}, []);
|
|
81075
|
-
const volumeScale = spacing ? spacing[0] * spacing[1] * spacing[2]
|
|
81075
|
+
const volumeScale = spacing ? spacing[0] * spacing[1] * spacing[2] : 1;
|
|
81076
81076
|
stats.volume = {
|
|
81077
81077
|
value: Array.isArray(stats.count.value)
|
|
81078
81078
|
? stats.count.value.map((v) => v * volumeScale)
|