Page 1 of 1

[RESOLVED] possible bug compare IM 6854 Q16 Mac OSX

Posted: 2013-05-05T17:18:49-07:00
by fmw42
I am puzzled why the rmse value returned from a subimage compare does not correspond to the rmse value returned by cropping the appropriate subsection and do a simple compare.

Image

Image


Subimage compare rmse:

compare -metric rmse -subimage-search logo.png logo_wizard_blur3.png null:
3445.01 (0.0525675) @ 327,130

Simple compare
compare -metric rmse logo.png[169x160+327+130] logo_wizard_blur3.png null:
11611.7 (0.177184)


I would have expected to get the same values. What am I missing here?

Re: possible bug compare IM 6854 Q16 Mac OSX

Posted: 2013-06-16T20:15:09-07:00
by fmw42
In IM 6.8.6.0, I am still getting the results as above which do not match. Is this a bug or am I misunderstanding something?

Can anyone else verify this or explain the difference?

Re: possible bug compare IM 6854 Q16 Mac OSX

Posted: 2013-06-17T05:17:24-07:00
by magick
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.6-1 Beta available by sometime tomorrow. Thanks.

Re: possible bug compare IM 6854 Q16 Mac OSX

Posted: 2013-06-17T11:02:51-07:00
by fmw42
magick wrote:We can reproduce the problem you posted and have a patch in ImageMagick 6.8.6-1 Beta available by sometime tomorrow. Thanks.

Which one was bad -- the subimage search or the direct compare?

Re: possible bug compare IM 6854 Q16 Mac OSX

Posted: 2013-06-19T19:01:50-07:00
by fmw42
They both match with rmse of 11611.7 (0.177184) in the current 6.8.6.1 beta (Q16). Thanks