MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
#include "MagickCore/studio.h"
#include "MagickCore/accelerate-private.h"
#include "MagickCore/animate.h"
#include "MagickCore/artifact.h"
#include "MagickCore/blob.h"
#include "MagickCore/blob-private.h"
#include "MagickCore/cache.h"
#include "MagickCore/cache-private.h"
#include "MagickCore/cache-view.h"
#include "MagickCore/client.h"
#include "MagickCore/color.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colorspace.h"
#include "MagickCore/colorspace-private.h"
#include "MagickCore/composite.h"
#include "MagickCore/composite-private.h"
#include "MagickCore/compress.h"
#include "MagickCore/constitute.h"
#include "MagickCore/display.h"
#include "MagickCore/draw.h"
#include "MagickCore/enhance.h"
#include "MagickCore/exception.h"
#include "MagickCore/exception-private.h"
#include "MagickCore/gem.h"
#include "MagickCore/gem-private.h"
#include "MagickCore/geometry.h"
#include "MagickCore/list.h"
#include "MagickCore/image-private.h"
#include "MagickCore/magic.h"
#include "MagickCore/magick.h"
#include "MagickCore/memory_.h"
#include "MagickCore/module.h"
#include "MagickCore/monitor.h"
#include "MagickCore/monitor-private.h"
#include "MagickCore/option.h"
#include "MagickCore/paint.h"
#include "MagickCore/pixel-accessor.h"
#include "MagickCore/profile.h"
#include "MagickCore/property.h"
#include "MagickCore/quantize.h"
#include "MagickCore/quantum-private.h"
#include "MagickCore/random_.h"
#include "MagickCore/random-private.h"
#include "MagickCore/resource_.h"
#include "MagickCore/segment.h"
#include "MagickCore/semaphore.h"
#include "MagickCore/signature-private.h"
#include "MagickCore/statistic.h"
#include "MagickCore/string_.h"
#include "MagickCore/thread-private.h"
#include "MagickCore/timer.h"
#include "MagickCore/utility.h"
#include "MagickCore/version.h"
Go to the source code of this file.
Data Structures | |
struct | _PixelChannels |
struct | _SkipNode |
struct | _SkipList |
struct | _PixelList |
Macros | |
#define | EvaluateImageTag "Evaluate/Image" |
#define | FunctionImageTag "Function/Image " |
#define | MaxNumberImageMoments 8 |
#define | Log10Epsilon (1.0e-11) |
#define | SwapPixels(alpha, beta) |
#define | PolynomialImageTag "Polynomial/Image" |
#define | StatisticImageTag "Statistic/Image" |
Typedefs | |
typedef struct _PixelChannels | PixelChannels |
typedef struct _SkipNode | SkipNode |
typedef struct _SkipList | SkipList |
typedef struct _PixelList | PixelList |
Functions | |
static PixelChannels ** | DestroyPixelTLS (const Image *images, PixelChannels **pixels) |
static PixelChannels ** | AcquirePixelTLS (const Image *images) |
static double | EvaluateMax (const double x, const double y) |
static int | IntensityCompare (const void *x, const void *y) |
static double | ApplyEvaluateOperator (RandomInfo *random_info, const Quantum pixel, const MagickEvaluateOperator op, const double value) |
static Image * | AcquireImageCanvas (const Image *images, ExceptionInfo *exception) |
MagickExport Image * | EvaluateImages (const Image *images, const MagickEvaluateOperator op, ExceptionInfo *exception) |
MagickExport MagickBooleanType | EvaluateImage (Image *image, const MagickEvaluateOperator op, const double value, ExceptionInfo *exception) |
static Quantum | ApplyFunction (Quantum pixel, const MagickFunction function, const size_t number_parameters, const double *parameters, ExceptionInfo *exception) |
MagickExport MagickBooleanType | FunctionImage (Image *image, const MagickFunction function, const size_t number_parameters, const double *parameters, ExceptionInfo *exception) |
MagickExport MagickBooleanType | GetImageEntropy (const Image *image, double *entropy, ExceptionInfo *exception) |
MagickExport MagickBooleanType | GetImageExtrema (const Image *image, size_t *minima, size_t *maxima, ExceptionInfo *exception) |
MagickExport MagickBooleanType | GetImageKurtosis (const Image *image, double *kurtosis, double *skewness, ExceptionInfo *exception) |
MagickExport MagickBooleanType | GetImageMean (const Image *image, double *mean, double *standard_deviation, ExceptionInfo *exception) |
MagickExport MagickBooleanType | GetImageMedian (const Image *image, double *median, ExceptionInfo *exception) |
MagickExport ChannelMoments * | GetImageMoments (const Image *image, ExceptionInfo *exception) |
static double | MagickLog10 (const double x) |
MagickExport ChannelPerceptualHash * | GetImagePerceptualHash (const Image *image, ExceptionInfo *exception) |
MagickExport MagickBooleanType | GetImageRange (const Image *image, double *minima, double *maxima, ExceptionInfo *exception) |
static ssize_t | GetMedianPixel (Quantum *pixels, const size_t n) |
MagickExport ChannelStatistics * | GetImageStatistics (const Image *image, ExceptionInfo *exception) |
MagickExport Image * | PolynomialImage (const Image *images, const size_t number_terms, const double *terms, ExceptionInfo *exception) |
static PixelList * | DestroyPixelList (PixelList *pixel_list) |
static PixelList ** | DestroyPixelListTLS (PixelList **pixel_list) |
static PixelList * | AcquirePixelList (const size_t width, const size_t height) |
static PixelList ** | AcquirePixelListTLS (const size_t width, const size_t height) |
static void | AddNodePixelList (PixelList *pixel_list, const size_t color) |
static void | GetMedianPixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetModePixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetNonpeakPixelList (PixelList *pixel_list, Quantum *pixel) |
static void | InsertPixelList (const Quantum pixel, PixelList *pixel_list) |
static void | ResetPixelList (PixelList *pixel_list) |
MagickExport Image * | StatisticImage (const Image *image, const StatisticType type, const size_t width, const size_t height, ExceptionInfo *exception) |
#define EvaluateImageTag "Evaluate/Image" |
#define FunctionImageTag "Function/Image " |
#define Log10Epsilon (1.0e-11) |
#define MaxNumberImageMoments 8 |
#define PolynomialImageTag "Polynomial/Image" |
#define StatisticImageTag "Statistic/Image" |
#define SwapPixels | ( | alpha, | |
beta | |||
) |
typedef struct _PixelChannels PixelChannels |
typedef struct _PixelList PixelList |
|
static |
Definition at line 449 of file statistic.c.
References CloneImage(), _Image::columns, MagickTrue, _Image::next, _Image::number_channels, and _Image::rows.
Referenced by EvaluateImages(), and PolynomialImage().
|
static |
Definition at line 2598 of file statistic.c.
References AcquireAlignedMemory(), AcquireMagickMemory(), DestroyPixelList(), _PixelList::length, MagickCoreSignature, _SkipList::nodes, _PixelList::signature, and _PixelList::skip_list.
Referenced by AcquirePixelListTLS().
|
static |
Definition at line 2618 of file statistic.c.
References AcquirePixelList(), AcquireQuantumMemory(), DestroyPixelListTLS(), GetMagickResourceLimit(), and ThreadResource.
Referenced by StatisticImage().
|
static |
Definition at line 159 of file statistic.c.
References AcquireQuantumMemory(), _Image::columns, DestroyPixelTLS(), GetImageListLength(), GetMagickResourceLimit(), MagickMax, MaxPixelChannels, _Image::next, and ThreadResource.
Referenced by EvaluateImages(), and PolynomialImage().
|
static |
Definition at line 2645 of file statistic.c.
References _SkipNode::count, _SkipList::level, _SkipNode::next, _SkipList::nodes, _PixelList::seed, _SkipNode::signature, _PixelList::signature, and _PixelList::skip_list.
Referenced by InsertPixelList().
|
static |
Definition at line 239 of file statistic.c.
References AbsEvaluateOperator, AddEvaluateOperator, AddModulusEvaluateOperator, AndEvaluateOperator, CosineEvaluateOperator, DivideEvaluateOperator, EvaluateMax(), ExponentialEvaluateOperator, GaussianNoise, GaussianNoiseEvaluateOperator, GenerateDifferentialNoise(), ImpulseNoise, ImpulseNoiseEvaluateOperator, InverseLogEvaluateOperator, LaplacianNoise, LaplacianNoiseEvaluateOperator, LeftShiftEvaluateOperator, LogEvaluateOperator, MagickEpsilon, MagickMin, MagickPI, MaxEvaluateOperator, MeanEvaluateOperator, MedianEvaluateOperator, MinEvaluateOperator, MultiplicativeGaussianNoise, MultiplicativeNoiseEvaluateOperator, MultiplyEvaluateOperator, OrEvaluateOperator, PerceptibleReciprocal(), PoissonNoise, PoissonNoiseEvaluateOperator, PowEvaluateOperator, QuantumRange, QuantumScale, random_info, RightShiftEvaluateOperator, RootMeanSquareEvaluateOperator, SetEvaluateOperator, SineEvaluateOperator, SubtractEvaluateOperator, SumEvaluateOperator, ThresholdBlackEvaluateOperator, ThresholdEvaluateOperator, ThresholdWhiteEvaluateOperator, UndefinedEvaluateOperator, UniformNoise, UniformNoiseEvaluateOperator, and XorEvaluateOperator.
Referenced by EvaluateImage(), and EvaluateImages().
|
static |
Definition at line 976 of file statistic.c.
References ArcsinFunction, ArctanFunction, ClampToQuantum(), MagickPI, PerceptibleReciprocal(), PolynomialFunction, QuantumRange, QuantumScale, SinusoidFunction, and UndefinedFunction.
Referenced by FunctionImage().
Definition at line 2574 of file statistic.c.
References _SkipList::nodes, RelinquishAlignedMemory(), RelinquishMagickMemory(), and _PixelList::skip_list.
Referenced by AcquirePixelList(), and DestroyPixelListTLS().
Definition at line 2585 of file statistic.c.
References DestroyPixelList(), GetMagickResourceLimit(), RelinquishMagickMemory(), and ThreadResource.
Referenced by AcquirePixelListTLS(), and StatisticImage().
|
static |
Definition at line 140 of file statistic.c.
References GetImageListLength(), GetMagickResourceLimit(), MagickMax, RelinquishMagickMemory(), and ThreadResource.
Referenced by AcquirePixelTLS(), EvaluateImages(), and PolynomialImage().
MagickExport MagickBooleanType EvaluateImage | ( | Image * | image, |
const MagickEvaluateOperator | op, | ||
const double | value, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 829 of file statistic.c.
References AcquireAuthenticCacheView(), AcquireRandomInfoTLS(), ApplyEvaluateOperator(), ClampPixel(), ClampToQuantum(), _Image::columns, CopyPixelTrait, DestroyCacheView(), DestroyRandomInfoTLS(), DirectClass, EvaluateImageTag, _Image::filename, GetCacheViewAuthenticPixels(), GetImageArtifact(), GetMagickModule, GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetRandomSecretKey(), IsEventLogging(), IsStringTrue(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MeanEvaluateOperator, _Image::progress_monitor, random_info, _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
MagickExport Image * EvaluateImages | ( | const Image * | images, |
const MagickEvaluateOperator | op, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 474 of file statistic.c.
References AcquireAuthenticCacheView(), AcquireImageCanvas(), AcquirePixelTLS(), AcquireQuantumMemory(), AcquireRandomInfoTLS(), AcquireVirtualCacheView(), AddEvaluateOperator, ApplyEvaluateOperator(), _PixelChannels::channel, ClampToQuantum(), _Image::columns, DestroyCacheView(), DestroyImage(), DestroyPixelTLS(), DestroyRandomInfoTLS(), DirectClass, EvaluateImageTag, _Image::filename, GetCacheViewVirtualPixels(), GetImageListLength(), GetMagickModule, GetNextImageInList(), GetOpenMPThreadId(), GetPixelChannel(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetRandomSecretKey(), IntensityCompare(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MaxPixelChannels, MeanEvaluateOperator, MedianEvaluateOperator, MultiplyEvaluateOperator, _Image::progress_monitor, QuantumScale, QueueCacheViewAuthenticPixels(), random_info, RelinquishMagickMemory(), ResourceLimitError, RootMeanSquareEvaluateOperator, _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowMagickException(), TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
|
inlinestatic |
Definition at line 204 of file statistic.c.
Referenced by ApplyEvaluateOperator().
MagickExport MagickBooleanType FunctionImage | ( | Image * | image, |
const MagickFunction | function, | ||
const size_t | number_parameters, | ||
const double * | parameters, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1074 of file statistic.c.
References AcquireAuthenticCacheView(), ApplyFunction(), _Image::columns, DestroyCacheView(), DirectClass, _Image::filename, FunctionImageTag, GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::progress_monitor, _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
Referenced by BrightnessContrastImage().
MagickExport MagickBooleanType GetImageEntropy | ( | const Image * | image, |
double * | entropy, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1193 of file statistic.c.
References CompositePixelChannel, _ChannelStatistics::entropy, _Image::filename, GetImageStatistics(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, RelinquishMagickMemory(), _Image::signature, and TraceEvent.
Referenced by GetMagickProperty().
MagickExport MagickBooleanType GetImageExtrema | ( | const Image * | image, |
size_t * | minima, | ||
size_t * | maxima, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1241 of file statistic.c.
References _Image::filename, GetImageRange(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::signature, and TraceEvent.
MagickExport MagickBooleanType GetImageKurtosis | ( | const Image * | image, |
double * | kurtosis, | ||
double * | skewness, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1291 of file statistic.c.
References CompositePixelChannel, _Image::filename, GetImageStatistics(), GetMagickModule, IsEventLogging(), _ChannelStatistics::kurtosis, LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, RelinquishMagickMemory(), _Image::signature, _ChannelStatistics::skewness, and TraceEvent.
Referenced by GetMagickProperty().
MagickExport MagickBooleanType GetImageMean | ( | const Image * | image, |
double * | mean, | ||
double * | standard_deviation, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1341 of file statistic.c.
References CompositePixelChannel, _Image::filename, GetImageStatistics(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _ChannelStatistics::mean, RelinquishMagickMemory(), _Image::signature, _ChannelStatistics::standard_deviation, and TraceEvent.
Referenced by AutoGammaImage(), and GetMagickProperty().
MagickExport MagickBooleanType GetImageMedian | ( | const Image * | image, |
double * | median, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1389 of file statistic.c.
References CompositePixelChannel, _Image::filename, GetImageStatistics(), GetMagickModule, IsEventLogging(), LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _ChannelStatistics::median, RelinquishMagickMemory(), _Image::signature, and TraceEvent.
Referenced by GetMagickProperty().
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().
|
static |
Definition at line 1978 of file statistic.c.
References SwapPixels.
Referenced by GetImageStatistics().
Definition at line 2704 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2729 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2763 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2798 of file statistic.c.
References AddNodePixelList(), _SkipNode::count, _SkipList::nodes, _SkipNode::signature, _PixelList::signature, and _PixelList::skip_list.
Referenced by StatisticImage().
|
static |
Definition at line 215 of file statistic.c.
References _PixelChannels::channel, and MaxPixelChannels.
Referenced by EvaluateImages().
|
inlinestatic |
Definition at line 1727 of file statistic.c.
References Log10Epsilon.
Referenced by GetImagePerceptualHash(), and GetImageStatistics().
MagickExport Image * PolynomialImage | ( | const Image * | images, |
const size_t | number_terms, | ||
const double * | terms, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 2338 of file statistic.c.
References AcquireAuthenticCacheView(), AcquireImageCanvas(), AcquirePixelTLS(), AcquireVirtualCacheView(), _PixelChannels::channel, ClampToQuantum(), _Image::columns, DestroyCacheView(), DestroyImage(), DestroyPixelTLS(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetImageListLength(), GetMagickModule, GetNextImageInList(), GetOpenMPThreadId(), GetPixelChannel(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), IsEventLogging(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MaxPixelChannels, PolynomialImageTag, _Image::progress_monitor, QuantumRange, QuantumScale, QueueCacheViewAuthenticPixels(), ResourceLimitError, _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowMagickException(), TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
|
static |
Definition at line 2816 of file statistic.c.
References _SkipList::level, _SkipNode::next, _SkipList::nodes, _PixelList::seed, _PixelList::signature, and _PixelList::skip_list.
Referenced by StatisticImage().
MagickExport Image * StatisticImage | ( | const Image * | image, |
const StatisticType | type, | ||
const size_t | width, | ||
const size_t | height, | ||
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().