From: cristy Date: Tue, 19 Jun 2012 16:45:22 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5399 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=864c6a8f0dbf656fcc51e2f526c6a7c7a4d46c81;p=imagemagick --- diff --git a/tests/validate.c b/tests/validate.c index d3ca080d9..bf81259c8 100644 --- a/tests/validate.c +++ b/tests/validate.c @@ -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)