distmap(spatstat)
distmap()所属R语言包:spatstat
Distance Map
距离图
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute the distance map of an object, and return it as a pixel image. Generic.
计算的对象的距离的图,并返回它作为一个像素的图像。通用。
用法----------Usage----------
distmap(X, ...)
参数----------Arguments----------
参数:X
Any suitable dataset representing a two-dimensional object, such as a point pattern (object of class "ppp"), a window (object of class "owin") or a line segment pattern (object of class "psp").
任何合适的数据集,代表一个二维对象,如一个点图案(类的对象"ppp"),一个窗口(对象类"owin")或类的对象的线段图案(<X >)。
参数:...
Arguments passed to as.mask to control pixel resolution.
参数传递给as.mask控制像素的分辨率。
Details
详细信息----------Details----------
The “distance map” of a set of points A is the function f whose value f(x) is defined for any two-dimensional location x as the shortest distance from x to A.
的“距离图”的一组点A的功能是f其值f(x)被定义为任何二维位置x的最短距离从 x到A。
This function computes the distance map of the set X and returns the distance map as a pixel image.
此函数计算距离映射的设置X返回的距离映射为一个像素的图像。
This is generic. Methods are provided for point patterns (distmap.ppp), line segment patterns (distmap.psp) and windows (distmap.owin).
这是通用的。方法提供了点模式(distmap.ppp),线段模式(distmap.psp)和Windows(distmap.owin)。
值----------Value----------
A pixel image (object of class "im") whose grey scale values are the values of the distance map.
像素的图像(类的对象"im")的灰度值是距离映射的值。
(作者)----------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----------
distmap.ppp, distmap.psp, distmap.owin, distfun
distmap.ppp,distmap.psp,distmap.owin,distfun
实例----------Examples----------
data(cells)
U <- distmap(cells)
data(letterR)
V <- distmap(letterR)
## Not run: [#不运行:]
plot(U)
plot(V)
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|