Code Monkey home page Code Monkey logo

abdullah-abuolaim / defocus-deblurring-dual-pixel Goto Github PK

View Code? Open in Web Editor NEW
166.0 7.0 22.0 94.29 MB

Reference github repository for the paper "Defocus Deblurring Using Dual-Pixel Data". We introduce a deep neural network (DNN) architecture that uses the dual-pixel (DP) sub-aperture views to reduce defocus blur.

License: MIT License

Python 100.00%
defocus-blur defocus-deblurring dual-pixel depth-of-field autofocus deep-neural-networks deeplearning datasets computational-photography dataset

defocus-deblurring-dual-pixel's People

Contributors

abdullah-abuolaim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

defocus-deblurring-dual-pixel's Issues

mean value pre-claculated in config.py

Hi Abdullah!

Thanks for your wonderful work!

in ./DPDNet/config.py, it's mentioned as follows:
# mean value pre-claculated
src_mean=0
trg_mean=0
.

Is it necessary to calulated the two values when I retrain the model?

Thank you and look forward to your reply!

Best,
Cheng

test question

hello Abdullah:
Thanks to your great work!
I have some question when i test use your code and pre-trained weight, i was wondering how many gpu did you use at test stage?
(i use three RTX3090, but the result is not satisfactory, psnr is only 9.1!!!)

looking forward to your reply!

Regarding google pixel data

Hello,

I'm trying to use the google pixel data that was shared in this repo and I wonder why they are gray and so dark..

Thank you very much!

creating dataset but how?

Thanks for this great dataset and hard work
I am also trying to create a similar but small dataset like you but for a specific domain. But I have some couple questions I still didnt get it : ) May be I am missing something.

Did you take the photo of the same scene with 2 different settings? (aperture 22 for target, aperture 5.6 for blur images(L and R) )
if this is the case,
how did you take the photo of the same scene (especially in outdoors) with 2 different settings. Did Canon have some sort of settings for that which takes photos at the same time with different settings?
if this is not the case,
did you take photos with aperture 22 or did you take photo with aperture 5.6 to extract target and sources

I would be very very appreciated if you direct me to the right way.
Thanks in advance

inference own test image

hi, thanks for your great work。

I want to test your model with my own images, however, i get black output for prediction, do you know what happen?

thanks

Result of DMENet for comparation

Hi Abdullah!

Thanks for your wonderful work!

In this paper, you tested the DMENet on your dataset for comparation.
Could you share the code about it.

Thank you and look forward to your reply!

Best,
chanwental

Time to Publish the DP Datasets and Code

Hi Abdullah!

Thank you for the wonderful work! The experiments are really thorough and impressive!

Could you tell me when do you plan to publish your datasets and code?

Thank you and look forward to your reply!

Best,
Qi

why sigmoid

i cant understand why activate function is sigmoid in last layer?

Why MSE

I am curious about why loss function is MSE?

How to test 1920*1080?

When we want to test the 1920 * 1080 image, the program shows that the input does not match

Indoor/Outdoor test results

First, thanks for your kind work.

When experimenting with the pretrained model you provide, the average psnr result of all test images is the same as reported in the paper.
However, I don't know why the psnr results for the indoor/outdoor set are different from those reported in the paper.

Test on a single RGB image

Dear Dr. Abdullah:

Hi. I have read your paper and thanks for your work.
I'd like to ask how to test your model on a single image (as I noticed in your ECCV 2020 paper). I'm also doing some research on defocus image deblurring and I hope to use your method as a reference in my paper. Thanks.

BR.

Can not correctly unzip the dataset file

Thanks for sharing the dataset, but I can not unzip the download zip file.
The dd_dp_dataset_canon.zip file I download is about 15.8GB. I use unzip dd_dp_dataset_canon.zip, I got Archive: dd_dp_dataset_canon.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. note: dd_dp_dataset_canon.zip may be a plain executable, not an archive unzip: cannot find zipfile directory in one of dd_dp_dataset_canon.zip or dd_dp_dataset_canon.zip.zip, and cannot find dd_dp_dataset_canon.zip.ZIP, period.
Would you provide some advices?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.