From f0a92fd8deb68d411304359906b12679b675691f Mon Sep 17 00:00:00 2001 From: glennrp Date: Wed, 27 Apr 2011 13:17:21 +0000 Subject: [PATCH] Spelling: equivelent -> equivalent --- magick/color.c | 2 +- magick/composite.c | 6 +++--- magick/distort.c | 4 ++-- magick/histogram.c | 2 +- magick/morphology.c | 14 +++++++------- magick/resize.c | 2 +- wand/magick-image.c | 2 +- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/magick/color.c b/magick/color.c index bea638740..b3ab7427f 100644 --- a/magick/color.c +++ b/magick/color.c @@ -1755,7 +1755,7 @@ MagickExport MagickBooleanType IsImageSimilar(const Image *image, % This method is used by ColorFloodFill() and other algorithms which % compare two colors. % -% This implements the equivelent of... +% This implements the equivalent of... % fuzz < sqrt( color_distance^2 * u.a*v.a + alpha_distance^2 ) % % Which produces a multi-dimentional cone for that colorspace along the diff --git a/magick/composite.c b/magick/composite.c index 2a96e89f8..b0045fc88 100644 --- a/magick/composite.c +++ b/magick/composite.c @@ -372,7 +372,7 @@ static inline void CompositeDarken(const MagickPixelPacket *p, MagickPixelPacket *composite) { /* - Darken is equivelent to a 'Minimum' method + Darken is equivalent to a 'Minimum' method OR a greyscale version of a binary 'Or' OR the 'Intersection' of pixel sets. */ @@ -706,7 +706,7 @@ static inline void CompositeLighten(const MagickPixelPacket *p, MagickPixelPacket *composite) { /* - Lighten is also equivelevt to a 'Maximum' method + Lighten is also equvalent to a 'Maximum' method OR a greyscale version of a binary 'And' OR the 'Union' of pixel sets. */ @@ -964,7 +964,7 @@ static inline void CompositePlus(const MagickPixelPacket *p, NOTE: "Plus" does not use 'over' alpha-blending but uses a special 'plus' form of alph-blending. It is the ONLY mathematical operator to do this. this is what makes it different to the - otherwise equivelent "LinearDodge" composition method. + otherwise equivalent "LinearDodge" composition method. Note however that color channels are still effected by the alpha channel as a result of the blending, making it just as useless for independant diff --git a/magick/distort.c b/magick/distort.c index 4734ed8eb..0204a8bd5 100644 --- a/magick/distort.c +++ b/magick/distort.c @@ -1326,7 +1326,7 @@ static double *GenerateCoefficients(const Image *image, % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% DistortResizeImage() resize image using the equivelent but slower image +% DistortResizeImage() resize image using the equivalent but slower image % distortion operator. The filter is applied using a EWA cylindrical % resampling. But like resize the final image size is limited to whole pixels % with no effects by virtual-pixels on the result. @@ -1540,7 +1540,7 @@ MagickExport Image *DistortResizeImage(const Image *image, % % o "verbose" % Output to stderr alternatives, internal coefficents, and FX -% equivelents for the distortion operation (if feasible). +% equivalents for the distortion operation (if feasible). % This forms an extra check of the distortion method, and allows users % access to the internal constants IM calculates for the distortion. % diff --git a/magick/histogram.c b/magick/histogram.c index 7238e2be9..4b0532a7f 100644 --- a/magick/histogram.c +++ b/magick/histogram.c @@ -953,7 +953,7 @@ MagickExport MagickBooleanType IsPaletteImage(const Image *image, % stretch the colors (and histogram) of the image. The stretch points are % also moved further inward by the adjustment values given. % -% If the adjustment values are both zero this function is equivelent to a +% If the adjustment values are both zero this function is equivalent to a % perfect normalization (or autolevel) of the image. % % Each channel is stretched independantally of each other (producing color diff --git a/magick/morphology.c b/magick/morphology.c index 6ec58618e..f7666ecd7 100644 --- a/magick/morphology.c +++ b/magick/morphology.c @@ -612,7 +612,7 @@ MagickExport KernelInfo *AcquireKernelInfo(const char *kernel_string) % If 'sigma' is zero, you get a single pixel on a field of zeros. % % Note that two convolutions with two "Blur" kernels perpendicular to -% each other, is equivelent to a far larger "Gaussian" kernel with the +% each other, is equivalent to a far larger "Gaussian" kernel with the % same sigma value, However it is much faster to apply. This is how the % "-blur" operator actually works. % @@ -835,7 +835,7 @@ MagickExport KernelInfo *AcquireKernelInfo(const char *kernel_string) % Generate a kernel in the shape of a 'plus' or a 'cross' with % a each arm the length of the given radius (default 2). % -% NOTE: "plus:1" is equivelent to a "Diamond" kernel. +% NOTE: "plus:1" is equivalent to a "Diamond" kernel. % % Ring:{radius1},{radius2}[,{scale}] % A ring of the values given that falls between the two radii. @@ -2340,12 +2340,12 @@ static MagickBooleanType SameKernelInfo(const KernelInfo *kernel1, /* check actual kernel values */ for (i=0; i < (kernel1->width*kernel1->height); i++) { - /* Test for Nan equivelence */ + /* Test for Nan equivalence */ if ( IsNan(kernel1->values[i]) && !IsNan(kernel2->values[i]) ) return MagickFalse; if ( IsNan(kernel2->values[i]) && !IsNan(kernel1->values[i]) ) return MagickFalse; - /* Test actual values are equivelent */ + /* Test actual values are equivalent */ if ( fabs(kernel1->values[i] - kernel2->values[i]) > MagickEpsilon ) return MagickFalse; } @@ -2443,7 +2443,7 @@ static void CalcKernelMetaData(KernelInfo *kernel) % MorphologyApply() applies a morphological method, multiple times using % a list of multiple kernels. % -% It is basically equivelent to as MorphologyImageChannel() (see below) but +% It is basically equivalent to as MorphologyImageChannel() (see below) but % without any user controls. This allows internel programs to use this % function, to actually perform a specific task without posible interference % by any API user supplied settings. @@ -3134,9 +3134,9 @@ static ssize_t MorphologyPrimitive(const Image *image, Image *result_image, However it is still (almost) correct coding for Grayscale Morphology. That is... - GrayErode is equivelent but with kernel values subtracted from pixels + GrayErode is equivalent but with kernel values subtracted from pixels without the kernel rotation - GreyDilate is equivelent but using Maximum() instead of Minimum() + GreyDilate is equivalent but using Maximum() instead of Minimum() useing kernel rotation case DistanceMorphology: diff --git a/magick/resize.c b/magick/resize.c index 98f1e710f..978849b23 100644 --- a/magick/resize.c +++ b/magick/resize.c @@ -522,7 +522,7 @@ static MagickRealType Welsh(const MagickRealType x, % as recommended by many references) % % The special a 'cylindrical' filter flag will promote the default 4-lobed -% Windowed Sinc filter to a 3-lobed Windowed Jinc equivelent, which is better +% Windowed Sinc filter to a 3-lobed Windowed Jinc equivalent, which is better % suited to this style of image resampling. This typically happens when using % such a filter for images distortions. % diff --git a/wand/magick-image.c b/wand/magick-image.c index d5ae1254d..352d31f5f 100644 --- a/wand/magick-image.c +++ b/wand/magick-image.c @@ -7693,7 +7693,7 @@ WandExport MagickWand *MagickOptimizeImageLayers(MagickWand *wand) % map to use, followed by zero or more numbers representing the number of % color levels tho dither between. % -% Any level number less than 2 is equivelent to 2, and means only binary +% Any level number less than 2 is equivalent to 2, and means only binary % dithering will be applied to each color channel. % % No numbers also means a 2 level (bitmap) dither will be applied to all -- 2.49.0