MagickCore  6.9.10
Convert, Edit, Or Compose Bitmap Images
threshold.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2019 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.
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 threshold methods.
17 */
18 #ifndef MAGICKCORE_THRESHOLD_H
19 #define MAGICKCORE_THRESHOLD_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 typedef enum
26 {
32 
33 typedef struct _ThresholdMap
35 
36 extern MagickExport Image
37  *AdaptiveThresholdImage(const Image *,const size_t,const size_t,const ssize_t,
38  ExceptionInfo *);
39 
42  *GetThresholdMap(const char *,ExceptionInfo *);
43 
46  BilevelImage(Image *,const double),
47  BilevelImageChannel(Image *,const ChannelType,const double),
48  BlackThresholdImage(Image *,const char *),
49  BlackThresholdImageChannel(Image *,const ChannelType,const char *,
50  ExceptionInfo *),
51  ClampImage(Image *),
54  OrderedDitherImage(Image *), /* deprecated */
56  OrderedPosterizeImage(Image *,const char *,ExceptionInfo *),
57  OrderedPosterizeImageChannel(Image *,const ChannelType,const char *,
58  ExceptionInfo *),
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 *,
63  ExceptionInfo *),
64  WhiteThresholdImage(Image *,const char *),
65  WhiteThresholdImageChannel(Image *,const ChannelType,const char *,
66  ExceptionInfo *);
67 
68 #if defined(__cplusplus) || defined(c_plusplus)
69 }
70 #endif
71 
72 #endif
_Image::colorspace
ColorspaceType colorspace
Definition: image.h:158
_ThresholdMap::map_id
char * map_id
Definition: threshold.c:99
PerceptibleImage
MagickExport MagickBooleanType PerceptibleImage(Image *, const double)
QuantumScale
#define QuantumScale
Definition: magick-type.h:120
RandomThresholdImage
MagickExport MagickBooleanType RandomThresholdImage(Image *, const char *, ExceptionInfo *)
MagickMinimumValue
#define MagickMinimumValue
Definition: magick-type.h:117
MagickExport
#define MagickExport
Definition: method-attribute.h:80
_Image::debug
MagickBooleanType debug
Definition: image.h:290
_Image::filename
char filename[MaxTextExtent]
Definition: image.h:278
KapurThreshold
static double KapurThreshold(const Image *image, const double *histogram, ExceptionInfo *exception)
Definition: threshold.c:398
_Image::progress_monitor
MagickProgressMonitor progress_monitor
Definition: image.h:264
PerceptibleImageChannel
MagickExport MagickBooleanType PerceptibleImageChannel(Image *image, const ChannelType channel, const double epsilon)
Definition: threshold.c:2124
CloneImage
MagickExport Image * CloneImage(const Image *image, const size_t columns, const size_t rows, const MagickBooleanType detach, ExceptionInfo *exception)
Definition: image.c:788
TransparentOpacity
#define TransparentOpacity
Definition: image.h:28
_Image::matte
MagickBooleanType matte
Definition: image.h:171
SetImageProgress
MagickExport MagickBooleanType SetImageProgress(const Image *image, const char *tag, const MagickOffsetType offset, const MagickSizeType extent)
Definition: monitor.c:136
OpaqueOpacity
#define OpaqueOpacity
Definition: image.h:27
PsiValue
@ PsiValue
Definition: geometry.h:34
AcquireRandomInfoThreadSet
static RandomInfo ** AcquireRandomInfoThreadSet(void)
Definition: random-private.h:40
SyncChannels
@ SyncChannels
Definition: magick-type.h:180
_MagickPixelPacket::red
MagickRealType red
Definition: pixel.h:122
DirectClass
@ DirectClass
Definition: magick-type.h:187
BlueChannel
@ BlueChannel
Definition: magick-type.h:165
threshold.h
GetMagickModule
#define GetMagickModule()
Definition: log.h:29
DestroyCacheView
MagickExport CacheView * DestroyCacheView(CacheView *cache_view)
Definition: cache-view.c:256
GetMagickPixelPacket
MagickExport void GetMagickPixelPacket(const Image *image, MagickPixelPacket *pixel)
Definition: pixel.c:2242
MagickStatusType
unsigned int MagickStatusType
Definition: magick-type.h:127
RedChannel
@ RedChannel
Definition: magick-type.h:160
_GeometryInfo::psi
double psi
Definition: geometry.h:111
SetPixelOpacity
#define SetPixelOpacity(pixel, value)
Definition: pixel-accessor.h:81
ChannelType
ChannelType
Definition: magick-type.h:157
XiValue
@ XiValue
Definition: geometry.h:31
geometry.h
WhiteThresholdImageChannel
MagickExport MagickBooleanType WhiteThresholdImageChannel(Image *image, const ChannelType channel, const char *thresholds, ExceptionInfo *exception)
Definition: threshold.c:2615
MagickCoreSignature
#define MagickCoreSignature
Definition: method-attribute.h:86
TriangleThresholdMethod
@ TriangleThresholdMethod
Definition: threshold.h:30
BilevelImage
MagickExport MagickBooleanType BilevelImage(Image *image, const double threshold)
Definition: threshold.c:813
FormatLocaleString
MagickExport ssize_t FormatLocaleString(char *magick_restrict string, const size_t length, const char *magick_restrict format,...)
Definition: locale.c:502
BlackThresholdImage
MagickExport MagickBooleanType BlackThresholdImage(Image *image, const char *threshold)
Definition: threshold.c:972
fx.h
_ThresholdMap::height
size_t height
Definition: threshold.c:104
_ThresholdMap::levels
ssize_t * levels
Definition: threshold.c:108
IndexChannel
@ IndexChannel
Definition: magick-type.h:171
GetCacheViewAuthenticPixels
MagickExport PixelPacket * GetCacheViewAuthenticPixels(CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
Definition: cache-view.c:473
_GeometryInfo::sigma
double sigma
Definition: geometry.h:109
magick_restrict
#define magick_restrict
Definition: MagickCore.h:41
WhiteThresholdImageChannel
MagickExport MagickBooleanType WhiteThresholdImageChannel(Image *, const ChannelType, const char *, ExceptionInfo *)
Definition: threshold.c:2615
property.h
SetPixelRed
#define SetPixelRed(pixel, value)
Definition: pixel-accessor.h:82
BlackThresholdImage
MagickExport MagickBooleanType BlackThresholdImage(Image *, const char *)
SetPixelRGBO
#define SetPixelRGBO(pixel, packet)
Definition: pixel-accessor.h:96
image-private.h
OrderedDitherImage
MagickExport MagickBooleanType OrderedDitherImage(Image *image)
Definition: threshold.c:1745
monitor.h
_Image::columns
size_t columns
Definition: image.h:174
AcquireImageColormap
MagickExport MagickBooleanType AcquireImageColormap(Image *image, const size_t colors)
Definition: colormap.c:102
SetPixelGreen
#define SetPixelGreen(pixel, value)
Definition: pixel-accessor.h:77
_GeometryInfo
Definition: geometry.h:105
IndexPacket
Quantum IndexPacket
Definition: pixel.h:129
resource_.h
ListThresholdMapFile
MagickBooleanType ListThresholdMapFile(FILE *file, const char *xml, const char *filename, ExceptionInfo *exception)
Definition: threshold.c:1603
sRGBColorspace
@ sRGBColorspace
Definition: colorspace.h:40
GetCacheViewVirtualIndexQueue
const MagickExport IndexPacket * GetCacheViewVirtualIndexQueue(const CacheView *cache_view)
Definition: cache-view.c:638
_GeometryInfo::xi
double xi
Definition: geometry.h:110
GetPixelRed
#define GetPixelRed(pixel)
Definition: pixel-accessor.h:50
ResourceLimitError
@ ResourceLimitError
Definition: exception.h:55
ClampImageTag
#define ClampImageTag
BilevelImage
MagickExport MagickBooleanType BilevelImage(Image *, const double)
OrderedDitherImageChannel
MagickExport MagickBooleanType OrderedDitherImageChannel(Image *image, const ChannelType channel, ExceptionInfo *exception)
Definition: threshold.c:1754
_CacheView
Definition: cache-view.c:65
random_.h
string_.h
SetImageProperty
MagickExport MagickBooleanType SetImageProperty(Image *image, const char *property, const char *value)
Definition: property.c:4133
DestroyString
MagickExport char * DestroyString(char *string)
Definition: string.c:820
quantum.h
ChiValue
@ ChiValue
Definition: geometry.h:41
SyncImage
MagickExport MagickBooleanType SyncImage(Image *image)
Definition: image.c:3689
enhance.h
MagickTrue
@ MagickTrue
Definition: magick-type.h:194
DitherImageTag
#define DitherImageTag
blob.h
ListThresholdMaps
MagickExport MagickBooleanType ListThresholdMaps(FILE *, ExceptionInfo *)
GetPixelAlpha
#define GetPixelAlpha(pixel)
Definition: pixel-accessor.h:36
_MagickPixelPacket::index
MagickRealType index
Definition: pixel.h:126
GetPixelIndex
#define GetPixelIndex(indexes)
Definition: pixel-accessor.h:44
SyncCacheViewAuthenticPixels
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict cache_view, ExceptionInfo *exception)
Definition: cache-view.c:1000
_MagickPixelPacket::blue
MagickRealType blue
Definition: pixel.h:124
TriangleThreshold
static double TriangleThreshold(const Image *image, const double *histogram, ExceptionInfo *exception)
Definition: threshold.c:576
BlackThresholdImageChannel
MagickExport MagickBooleanType BlackThresholdImageChannel(Image *image, const ChannelType channel, const char *thresholds, ExceptionInfo *exception)
Definition: threshold.c:983
ClampToQuantum
static Quantum ClampToQuantum(const MagickRealType quantum)
Definition: quantum.h:88
ThresholdImageTag
#define ThresholdImageTag
DestroyThresholdMap
MagickExport ThresholdMap * DestroyThresholdMap(ThresholdMap *)
thread-private.h
TraceEvent
@ TraceEvent
Definition: log.h:38
AcquireMagickMemory
MagickExport void * AcquireMagickMemory(const size_t size)
Definition: memory.c:473
MaxIntensity
#define MaxIntensity
_Image::colormap
PixelPacket * colormap
Definition: image.h:180
decorate.h
_XMLTreeInfo
Definition: xml-tree.c:76
RandomThresholdImageChannel
MagickExport MagickBooleanType RandomThresholdImageChannel(Image *image, const ChannelType channel, const char *thresholds, ExceptionInfo *exception)
Definition: threshold.c:2283
_GeometryInfo::rho
double rho
Definition: geometry.h:108
FormatLocaleFile
MagickExport ssize_t FormatLocaleFile(FILE *file, const char *magick_restrict format,...)
Definition: locale.c:407
DestroyRandomInfoThreadSet
static RandomInfo ** DestroyRandomInfoThreadSet(RandomInfo **random_info)
Definition: random-private.h:27
KapurThresholdMethod
@ KapurThresholdMethod
Definition: threshold.h:28
ClampPixel
static Quantum ClampPixel(const MagickRealType value)
Definition: pixel-accessor.h:111
_Image
Definition: image.h:152
ClampImage
MagickExport MagickBooleanType ClampImage(Image *)
SetPixelAlpha
#define SetPixelAlpha(pixel, value)
Definition: pixel-accessor.h:67
_LongPixelPacket::blue
unsigned int blue
Definition: pixel.h:99
GetCacheViewAuthenticIndexQueue
MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue(CacheView *cache_view)
Definition: cache-view.c:564
BilevelImageChannel
MagickExport MagickBooleanType BilevelImageChannel(Image *, const ChannelType, const double)
ClampImage
MagickExport MagickBooleanType ClampImage(Image *image)
Definition: threshold.c:1142
AcquireAuthenticCacheView
MagickExport CacheView * AcquireAuthenticCacheView(const Image *image, ExceptionInfo *exception)
Definition: cache-view.c:111
GetRandomSecretKey
MagickExport unsigned long GetRandomSecretKey(const RandomInfo *random_info)
Definition: random.c:745
_MagickPixelPacket
Definition: pixel.h:104
_GeometryInfo::chi
double chi
Definition: geometry.h:112
AutoThresholdImage
MagickExport MagickBooleanType AutoThresholdImage(Image *image, const AutoThresholdMethod method, ExceptionInfo *exception)
Definition: threshold.c:668
OrderedPosterizeImageChannel
MagickExport MagickBooleanType OrderedPosterizeImageChannel(Image *image, const ChannelType channel, const char *threshold_map, ExceptionInfo *exception)
Definition: threshold.c:1830
ConfigureEvent
@ ConfigureEvent
Definition: log.h:43
IsMagickGray
static MagickBooleanType IsMagickGray(const MagickPixelPacket *pixel)
Definition: color-private.h:91
LocaleCompare
MagickExport int LocaleCompare(const char *p, const char *q)
Definition: locale.c:1440
_LongPixelPacket::index
unsigned int index
Definition: pixel.h:101
OpacityChannel
@ OpacityChannel
Definition: magick-type.h:168
_Image::colors
size_t colors
Definition: image.h:177
ListThresholdMaps
MagickExport MagickBooleanType ListThresholdMaps(FILE *file, ExceptionInfo *exception)
Definition: threshold.c:1681
AdaptiveThresholdImage
MagickExport Image * AdaptiveThresholdImage(const Image *image, const size_t width, const size_t height, const ssize_t offset, ExceptionInfo *exception)
Definition: threshold.c:168
quantize.h
_Image::exception
ExceptionInfo exception
Definition: image.h:287
OptionError
@ OptionError
Definition: exception.h:57
resize.h
OTSUThresholdMethod
@ OTSUThresholdMethod
Definition: threshold.h:29
_LinkedListInfo
Definition: hashmap.c:77
SetPixelBlue
#define SetPixelBlue(pixel, value)
Definition: pixel-accessor.h:71
MagickFalse
@ MagickFalse
Definition: magick-type.h:193
MagickProgressMonitor
MagickBooleanType(* MagickProgressMonitor)(const char *, const MagickOffsetType, const MagickSizeType, void *)
Definition: monitor.h:26
NewXMLTree
MagickExport XMLTreeInfo * NewXMLTree(const char *xml, ExceptionInfo *exception)
Definition: xml-tree.c:1950
xml-tree.h
GetPixelBlue
#define GetPixelBlue(pixel)
Definition: pixel-accessor.h:38
ThresholdsFilename
#define ThresholdsFilename
Definition: threshold.c:91
pixel-private.h
OTSUThreshold
static double OTSUThreshold(const Image *image, const double *histogram, ExceptionInfo *exception)
Definition: threshold.c:497
_ThresholdMap::divisor
ssize_t divisor
Definition: threshold.c:107
PerceptibleThreshold
static Quantum PerceptibleThreshold(const Quantum quantum, const double epsilon)
Definition: threshold.c:2102
GetPixelOpacity
#define GetPixelOpacity(pixel)
Definition: pixel-accessor.h:49
UndefinedThresholdMethod
@ UndefinedThresholdMethod
Definition: threshold.h:27
AutoThresholdImage
MagickExport MagickBooleanType AutoThresholdImage(Image *, const AutoThresholdMethod, ExceptionInfo *)
DefaultChannels
@ DefaultChannels
Definition: magick-type.h:181
DestroyXMLTree
MagickExport XMLTreeInfo * DestroyXMLTree(XMLTreeInfo *xml_info)
Definition: xml-tree.c:557
ParseGeometry
MagickExport MagickStatusType ParseGeometry(const char *geometry, GeometryInfo *geometry_info)
Definition: geometry.c:857
color-private.h
GetThresholdMap
MagickExport ThresholdMap * GetThresholdMap(const char *map_id, ExceptionInfo *exception)
Definition: threshold.c:1544
draw.h
GetNextXMLTreeTag
MagickExport XMLTreeInfo * GetNextXMLTreeTag(XMLTreeInfo *xml_info)
Definition: xml-tree.c:743
PerceptibleReciprocal
static double PerceptibleReciprocal(const double x)
Definition: pixel-accessor.h:124
QuantumRange
#define QuantumRange
Definition: magick-type.h:86
CMYKColorspace
@ CMYKColorspace
Definition: colorspace.h:39
PerceptibleImage
MagickExport MagickBooleanType PerceptibleImage(Image *image, const double epsilon)
Definition: threshold.c:2114
RandomThresholdImage
MagickExport MagickBooleanType RandomThresholdImage(Image *image, const char *thresholds, ExceptionInfo *exception)
Definition: threshold.c:2272
_Image::rows
size_t rows
Definition: image.h:175
GetCacheViewVirtualPixels
const MagickExport PixelPacket * GetCacheViewVirtualPixels(const CacheView *cache_view, const ssize_t x, const ssize_t y, const size_t columns, const size_t rows, ExceptionInfo *exception)
Definition: cache-view.c:723
cache-view.h
RandomThresholdImageChannel
MagickExport MagickBooleanType RandomThresholdImageChannel(Image *, const ChannelType, const char *, ExceptionInfo *)
_ExceptionInfo::signature
size_t signature
Definition: exception.h:124
colorspace.h
log.h
GetThresholdMap
MagickExport ThresholdMap * GetThresholdMap(const char *, ExceptionInfo *)
Definition: threshold.c:1544
ConstantString
MagickExport char * ConstantString(const char *source)
Definition: string.c:697
constitute.h
_Image::signature
size_t signature
Definition: image.h:307
MagickBooleanType
MagickBooleanType
Definition: magick-type.h:191
MinimalThresholdMap
static const char * MinimalThresholdMap
Definition: threshold.c:115
GetPseudoRandomValue
MagickExport double GetPseudoRandomValue(RandomInfo *random_info)
Definition: random.c:612
PercentValue
@ PercentValue
Definition: geometry.h:49
GetNextValueInLinkedList
MagickExport void * GetNextValueInLinkedList(LinkedListInfo *list_info)
Definition: hashmap.c:606
RelinquishMagickMemory
MagickExport void * RelinquishMagickMemory(void *memory)
Definition: memory.c:1077
random_info
static RandomInfo * random_info
Definition: resource.c:110
_LongPixelPacket::red
unsigned int red
Definition: pixel.h:97
_ExceptionInfo
Definition: exception.h:102
SetPixelIndex
#define SetPixelIndex(indexes, value)
Definition: pixel-accessor.h:78
studio.h
_Image::storage_class
ClassType storage_class
Definition: image.h:155
OrderedDitherImageChannel
MagickExport MagickBooleanType OrderedDitherImageChannel(Image *, const ChannelType, ExceptionInfo *)
StringToLong
static long StringToLong(const char *magick_restrict value)
Definition: string-private.h:68
effect.h
montage.h
MagickRealType
MagickDoubleType MagickRealType
Definition: magick-type.h:125
monitor-private.h
BlackThresholdImageChannel
MagickExport MagickBooleanType BlackThresholdImageChannel(Image *, const ChannelType, const char *, ExceptionInfo *)
CompositeChannels
@ CompositeChannels
Definition: magick-type.h:172
shear.h
AdaptiveThresholdImage
MagickExport Image * AdaptiveThresholdImage(const Image *, const size_t, const size_t, const ssize_t, ExceptionInfo *)
Definition: threshold.c:168
AcquireVirtualCacheView
MagickExport CacheView * AcquireVirtualCacheView(const Image *image, ExceptionInfo *exception)
Definition: cache-view.c:153
PseudoClass
@ PseudoClass
Definition: magick-type.h:188
DestroyImage
MagickExport Image * DestroyImage(Image *image)
Definition: image.c:1187
transform.h
PerceptibleImageChannel
MagickExport MagickBooleanType PerceptibleImageChannel(Image *, const ChannelType, const double)
GetThresholdMapFile
MagickExport ThresholdMap * GetThresholdMapFile(const char *xml, const char *filename, const char *map_id, ExceptionInfo *exception)
Definition: threshold.c:1326
OrderedPosterizeImage
MagickExport MagickBooleanType OrderedPosterizeImage(Image *image, const char *threshold_map, ExceptionInfo *exception)
Definition: threshold.c:1819
ClampImageChannel
MagickExport MagickBooleanType ClampImageChannel(Image *, const ChannelType)
memory_.h
SigmaValue
@ SigmaValue
Definition: geometry.h:40
GetStringInfoDatum
MagickExport unsigned char * GetStringInfoDatum(const StringInfo *string_info)
Definition: string.c:1275
signature-private.h
AutoThresholdMethod
AutoThresholdMethod
Definition: threshold.h:25
color.h
GetStringInfoPath
const MagickExport char * GetStringInfoPath(const StringInfo *string_info)
Definition: string.c:1362
exception-private.h
ThrowMagickException
MagickExport MagickBooleanType ThrowMagickException(ExceptionInfo *exception, const char *module, const char *function, const size_t line, const ExceptionType severity, const char *tag, const char *format,...)
Definition: exception.c:1068
ThrowFatalException
#define ThrowFatalException(severity, tag)
Definition: exception-private.h:42
WhiteThresholdImage
MagickExport MagickBooleanType WhiteThresholdImage(Image *, const char *)
exception.h
GetPixelIntensity
MagickExport MagickRealType GetPixelIntensity(const Image *image, const PixelPacket *magick_restrict pixel)
Definition: pixel.c:2301
OrderedPosterizeImageChannel
MagickExport MagickBooleanType OrderedPosterizeImageChannel(Image *, const ChannelType, const char *, ExceptionInfo *)
option.h
GetConfigureOptions
MagickExport LinkedListInfo * GetConfigureOptions(const char *filename, ExceptionInfo *exception)
Definition: configure.c:653
OrderedDitherImage
MagickExport MagickBooleanType OrderedDitherImage(Image *)
ClampImageChannel
MagickExport MagickBooleanType ClampImageChannel(Image *image, const ChannelType channel)
Definition: threshold.c:1151
SetImageStorageClass
MagickExport MagickBooleanType SetImageStorageClass(Image *image, const ClassType storage_class)
Definition: image.c:2610
GetXMLTreeAttribute
const MagickExport char * GetXMLTreeAttribute(XMLTreeInfo *xml_info, const char *tag)
Definition: xml-tree.c:778
GetPixelGreen
#define GetPixelGreen(pixel)
Definition: pixel-accessor.h:43
random-private.h
DestroyThresholdMap
MagickExport ThresholdMap * DestroyThresholdMap(ThresholdMap *map)
Definition: threshold.c:1283
DestroyConfigureOptions
MagickExport LinkedListInfo * DestroyConfigureOptions(LinkedListInfo *options)
Definition: configure.c:325
list.h
gem.h
LogMagickEvent
MagickExport MagickBooleanType LogMagickEvent(const LogEventType type, const char *module, const char *function, const size_t line, const char *format,...)
Definition: log.c:1399
BilevelImageChannel
MagickExport MagickBooleanType BilevelImageChannel(Image *image, const ChannelType channel, const double threshold)
Definition: threshold.c:822
MaxTextExtent
#define MaxTextExtent
Definition: method-attribute.h:89
_LongPixelPacket::green
unsigned int green
Definition: pixel.h:98
string-private.h
colorspace-private.h
_LongPixelPacket::opacity
unsigned int opacity
Definition: pixel.h:100
GetXMLTreeChild
MagickExport XMLTreeInfo * GetXMLTreeChild(XMLTreeInfo *xml_info, const char *tag)
Definition: xml-tree.c:895
InheritException
MagickExport void InheritException(ExceptionInfo *exception, const ExceptionInfo *relative)
Definition: exception.c:633
_ThresholdMap::description
char * description
Definition: threshold.c:100
ResourceLimitFatalError
@ ResourceLimitFatalError
Definition: exception.h:78
OrderedPosterizeImage
MagickExport MagickBooleanType OrderedPosterizeImage(Image *, const char *, ExceptionInfo *)
segment.h
WhiteThresholdImage
MagickExport MagickBooleanType WhiteThresholdImage(Image *image, const char *threshold)
Definition: threshold.c:2604
_MagickPixelPacket::opacity
MagickRealType opacity
Definition: pixel.h:125
_MagickPixelPacket::green
MagickRealType green
Definition: pixel.h:123
_ThresholdMap
Definition: threshold.c:96
GreenChannel
@ GreenChannel
Definition: magick-type.h:163
_StringInfo
Definition: string_.h:29
_ThresholdMap::width
size_t width
Definition: threshold.c:103
GetXMLTreeContent
const MagickExport char * GetXMLTreeContent(XMLTreeInfo *xml_info)
Definition: xml-tree.c:935
_PixelPacket
Definition: pixel.h:131
ThrowBinaryException
#define ThrowBinaryException(severity, tag, context)
Definition: exception-private.h:29
_LongPixelPacket
Definition: pixel.h:94
PerceptibleImageTag
#define PerceptibleImageTag
IsGrayColorspace
static MagickBooleanType IsGrayColorspace(const ColorspaceType colorspace)
Definition: colorspace-private.h:96
_RandomInfo
Definition: random.c:76
AcquireQuantumMemory
MagickExport void * AcquireQuantumMemory(const size_t count, const size_t quantum)
Definition: memory.c:544
Quantum
unsigned short Quantum
Definition: magick-type.h:85
configure.h
MagickOffsetType
ssize_t MagickOffsetType
Definition: magick-type.h:135
StringToUnsignedLong
static unsigned long StringToUnsignedLong(const char *magick_restrict value)
Definition: string-private.h:73
GetOpenMPThreadId
static int GetOpenMPThreadId(void)
Definition: thread-private.h:120
colormap.h
MagickPathExtent
#define MagickPathExtent
Definition: magick-type.h:31
SetImageColorspace
MagickExport MagickBooleanType SetImageColorspace(Image *image, const ColorspaceType colorspace)
Definition: colorspace.c:1189