|
MagickCore
6.7.5
|
#include "MagickCore/studio.h"#include "MagickCore/annotate.h"#include "MagickCore/artifact.h"#include "MagickCore/attribute.h"#include "MagickCore/cache.h"#include "MagickCore/cache-view.h"#include "MagickCore/color.h"#include "MagickCore/color-private.h"#include "MagickCore/composite.h"#include "MagickCore/decorate.h"#include "MagickCore/distort.h"#include "MagickCore/draw.h"#include "MagickCore/effect.h"#include "MagickCore/enhance.h"#include "MagickCore/exception.h"#include "MagickCore/exception-private.h"#include "MagickCore/fx.h"#include "MagickCore/fx-private.h"#include "MagickCore/gem.h"#include "MagickCore/gem-private.h"#include "MagickCore/geometry.h"#include "MagickCore/layer.h"#include "MagickCore/list.h"#include "MagickCore/log.h"#include "MagickCore/image.h"#include "MagickCore/image-private.h"#include "MagickCore/magick.h"#include "MagickCore/memory_.h"#include "MagickCore/monitor.h"#include "MagickCore/monitor-private.h"#include "MagickCore/option.h"#include "MagickCore/pixel.h"#include "MagickCore/pixel-accessor.h"#include "MagickCore/property.h"#include "MagickCore/quantum.h"#include "MagickCore/quantum-private.h"#include "MagickCore/random_.h"#include "MagickCore/random-private.h"#include "MagickCore/resample.h"#include "MagickCore/resample-private.h"#include "MagickCore/resize.h"#include "MagickCore/splay-tree.h"#include "MagickCore/statistic.h"#include "MagickCore/string_.h"#include "MagickCore/string-private.h"#include "MagickCore/thread-private.h"#include "MagickCore/transform.h"#include "MagickCore/utility.h"
Go to the source code of this file.
Data Structures | |
| struct | _FxInfo |
Defines | |
| #define | LeftShiftOperator 0xf5 |
| #define | RightShiftOperator 0xf6 |
| #define | LessThanEqualOperator 0xf7 |
| #define | GreaterThanEqualOperator 0xf8 |
| #define | EqualOperator 0xf9 |
| #define | NotEqualOperator 0xfa |
| #define | LogicalAndOperator 0xfb |
| #define | LogicalOrOperator 0xfc |
| #define | ExponentialNotation 0xfd |
| #define | AddNoiseImageTag "AddNoise/Image" |
| #define | BlueShiftImageTag "BlueShift/Image" |
| #define | ColorizeImageTag "Colorize/Image" |
| #define | ColorMatrixImageTag "ColorMatrix/Image" |
| #define | FxImageTag "Fx/Image" |
| #define | ImplodeImageTag "Implode/Image" |
| #define | MorphImageTag "Morph/Image" |
| #define | SepiaToneImageTag "SepiaTone/Image" |
| #define | ShadowImageTag "Shadow/Image" |
| #define | SolarizeImageTag "Solarize/Image" |
| #define | GetBit(alpha, i) ((((size_t) (alpha) >> (size_t) (i)) & 0x01) != 0) |
| #define | SetBit(alpha, i, set) |
| #define | SteganoImageTag "Stegano/Image" |
| #define | StereoImageTag "Stereo/Image" |
| #define | SwirlImageTag "Swirl/Image" |
| #define | TintImageTag "Tint/Image" |
| #define | WaveImageTag "Wave/Image" |
Functions | |
| MagickPrivate FxInfo * | AcquireFxInfo (const Image *image, const char *expression) |
| MagickExport Image * | AddNoiseImage (const Image *image, const NoiseType noise_type, const double attenuate, ExceptionInfo *exception) |
| MagickExport Image * | BlueShiftImage (const Image *image, const double factor, ExceptionInfo *exception) |
| MagickExport Image * | CharcoalImage (const Image *image, const double radius, const double sigma, const double bias, ExceptionInfo *exception) |
| MagickExport Image * | ColorizeImage (const Image *image, const char *blend, const PixelInfo *colorize, ExceptionInfo *exception) |
| MagickExport Image * | ColorMatrixImage (const Image *image, const KernelInfo *color_matrix, ExceptionInfo *exception) |
| MagickPrivate FxInfo * | DestroyFxInfo (FxInfo *fx_info) |
| static double | MagickMax (const double x, const double y) |
| static double | MagickMin (const double x, const double y) |
| static MagickRealType | FxChannelStatistics (FxInfo *fx_info, const Image *image, PixelChannel channel, const char *symbol, ExceptionInfo *exception) |
| static MagickRealType | FxEvaluateSubexpression (FxInfo *, const PixelChannel, const ssize_t, const ssize_t, const char *, MagickRealType *, ExceptionInfo *) |
| static MagickOffsetType | FxGCD (MagickOffsetType alpha, MagickOffsetType beta) |
| static const char * | FxSubexpression (const char *expression, ExceptionInfo *exception) |
| static MagickRealType | FxGetSymbol (FxInfo *fx_info, const PixelChannel channel, const ssize_t x, const ssize_t y, const char *expression, ExceptionInfo *exception) |
| static const char * | FxOperatorPrecedence (const char *expression, ExceptionInfo *exception) |
| MagickPrivate MagickBooleanType | FxEvaluateExpression (FxInfo *fx_info, MagickRealType *alpha, ExceptionInfo *exception) |
| MagickExport MagickBooleanType | FxPreprocessExpression (FxInfo *fx_info, MagickRealType *alpha, ExceptionInfo *exception) |
| MagickPrivate MagickBooleanType | FxEvaluateChannelExpression (FxInfo *fx_info, const PixelChannel channel, const ssize_t x, const ssize_t y, MagickRealType *alpha, ExceptionInfo *exception) |
| static FxInfo ** | DestroyFxThreadSet (FxInfo **fx_info) |
| static FxInfo ** | AcquireFxThreadSet (const Image *image, const char *expression, ExceptionInfo *exception) |
| MagickExport Image * | FxImage (const Image *image, const char *expression, ExceptionInfo *exception) |
| MagickExport Image * | ImplodeImage (const Image *image, const double amount, const PixelInterpolateMethod method, ExceptionInfo *exception) |
| MagickExport Image * | MorphImages (const Image *image, const size_t number_frames, ExceptionInfo *exception) |
| static Quantum | PlasmaPixel (RandomInfo *random_info, const MagickRealType pixel, const MagickRealType noise) |
| static MagickBooleanType | PlasmaImageProxy (Image *image, CacheView *image_view, CacheView *u_view, CacheView *v_view, RandomInfo *random_info, const SegmentInfo *segment, size_t attenuate, size_t depth, ExceptionInfo *exception) |
| MagickExport MagickBooleanType | PlasmaImage (Image *image, const SegmentInfo *segment, size_t attenuate, size_t depth, ExceptionInfo *exception) |
| MagickExport Image * | PolaroidImage (const Image *image, const DrawInfo *draw_info, const char *caption, const double angle, const PixelInterpolateMethod method, ExceptionInfo *exception) |
| MagickExport Image * | SepiaToneImage (const Image *image, const double threshold, ExceptionInfo *exception) |
| MagickExport Image * | ShadowImage (const Image *image, const double alpha, const double sigma, const double bias, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception) |
| MagickExport Image * | SketchImage (const Image *image, const double radius, const double sigma, const double angle, const double bias, ExceptionInfo *exception) |
| MagickExport MagickBooleanType | SolarizeImage (Image *image, const double threshold, ExceptionInfo *exception) |
| MagickExport Image * | SteganoImage (const Image *image, const Image *watermark, ExceptionInfo *exception) |
| MagickExport Image * | StereoImage (const Image *left_image, const Image *right_image, ExceptionInfo *exception) |
| MagickExport Image * | StereoAnaglyphImage (const Image *left_image, const Image *right_image, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception) |
| MagickExport Image * | SwirlImage (const Image *image, double degrees, const PixelInterpolateMethod method, ExceptionInfo *exception) |
| MagickExport Image * | TintImage (const Image *image, const char *blend, const PixelInfo *tint, ExceptionInfo *exception) |
| MagickExport Image * | VignetteImage (const Image *image, const double radius, const double sigma, const double bias, const ssize_t x, const ssize_t y, ExceptionInfo *exception) |
| MagickExport Image * | WaveImage (const Image *image, const double amplitude, const double wave_length, const PixelInterpolateMethod method, ExceptionInfo *exception) |
| #define AddNoiseImageTag "AddNoise/Image" |
Referenced by AddNoiseImage().
| #define BlueShiftImageTag "BlueShift/Image" |
Referenced by BlueShiftImage().
| #define ColorizeImageTag "Colorize/Image" |
Referenced by ColorizeImage().
| #define ColorMatrixImageTag "ColorMatrix/Image" |
Referenced by ColorMatrixImage().
| #define EqualOperator 0xf9 |
Definition at line 99 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define ExponentialNotation 0xfd |
Definition at line 103 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define GetBit | ( | alpha, | |
| i | |||
| ) | ((((size_t) (alpha) >> (size_t) (i)) & 0x01) != 0) |
Referenced by SteganoImage().
| #define GreaterThanEqualOperator 0xf8 |
Definition at line 98 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define ImplodeImageTag "Implode/Image" |
Referenced by ImplodeImage().
| #define LeftShiftOperator 0xf5 |
Definition at line 95 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define LessThanEqualOperator 0xf7 |
Definition at line 97 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define LogicalAndOperator 0xfb |
Definition at line 101 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define LogicalOrOperator 0xfc |
Definition at line 102 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define MorphImageTag "Morph/Image" |
Referenced by MorphImages().
| #define NotEqualOperator 0xfa |
Definition at line 100 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define RightShiftOperator 0xf6 |
Definition at line 96 of file fx.c.
Referenced by AcquireFxInfo(), FxOperatorPrecedence(), and FxEvaluateSubexpression().
| #define SepiaToneImageTag "SepiaTone/Image" |
Referenced by SepiaToneImage().
| #define SetBit | ( | alpha, | |
| i, | |||
| set | |||
| ) |
(Quantum) ((set) != 0 ? (size_t) (alpha) \ | (one << (size_t) (i)) : (size_t) (alpha) & ~(one << (size_t) (i)))
Referenced by SteganoImage().
| #define ShadowImageTag "Shadow/Image" |
| #define SolarizeImageTag "Solarize/Image" |
Referenced by SolarizeImage().
| #define SteganoImageTag "Stegano/Image" |
Referenced by SteganoImage().
| #define StereoImageTag "Stereo/Image" |
Referenced by StereoAnaglyphImage().
| #define SwirlImageTag "Swirl/Image" |
Referenced by SwirlImage().
| #define TintImageTag "Tint/Image" |
Referenced by TintImage().
| #define WaveImageTag "Wave/Image" |
Referenced by WaveImage().
Definition at line 154 of file fx.c.
References AcquireMagickMemory(), ThrowFatalException, ResourceLimitFatalError, ResetMagickMemory(), _FxInfo::exception, AcquireExceptionInfo(), _FxInfo::images, _FxInfo::colors, NewSplayTree(), CompareSplayTreeString(), RelinquishMagickMemory(), _FxInfo::symbols, _FxInfo::view, AcquireQuantumMemory(), GetImageListLength(), GetFirstImageInList(), _Image::next, AcquireCacheView(), _FxInfo::random_info, AcquireRandomInfo(), _FxInfo::expression, ConstantString(), _FxInfo::file, SubstituteString(), LeftShiftOperator, RightShiftOperator, LessThanEqualOperator, GreaterThanEqualOperator, EqualOperator, NotEqualOperator, LogicalAndOperator, LogicalOrOperator, and ExponentialNotation.
| static FxInfo** AcquireFxThreadSet | ( | const Image * | image, |
| const char * | expression, | ||
| ExceptionInfo * | exception | ||
| ) | [static] |
Definition at line 2975 of file fx.c.
References GetOpenMPMaximumThreads(), AcquireQuantumMemory(), ResetMagickMemory(), ConstantString(), FileToString(), AcquireFxInfo(), DestroyFxThreadSet(), FxPreprocessExpression(), and DestroyString().
Referenced by FxImage().
| MagickExport Image* AddNoiseImage | ( | const Image * | image, |
| const NoiseType | noise_type, | ||
| const double | attenuate, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 254 of file fx.c.
References random_info, _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), _Image::columns, _Image::rows, MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), AcquireRandomInfoThreadSet(), AcquireCacheView(), GetOpenMPThreadId(), GetCacheViewVirtualPixels(), QueueCacheViewAuthenticPixels(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, CopyPixelTrait, GetPixelMask(), SetPixelChannel(), ClampToQuantum(), GenerateDifferentialNoise(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), AddNoiseImageTag, DestroyCacheView(), and DestroyRandomInfoThreadSet().
| MagickExport Image* BlueShiftImage | ( | const Image * | image, |
| const double | factor, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 419 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), _Image::columns, _Image::rows, MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), AcquireCacheView(), GetCacheViewVirtualPixels(), QueueCacheViewAuthenticPixels(), GetPixelRed(), GetPixelGreen(), GetPixelBlue(), _PixelInfo::red, _PixelInfo::green, _PixelInfo::blue, SetPixelRed(), ClampToQuantum(), SetPixelGreen(), SetPixelBlue(), GetPixelChannels(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), BlueShiftImageTag, and DestroyCacheView().
| MagickExport Image* CharcoalImage | ( | const Image * | image, |
| const double | radius, | ||
| const double | sigma, | ||
| const double | bias, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 578 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), MagickTrue, SetImageType(), GrayscaleType, EdgeImage(), DestroyImage(), BlurImage(), NormalizeImage(), and NegateImage().
Referenced by PreviewImage().
| MagickExport Image* ColorizeImage | ( | const Image * | image, |
| const char * | blend, | ||
| const PixelInfo * | colorize, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 643 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), _Image::columns, _Image::rows, MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), GetPixelInfo(), ParseGeometry(), _PixelInfo::red, _GeometryInfo::rho, _PixelInfo::green, _PixelInfo::blue, _PixelInfo::alpha, SigmaValue, _GeometryInfo::sigma, XiValue, _GeometryInfo::xi, PsiValue, _GeometryInfo::psi, _PixelInfo::colorspace, CMYKColorspace, _PixelInfo::black, ChiValue, _GeometryInfo::chi, AcquireCacheView(), GetCacheViewVirtualPixels(), QueueCacheViewAuthenticPixels(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, CopyPixelTrait, GetPixelMask(), SetPixelChannel(), RedPixelChannel, ClampToQuantum(), GreenPixelChannel, BluePixelChannel, BlackPixelChannel, AlphaPixelChannel, SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), ColorizeImageTag, and DestroyCacheView().
| MagickExport Image* ColorMatrixImage | ( | const Image * | image, |
| const KernelInfo * | color_matrix, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 879 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, _KernelInfo::height, _KernelInfo::width, _KernelInfo::values, CloneImage(), MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), MaxTextExtent, TransformEvent, AcquireString(), FormatLocaleString(), ConcatenateString(), DestroyString(), AcquireCacheView(), _Image::rows, GetCacheViewVirtualPixels(), _Image::columns, GetCacheViewAuthenticPixels(), GetPixelRed(), GetPixelGreen(), GetPixelBlue(), _Image::colorspace, CMYKColorspace, GetPixelBlack(), _Image::matte, GetPixelAlpha(), QuantumRange, SetPixelRed(), ClampToQuantum(), SetPixelGreen(), SetPixelBlue(), SetPixelBlack(), SetPixelAlpha(), GetPixelChannels(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), ColorMatrixImageTag, and DestroyCacheView().
Definition at line 1087 of file fx.c.
References _FxInfo::exception, DestroyExceptionInfo(), _FxInfo::expression, DestroyString(), _FxInfo::symbols, DestroySplayTree(), _FxInfo::colors, GetImageListLength(), _FxInfo::images, _FxInfo::view, DestroyCacheView(), RelinquishMagickMemory(), _FxInfo::random_info, and DestroyRandomInfo().
Referenced by DestroyFxThreadSet(), and GetImageProperty().
Definition at line 2962 of file fx.c.
References GetOpenMPMaximumThreads(), DestroyFxInfo(), and RelinquishMagickMemory().
Referenced by AcquireFxThreadSet(), and FxImage().
| static MagickRealType FxChannelStatistics | ( | FxInfo * | fx_info, |
| const Image * | image, | ||
| PixelChannel | channel, | ||
| const char * | symbol, | ||
| ExceptionInfo * | exception | ||
| ) | [static] |
Definition at line 1154 of file fx.c.
References MaxTextExtent, RedPixelChannel, GreenPixelChannel, BluePixelChannel, CyanPixelChannel, MagentaPixelChannel, YellowPixelChannel, BlackPixelChannel, FormatLocaleString(), GetValueFromSplayTree(), _FxInfo::symbols, QuantumScale, StringToDouble(), DeleteNodeFromSplayTree(), LocaleNCompare(), GetImageDepth(), GetImageKurtosis(), GetImageRange(), GetImageMean(), AddValueToSplayTree(), and ConstantString().
Referenced by FxGetSymbol().
| MagickPrivate MagickBooleanType FxEvaluateChannelExpression | ( | FxInfo * | fx_info, |
| const PixelChannel | channel, | ||
| const ssize_t | x, | ||
| const ssize_t | y, | ||
| MagickRealType * | alpha, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 2921 of file fx.c.
References FxEvaluateSubexpression(), _FxInfo::expression, _ExceptionInfo::severity, OptionError, MagickFalse, and MagickTrue.
Referenced by FxEvaluateExpression(), FxPreprocessExpression(), FxImage(), and GetImageProperty().
| MagickPrivate MagickBooleanType FxEvaluateExpression | ( | FxInfo * | fx_info, |
| MagickRealType * | alpha, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 2893 of file fx.c.
References FxEvaluateChannelExpression(), and GrayPixelChannel.
| static MagickRealType FxEvaluateSubexpression | ( | FxInfo * | fx_info, |
| const PixelChannel | channel, | ||
| const ssize_t | x, | ||
| const ssize_t | y, | ||
| const char * | expression, | ||
| MagickRealType * | beta, | ||
| ExceptionInfo * | exception | ||
| ) | [static] |
Definition at line 2106 of file fx.c.
References MaxTextExtent, _ExceptionInfo::severity, UndefinedException, ThrowMagickException(), GetMagickModule, OptionError, FxOperatorPrecedence(), CopyMagickString(), ExponentialNotation, LeftShiftOperator, RightShiftOperator, LessThanEqualOperator, GreaterThanEqualOperator, EqualOperator, MagickEpsilon, NotEqualOperator, LogicalAndOperator, LogicalOrOperator, StringToken(), ClearMagickException(), FormatLocaleString(), DeleteNodeFromSplayTree(), _FxInfo::symbols, AddValueToSplayTree(), ConstantString(), LocaleNCompare(), MagickPI, LocaleCompare(), FxGetSymbol(), _FxInfo::images, _Image::colorspace, CMYKColorspace, CyanPixelChannel, MagentaPixelChannel, YellowPixelChannel, AlphaPixelChannel, BlackPixelChannel, RedPixelChannel, GreenPixelChannel, BluePixelChannel, _FxInfo::file, FormatLocaleFile(), _Image::filename, GetMagickPrecision(), FxGCD(), QuantumRange, MagickPHI, QuantumScale, GetPseudoRandomValue(), _FxInfo::random_info, and InterpretSiPrefixValue().
Referenced by FxGetSymbol(), and FxEvaluateChannelExpression().
| static MagickOffsetType FxGCD | ( | MagickOffsetType | alpha, |
| MagickOffsetType | beta | ||
| ) | [static] |
Definition at line 1258 of file fx.c.
Referenced by FxEvaluateSubexpression().
| static MagickRealType FxGetSymbol | ( | FxInfo * | fx_info, |
| const PixelChannel | channel, | ||
| const ssize_t | x, | ||
| const ssize_t | y, | ||
| const char * | expression, | ||
| ExceptionInfo * | exception | ||
| ) | [static] |
Definition at line 1292 of file fx.c.
References MaxTextExtent, GetImageIndexInList(), _FxInfo::images, _PointInfo::x, _PointInfo::y, FxEvaluateSubexpression(), GetImageListLength(), GetImageFromList(), ThrowMagickException(), GetMagickModule, OptionError, GetPixelInfo(), InterpolatePixelInfo(), _FxInfo::view, _Image::interpolate, LocaleCompare(), CopyMagickString(), GetValueFromSplayTree(), _FxInfo::symbols, _FxInfo::colors, QueryColorCompliance(), AllCompliance, _FxInfo::exception, MagickFalse, AddValueToSplayTree(), ConstantString(), ClonePixelInfo(), StripString(), RedPixelChannel, QuantumScale, _PixelInfo::red, GreenPixelChannel, _PixelInfo::green, BluePixelChannel, _PixelInfo::blue, BlackPixelChannel, _Image::colorspace, CMYKColorspace, ImageError, _Image::filename, _PixelInfo::black, AlphaPixelChannel, _PixelInfo::matte, _PixelInfo::alpha, IndexPixelChannel, IntensityPixelChannel, GetPixelInfoIntensity(), LocaleNCompare(), ParseGeometry(), CyanPixelChannel, RhoValue, _GeometryInfo::rho, MagentaPixelChannel, SigmaValue, _GeometryInfo::sigma, YellowPixelChannel, XiValue, _GeometryInfo::xi, PsiValue, _GeometryInfo::psi, ChiValue, _GeometryInfo::chi, FxChannelStatistics(), _Image::rows, ConvertRGBToHSL(), _Image::resolution, _Image::page, _RectangleInfo::height, _RectangleInfo::width, _RectangleInfo::x, _RectangleInfo::y, _Image::columns, GetImageDepth(), and StringToDouble().
Referenced by FxEvaluateSubexpression().
| MagickExport Image* FxImage | ( | const Image * | image, |
| const char * | expression, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 3013 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, CloneImage(), _Image::columns, _Image::rows, MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), AcquireFxThreadSet(), ThrowImageException, ResourceLimitError, FxPreprocessExpression(), DestroyFxThreadSet(), AcquireCacheView(), GetOpenMPThreadId(), GetCacheViewVirtualPixels(), QueueCacheViewAuthenticPixels(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, CopyPixelTrait, GetPixelMask(), SetPixelChannel(), FxEvaluateChannelExpression(), ClampToQuantum(), QuantumRange, SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), FxImageTag, and DestroyCacheView().
| static const char* FxOperatorPrecedence | ( | const char * | expression, |
| ExceptionInfo * | exception | ||
| ) | [static] |
Definition at line 1855 of file fx.c.
References LocaleNCompare(), LeftShiftOperator, RightShiftOperator, LessThanEqualOperator, GreaterThanEqualOperator, EqualOperator, NotEqualOperator, LogicalAndOperator, LogicalOrOperator, ExponentialNotation, and FxSubexpression().
Referenced by FxEvaluateSubexpression().
| MagickExport MagickBooleanType FxPreprocessExpression | ( | FxInfo * | fx_info, |
| MagickRealType * | alpha, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 2904 of file fx.c.
References _FxInfo::file, FxEvaluateChannelExpression(), and GrayPixelChannel.
Referenced by AcquireFxThreadSet(), and FxImage().
| static const char* FxSubexpression | ( | const char * | expression, |
| ExceptionInfo * | exception | ||
| ) | [inline, static] |
Definition at line 1265 of file fx.c.
References ThrowMagickException(), GetMagickModule, and OptionError.
Referenced by FxOperatorPrecedence().
| MagickExport Image* ImplodeImage | ( | const Image * | image, |
| const double | amount, | ||
| const PixelInterpolateMethod | method, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 3194 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), _Image::columns, _Image::rows, MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), _Image::background_color, _PixelInfo::alpha, OpaqueAlpha, _Image::matte, _PointInfo::x, _PointInfo::y, AcquireCacheView(), GetCacheViewAuthenticPixels(), QueueCacheViewAuthenticPixels(), GetPixelMask(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, SetPixelChannel(), MagickPI, InterpolatePixelChannels(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), ImplodeImageTag, and DestroyCacheView().
Referenced by PreviewImage().
| static double MagickMax | ( | const double | x, |
| const double | y | ||
| ) | [inline, static] |
Definition at line 1140 of file fx.c.
Referenced by PolaroidImage(), and SwirlImage().
| static double MagickMin | ( | const double | x, |
| const double | y | ||
| ) | [inline, static] |
| MagickExport Image* MorphImages | ( | const Image * | image, |
| const size_t | number_frames, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 3401 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), MagickTrue, GetNextImageInList(), DestroyImageList(), AppendImageToList(), _Image::progress_monitor, SetImageProgress(), MorphImageTag, GetFirstImageInList(), ResizeImage(), _Image::columns, _Image::rows, _Image::filter, _Image::blur, SetImageStorageClass(), DirectClass, DestroyImage(), GetLastImageInList(), AcquireCacheView(), GetCacheViewVirtualPixels(), GetCacheViewAuthenticPixels(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, CopyPixelTrait, GetPixelMask(), SetPixelChannel(), ClampToQuantum(), GetPixelChannel(), SyncCacheViewAuthenticPixels(), DestroyCacheView(), and GetImageListLength().
| MagickExport MagickBooleanType PlasmaImage | ( | Image * | image, |
| const SegmentInfo * | segment, | ||
| size_t | attenuate, | ||
| size_t | depth, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 3863 of file fx.c.
References random_info, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::signature, MagickSignature, SetImageStorageClass(), DirectClass, AcquireCacheView(), AcquireRandomInfo(), PlasmaImageProxy(), DestroyRandomInfo(), and DestroyCacheView().
| static MagickBooleanType PlasmaImageProxy | ( | Image * | image, |
| CacheView * | image_view, | ||
| CacheView * | u_view, | ||
| CacheView * | v_view, | ||
| RandomInfo * | random_info, | ||
| const SegmentInfo * | segment, | ||
| size_t | attenuate, | ||
| size_t | depth, | ||
| ExceptionInfo * | exception | ||
| ) | [static] |
Definition at line 3660 of file fx.c.
References _SegmentInfo::x2, _SegmentInfo::x1, _SegmentInfo::y2, _SegmentInfo::y1, MagickTrue, MagickFalse, QuantumRange, GetCacheViewVirtualPixels(), QueueCacheViewAuthenticPixels(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, PlasmaPixel(), and SyncCacheViewAuthenticPixels().
Referenced by PlasmaImage().
| static Quantum PlasmaPixel | ( | RandomInfo * | random_info, |
| const MagickRealType | pixel, | ||
| const MagickRealType | noise | ||
| ) | [inline, static] |
Definition at line 3649 of file fx.c.
References ClampToQuantum(), and GetPseudoRandomValue().
Referenced by PlasmaImageProxy().
| MagickExport Image* PolaroidImage | ( | const Image * | image, |
| const DrawInfo * | draw_info, | ||
| const char * | caption, | ||
| const double | angle, | ||
| const PixelInterpolateMethod | method, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 3933 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, MagickMax(), _Image::columns, _Image::rows, MaxTextExtent, CloneImage(), MagickTrue, CloneDrawInfo(), InterpretImageProperties(), CloneString(), _DrawInfo::text, FormatMagickCaption(), SetImageExtent(), _TypeMetric::ascent, _TypeMetric::descent, DestroyImage(), _Image::background_color, _Image::border_color, SetImageBackgroundColor(), FormatLocaleString(), _DrawInfo::gravity, UndefinedGravity, _DrawInfo::geometry, AcquireString(), AnnotateImage(), DestroyDrawInfo(), DestroyString(), CompositeImage(), OverCompositeOp, QueryColorCompliance(), AllCompliance, SetImageAlphaChannel(), OpaqueAlphaChannel, RotateImage(), WaveImage(), ShadowImage(), FlopImage(), and TrimImage().
| MagickExport Image* SepiaToneImage | ( | const Image * | image, |
| const double | threshold, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 4116 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), AcquireCacheView(), _Image::rows, GetCacheViewVirtualPixels(), _Image::columns, GetCacheViewAuthenticPixels(), GetPixelIntensity(), QuantumRange, SetPixelRed(), ClampToQuantum(), SetPixelGreen(), SetPixelBlue(), GetPixelGreen(), GetPixelBlue(), GetPixelChannels(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), SepiaToneImageTag, DestroyCacheView(), NormalizeImage(), and ContrastImage().
| MagickExport Image* ShadowImage | ( | const Image * | image, |
| const double | alpha, | ||
| const double | sigma, | ||
| const double | bias, | ||
| const ssize_t | x_offset, | ||
| const ssize_t | y_offset, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 4269 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), MagickTrue, SetImageVirtualPixelMethod(), EdgeVirtualPixelMethod, _RectangleInfo::width, _RectangleInfo::height, _RectangleInfo::x, _RectangleInfo::y, QueryColorCompliance(), AllCompliance, _Image::border_color, _Image::matte, BorderImage(), OverCompositeOp, DestroyImage(), SetImageAlphaChannel(), OpaqueAlphaChannel, AcquireCacheView(), _Image::rows, QueueCacheViewAuthenticPixels(), _Image::columns, _Image::background_color, _PixelInfo::matte, _PixelInfo::alpha, GetPixelAlpha(), SetPixelInfoPixel(), GetPixelChannels(), SyncCacheViewAuthenticPixels(), DestroyCacheView(), SetPixelChannelMask(), AlphaChannel, BlurImage(), SetPixelChannelMapMask(), and _Image::page.
Referenced by PolaroidImage(), and MontageImageList().
| MagickExport Image* SketchImage | ( | const Image * | image, |
| const double | radius, | ||
| const double | sigma, | ||
| const double | angle, | ||
| const double | bias, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 4417 of file fx.c.
References random_info, CloneImage(), _Image::columns, _Image::rows, MagickTrue, AcquireRandomInfoThreadSet(), AcquireCacheView(), GetOpenMPThreadId(), MagickFalse, QueueCacheViewAuthenticPixels(), GetPixelMask(), GetPixelChannels(), GetPseudoRandomValue(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, ClampToQuantum(), QuantumRange, SyncCacheViewAuthenticPixels(), DestroyCacheView(), DestroyRandomInfoThreadSet(), DestroyImage(), MotionBlurImage(), EdgeImage(), NormalizeImage(), NegateImage(), TransformImage(), CompositeImage(), ColorDodgeCompositeOp, SetImageArtifact(), and BlendCompositeOp.
| MagickExport MagickBooleanType SolarizeImage | ( | Image * | image, |
| const double | threshold, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 4576 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _Image::storage_class, PseudoClass, _Image::colors, _Image::colormap, _PixelInfo::red, QuantumRange, _PixelInfo::green, _PixelInfo::blue, MagickTrue, AcquireCacheView(), _Image::rows, GetCacheViewAuthenticPixels(), _Image::columns, GetPixelMask(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, CopyPixelTrait, SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), SolarizeImageTag, and DestroyCacheView().
Referenced by PreviewImage().
| MagickExport Image* SteganoImage | ( | const Image * | image, |
| const Image * | watermark, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 4718 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), _Image::depth, MAGICKCORE_QUANTUM_DEPTH, _Image::offset, AcquireCacheView(), _Image::rows, _Image::columns, CompositePixelChannel, GetOneCacheViewVirtualPixel(), _PixelInfo::red, RedPixelChannel, _PixelInfo::green, GreenPixelChannel, _PixelInfo::blue, BluePixelChannel, _PixelInfo::alpha, AlphaPixelChannel, GetCacheViewAuthenticPixels(), SetPixelRed(), SetBit, GetPixelRed(), GetBit, GetPixelInfoIntensity(), SetPixelGreen(), GetPixelGreen(), SetPixelBlue(), GetPixelBlue(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), SteganoImageTag, DestroyCacheView(), _Image::storage_class, PseudoClass, and SyncImage().
| MagickExport Image* StereoAnaglyphImage | ( | const Image * | left_image, |
| const Image * | right_image, | ||
| const ssize_t | x_offset, | ||
| const ssize_t | y_offset, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 4917 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, _Image::columns, _Image::rows, ThrowImageException, ImageError, CloneImage(), MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), GetVirtualPixels(), QueueAuthenticPixels(), SetPixelRed(), GetPixelRed(), SetPixelGreen(), GetPixelGreen(), SetPixelBlue(), GetPixelBlue(), GetPixelAlphaTraits(), CopyPixelTrait, SetPixelAlpha(), GetPixelAlpha(), GetPixelChannels(), SyncAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), and StereoImageTag.
Referenced by StereoImage().
| MagickExport Image* StereoImage | ( | const Image * | left_image, |
| const Image * | right_image, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 4911 of file fx.c.
References StereoAnaglyphImage().
| MagickExport Image* SwirlImage | ( | const Image * | image, |
| double | degrees, | ||
| const PixelInterpolateMethod | method, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 5048 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), _Image::columns, _Image::rows, MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), _Image::background_color, _PixelInfo::alpha, OpaqueAlpha, _Image::matte, _PointInfo::x, _PointInfo::y, MagickMax(), DegreesToRadians(), AcquireCacheView(), GetCacheViewAuthenticPixels(), QueueCacheViewAuthenticPixels(), GetPixelMask(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, SetPixelChannel(), InterpolatePixelChannels(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), SwirlImageTag, and DestroyCacheView().
Referenced by PreviewImage().
| MagickExport Image* TintImage | ( | const Image * | image, |
| const char * | blend, | ||
| const PixelInfo * | tint, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 5256 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), _Image::columns, _Image::rows, MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), GetPixelInfo(), ParseGeometry(), _PixelInfo::red, _GeometryInfo::rho, _PixelInfo::green, _PixelInfo::blue, _PixelInfo::alpha, OpaqueAlpha, SigmaValue, _GeometryInfo::sigma, XiValue, _GeometryInfo::xi, PsiValue, _GeometryInfo::psi, _Image::colorspace, CMYKColorspace, _PixelInfo::black, ChiValue, _GeometryInfo::chi, GetPixelInfoIntensity(), AcquireCacheView(), GetCacheViewVirtualPixels(), QueueCacheViewAuthenticPixels(), GetPixelMask(), GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UndefinedPixelTrait, CopyPixelTrait, SetPixelChannel(), QuantumScale, GetPixelRed(), GetPixelGreen(), GetPixelBlue(), GetPixelBlack(), SetPixelInfoPixel(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), TintImageTag, and DestroyCacheView().
| MagickExport Image* VignetteImage | ( | const Image * | image, |
| const double | radius, | ||
| const double | sigma, | ||
| const double | bias, | ||
| const ssize_t | x, | ||
| const ssize_t | y, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 5484 of file fx.c.
References MaxTextExtent, _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), _Image::matte, _Image::columns, _Image::rows, QueryColorCompliance(), AllCompliance, _Image::background_color, SetImageBackgroundColor(), CloneDrawInfo(), _DrawInfo::fill, _DrawInfo::stroke, FormatLocaleString(), _DrawInfo::primitive, AcquireString(), DrawImage(), DestroyDrawInfo(), BlurImage(), CompositeImage(), IntensityCompositeOp, MergeImageLayers(), and FlattenLayer.
| MagickExport Image* WaveImage | ( | const Image * | image, |
| const double | amplitude, | ||
| const double | wave_length, | ||
| const PixelInterpolateMethod | method, | ||
| ExceptionInfo * | exception | ||
| ) |
Definition at line 5585 of file fx.c.
References _Image::signature, MagickSignature, _Image::debug, MagickFalse, LogMagickEvent(), TraceEvent, GetMagickModule, _Image::filename, _ExceptionInfo::signature, CloneImage(), _Image::columns, _Image::rows, MagickTrue, SetImageStorageClass(), DirectClass, DestroyImage(), _Image::background_color, _PixelInfo::alpha, OpaqueAlpha, _Image::matte, AcquireQuantumMemory(), ThrowImageException, ResourceLimitError, MagickPI, AcquireCacheView(), SetCacheViewVirtualPixelMethod(), BackgroundVirtualPixelMethod, QueueCacheViewAuthenticPixels(), InterpolatePixelChannels(), GetPixelChannels(), SyncCacheViewAuthenticPixels(), _Image::progress_monitor, SetImageProgress(), WaveImageTag, DestroyCacheView(), and RelinquishMagickMemory().
Referenced by PreviewImage(), and PolaroidImage().