Lines Matching refs:distortion

129   const MetricType metric,double *distortion,ExceptionInfo *exception)  in CompareImages()  argument
171 assert(distortion != (double *) NULL); in CompareImages()
172 *distortion=0.0; in CompareImages()
175 status=GetImageDistortion(image,reconstruct_image,metric,distortion, in CompareImages()
363 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetAbsoluteDistortion() argument
477 distortion[j]+=channel_distortion[j]; in GetAbsoluteDistortion()
485 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetFuzzDistortion() argument
587 distortion[j]+=channel_distortion[j]; in GetFuzzDistortion()
593 distortion[j]*=area; in GetFuzzDistortion()
594 distortion[CompositePixelChannel]/=(double) GetImageChannels(image); in GetFuzzDistortion()
595 distortion[CompositePixelChannel]=sqrt(distortion[CompositePixelChannel]); in GetFuzzDistortion()
600 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanAbsoluteDistortion() argument
702 distortion[j]+=channel_distortion[j]; in GetMeanAbsoluteDistortion()
708 distortion[j]*=area; in GetMeanAbsoluteDistortion()
709 distortion[CompositePixelChannel]/=(double) GetImageChannels(image); in GetMeanAbsoluteDistortion()
714 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanErrorPerPixel() argument
796 distortion[i]+=distance; in GetMeanErrorPerPixel()
797 distortion[CompositePixelChannel]+=distance; in GetMeanErrorPerPixel()
809 image->error.mean_error_per_pixel=distortion[CompositePixelChannel]/area; in GetMeanErrorPerPixel()
816 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetMeanSquaredDistortion() argument
918 distortion[j]+=channel_distortion[j]; in GetMeanSquaredDistortion()
924 distortion[j]*=area; in GetMeanSquaredDistortion()
925 distortion[CompositePixelChannel]/=GetImageChannels(image); in GetMeanSquaredDistortion()
930 const Image *image,const Image *reconstruct_image,double *distortion, in GetNormalizedCrossCorrelationDistortion() argument
981 distortion[i]=0.0; in GetNormalizedCrossCorrelationDistortion()
1061 distortion[i]+=area*QuantumScale*(p[i]- in GetNormalizedCrossCorrelationDistortion()
1068 distortion[i]+=area*QuantumScale*(Sa*p[i]- in GetNormalizedCrossCorrelationDistortion()
1099 distortion[CompositePixelChannel]=0.0; in GetNormalizedCrossCorrelationDistortion()
1109 distortion[i]=QuantumRange*gamma*distortion[i]; in GetNormalizedCrossCorrelationDistortion()
1110 distortion[CompositePixelChannel]+=distortion[i]*distortion[i]; in GetNormalizedCrossCorrelationDistortion()
1112 distortion[CompositePixelChannel]=sqrt(distortion[CompositePixelChannel]/ in GetNormalizedCrossCorrelationDistortion()
1125 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPeakAbsoluteDistortion() argument
1222 if (channel_distortion[j] > distortion[j]) in GetPeakAbsoluteDistortion()
1223 distortion[j]=channel_distortion[j]; in GetPeakAbsoluteDistortion()
1240 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPeakSignalToNoiseRatio() argument
1248 status=GetMeanSquaredDistortion(image,reconstruct_image,distortion,exception); in GetPeakSignalToNoiseRatio()
1250 if (fabs(distortion[i]) < MagickEpsilon) in GetPeakSignalToNoiseRatio()
1251 distortion[i]=INFINITY; in GetPeakSignalToNoiseRatio()
1253 distortion[i]=10.0*MagickLog10(1.0)-10.0*MagickLog10(distortion[i]); in GetPeakSignalToNoiseRatio()
1258 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetPerceptualHashDistortion() argument
1321 distortion[channel]+=difference; in GetPerceptualHashDistortion()
1325 distortion[CompositePixelChannel]+=difference; in GetPerceptualHashDistortion()
1337 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetRootMeanSquaredDistortion() argument
1345 status=GetMeanSquaredDistortion(image,reconstruct_image,distortion,exception); in GetRootMeanSquaredDistortion()
1347 distortion[i]=sqrt(distortion[i]); in GetRootMeanSquaredDistortion()
1352 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetStructuralSimilarityDistortion() argument
1558 distortion[i]+=channel_distortion[i]; in GetStructuralSimilarityDistortion()
1568 distortion[i]/=((double) columns*rows); in GetStructuralSimilarityDistortion()
1570 distortion[CompositePixelChannel]/=((double) columns*rows); in GetStructuralSimilarityDistortion()
1571 distortion[CompositePixelChannel]/=(double) GetImageChannels(image); in GetStructuralSimilarityDistortion()
1577 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetStructuralDisimilarityDistortion() argument
1586 distortion,exception); in GetStructuralDisimilarityDistortion()
1588 distortion[i]=(1.0-(distortion[i]))/2.0; in GetStructuralDisimilarityDistortion()
1593 const Image *reconstruct_image,const MetricType metric,double *distortion, in GetImageDistortion() argument
1611 assert(distortion != (double *) NULL); in GetImageDistortion()
1612 *distortion=0.0; in GetImageDistortion()
1701 *distortion=channel_distortion[CompositePixelChannel]; in GetImageDistortion()
1704 *distortion); in GetImageDistortion()
2140 distortion; in GetSimilarityMetric() local
2157 distortion=0.0; in GetSimilarityMetric()
2158 status=GetImageDistortion(similarity_image,reference,metric,&distortion, in GetSimilarityMetric()
2163 return(distortion); in GetSimilarityMetric()