|
MagickCore
6.7.5
|
#include "MagickCore/image.h"

Go to the source code of this file.
Enumerations | |
| enum | MetricType { UndefinedMetric, AbsoluteErrorMetric, MeanAbsoluteErrorMetric, MeanErrorPerPixelMetric, MeanSquaredErrorMetric, PeakAbsoluteErrorMetric, PeakSignalToNoiseRatioMetric, RootMeanSquaredErrorMetric, NormalizedCrossCorrelationErrorMetric, FuzzErrorMetric } |
Functions | |
| MagickExport double * | GetImageDistortions (Image *, const Image *, const MetricType, ExceptionInfo *) |
| MagickExport Image * | CompareImages (Image *, const Image *, const MetricType, double *, ExceptionInfo *) |
| MagickExport Image * | SimilarityImage (Image *, const Image *, const MetricType, RectangleInfo *, double *, ExceptionInfo *) |
| MagickExport MagickBooleanType | GetImageDistortion (Image *, const Image *, const MetricType, double *, ExceptionInfo *) |
| MagickExport MagickBooleanType | IsImagesEqual (Image *, const Image *, ExceptionInfo *) |
| enum MetricType |
| MagickExport Image* CompareImages | ( | Image * | , |
| const Image * | , | ||
| const MetricType | , | ||
| double * | , | ||
| ExceptionInfo * | |||
| ) |
| MagickExport MagickBooleanType GetImageDistortion | ( | Image * | , |
| const Image * | , | ||
| const MetricType | , | ||
| double * | , | ||
| ExceptionInfo * | |||
| ) |
| MagickExport double* GetImageDistortions | ( | Image * | , |
| const Image * | , | ||
| const MetricType | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 1219 of file compare.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::columns, _Image::rows, ThrowMagickException(), ImageError, MaxPixelChannels, AcquireQuantumMemory(), ThrowFatalException, ResourceLimitFatalError, ResetMagickMemory(), MagickTrue, AbsoluteErrorMetric, GetAbsoluteDistortion(), FuzzErrorMetric, GetFuzzDistortion(), MeanAbsoluteErrorMetric, GetMeanAbsoluteDistortion(), MeanErrorPerPixelMetric, GetMeanErrorPerPixel(), MeanSquaredErrorMetric, GetMeanSquaredDistortion(), NormalizedCrossCorrelationErrorMetric, GetNormalizedCrossCorrelationDistortion(), PeakAbsoluteErrorMetric, GetPeakAbsoluteDistortion(), PeakSignalToNoiseRatioMetric, GetPeakSignalToNoiseRatio(), RootMeanSquaredErrorMetric, GetRootMeanSquaredDistortion(), and RelinquishMagickMemory().
| MagickExport MagickBooleanType IsImagesEqual | ( | Image * | , |
| const Image * | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 1373 of file compare.c.
References _Image::signature, MagickSignature, _Image::columns, _Image::rows, ThrowBinaryException, ImageError, _Image::filename, AcquireCacheView(), GetCacheViewVirtualPixels(), GetPixelMask(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, UpdatePixelTrait, GetPixelChannel(), DestroyCacheView(), _Image::error, _ErrorInfo::mean_error_per_pixel, _ErrorInfo::normalized_mean_error, QuantumScale, _ErrorInfo::normalized_maximum_error, MagickTrue, and MagickFalse.
| MagickExport Image * SimilarityImage | ( | Image * | , |
| const Image * | , | ||
| const MetricType | , | ||
| RectangleInfo * | , | ||
| double * | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 1540 of file compare.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, SetGeometry(), _Image::columns, _Image::rows, ThrowImageException, ImageError, CloneImage(), MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), AcquireCacheView(), GetCacheViewAuthenticPixels(), GetSimilarityMetric(), _RectangleInfo::x, _RectangleInfo::y, GetPixelMask(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, UpdatePixelTrait, SetPixelChannel(), ClampToQuantum(), QuantumRange, SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), SimilarityImageTag, and DestroyCacheView().