Image Processing On Line (Oct 2016)

A C++ Implementation of Otsu’s Image Segmentation Method

  • Juan Pablo Balarini,
  • Sergio Nesmachnow

Journal volume & issue
Vol. 6
pp. 155 – 164

Abstract

Read online

This article presents a functional implementation of the Otsu’s segmentation method and a case study using multiple images. Otsu’s method performs nonparametric and unsupervised image thresholding, usually used on image segmentation. The algorithm finds an optimal threshold of an image by minimizing the within-class variance, using only the gray-level histogram of the image. The proposed implementation is conceived emphasizing the role of mathematics as a source for algorithm design and the reproducibility of the research, according to the Image Processing On Line (IPOL) philosophy.