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?".
blue-j
Posts: 68 Joined: 2007-06-12T14:03:18-07:00
Post
by blue-j » 2014-02-12T17:44:56-07:00
when i run this
Code: Select all
identify -format '%[standard-deviation]' image.jpg
i get a value of
18232.1
but when i run
i see in overall image statistics a standard deviation of 70.9422 (0.278205)
how can i get the value shown in the verbose output?
thanks so much!!
J
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2014-02-12T23:04:13-07:00
The first version converts the image to 16 bits/channel/pixel before the calculation.
You could:
Code: Select all
identify -format "%[fx:255*standard_deviation] (%[fx:standard_deviation])" x.jpg
blue-j
Posts: 68 Joined: 2007-06-12T14:03:18-07:00
Post
by blue-j » 2014-02-13T18:10:31-07:00
thank you so much!!! : )
J