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

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

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

                                        Vertices of a Window
                                         一个窗口的顶点

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

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

Finds the vertices of a window
查找的一个窗口的顶点


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


vertices(w)



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

参数:w
A window.
一个窗口。


Details

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

This function computes the vertices ("corners") of a spatial window.
此函数计算的顶点(角落)的空间窗口。

The argument w should be a window (an object of class "owin", see owin.object for details).
参数w应该是一个窗口(类的一个对象"owin",看到owin.object的详细信息)。

If w is a rectangle, the coordinates of the four corner points are returned.
如果w是一个矩形,四个角落的点的坐标返回。

If w is a polygonal window (consisting of one or more polygons), the coordinates of the vertices of all polygons are returned.
如果w是一个多边形的窗口(由一个或多个多边形组成的),所有多边形的各顶点的坐标返回。

If w is a binary mask, then a "boundary pixel" is defined to be a pixel inside the window which has at least one neighbour outside the window. The coordinates of the centres of all boundary pixels are returned.
如果w是一个二进制掩码,然后一个边界象素“被定义为具有至少一个相邻窗口之外的窗口,该窗口内的像素。返回的所有边界像素的中心的坐标。


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

A list with components x and y giving the coordinates of the vertices.
列表组件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----------

owin.object.
owin.object。


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


  data(letterR)
  vert <- vertices(letterR)

  plot(letterR, main="Polygonal vertices")
  points(vert)
  plot(letterR, main="Boundary pixels")
  points(vertices(as.mask(letterR)))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 07:04 , Processed in 0.019841 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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