Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

calc-image-stats

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calc-image-stats - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

1

calc-image-stats.js

@@ -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 @@ });

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc