I need to compare 2 images and find differences between them using IM command line tool.
I am using the following command, to generate a third comparison image with found differences higlighted in white:
Code: Select all
compare image1.jpg image2.jpg -colorspace Gray -fuzz 85% -compose Src -highlight-color White -lowlight-color Black
The problem is the result-comparison image has 'white noise' (or dots bigger than 1 pixel) even in areas where there are no differences between images.
How can I remove these white 'pixel' from my image, leaving text at the bottom left good? .
Here are sample images:
the comparison image (white text at bottom left is a real difference between images):
https://drive.google.com/file/d/0B5SBtm ... sp=sharing
IM version:
ImageMagick 6.8.7-9 Q8 x86
Windows 7 64-bit
Thank you in advance