MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
compare.h File Reference
#include "MagickCore/image.h"
Include dependency graph for compare.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  MetricType {
  UndefinedErrorMetric , AbsoluteErrorMetric , FuzzErrorMetric , MeanAbsoluteErrorMetric ,
  MeanErrorPerPixelErrorMetric , MeanSquaredErrorMetric , NormalizedCrossCorrelationErrorMetric , PeakAbsoluteErrorMetric ,
  PeakSignalToNoiseRatioErrorMetric , PerceptualHashErrorMetric , RootMeanSquaredErrorMetric , StructuralSimilarityErrorMetric ,
  StructuralDissimilarityErrorMetric
}
 

Functions

MagickExport double * GetImageDistortions (Image *, const Image *, const MetricType, ExceptionInfo *)
 
MagickExport ImageCompareImages (Image *, const Image *, const MetricType, double *, ExceptionInfo *)
 
MagickExport ImageSimilarityImage (const Image *, const Image *, const MetricType, const double, RectangleInfo *, double *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetImageDistortion (Image *, const Image *, const MetricType, double *, ExceptionInfo *)
 
MagickExport MagickBooleanType IsImagesEqual (const Image *, const Image *, ExceptionInfo *)
 
MagickExport MagickBooleanType SetImageColorMetric (Image *, const Image *, ExceptionInfo *)
 

Enumeration Type Documentation

◆ MetricType

enum MetricType
Enumerator
UndefinedErrorMetric 
AbsoluteErrorMetric 
FuzzErrorMetric 
MeanAbsoluteErrorMetric 
MeanErrorPerPixelErrorMetric 
MeanSquaredErrorMetric 
NormalizedCrossCorrelationErrorMetric 
PeakAbsoluteErrorMetric 
PeakSignalToNoiseRatioErrorMetric 
PerceptualHashErrorMetric 
RootMeanSquaredErrorMetric 
StructuralSimilarityErrorMetric 
StructuralDissimilarityErrorMetric 

Definition at line 27 of file compare.h.

Function Documentation

◆ CompareImages()

MagickExport Image * CompareImages ( Image ,
const Image ,
const  MetricType,
double *  ,
ExceptionInfo  
)

◆ GetImageDistortion()

MagickExport MagickBooleanType GetImageDistortion ( Image ,
const Image ,
const  MetricType,
double *  ,
ExceptionInfo  
)

◆ GetImageDistortions()

◆ IsImagesEqual()

MagickExport MagickBooleanType IsImagesEqual ( const Image ,
const Image ,
ExceptionInfo  
)

◆ SetImageColorMetric()

◆ SimilarityImage()