#include "magick/studio.h"#include "magick/property.h"#include "magick/blob.h"#include "magick/cache-view.h"#include "magick/color.h"#include "magick/color-private.h"#include "magick/colorspace.h"#include "magick/constitute.h"#include "magick/decorate.h"#include "magick/draw.h"#include "magick/enhance.h"#include "magick/exception.h"#include "magick/exception-private.h"#include "magick/effect.h"#include "magick/fx.h"#include "magick/gem.h"#include "magick/geometry.h"#include "magick/image-private.h"#include "magick/list.h"#include "magick/log.h"#include "magick/memory_.h"#include "magick/monitor.h"#include "magick/monitor-private.h"#include "magick/montage.h"#include "magick/paint.h"#include "magick/pixel-private.h"#include "magick/quantize.h"#include "magick/quantum.h"#include "magick/random_.h"#include "magick/random-private.h"#include "magick/resample.h"#include "magick/resample-private.h"#include "magick/resize.h"#include "magick/resource_.h"#include "magick/segment.h"#include "magick/shear.h"#include "magick/signature-private.h"#include "magick/string_.h"#include "magick/thread-private.h"#include "magick/transform.h"#include "magick/threshold.h"
Go to the source code of this file.
Data Structures | |
| struct | _MedianListNode |
| struct | _MedianSkipList |
| struct | _MedianPixelList |
Defines | |
| #define | AdaptiveBlurImageTag "Convolve/Image" |
| #define | MagickSigma (fabs(sigma) <= MagickEpsilon ? 1.0 : sigma) |
| #define | AdaptiveSharpenImageTag "Convolve/Image" |
| #define | MagickSigma (fabs(sigma) <= MagickEpsilon ? 1.0 : sigma) |
| #define | KernelRank 3 |
| #define | BlurImageTag "Blur/Image" |
| #define | DespeckleImageTag "Despeckle/Image" |
| #define | MedianListChannels 5 |
| #define | MedianFilterImageTag "MedianFilter/Image" |
| #define | KernelRank 3 |
| #define | NumberTiles 9 |
| #define | PreviewImageTag "Preview/Image" |
| #define | DefaultPreviewGeometry "204x204+10+10" |
| #define | ReduceNoiseImageTag "ReduceNoise/Image" |
| #define | SelectiveBlurImageTag "SelectiveBlur/Image" |
| #define | ShadeImageTag "Shade/Image" |
| #define | SpreadImageTag "Spread/Image" |
| #define | SharpenImageTag "Sharpen/Image" |
Typedefs | |
| typedef struct _MedianListNode | MedianListNode |
| typedef struct _MedianSkipList | MedianSkipList |
| typedef struct _MedianPixelList | MedianPixelList |
Functions | |
| MagickExport Image * | AdaptiveBlurImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception) |
| MagickExport Image * | AdaptiveBlurImageChannel (const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception) |
| MagickExport Image * | AdaptiveSharpenImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception) |
| MagickExport Image * | AdaptiveSharpenImageChannel (const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception) |
| MagickExport Image * | BlurImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception) |
| static double * | GetBlurKernel (unsigned long width, const MagickRealType sigma) |
| MagickExport Image * | BlurImageChannel (const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception) |
| static Quantum ** | DestroyPixelThreadSet (Quantum **pixels) |
| static Quantum ** | AcquirePixelThreadSet (const size_t count) |
| static void | Hull (const long x_offset, const long y_offset, const unsigned long columns, const unsigned long rows, Quantum *f, Quantum *g, const int polarity) |
| MagickExport Image * | DespeckleImage (const Image *image, ExceptionInfo *exception) |
| MagickExport Image * | EdgeImage (const Image *image, const double radius, ExceptionInfo *exception) |
| MagickExport Image * | EmbossImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception) |
| MagickExport Image * | GaussianBlurImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception) |
| MagickExport Image * | GaussianBlurImageChannel (const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception) |
| static MedianPixelList * | DestroyMedianPixelList (MedianPixelList *pixel_list) |
| static MedianPixelList ** | DestroyMedianPixelListThreadSet (MedianPixelList **pixel_list) |
| static MedianPixelList * | AcquireMedianPixelList (const unsigned long width) |
| static MedianPixelList ** | AcquireMedianPixelListThreadSet (const unsigned long width) |
| static void | AddNodeMedianPixelList (MedianPixelList *pixel_list, const long channel, const unsigned long color) |
| static MagickPixelPacket | GetMedianPixelList (MedianPixelList *pixel_list) |
| static void | InsertMedianPixelList (const Image *image, const PixelPacket *pixel, const IndexPacket *indexes, MedianPixelList *pixel_list) |
| static void | ResetMedianPixelList (MedianPixelList *pixel_list) |
| MagickExport Image * | MedianFilterImage (const Image *image, const double radius, ExceptionInfo *exception) |
| static double * | GetMotionBlurKernel (unsigned long width, const MagickRealType sigma) |
| MagickExport Image * | MotionBlurImage (const Image *image, const double radius, const double sigma, const double angle, ExceptionInfo *exception) |
| MagickExport Image * | MotionBlurImageChannel (const Image *image, const ChannelType channel, const double radius, const double sigma, const double angle, ExceptionInfo *exception) |
| MagickExport Image * | PreviewImage (const Image *image, const PreviewType preview, ExceptionInfo *exception) |
| MagickExport Image * | RadialBlurImage (const Image *image, const double angle, ExceptionInfo *exception) |
| MagickExport Image * | RadialBlurImageChannel (const Image *image, const ChannelType channel, const double angle, ExceptionInfo *exception) |
| static MagickPixelPacket | GetNonpeakMedianPixelList (MedianPixelList *pixel_list) |
| MagickExport Image * | ReduceNoiseImage (const Image *image, const double radius, ExceptionInfo *exception) |
| static MagickBooleanType | SelectiveContrast (const PixelPacket *p, const PixelPacket *q, const double threshold) |
| MagickExport Image * | SelectiveBlurImage (const Image *image, const double radius, const double sigma, const double threshold, ExceptionInfo *exception) |
| MagickExport Image * | SelectiveBlurImageChannel (const Image *image, const ChannelType channel, const double radius, const double sigma, const double threshold, ExceptionInfo *exception) |
| MagickExport Image * | ShadeImage (const Image *image, const MagickBooleanType gray, const double azimuth, const double elevation, ExceptionInfo *exception) |
| MagickExport Image * | SharpenImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception) |
| MagickExport Image * | SharpenImageChannel (const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception) |
| MagickExport Image * | SpreadImage (const Image *image, const double radius, ExceptionInfo *exception) |
| MagickExport Image * | UnsharpMaskImage (const Image *image, const double radius, const double sigma, const double amount, const double threshold, ExceptionInfo *exception) |
| MagickExport Image * | UnsharpMaskImageChannel (const Image *image, const ChannelType channel, const double radius, const double sigma, const double amount, const double threshold, ExceptionInfo *exception) |
| #define AdaptiveBlurImageTag "Convolve/Image" |
Referenced by AdaptiveBlurImageChannel().
| #define AdaptiveSharpenImageTag "Convolve/Image" |
Referenced by AdaptiveSharpenImageChannel().
| #define BlurImageTag "Blur/Image" |
Referenced by BlurImageChannel(), MotionBlurImageChannel(), and RadialBlurImageChannel().
| #define DefaultPreviewGeometry "204x204+10+10" |
Referenced by PreviewImage().
| #define DespeckleImageTag "Despeckle/Image" |
Referenced by DespeckleImage().
| #define KernelRank 3 |
| #define KernelRank 3 |
Referenced by GetBlurKernel(), and GetMotionBlurKernel().
| #define MagickSigma (fabs(sigma) <= MagickEpsilon ? 1.0 : sigma) |
| #define MagickSigma (fabs(sigma) <= MagickEpsilon ? 1.0 : sigma) |
| #define MedianFilterImageTag "MedianFilter/Image" |
Referenced by MedianFilterImage().
| #define MedianListChannels 5 |
Definition at line 1892 of file effect.c.
Referenced by AcquireMedianPixelList(), DestroyMedianPixelList(), and GetMedianPixelList().
| #define NumberTiles 9 |
Referenced by PreviewImage().
| #define PreviewImageTag "Preview/Image" |
Referenced by PreviewImage().
| #define ReduceNoiseImageTag "ReduceNoise/Image" |
Referenced by ReduceNoiseImage().
| #define SelectiveBlurImageTag "SelectiveBlur/Image" |
Referenced by SelectiveBlurImageChannel().
| #define ShadeImageTag "Shade/Image" |
Referenced by ShadeImage().
| #define SharpenImageTag "Sharpen/Image" |
Referenced by UnsharpMaskImageChannel().
| #define SpreadImageTag "Spread/Image" |
Referenced by SpreadImage().
| typedef struct _MedianListNode MedianListNode |
| typedef struct _MedianPixelList MedianPixelList |
| typedef struct _MedianSkipList MedianSkipList |
| static MedianPixelList* AcquireMedianPixelList | ( | const unsigned long | width | ) | [static] |
Definition at line 1951 of file effect.c.
References AcquireAlignedMemory(), AcquireQuantumMemory(), _MedianPixelList::center, DestroyMedianPixelList(), _MedianPixelList::lists, MagickSignature, MedianListChannels, _MedianSkipList::nodes, ResetMagickMemory(), and _MedianPixelList::signature.
Referenced by AcquireMedianPixelListThreadSet().
| static MedianPixelList** AcquireMedianPixelListThreadSet | ( | const unsigned long | width | ) | [static] |
Definition at line 1977 of file effect.c.
References AcquireAlignedMemory(), AcquireMedianPixelList(), DestroyMedianPixelListThreadSet(), GetOpenMPMaximumThreads(), and ResetMagickMemory().
Referenced by MedianFilterImage(), and ReduceNoiseImage().
| static Quantum** AcquirePixelThreadSet | ( | const size_t | count | ) | [static] |
Definition at line 1303 of file effect.c.
References AcquireAlignedMemory(), AcquireQuantumMemory(), DestroyPixelThreadSet(), GetOpenMPMaximumThreads(), and ResetMagickMemory().
Referenced by DespeckleImage().
| MagickExport Image* AdaptiveBlurImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 126 of file effect.c.
References AdaptiveBlurImageChannel(), and DefaultChannels.
| MagickExport Image* AdaptiveBlurImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 137 of file effect.c.
References AcquireCacheView(), AcquireQuantumMemory(), AdaptiveBlurImageTag, _MagickPixelPacket::blue, BlueChannel, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DirectClass, EdgeImage(), _Image::exception, _Image::filename, GaussianBlurImage(), GetCacheViewAuthenticIndexQueue(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetMagickPixelPacket(), GetOptimalKernelWidth2D(), _MagickPixelPacket::green, GreenChannel, _MagickPixelPacket::index, IndexChannel, InheritException(), LevelImage(), LogMagickEvent(), MagickEpsilon, MagickFalse, MagickPI, MagickSigma, MagickSignature, MagickTrue, _Image::matte, _MagickPixelPacket::opacity, OpacityChannel, PixelIntensity(), _Image::progress_monitor, QuantumRange, QuantumScale, QueueCacheViewAuthenticPixels(), _MagickPixelPacket::red, RedChannel, RelinquishMagickMemory(), ResetMagickMemory(), ResourceLimitError, RoundToQuantum(), _Image::rows, SetImageProgress(), SetImageStorageClass(), SetMagickPixelPacketBias(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, and _Image::type.
Referenced by AdaptiveBlurImage().
| MagickExport Image* AdaptiveSharpenImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 443 of file effect.c.
References AdaptiveSharpenImageChannel(), and DefaultChannels.
| MagickExport Image* AdaptiveSharpenImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 454 of file effect.c.
References AcquireCacheView(), AcquireQuantumMemory(), AdaptiveSharpenImageTag, _MagickPixelPacket::blue, BlueChannel, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DirectClass, EdgeImage(), _Image::exception, _Image::filename, GaussianBlurImage(), GetCacheViewAuthenticIndexQueue(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetMagickPixelPacket(), GetOptimalKernelWidth2D(), _MagickPixelPacket::green, GreenChannel, _MagickPixelPacket::index, IndexChannel, InheritException(), LevelImage(), LogMagickEvent(), MagickEpsilon, MagickFalse, MagickPI, MagickSigma, MagickSignature, MagickTrue, _Image::matte, _MagickPixelPacket::opacity, OpacityChannel, PixelIntensity(), _Image::progress_monitor, QuantumRange, QuantumScale, QueueCacheViewAuthenticPixels(), _MagickPixelPacket::red, RedChannel, RelinquishMagickMemory(), ResetMagickMemory(), ResourceLimitError, RoundToQuantum(), _Image::rows, SetImageProgress(), SetImageStorageClass(), SetMagickPixelPacketBias(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, and _Image::type.
Referenced by AdaptiveSharpenImage().
| static void AddNodeMedianPixelList | ( | MedianPixelList * | pixel_list, | |
| const long | channel, | |||
| const unsigned long | color | |||
| ) | [static] |
Definition at line 2004 of file effect.c.
References _MedianListNode::count, _MedianSkipList::level, _MedianPixelList::lists, _MedianListNode::next, _MedianSkipList::nodes, _MedianPixelList::seed, _MedianPixelList::signature, and _MedianListNode::signature.
Referenced by InsertMedianPixelList().
| MagickExport Image* BlurImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 762 of file effect.c.
References BlurImageChannel(), and DefaultChannels.
Referenced by CharcoalImage(), PreviewImage(), and VignetteImage().
| MagickExport Image* BlurImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 812 of file effect.c.
References AcquireCacheView(), AcquireString(), _MagickPixelPacket::blue, BlueChannel, BlurImageTag, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, ConcatenateString(), _Image::debug, DestroyCacheView(), DestroyImage(), DestroyString(), DirectClass, _Image::exception, _Image::filename, FormatMagickString(), GetBlurKernel(), GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetMagickPixelPacket(), GetOptimalKernelWidth1D(), _MagickPixelPacket::green, GreenChannel, _MagickPixelPacket::index, IndexChannel, InheritException(), LogMagickEvent(), MagickEpsilon, MagickFalse, MagickSignature, MagickTrue, _Image::matte, MaxTextExtent, _MagickPixelPacket::opacity, OpacityChannel, _Image::progress_monitor, QuantumRange, QuantumScale, _MagickPixelPacket::red, RedChannel, RelinquishMagickMemory(), ResourceLimitError, RoundToQuantum(), _Image::rows, SetImageProgress(), SetImageStorageClass(), SetMagickPixelPacketBias(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, TransformEvent, and _Image::type.
Referenced by BlurImage(), ShadowImage(), and UnsharpMaskImageChannel().
| MagickExport Image* DespeckleImage | ( | const Image * | image, | |
| ExceptionInfo * | exception | |||
| ) |
Definition at line 1428 of file effect.c.
References AcquireCacheView(), AcquirePixelThreadSet(), CloneImage(), _Image::columns, _Image::debug, DespeckleImageTag, DestroyCacheView(), DestroyImage(), DestroyPixelThreadSet(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticPixels(), GetCacheViewVirtualPixels(), GetMagickModule, GetOpenMPThreadId(), Hull(), InheritException(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, _Image::progress_monitor, ResetMagickMemory(), ResourceLimitError, _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, and _Image::type.
Referenced by PreviewImage().
| static MedianPixelList* DestroyMedianPixelList | ( | MedianPixelList * | pixel_list | ) | [static] |
Definition at line 1922 of file effect.c.
References _MedianPixelList::lists, MedianListChannels, _MedianSkipList::nodes, RelinquishAlignedMemory(), and RelinquishMagickMemory().
Referenced by AcquireMedianPixelList(), and DestroyMedianPixelListThreadSet().
| static MedianPixelList** DestroyMedianPixelListThreadSet | ( | MedianPixelList ** | pixel_list | ) | [static] |
Definition at line 1937 of file effect.c.
References DestroyMedianPixelList(), GetOpenMPMaximumThreads(), and RelinquishAlignedMemory().
Referenced by AcquireMedianPixelListThreadSet(), MedianFilterImage(), and ReduceNoiseImage().
Definition at line 1290 of file effect.c.
References GetOpenMPMaximumThreads(), RelinquishAlignedMemory(), and RelinquishMagickMemory().
Referenced by AcquirePixelThreadSet(), and DespeckleImage().
| MagickExport Image* EdgeImage | ( | const Image * | image, | |
| const double | radius, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 1640 of file effect.c.
References AcquireQuantumMemory(), ConvolveImage(), _Image::debug, _Image::filename, GetMagickModule, GetOptimalKernelWidth1D(), LogMagickEvent(), MagickFalse, MagickSignature, RelinquishMagickMemory(), ResourceLimitError, _ExceptionInfo::signature, _Image::signature, ThrowImageException, and TraceEvent.
Referenced by AdaptiveBlurImageChannel(), AdaptiveSharpenImageChannel(), CharcoalImage(), PreviewImage(), and SketchImage().
| MagickExport Image* EmbossImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 1706 of file effect.c.
References AcquireQuantumMemory(), ConvolveImage(), _Image::debug, EqualizeImage(), _Image::filename, GetMagickModule, GetOptimalKernelWidth2D(), LogMagickEvent(), MagickFalse, MagickPI, MagickSigma, MagickSignature, RelinquishMagickMemory(), ResourceLimitError, _ExceptionInfo::signature, _Image::signature, ThrowImageException, and TraceEvent.
| MagickExport Image* GaussianBlurImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 1800 of file effect.c.
References DefaultChannels, and GaussianBlurImageChannel().
Referenced by AdaptiveBlurImageChannel(), and AdaptiveSharpenImageChannel().
| MagickExport Image* GaussianBlurImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 1811 of file effect.c.
References AcquireQuantumMemory(), ConvolveImageChannel(), _Image::debug, _Image::filename, GetMagickModule, GetOptimalKernelWidth2D(), LogMagickEvent(), MagickFalse, MagickPI, MagickSigma, MagickSignature, RelinquishMagickMemory(), ResourceLimitError, _ExceptionInfo::signature, _Image::signature, ThrowImageException, and TraceEvent.
Referenced by GaussianBlurImage().
| static double* GetBlurKernel | ( | unsigned long | width, | |
| const MagickRealType | sigma | |||
| ) | [static] |
Definition at line 772 of file effect.c.
References AcquireQuantumMemory(), GetMagickModule, KernelRank, LogMagickEvent(), MagickSigma, MagickSQ2PI, ResetMagickMemory(), and TraceEvent.
Referenced by BlurImageChannel().
| static MagickPixelPacket GetMedianPixelList | ( | MedianPixelList * | pixel_list | ) | [static] |
Definition at line 2065 of file effect.c.
References _MagickPixelPacket::blue, _MedianPixelList::center, _MedianListNode::count, GetMagickPixelPacket(), _MagickPixelPacket::green, _MagickPixelPacket::index, _MedianPixelList::lists, MedianListChannels, _MedianListNode::next, _MedianSkipList::nodes, _MagickPixelPacket::opacity, _MagickPixelPacket::red, and ScaleShortToQuantum().
Referenced by MedianFilterImage().
| static double* GetMotionBlurKernel | ( | unsigned long | width, | |
| const MagickRealType | sigma | |||
| ) | [static] |
Definition at line 2373 of file effect.c.
References AcquireQuantumMemory(), GetMagickModule, KernelRank, LogMagickEvent(), MagickSigma, MagickSQ2PI, ResetMagickMemory(), and TraceEvent.
Referenced by MotionBlurImageChannel().
| static MagickPixelPacket GetNonpeakMedianPixelList | ( | MedianPixelList * | pixel_list | ) | [static] |
Definition at line 3484 of file effect.c.
References _MagickPixelPacket::blue, _MedianPixelList::center, _MedianListNode::count, GetMagickPixelPacket(), _MagickPixelPacket::green, _MagickPixelPacket::index, _MedianPixelList::lists, _MedianListNode::next, _MedianSkipList::nodes, _MagickPixelPacket::opacity, _MagickPixelPacket::red, and ScaleShortToQuantum().
Referenced by ReduceNoiseImage().
| static void Hull | ( | const long | x_offset, | |
| const long | y_offset, | |||
| const unsigned long | columns, | |||
| const unsigned long | rows, | |||
| Quantum * | f, | |||
| Quantum * | g, | |||
| const int | polarity | |||
| ) | [static] |
Definition at line 1328 of file effect.c.
References ScaleCharToQuantum().
Referenced by DespeckleImage().
| static void InsertMedianPixelList | ( | const Image * | image, | |
| const PixelPacket * | pixel, | |||
| const IndexPacket * | indexes, | |||
| MedianPixelList * | pixel_list | |||
| ) | [inline, static] |
Definition at line 2110 of file effect.c.
References AddNodeMedianPixelList(), _PixelPacket::blue, CMYKColorspace, _Image::colorspace, _MedianListNode::count, _PixelPacket::green, _MedianPixelList::lists, _MedianSkipList::nodes, _PixelPacket::opacity, _PixelPacket::red, ScaleQuantumToShort(), _MedianPixelList::signature, and _MedianListNode::signature.
Referenced by MedianFilterImage(), and ReduceNoiseImage().
| MagickExport Image* MedianFilterImage | ( | const Image * | image, | |
| const double | radius, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 2181 of file effect.c.
References AcquireCacheView(), AcquireMedianPixelListThreadSet(), CloneImage(), _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DestroyMedianPixelListThreadSet(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetMedianPixelList(), GetOpenMPThreadId(), GetOptimalKernelWidth2D(), InheritException(), InsertMedianPixelList(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, MedianFilterImageTag, OptionError, _Image::progress_monitor, QueueCacheViewAuthenticPixels(), ResetMedianPixelList(), ResourceLimitError, _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelPacket(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, and TraceEvent.
Referenced by DeskewImage().
| MagickExport Image* MotionBlurImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| const double | angle, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 2414 of file effect.c.
References DefaultChannels, and MotionBlurImageChannel().
Referenced by SketchImage().
| MagickExport Image* MotionBlurImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | radius, | |||
| const double | sigma, | |||
| const double | angle, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 2425 of file effect.c.
References AcquireCacheView(), AcquireQuantumMemory(), _PixelPacket::blue, _MagickPixelPacket::blue, BlueChannel, BlurImageTag, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, _Image::debug, DegreesToRadians(), DestroyCacheView(), DestroyImage(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualIndexQueue(), GetMagickModule, GetMagickPixelPacket(), GetMotionBlurKernel(), GetOneCacheViewVirtualPixel(), GetOptimalKernelWidth1D(), _PixelPacket::green, _MagickPixelPacket::green, GreenChannel, hypot, _MagickPixelPacket::index, IndexChannel, InheritException(), LogMagickEvent(), MagickEpsilon, MagickFalse, MagickSignature, MagickTrue, _Image::matte, _PixelPacket::opacity, _MagickPixelPacket::opacity, OpacityChannel, _Image::progress_monitor, QuantumRange, QuantumScale, _PixelPacket::red, _MagickPixelPacket::red, RedChannel, RelinquishMagickMemory(), ResourceLimitError, RoundToQuantum(), _Image::rows, SetImageProgress(), SetImageStorageClass(), _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, _PointInfo::x, and _PointInfo::y.
Referenced by MotionBlurImage().
| MagickExport Image* PreviewImage | ( | const Image * | image, | |
| const PreviewType | preview, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 2679 of file effect.c.
References AcquireImageInfo(), AcquireUniqueFileResource(), AddNoisePreview, AppendImageToList(), BilevelImage(), BlurImage(), BlurPreview, BrightnessPreview, CharcoalDrawingPreview, CharcoalImage(), CloneImage(), CloneMontageInfo(), CloneString(), close, _QuantizeInfo::colorspace, _Image::columns, ContrastImage(), CopyMagickString(), _Image::debug, DefaultChannels, DefaultPreviewGeometry, DefaultTileFrame, DefaultTileLabel, DeleteImageProperty(), DespeckleImage(), DespecklePreview, DestroyImage(), DestroyImageInfo(), DestroyImageList(), DestroyMontageInfo(), _Image::directory, DullPreview, EdgeDetectPreview, EdgeImage(), _MontageInfo::filename, _ImageInfo::filename, _Image::filename, FormatMagickString(), _MontageInfo::frame, GammaImageChannel(), GammaPreview, _MontageInfo::geometry, GetBlobSize(), GetMagickModule, GetQuantizeInfo(), GRAYColorspace, GrayscalePreview, _RectangleInfo::height, HuePreview, ImplodeImage(), ImplodePreview, JPEGPreview, LogMagickEvent(), _Image::magick, MagickFalse, MagickSignature, MagickTrue, _Image::matte_color, MaxTextExtent, ModulateImage(), _Image::montage, MontageImages(), NewImageList(), _QuantizeInfo::number_colors, NumberTiles, OilPaintImage(), OilPaintPreview, ParseMetaGeometry(), PreviewImageTag, _ImageInfo::quality, QuantizeImage(), QuantizePreview, QuantumRange, QueryColorDatabase(), RaiseImage(), RaisePreview, ReadImage(), ReduceNoiseImage(), ReduceNoisePreview, RelinquishMagickMemory(), RelinquishUniqueFileResource(), ResourceLimitError, RGBColorspace, RollImage(), RollPreview, RotateImage(), RotatePreview, _Image::rows, SaturationPreview, SegmentImage(), SegmentPreview, SetGeometry(), SetImageProgress(), SetImageProgressMonitor(), SetImageProperty(), ShadeImage(), ShadePreview, _MontageInfo::shadow, SharpenImage(), SharpenPreview, ShearImage(), ShearPreview, _Image::signature, SolarizeImage(), SolarizePreview, SpiffPreview, SpreadImage(), SpreadPreview, SwirlImage(), SwirlPreview, ThresholdPreview, ThrowImageException, ThumbnailImage(), _MontageInfo::tile, TraceEvent, WaveImage(), WavePreview, _RectangleInfo::width, WriteImage(), _RectangleInfo::x, and _RectangleInfo::y.
| MagickExport Image* RadialBlurImage | ( | const Image * | image, | |
| const double | angle, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 3194 of file effect.c.
References DefaultChannels, and RadialBlurImageChannel().
| MagickExport Image* RadialBlurImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | angle, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 3204 of file effect.c.
References AcquireCacheView(), AcquireQuantumMemory(), _PixelPacket::blue, _MagickPixelPacket::blue, BlueChannel, BlurImageTag, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, _Image::debug, DegreesToRadians(), DestroyCacheView(), DestroyImage(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualIndexQueue(), GetMagickModule, GetMagickPixelPacket(), GetOneCacheViewVirtualPixel(), _PixelPacket::green, _MagickPixelPacket::green, GreenChannel, hypot, _MagickPixelPacket::index, IndexChannel, InheritException(), LogMagickEvent(), MagickEpsilon, MagickFalse, MagickSignature, MagickTrue, _Image::matte, _PixelPacket::opacity, _MagickPixelPacket::opacity, OpacityChannel, _Image::progress_monitor, QuantumRange, QuantumScale, _PixelPacket::red, _MagickPixelPacket::red, RedChannel, RelinquishMagickMemory(), ResourceLimitError, RoundToQuantum(), _Image::rows, SetImageProgress(), SetImageStorageClass(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, _PointInfo::x, and _PointInfo::y.
Referenced by RadialBlurImage().
| MagickExport Image* ReduceNoiseImage | ( | const Image * | image, | |
| const double | radius, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 3539 of file effect.c.
References AcquireCacheView(), AcquireMedianPixelListThreadSet(), CloneImage(), _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DestroyMedianPixelListThreadSet(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetNonpeakMedianPixelList(), GetOpenMPThreadId(), GetOptimalKernelWidth2D(), InheritException(), InsertMedianPixelList(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, OptionError, _Image::progress_monitor, QueueCacheViewAuthenticPixels(), ReduceNoiseImageTag, ResetMedianPixelList(), ResourceLimitError, _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelPacket(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, and TraceEvent.
Referenced by PreviewImage().
| static void ResetMedianPixelList | ( | MedianPixelList * | pixel_list | ) | [static] |
Definition at line 2153 of file effect.c.
References _MedianSkipList::level, _MedianPixelList::lists, _MedianListNode::next, _MedianSkipList::nodes, _MedianPixelList::seed, and _MedianPixelList::signature.
Referenced by MedianFilterImage(), and ReduceNoiseImage().
| MagickExport Image* SelectiveBlurImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| const double | threshold, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 3735 of file effect.c.
References DefaultChannels, and SelectiveBlurImageChannel().
| MagickExport Image* SelectiveBlurImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | radius, | |||
| const double | sigma, | |||
| const double | threshold, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 3746 of file effect.c.
References AcquireCacheView(), AcquireQuantumMemory(), AcquireString(), _MagickPixelPacket::blue, BlueChannel, CloneImage(), CMYKColorspace, _Image::colorspace, _Image::columns, ConcatenateString(), _Image::debug, DestroyCacheView(), DestroyImage(), DestroyString(), DirectClass, _Image::exception, _Image::filename, FormatMagickString(), GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetMagickPixelPacket(), GetOptimalKernelWidth1D(), _MagickPixelPacket::green, GreenChannel, _MagickPixelPacket::index, IndexChannel, InheritException(), LogMagickEvent(), MagickEpsilon, MagickFalse, MagickPI, MagickSigma, MagickSignature, MagickTrue, _Image::matte, MaxTextExtent, _MagickPixelPacket::opacity, OpacityChannel, _Image::progress_monitor, QuantumRange, QuantumScale, _MagickPixelPacket::red, RedChannel, RelinquishMagickMemory(), ResourceLimitError, RoundToQuantum(), _Image::rows, SelectiveBlurImageTag, SelectiveContrast(), SetImageProgress(), SetImageStorageClass(), SetMagickPixelPacketBias(), _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), ThrowImageException, TraceEvent, TransformEvent, and _Image::type.
Referenced by SelectiveBlurImage().
| static MagickBooleanType SelectiveContrast | ( | const PixelPacket * | p, | |
| const PixelPacket * | q, | |||
| const double | threshold | |||
| ) | [inline, static] |
Definition at line 3727 of file effect.c.
References MagickFalse, MagickTrue, and PixelIntensity().
Referenced by SelectiveBlurImageChannel().
| MagickExport Image* ShadeImage | ( | const Image * | image, | |
| const MagickBooleanType | gray, | |||
| const double | azimuth, | |||
| const double | elevation, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 4134 of file effect.c.
References AcquireCacheView(), CloneImage(), _Image::columns, _Image::debug, DegreesToRadians(), DestroyImage(), DirectClass, _Image::exception, _Image::filename, GetCacheViewVirtualPixels(), GetMagickModule, InheritException(), LogMagickEvent(), MagickEpsilon, MagickFalse, MagickSignature, MagickTrue, PixelIntensity(), _Image::progress_monitor, QuantumRange, QuantumScale, QueueCacheViewAuthenticPixels(), RoundToQuantum(), _Image::rows, SetImageProgress(), SetImageStorageClass(), ShadeImageTag, _ExceptionInfo::signature, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, _PrimaryInfo::x, _PrimaryInfo::y, and _PrimaryInfo::z.
Referenced by PreviewImage().
| MagickExport Image* SharpenImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 4339 of file effect.c.
References DefaultChannels, and SharpenImageChannel().
Referenced by PreviewImage().
| MagickExport Image* SharpenImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | radius, | |||
| const double | sigma, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 4349 of file effect.c.
References AcquireQuantumMemory(), ConvolveImageChannel(), _Image::debug, _Image::filename, GetMagickModule, GetOptimalKernelWidth2D(), LogMagickEvent(), MagickFalse, MagickPI, MagickSigma, MagickSignature, RelinquishMagickMemory(), ResourceLimitError, _ExceptionInfo::signature, _Image::signature, ThrowImageException, and TraceEvent.
Referenced by SharpenImage().
| MagickExport Image* SpreadImage | ( | const Image * | image, | |
| const double | radius, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 4427 of file effect.c.
References AcquireCacheView(), AcquireRandomInfoThreadSet(), AcquireResampleFilterThreadSet(), CloneImage(), _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), DestroyRandomInfoThreadSet(), DestroyResampleFilterThreadSet(), DirectClass, _Image::exception, _Image::filename, GetCacheViewAuthenticIndexQueue(), GetMagickModule, GetMagickPixelPacket(), GetOpenMPThreadId(), GetOptimalKernelWidth1D(), GetPseudoRandomValue(), InheritException(), LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, _Image::progress_monitor, QueueCacheViewAuthenticPixels(), random_info, ResamplePixelColor(), _Image::rows, SetImageProgress(), SetImageStorageClass(), SetPixelPacket(), _ExceptionInfo::signature, _Image::signature, SpreadImageTag, SyncCacheViewAuthenticPixels(), and TraceEvent.
Referenced by PreviewImage().
| MagickExport Image* UnsharpMaskImage | ( | const Image * | image, | |
| const double | radius, | |||
| const double | sigma, | |||
| const double | amount, | |||
| const double | threshold, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 4590 of file effect.c.
References DefaultChannels, and UnsharpMaskImageChannel().
| MagickExport Image* UnsharpMaskImageChannel | ( | const Image * | image, | |
| const ChannelType | channel, | |||
| const double | radius, | |||
| const double | sigma, | |||
| const double | amount, | |||
| const double | threshold, | |||
| ExceptionInfo * | exception | |||
| ) |
Definition at line 4602 of file effect.c.
References AcquireCacheView(), _MagickPixelPacket::blue, BlueChannel, BlurImageChannel(), CMYKColorspace, _Image::colorspace, _Image::columns, _Image::debug, DestroyCacheView(), DestroyImage(), _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetMagickModule, GetMagickPixelPacket(), _MagickPixelPacket::green, GreenChannel, _MagickPixelPacket::index, IndexChannel, LogMagickEvent(), MagickFalse, MagickSignature, MagickTrue, _MagickPixelPacket::opacity, OpacityChannel, _Image::progress_monitor, QuantumRange, _MagickPixelPacket::red, RedChannel, RoundToQuantum(), _Image::rows, SetImageProgress(), SharpenImageTag, _Image::signature, SyncCacheViewAuthenticPixels(), TraceEvent, and _Image::type.
Referenced by UnsharpMaskImage().
1.6.1