找回密码
 注册
查看: 569|回复: 0

R语言 spatstat包 convolve.im()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:19:32 | 显示全部楼层 |阅读模式
convolve.im(spatstat)
convolve.im()所属R语言包:spatstat

                                        Convolution of Pixel Images
                                         卷积像素的图像

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Computes the convolution of two pixel images.
计算两个像素的图像卷积。


用法----------Usage----------


convolve.im(X, Y=X, ..., reflectX=FALSE, reflectY=FALSE)



参数----------Arguments----------

参数:X
A pixel image (object of class "im".  
像素图像(类的对象"im"。


参数:Y
Optional. Another pixel image.  
可选。另一个像素的图像。


参数:...
Ignored.
忽略。


参数:reflectX,reflectY
Logical values specifying whether the images X and Y (respectively) should be reflected in the origin before computing the convolution.  
逻辑值,指定是否图像X和Y(分别)应反映在卷积计算的起源之前。


Details

详细信息----------Details----------

The convolution of two pixel images X and Y in the plane is the function C(v) defined for each vector v as
两个像素的图像卷积X和Y在平面的功能是C(v)定义的每个向量v

where the integral is over all spatial locations u, and where X(u) and Y(u) denote the pixel values of X and Y respectively at location u.
这里积分是超过所有空间位置u,并在X(u)和Y(u)表示的像素值的X和Y分别在位置u 。

This command computes a discretised approximation to the convolution, using the Fast Fourier Transform. The return value is another pixel image (object of class "im") whose greyscale values are values of the convolution.
此命令计算离散化的近似,使用快速傅里叶变换的卷积。返回值是另一个像素的图像(类的对象"im")的卷积值的灰度值。

If reflectX = TRUE then the pixel image X is reflected in the origin (see reflect) before the convolution is computed, so that convolve.im(X,Y,reflectX=TRUE) is mathematically equivalent to convolve.im(reflect(X), Y). (These two commands are not exactly equivalent, because the reflection is performed in the Fourier domain in the first command, and reflection is performed in the spatial domain in the second command).
如果reflectX = TRUE然后像素的图像X反映的起源(见reflect)之前的卷积计算,使convolve.im(X,Y,reflectX=TRUE)在数学上等价于convolve.im(reflect(X), Y) 。 (这两个命令是不完全等同,因为在傅立叶域中的第一命令,进行反射和反射时,在空间域中的所述第二命令中执行)。

Similarly if reflectY = TRUE then the pixel image Y is reflected in the origin before the convolution is computed, so that convolve.im(X,Y,reflectY=TRUE) is mathematically equivalent to convolve.im(X, reflect(Y)).
类似地,如果reflectY = TRUE然后像素图像Y被反射前的卷积计算,所以,在原点convolve.im(X,Y,reflectY=TRUE)是convolve.im(X, reflect(Y))数学上是等效的。


值----------Value----------

A pixel image (an object of class "im") representing the convolution of X and Y.
像素的图像(一个类的对象"im")的卷积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----------

imcov, reflect
imcov,reflect


实例----------Examples----------


  X <- as.im(letterR)
  Y <- as.im(square(1))
  plot(convolve.im(X, Y))
  plot(convolve.im(X, Y, reflectX=TRUE))
  plot(convolve.im(X))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-15 01:07 , Processed in 0.023491 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表