]> granicus.if.org Git - imagemagick/commitdiff
bug fix, missed scaling for Correlate
authoranthony <anthony@git.imagemagick.org>
Wed, 19 May 2010 04:08:43 +0000 (04:08 +0000)
committeranthony <anthony@git.imagemagick.org>
Wed, 19 May 2010 04:08:43 +0000 (04:08 +0000)
magick/morphology.c

index fad4fc65a6d0466e44946fadc1c90fed21181605..ddf34053c1f7f88fd9a0c3eae2c20dc5dc3e72f3 100644 (file)
@@ -2862,7 +2862,7 @@ MagickExport Image *MorphologyImageChannel(const Image *image,
    * users can see the results of the 'option:convolve:scale' option.
    */
   curr_kernel = (KernelInfo *) kernel;
-  if ( method == ConvolveMorphology )
+  if ( method == ConvolveMorphology ||  method == CorrelateMorphology )
     {
       artifact = GetImageArtifact(image,"convolve:scale");
       if ( artifact != (char *)NULL ) {