
Go to the source code of this file.
Data Structures | |
| struct | _ColorPacket |
Typedefs | |
| typedef struct _ColorPacket | ColorPacket |
Functions | |
| MagickExport ColorPacket * | GetImageHistogram (const Image *, unsigned long *, ExceptionInfo *) |
| MagickExport Image * | UniqueImageColors (const Image *, ExceptionInfo *) |
| MagickExport MagickBooleanType | IsHistogramImage (const Image *, ExceptionInfo *) |
| MagickExport MagickBooleanType | IsPaletteImage (const Image *, ExceptionInfo *) |
| MagickExport MagickBooleanType | MinMaxStretchImage (Image *, const ChannelType, const double, const double) |
| MagickExport unsigned long | GetNumberColors (const Image *, FILE *, ExceptionInfo *) |
| typedef struct _ColorPacket ColorPacket |
| MagickExport ColorPacket* GetImageHistogram | ( | const Image * | , | |
| unsigned long * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 523 of file histogram.c.
References AcquireQuantumMemory(), ClassifyImageColors(), _CubeInfo::colors, DefineImageHistogram(), DestroyCubeInfo(), _Image::filename, GetMagickModule, ResourceLimitError, _CubeInfo::root, and ThrowMagickException().
Referenced by GetNumberColors().
| MagickExport unsigned long GetNumberColors | ( | const Image * | , | |
| FILE * | , | |||
| ExceptionInfo * | ||||
| ) |
Definition at line 1102 of file histogram.c.
References BlueChannel, ClassifyImageColors(), _Image::client_data, CMYKColorspace, _CubeInfo::colors, _MagickPixelPacket::colorspace, ConcatenateColorComponent(), ConcatenateMagickString(), CopyMagickString(), _ColorPacket::count, DestroyCubeInfo(), GetColorTuple(), GetImageHistogram(), GetMagickPixelPacket(), GreenChannel, HistogramCompare(), HistogramImageTag, _ColorPacket::index, IndexChannel, MagickFalse, MagickSizeFormat, MagickTrue, _MagickPixelPacket::matte, MaxTextExtent, OpacityChannel, _ColorPacket::pixel, _Image::progress_monitor, QuantumTick(), QueryMagickColorname(), RedChannel, RelinquishMagickMemory(), SetMagickPixelPacket(), SVGCompliance, and X11Compliance.
Referenced by GetImageQuantizeError(), IdentifyImage(), and InterpretImageProperties().
| MagickExport MagickBooleanType IsHistogramImage | ( | const Image * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType IsPaletteImage | ( | const Image * | , | |
| ExceptionInfo * | ||||
| ) |
| MagickExport MagickBooleanType MinMaxStretchImage | ( | Image * | , | |
| const | ChannelType, | |||
| const | double, | |||
| const | double | |||
| ) |
Definition at line 982 of file histogram.c.
References BlueChannel, CMYKColorspace, _Image::colorspace, _Image::exception, GetImageChannelRange(), GreenChannel, IndexChannel, LevelImageChannel(), MagickFalse, MagickTrue, _Image::matte, OpacityChannel, RedChannel, and SyncChannels.
Referenced by AutoLevelImageChannel().
| MagickExport Image* UniqueImageColors | ( | const Image * | , | |
| ExceptionInfo * | ||||
| ) |
Definition at line 1258 of file histogram.c.
References AcquireQuantizeInfo(), ClassifyImageColors(), CloneImage(), _CubeInfo::colors, DestroyCubeInfo(), DestroyImage(), DestroyQuantizeInfo(), DirectClass, _QuantizeInfo::dither, _Image::exception, InheritException(), MagickFalse, MagickTrue, MaxColormapSize, _QuantizeInfo::number_colors, QuantizeImage(), _CubeInfo::root, SetImageStorageClass(), _QuantizeInfo::tree_depth, and UniqueColorsToImage().
1.6.1