This is a python implementation of some underwater image enhancement algorithms, including CLAHE, MSRCR CLAHE_mix and my proposed method——MSRCR+CLAHE.
- OpenCV
- Numpy
- matplotlib
- natsort
Before running, you should set the path to get your input images and save the output images in the main.py file. Espacially, you should check the output path is exist or not. Then, you can run the main.py file to get the results. You can check the parameters by
python main.py --help
The only parameters is the name of the algorithm to use. For example, if you want to use MSRCR+CLAHE, you can run
python main.py MSRCR_CLAHE
method | origin | CLAHE | CLAHE_mix | MSRCR | MSRCR_CLAHE |
---|---|---|---|---|---|
UIQM avg | 2.534 | 2.750 | 2.659 | 2.890 | 2.938 |
UIQM for method mentioned before