Skip to content

Commit

Permalink
fx calculations of skewness and kurtosis (ImageMagick/ImageMagick#6964)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Dec 22, 2023
1 parent 1df262f commit 0ede455
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magick/fx.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ static double FxChannelStatistics(FxInfo *fx_info,const Image *image,

(void) GetImageChannelKurtosis(image,channel,&kurtosis,&skewness,
exception);
statistic=kurtosis;
statistic=QuantumRange*kurtosis;
}
if (LocaleNCompare(symbol,"maxima",6) == 0)
{
Expand Down Expand Up @@ -462,7 +462,7 @@ static double FxChannelStatistics(FxInfo *fx_info,const Image *image,

(void) GetImageChannelKurtosis(image,channel,&kurtosis,&skewness,
exception);
statistic=skewness;
statistic=QuantumRange*skewness;
}
if (LocaleNCompare(symbol,"standard_deviation",18) == 0)
{
Expand Down

0 comments on commit 0ede455

Please sign in to comment.