From 864c6a8f0dbf656fcc51e2f526c6a7c7a4d46c81 Mon Sep 17 00:00:00 2001 From: cristy Date: Tue, 19 Jun 2012 16:45:22 +0000 Subject: [PATCH] --- tests/validate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.40.0