MagickCore  7.0.10
visual-effects.c File Reference
#include "MagickCore/studio.h"
#include "MagickCore/accelerate-private.h"
#include "MagickCore/annotate.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/cache.h"
#include "MagickCore/cache-view.h"
#include "MagickCore/channel.h"
#include "MagickCore/color.h"
#include "MagickCore/color-private.h"
#include "MagickCore/colorspace-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/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/memory-private.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/resource_.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/threshold.h"
#include "MagickCore/transform.h"
#include "MagickCore/transform-private.h"
#include "MagickCore/utility.h"
#include "MagickCore/visual-effects.h"
Include dependency graph for visual-effects.c:

Go to the source code of this file.

Macros

#define AddNoiseImageTag   "AddNoise/Image"
 
#define BlueShiftImageTag   "BlueShift/Image"
 
#define ColorizeImageTag   "Colorize/Image"
 
#define Colorize(pixel, blend_percentage, colorize)   (((pixel)*(100.0-(blend_percentage))+(colorize)*(blend_percentage))/100.0)
 
#define ColorMatrixImageTag   "ColorMatrix/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

MagickExport ImageAddNoiseImage (const Image *image, const NoiseType noise_type, const double attenuate, ExceptionInfo *exception)
 
MagickExport ImageBlueShiftImage (const Image *image, const double factor, ExceptionInfo *exception)
 
MagickExport ImageCharcoalImage (const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
 
MagickExport ImageColorizeImage (const Image *image, const char *blend, const PixelInfo *colorize, ExceptionInfo *exception)
 
MagickExport ImageColorMatrixImage (const Image *image, const KernelInfo *color_matrix, ExceptionInfo *exception)
 
MagickExport ImageImplodeImage (const Image *image, const double amount, const PixelInterpolateMethod method, ExceptionInfo *exception)
 
MagickExport ImageMorphImages (const Image *image, const size_t number_frames, ExceptionInfo *exception)
 
static Quantum PlasmaPixel (RandomInfo *magick_restrict random_info, const double pixel, const double noise)
 
static MagickBooleanType PlasmaImageProxy (Image *image, CacheView *image_view, CacheView *u_view, CacheView *v_view, RandomInfo *magick_restrict random_info, const SegmentInfo *magick_restrict 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 ImagePolaroidImage (const Image *image, const DrawInfo *draw_info, const char *caption, const double angle, const PixelInterpolateMethod method, ExceptionInfo *exception)
 
MagickExport ImageSepiaToneImage (const Image *image, const double threshold, ExceptionInfo *exception)
 
MagickExport ImageShadowImage (const Image *image, const double alpha, const double sigma, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
MagickExport ImageSketchImage (const Image *image, const double radius, const double sigma, const double angle, ExceptionInfo *exception)
 
MagickExport MagickBooleanType SolarizeImage (Image *image, const double threshold, ExceptionInfo *exception)
 
MagickExport ImageSteganoImage (const Image *image, const Image *watermark, ExceptionInfo *exception)
 
MagickExport ImageStereoImage (const Image *left_image, const Image *right_image, ExceptionInfo *exception)
 
MagickExport ImageStereoAnaglyphImage (const Image *left_image, const Image *right_image, const ssize_t x_offset, const ssize_t y_offset, ExceptionInfo *exception)
 
MagickExport ImageSwirlImage (const Image *image, double degrees, const PixelInterpolateMethod method, ExceptionInfo *exception)
 
MagickExport ImageTintImage (const Image *image, const char *blend, const PixelInfo *tint, ExceptionInfo *exception)
 
MagickExport ImageVignetteImage (const Image *image, const double radius, const double sigma, const ssize_t x, const ssize_t y, ExceptionInfo *exception)
 
MagickExport ImageWaveImage (const Image *image, const double amplitude, const double wave_length, const PixelInterpolateMethod method, ExceptionInfo *exception)
 
static void HatTransform (const float *magick_restrict pixels, const size_t stride, const size_t extent, const size_t scale, float *kernel)
 
MagickExport ImageWaveletDenoiseImage (const Image *image, const double threshold, const double softness, ExceptionInfo *exception)
 

Macro Definition Documentation

#define AddNoiseImageTag   "AddNoise/Image"
#define BlueShiftImageTag   "BlueShift/Image"

Referenced by BlueShiftImage().

#define Colorize (   pixel,
  blend_percentage,
  colorize 
)    (((pixel)*(100.0-(blend_percentage))+(colorize)*(blend_percentage))/100.0)

Referenced by ColorizeImage().

#define ColorizeImageTag   "Colorize/Image"

Referenced by ColorizeImage().

#define ColorMatrixImageTag   "ColorMatrix/Image"

Referenced by ColorMatrixImage().

#define GetBit (   alpha,
 
)    ((((size_t) (alpha) >> (size_t) (i)) & 0x01) != 0)

Referenced by SteganoImage().

#define ImplodeImageTag   "Implode/Image"

Referenced by ImplodeImage().

#define MorphImageTag   "Morph/Image"

Referenced by MorphImages().

#define SepiaToneImageTag   "SepiaTone/Image"

Referenced by SepiaToneImage().

#define SetBit (   alpha,
  i,
  set 
)
Value:
(Quantum) ((set) != 0 ? (size_t) (alpha) \
| (one << (size_t) (i)) : (size_t) (alpha) & ~(one << (size_t) (i)))
unsigned short Quantum
Definition: magick-type.h:86

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().

Function Documentation

static void HatTransform ( const float *magick_restrict  pixels,
const size_t  stride,
const size_t  extent,
const size_t  scale,
float *  kernel 
)
inlinestatic

Definition at line 3467 of file visual-effects.c.

References magick_restrict.

Referenced by WaveletDenoiseImage().

static Quantum PlasmaPixel ( RandomInfo *magick_restrict  random_info,
const double  pixel,
const double  noise 
)
inlinestatic

Definition at line 1390 of file visual-effects.c.

References ClampToQuantum(), and GetPseudoRandomValue().

Referenced by PlasmaImageProxy().

MagickExport Image* StereoImage ( const Image left_image,
const Image right_image,
ExceptionInfo exception 
)

Definition at line 2643 of file visual-effects.c.

References StereoAnaglyphImage().