Image inpainting using sparse representations (Orthogonal Matching Pursuit (OMP) and Iteratively Reweighted Least Squares Method (IRLS)). This was done as a part of the course work for EE698K at IIT Kanpur.
For more details, please refer to Report.pdf
- Run the
SparseInpainting.py
usingpython SparseInpainting.py
- The parameters (like dictionary size, patch size etc.) can be changed from this file itself. Refer to line #8 to line # 14.
- Don't forget to change line #73, #75, #76, and #113 if you want to run the algorithm on different files (the default is Daniel Radcliff).
- Comment/uncomment line #183 and #184 to run OMP or IRLS
- Run
computeNIQE.py
usingpython computeNIQE.py
to get the NIQE value
- Please change the filename in line #5
Report.pdf
is the report for the assignment
Please feel free to open an issue, in case you have a question/comment/suggestion. I will try to revert as soon as possible.