adaptive-threshold-wasm
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

install

npm i adaptive-threshold-wasm

minified minified + gzip dependency count tree-shaking support install size

API

import { init, toGray, toThreshold, ThresholdType, ThresholdMethod } from "../src/index";

await init();

const gray = toGray(rgba, width, height);

const threshold = toThreshold(gray, width, height, maxValue, adaptiveMethod, thresholdType, blockSize, C);

Package Sidebar

Install

npm i adaptive-threshold-wasm

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

878 kB

Total Files

12

Last publish

Collaborators

  • ahaoboy