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

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

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

                                         Approximate a Polygon by a Simpler Polygon
                                         一个简单的多边形一个多边形

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

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

Given a polygonal window, this function finds a simpler polygon that approximates it.
多边形窗口,这个函数找到一个简单的多边形,接近它。


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


simplify.owin(W, dmin)



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

参数:W
The polygon which is to be simplied. An object of class "owin".  
被简化后的多边形是。对象的类"owin"。


参数:dmin
Numeric value. The smallest permissible length of an edge.  
数值。允许的最小长度的边缘。


Details

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

This function simplifies a polygon W by recursively deleting the shortest edge of W until all remaining edges are longer than the specified minimum length dmin, or until there are only three edges left.
此功能简化了多边形W通过递归删除最短的边缘W直到所有剩余的边长低于规定的最低长度dmin,直到有三条边离开。

The argument W must be a window (object of class "owin"). It should be of type "polygonal". If W is a rectangle, it is returned without alteration.
参数W必须是一个窗口(类的对象"owin"“)。它应该是的类型"polygonal"。如果W是一个矩形,则返回没有改变。

The simplification algorithm is not yet implemented for binary masks. If W is a mask, an error is generated.
尚未实现的简化算法的二进制口罩。如果W是一个面具,就会产生错误。


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

Another window (object of class "owin") of type "polygonal".
另一个窗口(对象类"owin")"polygonal"。


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

owin
owin


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


  data(letterR)
  plot(letterR, col="red")
  plot(simplify.owin(letterR, 0.3), col="blue", add=TRUE)
  data(chorley)
  W <- chorley$window
  plot(W)
  WS <- simplify.owin(W, 2)
  plot(WS, add=TRUE, border="green")
  points(vertices(WS))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 03:17 , Processed in 0.024833 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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