]> granicus.if.org Git - imagemagick/blob - magick/effect.h
(no commit message)
[imagemagick] / magick / 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 <magick/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,ExceptionInfo *),
76   *AdaptiveBlurImageChannel(const Image *,const ChannelType,const double,
77     const double,ExceptionInfo *),
78   *AdaptiveSharpenImage(const Image *,const double,const double,
79      ExceptionInfo *),
80   *AdaptiveSharpenImageChannel(const Image *,const ChannelType,const double,
81     const double,ExceptionInfo *),
82   *BlurImage(const Image *,const double,const double,ExceptionInfo *),
83   *BlurImageChannel(const Image *,const ChannelType,const double,const double,
84     ExceptionInfo *),
85   *ConvolveImage(const Image *,const size_t,const double *,ExceptionInfo *),
86   *ConvolveImageChannel(const Image *,const ChannelType,const size_t,
87     const double *,ExceptionInfo *),
88   *DespeckleImage(const Image *,ExceptionInfo *),
89   *EdgeImage(const Image *,const double,ExceptionInfo *),
90   *EmbossImage(const Image *,const double,const double,ExceptionInfo *),
91   *FilterImage(const Image *,const KernelInfo *,ExceptionInfo *),
92   *FilterImageChannel(const Image *,const ChannelType,const KernelInfo *,
93      ExceptionInfo *),
94   *GaussianBlurImage(const Image *,const double,const double,ExceptionInfo *),
95   *GaussianBlurImageChannel(const Image *,const ChannelType,const double,
96     const double,ExceptionInfo *),
97   *MotionBlurImage(const Image *,const double,const double,const double,
98     ExceptionInfo *),
99   *MotionBlurImageChannel(const Image *,const ChannelType,const double,
100     const double,const double,ExceptionInfo *),
101   *PreviewImage(const Image *,const PreviewType,ExceptionInfo *),
102   *RadialBlurImage(const Image *,const double,ExceptionInfo *),
103   *RadialBlurImageChannel(const Image *,const ChannelType,const double,
104     ExceptionInfo *),
105   *SelectiveBlurImage(const Image *,const double,const double,const double,
106     ExceptionInfo *),
107   *SelectiveBlurImageChannel(const Image *,const ChannelType,const double,
108     const double,const double,ExceptionInfo *),
109   *ShadeImage(const Image *,const MagickBooleanType,const double,const double,
110     ExceptionInfo *),
111   *SharpenImage(const Image *,const double,const double,ExceptionInfo *),
112   *SharpenImageChannel(const Image *,const ChannelType,const double,
113     const double,ExceptionInfo *),
114   *SpreadImage(const Image *,const double,ExceptionInfo *),
115   *StatisticImage(const Image *,const StatisticType,const size_t,const size_t,
116     ExceptionInfo *),
117   *StatisticImageChannel(const Image *,const ChannelType,const StatisticType,
118     const size_t,const size_t,ExceptionInfo *),
119   *UnsharpMaskImage(const Image *,const double,const double,const double,
120     const double,ExceptionInfo *),
121   *UnsharpMaskImageChannel(const Image *,const ChannelType,const double,
122     const double,const double,const double,ExceptionInfo *);
123
124 #if defined(__cplusplus) || defined(c_plusplus)
125 }
126 #endif
127
128 #endif