Skip to content

compare output and parameters #358

Answered by snibgo
jmspaggi asked this question in General
Jan 12, 2025 · 0 comments · 13 replies
Discussion options

You must be logged in to vote

Some documentation is at https://imagemagick.org/script/compare.php

For "-metric RMSE", the number in parentheses is the score of the best subimage match from 0.0 (exactly the same) to 1.0 (totally different). My rule of thumb is that an RMSE score of less than 0.01 means I can't easily see a difference between the images. Your score of 0.321221 for unrelated images means that the best subimage match was clearly a poor match.

The coordinates are the best location (lowest RMSE) of the top-left of the subimage within the large image.

Setting "-similarity-threshold 0.01" will stop the search early if any location has that score or better (ie lower). So this may not find the overall best match.

Replies: 0 comments 13 replies

Comment options

You must be logged in to vote
2 replies
@jmspaggi
Comment options

@jmspaggi
Comment options

Answer selected by jmspaggi
Comment options

You must be logged in to vote
7 replies
@jmspaggi
Comment options

@fmw42
Comment options

@jmspaggi
Comment options

@fmw42
Comment options

@jmspaggi
Comment options

Comment options

You must be logged in to vote
1 reply
@jmspaggi
Comment options

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