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
50extern MagickExport
Image
51 *CompareImages(
Image *,
const Image *,
const MetricType,
double *,
53 *SimilarityImage(
const Image *,
const Image *,
const MetricType,
const double,
56extern MagickExport MagickBooleanType
57 GetImageDistortion(
Image *,
const Image *,
const MetricType,
double *,
62#if defined(__cplusplus) || defined(c_plusplus)