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 dabba00 commit a77d8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MagickCore/feature.c
Expand Up @@ -2288,7 +2288,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 a77d8d9

Please sign in to comment.