Lines Matching refs:channel_distortion
382 channel_distortion[MaxPixelChannels+1]; in GetAbsoluteDistortion() local
401 (void) ResetMagickMemory(channel_distortion,0,sizeof(channel_distortion)); in GetAbsoluteDistortion()
439 channel_distortion[i]++; in GetAbsoluteDistortion()
444 channel_distortion[CompositePixelChannel]++; in GetAbsoluteDistortion()
452 distortion[j]+=channel_distortion[j]; in GetAbsoluteDistortion()
491 channel_distortion[MaxPixelChannels+1]; in GetFuzzDistortion() local
509 (void) ResetMagickMemory(channel_distortion,0,sizeof(channel_distortion)); in GetFuzzDistortion()
542 channel_distortion[i]+=distance*distance; in GetFuzzDistortion()
543 channel_distortion[CompositePixelChannel]+=distance*distance; in GetFuzzDistortion()
552 distortion[j]+=channel_distortion[j]; in GetFuzzDistortion()
595 channel_distortion[MaxPixelChannels+1]; in GetMeanAbsoluteDistortion() local
613 (void) ResetMagickMemory(channel_distortion,0,sizeof(channel_distortion)); in GetMeanAbsoluteDistortion()
646 channel_distortion[i]+=distance; in GetMeanAbsoluteDistortion()
647 channel_distortion[CompositePixelChannel]+=distance; in GetMeanAbsoluteDistortion()
656 distortion[j]+=channel_distortion[j]; in GetMeanAbsoluteDistortion()
794 channel_distortion[MaxPixelChannels+1]; in GetMeanSquaredDistortion() local
812 (void) ResetMagickMemory(channel_distortion,0,sizeof(channel_distortion)); in GetMeanSquaredDistortion()
845 channel_distortion[i]+=distance*distance; in GetMeanSquaredDistortion()
846 channel_distortion[CompositePixelChannel]+=distance*distance; in GetMeanSquaredDistortion()
855 distortion[j]+=channel_distortion[j]; in GetMeanSquaredDistortion()
1055 channel_distortion[MaxPixelChannels+1]; in GetPeakAbsoluteDistortion() local
1074 (void) ResetMagickMemory(channel_distortion,0,sizeof(channel_distortion)); in GetPeakAbsoluteDistortion()
1107 if (distance > channel_distortion[i]) in GetPeakAbsoluteDistortion()
1108 channel_distortion[i]=distance; in GetPeakAbsoluteDistortion()
1109 if (distance > channel_distortion[CompositePixelChannel]) in GetPeakAbsoluteDistortion()
1110 channel_distortion[CompositePixelChannel]=distance; in GetPeakAbsoluteDistortion()
1119 if (channel_distortion[j] > distortion[j]) in GetPeakAbsoluteDistortion()
1120 distortion[j]=channel_distortion[j]; in GetPeakAbsoluteDistortion()
1261 *channel_distortion; in GetImageDistortion() local
1283 channel_distortion=(double *) AcquireQuantumMemory(length, in GetImageDistortion()
1284 sizeof(*channel_distortion)); in GetImageDistortion()
1285 if (channel_distortion == (double *) NULL) in GetImageDistortion()
1287 (void) ResetMagickMemory(channel_distortion,0,length* in GetImageDistortion()
1288 sizeof(*channel_distortion)); in GetImageDistortion()
1293 status=GetAbsoluteDistortion(image,reconstruct_image,channel_distortion, in GetImageDistortion()
1299 status=GetFuzzDistortion(image,reconstruct_image,channel_distortion, in GetImageDistortion()
1306 channel_distortion,exception); in GetImageDistortion()
1311 status=GetMeanErrorPerPixel(image,reconstruct_image,channel_distortion, in GetImageDistortion()
1318 channel_distortion,exception); in GetImageDistortion()
1325 channel_distortion,exception); in GetImageDistortion()
1331 channel_distortion,exception); in GetImageDistortion()
1337 channel_distortion,exception); in GetImageDistortion()
1343 channel_distortion,exception); in GetImageDistortion()
1349 channel_distortion,exception); in GetImageDistortion()
1353 *distortion=channel_distortion[CompositePixelChannel]; in GetImageDistortion()
1354 channel_distortion=(double *) RelinquishMagickMemory(channel_distortion); in GetImageDistortion()
1397 *channel_distortion; in GetImageDistortions() local
1417 channel_distortion=(double *) AcquireQuantumMemory(length, in GetImageDistortions()
1418 sizeof(*channel_distortion)); in GetImageDistortions()
1419 if (channel_distortion == (double *) NULL) in GetImageDistortions()
1421 (void) ResetMagickMemory(channel_distortion,0,length* in GetImageDistortions()
1422 sizeof(*channel_distortion)); in GetImageDistortions()
1428 status=GetAbsoluteDistortion(image,reconstruct_image,channel_distortion, in GetImageDistortions()
1434 status=GetFuzzDistortion(image,reconstruct_image,channel_distortion, in GetImageDistortions()
1441 channel_distortion,exception); in GetImageDistortions()
1446 status=GetMeanErrorPerPixel(image,reconstruct_image,channel_distortion, in GetImageDistortions()
1453 channel_distortion,exception); in GetImageDistortions()
1460 channel_distortion,exception); in GetImageDistortions()
1466 channel_distortion,exception); in GetImageDistortions()
1472 channel_distortion,exception); in GetImageDistortions()
1478 channel_distortion,exception); in GetImageDistortions()
1484 channel_distortion,exception); in GetImageDistortions()
1490 channel_distortion=(double *) RelinquishMagickMemory(channel_distortion); in GetImageDistortions()
1493 return(channel_distortion); in GetImageDistortions()