项目作者: mohabmes

项目描述 :
Image Processing: Segmentation Using Otsu Threshold Method
高级语言: Python
项目地址: git://github.com/mohabmes/Otsu-Thresholding.git
创建时间: 2017-11-23T22:42:34Z
项目社区:https://github.com/mohabmes/Otsu-Thresholding

开源协议:

下载


Otsu Thresholding Method

Python implementation of a basic Otsu thresholding algorithms.

Otsu’s thresholding method involves iterating through all the possible threshold values and calculating a measure of spread for the pixel levels each side of the threshold (the pixels that either fall in foreground or background). The aim is to find the threshold value where the sum of foreground and background spreads is at its minimum.

Dependencies

  • Python 2.x
  • numpy
  • matplotlib
  • PIL

Input

Alt text

Output

Alt text

  • Text file contain the tracing of the Algorithm