| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #ifndef _MAGICKCORE_EFFECT_H |
|---|
| 19 | #define _MAGICKCORE_EFFECT_H |
|---|
| 20 | |
|---|
| 21 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 22 | extern "C" { |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | typedef enum |
|---|
| 26 | { |
|---|
| 27 | UndefinedNoise, |
|---|
| 28 | UniformNoise, |
|---|
| 29 | GaussianNoise, |
|---|
| 30 | MultiplicativeGaussianNoise, |
|---|
| 31 | ImpulseNoise, |
|---|
| 32 | LaplacianNoise, |
|---|
| 33 | PoissonNoise, |
|---|
| 34 | RandomNoise |
|---|
| 35 | } NoiseType; |
|---|
| 36 | |
|---|
| 37 | typedef enum |
|---|
| 38 | { |
|---|
| 39 | UndefinedPreview, |
|---|
| 40 | RotatePreview, |
|---|
| 41 | ShearPreview, |
|---|
| 42 | RollPreview, |
|---|
| 43 | HuePreview, |
|---|
| 44 | SaturationPreview, |
|---|
| 45 | BrightnessPreview, |
|---|
| 46 | GammaPreview, |
|---|
| 47 | SpiffPreview, |
|---|
| 48 | DullPreview, |
|---|
| 49 | GrayscalePreview, |
|---|
| 50 | QuantizePreview, |
|---|
| 51 | DespecklePreview, |
|---|
| 52 | ReduceNoisePreview, |
|---|
| 53 | AddNoisePreview, |
|---|
| 54 | SharpenPreview, |
|---|
| 55 | BlurPreview, |
|---|
| 56 | ThresholdPreview, |
|---|
| 57 | EdgeDetectPreview, |
|---|
| 58 | SpreadPreview, |
|---|
| 59 | SolarizePreview, |
|---|
| 60 | ShadePreview, |
|---|
| 61 | RaisePreview, |
|---|
| 62 | SegmentPreview, |
|---|
| 63 | SwirlPreview, |
|---|
| 64 | ImplodePreview, |
|---|
| 65 | WavePreview, |
|---|
| 66 | OilPaintPreview, |
|---|
| 67 | CharcoalDrawingPreview, |
|---|
| 68 | JPEGPreview |
|---|
| 69 | } PreviewType; |
|---|
| 70 | |
|---|
| 71 | extern MagickExport Image |
|---|
| 72 | *AdaptiveBlurImage(const Image *,const double,const double,ExceptionInfo *), |
|---|
| 73 | *AdaptiveBlurImageChannel(const Image *,const ChannelType,const double, |
|---|
| 74 | const double,ExceptionInfo *), |
|---|
| 75 | *AdaptiveSharpenImage(const Image *,const double,const double, |
|---|
| 76 | ExceptionInfo *), |
|---|
| 77 | *AdaptiveSharpenImageChannel(const Image *,const ChannelType,const double, |
|---|
| 78 | const double,ExceptionInfo *), |
|---|
| 79 | *AddNoiseImage(const Image *,const NoiseType,ExceptionInfo *), |
|---|
| 80 | *AddNoiseImageChannel(const Image *,const ChannelType,const NoiseType, |
|---|
| 81 | ExceptionInfo *), |
|---|
| 82 | *BlurImage(const Image *,const double,const double,ExceptionInfo *), |
|---|
| 83 | *BlurImageChannel(const Image *,const ChannelType,const double,const double, |
|---|
| 84 | ExceptionInfo *), |
|---|
| 85 | *DespeckleImage(const Image *,ExceptionInfo *), |
|---|
| 86 | *EdgeImage(const Image *,const double,ExceptionInfo *), |
|---|
| 87 | *EmbossImage(const Image *,const double,const double,ExceptionInfo *), |
|---|
| 88 | *GaussianBlurImage(const Image *,const double,const double,ExceptionInfo *), |
|---|
| 89 | *GaussianBlurImageChannel(const Image *,const ChannelType,const double, |
|---|
| 90 | const double,ExceptionInfo *), |
|---|
| 91 | *MedianFilterImage(const Image *,const double,ExceptionInfo *), |
|---|
| 92 | *MotionBlurImage(const Image *,const double,const double,const double, |
|---|
| 93 | ExceptionInfo *), |
|---|
| 94 | *PreviewImage(const Image *,const PreviewType,ExceptionInfo *), |
|---|
| 95 | *RadialBlurImage(const Image *,const double,ExceptionInfo *), |
|---|
| 96 | *RadialBlurImageChannel(const Image *,const ChannelType,const double, |
|---|
| 97 | ExceptionInfo *), |
|---|
| 98 | *ReduceNoiseImage(const Image *,const double,ExceptionInfo *), |
|---|
| 99 | *ShadeImage(const Image *,const MagickBooleanType,const double,const double, |
|---|
| 100 | ExceptionInfo *), |
|---|
| 101 | *SharpenImage(const Image *,const double,const double,ExceptionInfo *), |
|---|
| 102 | *SharpenImageChannel(const Image *,const ChannelType,const double, |
|---|
| 103 | const double,ExceptionInfo *), |
|---|
| 104 | *SpreadImage(const Image *,const double,ExceptionInfo *), |
|---|
| 105 | *UnsharpMaskImage(const Image *,const double,const double,const double, |
|---|
| 106 | const double,ExceptionInfo *), |
|---|
| 107 | *UnsharpMaskImageChannel(const Image *,const ChannelType,const double, |
|---|
| 108 | const double,const double,const double,ExceptionInfo *); |
|---|
| 109 | |
|---|
| 110 | #if defined(__cplusplus) || defined(c_plusplus) |
|---|
| 111 | } |
|---|
| 112 | #endif |
|---|
| 113 | |
|---|
| 114 | #endif |
|---|