18#ifndef MAGICKCORE_THRESHOLD_H
19#define MAGICKCORE_THRESHOLD_H
21#if defined(__cplusplus) || defined(c_plusplus)
27 UndefinedThresholdMethod,
30 TriangleThresholdMethod
36extern MagickExport Image
37 *AdaptiveThresholdImage(
const Image *,
const size_t,
const size_t,
const double,
40extern MagickExport ThresholdMap
41 *DestroyThresholdMap(ThresholdMap *),
42 *GetThresholdMap(
const char *,ExceptionInfo *);
44extern MagickExport MagickBooleanType
45 AutoThresholdImage(Image *,
const AutoThresholdMethod,ExceptionInfo *),
46 BilevelImage(Image *,
const double,ExceptionInfo *),
47 BlackThresholdImage(Image *,
const char *,ExceptionInfo *),
48 ClampImage(Image *,ExceptionInfo *),
49 ColorThresholdImage(Image *,
const PixelInfo *,
const PixelInfo *,
51 ListThresholdMaps(FILE *,ExceptionInfo *),
52 OrderedDitherImage(Image *,
const char *,ExceptionInfo *),
53 PerceptibleImage(Image *,
const double,ExceptionInfo *),
54 RandomThresholdImage(Image *,
const double,
const double,ExceptionInfo *),
55 RangeThresholdImage(Image *,
const double,
const double,
const double,
56 const double,ExceptionInfo *),
57 WhiteThresholdImage(Image *,
const char *,ExceptionInfo *);
59#if defined(__cplusplus) || defined(c_plusplus)