MagickCore  6.9.6
compare.c File Reference
Include dependency graph for compare.c:

Macros

#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)
 

Macro Definition Documentation

§ Log10Epsilon

#define Log10Epsilon   (1.0e-11)

Referenced by MagickLog10().

§ SimilarityImageTag [1/2]

#define SimilarityImageTag   "Similarity/Image"

§ SimilarityImageTag [2/2]

#define SimilarityImageTag   "Similarity/Image"

Function Documentation

§ CompareImageChannels()

§ CompareImages()

MagickExport Image* CompareImages ( Image image,
const Image reconstruct_image,
const MetricType  metric,
double *  distortion,
ExceptionInfo exception 
)

§ GetAbsoluteDistortion()

§ GetFuzzDistortion()

§ GetImageChannelDistortion()

§ GetImageChannelDistortions()

§ GetImageDistortion()

MagickExport MagickBooleanType GetImageDistortion ( Image image,
const Image reconstruct_image,
const MetricType  metric,
double *  distortion,
ExceptionInfo exception 
)

§ GetMeanAbsoluteDistortion()

§ GetMeanErrorPerPixel()

§ GetMeanSquaredDistortion()

§ GetNormalizedCrossCorrelationDistortion()

§ GetNumberChannels()

§ GetPeakAbsoluteDistortion()

§ GetPeakSignalToNoiseRatio()

static MagickBooleanType GetPeakSignalToNoiseRatio ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
)
static

§ GetPerceptualHashDistortion()

§ GetRootMeanSquaredDistortion()

static MagickBooleanType GetRootMeanSquaredDistortion ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
)
static

§ GetSimilarityMetric()

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

§ IsImagesEqual()

§ MagickLog10()

static double MagickLog10 ( const double  x)
inlinestatic

References Log10Epsilon.

Referenced by GetPeakSignalToNoiseRatio().

§ SimilarityImage()

MagickExport Image* SimilarityImage ( Image image,
const Image reference,
RectangleInfo offset,
double *  similarity_metric,
ExceptionInfo exception 
)

§ SimilarityMetricImage()

§ ValidateImageMorphology()