|
MagickCore
6.7.5
|

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 | IsHistogramImage (const Image *, ExceptionInfo *) |
| MagickExport MagickBooleanType | IsPaletteImage (const Image *, ExceptionInfo *) |
| MagickExport MagickBooleanType | MinMaxStretchImage (Image *, const double, const double, const double, ExceptionInfo *) |
| MagickExport size_t | GetNumberColors (const Image *, FILE *, ExceptionInfo *) |
| MagickExport PixelInfo* GetImageHistogram | ( | const Image * | , |
| size_t * | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 522 of file histogram.c.
References ClassifyImageColors(), AcquireQuantumMemory(), _CubeInfo::colors, ThrowMagickException(), GetMagickModule, ResourceLimitError, _Image::filename, DefineImageHistogram(), _CubeInfo::root, and DestroyCubeInfo().
Referenced by GetNumberColors().
| MagickExport size_t GetNumberColors | ( | const Image * | , |
| FILE * | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 1088 of file histogram.c.
References MaxTextExtent, ClassifyImageColors(), _CubeInfo::colors, DestroyCubeInfo(), GetImageHistogram(), HistogramCompare(), GetPixelInfo(), MagickTrue, CopyMagickString(), ConcatenateColorComponent(), RedPixelChannel, X11Compliance, ConcatenateMagickString(), GreenPixelChannel, BluePixelChannel, _PixelInfo::colorspace, CMYKColorspace, BlackPixelChannel, _PixelInfo::matte, MagickFalse, AlphaPixelChannel, QueryColorname(), SVGCompliance, GetColorTuple(), FormatLocaleFile(), MagickSizeFormat, _PixelInfo::count, _Image::progress_monitor, SetImageProgress(), HistogramImageTag, and RelinquishMagickMemory().
Referenced by IdentifyImage(), InterpretImageProperties(), and GetImageQuantizeError().
| MagickExport MagickBooleanType IsHistogramImage | ( | const Image * | , |
| ExceptionInfo * | |||
| ) |
| MagickExport MagickBooleanType IsPaletteImage | ( | const Image * | , |
| ExceptionInfo * | |||
| ) |
| MagickExport MagickBooleanType MinMaxStretchImage | ( | Image * | , |
| const double | , | ||
| const double | , | ||
| const double | , | ||
| ExceptionInfo * | |||
| ) |
Definition at line 979 of file histogram.c.
References MagickTrue, _Image::channel_mask, DefaultChannels, GetImageRange(), MagickEpsilon, LevelImage(), MagickFalse, GetPixelChannels(), GetPixelChannelMapChannel(), GetPixelChannelMapTraits(), UpdatePixelTrait, and SetPixelChannelMask().
Referenced by AutoLevelImage().
| MagickExport Image* UniqueImageColors | ( | const Image * | , |
| ExceptionInfo * | |||
| ) |
Definition at line 1271 of file histogram.c.
References ClassifyImageColors(), CloneImage(), _CubeInfo::colors, MagickTrue, SetImageStorageClass(), DirectClass, MagickFalse, DestroyImage(), AcquireCacheView(), UniqueColorsToImage(), _CubeInfo::root, DestroyCacheView(), MaxColormapSize, AcquireQuantizeInfo(), _QuantizeInfo::number_colors, _QuantizeInfo::dither, _QuantizeInfo::tree_depth, QuantizeImage(), DestroyQuantizeInfo(), and DestroyCubeInfo().