18#ifndef MAGICKCORE_COMPARE_H
19#define MAGICKCORE_COMPARE_H
21#include "MagickCore/image.h"
23#if defined(__cplusplus) || defined(c_plusplus)
32 MeanAbsoluteErrorMetric,
33 MeanErrorPerPixelErrorMetric,
34 MeanSquaredErrorMetric,
35 NormalizedCrossCorrelationErrorMetric,
36 PeakAbsoluteErrorMetric,
37 PeakSignalToNoiseRatioErrorMetric,
38 PerceptualHashErrorMetric,
39 RootMeanSquaredErrorMetric,
40 StructuralSimilarityErrorMetric,
41 StructuralDissimilarityErrorMetric,
42 PhaseCorrelationErrorMetric,
43 DotProductCorrelationErrorMetric,
44 PixelDifferenceCountErrorMetric
47extern MagickExport
double
48 *GetImageDistortions(Image *,
const Image *,
const MetricType,ExceptionInfo *);
50extern MagickExport Image
51 *CompareImages(Image *,
const Image *,
const MetricType,
double *,
53 *SimilarityImage(
const Image *,
const Image *,
const MetricType,
const double,
54 RectangleInfo *,
double *,ExceptionInfo *);
56extern MagickExport MagickBooleanType
57 GetImageDistortion(Image *,
const Image *,
const MetricType,
double *,
59 IsImagesEqual(
const Image *,
const Image *,ExceptionInfo *),
60 SetImageColorMetric(Image *,
const Image *,ExceptionInfo *);
62#if defined(__cplusplus) || defined(c_plusplus)