Skip to content

[ICCV 2021] Official Tensorflow Implementation for "Single Image Defocus Deblurring Using Kernel-Sharing Parallel Atrous Convolutions"

License

Notifications You must be signed in to change notification settings

HyeongseokSon1/KPAC

Repository files navigation

KPAC: Kernel-Sharing Parallel Atrous Convolutional block

License CC BY-NC

This repository contains the official Tensorflow implementation of the following paper:

Single Image Defocus Deblurring Using Kernel-Sharing Parallel Atrous Convolutions
Hyeongseok Son, Junyong Lee, Sunghyun Cho, Seungyong Lee, ICCV 2021

Getting Started

Prerequisites

Tested environment

Ubuntu16.04 Python 2.7.12 Tensorflow 1.10.0 CUDA 9.0

  1. Pre-trained models

     ```
     ├── ./pretrained
     │   ├── single_2level.npz
     │   ├── single_3level.npz
     │   ├── dual.npz
     ```
    
  2. Built-in Tensorlayer (modified from Tensorlayer 1.7.0)

     ```
     ├── ./tensorlayer
     ```
    
  3. Datapath setting in config.py

Testing models of ICCV2021

# Our 2-level model 
CUDA_VISIBLE_DEVICES=0 python main_eval_2level.py

# Our 3-level model 
CUDA_VISIBLE_DEVICES=0 python main_eval_3level.py

# Our dual pixel-based model
CUDA_VISIBLE_DEVICES=0 python main_eval_dual.py

Citation

If you find this code useful, please consider citing:

@InProceedings{Son_2021_ICCV,
    author = {Son, Hyeongseok and Lee, Junyong and Cho, Sunghyun and Lee, Seungyong},
    title = {Single Image Defocus Deblurring Using Kernel-Sharing Parallel Atrous Convolutions},
    booktitle = {Proc. ICCV},
    year = {2021}
}

Contact

Open an issue for any inquiries. You may also have contact with sonhs@postech.ac.kr

License

This software is being made available under the terms in the LICENSE file.

Any exemptions to these terms require a license from the Pohang University of Science and Technology.

About Coupe Project

Project ‘COUPE’ aims to develop software that evaluates and improves the quality of images and videos based on big visual data. To achieve the goal, we extract sharpness, color, composition features from images and develop technologies for restoring and improving by using them. In addition, personalization technology through user reference analysis is under study.

Please checkout other Coupe repositories in our Posgraph github organization.

Useful Links

About

[ICCV 2021] Official Tensorflow Implementation for "Single Image Defocus Deblurring Using Kernel-Sharing Parallel Atrous Convolutions"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages