File indexing completed on 2025-01-18 10:01:20
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef MAGICKCORE_FEATURE_H
0019 #define MAGICKCORE_FEATURE_H
0020
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024
0025
0026
0027
0028 typedef struct _ChannelFeatures
0029 {
0030 double
0031 angular_second_moment[4],
0032 contrast[4],
0033 correlation[4],
0034 variance_sum_of_squares[4],
0035 inverse_difference_moment[4],
0036 sum_average[4],
0037 sum_variance[4],
0038 sum_entropy[4],
0039 entropy[4],
0040 difference_variance[4],
0041 difference_entropy[4],
0042 measure_of_correlation_1[4],
0043 measure_of_correlation_2[4],
0044 maximum_correlation_coefficient[4];
0045 } ChannelFeatures;
0046
0047 extern MagickExport ChannelFeatures
0048 *GetImageFeatures(const Image *,const size_t,ExceptionInfo *);
0049
0050 extern MagickExport Image
0051 *CannyEdgeImage(const Image *,const double,const double,const double,
0052 const double,ExceptionInfo *),
0053 *HoughLineImage(const Image *,const size_t,const size_t,const size_t,
0054 ExceptionInfo *),
0055 *MeanShiftImage(const Image *,const size_t,const size_t,const double,
0056 ExceptionInfo *);
0057
0058 #if defined(__cplusplus) || defined(c_plusplus)
0059 }
0060 #endif
0061
0062 #endif