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.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2013-05-05T17:18:49-07:00
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.
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.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2013-06-16T20:15:09-07:00
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?
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2013-06-17T05:17:24-07:00
We can reproduce the problem you posted and have a patch in ImageMagick 6.8.6-1 Beta available by sometime tomorrow. Thanks.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2013-06-17T11:02:51-07:00
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?
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2013-06-19T19:01:50-07:00
They both match with rmse of 11611.7 (0.177184) in the current 6.8.6.1 beta (Q16). Thanks