imcov(spatstat)
imcov()所属R语言包:spatstat
Spatial Covariance of a Pixel Image
像素图像的空间协方差
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the unnormalised spatial covariance function of a pixel image.
像素图像的计算的unnormalised的空间协方差函数。
用法----------Usage----------
imcov(X, Y=X)
参数----------Arguments----------
参数:X
A pixel image (object of class "im".
像素图像(类的对象"im"。
参数:Y
Optional. Another pixel image.
可选。另一个像素的图像。
Details
详细信息----------Details----------
The (uncentred, unnormalised) spatial covariance function of a pixel image X in the plane is the function C(v) defined for each vector v as
(不集中,unnormalised)的空间协方差函数像素图像的X在平面的功能是C(v)定义的每个向量v
where the integral is over all spatial locations u, and where X(u) denotes the pixel value at location u.
这里积分是超过所有空间位置u,并在X(u)表示的像素值在位置u。
This command computes a discretised approximation to the spatial covariance function, using the Fast Fourier Transform. The return value is another pixel image (object of class "im") whose greyscale values are values of the spatial covariance function.
此命令计算离散化的近似空间协方差函数,使用快速傅立叶变换。返回值是另一个像素的图像(类的对象"im"),其灰度值的空间协方差函数的值。
If the argument Y is present, then imcov(X,Y) computes the set cross-covariance function C(u) defined as
如果参数Y存在,那么imcov(X,Y)计算组互协方差函数C(u)定义为
Note that imcov(X,Y) is equivalent to convolve.im(X,Y,reflectY=TRUE).
请注意,imcov(X,Y)是相当于convolve.im(X,Y,reflectY=TRUE)。
值----------Value----------
A pixel image (an object of class "im") representing the spatial covariance function of X, or the cross-covariance of X and Y.
像素的图像(一个类的对象"im")代表的X或X和Y互协方差协方差函数的空间。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
setcov, convolve.im, owin, as.owin, erosion
setcov,convolve.im,owin,as.owin,erosion
实例----------Examples----------
X <- as.im(square(1))
v <- imcov(X)
plot(v)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|