Compare 2 images, and export the difference to txt file
Posted: 2018-07-22T20:38:14-07:00
Hi All,
I use the command to find the difference between the below 2 images
https://photos.app.goo.gl/HzrdYycdhgbBacZ19
https://photos.app.goo.gl/9ckbkprJwezqDCJM7
the below is the output image
https://photos.app.goo.gl/UwNqWWgN3cXWQNjL7
and I want to convert that output image with difference only to be txt file for data processing by the below 2 commands.
output file size very large...
output file contains nothing...
thanks for your help in advance!!!
I use the command to find the difference between the below 2 images
https://photos.app.goo.gl/HzrdYycdhgbBacZ19
https://photos.app.goo.gl/9ckbkprJwezqDCJM7
Code: Select all
Compare -compose src c:\black1.png c:\black2.png c:\black_diff.png
https://photos.app.goo.gl/UwNqWWgN3cXWQNjL7
and I want to convert that output image with difference only to be txt file for data processing by the below 2 commands.
output file size very large...
Code: Select all
convert c:\black_diff.png -transparent "#CCCCCC" sparse-color: c:\a.txt
Code: Select all
convert c:\black_diff.png -transparent "#CCCCCC" sparse-color: > c:\b.txt