]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 9 Jan 2014 14:42:27 +0000 (14:42 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 9 Jan 2014 14:42:27 +0000 (14:42 +0000)
MagickWand/compare.c

index 7b9e4bb4d97afb1669532ce6f9e428e6e91a823f..019a9d4c5d9867d042ec34461edfab338fce5235 100644 (file)
@@ -1027,7 +1027,6 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info,
             case MeanAbsoluteErrorMetric:
             case MeanSquaredErrorMetric:
             case PeakAbsoluteErrorMetric:
-            case PerceptualHashErrorMetric:
             case RootMeanSquaredErrorMetric:
             {
               (void) FormatLocaleFile(stderr,"%g (%g)",QuantumRange*distortion,
@@ -1041,6 +1040,7 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info,
             case AbsoluteErrorMetric:
             case NormalizedCrossCorrelationErrorMetric:
             case PeakSignalToNoiseRatioErrorMetric:
+            case PerceptualHashErrorMetric:
             {
               (void) FormatLocaleFile(stderr,"%g",distortion);
               if ((reconstruct_image->columns != image->columns) ||
@@ -1084,7 +1084,6 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info,
             case MeanAbsoluteErrorMetric:
             case MeanSquaredErrorMetric:
             case PeakAbsoluteErrorMetric:
-            case PerceptualHashErrorMetric:
             case RootMeanSquaredErrorMetric:
             {
               switch (image->colorspace)
@@ -1147,6 +1146,7 @@ WandExport MagickBooleanType CompareImagesCommand(ImageInfo *image_info,
             case AbsoluteErrorMetric:
             case NormalizedCrossCorrelationErrorMetric:
             case PeakSignalToNoiseRatioErrorMetric:
+            case PerceptualHashErrorMetric:
             {
               switch (image->colorspace)
               {