I want to binarize an image using local thrersholding( localized Otsu, Niblack, Sauvola ). I have implemented global Otsu. See the following code-
#include<