standard_deviation vs standard-deviation IM 6.8.7.4 Q16

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

standard_deviation vs standard-deviation IM 6.8.7.4 Q16

Post by fmw42 »

I was doing some testing between fx and string formats to see about consistent notation. The documentation says that for fx one needs maxima, minima and standard_deviation. And for string formats it says max, min and standard-deviation. It would appear that maxima and minima actually also work string formats. It would be nice if the string formats would also accept standard_deviation. I am willing to edit the docs if this can be done.

FX:

convert rose: -format "%[fx:maxima]\n" info:
1

convert rose: -format "%[fx:minima]\n" info:
0.0862745

convert rose: -format "%[fx:standard_deviation]\n" info:
0.233019


String Formats:

convert rose: -format "%[max]\n" info:
65535

convert rose: -format "%[maxima]\n" info:
65535

convert rose: -format "%[min]\n" info:
5654

convert rose: -format "%[minima]\n" info:
5654

convert rose: -format "%[standard-deviation]\n" info:
15270.9

convert rose: -format "%[standard_deviation]\n" info:
convert: unknown image property "%[standard_deviation]" @ warning/property.c/InterpretImageProperties/3367.
Last edited by fmw42 on 2013-11-07T15:02:16-07:00, edited 1 time in total.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: standard_deviation vs standard-deviation

Post by dlemstra »

I just added standard_deviation, the next release of ImageMagick will include this. Please update the documentation.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: standard_deviation vs standard-deviation IM 6.8.7.4 Q16

Post by fmw42 »

Both IM 6 and IM 7 docs are now updated. Should be available publicly by tomorrow at the latest.
Post Reply