I have a large set of 3 channels images. I want to get the dynamic range of each of them.
Final objective: a csv file holding something like:
Code: Select all
#file;red-min;red-max;red-mean;red-stddev;green-min;green-max;....
Code: Select all
$ Identify -verbose myimage.png
I have checked this
https://www.imagemagick.org/script/identify.php
where it says that I can extract some information, for example using the "features" option:
https://www.imagemagick.org/script/comm ... p#features
But this is pretty much unclear.
On the other hand, I see this topic:
viewtopic.php?f=1&t=32127
where it says that this:
Code: Select all
$ identify -format "%[fx.mean.r]" myimage.png
Unfortunately, it does not work (empty output).
Same empty output with:
Code: Select all
$ identify -format %[fx.mean.r] myimage.png
FWIW:
Code: Select all
$ identify --version
Version: ImageMagick 6.7.7-10 2018-06-11 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP