Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mohabmes/otsu-thresholding
- Owner: mohabmes
- Created: 2017-11-23T22:42:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-19T22:36:45.000Z (over 6 years ago)
- Last Synced: 2024-10-11T09:22:01.881Z (3 months ago)
- Topics: computer-vision, image-processing, otsu, otsu-threshold
- Language: Python
- Homepage:
- Size: 55.7 KB
- Stars: 48
- Watchers: 2
- Forks: 24
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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)