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 enhance methods.
17 */
18 #ifndef MAGICKCORE_ENHANCE_H
19 #define MAGICKCORE_ENHANCE_H
20 
21 #include "MagickCore/pixel.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 extern MagickExport MagickBooleanType
28   AutoGammaImage(Image *,ExceptionInfo *),
29   AutoLevelImage(Image *,ExceptionInfo *),
30   BrightnessContrastImage(Image *,const double,const double,ExceptionInfo *),
31   CLAHEImage(Image *,const size_t,const size_t,const size_t,const double,
32     ExceptionInfo *),
33   ClutImage(Image *,const Image *,const PixelInterpolateMethod,ExceptionInfo *),
34   ColorDecisionListImage(Image *,const char *,ExceptionInfo *),
35   ContrastImage(Image *,const MagickBooleanType,ExceptionInfo *),
36   ContrastStretchImage(Image *,const double,const double,ExceptionInfo *),
37   EqualizeImage(Image *image,ExceptionInfo *),
38   GammaImage(Image *,const double,ExceptionInfo *),
39   GrayscaleImage(Image *,const PixelIntensityMethod,ExceptionInfo *),
40   HaldClutImage(Image *,const Image *,ExceptionInfo *),
41   LevelImage(Image *,const double,const double,const double,ExceptionInfo *),
42   LevelizeImage(Image *,const double,const double,const double,ExceptionInfo *),
43   LevelImageColors(Image *,const PixelInfo *,const PixelInfo *,
44     const MagickBooleanType,ExceptionInfo *),
45   LinearStretchImage(Image *,const double,const double,ExceptionInfo *),
46   ModulateImage(Image *,const char *,ExceptionInfo *),
47   NegateImage(Image *,const MagickBooleanType,ExceptionInfo *),
48   NormalizeImage(Image *,ExceptionInfo *),
49   SigmoidalContrastImage(Image *,const MagickBooleanType,const double,
50     const double,ExceptionInfo *),
51   WhiteBalanceImage(Image *,ExceptionInfo *);
52 
53 extern MagickExport Image
54   *EnhanceImage(const Image *,ExceptionInfo *);
55 
56 #if defined(__cplusplus) || defined(c_plusplus)
57 }
58 #endif
59 
60 #endif
61