histogram.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _MAGICKCORE_HISTOGRAM_H
00019 #define _MAGICKCORE_HISTOGRAM_H
00020
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024
00025 typedef struct _ColorPacket
00026 {
00027 PixelPacket
00028 pixel;
00029
00030 IndexPacket
00031 index;
00032
00033 MagickSizeType
00034 count;
00035 } ColorPacket;
00036
00037 extern MagickExport ColorPacket
00038 *GetImageHistogram(const Image *,unsigned long *,ExceptionInfo *);
00039
00040 extern MagickExport Image
00041 *UniqueImageColors(const Image *,ExceptionInfo *);
00042
00043 extern MagickExport MagickBooleanType
00044 IsHistogramImage(const Image *,ExceptionInfo *),
00045 IsPaletteImage(const Image *,ExceptionInfo *),
00046 MinMaxStretchImage(Image *,const ChannelType,const double,const double);
00047
00048 extern MagickExport unsigned long
00049 GetNumberColors(const Image *,FILE *,ExceptionInfo *);
00050
00051 #if defined(__cplusplus) || defined(c_plusplus)
00052 }
00053 #endif
00054
00055 #endif