![]() |
MagickCore
7.0.7
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 | 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 (PixelChannels **pixels) |
static PixelChannels ** | AcquirePixelThreadSet (const Image *image) |
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) |
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) |
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 | GetMaximumPixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetMeanPixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetMedianPixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetMinimumPixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetModePixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetNonpeakPixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetRootMeanSquarePixelList (PixelList *pixel_list, Quantum *pixel) |
static void | GetStandardDeviationPixelList (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().
typedef struct _PixelChannels PixelChannels |
typedef struct _PixelList PixelList |
|
static |
Definition at line 419 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 2476 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 2496 of file statistic.c.
References AcquirePixelList(), AcquireQuantumMemory(), DestroyPixelListThreadSet(), GetMagickResourceLimit(), and ThreadResource.
Referenced by StatisticImage().
|
static |
Definition at line 153 of file statistic.c.
References AcquireQuantumMemory(), _PixelChannels::channel, _Image::columns, DestroyPixelThreadSet(), GetMagickResourceLimit(), MaxPixelChannels, and ThreadResource.
Referenced by EvaluateImages(), and PolynomialImage().
|
static |
Definition at line 2523 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 226 of file statistic.c.
References AbsEvaluateOperator, AddEvaluateOperator, AddModulusEvaluateOperator, AndEvaluateOperator, CosineEvaluateOperator, DivideEvaluateOperator, EvaluateMax(), ExponentialEvaluateOperator, GaussianNoise, GaussianNoiseEvaluateOperator, GenerateDifferentialNoise(), ImpulseNoise, ImpulseNoiseEvaluateOperator, LaplacianNoise, LaplacianNoiseEvaluateOperator, LeftShiftEvaluateOperator, LogEvaluateOperator, MagickEpsilon, MagickMin, MagickPI, MaxEvaluateOperator, MeanEvaluateOperator, MedianEvaluateOperator, MinEvaluateOperator, MultiplicativeGaussianNoise, MultiplicativeNoiseEvaluateOperator, MultiplyEvaluateOperator, OrEvaluateOperator, PoissonNoise, PoissonNoiseEvaluateOperator, PowEvaluateOperator, QuantumRange, QuantumScale, RightShiftEvaluateOperator, RootMeanSquareEvaluateOperator, SetEvaluateOperator, SineEvaluateOperator, SubtractEvaluateOperator, SumEvaluateOperator, ThresholdBlackEvaluateOperator, ThresholdEvaluateOperator, ThresholdWhiteEvaluateOperator, UndefinedEvaluateOperator, UniformNoise, UniformNoiseEvaluateOperator, and XorEvaluateOperator.
Referenced by EvaluateImage(), and EvaluateImages().
|
static |
Definition at line 919 of file statistic.c.
References ArcsinFunction, ArctanFunction, ClampToQuantum(), MagickPI, PolynomialFunction, QuantumRange, QuantumScale, SinusoidFunction, and UndefinedFunction.
Referenced by FunctionImage().
Definition at line 2452 of file statistic.c.
References _SkipList::nodes, RelinquishAlignedMemory(), RelinquishMagickMemory(), and _PixelList::skip_list.
Referenced by AcquirePixelList(), and DestroyPixelListThreadSet().
Definition at line 2463 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 GetMagickResourceLimit(), 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 780 of file statistic.c.
References AcquireAuthenticCacheView(), AcquireRandomInfoThreadSet(), ApplyEvaluateOperator(), _PixelChannels::channel, ClampToQuantum(), _Image::columns, CopyPixelTrait, _Image::debug, DestroyCacheView(), DestroyRandomInfoThreadSet(), DirectClass, EvaluateImageTag, _Image::filename, GetCacheViewAuthenticPixels(), GetMagickModule, GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelWriteMask(), GetRandomSecretKey(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MeanEvaluateOperator, _Image::progress_monitor, QuantumRange, 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 444 of file statistic.c.
References AcquireAuthenticCacheView(), AcquireImageCanvas(), AcquirePixelThreadSet(), 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(), GetPixelWriteMask(), GetRandomSecretKey(), IntensityCompare(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, MaxPixelChannels, MeanEvaluateOperator, MedianEvaluateOperator, MultiplyEvaluateOperator, _Image::progress_monitor, QuantumRange, QuantumScale, QueueCacheViewAuthenticPixels(), random_info, ResourceLimitError, RootMeanSquareEvaluateOperator, _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowMagickException(), TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
|
inlinestatic |
Definition at line 191 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 1017 of file statistic.c.
References AcquireAuthenticCacheView(), ApplyFunction(), _PixelChannels::channel, _Image::columns, _Image::debug, DestroyCacheView(), DirectClass, _Image::filename, FunctionImageTag, GetCacheViewAuthenticPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelWriteMask(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, _Image::progress_monitor, QuantumRange, _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, UndefinedPixelTrait, and UpdatePixelTrait.
Referenced by BrightnessContrastImage().
|
static |
Definition at line 1336 of file statistic.c.
References _PixelChannels::channel, 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 1140 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 1188 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 1238 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 1288 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 ChannelMoments* GetImageMoments | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1358 of file statistic.c.
References AcquireQuantumMemory(), AcquireVirtualCacheView(), _ChannelMoments::centroid, _PixelChannels::channel, _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(), GetPixelWriteMask(), _ChannelMoments::invariant, LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickEpsilon, MagickFalse, MagickPI, MaxPixelChannels, QuantumRange, 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 1697 of file statistic.c.
References AcquireQuantumMemory(), AcquireString(), BlurImage(), _PixelChannels::channel, _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 1805 of file statistic.c.
References AcquireVirtualCacheView(), _PixelChannels::channel, _Image::columns, _Image::debug, DestroyCacheView(), _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelWriteMask(), LogMagickEvent(), magick_restrict, MagickCoreSignature, MagickFalse, MagickTrue, QuantumRange, _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 1945 of file statistic.c.
References AcquireQuantumMemory(), _ChannelStatistics::area, _PixelChannels::channel, ClampToQuantum(), _Image::columns, CompositePixelChannel, _Image::debug, _ChannelStatistics::depth, _ChannelStatistics::entropy, _Image::filename, GetImageChannels(), GetMagickModule, GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelWriteMask(), GetQuantumRange(), GetVirtualPixels(), _ChannelStatistics::kurtosis, LogMagickEvent(), magick_restrict, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickFalse, MagickLog10(), MagickMaximumValue, MagickTrue, _ChannelStatistics::maxima, MaxMap, MaxPixelChannels, _ChannelStatistics::mean, _ChannelStatistics::minima, PerceptibleReciprocal(), QuantumRange, RelinquishMagickMemory(), _Image::rows, ScaleAnyToQuantum(), ScaleQuantumToAny(), _Image::signature, _ChannelStatistics::skewness, _ChannelStatistics::standard_deviation, _ChannelStatistics::sum, _ChannelStatistics::sum_cubed, _ChannelStatistics::sum_fourth_power, _ChannelStatistics::sum_squared, TraceEvent, UndefinedPixelTrait, UpdatePixelTrait, and _ChannelStatistics::variance.
Referenced by GetImageEntropy(), GetImageKurtosis(), GetImageMean(), GetNormalizedCrossCorrelationDistortion(), and IdentifyImage().
Definition at line 2582 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2611 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2642 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2667 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2696 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2730 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2765 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2797 of file statistic.c.
References _SkipNode::count, _PixelList::length, _SkipNode::next, _SkipList::nodes, and _PixelList::skip_list.
Referenced by StatisticImage().
Definition at line 2837 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 202 of file statistic.c.
References _PixelChannels::channel, and MaxPixelChannels.
Referenced by EvaluateImages().
|
inlinestatic |
Definition at line 1688 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 2199 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(), GetPixelWriteMask(), 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 2855 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 2877 of file statistic.c.
References AcquireAuthenticCacheView(), AcquirePixelListThreadSet(), AcquireVirtualCacheView(), _PixelChannels::channel, ClampToQuantum(), CloneImage(), _Image::columns, CopyPixelTrait, _Image::debug, DestroyCacheView(), DestroyImage(), DestroyPixelListThreadSet(), DirectClass, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, GetMaximumPixelList(), GetMeanPixelList(), GetMedianPixelList(), GetMinimumPixelList(), GetModePixelList(), GetNonpeakPixelList(), GetOpenMPThreadId(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), GetPixelWriteMask(), GetRootMeanSquarePixelList(), GetStandardDeviationPixelList(), 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().