]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 29 Sep 2014 19:02:29 +0000 (19:02 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 29 Sep 2014 19:02:29 +0000 (19:02 +0000)
MagickCore/effect.c

index 35a7644db1dc4e74308c2baaf5fadfd209b5e075..302c44fd7e6353fa327179f44abcf8046bff9f4d 100644 (file)
@@ -1467,7 +1467,7 @@ MagickExport Image *KuwaharaImage(const Image *image,const double radius,
   */
   status=MagickTrue;
   progress=0;
-  width=GetOptimalKernelWidth1D(radius,0.5);
+  width=GetOptimalKernelWidth1D(radius,sigma);
   image_view=AcquireVirtualCacheView(image,exception);
   kuwahara_view=AcquireAuthenticCacheView(kuwahara_image,exception);
 #if defined(MAGICKCORE_OPENMP_SUPPORT)