compare.c File Reference

#include "magick/studio.h"
#include "magick/artifact.h"
#include "magick/cache-view.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/option.h"
#include "magick/pixel-private.h"
#include "magick/resource_.h"
#include "magick/string_.h"
#include "magick/utility.h"
#include "magick/version.h"

Include dependency graph for compare.c:

Go to the source code of this file.

Functions

MagickExport ImageCompareImages (Image *image, const Image *reconstruct_image, const MetricType metric, double *distortion, ExceptionInfo *exception)
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 GetAbsoluteError (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static unsigned long GetNumberChannels (const Image *image, const ChannelType channel)
static MagickBooleanType GetMeanAbsoluteError (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 GetMeanSquaredError (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetPeakAbsoluteError (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetPeakSignalToNoiseRatio (const Image *image, const Image *reconstruct_image, const ChannelType channel, double *distortion, ExceptionInfo *exception)
static MagickBooleanType GetRootMeanSquaredError (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)


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 
)

Definition at line 103 of file compare.c.

References AllChannels, and CompareImageChannels().

static MagickBooleanType GetAbsoluteError ( 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 
)

Definition at line 337 of file compare.c.

References AllChannels, and GetImageChannelDistortion().

static MagickBooleanType GetMeanAbsoluteError ( 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 GetMeanSquaredError ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]

static unsigned long GetNumberChannels ( const Image image,
const ChannelType  channel 
) [static]

static MagickBooleanType GetPeakAbsoluteError ( 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 GetRootMeanSquaredError ( const Image image,
const Image reconstruct_image,
const ChannelType  channel,
double *  distortion,
ExceptionInfo exception 
) [static]

MagickExport MagickBooleanType IsImagesEqual ( Image image,
const Image reconstruct_image 
)


Generated on Thu Nov 20 21:54:52 2008 for MagickCore by  doxygen 1.5.7.1