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

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

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

                                        Morphological Opening
                                         形态开

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

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

Perform morphological opening of a window, a line segment pattern or a point pattern.
形态开一个窗口一个点,线段模式或模式。


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


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



参数----------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 the opening.
正数:开放的半径。


参数:...
extra arguments passed to as.mask controlling the pixel resolution, if a 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)的像素网格近似。


Details

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

The morphological opening (Serra, 1982) of a set W by a distance r > 0 is the subset of points in W that can be  separated from the boundary of W by a circle of radius r. That is, a point x belongs to the opening  if it is possible to draw a circle of radius r (not necessarily centred on x) that has x on the inside and the boundary of W on the outside. The opened set is a subset of W.
的形态开口(塞拉,1982)的一组W的距离r > 0是在W可以分离由W从边界点的子集的圈半径r。也就是说,一个点x属于的开口部,如果它是可以画一个圆的半径r(不一定中心上x)具有x的内部和W外部边界。打开的集的一个子集W。

For a small radius r, the opening operation has the effect of smoothing out irregularities in the boundary of W. For larger radii, the opening operation removes promontories in the boundary. For very large radii, the opened set is empty.
对于一个小半径r,打开操作具有在边界W平滑凹凸的效果。对于较大的半径,打开操作将删除的海角的边界。对于非常大的半径,在打开的设置是空的。

The algorithm applies erosion followed by dilation.
该算法适用于erosion其次是dilation的。


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

If r > 0, an object of class "owin" representing the opened 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>




参考文献----------References----------

Image analysis and mathematical morphology. Academic Press.

参见----------See Also----------

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

dilation, erosion for the basic operations.  
dilation,erosion的基本操作。

owin, as.owin for information about windows.
owin,as.owin信息窗口。


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


  data(letterR)
  v <- opening(letterR, 0.3, dimyx=256)
  plot(v, main="opening")
  plot(letterR, add=TRUE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-15 23:10 , Processed in 0.020317 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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