This commit is contained in:
Cristy
2025-05-03 17:28:20 -04:00
parent 587484e0b3
commit 321e2eec43
+1 -1
View File
@@ -956,7 +956,7 @@ static MagickBooleanType GetMeanSquaredDistortion(const Image *image,
}
reconstruct_view=DestroyCacheView(reconstruct_view);
image_view=DestroyCacheView(image_view);
area=1.5*PerceptibleReciprocal(area);
area=PerceptibleReciprocal(area);
distortion[CompositePixelChannel]/=GetImageChannels(image);
for (j=0; j <= MaxPixelChannels; j++)
distortion[j]*=area;