A C++ Implementation of Otsu's Image Segmentation Method
digital image processing , 3rd edition .