Skip to content

tony-xlh/adaptive-thresholding-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ef95c2c · Mar 5, 2025

History

12 Commits
Feb 28, 2025
Mar 5, 2025

Repository files navigation

adaptive-thresholding-javascript

For images with uneven lighting, converting images to black and white with one threshold cannot achieve a good result.

image

image

For such cases, we can use adaptive thresolding, which calculates the threshold for each pixel based on neighbouring pixels.

image

The demo in this repo contains two solutions to perform adaptive thresholding.

Online Demos

About

Adaptive Thresholding in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages