calc-image-stats
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -34,3 +34,2 @@ const calcStats = require("calc-stats"); | ||
const band = xdim.iterClip({ data: values, layout, rect, sizes }); | ||
return calcStats(band, rest); | ||
@@ -37,0 +36,0 @@ }); |
{ | ||
"name": "calc-image-stats", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Calculate Band Statistics for an Image", | ||
@@ -32,11 +32,11 @@ "main": "calc-image-stats.js", | ||
"dependencies": { | ||
"calc-stats": "^0.4.1", | ||
"calc-stats": "^2.0.0", | ||
"guess-image-layout": "^0.0.3", | ||
"xdim": "^1.4.0" | ||
"xdim": "^1.5.1" | ||
}, | ||
"devDependencies": { | ||
"find-and-read": "^1.1.0", | ||
"flug": "^2.1.2", | ||
"flug": "^2.2.0", | ||
"readim": "^0.0.2" | ||
} | ||
} |
@@ -36,2 +36,5 @@ # calc-image-stats | ||
// red band | ||
count: 100, | ||
valid: 100, | ||
invalid: 0, | ||
median: 87, | ||
@@ -43,2 +46,3 @@ min: 9, | ||
mean: 104.89, | ||
std: 53.908792418305936, | ||
modes: [51, 69, 87, 190], | ||
@@ -51,2 +55,5 @@ mode: 99.25 | ||
// alpha band | ||
count: 100, | ||
valid: 100, | ||
invalid: 0, | ||
median: 255, | ||
@@ -58,2 +65,3 @@ min: 255, | ||
mean: 255, | ||
std: 0, | ||
modes: [255], | ||
@@ -60,0 +68,0 @@ mode: 255 |
10742
69
+ Addedcalc-stats@2.6.0(transitive)
+ Addedmediana@1.0.3(transitive)
+ Addedpreciso@0.12.20.5.0(transitive)
- Removedcalc-stats@0.4.1(transitive)
- Removedfaster-median@0.2.1(transitive)
- Removediter-fun@0.1.2(transitive)
Updatedcalc-stats@^2.0.0
Updatedxdim@^1.5.1