MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
Go to the source code of this file.
Data Structures | |
struct | _ChannelStatistics |
struct | _ChannelMoments |
struct | _ChannelPerceptualHash |
Macros | |
#define | MaximumNumberOfImageMoments 8 |
#define | MaximumNumberOfPerceptualColorspaces 6 |
#define | MaximumNumberOfPerceptualHashes 7 |
Typedefs | |
typedef struct _ChannelStatistics | ChannelStatistics |
typedef struct _ChannelMoments | ChannelMoments |
typedef struct _ChannelPerceptualHash | ChannelPerceptualHash |
#define MaximumNumberOfImageMoments 8 |
Definition at line 25 of file statistic.h.
#define MaximumNumberOfPerceptualColorspaces 6 |
Definition at line 26 of file statistic.h.
#define MaximumNumberOfPerceptualHashes 7 |
Definition at line 27 of file statistic.h.
typedef struct _ChannelMoments ChannelMoments |
typedef struct _ChannelPerceptualHash ChannelPerceptualHash |
typedef struct _ChannelStatistics ChannelStatistics |
Definition at line 85 of file statistic.h.
enum MagickFunction |
Enumerator | |
---|---|
UndefinedFunction | |
ArcsinFunction | |
ArctanFunction | |
PolynomialFunction | |
SinusoidFunction |
Definition at line 123 of file statistic.h.
enum StatisticType |
Definition at line 132 of file statistic.h.
MagickExport MagickBooleanType EvaluateImage | ( | Image * | , |
const | MagickEvaluateOperator, | ||
const double | , | ||
ExceptionInfo * | |||
) |
MagickExport Image * EvaluateImages | ( | const Image * | , |
const | MagickEvaluateOperator, | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType FunctionImage | ( | Image * | , |
const | MagickFunction, | ||
const | size_t, | ||
const double * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType GetImageEntropy | ( | const Image * | , |
double * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType GetImageExtrema | ( | const Image * | , |
size_t * | , | ||
size_t * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType GetImageKurtosis | ( | const Image * | , |
double * | , | ||
double * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType GetImageMean | ( | const Image * | , |
double * | , | ||
double * | , | ||
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType GetImageMedian | ( | const Image * | , |
double * | , | ||
ExceptionInfo * | |||
) |
MagickExport ChannelMoments * GetImageMoments | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1434 of file statistic.c.
References AcquireQuantumMemory(), AcquireVirtualCacheView(), _ChannelMoments::centroid, _Image::columns, DestroyCacheView(), _ChannelMoments::ellipse_angle, _ChannelMoments::ellipse_axis, _ChannelMoments::ellipse_eccentricity, _ChannelMoments::ellipse_intensity, _Image::filename, GetCacheViewVirtualPixels(), GetImageChannels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), _ChannelMoments::invariant, IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickEpsilon, MagickFalse, MagickPI, MaxPixelChannels, PerceptibleReciprocal(), QuantumScale, RadiansToDegrees(), RelinquishMagickMemory(), _Image::rows, _Image::signature, TraceEvent, UndefinedPixelTrait, UpdatePixelTrait, _PointInfo::x, and _PointInfo::y.
Referenced by GetImagePerceptualHash(), and IdentifyImage().
MagickExport ChannelPerceptualHash * GetImagePerceptualHash | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1736 of file statistic.c.
References AcquireQuantumMemory(), AcquireString(), BlurImage(), _ChannelPerceptualHash::colorspace, _Image::depth, DestroyImage(), DestroyString(), GetImageArtifact(), GetImageChannels(), GetImageMoments(), MagickColorspaceOptions, MagickFalse, MagickLog10(), MaximumNumberOfImageMoments, MaximumNumberOfPerceptualColorspaces, MaxPixelChannels, _ChannelPerceptualHash::number_channels, _ChannelPerceptualHash::number_colorspaces, ParseCommandOption(), RelinquishMagickMemory(), StringToken(), and TransformImageColorspace().
Referenced by GetPerceptualHashDistortion(), and IdentifyImage().
MagickExport MagickBooleanType GetImageRange | ( | const Image * | image, |
double * | minima, | ||
double * | maxima, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1842 of file statistic.c.
References AcquireVirtualCacheView(), _Image::columns, DestroyCacheView(), _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::rows, _Image::signature, TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
Referenced by GetImageExtrema(), GetMagickProperty(), and MinMaxStretchImage().
MagickExport ChannelStatistics * GetImageStatistics | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 2029 of file statistic.c.
References AcquireQuantumMemory(), AcquireVirtualMemory(), _ChannelStatistics::area, ClampToQuantum(), _Image::columns, CompositePixelChannel, _ChannelStatistics::depth, _ChannelStatistics::entropy, _Image::filename, GetImageChannels(), GetMagickModule, GetMedianPixel(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelReadMask(), GetQuantumRange(), GetVirtualMemoryBlob(), GetVirtualPixels(), IsEventLogging(), _ChannelStatistics::kurtosis, LogMagickEvent(), magick_restrict, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickFalse, MagickLog10(), MagickMaximumValue, MagickTrue, _ChannelStatistics::maxima, MaxMap, MaxPixelChannels, _ChannelStatistics::mean, _ChannelStatistics::median, _ChannelStatistics::minima, PerceptibleReciprocal(), QuantumRange, RelinquishMagickMemory(), RelinquishVirtualMemory(), ResourceLimitError, _Image::rows, ScaleAnyToQuantum(), ScaleQuantumToAny(), _Image::signature, _ChannelStatistics::skewness, _ChannelStatistics::standard_deviation, _ChannelStatistics::sum, _ChannelStatistics::sum_cubed, _ChannelStatistics::sum_fourth_power, _ChannelStatistics::sum_squared, ThrowMagickException(), TraceEvent, UndefinedPixelTrait, UpdatePixelTrait, and _ChannelStatistics::variance.
Referenced by CollectOneImgStats(), GetImageEntropy(), GetImageKurtosis(), GetImageMean(), GetImageMedian(), GetNormalizedCrossCorrelationDistortion(), and IdentifyImage().
MagickExport Image * PolynomialImage | ( | const Image * | , |
const | size_t, | ||
const double * | , | ||
ExceptionInfo * | |||
) |
MagickExport Image * StatisticImage | ( | const Image * | image, |
const | StatisticType, | ||
const | size_t, | ||
const | size_t, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2838 of file statistic.c.
References AcquireAuthenticCacheView(), AcquirePixelListTLS(), AcquireVirtualCacheView(), ClampToQuantum(), CloneImage(), _Image::columns, ContrastStatistic, CopyPixelTrait, DestroyCacheView(), DestroyImage(), DestroyPixelListTLS(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetMedianPixelList(), GetModePixelList(), GetNonpeakPixelList(), GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelWriteMask(), GradientStatistic, InsertPixelList(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickAbsoluteValue, MagickCoreSignature, MagickFalse, MagickMax, MagickTrue, MaximumStatistic, MeanStatistic, MedianStatistic, MinimumStatistic, ModeStatistic, NonpeakStatistic, PerceptibleReciprocal(), _Image::progress_monitor, QuantumRange, QueueCacheViewAuthenticPixels(), ResetPixelList(), ResourceLimitError, RootMeanSquareStatistic, _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelChannel(), _ExceptionInfo::signature, _Image::signature, StandardDeviationStatistic, StatisticImageTag, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
Referenced by DeskewImage(), and PreviewImage().