Home | History | Annotate | Download | only in MagickCore

Lines Matching defs:distortion

94 %        const MetricType metric,double *distortion,ExceptionInfo *exception)
104 % o distortion: the computed distortion between the images.
130 const MetricType metric,double *distortion,ExceptionInfo *exception)
170 assert(distortion != (double *) NULL);
171 *distortion=0.0;
174 status=GetImageDistortion(image,reconstruct_image,metric,distortion,
327 % reconstructed image and returns the specified distortion metric.
333 % double *distortion,ExceptionInfo *exception)
343 % o distortion: the computed distortion between the images.
350 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
455 distortion[j]+=channel_distortion[j];
463 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
555 distortion[j]+=channel_distortion[j];
560 distortion[j]/=((double) columns*rows);
561 distortion[CompositePixelChannel]/=(double) GetImageChannels(image);
562 distortion[CompositePixelChannel]=sqrt(distortion[CompositePixelChannel]);
567 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
659 distortion[j]+=channel_distortion[j];
664 distortion[j]/=((double) columns*rows);
665 distortion[CompositePixelChannel]/=(double) GetImageChannels(image);
670 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
746 distortion[i]+=distance;
747 distortion[CompositePixelChannel]+=distance;
759 image->error.mean_error_per_pixel=distortion[CompositePixelChannel]/area;
766 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
858 distortion[j]+=channel_distortion[j];
863 distortion[j]/=((double) columns*rows);
864 distortion[CompositePixelChannel]/=GetImageChannels(image);
869 const Image *image,const Image *reconstruct_image,double *distortion,
920 distortion[i]=0.0;
970 distortion[i]+=area*QuantumScale*(p[i]-
977 distortion[i]+=area*QuantumScale*(Sa*p[i]-
1004 distortion[CompositePixelChannel]=0.0;
1014 distortion[i]=QuantumRange*gamma*distortion[i];
1015 distortion[CompositePixelChannel]+=distortion[i]*distortion[i];
1017 distortion[CompositePixelChannel]=sqrt(distortion[CompositePixelChannel]/
1030 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
1122 if (channel_distortion[j] > distortion[j])
1123 distortion[j]=channel_distortion[j];
1140 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
1148 status=GetMeanSquaredDistortion(image,reconstruct_image,distortion,exception);
1150 distortion[i]=20.0*MagickLog10((double) 1.0/sqrt(distortion[i]));
1155 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
1198 distortion[channel]+=difference;
1202 distortion[CompositePixelChannel]+=difference;
1229 distortion[channel]+=difference;
1233 distortion[CompositePixelChannel]+=difference;
1245 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception)
1253 status=GetMeanSquaredDistortion(image,reconstruct_image,distortion,exception);
1255 distortion[i]=sqrt(distortion[i]);
1260 const Image *reconstruct_image,const MetricType metric,double *distortion,
1278 assert(distortion != (double *) NULL);
1279 *distortion=0.0;
1283 Get image distortion.
1356 *distortion=channel_distortion[CompositePixelChannel];
1358 (void) FormatImageProperty(image,"distortion","%.*g",GetMagickPrecision(),
1359 *distortion);
1376 % reconstructed image and returns the specified distortion metric for each
1418 Get image distortion.
1784 % o similarity_threshold: minimum distortion for (sub)image match.
1799 distortion;
1816 distortion=0.0;
1817 status=GetImageDistortion(similarity_image,reference,metric,&distortion,
1822 return(distortion);