Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test on McM #10

Open
xingwz opened this issue Jun 20, 2022 · 0 comments
Open

test on McM #10

xingwz opened this issue Jun 20, 2022 · 0 comments

Comments

@xingwz
Copy link

xingwz commented Jun 20, 2022

Hi, this work is fantastic and interesting.
I have some questions when I using your code to test Bayer mode on McM.
I would like to reproduce the results of Table.2 in your paper.
I used your code and pertained bayer model and got the resulting images are in size of 512x512.
However, the ground truth of McM is smaller (500x500).
How do you evaluate the metrics (psnr/ssim)?
There are two main questions:

  1. Line 26 of inferenceUtils.py,
    sigma = self.noiseLevel/100.
    maybe should be
    sigma = self.noiseLevel/255.?
  2. Line 64-75 of inferenceUtils.py,
    resizeDimension = (512, 512)
    img = img.resize(resizeDimension)
    Why the image should be resized to 512, 512 before testing?

BR,
Wenzhu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant