channel_distortion[i]+=distance*distance;
channel_distortion[CompositePixelChannel]+=distance*distance;
}
+#if defined(MAGICKCORE_OPENMP_SUPPORT)
+ #pragma omp critical (MagickCore_GetFuzzDistortion)
+#endif
area++;
p+=GetPixelChannels(image);
q+=GetPixelChannels(reconstruct_image);
channel_distortion[i]+=distance;
channel_distortion[CompositePixelChannel]+=distance;
}
+#if defined(MAGICKCORE_OPENMP_SUPPORT)
+ #pragma omp critical (MagickCore_GetFuzzDistortion)
+#endif
area++;
p+=GetPixelChannels(image);
q+=GetPixelChannels(reconstruct_image);
channel_distortion[i]+=distance*distance;
channel_distortion[CompositePixelChannel]+=distance*distance;
}
+#if defined(MAGICKCORE_OPENMP_SUPPORT)
+ #pragma omp critical (MagickCore_GetFuzzDistortion)
+#endif
area++;
p+=GetPixelChannels(image);
q+=GetPixelChannels(reconstruct_image);