]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 19 Jun 2012 16:45:22 +0000 (16:45 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 19 Jun 2012 16:45:22 +0000 (16:45 +0000)
tests/validate.c

index d3ca080d92e0f09d100b04436e858f39b5d6ad36..bf81259c8d4c8da4c21ea10d75861f4ee94ead67 100644 (file)
@@ -640,7 +640,7 @@ static size_t ValidateImageFormatsInMemory(ImageInfo *image_info,
         fuzz+=0.3;
       fuzz+=DistortionEpsilon;
       difference_image=CompareImages(reference_image,reconstruct_image,
-        MeanSquaredErrorMetric,&distortion,exception);
+        RootMeanSquaredErrorMetric,&distortion,exception);
       reconstruct_image=DestroyImage(reconstruct_image);
       reference_image=DestroyImage(reference_image);
       if (difference_image == (Image *) NULL)
@@ -852,7 +852,7 @@ static size_t ValidateImageFormatsOnDisk(ImageInfo *image_info,
         fuzz+=0.3;
       fuzz+=DistortionEpsilon;
       difference_image=CompareImages(reference_image,reconstruct_image,
-        MeanSquaredErrorMetric,&distortion,exception);
+        RootMeanSquaredErrorMetric,&distortion,exception);
       reconstruct_image=DestroyImage(reconstruct_image);
       reference_image=DestroyImage(reference_image);
       if (difference_image == (Image *) NULL)
@@ -1029,7 +1029,7 @@ static size_t ValidateImportExportPixels(ImageInfo *image_info,
         Compare reference to reconstruct image.
       */
       difference_image=CompareImages(reference_image,reconstruct_image,
-        MeanSquaredErrorMetric,&distortion,exception);
+        RootMeanSquaredErrorMetric,&distortion,exception);
       reconstruct_image=DestroyImage(reconstruct_image);
       reference_image=DestroyImage(reference_image);
       if (difference_image == (Image *) NULL)