[RESOLVED] possible bug compare IM 6854 Q16 Mac OSX

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

[RESOLVED] possible bug compare IM 6854 Q16 Mac OSX

Post 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?
Last edited by fmw42 on 2013-06-22T20:49:27-07:00, edited 1 time in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug compare IM 6854 Q16 Mac OSX

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug compare IM 6854 Q16 Mac OSX

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug compare IM 6854 Q16 Mac OSX

Post 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?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug compare IM 6854 Q16 Mac OSX

Post by fmw42 »

They both match with rmse of 11611.7 (0.177184) in the current 6.8.6.1 beta (Q16). Thanks
Post Reply