Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r3dacted42/dip-filter-thresh-gui
assignment made for a digital image processing course
https://github.com/r3dacted42/dip-filter-thresh-gui
image-processing opencv pyqt5
Last synced: 5 days ago
JSON representation
assignment made for a digital image processing course
- Host: GitHub
- URL: https://github.com/r3dacted42/dip-filter-thresh-gui
- Owner: r3dacted42
- Created: 2024-03-31T21:22:19.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-04-01T05:54:11.000Z (11 months ago)
- Last Synced: 2024-12-13T03:17:12.367Z (2 months ago)
- Topics: image-processing, opencv, pyqt5
- Language: Python
- Homepage:
- Size: 966 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Filtering and Thresholding using OpenCV and PyQt5
## Supported operations
### Filtering
Includes the following kernels for filtering:
1. Identity
2. Edge
3. Sharpen
4. Blur (average and gaussian)
6. Custom - enter any matrix and apply onto image### Thresholding
Includes the following thresholding methods:
1. Global - manually set threshold
2. Adaptive (mean and gaussian)
3. Otsu (direct and with gaussian blur)## How to use
### Method 1 - download release and run (Windows only)
you'll find it on the right side of the git repo page### Method 2 - run in python virtualenv
1. set up the venv `python -m venv .venv`
2. activate the venv using one of the appropriate scripts inside the `.venv/Scripts/` directory
3. install the required dependencies `pip install -r requirements.txt`
4. finally, run it using `python main.py`#### To build using PyInstaller
`pyinstaller --name='' --windowed --onefile --add-data "undo-arrow.png;." main.py`## Screenshots
- First launch
- After loading an image
- Applying edge filter
- Applying gaussian adaptive thresholding
- After a few iterations of otsu's thresholding
![]()
## Credits
- Undo Arrow Icon - Reset icons created by Freepik - Flaticon, [Icon used](https://www.flaticon.com/free-icon/undo-arrow_82004)
- Anime in the screenshots - [Kaguya sama](https://myanimelist.net/anime/37999/Kaguya-sama_wa_Kokurasetai__Tensai-tachi_no_Renai_Zunousen) :)## Disclaimer
This was made within a day for an assignment, may have bugs, though i've tried to smash any i could find. Any bug reports and feature suggestions are welcome.