Comparison of two image thresholding methods

Original image
Fig. 1: Original image
Adaptive Gaussian thresholding
Fig. 2: Adaptive Gaussian thresholding

The parameters used to compute the thresholding value are the neighborhood size in pixels (an odd number) and a constant subtracted from the weighted mean. They have been set to 17 and 6 respectively.

Otsu thresholding
Fig. 3: Otsu thresholding