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 *,size_t *,ExceptionInfo *);
00039
00040 extern MagickExport Image
00041 *UniqueImageColors(const Image *,ExceptionInfo *);
00042
00043 extern MagickExport MagickBooleanType
00044 IdentifyPaletteImage(const Image *,ExceptionInfo *),
00045 IsHistogramImage(const Image *,ExceptionInfo *),
00046 IsPaletteImage(const Image *,ExceptionInfo *),
00047 MinMaxStretchImage(Image *,const ChannelType,const double,const double);
00048
00049 extern MagickExport size_t
00050 GetNumberColors(const Image *,FILE *,ExceptionInfo *);
00051
00052 #if defined(__cplusplus) || defined(c_plusplus)
00053 }
00054 #endif
00055
00056 #endif