histogram.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.
00006   obtain a copy of the License at
00007   
00008     http://www.imagemagick.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   MagickCore histogram methods.
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

Generated on 19 Nov 2009 for MagickCore by  doxygen 1.6.1