From dbc2da927c5fcf9d3518af20203fa5bc32e572a0 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 12 Nov 2012 13:16:07 +0000 Subject: [PATCH] --- MagickCore/statistic.c | 11 +---------- MagickWand/convert.c | 2 +- MagickWand/mogrify.c | 2 +- utilities/convert.1.in | 2 +- utilities/mogrify.1.in | 2 +- 5 files changed, 5 insertions(+), 14 deletions(-) diff --git a/MagickCore/statistic.c b/MagickCore/statistic.c index d0ecc256e..56de37d73 100644 --- a/MagickCore/statistic.c +++ b/MagickCore/statistic.c @@ -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; diff --git a/MagickWand/convert.c b/MagickWand/convert.c index 47fa26719..fefa2e954 100644 --- a/MagickWand/convert.c +++ b/MagickWand/convert.c @@ -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", diff --git a/MagickWand/mogrify.c b/MagickWand/mogrify.c index aa9262efd..e52d22435 100644 --- a/MagickWand/mogrify.c +++ b/MagickWand/mogrify.c @@ -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", diff --git a/utilities/convert.1.in b/utilities/convert.1.in index 78376ef00..1e7ed8697 100644 --- a/utilities/convert.1.in +++ b/utilities/convert.1.in @@ -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 diff --git a/utilities/mogrify.1.in b/utilities/mogrify.1.in index e64cd937f..16536e361 100644 --- a/utilities/mogrify.1.in +++ b/utilities/mogrify.1.in @@ -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 -- 2.50.1