Page 1 of 1

compare images with tolerance at specific regison

Posted: 2014-07-18T07:26:04-07:00
by manmanda
I want to automate compare images at specific region but with a user specified tolerance (ex. 20% diff is accepted).If my comparison result is within that tolerance then i will make my comparison pass otherwise fail. How to achieve that?

Re: compare images with tolerance at specific regison

Posted: 2014-07-18T08:09:01-07:00
by snibgo
With a script. You can crop two image with "convert", compare these with "compare", and do whatever you want with the result.

You can crop and compare in a single "convert". However, the result can't (as far as I know) be used in an fx: expression, so you still need the script for your 20% pass/fail decision.