MagickCore  6.9.12-43
Convert, Edit, Or Compose Bitmap Images
enhance.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 enhance methods.
17 */
18 #ifndef MAGICKCORE_ENHANCE_H
19 #define MAGICKCORE_ENHANCE_H
20 
21 #include "magick/pixel.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
32  BrightnessContrastImage(Image *,const double,const double),
34  const double),
35  ClutImage(Image *,const Image *),
36  ClutImageChannel(Image *,const ChannelType,const Image *),
37  ColorDecisionListImage(Image *,const char *),
39  ContrastStretchImage(Image *,const char *),
40  ContrastStretchImageChannel(Image *,const ChannelType,const double,
41  const double),
42  EqualizeImage(Image *image),
44  GammaImage(Image *,const char *),
45  GammaImageChannel(Image *,const ChannelType,const double),
47  HaldClutImage(Image *,const Image *),
49  LevelImage(Image *,const char *),
50  LevelImageChannel(Image *,const ChannelType,const double,const double,
51  const double),
52  LevelizeImage(Image *,const double,const double,const double),
53  LevelizeImageChannel(Image *,const ChannelType,const double,const double,
54  const double),
56  const MagickBooleanType),
58  const MagickPixelPacket *,const MagickBooleanType),
59  LinearStretchImage(Image *,const double,const double),
60  ModulateImage(Image *,const char *),
65  SigmoidalContrastImage(Image *,const MagickBooleanType,const char *),
67  const MagickBooleanType,const double,const double);
68 
69 extern MagickExport Image
70  *EnhanceImage(const Image *,ExceptionInfo *);
71 
72 #if defined(__cplusplus) || defined(c_plusplus)
73 }
74 #endif
75 
76 #endif
MagickExport MagickBooleanType AutoLevelImage(Image *image)
Definition: enhance.c:221
MagickExport MagickBooleanType BrightnessContrastImage(Image *image, const double brightness, const double contrast)
Definition: enhance.c:270
Definition: exception.h:102
MagickExport MagickBooleanType LevelColorsImage(Image *image, const MagickPixelPacket *black_color, const MagickPixelPacket *white_color, const MagickBooleanType invert)
Definition: enhance.c:3301
PixelIntensityMethod
Definition: pixel.h:67
MagickExport MagickBooleanType HaldClutImageChannel(Image *image, const ChannelType channel, const Image *hald_image)
Definition: enhance.c:2635
MagickExport MagickBooleanType ContrastStretchImage(Image *image, const char *levels)
Definition: enhance.c:1092
MagickExport MagickBooleanType BrightnessContrastImageChannel(Image *image, const ChannelType channel, const double brightness, const double contrast)
Definition: enhance.c:281
MagickExport MagickBooleanType LevelizeImageChannel(Image *image, const ChannelType channel, const double black_point, const double white_point, const double gamma)
Definition: enhance.c:3140
MagickExport MagickBooleanType ModulateImage(Image *image, const char *modulate)
Definition: enhance.c:3679
MagickExport MagickBooleanType AutoGammaImageChannel(Image *image, const ChannelType channel)
Definition: enhance.c:120
MagickExport MagickBooleanType LevelizeImage(Image *image, const double black_point, const double white_point, const double gamma)
Definition: enhance.c:3129
MagickExport MagickBooleanType NormalizeImageChannel(Image *image, const ChannelType channel)
Definition: enhance.c:4215
MagickExport MagickBooleanType LevelImage(Image *image, const char *levels)
Definition: enhance.c:2862
Definition: image.h:152
MagickExport MagickBooleanType LevelImageChannel(Image *image, const ChannelType channel, const double black_point, const double white_point, const double gamma)
Definition: enhance.c:2961
MagickExport MagickBooleanType NegateImageChannel(Image *image, const ChannelType channel, const MagickBooleanType grayscale)
Definition: enhance.c:3983
MagickExport MagickBooleanType SigmoidalContrastImage(Image *image, const MagickBooleanType sharpen, const char *levels)
Definition: enhance.c:4354
MagickExport MagickBooleanType EqualizeImage(Image *image)
Definition: enhance.c:1781
MagickBooleanType
Definition: magick-type.h:198
MagickExport Image * EnhanceImage(const Image *image, ExceptionInfo *exception)
Definition: enhance.c:1580
MagickExport MagickBooleanType SigmoidalContrastImageChannel(Image *image, const ChannelType channel, const MagickBooleanType sharpen, const double contrast, const double midpoint)
Definition: enhance.c:4376
MagickExport MagickBooleanType HaldClutImage(Image *image, const Image *hald_image)
Definition: enhance.c:2629
Definition: pixel.h:104
MagickExport MagickBooleanType NormalizeImage(Image *image)
Definition: enhance.c:4206
MagickExport MagickBooleanType ColorDecisionListImage(Image *image, const char *color_correction_collection)
Definition: enhance.c:357
MagickExport MagickBooleanType ContrastImage(Image *image, const MagickBooleanType sharpen)
Definition: enhance.c:944
MagickExport MagickBooleanType EqualizeImageChannel(Image *image, const ChannelType channel)
Definition: enhance.c:1786
MagickExport MagickBooleanType AutoLevelImageChannel(Image *image, const ChannelType channel)
Definition: enhance.c:226
ChannelType
Definition: magick-type.h:164
MagickExport MagickBooleanType ContrastStretchImageChannel(Image *image, const ChannelType channel, const double black_point, const double white_point)
Definition: enhance.c:1130
MagickExport MagickBooleanType ClutImage(Image *image, const Image *clut_image)
Definition: enhance.c:739
MagickExport MagickBooleanType LinearStretchImage(Image *image, const double black_point, const double white_point)
Definition: enhance.c:3403
MagickExport MagickBooleanType GammaImage(Image *image, const char *level)
Definition: enhance.c:2126
MagickExport MagickBooleanType LevelColorsImageChannel(Image *image, const ChannelType channel, const MagickPixelPacket *black_color, const MagickPixelPacket *white_color, const MagickBooleanType invert)
Definition: enhance.c:3313
MagickExport MagickBooleanType GrayscaleImage(Image *image, const PixelIntensityMethod method)
Definition: enhance.c:2408
MagickExport MagickBooleanType NegateImage(Image *image, const MagickBooleanType grayscale)
Definition: enhance.c:3973
MagickExport MagickBooleanType AutoGammaImage(Image *image)
Definition: enhance.c:115
#define MagickExport
Definition: method-attribute.h:80
MagickExport MagickBooleanType GammaImageChannel(Image *image, const ChannelType channel, const double gamma)
Definition: enhance.c:2168
MagickExport MagickBooleanType ClutImageChannel(Image *image, const ChannelType channel, const Image *clut_image)
Definition: enhance.c:744