blob: 2b9d87b96b89ec80964939bd2456649c0a6e8507 [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001/*
cristy7e41fe82010-12-04 23:12:08 +00002 Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization
cristy3ed852e2009-09-05 21:47:34 +00003 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)
22extern "C" {
23#endif
24
cristy56a9e512010-01-06 18:18:55 +000025#include <magick/morphology.h>
26
cristy3ed852e2009-09-05 21:47:34 +000027typedef 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
cristy0834d642011-03-18 18:26:08 +000061typedef enum
62{
63 UndefinedStatistic,
cristy80c99742011-04-04 14:46:39 +000064 BottomHatStatistic,
65 GradientStatistic,
cristy0834d642011-03-18 18:26:08 +000066 MaximumStatistic,
cristy12453682011-03-18 18:45:04 +000067 MeanStatistic,
cristy0834d642011-03-18 18:26:08 +000068 MedianStatistic,
69 MinimumStatistic,
70 ModeStatistic,
cristy9a68cbb2011-03-29 00:51:23 +000071 NonpeakStatistic,
cristy80c99742011-04-04 14:46:39 +000072 StandardDeviationStatistic,
73 TopHatStatistic
cristy0834d642011-03-18 18:26:08 +000074} StatisticType;
75
cristy3ed852e2009-09-05 21:47:34 +000076extern MagickExport Image
77 *AdaptiveBlurImage(const Image *,const double,const double,ExceptionInfo *),
78 *AdaptiveBlurImageChannel(const Image *,const ChannelType,const double,
79 const double,ExceptionInfo *),
80 *AdaptiveSharpenImage(const Image *,const double,const double,
81 ExceptionInfo *),
82 *AdaptiveSharpenImageChannel(const Image *,const ChannelType,const double,
83 const double,ExceptionInfo *),
84 *BlurImage(const Image *,const double,const double,ExceptionInfo *),
85 *BlurImageChannel(const Image *,const ChannelType,const double,const double,
86 ExceptionInfo *),
cristy5ed838e2010-05-31 00:05:35 +000087 *ConvolveImage(const Image *,const size_t,const double *,ExceptionInfo *),
cristybb503372010-05-27 20:51:26 +000088 *ConvolveImageChannel(const Image *,const ChannelType,const size_t,
cristyfccdab92009-11-30 16:43:57 +000089 const double *,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000090 *DespeckleImage(const Image *,ExceptionInfo *),
91 *EdgeImage(const Image *,const double,ExceptionInfo *),
92 *EmbossImage(const Image *,const double,const double,ExceptionInfo *),
cristy2be15382010-01-21 02:38:03 +000093 *FilterImage(const Image *,const KernelInfo *,ExceptionInfo *),
94 *FilterImageChannel(const Image *,const ChannelType,const KernelInfo *,
cristy56a9e512010-01-06 18:18:55 +000095 ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000096 *GaussianBlurImage(const Image *,const double,const double,ExceptionInfo *),
97 *GaussianBlurImageChannel(const Image *,const ChannelType,const double,
98 const double,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +000099 *MotionBlurImage(const Image *,const double,const double,const double,
100 ExceptionInfo *),
101 *MotionBlurImageChannel(const Image *,const ChannelType,const double,
102 const double,const double,ExceptionInfo *),
103 *PreviewImage(const Image *,const PreviewType,ExceptionInfo *),
104 *RadialBlurImage(const Image *,const double,ExceptionInfo *),
105 *RadialBlurImageChannel(const Image *,const ChannelType,const double,
106 ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +0000107 *SelectiveBlurImage(const Image *,const double,const double,const double,
108 ExceptionInfo *),
109 *SelectiveBlurImageChannel(const Image *,const ChannelType,const double,
110 const double,const double,ExceptionInfo *),
111 *ShadeImage(const Image *,const MagickBooleanType,const double,const double,
112 ExceptionInfo *),
113 *SharpenImage(const Image *,const double,const double,ExceptionInfo *),
114 *SharpenImageChannel(const Image *,const ChannelType,const double,
115 const double,ExceptionInfo *),
116 *SpreadImage(const Image *,const double,ExceptionInfo *),
cristy95c38342011-03-18 22:39:51 +0000117 *StatisticImage(const Image *,const StatisticType,const size_t,const size_t,
118 ExceptionInfo *),
cristy0834d642011-03-18 18:26:08 +0000119 *StatisticImageChannel(const Image *,const ChannelType,const StatisticType,
cristy95c38342011-03-18 22:39:51 +0000120 const size_t,const size_t,ExceptionInfo *),
cristy3ed852e2009-09-05 21:47:34 +0000121 *UnsharpMaskImage(const Image *,const double,const double,const double,
122 const double,ExceptionInfo *),
123 *UnsharpMaskImageChannel(const Image *,const ChannelType,const double,
124 const double,const double,const double,ExceptionInfo *);
125
126#if defined(__cplusplus) || defined(c_plusplus)
127}
128#endif
129
130#endif