File indexing completed on 2025-01-18 10:01:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef MAGICKCORE_THRESHOLD_H
0019 #define MAGICKCORE_THRESHOLD_H
0020
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024
0025 typedef enum
0026 {
0027 UndefinedThresholdMethod,
0028 KapurThresholdMethod,
0029 OTSUThresholdMethod,
0030 TriangleThresholdMethod
0031 } AutoThresholdMethod;
0032
0033 typedef struct _ThresholdMap
0034 ThresholdMap;
0035
0036 extern MagickExport Image
0037 *AdaptiveThresholdImage(const Image *,const size_t,const size_t,const double,
0038 ExceptionInfo *);
0039
0040 extern MagickExport ThresholdMap
0041 *DestroyThresholdMap(ThresholdMap *),
0042 *GetThresholdMap(const char *,ExceptionInfo *);
0043
0044 extern MagickExport MagickBooleanType
0045 AutoThresholdImage(Image *,const AutoThresholdMethod,ExceptionInfo *),
0046 BilevelImage(Image *,const double,ExceptionInfo *),
0047 BlackThresholdImage(Image *,const char *,ExceptionInfo *),
0048 ClampImage(Image *,ExceptionInfo *),
0049 ColorThresholdImage(Image *,const PixelInfo *,const PixelInfo *,
0050 ExceptionInfo *),
0051 ListThresholdMaps(FILE *,ExceptionInfo *),
0052 OrderedDitherImage(Image *,const char *,ExceptionInfo *),
0053 PerceptibleImage(Image *,const double,ExceptionInfo *),
0054 RandomThresholdImage(Image *,const double,const double,ExceptionInfo *),
0055 RangeThresholdImage(Image *,const double,const double,const double,
0056 const double,ExceptionInfo *),
0057 WhiteThresholdImage(Image *,const char *,ExceptionInfo *);
0058
0059 #if defined(__cplusplus) || defined(c_plusplus)
0060 }
0061 #endif
0062
0063 #endif