MagickCore  6.9.10
Convert, Edit, Or Compose Bitmap Images
vision.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 computer vision methods.
17 */
18 #ifndef MAGICKCORE_VISION_H
19 #define MAGICKCORE_VISION_H
20 
21 #if defined(__cplusplus) || defined(c_plusplus)
22 extern "C" {
23 #endif
24 
25 extern MagickExport Image
26  *ConnectedComponentsImage(const Image *,const size_t,ExceptionInfo *);
27 
28 #if defined(__cplusplus) || defined(c_plusplus)
29 }
30 #endif
31 
32 #endif
_Image::colorspace
ColorspaceType colorspace
Definition: image.h:158
QuantumScale
#define QuantumScale
Definition: magick-type.h:120
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
_Image::progress_monitor
MagickProgressMonitor progress_monitor
Definition: image.h:264
_RectangleInfo::x
ssize_t x
Definition: geometry.h:129
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
ConnectedComponentsImage
MagickExport Image * ConnectedComponentsImage(const Image *, const size_t, ExceptionInfo *)
Definition: vision.c:141
_MatrixInfo
Definition: matrix.c:59
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
distort.h
ConnectedComponentsImageTag
#define ConnectedComponentsImageTag
geometry.h
IsMagickTrue
MagickExport MagickBooleanType IsMagickTrue(const char *value)
Definition: token.c:649
MagickCoreSignature
#define MagickCoreSignature
Definition: method-attribute.h:86
GetColorTuple
MagickExport void GetColorTuple(const MagickPixelPacket *pixel, const MagickBooleanType hex, char *tuple)
Definition: color.c:1534
_RectangleInfo::height
size_t height
Definition: geometry.h:126
_Image::depth
size_t depth
Definition: image.h:176
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
_CCObjectInfo::census
double census
Definition: vision.c:127
memory-private.h
magick_restrict
#define magick_restrict
Definition: MagickCore.h:41
_RectangleInfo
Definition: geometry.h:122
property.h
image-private.h
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
artifact.h
IndexPacket
Quantum IndexPacket
Definition: pixel.h:129
resource_.h
GetCacheViewVirtualIndexQueue
const MagickExport IndexPacket * GetCacheViewVirtualIndexQueue(const CacheView *cache_view)
Definition: cache-view.c:638
DestroyMatrixInfo
MagickExport MatrixInfo * DestroyMatrixInfo(MatrixInfo *matrix_info)
Definition: matrix.c:366
ResourceLimitError
@ ResourceLimitError
Definition: exception.h:55
_PixelPacket::blue
Quantum blue
Definition: pixel.h:143
_CacheView
Definition: cache-view.c:65
string_.h
_CCObjectInfo::centroid
PointInfo centroid
Definition: vision.c:123
quantum.h
morphology.h
CCObjectInfoCompare
static int CCObjectInfoCompare(const void *x, const void *y)
Definition: vision.c:130
SyncImage
MagickExport MagickBooleanType SyncImage(Image *image)
Definition: image.c:3690
enhance.h
MagickTrue
@ MagickTrue
Definition: magick-type.h:194
QueueCacheViewAuthenticPixels
MagickExport PixelPacket * QueueCacheViewAuthenticPixels(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:883
blob.h
_RectangleInfo::y
ssize_t y
Definition: geometry.h:130
SyncCacheViewAuthenticPixels
MagickExport MagickBooleanType SyncCacheViewAuthenticPixels(CacheView *magick_restrict cache_view, ExceptionInfo *exception)
Definition: cache-view.c:1000
ClampToQuantum
static Quantum ClampToQuantum(const MagickRealType quantum)
Definition: quantum.h:88
_CCObjectInfo::id
ssize_t id
Definition: vision.c:114
thread-private.h
matrix.h
TraceEvent
@ TraceEvent
Definition: log.h:38
vision.h
_Image::colormap
PixelPacket * colormap
Definition: image.h:180
decorate.h
ThrowImageException
#define ThrowImageException(severity, tag)
Definition: exception-private.h:70
_Image
Definition: image.h:152
GetCacheViewAuthenticIndexQueue
MagickExport IndexPacket * GetCacheViewAuthenticIndexQueue(CacheView *cache_view)
Definition: cache-view.c:564
MaxColormapSize
#define MaxColormapSize
Definition: magick-type.h:77
AcquireAuthenticCacheView
MagickExport CacheView * AcquireAuthenticCacheView(const Image *image, ExceptionInfo *exception)
Definition: cache-view.c:111
_MagickPixelPacket
Definition: pixel.h:104
CCObjectInfo
struct _CCObjectInfo CCObjectInfo
_CCObjectInfo
Definition: vision.c:111
_Image::colors
size_t colors
Definition: image.h:177
AcquireMatrixInfo
MagickExport MatrixInfo * AcquireMatrixInfo(const size_t columns, const size_t rows, const size_t stride, ExceptionInfo *exception)
Definition: matrix.c:197
_CCObjectInfo::area
double area
Definition: vision.c:126
MagickFalse
@ MagickFalse
Definition: magick-type.h:193
MagickProgressMonitor
MagickBooleanType(* MagickProgressMonitor)(const char *, const MagickOffsetType, const MagickSizeType, void *)
Definition: monitor.h:26
pixel-private.h
_PixelPacket::opacity
Quantum opacity
Definition: pixel.h:146
IsColorSimilar
MagickExport MagickBooleanType IsColorSimilar(const Image *image, const PixelPacket *p, const PixelPacket *q)
Definition: color.c:1682
color-private.h
draw.h
_PixelPacket::red
Quantum red
Definition: pixel.h:145
_CCObjectInfo::color
MagickPixelPacket color
Definition: vision.c:120
QuantumRange
#define QuantumRange
Definition: magick-type.h:86
CMYKColorspace
@ CMYKColorspace
Definition: colorspace.h:39
SetMatrixElement
MagickExport MagickBooleanType SetMatrixElement(const MatrixInfo *matrix_info, const ssize_t x, const ssize_t y, const void *value)
Definition: matrix.c:1108
_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
_PixelPacket::green
Quantum green
Definition: pixel.h:144
cache-view.h
_ExceptionInfo::signature
size_t signature
Definition: exception.h:124
colorspace.h
log.h
constitute.h
_Image::signature
size_t signature
Definition: image.h:307
MagickBooleanType
MagickBooleanType
Definition: magick-type.h:191
StringToDouble
static double StringToDouble(const char *magick_restrict string, char **magick_restrict sentinal)
Definition: string-private.h:42
RelinquishMagickMemory
MagickExport void * RelinquishMagickMemory(void *memory)
Definition: memory.c:1077
_ExceptionInfo
Definition: exception.h:102
_RectangleInfo::width
size_t width
Definition: geometry.h:125
studio.h
effect.h
GetMatrixElement
MagickExport MagickBooleanType GetMatrixElement(const MatrixInfo *matrix_info, const ssize_t x, const ssize_t y, void *value)
Definition: matrix.c:702
montage.h
monitor-private.h
AcquireVirtualCacheView
MagickExport CacheView * AcquireVirtualCacheView(const Image *image, ExceptionInfo *exception)
Definition: cache-view.c:153
DestroyImage
MagickExport Image * DestroyImage(Image *image)
Definition: image.c:1188
opencl-private.h
MAGICKCORE_QUANTUM_DEPTH
#define MAGICKCORE_QUANTUM_DEPTH
Definition: magick-type.h:28
memory_.h
signature-private.h
ConnectedComponentsImage
MagickExport Image * ConnectedComponentsImage(const Image *image, const size_t connectivity, ExceptionInfo *exception)
Definition: vision.c:141
paint.h
color.h
_PointInfo
Definition: draw.h:138
pixel-accessor.h
exception-private.h
morphology-private.h
exception.h
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
MaxTextExtent
#define MaxTextExtent
Definition: method-attribute.h:89
string-private.h
GetImageArtifact
const MagickExport char * GetImageArtifact(const Image *image, const char *artifact)
Definition: artifact.c:266
token.h
_CCObjectInfo::bounding_box
RectangleInfo bounding_box
Definition: vision.c:117
_PixelPacket
Definition: pixel.h:131
AcquireQuantumMemory
MagickExport void * AcquireQuantumMemory(const size_t count, const size_t quantum)
Definition: memory.c:544
MagickOffsetType
ssize_t MagickOffsetType
Definition: magick-type.h:135
colormap.h