GithubHelp home page GithubHelp logo

Error in ERGAS metric about torchmetrics HOT 5 CLOSED

Andrewwango avatar Andrewwango commented on September 27, 2024
Error in ERGAS metric

from torchmetrics.

Comments (5)

SkafteNicki avatar SkafteNicki commented on September 27, 2024 1

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.
I make sure to fix it.

from torchmetrics.

github-actions avatar github-actions commented on September 27, 2024

Hi! thanks for your contribution!, great first issue!

from torchmetrics.

SkafteNicki avatar SkafteNicki commented on September 27, 2024

Hi @Andrewwango, thanks for raising this issue.
I do not agree that there is an error in our formulation. If you look at the original paper by Wald (page 163 in the pdf) you will see that ERGAS metric is defined by multiplying the fraction and not dividing it. If you look at the paper by Du et al that you refer to, in equation (1) they ERGAS metric they multiply the ratio h/l. I am not sure why it is different in the paper by Meng et al.

I am updating the metric to reference the original paper and the specific formula we are using for calculating the metric in #2426

from torchmetrics.

Andrewwango avatar Andrewwango commented on September 27, 2024

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 ratio=4 the pixel length ratio h/l=1/4. The Wald paper gives examples of h/l=1/4 and h/l=1/2. Azarang et al states that h/l=1/4 for common satellites Pleiades-1A, WorldView-2, and GeoEye-1.

Therefore you should be dividing by the integer ratio. Please reopen this issue @SkafteNicki @Borda 😄

from torchmetrics.

Andrewwango avatar Andrewwango commented on September 27, 2024

Hi @SkafteNicki, any progress on this?

from torchmetrics.

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.