cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 1 | /* |
cristy | 7e41fe8 | 2010-12-04 23:12:08 +0000 | [diff] [blame] | 2 | Copyright 1999-2011 ImageMagick Studio LLC, a non-profit organization |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 | |
cristy | 4c08aed | 2011-07-01 19:47:50 +0000 | [diff] [blame] | 25 | #include <MagickCore/morphology.h> |
cristy | 56a9e51 | 2010-01-06 18:18:55 +0000 | [diff] [blame] | 26 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 | |
cristy | 0834d64 | 2011-03-18 18:26:08 +0000 | [diff] [blame] | 61 | typedef enum |
| 62 | { |
| 63 | UndefinedStatistic, |
cristy | 80c9974 | 2011-04-04 14:46:39 +0000 | [diff] [blame] | 64 | GradientStatistic, |
cristy | 0834d64 | 2011-03-18 18:26:08 +0000 | [diff] [blame] | 65 | MaximumStatistic, |
cristy | 1245368 | 2011-03-18 18:45:04 +0000 | [diff] [blame] | 66 | MeanStatistic, |
cristy | 0834d64 | 2011-03-18 18:26:08 +0000 | [diff] [blame] | 67 | MedianStatistic, |
| 68 | MinimumStatistic, |
| 69 | ModeStatistic, |
cristy | 9a68cbb | 2011-03-29 00:51:23 +0000 | [diff] [blame] | 70 | NonpeakStatistic, |
cristy | b5d4b76 | 2011-04-05 17:16:55 +0000 | [diff] [blame] | 71 | StandardDeviationStatistic |
cristy | 0834d64 | 2011-03-18 18:26:08 +0000 | [diff] [blame] | 72 | } StatisticType; |
| 73 | |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 74 | extern MagickExport Image |
cristy | 4c11c2b | 2011-09-05 20:17:07 +0000 | [diff] [blame] | 75 | *AdaptiveBlurImage(const Image *,const double,const double,const double, |
| 76 | ExceptionInfo *), |
| 77 | *AdaptiveSharpenImage(const Image *,const double,const double,const double, |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 78 | ExceptionInfo *), |
cristy | 05c0c9a | 2011-09-05 23:16:13 +0000 | [diff] [blame] | 79 | *BlurImage(const Image *,const double,const double,const double, |
| 80 | ExceptionInfo *), |
cristy | 5e6be1e | 2011-07-16 01:23:39 +0000 | [diff] [blame] | 81 | *ConvolveImage(const Image *,const KernelInfo *,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 82 | *DespeckleImage(const Image *,ExceptionInfo *), |
cristy | 8ae632d | 2011-09-05 17:29:53 +0000 | [diff] [blame] | 83 | *EdgeImage(const Image *,const double,const double,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 84 | *EmbossImage(const Image *,const double,const double,ExceptionInfo *), |
cristy | 05c0c9a | 2011-09-05 23:16:13 +0000 | [diff] [blame] | 85 | *GaussianBlurImage(const Image *,const double,const double,const double, |
| 86 | ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 87 | *MotionBlurImage(const Image *,const double,const double,const double, |
cristy | f7ef025 | 2011-09-09 14:50:06 +0000 | [diff] [blame^] | 88 | const double,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 89 | *PreviewImage(const Image *,const PreviewType,ExceptionInfo *), |
| 90 | *RadialBlurImage(const Image *,const double,ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 91 | *SelectiveBlurImage(const Image *,const double,const double,const double, |
| 92 | ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 93 | *ShadeImage(const Image *,const MagickBooleanType,const double,const double, |
| 94 | ExceptionInfo *), |
cristy | 05c0c9a | 2011-09-05 23:16:13 +0000 | [diff] [blame] | 95 | *SharpenImage(const Image *,const double,const double,const double, |
| 96 | ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 97 | *SpreadImage(const Image *,const double,ExceptionInfo *), |
cristy | 95c3834 | 2011-03-18 22:39:51 +0000 | [diff] [blame] | 98 | *StatisticImage(const Image *,const StatisticType,const size_t,const size_t, |
| 99 | ExceptionInfo *), |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 100 | *UnsharpMaskImage(const Image *,const double,const double,const double, |
cristy | f4ad9df | 2011-07-08 16:49:03 +0000 | [diff] [blame] | 101 | const double,ExceptionInfo *); |
cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 102 | |
| 103 | #if defined(__cplusplus) || defined(c_plusplus) |
| 104 | } |
| 105 | #endif |
| 106 | |
| 107 | #endif |