Difference image not working
Posted: 2015-06-05T15:46:39-07:00
Hi,
First time user. I am trying to create a difference image and for some reason it is not working.
I was able to get a difference mask using compare, to identify which images have diffs, but this is useless for my purposes.
I need the actual difference magnitudes.
All the resources online I found say I should be able to do this with:
composite base/$file opt/$file -compose difference out_$file
but the result is completely incorrect.
I even run this script, to composite the original image and itself and I get parts of the image black, parts of the image the original color, and parts of the image random garbage. The difference of an image with itself should be a completely black image so can someone please help me figure out what the correct script to do what I want is?
Version : ImageMagick 6.9.0-0 Q16
Thanks!
First time user. I am trying to create a difference image and for some reason it is not working.
I was able to get a difference mask using compare, to identify which images have diffs, but this is useless for my purposes.
I need the actual difference magnitudes.
All the resources online I found say I should be able to do this with:
composite base/$file opt/$file -compose difference out_$file
but the result is completely incorrect.
I even run this script, to composite the original image and itself and I get parts of the image black, parts of the image the original color, and parts of the image random garbage. The difference of an image with itself should be a completely black image so can someone please help me figure out what the correct script to do what I want is?
Version : ImageMagick 6.9.0-0 Q16
Thanks!