From: anthony Date: Mon, 4 Apr 2011 00:30:59 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~7779 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bf68d590429a72aa70894f6aea7fc3c94876e54;p=imagemagick --- diff --git a/magick/morphology.c b/magick/morphology.c index c3e36731d..861f81112 100644 --- a/magick/morphology.c +++ b/magick/morphology.c @@ -1575,8 +1575,8 @@ MagickExport KernelInfo *AcquireKernelBuiltIn(const KernelInfoType type, ssize_t limit = (ssize_t)(args->rho*args->rho); - if (args->rho < 0.4) /* default radius approx 5.3 */ - kernel->width = kernel->height = 11L, limit = 28L; + if (args->rho < 0.4) /* default radius approx 4.3 */ + kernel->width = kernel->height = 9L, limit = 18L; else kernel->width = kernel->height = (size_t)fabs(args->rho)*2+1; kernel->x = kernel->y = (ssize_t) (kernel->width-1)/2;