GithubHelp home page GithubHelp logo

dual_pixel_defocus_estimation_deblurring's People

Contributors

shumianxin 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

Watchers

 avatar  avatar

dual_pixel_defocus_estimation_deblurring's Issues

calibration code?

Hi,

Would you please share the code for the calibration steps?

Thank you!

blur kernel shape.

Hello,

Can you explain why the depth of the blur kernel is 48?

Thank you!

Questions of the GT images

The values of GT images exceeds the 2^14 and does not match the values of raw inputs. How should I use the pre-processed GT?

why are input pictures so dark?

Hi,

I follow the code below

with PIL.Image.open(path_to_file) as f:
      image = onp.array(f) - 1024
      image[image < 0] = 0
      image = np.stack([np.float32(image)] * 1, axis=2) / (2 ** 14 - 1)
      # image = np.float32(image) / (2 ** 14 - 1)
    return image

but the output images are still darker than what shown on the site here. Could you please tell me why?

Question Regarding the Calibration

Hi, I am a bit confused about the 2 Hour reported time of the optimization in paper and the readme:
"Each optimization runs for 10,000 iterations with an Adam optimizer, and takes about 2 hours on an Nvidia Titan RTX GPU."

Does that mean for each DP pair, if one wants to get a defocus-map, one has to run the optimization for 2 hours? Or this could be done once for a Pixel device using the calibration pattern of discs, and then the inference should be very quick given the DP pair and original kernels?

Thanks,
Touqeer

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.