ThresholdLocally

Performs LOCAL Otsu thresholding on an image, with a user-specified blocksize.

Download
Download

You are now following this Submission

Cite As

Brett Shoelson (2026). ThresholdLocally (https://au.mathworks.com/matlabcentral/fileexchange/29764-thresholdlocally), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0

Updated license

Download
1.4.0-0

Minor change to replace default blocksize of [32 32] by that returned by function BESTBLK.

Download
1.3.0

Fixed problem with screenshot. (Image was inappropriately rotated.)

Download
1.2.0

Modified significantly to accept as optional inputs all parameter-value pairs accepted by BLOCKPROC, as well as an additional "fudge factor" parameter that allows one to scale the local graythresh value by a scalar multiple.

Download
1.0.0

Download