]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authornicolas <nicolas@git.imagemagick.org>
Wed, 1 Aug 2012 20:03:39 +0000 (20:03 +0000)
committernicolas <nicolas@git.imagemagick.org>
Wed, 1 Aug 2012 20:03:39 +0000 (20:03 +0000)
MagickCore/enhance.c

index fcd65a8caebf5f63e242d4f67b4ab7847da3ce04..16e71ec429ffe65e6db6c557fb479425814a9a16 100644 (file)
@@ -3403,7 +3403,7 @@ MagickExport MagickBooleanType SigmoidalContrastImage(Image *image,
          *                           /
          *                           (1/(1+exp(a*(b-1))) - 1/(1+exp(a*b)))
         *
-        * "+0.5" is to round by casting.
+        * "+0.5" below is to round by casting.
          */
         sigmoidal_map[i]=(MagickRealType) ScaleMapToQuantum((MagickRealType)
          (MaxMap*((uu-u0)/(u1-u0))+0.5));