8000 GitHub - hongjr03/ROP_Python: Rank-One Prior implemented in Python. The code is created for dehaze, sand dust image and underwater image enhancement. · GitHub
[go: up one dir, main page]

Skip to content
forked from junliumath/ROP

About

Rank-One Prior implemented in Python. The code is created for dehaze, sand dust image and underwater image enhancement.

Resources

Stars

2 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

An Unofficial Python Implementation of Rank-One Prior (CVPR21 & TPAMI23)

This repository contains an unofficial Python implementation of the Rank-One Prior method. The original paper is available here and here.

The file tree is as follows:

.
│  demo_Rank1.m
│  demo_Rank1plus.m
│  psf2otf.py
│  README.md
│  ROP+.py
│  ROP.py
│
└─images
        hazy1.png
        sandstorm1.png
        underw1.jpg

The ROP.py and ROP+.py files contain the Rank-One Prior and Rank-One Prior Plus methods, respectively, which are implemented by me based on the original MATLAB code (demo_Rank1.m and demo_Rank1plus.m) provided by the authors.

The psf2otf.py file contains a function that converts a point spread function (PSF) to an optical transfer function (OTF), borrowed from ftvd.py.

There are still differences on the results between the original MATLAB code and my Python implementation. Looking forward to any suggestions or contributions.

About

Rank-One Prior implemented in Python. The code is created for dehaze, sand dust image and underwater image enhancement.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0