https://github.com/thesofakillers/morpholology-imageproc
https://github.com/thesofakillers/morpholology-imageproc
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thesofakillers/morpholology-imageproc
- Owner: thesofakillers
- Created: 2018-12-26T11:58:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-26T12:17:21.000Z (over 7 years ago)
- Last Synced: 2025-06-09T15:47:17.339Z (about 1 year ago)
- Language: Python
- Size: 456 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Morphological Image Processing
Originally made for Durham University's Department of Computer Science's course _Software Methodologies_ under the sub-module _Image Processing_, as part of the coursework in 2017/2018.
This repository contains 4 simple scripts able to perform [morphological](https://en.wikipedia.org/wiki/Mathematical_morphology) [closing](https://en.wikipedia.org/wiki/Closing_(morphology)), [opening](https://en.wikipedia.org/wiki/Opening_(morphology)), [dilation](https://en.wikipedia.org/wiki/Dilation_(morphology)) and [erosion](https://en.wikipedia.org/wiki/Erosion_(morphology)) on an input PNG image.
## Requirements
This project was made utilizing [Python 2.7](https://www.python.org/download/releases/2.7/).
In addition, please ensure that the following modules are installed:
- [OpenCV](https://opencv.org/)
- [NumPy](http://www.numpy.org/)
## Instructions
To perform a morphological operation ``, on an input image `.png`, in the terminal type
`python .py .png .png`.
Notice that the desired name of the resulting output image is necessary.