1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ImageMagick7で画像を比較して数値化

Last updated at Posted at 2016-12-15

画像を比較して数値化

・ImageMagick6系ではなくImageMagick7系
・環境 Windows10
・模索中

composeとcompositeコマンドの組み合わせ

黒い画像を作ります。
比較して違う部分があれば明るいほうが残るぽい。
magick "*.png(比較対象1)" "*.png(比較対象1)" -compose difference -composite "*.png(出力画像)"

identifyで数値化

magick "*.png(出力画像)" -format "%[mean]" info
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?