MagickCore  6.9.11-60
Convert, Edit, Or Compose Bitmap Images
compare.h File Reference
#include "magick/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 {
  UndefinedMetric , AbsoluteErrorMetric , MeanAbsoluteErrorMetric , MeanErrorPerPixelMetric ,
  MeanSquaredErrorMetric , PeakAbsoluteErrorMetric , PeakSignalToNoiseRatioMetric , RootMeanSquaredErrorMetric ,
  NormalizedCrossCorrelationErrorMetric , FuzzErrorMetric , UndefinedErrorMetric = 0 , PerceptualHashErrorMetric = 0xff
}
 

Functions

MagickExport double * GetImageChannelDistortions (Image *, const Image *, const MetricType, ExceptionInfo *)
 
MagickExport ImageCompareImageChannels (Image *, const Image *, const ChannelType, const MetricType, double *, ExceptionInfo *)
 
MagickExport ImageCompareImages (Image *, const Image *, const MetricType, double *, ExceptionInfo *)
 
MagickExport ImageSimilarityImage (Image *, const Image *, RectangleInfo *, double *, ExceptionInfo *)
 
MagickExport ImageSimilarityMetricImage (Image *, const Image *, const MetricType, RectangleInfo *, double *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetImageChannelDistortion (Image *, const Image *, const ChannelType, const MetricType, double *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetImageDistortion (Image *, const Image *, const MetricType, double *, ExceptionInfo *)
 
MagickExport MagickBooleanType IsImagesEqual (Image *, const Image *)
 

Enumeration Type Documentation

◆ MetricType

enum MetricType
Enumerator
UndefinedMetric 
AbsoluteErrorMetric 
MeanAbsoluteErrorMetric 
MeanErrorPerPixelMetric 
MeanSquaredErrorMetric 
PeakAbsoluteErrorMetric 
PeakSignalToNoiseRatioMetric 
RootMeanSquaredErrorMetric 
NormalizedCrossCorrelationErrorMetric 
FuzzErrorMetric 
UndefinedErrorMetric 
PerceptualHashErrorMetric 

Function Documentation

◆ CompareImageChannels()

MagickExport Image* CompareImageChannels ( Image ,
const Image ,
const  ChannelType,
const  MetricType,
double *  ,
ExceptionInfo  
)

◆ CompareImages()

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

◆ GetImageChannelDistortion()

MagickExport MagickBooleanType GetImageChannelDistortion ( Image ,
const Image ,
const  ChannelType,
const  MetricType,
double *  ,
ExceptionInfo  
)

◆ GetImageChannelDistortions()

◆ GetImageDistortion()

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

◆ IsImagesEqual()

◆ SimilarityImage()

MagickExport Image * SimilarityImage ( Image ,
const Image ,
RectangleInfo ,
double *  ,
ExceptionInfo  
)

◆ SimilarityMetricImage()