MagickCore
7.0.11
|
#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 ** | DestroyPixelThreadSet (const Image *images, PixelChannels **pixels) |
static PixelChannels ** | AcquirePixelThreadSet (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) |
static size_t | GetImageChannels (const Image *image) |
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 ** | DestroyPixelListThreadSet (PixelList **pixel_list) |
static PixelList * | AcquirePixelList (const size_t width, const size_t height) |
static PixelList ** | AcquirePixelListThreadSet (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" |
Referenced by EvaluateImage(), and EvaluateImages().
#define FunctionImageTag "Function/Image " |
Referenced by FunctionImage().
#define Log10Epsilon (1.0e-11) |
Referenced by MagickLog10().
#define MaxNumberImageMoments 8 |
#define PolynomialImageTag "Polynomial/Image" |
Referenced by PolynomialImage().
#define StatisticImageTag "Statistic/Image" |
Referenced by StatisticImage().
#define SwapPixels | ( | alpha, | |
beta | |||
) |
Referenced by GetMedianPixel().
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 2650 of file statistic.c.
References AcquireAlignedMemory(), AcquireMagickMemory(), DestroyPixelList(), _PixelList::length, MagickCoreSignature, _SkipList::nodes, _PixelList::signature, and _PixelList::skip_list.
Referenced by AcquirePixelListThreadSet().
|
static |
Definition at line 2670 of file statistic.c.
References AcquirePixelList(), AcquireQuantumMemory(), DestroyPixelListThreadSet(), GetMagickResourceLimit(), and ThreadResource.
Referenced by StatisticImage().
|
static |
Definition at line 159 of file statistic.c.
References AcquireQuantumMemory(), _Image::columns, DestroyPixelThreadSet(), GetImageListLength(), GetMagickResourceLimit(), MagickMax, MaxPixelChannels, _Image::next, and ThreadResource.
Referenced by EvaluateImages(), and PolynomialImage().
|
static |
Definition at line 2697 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 974 of file statistic.c.
References ArcsinFunction, ArctanFunction, ClampToQuantum(), MagickPI, PolynomialFunction, QuantumRange, QuantumScale, SinusoidFunction, and UndefinedFunction.
Referenced by FunctionImage().
Definition at line 2626 of file statistic.c.
References _SkipList::nodes, RelinquishAlignedMemory(), RelinquishMagickMemory(), and _PixelList::skip_list.
Referenced by AcquirePixelList(), and DestroyPixelListThreadSet().
Definition at line 2637 of file statistic.c.
References DestroyPixelList(), GetMagickResourceLimit(), RelinquishMagickMemory(), and ThreadResource.
Referenced by AcquirePixelListThreadSet(), and StatisticImage().
|
static |
Definition at line 140 of file statistic.c.
References GetImageListLength(), GetMagickResourceLimit(), MagickMax, RelinquishMagickMemory(), and ThreadResource.
Referenced by AcquirePixelThreadSet(), EvaluateImages(), and PolynomialImage().
MagickExport MagickBooleanType EvaluateImage | ( | Image * | image, |
const MagickEvaluateOperator | op, | ||
const double | value, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 835 of file statistic.c.
References AcquireAuthenticCacheView(), AcquireRandomInfoThreadSet(), ApplyEvaluateOperator(), ClampToQuantum(), _Image::columns, CopyPixelTrait, _Image::debug, DestroyCacheView(), DestroyRandomInfoThreadSet(), DirectClass, EvaluateImageTag, _Image::filename, GetCacheViewAuthenticPixels(), GetMagickModule, GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetRandomSecretKey(), 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(), AcquirePixelThreadSet(), AcquireQuantumMemory(), AcquireRandomInfoThreadSet(), AcquireVirtualCacheView(), AddEvaluateOperator, ApplyEvaluateOperator(), _PixelChannels::channel, ClampToQuantum(), _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DestroyPixelThreadSet(), DestroyRandomInfoThreadSet(), DirectClass, EvaluateImageTag, _Image::filename, GetCacheViewVirtualPixels(), GetImageListLength(), GetMagickModule, GetNextImageInList(), GetOpenMPThreadId(), GetPixelChannel(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetRandomSecretKey(), IntensityCompare(), 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 1072 of file statistic.c.
References AcquireAuthenticCacheView(), ApplyFunction(), _Image::columns, _Image::debug, DestroyCacheView(), DirectClass, _Image::filename, FunctionImageTag, GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), 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().
|
static |
Definition at line 1433 of file statistic.c.
References GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), UndefinedPixelTrait, and UpdatePixelTrait.
Referenced by GetImageMoments(), GetImagePerceptualHash(), and GetImageStatistics().
MagickExport MagickBooleanType GetImageEntropy | ( | const Image * | image, |
double * | entropy, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1191 of file statistic.c.
References CompositePixelChannel, _Image::debug, _ChannelStatistics::entropy, _Image::filename, GetImageStatistics(), GetMagickModule, 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 1239 of file statistic.c.
References _Image::debug, _Image::filename, GetImageRange(), GetMagickModule, LogMagickEvent(), MagickCoreSignature, MagickFalse, _Image::signature, and TraceEvent.
MagickExport MagickBooleanType GetImageKurtosis | ( | const Image * | image, |
double * | kurtosis, | ||
double * | skewness, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1289 of file statistic.c.
References CompositePixelChannel, _Image::debug, _Image::filename, GetImageStatistics(), GetMagickModule, _ChannelStatistics::kurtosis, LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, RelinquishMagickMemory(), _Image::signature, _ChannelStatistics::skewness, and TraceEvent.
Referenced by FxChannelStatistics(), and GetMagickProperty().
MagickExport MagickBooleanType GetImageMean | ( | const Image * | image, |
double * | mean, | ||
double * | standard_deviation, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1339 of file statistic.c.
References CompositePixelChannel, _Image::debug, _Image::filename, GetImageStatistics(), GetMagickModule, LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _ChannelStatistics::mean, RelinquishMagickMemory(), _Image::signature, _ChannelStatistics::standard_deviation, and TraceEvent.
Referenced by AutoGammaImage(), FxChannelStatistics(), and GetMagickProperty().
MagickExport MagickBooleanType GetImageMedian | ( | const Image * | image, |
double * | median, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1387 of file statistic.c.
References CompositePixelChannel, _Image::debug, _Image::filename, GetImageStatistics(), GetMagickModule, LogMagickEvent(), MagickCoreSignature, MagickFalse, MagickTrue, _ChannelStatistics::median, RelinquishMagickMemory(), _Image::signature, and TraceEvent.
Referenced by FxChannelStatistics(), and GetMagickProperty().
MagickExport ChannelMoments* GetImageMoments | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1455 of file statistic.c.
References AcquireQuantumMemory(), AcquireVirtualCacheView(), _ChannelMoments::centroid, _Image::columns, _Image::debug, DestroyCacheView(), _ChannelMoments::ellipse_angle, _ChannelMoments::ellipse_axis, _ChannelMoments::ellipse_eccentricity, _ChannelMoments::ellipse_intensity, _Image::filename, GetCacheViewVirtualPixels(), GetImageChannels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), _ChannelMoments::invariant, 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 1770 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 1876 of file statistic.c.
References AcquireVirtualCacheView(), _Image::columns, _Image::debug, DestroyCacheView(), _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::rows, _Image::signature, TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
Referenced by FxChannelStatistics(), GetImageExtrema(), GetMagickProperty(), and MinMaxStretchImage().
MagickExport ChannelStatistics* GetImageStatistics | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 2063 of file statistic.c.
References AcquireQuantumMemory(), AcquireVirtualMemory(), _ChannelStatistics::area, ClampToQuantum(), _Image::columns, CompositePixelChannel, _Image::debug, _ChannelStatistics::depth, _ChannelStatistics::entropy, _Image::filename, GetImageChannels(), GetMagickModule, GetMedianPixel(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelReadMask(), GetQuantumRange(), GetVirtualMemoryBlob(), GetVirtualPixels(), _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 GetImageEntropy(), GetImageKurtosis(), GetImageMean(), GetImageMedian(), GetNormalizedCrossCorrelationDistortion(), and IdentifyImage().
|
static |
Definition at line 2012 of file statistic.c.
References SwapPixels.
Referenced by GetImageStatistics().
Definition at line 2756 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2781 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2815 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2850 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 1761 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 2382 of file statistic.c.
References AcquireAuthenticCacheView(), AcquireImageCanvas(), AcquirePixelThreadSet(), AcquireVirtualCacheView(), _PixelChannels::channel, ClampToQuantum(), _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DestroyPixelThreadSet(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetImageListLength(), GetMagickModule, GetNextImageInList(), GetOpenMPThreadId(), GetPixelChannel(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), 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 2868 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 2890 of file statistic.c.
References AcquireAuthenticCacheView(), AcquirePixelListThreadSet(), AcquireVirtualCacheView(), ClampToQuantum(), CloneImage(), _Image::columns, CopyPixelTrait, _Image::debug, DestroyCacheView(), DestroyImage(), DestroyPixelListThreadSet(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetMedianPixelList(), GetModePixelList(), GetNonpeakPixelList(), GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelWriteMask(), GradientStatistic, InsertPixelList(), LogMagickEvent(), magick_restrict, MagickAbsoluteValue, MagickCoreSignature, MagickFalse, MagickMax, MagickTrue, MaximumStatistic, MeanStatistic, MedianStatistic, MinimumStatistic, ModeStatistic, NonpeakStatistic, _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().