Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wuyenlin/imagehist
https://github.com/wuyenlin/imagehist
histogram image-processing opencv
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wuyenlin/imagehist
- Owner: wuyenlin
- License: gpl-2.0
- Created: 2022-02-21T18:26:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-02-22T21:23:33.000Z (over 2 years ago)
- Last Synced: 2023-02-28T23:17:57.052Z (over 1 year ago)
- Topics: histogram, image-processing, opencv
- Language: Python
- Homepage:
- Size: 911 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ImageHist
A simple code to calculate [image histogram](https://en.wikipedia.org/wiki/Image_histogram) and visualize them separately in 3 different plots.
### Usage
For example, the following code takes in the file `./demo.jpg`, calculates its histogram with `DPI=500`, and saves the final histogram plots.
```
python main.py --file_name ./demo.jpg --dpi 500 --save_img
```
Here is the result:## TODO
-[ ] Histogram equalization (full and partial)