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
46extern MagickExport
double
49extern MagickExport
Image
50 *CompareImages(
Image *,
const Image *,
const MetricType,
double *,
52 *SimilarityImage(
const Image *,
const Image *,
const MetricType,
const double,
55extern MagickExport MagickBooleanType
56 GetImageDistortion(
Image *,
const Image *,
const MetricType,
double *,
61#if defined(__cplusplus) || defined(c_plusplus)