1 /*
2   Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
3   dedicated to making software imaging solutions freely available.
4 
5   You may not use this file except in compliance with the License.  You may
6   obtain a copy of the License at
7 
8     https://imagemagick.org/script/license.php
9 
10   Unless required by applicable law or agreed to in writing, software
11   distributed under the License is distributed on an "AS IS" BASIS,
12   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   See the License for the specific language governing permissions and
14   limitations under the License.
15 
16   MagickCore image effects methods.
17 */
18 #ifndef MAGICKCORE_EFFECT_H
19 #define MAGICKCORE_EFFECT_H
20 
21 #include "MagickCore/morphology.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef enum
28 {
29   UndefinedPreview,
30   RotatePreview,
31   ShearPreview,
32   RollPreview,
33   HuePreview,
34   SaturationPreview,
35   BrightnessPreview,
36   GammaPreview,
37   SpiffPreview,
38   DullPreview,
39   GrayscalePreview,
40   QuantizePreview,
41   DespecklePreview,
42   ReduceNoisePreview,
43   AddNoisePreview,
44   SharpenPreview,
45   BlurPreview,
46   ThresholdPreview,
47   EdgeDetectPreview,
48   SpreadPreview,
49   SolarizePreview,
50   ShadePreview,
51   RaisePreview,
52   SegmentPreview,
53   SwirlPreview,
54   ImplodePreview,
55   WavePreview,
56   OilPaintPreview,
57   CharcoalDrawingPreview,
58   JPEGPreview
59 } PreviewType;
60 
61 extern MagickExport Image
62   *AdaptiveBlurImage(const Image *,const double,const double,ExceptionInfo *),
63   *AdaptiveSharpenImage(const Image *,const double,const double,
64      ExceptionInfo *),
65   *BilateralBlurImage(const Image *,const size_t,const size_t,
66     const double,const double,ExceptionInfo *),
67   *BlurImage(const Image *,const double,const double,ExceptionInfo *),
68   *ConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *),
69   *DespeckleImage(const Image *,ExceptionInfo *),
70   *EdgeImage(const Image *,const double,ExceptionInfo *),
71   *EmbossImage(const Image *,const double,const double,ExceptionInfo *),
72   *GaussianBlurImage(const Image *,const double,const double,ExceptionInfo *),
73   *KuwaharaImage(const Image *,const double,const double,ExceptionInfo *),
74   *LocalContrastImage(const Image *,const double,const double,ExceptionInfo *),
75   *MotionBlurImage(const Image *,const double,const double,const double,
76     ExceptionInfo *),
77   *PreviewImage(const Image *,const PreviewType,ExceptionInfo *),
78   *RotationalBlurImage(const Image *,const double,ExceptionInfo *),
79   *SelectiveBlurImage(const Image *,const double,const double,const double,
80     ExceptionInfo *),
81   *ShadeImage(const Image *,const MagickBooleanType,const double,const double,
82     ExceptionInfo *),
83   *SharpenImage(const Image *,const double,const double,ExceptionInfo *),
84   *SpreadImage(const Image *,const PixelInterpolateMethod,const double,
85     ExceptionInfo *),
86   *UnsharpMaskImage(const Image *,const double,const double,const double,
87     const double,ExceptionInfo *);
88 
89 #if defined(__cplusplus) || defined(c_plusplus)
90 }
91 #endif
92 
93 #endif
94