There seem to be some issue with IM 6.9.8-1 Q16 beta fx statistics
IM 7.0.5-3 Q16 looks fine.
IM 6 beta:
Code: Select all
im6beta identify -verbose test.png
Code: Select all
Channel statistics:
Pixels: 3
Red:
min: 0 (0)
max: 65535 (1)
mean: 43690 (0.666667)
standard deviation: 37836.6 (0.57735)
kurtosis: -2.33333
skewness: -0.3849
entropy: 0.918296
Green:
min: 0 (0)
max: 65535 (1)
mean: 21845 (0.333333)
standard deviation: 37836.6 (0.57735)
kurtosis: -2.33333
skewness: 0.3849
entropy: 0.918296
Blue:
min: 16384 (0.250004)
max: 49151 (0.749996)
mean: 32767.7 (0.500003)
standard deviation: 16383.5 (0.249996)
kurtosis: -2.33333
skewness: -2.03457e-05
entropy: 1
Alpha:
min: 13107 (0.2)
max: 65535 (1)
mean: 48059 (0.733333)
standard deviation: 30269.3 (0.46188)
kurtosis: -2.33333
skewness: 0.3849
entropy: 0.918296
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 36590.3 (0.558333)
standard deviation: 29135.5 (0.44458)
kurtosis: -1.9149
skewness: 0.1516
entropy: 0.938722
FX stats
Code: Select all
im6beta convert test.png -format "min=%[fx:minima.r], max=%[fx:maxima.r], mean=%[fx:mean.r], std=%[fx:standard_deviation.r]\n" info:
min=0, max=1, mean=0.7, std=0.519615
<--- mean should be 0.666667 and std should be 0.57735
Code: Select all
im6beta convert test.png -format "min=%[fx:minima.g], max=%[fx:maxima.g], mean=%[fx:mean.g], std=%[fx:standard_deviation.g]\n" info:
min=0, max=1, mean=0.533333, std=0.519615
<--- mean should be 0.333333 and std should be 0.57735
Code: Select all
im6beta convert test.png -format "min=%[fx:minima.b], max=%[fx:maxima.b], mean=%[fx:mean.b], std=%[fx:standard_deviation.b]\n" info:
min=0.250004, max=0.749996, mean=0.616667, std=0.355938
<--- mean should be 0.500003 and std should be 0.249996
Code: Select all
im6beta convert test.png -format "min=%[fx:minima.a], max=%[fx:maxima.a], mean=%[fx:mean.a], std=%[fx:standard_deviation.a]\n" info:
min=0.2, max=1, mean=0.733333, std=0.46188
Code: Select all
im6beta convert test.png -format "min=%[fx:minima.o], max=%[fx:maxima.o], mean=%[fx:mean.o], std=%[fx:standard_deviation.o]\n" info:
min=0.2, max=1, mean=0.733333, std=0.46188
Code: Select all
im6beta convert test.png -format "min=%[fx:minima], max=%[fx:maxima], mean=%[fx:mean], std=%[fx:standard_deviation]\n" info:
min=0, max=1, mean=0.558334, std=0.466644
<--- std should be 0.44458
IM 7 beta: All Looks Fine
Code: Select all
im7beta magick identify -verbose test.png
Code: Select all
Channel statistics:
Pixels: 3
Red:
min: 0 (0)
max: 65535 (1)
mean: 43690 (0.666667)
standard deviation: 37836.6 (0.57735)
kurtosis: -2.33333
skewness: -0.3849
entropy: 0.918296
Green:
min: 0 (0)
max: 65535 (1)
mean: 21845 (0.333333)
standard deviation: 37836.6 (0.57735)
kurtosis: -2.33333
skewness: 0.3849
entropy: 0.918296
Blue:
min: 16384 (0.250004)
max: 49151 (0.749996)
mean: 32767.7 (0.500003)
standard deviation: 16383.5 (0.249996)
kurtosis: -2.33333
skewness: -2.03457e-05
entropy: 1
Alpha:
min: 13107 (0.2)
max: 65535 (1)
mean: 48059 (0.733333)
standard deviation: 30269.3 (0.46188)
kurtosis: -2.33333
skewness: -0.3849
entropy: 0.918296
Image statistics:
Overall:
min: 0 (0)
max: 65535 (1)
mean: 36590.4 (0.558334)
standard deviation: 29135.5 (0.44458)
kurtosis: -1.9149
skewness: -0.151608
entropy: 0.938722
FX stats:
Code: Select all
im7beta magick convert test.png -format "min=%[fx:minima.r], max=%[fx:maxima.r], mean=%[fx:mean.r], std=%[fx:standard_deviation.r]\n" info:
min=0, max=1, mean=0.666667, std=0.57735
Code: Select all
im7beta magick convert test.png -format "min=%[fx:minima.g], max=%[fx:maxima.g], mean=%[fx:mean.g], std=%[fx:standard_deviation.g]\n" info:
min=0, max=1, mean=0.333333, std=0.57735
Code: Select all
im7beta magick convert test.png -format "min=%[fx:minima.b], max=%[fx:maxima.b], mean=%[fx:mean.b], std=%[fx:standard_deviation.b]\n" info:
min=0.250004, max=0.749996, mean=0.500003, std=0.249996
Code: Select all
im7beta magick convert test.png -format "min=%[fx:minima.a], max=%[fx:maxima.a], mean=%[fx:mean.a], std=%[fx:standard_deviation.a]\n" info:
min=0.2, max=1, mean=0.733333, std=0.46188
Code: Select all
im7beta magick convert test.png -format "min=%[fx:minima.o], max=%[fx:maxima.o], mean=%[fx:mean.o], std=%[fx:standard_deviation.o]\n" info:
min=0.2, max=1, mean=0.733333, std=0.46188
Code: Select all
im7beta magick convert test.png -format "min=%[fx:minima], max=%[fx:maxima], mean=%[fx:mean], std=%[fx:standard_deviation]\n" info:
min=0, max=1, mean=0.558334, std=0.444579