tpsgrid(shapes)
tpsgrid()所属R语言包:shapes
Thin-plate spline transformation grids
薄板样条改造电网
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Thin-plate spline transformation grids from one set of landmarks to another.
薄板样条改造电网从一组到另一地标。
用法----------Usage----------
tpsgrid(TT, YY, xbegin=-999, ybegin=-999, xwidth=-999, opt=1, ext=0.1, ngrid=22, cex=1, pch=20, col=2,zslice=0,
mag=1, axes3=FALSE)
参数----------Arguments----------
参数:TT
First object (source): (k x m matrix)
第一个对象(源):(k×m矩阵)
参数:YY
Second object (target): (k x m matrix)
第二对象(目标):(k x的m矩阵)
参数:xbegin
lowest x value for plot: if -999 then a value is determined
x值最低的图:如果-999,然后确定一个值
参数:ybegin
lowest y value for plot: if -999 then a value is determined
y值最低的图:如果-999,然后确定一个值
参数:xwidth
width of plot: if -999 then a value is determined
宽度的图:如果-999,然后确定一个值
参数:opt
Option 1: (just deformed grid on YY is displayed), option 2: both grids are displayed
选项1:(变形网格YY显示),显示选项2:两个网格
参数:ext
Amount of border on plot in 2D case.
在2D情况下,地积数量的边界。
参数:ngrid
Number of grid points: size is ngrid * (ngrid -1)
的网格点数目:的大小是ngrid *(ngrid -1)
参数:cex
Point size
点大小
参数:pch
Point symbol
点符号
参数:col
Point colour
点颜色
参数:zslice
For 3D case the scaled z co-ordinate(s) for the grid slice(s). The values are on a standardized scale as a proportion of height from the middle of the z-axis to the top and bottom. Values in the range -1 to 1 would be sensible.
对于3D情况下,缩放Ž坐标(s)为网格片()。这些值是在从z轴的中间的顶部和底部的高度的比例作为标准化的规模。值范围在-1到1将是明智的。
参数:mag
Exaggerate effect (mag > 1). Standard effect has mag=1.
夸大效果(MAG> 1)。标准的效果MAG = 1。
参数:axes3
Logical. If TRUE then the axes are plotted in a 3D plot.
逻辑。如果是TRUE,然后绘制轴在三维图。
Details
详细信息----------Details----------
A square grid on the first configuration is deformed smoothly using a pair of thin-plate splines in 2D, or a triple of splines in 3D, to a curved grid on the second object. For 3D data the grid is placed at a constant z-value on the first figuure, indicated by the value of zslice.
上的第一配置的方形网格变形顺利使用对薄板样条在2D中,或在3D中的花键的三倍,以弯曲的网格上的第二个目的。对于3D数据的网格被放置在一个恒定的z值所表示的值zslice在第一figuure,。
For 2D data the covariance function in the thin-plate spline is $sigma(h) = |h|^2 log |h|^2$ and in 3D it is given by $sigma(h) = -| h |$.
对于二维数据的协方差函数的薄板样条是六西格玛(H)= | H | ^ 2log| H | ^ 2 $和3D的西格玛(H)= - | H |。
值----------Value----------
No returned value
没有返回值
(作者)----------Author(s)----------
Ian Dryden
参考文献----------References----------
splines and the decomposition of deformations, IEEE Transactions on Pattern Analysis and Machine Intelligence, 11, 567–585.
Analysis. Wiley, Chichester. Chapter 10.
参见----------See Also----------
procGPA
procGPA
实例----------Examples----------
data(gorf.dat)
data(gorm.dat)
#TPS grid with shape change exaggerated (2x)[夸张的TPS网格的形状变化(2个)]
gorf<-procGPA(gorf.dat)
gorm<-procGPA(gorm.dat)
TT<-gorf$mshape
YY<-gorm$mshape
tpsgrid(TT,YY,mag=2)
title("TPS grid: Female mean (left) to Male mean (right)")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|