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

Go to the source code of this file.

Functions

MagickPrivate MagickBooleanType ColorComponentGenesis (void)
 
MagickPrivate MagickBooleanType IsEquivalentAlpha (const Image *, const PixelInfo *, const PixelInfo *)
 
MagickPrivate MagickBooleanType IsEquivalentIntensity (const Image *, const PixelInfo *, const PixelInfo *)
 
MagickPrivate void ColorComponentTerminus (void)
 
static MagickBooleanType GetColorRange (const char *color, PixelInfo *start, PixelInfo *stop, ExceptionInfo *exception)
 
static double GetFuzzyColorDistance (const Image *p, const Image *q)
 

Function Documentation

◆ ColorComponentGenesis()

MagickPrivate MagickBooleanType ColorComponentGenesis ( void  )

Referenced by MagickCoreGenesis().

◆ ColorComponentTerminus()

◆ GetColorRange()

static MagickBooleanType GetColorRange ( const char *  color,
PixelInfo start,
PixelInfo stop,
ExceptionInfo exception 
)
inlinestatic

◆ GetFuzzyColorDistance()

static double GetFuzzyColorDistance ( const Image p,
const Image q 
)
inlinestatic

Definition at line 69 of file color-private.h.

References _Image::fuzz, MagickMax, and MagickSQ1_2.

Referenced by CompareImages(), GetAbsoluteDistortion(), and IsFuzzyEquivalencePixel().

◆ IsEquivalentAlpha()

MagickPrivate MagickBooleanType IsEquivalentAlpha ( const Image ,
const PixelInfo ,
const PixelInfo  
)

◆ IsEquivalentIntensity()

MagickPrivate MagickBooleanType IsEquivalentIntensity ( const Image image,
const PixelInfo p,
const PixelInfo q 
)

Definition at line 1828 of file color.c.

References _Image::fuzz, GetPixelInfoIntensity(), MagickFalse, MagickMax, MagickSQ1_2, and MagickTrue.