MagickCore  6.8.5
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
}

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

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

Function Documentation

MagickExport Image* CompareImageChannels ( Image ,
const Image ,
const ChannelType  ,
const MetricType  ,
double *  ,
ExceptionInfo  
)
MagickExport Image * CompareImages ( Image ,
const Image ,
const MetricType  ,
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 Image * SimilarityImage ( Image ,
const Image ,
RectangleInfo ,
double *  ,
ExceptionInfo  
)