Page 1 of 1

possible bug in identify -verbose IM 6.5.3-2

Posted: 2009-06-03T09:43:07-07:00
by fmw42
IM 6.5.3-2 Q16 Mac OSX Tiger.

I think there may be a bug in reporting the Overall Stats for min of an image. Here is the test image. see colored highlight values for each channel min stats, none of which are zero, and overall min stats, which is zero. Is this a bug?

Image

identify -verbose redhat.jpg
Image: redhat.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 254x255+0+0
Resolution: 72x72
Print size: 3.52778x3.54167
Units: PixelsPerInch
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
red:
min: 25 (0.0980392)
max: 255 (1)
mean: 153.68 (0.602665)
standard deviation: 28.2394 (0.110743)
kurtosis: 0.597401
skewness: 0.0365255
green:
min: 25 (0.0980392)
max: 252 (0.988235)
mean: 107.591 (0.421927)
standard deviation: 36.7971 (0.144302)
kurtosis: -0.611253
skewness: 0.483242
blue:
min: 22 (0.0862745)
max: 247 (0.968627)
mean: 107.182 (0.420321)
standard deviation: 33.435 (0.131118)
kurtosis: 0.475469
skewness: 0.834276
Image statistics:
OverAll:
min: 0 (0)
max: 255 (1)
mean: 92.1132 (0.361228)
standard deviation: 63.2679 (0.248109)
kurtosis: -1.08617
skewness: -0.221413

Re: possible bug in identify -verbose IM 6.5.3-2

Posted: 2009-06-03T10:07:19-07:00
by magick
We can reproduce the problem and have a patch in ImageMagick 6.5.3-3 Beta available sometime tomorrow. Thanks.

Re: possible bug in identify -verbose IM 6.5.3-2

Posted: 2009-06-03T10:41:34-07:00
by fmw42
thanks, not urgent for me at this time, I just happened across it as I was checking something.