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

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

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

                                        Morphological Dilation
                                         形态学膨胀

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

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

Perform morphological dilation of a window, a line segment pattern or a point pattern
进行形态学膨胀的一个窗口一个点,线段模式或模式


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


dilation(w, r, ...)
## S3 method for class 'owin'
dilation(w, r, ..., polygonal=NULL, tight=TRUE)
## S3 method for class 'ppp'
dilation(w, r, ..., polygonal=TRUE, tight=TRUE)
## S3 method for class 'psp'
dilation(w, r, ..., polygonal=TRUE, tight=TRUE)



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

参数:w
A window (object of class "owin" or a line segment pattern (object of class "psp") or a point pattern (object of class "ppp").  
一个窗口(对象类"owin"或线段模式(类的对象"psp")或点模式(类的对象"ppp")。


参数:r
positive number: the radius of dilation.
正数:膨胀的半径。


参数:...
extra arguments passed to as.mask controlling the pixel resolution, if the pixel approximation is used.  
额外的参数传递给as.mask控制像素的分辨率,如果使用的像素的近似值。


参数:polygonal
Logical flag indicating whether to compute a polygonal approximation to the erosion (polygonal=TRUE) or a pixel grid approximation (polygonal=FALSE).  
逻辑标志,指示是否计算多边形近似的侵蚀(polygonal=TRUE)或(polygonal=FALSE)的像素网格近似。


参数:tight
Logical flag indicating whether the bounding frame of the window should be taken as the smallest rectangle enclosing the dilated region (tight=TRUE), or should be the dilation of the bounding frame of w (tight=FALSE).  
逻辑标志指示是否应采取的最小矩形包围扩张区(框架窗口的边界tight=TRUE),或应是扩张的边界框架w(tight=FALSE )。


Details

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

The morphological dilation of a set W by a distance r > 0 is the set consisting of all points lying at most r units away from W. Effectively, dilation adds a margin of width r onto the set W.
一组的形态扩张W的距离r > 0是组成的集合中的所有点远离r躺在至多W单位。实际上,扩张增加了一个上缘的宽度r设置W。

If polygonal=TRUE then a polygonal approximation to the dilation is computed. If polygonal=FALSE then a pixel approximation to the dilation is computed from the distance map of w. The arguments "\dots" are passed to as.mask to control the pixel resolution.
如果polygonal=TRUE然后计算的多边形近似的扩张。如果polygonal=FALSE像素近似的扩张来计算从图w的距离。这些参数"\dots"传递给as.mask控制像素的分辨率。

When w is a window, the default (when polygonal=NULL) is to compute a polygonal approximation if w is a rectangle or polygonal window, and to compute a pixel approximation if w is a window of type "mask".
当w是一个窗口,默认值(当polygonal=NULL)是计算多边形近似w是一个矩形或多边形窗口,并计算像素的近似如果w 是的窗口类型"mask"。


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

If r > 0, an object of class "owin" representing the dilated region. If r=0, the result is identical to w.
如果r > 0,一个类的对象"owin"扩张的区域。如果r=0,结果是相同的w。


(作者)----------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----------

erosion for the opposite operation.
erosion相反的操作。

owin, as.owin
owin,as.owin


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


  w <- owin(c(0,1),c(0,1))
  v <- dilation(w, 0.1)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-13 18:15 , Processed in 0.022927 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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