histogram.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2020 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.  You may
00006   obtain a copy of the License at
00007   
00008     https://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 *,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

Generated on 24 Feb 2020 for MagickCore by  doxygen 1.6.1