]> granicus.if.org Git - imagemagick/blob - MagickCore/effect.h
6aa968f55698389f18039efafe9e561b7ea7a052
[imagemagick] / MagickCore / effect.h
1 /*
2   Copyright 1999-2011 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.
6   obtain a copy of the License at
7   
8     http://www.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 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24
25 #include <MagickCore/morphology.h>
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 typedef enum
62 {
63   UndefinedStatistic,
64   GradientStatistic,
65   MaximumStatistic,
66   MeanStatistic,
67   MedianStatistic,
68   MinimumStatistic,
69   ModeStatistic,
70   NonpeakStatistic,
71   StandardDeviationStatistic
72 } StatisticType;
73
74 extern MagickExport Image
75   *AdaptiveBlurImage(const Image *,const double,const double,const double,
76     ExceptionInfo *),
77   *AdaptiveSharpenImage(const Image *,const double,const double,const double,
78      ExceptionInfo *),
79   *BlurImage(const Image *,const double,const double,const double,
80     ExceptionInfo *),
81   *ConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *),
82   *DespeckleImage(const Image *,ExceptionInfo *),
83   *EdgeImage(const Image *,const double,const double,ExceptionInfo *),
84   *EmbossImage(const Image *,const double,const double,ExceptionInfo *),
85   *GaussianBlurImage(const Image *,const double,const double,const double,
86     ExceptionInfo *),
87   *MotionBlurImage(const Image *,const double,const double,const double,
88     const double,ExceptionInfo *),
89   *PreviewImage(const Image *,const PreviewType,ExceptionInfo *),
90   *RadialBlurImage(const Image *,const double,const double,ExceptionInfo *),
91   *SelectiveBlurImage(const Image *,const double,const double,const double,
92     const double,ExceptionInfo *),
93   *ShadeImage(const Image *,const MagickBooleanType,const double,const double,
94     ExceptionInfo *),
95   *SharpenImage(const Image *,const double,const double,const double,
96     ExceptionInfo *),
97   *SpreadImage(const Image *,const double,ExceptionInfo *),
98   *StatisticImage(const Image *,const StatisticType,const size_t,const size_t,
99     ExceptionInfo *),
100   *UnsharpMaskImage(const Image *,const double,const double,const double,
101     const double,ExceptionInfo *);
102
103 #if defined(__cplusplus) || defined(c_plusplus)
104 }
105 #endif
106
107 #endif