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

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

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

                                         Convert a Window to a Polygonal Window
                                         转换一个多边形窗口一个窗口来

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

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

Given a window W of any geometric type (rectangular, polygonal or binary mask),  this function returns a polygonal window that represents the same spatial domain.
给定一个窗口W任何几何类型(矩形,多边形或二进制掩码),这个函数返回一个多边形窗口,代表相同的空间域。


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


as.polygonal(W)



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

参数:W
A window (object of class "owin").  
一个窗口(类的对象"owin"“)。


Details

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

Given a window W of any geometric type (rectangular, polygonal or binary mask),  this function returns a polygonal window that represents the same spatial domain.
给定一个窗口W任何几何类型(矩形,多边形或二进制掩码),这个函数返回一个多边形窗口,代表相同的空间域。

If W is already polygonal, it is returned without change.
如果W是多边形,则返回没有变化。

If W is a rectangle, it is converted to a polygon with 4 vertices.
如果W是一个矩形,它被转换成4个顶点的多边形。

If W is a binary mask, then each pixel in the mask is replaced by a small square or rectangle, and the union of these squares or rectangles is computed. The result is a polygonal window that has only horizontal and vertical edges.  (Use simplify.owin to remove the staircase appearance, if desired).
如果W是一个二进制掩码,掩码中的每个像素被替换由一个小的正方形或长方形,以及这些正方形或长方形的联合被计算。其结果是一个多边形的仅具有水平和垂直边缘的窗口。 (使用simplify.owin删除的楼梯外观,如果需要的话)。


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

A polygonal window (object of class "owin" and 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, as.owin, as.mask, simplify.owin
owin,as.owin,as.mask,simplify.owin


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


   data(letterR)
   m <- as.mask(letterR, dimyx=32)
   p <- as.polygonal(m)
   if(interactive()) {
      plot(m)
      plot(p, add=TRUE, lwd=2)
   }

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-12 17:01 , Processed in 0.022344 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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