GithubHelp home page GithubHelp logo

Comments (2)

bahjat-kawar avatar bahjat-kawar commented on May 21, 2024

The current code requires the original image for PSNR evaluation. If you want to apply it on an already blurred image without evaluation, a few changes to the code would be necessary. You would also need to make sure the code uses the correct blurring kernel.

from ddrm.

malekinho8 avatar malekinho8 commented on May 21, 2024

Was anyone ever able to figure out how to implement this in the code? I have been looking through the code for hours debugging line by line, and I'm still not sure if it is possible. Any help or hints on this would be greatly appreciated.

Edit: To be specific, I'm currently trying to apply the code to perform a combination of linear inverses; inpainting, and super-resolution. An image sample may have an empty region of arbitrary size that I want to inpaint, and it may also have known regions that are low-resolution. I think I can see how to code up the inpainting part of the problem, as the Inpainting class defined in svd_replacement.py can fill in gaps of any shape as long as the mask is known (which it is). Would it be possible to combine this with the SuperResolution class somehow? i.e. inpaint where there are gaps, ignore high-resolution pixels, and restore low-resolution pixels.

Apologies for the long-winded question, I am just trying to understand the potential capability of this code. Thanks so much for putting this out and letting us experiment with it.

from ddrm.

Related Issues (20)

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.