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 ssize_t,
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),
47 BilevelImageChannel(Image *,
const ChannelType,
const double),
48 BlackThresholdImage(Image *,
const char *),
49 BlackThresholdImageChannel(Image *,
const ChannelType,
const char *,
52 ClampImageChannel(Image *,
const ChannelType),
53 ListThresholdMaps(FILE *,ExceptionInfo *),
54 OrderedDitherImage(Image *),
55 OrderedDitherImageChannel(Image *,
const ChannelType,ExceptionInfo *),
56 OrderedPosterizeImage(Image *,
const char *,ExceptionInfo *),
57 OrderedPosterizeImageChannel(Image *,
const ChannelType,
const char *,
59 PerceptibleImage(Image *,
const double),
60 PerceptibleImageChannel(Image *,
const ChannelType,
const double),
61 RandomThresholdImage(Image *,
const char *,ExceptionInfo *),
62 RandomThresholdImageChannel(Image *,
const ChannelType,
const char *,
64 WhiteThresholdImage(Image *,
const char *),
65 WhiteThresholdImageChannel(Image *,
const ChannelType,
const char *,
68#if defined(__cplusplus) || defined(c_plusplus)