Skip to content

ahaoboy/adaptive-threshold-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published