Niblack local thresholding

A traditional local image thresholding.
Updated 10 May 2013

View License

This is an implementation of a traditional Niblack local image thresholding with an integral image method, which guarantees constant computation time regardless of the neighborhood size.

The method can be described like:
if pixel > (mean + k * standard_deviation)
pixel = object;
pixel = background;

Cite As

Jan Motl (2024). Niblack local thresholding (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Better code illustration.