MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
statistic.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _ChannelStatistics
 
struct  _ChannelMoments
 
struct  _ChannelPerceptualHash
 

Macros

#define MaximumNumberOfImageMoments   8
 
#define MaximumNumberOfPerceptualColorspaces   6
 
#define MaximumNumberOfPerceptualHashes   7
 

Typedefs

typedef struct _ChannelStatistics ChannelStatistics
 
typedef struct _ChannelMoments ChannelMoments
 
typedef struct _ChannelPerceptualHash ChannelPerceptualHash
 

Enumerations

enum  MagickEvaluateOperator {
  UndefinedEvaluateOperator, AbsEvaluateOperator, AddEvaluateOperator, AddModulusEvaluateOperator,
  AndEvaluateOperator, CosineEvaluateOperator, DivideEvaluateOperator, ExponentialEvaluateOperator,
  GaussianNoiseEvaluateOperator, ImpulseNoiseEvaluateOperator, LaplacianNoiseEvaluateOperator, LeftShiftEvaluateOperator,
  LogEvaluateOperator, MaxEvaluateOperator, MeanEvaluateOperator, MedianEvaluateOperator,
  MinEvaluateOperator, MultiplicativeNoiseEvaluateOperator, MultiplyEvaluateOperator, OrEvaluateOperator,
  PoissonNoiseEvaluateOperator, PowEvaluateOperator, RightShiftEvaluateOperator, RootMeanSquareEvaluateOperator,
  SetEvaluateOperator, SineEvaluateOperator, SubtractEvaluateOperator, SumEvaluateOperator,
  ThresholdBlackEvaluateOperator, ThresholdEvaluateOperator, ThresholdWhiteEvaluateOperator, UniformNoiseEvaluateOperator,
  XorEvaluateOperator
}
 
enum  MagickFunction {
  UndefinedFunction, ArcsinFunction, ArctanFunction, PolynomialFunction,
  SinusoidFunction
}
 
enum  StatisticType {
  UndefinedStatistic, GradientStatistic, MaximumStatistic, MeanStatistic,
  MedianStatistic, MinimumStatistic, ModeStatistic, NonpeakStatistic,
  RootMeanSquareStatistic, StandardDeviationStatistic
}
 

Functions

MagickExport ChannelStatisticsGetImageStatistics (const Image *, ExceptionInfo *)
 
MagickExport ChannelMomentsGetImageMoments (const Image *, ExceptionInfo *)
 
MagickExport ChannelPerceptualHashGetImagePerceptualHash (const Image *, ExceptionInfo *)
 
MagickExport ImageEvaluateImages (const Image *, const MagickEvaluateOperator, ExceptionInfo *)
 
MagickExport ImagePolynomialImage (const Image *, const size_t, const double *, ExceptionInfo *)
 
MagickExport ImageStatisticImage (const Image *, const StatisticType, const size_t, const size_t, ExceptionInfo *)
 
MagickExport MagickBooleanType EvaluateImage (Image *, const MagickEvaluateOperator, const double, ExceptionInfo *)
 
MagickExport MagickBooleanType FunctionImage (Image *, const MagickFunction, const size_t, const double *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetImageEntropy (const Image *, double *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetImageExtrema (const Image *, size_t *, size_t *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetImageMean (const Image *, double *, double *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetImageKurtosis (const Image *, double *, double *, ExceptionInfo *)
 
MagickExport MagickBooleanType GetImageRange (const Image *, double *, double *, ExceptionInfo *)
 

Macro Definition Documentation

◆ MaximumNumberOfImageMoments

#define MaximumNumberOfImageMoments   8

◆ MaximumNumberOfPerceptualColorspaces

#define MaximumNumberOfPerceptualColorspaces   6

Definition at line 26 of file statistic.h.

Referenced by GetImagePerceptualHash().

◆ MaximumNumberOfPerceptualHashes

#define MaximumNumberOfPerceptualHashes   7

Definition at line 27 of file statistic.h.

Referenced by PrintChannelPerceptualHash().

Typedef Documentation

◆ ChannelMoments

◆ ChannelPerceptualHash

◆ ChannelStatistics

Enumeration Type Documentation

◆ MagickEvaluateOperator

Enumerator
UndefinedEvaluateOperator 
AbsEvaluateOperator 
AddEvaluateOperator 
AddModulusEvaluateOperator 
AndEvaluateOperator 
CosineEvaluateOperator 
DivideEvaluateOperator 
ExponentialEvaluateOperator 
GaussianNoiseEvaluateOperator 
ImpulseNoiseEvaluateOperator 
LaplacianNoiseEvaluateOperator 
LeftShiftEvaluateOperator 
LogEvaluateOperator 
MaxEvaluateOperator 
MeanEvaluateOperator 
MedianEvaluateOperator 
MinEvaluateOperator 
MultiplicativeNoiseEvaluateOperator 
MultiplyEvaluateOperator 
OrEvaluateOperator 
PoissonNoiseEvaluateOperator 
PowEvaluateOperator 
RightShiftEvaluateOperator 
RootMeanSquareEvaluateOperator 
SetEvaluateOperator 
SineEvaluateOperator 
SubtractEvaluateOperator 
SumEvaluateOperator 
ThresholdBlackEvaluateOperator 
ThresholdEvaluateOperator 
ThresholdWhiteEvaluateOperator 
UniformNoiseEvaluateOperator 
XorEvaluateOperator 

Definition at line 84 of file statistic.h.

◆ MagickFunction

Enumerator
UndefinedFunction 
ArcsinFunction 
ArctanFunction 
PolynomialFunction 
SinusoidFunction 

Definition at line 121 of file statistic.h.

◆ StatisticType

Enumerator
UndefinedStatistic 
GradientStatistic 
MaximumStatistic 
MeanStatistic 
MedianStatistic 
MinimumStatistic 
ModeStatistic 
NonpeakStatistic 
RootMeanSquareStatistic 
StandardDeviationStatistic 

Definition at line 130 of file statistic.h.

Function Documentation

◆ EvaluateImage()

MagickExport MagickBooleanType EvaluateImage ( Image ,
const MagickEvaluateOperator  ,
const double  ,
ExceptionInfo  
)

◆ EvaluateImages()

MagickExport Image* EvaluateImages ( const Image ,
const MagickEvaluateOperator  ,
ExceptionInfo  
)

◆ FunctionImage()

MagickExport MagickBooleanType FunctionImage ( Image ,
const MagickFunction  ,
const size_t  ,
const double *  ,
ExceptionInfo  
)

◆ GetImageEntropy()

MagickExport MagickBooleanType GetImageEntropy ( const Image ,
double *  ,
ExceptionInfo  
)

◆ GetImageExtrema()

MagickExport MagickBooleanType GetImageExtrema ( const Image ,
size_t *  ,
size_t *  ,
ExceptionInfo  
)

◆ GetImageKurtosis()

MagickExport MagickBooleanType GetImageKurtosis ( const Image ,
double *  ,
double *  ,
ExceptionInfo  
)

◆ GetImageMean()

MagickExport MagickBooleanType GetImageMean ( const Image ,
double *  ,
double *  ,
ExceptionInfo  
)

◆ GetImageMoments()

◆ GetImagePerceptualHash()

◆ GetImageRange()

◆ GetImageStatistics()

◆ PolynomialImage()

MagickExport Image * PolynomialImage ( const Image ,
const size_t  ,
const double *  ,
ExceptionInfo  
)

◆ StatisticImage()

MagickExport Image * StatisticImage ( const Image ,
const StatisticType  ,
const size_t  ,
const size_t  ,
ExceptionInfo  
)