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

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

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

                                        Apply Affine Transformation To Line Segment Pattern
                                         仿射变换应用到线段模式

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

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

Applies any affine transformation of the plane (linear transformation plus vector shift) to a line segment pattern.
的平面(线性变换加上向量移位)的仿射变换的任何适用的线段图案。


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


## S3 method for class 'psp'
affine(X, mat=diag(c(1,1)), vec=c(0,0), ...)



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

参数:X
Line Segment pattern (object of class "psp").
线段模式(类的对象"psp")。


参数:mat
Matrix representing a linear transformation.
矩阵的线性变换。


参数:vec
Vector of length 2 representing a translation.
矢量长度为2翻译。


参数:...
Arguments passed to affine.owin affecting the handling of the observation window, if it is a binary pixel mask.  
参数传递给affine.owin影响的观察窗的处理,如果它是一个二进制象素掩模。


Details

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

The line segment pattern, and its window, are subjected first to the linear transformation represented by mat (multiplying on the left by mat), and are then translated by the vector vec.
线段图案,和它的窗口,进行第1所表示的线性变换mat(左边乘以由mat),以及由矢量vec然后翻译。

The argument mat must be a nonsingular 2 * 2 matrix.
参数mat必须是一个非奇异的2 * 2矩阵。

This is a method for the generic function affine.
这是一个方法的通用函数affine。


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

Another line segment pattern (of class "psp") representing the result of applying the affine transformation.
另一个线段模式(类"psp")应用仿射变换的结果。


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

affine, affine.owin, affine.ppp, affine.im, flipxy, rotate, shift
affine,affine.owin,affine.ppp,affine.im,flipxy,rotate,shift


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


  oldpar <- par(mfrow=c(2,1))
  X <- psp(runif(10), runif(10), runif(10), runif(10), window=owin())
  plot(X, main="original")
  # shear transformation[剪切变换]
  Y <- affine(X, matrix(c(1,0,0.6,1),ncol=2))
  plot(Y, main="transformed")
  par(oldpar)
  # []
  # rescale y coordinates by factor 0.2[重新调整y坐标系数为0.2]
  affine(X, diag(c(1,0.2)))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-12 19:27 , Processed in 0.020070 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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