home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2004 July / APC0407D2.iso / workshop / onlineco / files / ImageMagick-6.0.1-Q16-windows-dll.exe / {app} / include / magick / compare.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-03-20  |  858 b   |  38 lines

  1. /*
  2.   ImageMagick Image Compare Methods.
  3. */
  4. #ifndef _MAGICK_COMPARE_H
  5. #define _MAGICK_COMPARE_H
  6.  
  7. #if defined(__cplusplus) || defined(c_plusplus)
  8. extern "C" {
  9. #endif
  10.  
  11. #include "magick/image.h"
  12.  
  13. typedef enum
  14. {
  15.   UndefinedMetric,
  16.   MeanAbsoluteErrorMetric,
  17.   MeanSquaredErrorMetric,
  18.   PeakAbsoluteErrorMetric,
  19.   PeakSignalToNoiseRatioMetric,
  20.   RootMeanSquaredErrorMetric
  21. } MetricType;
  22.  
  23. extern MagickExport Image
  24.   *CompareImageChannels(Image *,const Image *,const ChannelType,
  25.     const MetricType,double *,ExceptionInfo *),
  26.   *CompareImages(Image *,const Image *,const MetricType,double *,
  27.     ExceptionInfo *);
  28.  
  29. extern MagickExport unsigned int
  30.   CompareImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *),
  31.   IsImagesEqual(Image *,const Image *);
  32.  
  33. #if defined(__cplusplus) || defined(c_plusplus)
  34. }
  35. #endif
  36.  
  37. #endif
  38.