From 794f200f5b83a30d81027733122ed5f3506d3e03 Mon Sep 17 00:00:00 2001 From: cristy Date: Thu, 9 Jan 2014 20:12:50 +0000 Subject: [PATCH] --- MagickCore/statistic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/statistic.c b/MagickCore/statistic.c index d5dc91163..ae057824c 100644 --- a/MagickCore/statistic.c +++ b/MagickCore/statistic.c @@ -1536,8 +1536,8 @@ MagickExport ChannelMoments *GetImageMoments(const Image *image, channel_moments[channel].ellipse_eccentricity=sqrt(1.0-( channel_moments[channel].ellipse_axis.y/ channel_moments[channel].ellipse_axis.x)); - channel_moments[channel].ellipse_intensity=M00[channel]/(MagickPI* - channel_moments[channel].ellipse_axis.x* + channel_moments[channel].ellipse_intensity=QuantumRange*M00[channel]/ + (MagickPI*channel_moments[channel].ellipse_axis.x* channel_moments[channel].ellipse_axis.y); } for (channel=0; channel <= MaxPixelChannels; channel++) -- 2.40.0