-
Notifications
You must be signed in to change notification settings - Fork 423
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
Error in ERGAS metric #2416
Comments
Hi! thanks for your contribution!, great first issue! |
Hi @Andrewwango, thanks for raising this issue. I am updating the metric to reference the original paper and the specific formula we are using for calculating the metric in #2426 |
I disagree @SkafteNicki . The Wald and Du papers multiply by the ratio of pixel lengths , which is the inverse of the ratio. For example for Therefore you should be dividing by the integer ratio. Please reopen this issue @SkafteNicki @Borda 😄 |
Hi @Andrewwango, thanks for correcting me. I am not a expert on these metrics and just saw that the original paper defined it by multiplication and division. Sorry on my part. |
Hi @SkafteNicki, any progress on this? |
In the definition of ERGAS, it should be
\ ratio
rather than* ratio
For example see ERGAS defined in Du et al, Meng et al
torchmetrics/src/torchmetrics/functional/image/ergas.py
Line 82 in 4230cfe
The text was updated successfully, but these errors were encountered: