%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% StatisticImage() makes each pixel the min / max / median / mode / etc. of
-% the neighborhood of the specified radius.
+% the neighborhood of the specified width and height.
%
% The format of the StatisticImage method is:
%
ThrowImageException(ResourceLimitError,"MemoryAllocationFailed");
}
/*
- Reduce statistics image.
+ Make each pixel the min / max / median / mode / etc. of the neighborhood.
*/
status=MagickTrue;
progress=0;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% MagickStatisticImage() replace each pixel with corresponding statistic from
-% the neighborhood of the specified radius.
+% the neighborhood of the specified width and height.
%
% The format of the MagickStatisticImage method is:
%
%
% o type: the statistic type (e.g. median, mode, etc.).
%
-% o radius: the radius of the pixel neighborhood.
+% o width: the width of the pixel neighborhood.
+%
+% o height: the height of the pixel neighborhood.
%
*/
WandExport MagickBooleanType MagickStatisticImage(MagickWand *wand,