Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mohabmes/otsu-thresholding

Image Processing: Segmentation Using Otsu Threshold Method
https://github.com/mohabmes/otsu-thresholding

computer-vision image-processing otsu otsu-threshold

Last synced: 2 months ago
JSON representation

Image Processing: Segmentation Using Otsu Threshold Method

Awesome Lists containing this project

README

        

# 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](./img/org.jpg)

## Output
![Alt text](./img/otsu.jpg)
- Text file contain the tracing of the Algorithm

## Links
- [labbookpages](http://www.labbookpages.co.uk/software/imgProc/otsuThreshold.html)
- [Wikipedia](https://en.wikipedia.org/wiki/Otsu%27s_method)