Cindex(SpatialVx)
Cindex()所属R语言包:SpatialVx
Connectivity Index
连接性指数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Calculate the connectivity index of an image
计算图像的连接性指数
用法----------Usage----------
Cindex(x, thresh = NULL, connect.method = "C")
参数----------Arguments----------
参数:x
m X n numeric matrix for which the connectivity index is to be calculated.
M×N的数字矩阵的连接性指数来计算的。
参数:thresh
Set values under (strictly less than) this threshold to zero, and calculate the connectivity index for the resulting image. If NULL, no threshold is applied.
下的值(严格小于)该阈值设置为零,并计算所得到的图像的连接性指数用于。如果为NULL,没有阈值。
参数:connect.method
character string giving the method argument for the connected function of package spatstat. This must be one of "C" or "interpreted. See the help file for connected for more details.
method参数的字符串的connected包spatstat函数。这必须是一个“C”或“解释。 connected有关详细信息,请参阅帮助文件。
Details
详细信息----------Details----------
The connectivity index is introduced in AghaKouchak et al. (2011), and is designed to automaticlaly determine how connected an image is. It is defined by
连接性指数引入在AghaKouchak等。 (2011年),是设计automaticlaly确定图像是如何连接的。它被定义为
Cindex = 1 - (NC - 1)/(sqrt(NP) + NC),
CINDEX = 1 - (NC - 1)/(SQRT(NP)+ NC),
where 0 <= Cindex <= 1 is the connectivity index (values close to zero are less connected, and values close to 1 are more connected), NP is the number of nonzero pixels, and NC is the number of isolated clusters.
其中0 <= CINDEX <= 1是连接性指数(接近于零的值是不连接,并接近于1的值是更多的连接),NP是非零的像素的数目,和NC是孤立的簇的数目。
The function 'connected' from package 'spatstat' is used to identify the number of isolated clusters.
该函数“连接”从程序包spatstat是用来识别孤立的簇的数目。
值----------Value----------
single numeric giving the connectivity index.
单数字的连接性指数。
(作者)----------Author(s)----------
Eric Gilleland
参考文献----------References----------
参见----------See Also----------
connected, as.im, Sindex, Aindex
connected,as.im,Sindex,Aindex
实例----------Examples----------
data(geom000)
Cindex(geom000)
data(pert000)
Cindex(pert000)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|