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

Quantitative metrics of evaluation #19

Open
smoreira00 opened this issue Jun 19, 2023 · 2 comments
Open

Quantitative metrics of evaluation #19

smoreira00 opened this issue Jun 19, 2023 · 2 comments

Comments

@smoreira00
Copy link

smoreira00 commented Jun 19, 2023

When measuring PSNR, SSIM, and LIPIPS, does it take into account the pixels we previously masked? Or does it discard those pixels? For example, in my images I have a black border that I'm masking, but I'm not sure if in the evaluation those pixels are considered or if it only considers the pixels that are not masked.

@yuehaowang
Copy link
Collaborator

Thanks for your question. Actually, there was a similar discussion in a previous issue. I've included my relevant reply below.

In my implementation, I also evaluated those black pixels in order to keep a coherent manner to computing other metrics, like SSIM. Since SSIM is calculated on image windows, it is inconvenient to left out those masked areas. Thus, I simply take the masked images for evaluation in all metrics.

For more discussion, please refer to #11.

@smoreira00
Copy link
Author

Thank you so much! Left another doubt in #11.

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

2 participants