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
44extern MagickExport
double
47extern MagickExport
Image
48 *CompareImages(
Image *,
const Image *,
const MetricType,
double *,
50 *SimilarityImage(
const Image *,
const Image *,
const MetricType,
const double,
53extern MagickExport MagickBooleanType
54 GetImageDistortion(
Image *,
const Image *,
const MetricType,
double *,
59#if defined(__cplusplus) || defined(c_plusplus)