transect.im(spatstat)
transect.im()所属R语言包:spatstat
Pixel Values Along a Transect
沿样带的像素值
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extract the pixel values of a pixel image at each point along a linear transect.
提取的像素的图像的像素值的每个点处沿直线的断面。
用法----------Usage----------
transect.im(X, ..., from="bottomleft", to="topright",
click=FALSE, add=FALSE)
参数----------Arguments----------
参数:X
A pixel image (object of class "im").
像素的图像(类的对象"im"“)。
参数:...
Ignored.
忽略。
参数:from,to
Optional. Start point and end point of the transect. Pairs of (x,y) coordinates in a format acceptable to xy.coords, or keywords "bottom", "left", "top", "right", "bottomleft" etc.
可选。开始点和结束点的断面。对(x,y)坐标接受的格式xy.coords,或关键字"bottom","left","top","right","bottomleft"等等
参数:click
Optional. Logical value. If TRUE, the linear transect is determined interactively by the user, who clicks two points on the current plot.
可选。逻辑值。如果TRUE,的线性样的交互方式确定的用户,点击两点对当前的图。
参数:add
Logical. If click=TRUE, this argument determines whether to perform interactive tasks on the current plot (add=TRUE) or to start by plotting X (add=FALSE).
逻辑。如果click=TRUE,这个参数决定是否进行互动式的任务,目前积(add=TRUE)开始通过绘制X(add=FALSE)。
Details
详细信息----------Details----------
The pixel values of the image X along a line segment will be extracted. The result is a function table ("fv" object) which can be plotted directly.
图像的像素值的X沿着线段将被提取。其结果是一个函数表("fv"对象),它可以直接被绘制。
If click=TRUE, then the user is prompted to click two points on the plot of X. These endpoints define the transect.
如果click=TRUE,那么用户会被提示单击两个点的图X。这些端点定义样。
Otherwise, the transect is defined by the endpoints from and to. The default is a diagonal transect from bottom left to top right of the frame.
否则,断面定义由端点from和to。默认值是一个对角线样从左下到右上的框架。
值----------Value----------
An object of class "fv" which can be plotted.
一个对象的类"fv"的可以绘制。
(作者)----------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----------
im
im
实例----------Examples----------
Z <- density(redwood)
plot(transect.im(Z))
## Not run: [#不运行:]
plot(transect.im(Z, click=TRUE))
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|