28void convolve(
FmiImage *source,
FmiImage *target,
int mask_width,
int mask_height,
int **mask,
int divisor);
31void clear_histogram_full(Histogram hist);
35void initialize_histogram_int(
FmiImage *source,Histogram h,
int hrad,
int vrad,
int i,
int j,
void (* hist_func)(Histogram));
36void up(
FmiImage *source,Histogram h,
int hrad,
int vrad,
int *i,
int *j);
37void down(
FmiImage *source,Histogram h,
int hrad,
int vrad,
int *i,
int *j);
38void left(
FmiImage *source,Histogram h,
int hrad,
int vrad,
int *i,
int *j);
39void right(
FmiImage *source,Histogram h,
int hrad,
int vrad,
int *i,
int *j);
41extern Histogram histogram_weights;
42extern Histogram histogram_sine;
43extern Histogram histogram_cosine;
46extern int histogram_sample_count;
47extern int histogram_threshold;
49extern FmiImage *histogram_weight_image;
51int histogram_median_biased(Histogram h,
int count);
52int histogram_median_biased_top(Histogram h,
int count);
54int histogram_size(Histogram h);
55int histogram_sum(Histogram h);
56int histogram_area(Histogram h);
57int histogram_area_inv255(Histogram h);
58int histogram_area2(Histogram h);
59int histogram_area2_inv255(Histogram h);
60int histogram_perimeter(Histogram h);
61int histogram_perimeter2(Histogram h);
63int histogram_compactness(Histogram h);
64int histogram_min(Histogram h);
65int histogram_max(Histogram h);
66int histogram_range(Histogram h);
67int histogram_median(Histogram h);
69int histogram_median2(Histogram h);
70int histogram_median2_top(Histogram h);
71int histogram_mean(Histogram h);
72int histogram_mean2(Histogram h);
73int histogram_mean_nonzero(Histogram h);
77int histogram_mean_weighted(Histogram h);
78extern int (* histogram_mean_weighted_pyramid)(Histogram h);
80int histogram_variance_rot(Histogram h);
82int histogram_dom(Histogram h);
83int histogram_dom_nonzero(Histogram h);
84int histogram_principal_component_ratio(Histogram h);
85int histogram_smoothness(Histogram h);
87void histogram_dump_stats(Histogram h);
88void histogram_dump_nonzero(Histogram h);
90int histogram_meanX(Histogram h);
91int histogram_meanY(Histogram h);
93extern int histogram_scaling_parameter;
94extern int (* histogram_scaling_function)(
int param,
int value);
95int histogram_semisigmoid(
int a,
int x);
96int histogram_semisigmoid_inv(
int a,
int x);
98void pipeline_process(
FmiImage *source,
FmiImage *target,
int horz_rad,
int vert_rad,
int (* histogram_function)(Histogram));