The connectivity index is introduced in AghaKouchak et al. (2011), and is designed to automaticlaly determine how connected an image is. It is defined byCindex = 1 - (NC - 1)/(sqrt(NP) + NC),
where 0 <= 1="" cindex="" <="1" is="" the="" connectivity="" index="" (values="" close="" to="" zero="" are="" less="" connected,="" and="" values="" more="" connected),="" np="" number="" of="" nonzero="" pixels,="" nc="" isolated="" clusters.="" p="">
The function connected
from package spatstat is used to identify the number of isolated clusters.
=>