MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
|
Go to the source code of this file.
Functions | |
MagickExport PixelInfo * | GetImageHistogram (const Image *, size_t *, ExceptionInfo *) |
MagickExport Image * | UniqueImageColors (const Image *, ExceptionInfo *) |
MagickExport MagickBooleanType | IdentifyPaletteImage (const Image *, ExceptionInfo *) |
MagickExport MagickBooleanType | IsHistogramImage (const Image *, ExceptionInfo *) |
MagickExport MagickBooleanType | IsPaletteImage (const Image *) |
MagickExport MagickBooleanType | MinMaxStretchImage (Image *, const double, const double, const double, ExceptionInfo *) |
MagickExport size_t | GetNumberColors (const Image *, FILE *, ExceptionInfo *) |
MagickExport PixelInfo * GetImageHistogram | ( | const Image * | image, |
size_t * | number_colors, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 554 of file histogram.c.
References AcquireQuantumMemory(), ClassifyImageColors(), _CubeInfo::colors, DefineImageHistogram(), DestroyCubeInfo(), _Image::filename, GetMagickModule, ResourceLimitError, _CubeInfo::root, and ThrowMagickException().
Referenced by GetNumberColors().
MagickExport size_t GetNumberColors | ( | const Image * | image, |
FILE * | file, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 1029 of file histogram.c.
References _PixelInfo::alpha_trait, AlphaPixelChannel, BlackPixelChannel, BluePixelChannel, ClassifyImageColors(), CMYKColorspace, _CubeInfo::colors, _PixelInfo::colorspace, ConcatenateColorComponent(), ConcatenateMagickString(), CopyMagickString(), _PixelInfo::count, DestroyCubeInfo(), FormatLocaleFile(), GetColorTuple(), GetImageHistogram(), GetPixelInfo(), GreenPixelChannel, HistogramCompare(), HistogramImageTag, MagickFalse, MagickPathExtent, MagickTrue, NoCompliance, _Image::progress_monitor, QueryColorname(), RedPixelChannel, RelinquishMagickMemory(), SetImageProgress(), SVGCompliance, and UndefinedPixelTrait.
Referenced by GetImageQuantizeError(), GetMagickProperty(), GetMagickPropertyLetter(), and IdentifyImage().
MagickExport MagickBooleanType IdentifyPaletteImage | ( | const Image * | , |
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType IsHistogramImage | ( | const Image * | , |
ExceptionInfo * | |||
) |
MagickExport MagickBooleanType IsPaletteImage | ( | const Image * | ) |
MagickExport MagickBooleanType MinMaxStretchImage | ( | Image * | image, |
const double | black, | ||
const double | white, | ||
const double | gamma, | ||
ExceptionInfo * | exception | ||
) |
Definition at line 926 of file histogram.c.
References _Image::channel_mask, DefaultChannels, GetImageRange(), GetPixelChannelChannel(), GetPixelChannels(), GetPixelChannelTraits(), LevelImage(), MagickEpsilon, MagickFalse, MagickTrue, SetImageChannelMask(), and UpdatePixelTrait.
Referenced by AutoLevelImage().
MagickExport Image * UniqueImageColors | ( | const Image * | image, |
ExceptionInfo * | exception | ||
) |
Definition at line 1215 of file histogram.c.
References AcquireAuthenticCacheView(), ClassifyImageColors(), CloneImage(), _CubeInfo::colors, DestroyCacheView(), DestroyCubeInfo(), DestroyImage(), DirectClass, MagickFalse, MagickTrue, _CubeInfo::root, SetImageStorageClass(), and UniqueColorsToImage().