Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
csdwren committed Feb 23, 2020
1 parent c2e5052 commit 4d0d1a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,32 @@ and place the unzipped folders into `./datasets/`.

## Getting Started

### 1) Run SelfDeblur
### 1. Run SelfDeblur


SelfDeblur on Levin dataset. The code has been improved, and usually can achieve better retults than those repoted in the paper.
(1) SelfDeblur on Levin dataset. The code has been improved, and usually can achieve better retults than those repoted in the paper.
```bash
python selfdeblur_levin.py
```

SelfDeblur on Lai dataset, where blurry images have firstly been converted to their Y channel. Several images may converge to "black" image, but their blur kernels are good. I will check why this happened. In these cases, you need to run selfdeblur_nonblind.py to generate good deblurring results.
(2) SelfDeblur on Lai dataset, where blurry images have firstly been converted to their Y channel. Several images may converge to "black" image, but their blur kernels are good. I will check why this happened. In these cases, you need to run selfdeblur_nonblind.py to generate good deblurring results.
```bash
python selfdeblur_lai.py
python selfdeblur_nonblind.py # Given pretrained Gk, only update Gx while fixing Gk.
```

Handle color images in YCbCr space. 2500 iterations are adopted. If you need better texture details, more iterations will help.
(3) Handle color images in YCbCr space. 2500 iterations are adopted. If you need better texture details, more iterations will help.
```bash
python selfdeblur_ycbcr.py
```


_In current SelfDeblur code, TV regularization has been removed. The improved code is more robust to blur kernel estimation. But for some images with high level noises and non-uniform blurry images, the deblurring results may suffer from ringing effects due to our uniform convolution-based loss function. In this case, adding TV regularization to SelfDeblur or running another nonblind deblur method may be an choice._
_*In current SelfDeblur code, TV regularization has been removed. The improved code is more robust to blur kernel estimation. But for some images with high level noises and non-uniform blurry images, the deblurring results may suffer from ringing effects due to our uniform convolution-based loss function. In this case, adding TV regularization to SelfDeblur or running another nonblind deblur method may be an choice._

All the deblurring results and deep models are also available. Please read [results/levin/readme.docx](/results/levin/readme.docx) and [results/lai/readme.docx](results/lai/readme.docx) for the details.
You can place the downloaded results into `./results/`, and directly compute all the [evaluation metrics](statistic/) in this paper.

### 2) Evaluation metrics
### 2. Evaluation metrics

We also provide the MATLAB scripts to compute the average PSNR and SSIM values reported in the paper.

Expand Down

0 comments on commit 4d0d1a4

Please sign in to comment.