compare.h File Reference
#include "magick/image.h"
Go to the source code of this file.
Enumerations |
| enum | MetricType {
UndefinedMetric,
AbsoluteErrorMetric,
MeanAbsoluteErrorMetric,
MeanErrorPerPixelMetric,
MeanSquaredErrorMetric,
PeakAbsoluteErrorMetric,
PeakSignalToNoiseRatioMetric,
RootMeanSquaredErrorMetric
} |
Functions |
| MagickExport double * | GetImageChannelDistortions (Image *, const Image *, const MetricType, ExceptionInfo *) |
| MagickExport Image * | CompareImageChannels (Image *, const Image *, const ChannelType, const MetricType, double *, ExceptionInfo *) |
| MagickExport Image ** | CompareImages (Image *, const Image *, const MetricType, double *, ExceptionInfo *) |
| MagickExport Image *** | SimilarityImage (Image *, const Image *, 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
- Enumerator:
| UndefinedMetric |
|
| AbsoluteErrorMetric |
|
| MeanAbsoluteErrorMetric |
|
| MeanErrorPerPixelMetric |
|
| MeanSquaredErrorMetric |
|
| PeakAbsoluteErrorMetric |
|
| PeakSignalToNoiseRatioMetric |
|
| RootMeanSquaredErrorMetric |
|
Definition at line 27 of file compare.h.
Function Documentation
Definition at line 1103 of file compare.c.
References AbsoluteErrorMetric, AcquireQuantumMemory(), AllChannels, _Image::columns, _Image::debug, _Image::exception, _Image::filename, GetAbsoluteError(), GetMagickModule, GetMeanAbsoluteError(), GetMeanErrorPerPixel(), GetMeanSquaredError(), GetPeakAbsoluteError(), GetPeakSignalToNoiseRatio(), GetRootMeanSquaredError(), ImageError, LogMagickEvent(), MagickFalse, MagickSignature, MeanAbsoluteErrorMetric, MeanErrorPerPixelMetric, MeanSquaredErrorMetric, PeakAbsoluteErrorMetric, PeakSignalToNoiseRatioMetric, ResetMagickMemory(), ResourceLimitFatalError, RootMeanSquaredErrorMetric, _Image::rows, _Image::signature, ThrowFatalException, ThrowMagickException(), and TraceEvent.
Definition at line 1237 of file compare.c.
References AcquireCacheView(), CMYKColorspace, _Image::colorspace, _Image::columns, DestroyCacheView(), _Image::error, _Image::exception, _Image::filename, GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), ImageError, MagickFalse, MagickSignature, MagickTrue, _Image::matte, _ErrorInfo::mean_error_per_pixel, _ErrorInfo::normalized_maximum_error, _ErrorInfo::normalized_mean_error, QuantumScale, _Image::rows, _Image::signature, and ThrowBinaryException.
Definition at line 1480 of file compare.c.
References AcquireCacheView(), CloneImage(), _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticPixels(), GetMagickModule, GetSimilarityMetric(), ImageError, InheritException(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, _Image::progress_monitor, QuantumRange, RoundToQuantum(), _Image::rows, SetGeometry(), SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SimilarityImageTag, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, _RectangleInfo::x, and _RectangleInfo::y.