Bernsen local image thresholding

Implementation of Bernsen's thresholding method.
2.1K Downloads
Updated 24 Oct 2014

View License

The method uses a user-provided contrast threshold. If the local contrast (max-min) is above or equal to the contrast threshold, the threshold is set at the local midgrey value (the mean of the minimum and maximum grey values in the local window). If the local contrast is below the contrast threshold the neighbourhood is considered to consist only of one class and the pixel is set to object or background depending on the value of the midgrey.

Cite As

Jan Motl (2024). Bernsen local image thresholding (https://www.mathworks.com/matlabcentral/fileexchange/40856-bernsen-local-image-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
1.1.0.0

Extended help text.

1.0.0.0