MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
compare.h
Go to the documentation of this file.
1 /*
2  Copyright 1999-2018 ImageMagick Studio LLC, a non-profit organization
3  dedicated to making software imaging solutions freely available.
4 
5  You may not use this file except in compliance with the License.
6  obtain a copy of the License at
7 
8  https://www.imagemagick.org/script/license.php
9 
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15 
16  MagickCore image compare methods.
17 */
18 #ifndef MAGICKCORE_COMPARE_H
19 #define MAGICKCORE_COMPARE_H
20 
21 #include "MagickCore/image.h"
22 
23 #if defined(__cplusplus) || defined(c_plusplus)
24 extern "C" {
25 #endif
26 
27 typedef enum
28 {
42 } MetricType;
43 
44 extern MagickExport double
45  *GetImageDistortions(Image *,const Image *,const MetricType,ExceptionInfo *);
46 
47 extern MagickExport Image
48  *CompareImages(Image *,const Image *,const MetricType,double *,
49  ExceptionInfo *),
50  *SimilarityImage(const Image *,const Image *,const MetricType,const double,
51  RectangleInfo *,double *,ExceptionInfo *);
52 
54  GetImageDistortion(Image *,const Image *,const MetricType,double *,
55  ExceptionInfo *),
56  IsImagesEqual(const Image *,const Image *,ExceptionInfo *),
58 
59 #if defined(__cplusplus) || defined(c_plusplus)
60 }
61 #endif
62 
63 #endif
MagickExport Image * SimilarityImage(const Image *, const Image *, const MetricType, const double, RectangleInfo *, double *, ExceptionInfo *)
Definition: compare.c:2175
MetricType
Definition: compare.h:27
Definition: image.h:151
MagickBooleanType
Definition: magick-type.h:156
MagickExport double * GetImageDistortions(Image *, const Image *, const MetricType, ExceptionInfo *)
Definition: compare.c:1737
MagickExport MagickBooleanType GetImageDistortion(Image *, const Image *, const MetricType, double *, ExceptionInfo *)
MagickExport Image * CompareImages(Image *, const Image *, const MetricType, double *, ExceptionInfo *)
MagickExport MagickBooleanType SetImageColorMetric(Image *, const Image *, ExceptionInfo *)
Definition: compare.c:2007
MagickExport MagickBooleanType IsImagesEqual(const Image *, const Image *, ExceptionInfo *)
#define MagickExport