Compare specific region in an image

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Compare specific region in an image

Post by fmw42 »

Perhaps the region you specified covers that area also. Make sure it does not.

Look at an output image create by

Code: Select all

convert \
\( ActivityScreenError1.png -size 1080x1925 xc:black -geometry +205+77 -compose over -composite \) \
\( ActivityScreenError.png -size 1080x1925 xc:black -geometry +205+77 -compose over -composite \) \
miff:- | compare -metric PAE - compare.png
To see where they differ.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Compare specific region in an image

Post by anthony »

Same but doing multi-image (Layer) composition with a single mask image
http://www.imagemagick.org/Usage/anim_m ... ite_single

Code: Select all

convert ActivityScreenError.png ActivityScreen.png null: \
        -size 1080x1925 xc:black \
        -geometry +205+77 -compose over -layer \
        -metric PAE -compare -format "%[distortion]" info:
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
saikrishna
Posts: 6
Joined: 2016-03-02T05:13:25-07:00
Authentication code: 1151

Re: Compare specific region in an image

Post by saikrishna »

any help on this pls
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Compare specific region in an image

Post by snibgo »

What help do you need?
snibgo's IM pages: im.snibgo.com
Post Reply