## DESCRIPTION

r.li.patchnum is a patch index for r.li program.
It calculates the function
f(sample_area)= Patch_Number
This index is calculated using a 4 neighbour algorithm

## EXAMPLES

To calculate patch number index on map my_map, using my_conf configuration file and saving results in my_out file run:

    r.li.patchnumber map=my_map conf=my_conf out=my_out

## NOTES

An that is full of null values is considered to have zero patch.
If you want to have null values instead run

    r.null setnull=0 map=my_map

after index calculation.

## SEE ALSO

r.li package overview
r.li.daemon
r.li.setup

## AUTHORS

Claudio Porta and Lucio Davide Spano, students of Computer Science University of Pisa (Italy).
Commission from Faunalia Pontedera (PI) (www.faunalia.it)

Last changed: $Date: 2011-08-16 02:13:05 -0700 (Tue, 16 Aug 2011) $