3 * Max filter -- Choose max for each pixel (and for each channel) for two bitmaps.
5 * Copyright (C) 2012-2014 Cyril Hrubis <metan@ucw.cz>
8 @ include arithmetic_filter.t
10 @ def filter_op(chan_name, chan_size):
11 {{ chan_name }} = GP_MAX({{ chan_name }}_A, {{ chan_name }}_B);
14 {@ filter_arithmetic('Max', filter_op) @}