Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/1552
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Apr 18, 2019
1 parent d5c9a05 commit b522d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magick/feature.c
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,7 @@ MagickExport Image *MeanShiftImage(const Image *image,const size_t width,
}
}
}
gamma=1.0/count;
gamma=PerceptibleReciprocal(count);
mean_location.x=gamma*sum_location.x;
mean_location.y=gamma*sum_location.y;
mean_pixel.red=gamma*sum_pixel.red;
Expand Down

0 comments on commit b522d2d

Please sign in to comment.