00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef MAGICKCORE_THRESHOLD_H
00019 #define MAGICKCORE_THRESHOLD_H
00020
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024
00025 typedef enum
00026 {
00027 UndefinedThresholdMethod,
00028 KapurThresholdMethod,
00029 OTSUThresholdMethod,
00030 TriangleThresholdMethod
00031 } AutoThresholdMethod;
00032
00033 typedef struct _ThresholdMap
00034 ThresholdMap;
00035
00036 extern MagickExport Image
00037 *AdaptiveThresholdImage(const Image *,const size_t,const size_t,const double,
00038 ExceptionInfo *);
00039
00040 extern MagickExport ThresholdMap
00041 *DestroyThresholdMap(ThresholdMap *),
00042 *GetThresholdMap(const char *,ExceptionInfo *);
00043
00044 extern MagickExport MagickBooleanType
00045 AutoThresholdImage(Image *,const AutoThresholdMethod,ExceptionInfo *),
00046 BilevelImage(Image *,const double,ExceptionInfo *),
00047 BlackThresholdImage(Image *,const char *,ExceptionInfo *),
00048 ClampImage(Image *,ExceptionInfo *),
00049 ListThresholdMaps(FILE *,ExceptionInfo *),
00050 OrderedDitherImage(Image *,const char *,ExceptionInfo *),
00051 PerceptibleImage(Image *,const double,ExceptionInfo *),
00052 RandomThresholdImage(Image *,const double,const double,ExceptionInfo *),
00053 RangeThresholdImage(Image *,const double,const double,const double,
00054 const double,ExceptionInfo *),
00055 WhiteThresholdImage(Image *,const char *,ExceptionInfo *);
00056
00057 #if defined(__cplusplus) || defined(c_plusplus)
00058 }
00059 #endif
00060
00061 #endif