1 %% extends "filter.stats.c.t"
4 Histogram filter -- Compute image histogram.
9 {{ filter_stats_include() }}
11 %% macro filter_op(chan_name, chan_size)
12 {{ chan_name }}_hist->hist[{{ chan_name }}]++;
15 %% call(pt) filter_point_per_channel('Histogram', 'GP_FilterParam histogram[]', filter_op)
16 {{ filter_params(pt, 'histogram', 'GP_Histogram *', '_hist', 'ptr') }}
19 %% call(ps) filter_point_per_bpp('Histogram', 'GP_FilterParam histogram[]', filter_op)
20 {{ filter_param(ps, 'histogram', 'GP_Histogram *', '_hist', 'ptr') }}
23 {{ filter_functions('Histogram', 'GP_FilterParam histogram[]', 'histogram') }}