Giter Site home page Giter Site logo

joint_image_restoration's People

Contributors

xhwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

joint_image_restoration's Issues

s value when grad_g is very small

Thanks for sharing your implementation!

In your code, you set s to be 0 when grad_g is small.
But in the original paper link, they didn't say it. Instead, according to the paper, eq. (4) and (6),
If 0 < grad_I <= epsilon and grad_g < epsilon (small values), s will be in (0, 1]
If grad_I > epsilon and grad_g < epsilon (small values), s will be in (1, 1/epsilon]

Why did you set s to be 0 when grad_g is small which is different from the paper's equation (6)? Thanks!

Inconsistency with original paper

Hello,

Thank you for the source code that you shared. I compared the results of your code with those of the binary file published by the authors of the original paper. After 6 iterations the result of your implementation is almost similar to that of the original paper,

im1

But when we I run both methods for 700 iterations then the results are different,

im2

As far as I looked at your code, the only difference with the original method is that you are not preconditioning the conjugate gradient solver. This must only affect the convergence rate that shouldn't matter for larger iteration counts. I was wondering if you have any idea what could be the potential issue. More specifically, I am wondering why the highlights are gone after many iterations and the image looks flat? And do you have any intuition on how the scalemap would preserve the highlights?

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.