MagickCore 7.1.0
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 , InverseLogEvaluateOperator
}
 
enum  MagickFunction {
  UndefinedFunction , ArcsinFunction , ArctanFunction , PolynomialFunction ,
  SinusoidFunction
}
 
enum  StatisticType {
  UndefinedStatistic , GradientStatistic , MaximumStatistic , MeanStatistic ,
  MedianStatistic , MinimumStatistic , ModeStatistic , NonpeakStatistic ,
  RootMeanSquareStatistic , StandardDeviationStatistic , ContrastStatistic
}
 

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 GetImageMedian (const Image *, 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

Definition at line 25 of file statistic.h.

◆ MaximumNumberOfPerceptualColorspaces

#define MaximumNumberOfPerceptualColorspaces   6

Definition at line 26 of file statistic.h.

◆ MaximumNumberOfPerceptualHashes

#define MaximumNumberOfPerceptualHashes   7

Definition at line 27 of file statistic.h.

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 
InverseLogEvaluateOperator 

Definition at line 85 of file statistic.h.

◆ MagickFunction

Enumerator
UndefinedFunction 
ArcsinFunction 
ArctanFunction 
PolynomialFunction 
SinusoidFunction 

Definition at line 123 of file statistic.h.

◆ StatisticType

Enumerator
UndefinedStatistic 
GradientStatistic 
MaximumStatistic 
MeanStatistic 
MedianStatistic 
MinimumStatistic 
ModeStatistic 
NonpeakStatistic 
RootMeanSquareStatistic 
StandardDeviationStatistic 
ContrastStatistic 

Definition at line 132 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  
)

◆ GetImageMedian()

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

◆ GetImageMoments()

◆ GetImagePerceptualHash()

◆ GetImageRange()

◆ GetImageStatistics()

MagickExport ChannelStatistics * GetImageStatistics ( const Image image,
ExceptionInfo exception 
)

◆ PolynomialImage()

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

◆ StatisticImage()