Lines Matching refs:distortion
128 const MetricType metric,double *distortion,ExceptionInfo *exception) in CompareImages() argument
168 assert(distortion != (double *) NULL); in CompareImages()
169 *distortion=0.0; in CompareImages()
172 status=GetImageDistortion(image,reconstruct_image,metric,distortion, in CompareImages()
347 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetAbsoluteDistortion() argument
452 distortion[j]+=channel_distortion[j]; in GetAbsoluteDistortion()
460 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetFuzzDistortion() argument
552 distortion[j]+=channel_distortion[j]; in GetFuzzDistortion()
557 distortion[j]/=((double) columns*rows); in GetFuzzDistortion()
558 distortion[CompositePixelChannel]/=(double) GetImageChannels(image); in GetFuzzDistortion()
559 distortion[CompositePixelChannel]=sqrt(distortion[CompositePixelChannel]); in GetFuzzDistortion()
564 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanAbsoluteDistortion() argument
656 distortion[j]+=channel_distortion[j]; in GetMeanAbsoluteDistortion()
661 distortion[j]/=((double) columns*rows); in GetMeanAbsoluteDistortion()
662 distortion[CompositePixelChannel]/=(double) GetImageChannels(image); in GetMeanAbsoluteDistortion()
667 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanErrorPerPixel() argument
743 distortion[i]+=distance; in GetMeanErrorPerPixel()
744 distortion[CompositePixelChannel]+=distance; in GetMeanErrorPerPixel()
756 image->error.mean_error_per_pixel=distortion[CompositePixelChannel]/area; in GetMeanErrorPerPixel()
763 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanSquaredDistortion() argument
855 distortion[j]+=channel_distortion[j]; in GetMeanSquaredDistortion()
860 distortion[j]/=((double) columns*rows); in GetMeanSquaredDistortion()
861 distortion[CompositePixelChannel]/=GetImageChannels(image); in GetMeanSquaredDistortion()
866 const Image *image,const Image *reconstruct_image,double *distortion, in GetNormalizedCrossCorrelationDistortion() argument
917 distortion[i]=0.0; in GetNormalizedCrossCorrelationDistortion()
967 distortion[i]+=area*QuantumScale*(p[i]- in GetNormalizedCrossCorrelationDistortion()
974 distortion[i]+=area*QuantumScale*(Sa*p[i]- in GetNormalizedCrossCorrelationDistortion()
1001 distortion[CompositePixelChannel]=0.0; in GetNormalizedCrossCorrelationDistortion()
1011 distortion[i]=QuantumRange*gamma*distortion[i]; in GetNormalizedCrossCorrelationDistortion()
1012 distortion[CompositePixelChannel]+=distortion[i]*distortion[i]; in GetNormalizedCrossCorrelationDistortion()
1014 distortion[CompositePixelChannel]=sqrt(distortion[CompositePixelChannel]/ in GetNormalizedCrossCorrelationDistortion()
1027 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPeakAbsoluteDistortion() argument
1119 if (channel_distortion[j] > distortion[j]) in GetPeakAbsoluteDistortion()
1120 distortion[j]=channel_distortion[j]; in GetPeakAbsoluteDistortion()
1137 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPeakSignalToNoiseRatio() argument
1145 status=GetMeanSquaredDistortion(image,reconstruct_image,distortion,exception); in GetPeakSignalToNoiseRatio()
1147 distortion[i]=20.0*MagickLog10((double) 1.0/sqrt(distortion[i])); in GetPeakSignalToNoiseRatio()
1152 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPerceptualHashDistortion() argument
1195 distortion[channel]+=difference; in GetPerceptualHashDistortion()
1199 distortion[CompositePixelChannel]+=difference; in GetPerceptualHashDistortion()
1226 distortion[channel]+=difference; in GetPerceptualHashDistortion()
1230 distortion[CompositePixelChannel]+=difference; in GetPerceptualHashDistortion()
1242 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetRootMeanSquaredDistortion() argument
1250 status=GetMeanSquaredDistortion(image,reconstruct_image,distortion,exception); in GetRootMeanSquaredDistortion()
1252 distortion[i]=sqrt(distortion[i]); in GetRootMeanSquaredDistortion()
1257 const Image *reconstruct_image,const MetricType metric,double *distortion, in GetImageDistortion() argument
1275 assert(distortion != (double *) NULL); in GetImageDistortion()
1276 *distortion=0.0; in GetImageDistortion()
1353 *distortion=channel_distortion[CompositePixelChannel]; in GetImageDistortion()
1356 *distortion); in GetImageDistortion()
1792 distortion; in GetSimilarityMetric() local
1809 distortion=0.0; in GetSimilarityMetric()
1810 status=GetImageDistortion(similarity_image,reference,metric,&distortion, in GetSimilarityMetric()
1815 return(distortion); in GetSimilarityMetric()