]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 12 Nov 2012 13:16:07 +0000 (13:16 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 12 Nov 2012 13:16:07 +0000 (13:16 +0000)
MagickCore/statistic.c
MagickWand/convert.c
MagickWand/mogrify.c
utilities/convert.1.in
utilities/mogrify.1.in

index d0ecc256e7de88934db846979d9db0e4b578ffd0..56de37d73b31184cd873179261da6dc3c962de01 100644 (file)
@@ -1744,7 +1744,7 @@ MagickExport ChannelStatistics *GetImageStatistics(const Image *image,
 %
 %  PolynomialImage() returns a new image where each pixel is the sum of the
 %  pixels in the image sequence after applying its corresponding terms
-%  (coefficient and degree pairs) and a constant.
+%  (coefficient and degree pairs).
 %
 %  The format of the PolynomialImage method is:
 %
@@ -1919,15 +1919,6 @@ MagickExport Image *PolynomialImage(const Image *images,
       next=GetNextImageInList(next);
     }
     for (x=0; x < (ssize_t) image->columns; x++)
-    {
-      MagickRealType
-        constant;
-
-      constant=(MagickRealType) terms[number_terms << 1];
-      for (i=0; i < (ssize_t) GetPixelChannels(image); i++)
-        polynomial_pixel[x].channel[i]+=constant;
-    }
-    for (x=0; x < (ssize_t) image->columns; x++)
     {
       register ssize_t
         i;
index 47fa2671940d27e7924f41625c38670c84c0da8a..fefa2e95494b1415c82927a4a70eb595e3737b46 100644 (file)
@@ -328,7 +328,7 @@ static MagickBooleanType ConvertUsage(void)
       "-morph value         morph an image sequence",
       "-mosaic              create a mosaic from an image sequence",
       "-poly terms          build a polynomial from the image sequence and the corresponding",
-      "                     terms (coefficients and degree pairs + constant).",
+      "                     terms (coefficients and degree pairs).",
       "-print string        interpret string and print to console",
       "-process arguments   process the image with a custom image filter",
       "-smush geometry      smush an image sequence together",
index aa9262efdb6e0fe6f0435c2f0d47eea0dfe3bbc3..e52d2243509e8a6987febda1b376825fcc05b2fa 100644 (file)
@@ -3490,7 +3490,7 @@ static MagickBooleanType MogrifyUsage(void)
       "-morph value         morph an image sequence",
       "-mosaic              create a mosaic from an image sequence",
       "-poly terms          build a polynomial from the image sequence and the corresponding",
-      "                     terms (coefficients and degree pairs + constant).",
+      "                     terms (coefficients and degree pairs).",
       "-print string        interpret string and print to console",
       "-process arguments   process the image with a custom image filter",
       "-smush geometry      smush an image sequence together",
index 78376ef00d17a49be51de1888f89807fb3d6edc0..1e7ed86979a7dd4786530f1f13e77fba7524fcff 100644 (file)
@@ -254,7 +254,7 @@ Image Sequence Operators:
   \-hald-clut           apply a Hald color lookup table to the image
   \-morph value         morph an image sequence
   \- osaic              create a mosaic from an image sequence
-  \-poly terms          build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs + constant)
+  \-poly terms          build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
   \-process arguments   process the image with a custom image filter
   \-separate            separate an image channel into a grayscale image
   \-smush geometry      smush an image sequence together
index e64cd937f2b9bd125faab5cdf439f08a4cdc1e7d..16536e361de9f51ca495f4c1c961ccdfe4a2b554 100644 (file)
@@ -255,7 +255,7 @@ Image Sequence Operators:
   \-hald-clut           apply a Hald color lookup table to the image
   \-morph value         morph an image sequence
   \-mosaic              create a mosaic from an image sequence
-  \-poly terms          build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs + constant)
+  \-poly terms          build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs)
   \-process arguments   process the image with a custom image filter
   \-separate            separate an image channel into a grayscale image
   \-smush geometry      smush an image sequence together