18 #ifndef MAGICKCORE_COMPARE_H 19 #define MAGICKCORE_COMPARE_H 21 #include "magick/image.h" 23 #if defined(__cplusplus) || defined(c_plusplus) 31 MeanAbsoluteErrorMetric,
32 MeanErrorPerPixelMetric,
33 MeanSquaredErrorMetric,
34 PeakAbsoluteErrorMetric,
35 PeakSignalToNoiseRatioMetric,
36 RootMeanSquaredErrorMetric,
37 NormalizedCrossCorrelationErrorMetric,
39 PixelDifferenceCountErrorMetric,
40 UndefinedErrorMetric = 0,
41 PerceptualHashErrorMetric = 0xff,
44 extern MagickExport
double 45 *GetImageChannelDistortions(
Image *,
const Image *,
const MetricType,
48 extern MagickExport
Image 49 *CompareImageChannels(
Image *,
const Image *,
const ChannelType,
51 *CompareImages(
Image *,
const Image *,
const MetricType,
double *,
55 *SimilarityMetricImage(
Image *,
const Image *,
const MetricType,
58 extern MagickExport MagickBooleanType
59 GetImageChannelDistortion(
Image *,
const Image *,
const ChannelType,
61 GetImageDistortion(
Image *,
const Image *,
const MetricType,
double *,
65 #if defined(__cplusplus) || defined(c_plusplus)