Git Product home page Git Product logo

Comments (6)

sefibk avatar sefibk commented on August 11, 2024 1

Yes
we generated x2 kernels with those parameters and downscaled the image twice or generated a x4 kernel analytically and downscaled once by 4 (2 identical possible ways)

from kernelgan.

jiandandan001 avatar jiandandan001 commented on August 11, 2024

also the parameters for 4x downsampling

from kernelgan.

sefibk avatar sefibk commented on August 11, 2024

The dataset was generated with some randomness.
You can either take what we generated or generate them yourself but it will not be identical.

from kernelgan.

jiandandan001 avatar jiandandan001 commented on August 11, 2024

The dataset was generated with some randomness.
You can either take what we generated or generate them yourself but it will not be identical.

Thanks. Could you tell me the values of the following parameters you used to generate 2x/4x testing images?

scale_factor = np.array([4, 4]) # choose scale-factor
avg_sf = np.mean(scale_factor) # this is calculated so that min_var and max_var will be more intutitive
min_var = 0.175 * avg_sf # variance of the gaussian kernel will be sampled between min_var and max_var
max_var = 2.5 * avg_sf
k_size = np.array([21, 21]) # size of the kernel, should have room for the gaussian
noise_level = 0.4 # this option allows deviation from just a gaussian, by adding multiplicative noise noise

from kernelgan.

sefibk avatar sefibk commented on August 11, 2024

See section 5.2 in the paper.
It includes all details, parameters and links

from kernelgan.

JingyunLiang avatar JingyunLiang commented on August 11, 2024

Section 5.2 doesn't specify the scale factors. Did you use the same settings (e.g. kernel width, rotation and noise) for both scale factor 2 and 4?

from kernelgan.

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.