Git Product home page Git Product logo

Comments (4)

hevrard avatar hevrard commented on May 5, 2024

A candidate is SSIM: https://ece.uwaterloo.ca/~z70wang/research/ssim/
The link lists various implementations.

This implementation has alpha channel support, but its license might be an issue:
https://github.com/kornelski/dssim

from graphicsfuzz.

afd avatar afd commented on May 5, 2024

In general the image histogram metric that we are using is pretty limited even despite lack of alpha channel support. For example, I have found that it gives a distance of 0 between an image filled with vec4(0.0, 0.0, 0.0, 1.0) pixels and an image filled with vec4(1.0, 1.0, 1.0, 1.0) pixels.

from graphicsfuzz.

hevrard avatar hevrard commented on May 5, 2024

An idea is to switch from OpenCV to ImageMagick, which offers the following comparison metrics:
https://imagemagick.org/script/command-line-options.php#metric

Imagemagick has Java wrappers and is available via Maven:
http://www.jmagick.org/jmagick-doc/
https://mvnrepository.com/artifact/org.imagemagick

As I think OpenCV is used only for image comparison, we could then drop the OpenCV dependency.

from graphicsfuzz.

paulthomson avatar paulthomson commented on May 5, 2024

Added histogram alpha support in #262

Added fuzzy difference algorithm in #271 Still need to integrate this algorithm but this issue is technically fixed.

from graphicsfuzz.

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.