MagickCore  6.9.10
Convert, Edit, Or Compose Bitmap Images
vision.c File Reference
Include dependency graph for vision.c:

Data Structures

struct  _CCObjectInfo
 

Macros

#define ConnectedComponentsImageTag   "ConnectedComponents/Image"
 

Typedefs

typedef struct _CCObjectInfo CCObjectInfo
 

Functions

static int CCObjectInfoCompare (const void *x, const void *y)
 
MagickExport ImageConnectedComponentsImage (const Image *image, const size_t connectivity, ExceptionInfo *exception)
 

Macro Definition Documentation

◆ ConnectedComponentsImageTag

#define ConnectedComponentsImageTag   "ConnectedComponents/Image"

Typedef Documentation

◆ CCObjectInfo

typedef struct _CCObjectInfo CCObjectInfo

Function Documentation

◆ CCObjectInfoCompare()

static int CCObjectInfoCompare ( const void *  x,
const void *  y 
)
static

References _CCObjectInfo::area.

Referenced by ConnectedComponentsImage().

◆ ConnectedComponentsImage()

MagickExport Image* ConnectedComponentsImage ( const Image image,
const size_t  connectivity,
ExceptionInfo exception 
)

References AcquireAuthenticCacheView(), AcquireImageColormap(), AcquireMatrixInfo(), AcquireQuantumMemory(), AcquireVirtualCacheView(), _CCObjectInfo::area, _MagickPixelPacket::blue, _PixelPacket::blue, _CCObjectInfo::bounding_box, CCObjectInfoCompare(), _CCObjectInfo::census, ClampToQuantum(), CloneImage(), CMYKColorspace, _CCObjectInfo::color, _Image::colormap, _Image::colors, _Image::colorspace, _Image::columns, ConnectedComponentsImageTag, _Image::debug, _Image::depth, DestroyCacheView(), DestroyImage(), DestroyMatrixInfo(), _Image::filename, GetCacheViewAuthenticIndexQueue(), GetCacheViewAuthenticPixels(), GetCacheViewVirtualIndexQueue(), GetCacheViewVirtualPixels(), GetColorTuple(), GetImageArtifact(), GetMagickModule, GetMagickPixelPacket(), GetMatrixElement(), _MagickPixelPacket::green, _PixelPacket::green, _RectangleInfo::height, _CCObjectInfo::id, IsColorSimilar(), IsMagickTrue(), LogMagickEvent(), magick_restrict, MAGICKCORE_QUANTUM_DEPTH, MagickCoreSignature, MagickFalse, MagickTrue, _Image::matte, MaxColormapSize, MaxTextExtent, _MagickPixelPacket::opacity, _PixelPacket::opacity, _Image::progress_monitor, QuantumRange, QuantumScale, QueueCacheViewAuthenticPixels(), _MagickPixelPacket::red, _PixelPacket::red, RelinquishMagickMemory(), ResourceLimitError, _Image::rows, SetImageProgress(), SetMatrixElement(), _ExceptionInfo::signature, _Image::signature, StringToDouble(), SyncCacheViewAuthenticPixels(), SyncImage(), ThrowImageException, TraceEvent, TransparentOpacity, _RectangleInfo::width, _RectangleInfo::x, and _RectangleInfo::y.