/*
- Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
+ Copyright 1999-2015 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
extern "C" {
#endif
+#define MaximumNumberOfImageMoments 8
+#define MaximumNumberOfPerceptualHashes 7
+
typedef struct _ChannelStatistics
{
size_t
variance,
standard_deviation,
kurtosis,
- skewness;
+ skewness,
+ entropy;
} ChannelStatistics;
typedef struct _ChannelMoments
{
double
- I[32];
+ invariant[MaximumNumberOfImageMoments+1];
PointInfo
centroid,
typedef struct _ChannelPerceptualHash
{
double
- P[32],
- Q[32];
+ srgb_hu_phash[MaximumNumberOfImageMoments+1],
+ hclp_hu_phash[MaximumNumberOfImageMoments+1];
} ChannelPerceptualHash;
typedef enum
ExceptionInfo *),
FunctionImage(Image *,const MagickFunction,const size_t,const double *,
ExceptionInfo *),
+ GetImageEntropy(const Image *,double *,ExceptionInfo *),
GetImageExtrema(const Image *,size_t *,size_t *,ExceptionInfo *),
GetImageMean(const Image *,double *,double *,ExceptionInfo *),
GetImageKurtosis(const Image *,double *,double *,ExceptionInfo *),