semantique.ArrayProxy.delineate#
- ArrayProxy.delineate(dimension=None, **kwargs)[source]#
Delineate spatio-temporal objects in a binary array.
Delineates spatio-temporal objects by finding sets of “true” pixels that are connected in space-time, and assigning each of these sets an integer index starting from 1. For the X and Y directions, queen neighborhoods are used to define connectivity, while for the temporal direction, rook neighborhoods are used to define connectivity.
- Parameters:
**kwargs – Additional keyword arguments passed on to
Array.delineate
.- Returns:
Examples
>>> import semantique as sq >>> sq.entity("water").delineate()