niftyreg(RNiftyReg)
niftyreg()所属R语言包:RNiftyReg
Two and three dimensional image registration
二维和三维图像配准
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The niftyreg function performs linear or nonlinear registration for two and three dimensional images. 4D images may also be registered volumewise to a 3D image, or 3D images slicewise to a 2D image. This function is a common wrapper for niftyreg.linear and niftyreg.nonlinear.
niftyreg函数执行线性或非线性的登记的二维和三维图像。 “4D的图像,也可以注册到的3D图像或2D图像的3D图像slicewise volumewise。这个函数是一个通用的包装niftyreg.linear和niftyreg.nonlinear。
用法----------Usage----------
niftyreg(source, target, targetMask = NULL, initAffine = NULL,
scope = c("affine","rigid","nonlinear"), ...)
参数----------Arguments----------
参数:source
The source image, an object of class "nifti" with 2, 3 or 4 dimensions. Package oro.nifti defines this class and provides functions for reading and writing NIfTI files.
源图像,对象类"nifti"2,3或4个维度。套件oro.nifti定义类,并提供NIfTI文件读取和写入功能。
参数:target
The target image, an object of class "nifti" with 2 or 3 dimensions.
目标图像,类"nifti"2维或3维的一个目的。
参数:targetMask
An optional mask image (again a "nifti" object), whose nonzero region will be taken as the region of interest for the registration. Must have the same voxel and image dimensions as the target image.
一个可选的掩模图像(再次"nifti"对象)的,其非零的区域将被视为用于登记感兴趣的区域。必须具有相同的体素和图像作为目标图像的尺寸。
参数:initAffine
An optional affine matrix, or list of matrices, to initialise the algorithm.
一个可选的仿射矩阵,矩阵或列表,初始化算法。
参数:scope
A string describing the scope, or number of degrees of freedom (DOF), of the registration. The currently-supported values are "affine" (12 DOF), "rigid" (6 DOF) or "nonlinear" (high DOF, with the exact number depending on the image sizes).
一个字符串,它描述的范围或数量的自由度(DOF),注册登记手续。目前支持的值是"affine"(12 DOF),"rigid"(6 DOF)或"nonlinear"(高自由度,根据图像尺寸)的确切数字。
参数:...
Further arguments to niftyreg.linear or niftyreg.nonlinear.
进一步的论据niftyreg.linear或niftyreg.nonlinear。
值----------Value----------
A list of class "niftyreg" with components
类"niftyreg"的组件的列表
参数:image
An image object of class "nifti" representing the registered and resampled source image in the space of the target image.
图像对象的类"nifti"代表的注册和重采样source图像在target图像的空间。
参数:affine
A list of 4x4 matrices containing the optimised affine transformations for each slice or volume of the source image. If the target is a 2D image, elements involving the Z dimension will have no effect. This element is NULL if nonlinear registration is performed.
一个优化的仿射变换源图像的每个切片或体积的4x4矩阵列表。如果目标是2D图像,涉及的Z维度的元素将没有任何效果。此元素是NULL,如果非线性登记。
参数:control
A list of objects of class "nifti", representing the control point images for each warping. This element is NULL if linear (rigid or affine) registration is performed.
类"nifti",翘曲的控制点图像的每个对象的一个列表。此元素是NULL,如果线性(刚性或仿射)注册。
参数:iterations
A list of integer vectors giving the number of iterations actually run within each level, for each slice or volume of the source image. Note that for the first level of the linear algorithm specifically, twice the specified number of iterations is allowed.
给予的迭代次数的整数向量列表实际上每个级别内运行,对于每个片层或卷的源图像。请注意,为第一电平的线性算法具体,两倍允许指定的迭代次数。
参数:scope
Copied from the function argument of the same name.
复制从函数参数相同的名称。
注意----------Note----------
If substantial parts of the target image are zero-valued, for example because the target image has been brain-extracted, it can be useful to pass it as a target mask as well as the target image, viz. niftyreg(source, target, target).
如果目标图像的实质性部分是零的值,例如,因为目标图像已被脑提取的,它可以是有用的,将它作为一个目标掩模,以及目标图像,即。 niftyreg(source, target, target)。
There is no reason that arrays that do not represent medical images cannot be registered using this function. A standard R array can be converted to a valid "nifti" object easily for these purposes using the as.nifti function in the oro.nifti package.
我们没有理由阵列,并不代表医学影像无法使用此功能注册。标准R数组可以被转换为有效的"nifti"对象很容易为这些目的使用as.nifti功能oro.nifti包。
(作者)----------Author(s)----------
Jon Clayden <jon.clayden+rniftyreg@gmail.com>
参考文献----------References----------
参见----------See Also----------
niftyreg.linear and niftyreg.nonlinear, which do most of the work. See nifti (no relation!), in the oro.nifti package, for creating the image objects passed to this function. Useful related functions are as.nifti, readNIfTI and writeNIfTI.
niftyreg.linear和niftyreg.nonlinear,做的大部分工作。见nifti(没有关系),在oro.nifti包,创造的形象传递给这个函数的对象。有用的相关功能as.nifti,readNIfTI和writeNIfTI。
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|