threshold.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2019 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 image threshold methods.
00017 */
00018 #ifndef MAGICKCORE_THRESHOLD_H
00019 #define MAGICKCORE_THRESHOLD_H
00020 
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024 
00025 typedef enum
00026 {
00027   UndefinedThresholdMethod,
00028   KapurThresholdMethod,
00029   OTSUThresholdMethod,
00030   TriangleThresholdMethod
00031 } AutoThresholdMethod;
00032 
00033 typedef struct _ThresholdMap
00034   ThresholdMap;
00035 
00036 extern MagickExport Image
00037   *AdaptiveThresholdImage(const Image *,const size_t,const size_t,const double,
00038     ExceptionInfo *);
00039 
00040 extern MagickExport ThresholdMap
00041   *DestroyThresholdMap(ThresholdMap *),
00042   *GetThresholdMap(const char *,ExceptionInfo *);
00043 
00044 extern MagickExport MagickBooleanType
00045   AutoThresholdImage(Image *,const AutoThresholdMethod,ExceptionInfo *),
00046   BilevelImage(Image *,const double,ExceptionInfo *),
00047   BlackThresholdImage(Image *,const char *,ExceptionInfo *),
00048   ClampImage(Image *,ExceptionInfo *),
00049   ListThresholdMaps(FILE *,ExceptionInfo *),
00050   OrderedDitherImage(Image *,const char *,ExceptionInfo *),
00051   PerceptibleImage(Image *,const double,ExceptionInfo *),
00052   RandomThresholdImage(Image *,const double,const double,ExceptionInfo *),
00053   RangeThresholdImage(Image *,const double,const double,const double,
00054     const double,ExceptionInfo *),
00055   WhiteThresholdImage(Image *,const char *,ExceptionInfo *);
00056 
00057 #if defined(__cplusplus) || defined(c_plusplus)
00058 }
00059 #endif
00060 
00061 #endif

Generated on 5 Aug 2019 for MagickCore by  doxygen 1.6.1