template<class T, int TDIM>
class ug::raster_kernels::Count< T, TDIM >
Kernel which counts the number of times it was run on valid data values.
For use with ug::Raster.
This class defines a default constructor, the type 'result_t', and the method 'result_t result() const' and can thus be used like this:
Generic raster for arbitrary dimensions.
Definition raster.h:73
TKernel::result_t run_on_all()
Creates and runs the specified kernel on all nodes and returns its result.
Definition raster_impl.hpp:503
TKernel::result_t run_on_nbrs(const MultiIndex ¢er)
Creates and runs the specified kernel on all direct neighbors of a node and returns its result.
Definition raster_impl.hpp:542
Kernel which counts the number of times it was run on valid data values.
Definition raster_kernels.h:57
- Note
- if the kernel is run on a 'no_data_value', the counter is not increased.