compare.c File Reference

#include "magick/studio.h"
#include "magick/artifact.h"
#include "magick/cache-view.h"
#include "magick/channel.h"
#include "magick/client.h"
#include "magick/color.h"
#include "magick/color-private.h"
#include "magick/colorspace.h"
#include "magick/colorspace-private.h"
#include "magick/compare.h"
#include "magick/composite-private.h"
#include "magick/constitute.h"
#include "magick/exception-private.h"
#include "magick/geometry.h"
#include "magick/image-private.h"
#include "magick/list.h"
#include "magick/log.h"
#include "magick/memory_.h"
#include "magick/monitor.h"
#include "magick/monitor-private.h"
#include "magick/option.h"
#include "magick/pixel-private.h"
#include "magick/property.h"
#include "magick/resource_.h"
#include "magick/string_.h"
#include "magick/string-private.h"
#include "magick/statistic.h"
#include "magick/thread-private.h"
#include "magick/transform.h"
#include "magick/utility.h"
#include "magick/version.h"
Include dependency graph for compare.c:

Defines

#define SimilarityImageTag   "Similarity/Image"
#define Log10Epsilon   (1.0e-11)
#define SimilarityImageTag   "Similarity/Image"

Functions

MagickExport ImageCompareImages (Image *image, const Image *reconstruct_image, const MetricType metric, double *distortion, ExceptionInfo *exception)
static size_t GetNumberChannels (const Image *image, const ChannelType channel)
static MagickBooleanType ValidateImageMorphology (const Image *magick_restrict image, const Image *magick_restrict reconstruct_image)
MagickExport ImageCompareImageChannels (Image *image, const Image *reconstruct_image, const ChannelType channel, const MetricType metric, double *distortion, ExceptionInfo *exception)
MagickExport MagickBooleanType GetImageDistortion (Image *image, const Image *reconstruct_image, const MetricType metric, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetAbsoluteDistortion (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetFuzzDistortion (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetMeanAbsoluteDistortion (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetMeanErrorPerPixel (Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetMeanSquaredDistortion (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetNormalizedCrossCorrelationDistortion (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetPeakAbsoluteDistortion (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static double MagickLog10 (const double x)
static MagickBooleanType GetPeakSignalToNoiseRatio (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetPerceptualHashDistortion (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetRootMeanSquaredDistortion (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
MagickExport MagickBooleanType GetImageChannelDistortion (Image *image, const Image *reconstruct_image, const ChannelType channel, const MetricType metric, double *distortion, ExceptionInfo *exception)
MagickExport double * GetImageChannelDistortions (Image *image, const Image *reconstruct_image, const MetricType metric, ExceptionInfo *exception)
MagickExport MagickBooleanType IsImagesEqual (Image *image, const Image *reconstruct_image)
static double GetSimilarityMetric (const Image *image, const Image *reference, const MetricType metric, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
MagickExport ImageSimilarityImage (Image *image, const Image *reference, RectangleInfo *offset, double *similarity_metric, ExceptionInfo *exception)
MagickExport ImageSimilarityMetricImage (Image *image, const Image *reference, const MetricType metric, RectangleInfo *offset, double *similarity_metric, ExceptionInfo *exception)

Define Documentation

#define Log10Epsilon   (1.0e-11)

Referenced by MagickLog10().

#define SimilarityImageTag   "Similarity/Image"
#define SimilarityImageTag   "Similarity/Image"

Function Documentation

MagickExport Image* CompareImageChannels ( Image image,
const Image reconstruct_image,
const ChannelType  channel,
const MetricType  metric,
double *  distortion,
ExceptionInfo exception 
)
MagickExport Image* CompareImages ( Image image,
const Image reconstruct_image,
const MetricType  metric,
double *  distortion,
ExceptionInfo exception 
)
static MagickBooleanType GetAbsoluteDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static MagickBooleanType GetFuzzDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
MagickExport MagickBooleanType GetImageChannelDistortion ( Image image,
const Image reconstruct_image,
const ChannelType  channel,
const MetricType  metric,
double *  distortion,
ExceptionInfo exception 
)
MagickExport double* GetImageChannelDistortions ( Image image,
const Image reconstruct_image,
const MetricType  metric,
ExceptionInfo exception 
)
MagickExport MagickBooleanType GetImageDistortion ( Image image,
const Image reconstruct_image,
const MetricType  metric,
double *  distortion,
ExceptionInfo exception 
)
static MagickBooleanType GetMeanAbsoluteDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static MagickBooleanType GetMeanErrorPerPixel ( Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static MagickBooleanType GetMeanSquaredDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static MagickBooleanType GetNormalizedCrossCorrelationDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static size_t GetNumberChannels ( const Image image,
const ChannelType  channel 
) [static]
static MagickBooleanType GetPeakAbsoluteDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static MagickBooleanType GetPeakSignalToNoiseRatio ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static MagickBooleanType GetPerceptualHashDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static MagickBooleanType GetRootMeanSquaredDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]
static double GetSimilarityMetric ( const Image image,
const Image reference,
const MetricType  metric,
const ssize_t  x_offset,
const ssize_t  y_offset,
ExceptionInfo exception 
) [static]
MagickExport MagickBooleanType IsImagesEqual ( Image image,
const Image reconstruct_image 
)
static double MagickLog10 ( const double  x  )  [inline, static]

References Log10Epsilon.

Referenced by GetPeakSignalToNoiseRatio().

MagickExport Image* SimilarityImage ( Image image,
const Image reference,
RectangleInfo offset,
double *  similarity_metric,
ExceptionInfo exception 
)
MagickExport Image* SimilarityMetricImage ( Image image,
const Image reference,
const MetricType  metric,
RectangleInfo offset,
double *  similarity_metric,
ExceptionInfo exception 
)
static MagickBooleanType ValidateImageMorphology ( const Image *magick_restrict  image,
const Image *magick_restrict  reconstruct_image 
) [inline, static]

Generated on 9 Mar 2020 for MagickCore by  doxygen 1.6.1