MagickCore  7.0.3
morphology.c File Reference
Include dependency graph for morphology.c:

Go to the source code of this file.

Macros

#define Minimize(assign, value)   assign=MagickMin(assign,value)
 
#define Maximize(assign, value)   assign=MagickMax(assign,value)
 
#define KernelRank   3
 
#define KernelRank   3
 
#define MorphologyTag   "Morphology/Image"
 

Functions

static size_t fact (size_t n)
 
static void CalcKernelMetaData (KernelInfo *)
 
static void ExpandMirrorKernelInfo (KernelInfo *)
 
static void ExpandRotateKernelInfo (KernelInfo *, const double)
 
static void RotateKernelInfo (KernelInfo *, double)
 
static KernelInfoLastKernelInfo (KernelInfo *kernel)
 
static KernelInfoParseKernelArray (const char *kernel_string)
 
static KernelInfoParseKernelName (const char *kernel_string, ExceptionInfo *exception)
 
MagickExport KernelInfoAcquireKernelInfo (const char *kernel_string, ExceptionInfo *exception)
 
MagickExport KernelInfoAcquireKernelBuiltIn (const KernelInfoType type, const GeometryInfo *args, ExceptionInfo *exception)
 
MagickExport KernelInfoCloneKernelInfo (const KernelInfo *kernel)
 
MagickExport KernelInfoDestroyKernelInfo (KernelInfo *kernel)
 
static MagickBooleanType SameKernelInfo (const KernelInfo *kernel1, const KernelInfo *kernel2)
 
static ssize_t MorphologyPrimitive (const Image *image, Image *morphology_image, const MorphologyMethod method, const KernelInfo *kernel, const double bias, ExceptionInfo *exception)
 
static ssize_t MorphologyPrimitiveDirect (Image *image, const MorphologyMethod method, const KernelInfo *kernel, ExceptionInfo *exception)
 
MagickPrivate ImageMorphologyApply (const Image *image, const MorphologyMethod method, const ssize_t iterations, const KernelInfo *kernel, const CompositeOperator compose, const double bias, ExceptionInfo *exception)
 
MagickExport ImageMorphologyImage (const Image *image, const MorphologyMethod method, const ssize_t iterations, const KernelInfo *kernel, ExceptionInfo *exception)
 
MagickExport void ScaleGeometryKernelInfo (KernelInfo *kernel, const char *geometry)
 
MagickExport void ScaleKernelInfo (KernelInfo *kernel, const double scaling_factor, const GeometryFlags normalize_flags)
 
MagickPrivate void ShowKernelInfo (const KernelInfo *kernel)
 
MagickExport void UnityAddKernelInfo (KernelInfo *kernel, const double scale)
 
MagickPrivate void ZeroKernelNans (KernelInfo *kernel)
 

Macro Definition Documentation

#define KernelRank   3

Referenced by AcquireKernelBuiltIn().

#define KernelRank   3
#define Maximize (   assign,
  value 
)    assign=MagickMax(assign,value)

Definition at line 93 of file morphology.c.

Referenced by CalcKernelMetaData(), and ParseKernelArray().

#define Minimize (   assign,
  value 
)    assign=MagickMin(assign,value)

Definition at line 92 of file morphology.c.

Referenced by CalcKernelMetaData(), and ParseKernelArray().

#define MorphologyTag   "Morphology/Image"

Function Documentation

MagickExport KernelInfo* AcquireKernelBuiltIn ( const KernelInfoType  type,
const GeometryInfo args,
ExceptionInfo exception 
)
static void ExpandMirrorKernelInfo ( KernelInfo kernel)
static void ExpandRotateKernelInfo ( KernelInfo kernel,
const double  angle 
)
static size_t fact ( size_t  n)
inlinestatic

Definition at line 97 of file morphology.c.

Referenced by AcquireKernelBuiltIn().

static KernelInfo* LastKernelInfo ( KernelInfo kernel)
inlinestatic
static MagickBooleanType SameKernelInfo ( const KernelInfo kernel1,
const KernelInfo kernel2 
)
static
MagickExport void UnityAddKernelInfo ( KernelInfo kernel,
const double  scale 
)
MagickPrivate void ZeroKernelNans ( KernelInfo kernel)