This is a Python implementation of the paper:
Fast Single Image Reflection Suppression via Convex Optimization
from the MATLAB code at https://github.com/yyhz76/reflectSuppress.
The experiments were built using Python 3, with some libraries: numpy, scipy, opencv and PyWavelets. It is required to install these libraries to run the code.
- numpy - Scientific computing library for Python
- scipy - Ecosystem of open-source software for mathematics, science, and engineering
- opencv - Open Source Computer Vision Library
- PyWavelets - a scientific Python module for Wavelet Transform calculations
All of these libraries could be installed using pip (Python Package Index).
sudo -H pip install numpy scipy opencv-python PyWavelets
A running example can be found into the script folder, under the main.py
file.
Original images | After supression |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |