Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:23

0001 /*
0002   Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickCore image threshold methods.
0017 */
0018 #ifndef MAGICKCORE_THRESHOLD_H
0019 #define MAGICKCORE_THRESHOLD_H
0020 
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024 
0025 typedef enum
0026 {
0027   UndefinedThresholdMethod,
0028   KapurThresholdMethod,
0029   OTSUThresholdMethod,
0030   TriangleThresholdMethod
0031 } AutoThresholdMethod;
0032 
0033 typedef struct _ThresholdMap
0034   ThresholdMap;
0035 
0036 extern MagickExport Image
0037   *AdaptiveThresholdImage(const Image *,const size_t,const size_t,const double,
0038     ExceptionInfo *);
0039 
0040 extern MagickExport ThresholdMap
0041   *DestroyThresholdMap(ThresholdMap *),
0042   *GetThresholdMap(const char *,ExceptionInfo *);
0043 
0044 extern MagickExport MagickBooleanType
0045   AutoThresholdImage(Image *,const AutoThresholdMethod,ExceptionInfo *),
0046   BilevelImage(Image *,const double,ExceptionInfo *),
0047   BlackThresholdImage(Image *,const char *,ExceptionInfo *),
0048   ClampImage(Image *,ExceptionInfo *),
0049   ColorThresholdImage(Image *,const PixelInfo *,const PixelInfo *,
0050     ExceptionInfo *),
0051   ListThresholdMaps(FILE *,ExceptionInfo *),
0052   OrderedDitherImage(Image *,const char *,ExceptionInfo *),
0053   PerceptibleImage(Image *,const double,ExceptionInfo *),
0054   RandomThresholdImage(Image *,const double,const double,ExceptionInfo *),
0055   RangeThresholdImage(Image *,const double,const double,const double,
0056     const double,ExceptionInfo *),
0057   WhiteThresholdImage(Image *,const char *,ExceptionInfo *);
0058 
0059 #if defined(__cplusplus) || defined(c_plusplus)
0060 }
0061 #endif
0062 
0063 #endif