MagickCore  6.9.12-43
Convert, Edit, Or Compose Bitmap Images
effect.h
Go to the documentation of this file.
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 "magick/morphology.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef enum
28 {
59 } PreviewType;
60 
61 extern MagickExport Image
62  *AdaptiveBlurImage(const Image *,const double,const double,ExceptionInfo *),
63  *AdaptiveBlurImageChannel(const Image *,const ChannelType,const double,
64  const double,ExceptionInfo *),
65  *AdaptiveSharpenImage(const Image *,const double,const double,
66  ExceptionInfo *),
67  *AdaptiveSharpenImageChannel(const Image *,const ChannelType,const double,
68  const double,ExceptionInfo *),
69  *BlurImage(const Image *,const double,const double,ExceptionInfo *),
70  *BlurImageChannel(const Image *,const ChannelType,const double,const double,
71  ExceptionInfo *),
72  *ConvolveImage(const Image *,const size_t,const double *,ExceptionInfo *),
73  *ConvolveImageChannel(const Image *,const ChannelType,const size_t,
74  const double *,ExceptionInfo *),
76  *EdgeImage(const Image *,const double,ExceptionInfo *),
77  *EmbossImage(const Image *,const double,const double,ExceptionInfo *),
78  *FilterImage(const Image *,const KernelInfo *,ExceptionInfo *),
79  *FilterImageChannel(const Image *,const ChannelType,const KernelInfo *,
80  ExceptionInfo *),
81  *GaussianBlurImage(const Image *,const double,const double,ExceptionInfo *),
82  *GaussianBlurImageChannel(const Image *,const ChannelType,const double,
83  const double,ExceptionInfo *),
84  *KuwaharaImage(const Image *,const double,const double,ExceptionInfo *),
85  *KuwaharaImageChannel(const Image *,const ChannelType,const double,
86  const double,ExceptionInfo *),
87  *LocalContrastImage(const Image *,const double,const double,ExceptionInfo *),
88  *MotionBlurImage(const Image *,const double,const double,const double,
89  ExceptionInfo *),
90  *MotionBlurImageChannel(const Image *,const ChannelType,const double,
91  const double,const double,ExceptionInfo *),
92  *PreviewImage(const Image *,const PreviewType,ExceptionInfo *),
93  *RotationalBlurImage(const Image *,const double,ExceptionInfo *),
94  *RotationalBlurImageChannel(const Image *,const ChannelType,const double,
95  ExceptionInfo *),
96  *SelectiveBlurImage(const Image *,const double,const double,const double,
97  ExceptionInfo *),
98  *SelectiveBlurImageChannel(const Image *,const ChannelType,const double,
99  const double,const double,ExceptionInfo *),
100  *ShadeImage(const Image *,const MagickBooleanType,const double,const double,
101  ExceptionInfo *),
102  *SharpenImage(const Image *,const double,const double,ExceptionInfo *),
103  *SharpenImageChannel(const Image *,const ChannelType,const double,
104  const double,ExceptionInfo *),
105  *SpreadImage(const Image *,const double,ExceptionInfo *),
106  *UnsharpMaskImage(const Image *,const double,const double,const double,
107  const double,ExceptionInfo *),
108  *UnsharpMaskImageChannel(const Image *,const ChannelType,const double,
109  const double,const double,const double,ExceptionInfo *);
110 
111 #if defined(__cplusplus) || defined(c_plusplus)
112 }
113 #endif
114 
115 #endif
MagickExport Image * BlurImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:792
MagickExport Image * SelectiveBlurImage(const Image *image, const double radius, const double sigma, const double threshold, ExceptionInfo *exception)
Definition: effect.c:3629
MagickExport Image * BlurImage(const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:782
MagickExport Image * MotionBlurImage(const Image *image, const double radius, const double sigma, const double angle, ExceptionInfo *exception)
Definition: effect.c:1972
Definition: effect.h:37
MagickExport Image * ShadeImage(const Image *image, const MagickBooleanType gray, const double azimuth, const double elevation, ExceptionInfo *exception)
Definition: effect.c:4059
MagickExport Image * UnsharpMaskImage(const Image *image, const double radius, const double sigma, const double gain, const double threshold, ExceptionInfo *exception)
Definition: effect.c:4578
Definition: effect.h:30
MagickExport Image * AdaptiveSharpenImage(const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:461
Definition: effect.h:47
Definition: exception.h:102
MagickExport Image * PreviewImage(const Image *image, const PreviewType preview, ExceptionInfo *exception)
Definition: effect.c:2791
Definition: effect.h:31
Definition: effect.h:29
Definition: effect.h:57
PreviewType
Definition: effect.h:27
Definition: effect.h:43
MagickExport Image * RotationalBlurImage(const Image *image, const double angle, ExceptionInfo *exception)
Definition: effect.c:3319
Definition: effect.h:33
Definition: effect.h:53
Definition: effect.h:55
Definition: effect.h:49
Definition: image.h:152
MagickExport Image * SharpenImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:4296
Definition: effect.h:35
Definition: effect.h:36
Definition: morphology.h:102
Definition: effect.h:46
MagickBooleanType
Definition: magick-type.h:198
Definition: effect.h:52
MagickExport Image * LocalContrastImage(const Image *image, const double radius, const double strength, ExceptionInfo *exception)
Definition: effect.c:2509
MagickExport Image * UnsharpMaskImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, const double gain, const double threshold, ExceptionInfo *exception)
Definition: effect.c:4592
MagickExport Image * AdaptiveSharpenImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:472
MagickExport Image * SpreadImage(const Image *image, const double radius, ExceptionInfo *exception)
Definition: effect.c:4398
MagickExport Image * EmbossImage(const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:1355
MagickExport Image * RotationalBlurImageChannel(const Image *image, const ChannelType channel, const double angle, ExceptionInfo *exception)
Definition: effect.c:3329
MagickExport Image * SelectiveBlurImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, const double threshold, ExceptionInfo *exception)
Definition: effect.c:3640
Definition: effect.h:32
MagickExport Image * ConvolveImage(const Image *image, const size_t order, const double *kernel, ExceptionInfo *exception)
Definition: effect.c:861
MagickExport Image * AdaptiveBlurImage(const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:138
MagickExport Image * FilterImageChannel(const Image *image, const ChannelType channel, const KernelInfo *kernel, ExceptionInfo *exception)
Definition: effect.c:1480
MagickExport Image * DespeckleImage(const Image *image, ExceptionInfo *exception)
Definition: effect.c:1045
Definition: effect.h:38
MagickExport Image * ConvolveImageChannel(const Image *image, const ChannelType channel, const size_t order, const double *kernel, ExceptionInfo *exception)
Definition: effect.c:880
Definition: effect.h:41
Definition: effect.h:54
ChannelType
Definition: magick-type.h:164
MagickExport Image * KuwaharaImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:2262
Definition: effect.h:51
Definition: effect.h:50
Definition: effect.h:39
MagickExport Image * KuwaharaImage(const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:2251
Definition: effect.h:44
Definition: effect.h:45
MagickExport Image * GaussianBlurImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:1863
Definition: effect.h:58
MagickExport Image * AdaptiveBlurImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:149
MagickExport Image * SharpenImage(const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:4286
Definition: effect.h:48
MagickExport Image * MotionBlurImageChannel(const Image *image, const ChannelType channel, const double radius, const double sigma, const double angle, ExceptionInfo *exception)
Definition: effect.c:1983
MagickExport Image * FilterImage(const Image *image, const KernelInfo *kernel, ExceptionInfo *exception)
Definition: effect.c:1470
Definition: effect.h:40
#define MagickExport
Definition: method-attribute.h:80
Definition: effect.h:34
Definition: effect.h:56
MagickExport Image * EdgeImage(const Image *image, const double radius, ExceptionInfo *exception)
Definition: effect.c:1269
MagickExport Image * GaussianBlurImage(const Image *image, const double radius, const double sigma, ExceptionInfo *exception)
Definition: effect.c:1852
Definition: effect.h:42