File Exchange

image thumbnail

Niblack local thresholding

version 1.1 (256 KB) by

A traditional local image thresholding.

13 Downloads

Updated

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;
else
pixel = background;
end

Comments and Ratings (6)

Dridi Maroua

Ho to define k?

Dridi Maroua

Hello,thank you for this code.But, It generaes an error for me :The input image must be a two-dimensional array.

Nat anunta

Gabor

Gabor (view profile)

Thank you so much!
All your set of adaptive thresholding scripts is amazing.
Great work. It's very appreciated.

abd raha

sara

sara (view profile)

Updates

1.1

Better code illustration.

MATLAB Release
MATLAB 6.5 (R13)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video