MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
morphology.h File Reference
Include dependency graph for morphology.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _KernelInfo
 

Typedefs

typedef struct _KernelInfo KernelInfo
 

Enumerations

enum  KernelInfoType {
  UndefinedKernel , UnityKernel , GaussianKernel , DoGKernel ,
  LoGKernel , BlurKernel , CometKernel , BinomialKernel ,
  LaplacianKernel , SobelKernel , FreiChenKernel , RobertsKernel ,
  PrewittKernel , CompassKernel , KirschKernel , DiamondKernel ,
  SquareKernel , RectangleKernel , OctagonKernel , DiskKernel ,
  PlusKernel , CrossKernel , RingKernel , PeaksKernel ,
  EdgesKernel , CornersKernel , DiagonalsKernel , LineEndsKernel ,
  LineJunctionsKernel , RidgesKernel , ConvexHullKernel , ThinSEKernel ,
  SkeletonKernel , ChebyshevKernel , ManhattanKernel , OctagonalKernel ,
  EuclideanKernel , UserDefinedKernel
}
 
enum  MorphologyMethod {
  UndefinedMorphology , ConvolveMorphology , CorrelateMorphology , ErodeMorphology ,
  DilateMorphology , ErodeIntensityMorphology , DilateIntensityMorphology , IterativeDistanceMorphology ,
  OpenMorphology , CloseMorphology , OpenIntensityMorphology , CloseIntensityMorphology ,
  SmoothMorphology , EdgeInMorphology , EdgeOutMorphology , EdgeMorphology ,
  TopHatMorphology , BottomHatMorphology , HitAndMissMorphology , ThinningMorphology ,
  ThickenMorphology , DistanceMorphology , VoronoiMorphology
}
 

Functions

MagickExport KernelInfoAcquireKernelInfo (const char *, ExceptionInfo *)
 
MagickExport KernelInfoAcquireKernelBuiltIn (const KernelInfoType, const GeometryInfo *, ExceptionInfo *)
 
MagickExport KernelInfoCloneKernelInfo (const KernelInfo *)
 
MagickExport KernelInfoDestroyKernelInfo (KernelInfo *)
 
MagickExport ImageMorphologyImage (const Image *, const MorphologyMethod, const ssize_t, const KernelInfo *, ExceptionInfo *)
 
MagickExport void ScaleGeometryKernelInfo (KernelInfo *, const char *)
 
MagickExport void ScaleKernelInfo (KernelInfo *, const double, const GeometryFlags)
 
MagickExport void UnityAddKernelInfo (KernelInfo *, const double)
 

Typedef Documentation

◆ KernelInfo

typedef struct _KernelInfo KernelInfo

Enumeration Type Documentation

◆ KernelInfoType

Enumerator
UndefinedKernel 
UnityKernel 
GaussianKernel 
DoGKernel 
LoGKernel 
BlurKernel 
CometKernel 
BinomialKernel 
LaplacianKernel 
SobelKernel 
FreiChenKernel 
RobertsKernel 
PrewittKernel 
CompassKernel 
KirschKernel 
DiamondKernel 
SquareKernel 
RectangleKernel 
OctagonKernel 
DiskKernel 
PlusKernel 
CrossKernel 
RingKernel 
PeaksKernel 
EdgesKernel 
CornersKernel 
DiagonalsKernel 
LineEndsKernel 
LineJunctionsKernel 
RidgesKernel 
ConvexHullKernel 
ThinSEKernel 
SkeletonKernel 
ChebyshevKernel 
ManhattanKernel 
OctagonalKernel 
EuclideanKernel 
UserDefinedKernel 

Definition at line 27 of file morphology.h.

◆ MorphologyMethod

Enumerator
UndefinedMorphology 
ConvolveMorphology 
CorrelateMorphology 
ErodeMorphology 
DilateMorphology 
ErodeIntensityMorphology 
DilateIntensityMorphology 
IterativeDistanceMorphology 
OpenMorphology 
CloseMorphology 
OpenIntensityMorphology 
CloseIntensityMorphology 
SmoothMorphology 
EdgeInMorphology 
EdgeOutMorphology 
EdgeMorphology 
TopHatMorphology 
BottomHatMorphology 
HitAndMissMorphology 
ThinningMorphology 
ThickenMorphology 
DistanceMorphology 
VoronoiMorphology 

Definition at line 69 of file morphology.h.

Function Documentation

◆ AcquireKernelBuiltIn()

MagickExport KernelInfo * AcquireKernelBuiltIn ( const  KernelInfoType,
const GeometryInfo ,
ExceptionInfo  
)

◆ AcquireKernelInfo()

MagickExport KernelInfo * AcquireKernelInfo ( const char *  ,
ExceptionInfo  
)

◆ CloneKernelInfo()

MagickExport KernelInfo * CloneKernelInfo ( const KernelInfo )

◆ DestroyKernelInfo()

◆ MorphologyImage()

◆ ScaleGeometryKernelInfo()

MagickExport void ScaleGeometryKernelInfo ( KernelInfo ,
const char *   
)

◆ ScaleKernelInfo()

MagickExport void ScaleKernelInfo ( KernelInfo ,
const double  ,
const  GeometryFlags 
)

◆ UnityAddKernelInfo()

MagickExport void UnityAddKernelInfo ( KernelInfo kernel,
const double  scale 
)