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

R语言 tractor.base包 MriImage-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 11:21:54 | 显示全部楼层 |阅读模式
MriImage-class(tractor.base)
MriImage-class()所属R语言包:tractor.base

                                        Class "MriImage"
                                         类“MriImage”

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

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

This class represents an MRI image. An object of this class is made up of some voxel data, stored as a sparse or dense numeric array, and an MriImageMetadata object, which stores extra information about the image, such as the file it was read from, the voxel dimensions, and so on. Since the class inherits from MriImageMetadata, any object can be treated as an object of that class where needed. The group generic functions Math, Ops and Summary are defined for this class, as are methods for coercing to and from a standard R array.
这个类表示的MRI图像。这个类的一个对象是由一些体素数据,存储为疏或密的数字阵列,和一个MriImageMetadata对象的图像,存储额外的信息,如文件被读取,体素尺寸,等等。由于类继承自MriImageMetadata,任何对象都可以被视为这个类的一个对象在需要的地方。组通用的功能Math,Ops和Summary被定义为这个类,胁迫的方法,从一个标准的Rarray。


扩展----------Extends----------

Class "MriImageMetadata", directly. Class "SerialisableObject", by class "MriImageMetadata", distance 2.
类"MriImageMetadata",直接。类"SerialisableObject",类的“MriImageMetadata”,距离2。

All reference classes extend and inherit methods from "envRefClass".
所有引用类的扩展和继承方法"envRefClass"。


方法----------Methods----------




[ signature(x = "MriImage", i = "ANY", j = "ANY"): Index methods for the MriImage class. These are wrappers around the corresponding method for the array or SparseArray classes, depending on the underlying data type.
[signature(x = "MriImage", i = "ANY", j = "ANY"):MriImage类指数的方法。这些的包装array或SparseArray类的基本数据类型,根据相应的方法。




[ signature(x = "MriImage", i = "ANY", j = "missing")
[signature(x = "MriImage", i = "ANY", j = "missing")方向




[ signature(x = "MriImage", i = "missing", j = "ANY")
[signature(x = "MriImage", i = "missing", j = "ANY")方向




[ signature(x = "MriImage", i = "missing", j = "missing")
[signature(x = "MriImage", i = "missing", j = "missing")方向




[<- signature(x = "MriImage", i = "ANY", j = "ANY"): Replacement methods for the MriImage class. These are wrappers around the corresponding method for the array or SparseArray classes, depending on the underlying data type.
[< - signature(x = "MriImage", i = "ANY", j = "ANY"):为MriImage类的替代方法。这些的包装array或SparseArray类的基本数据类型,根据相应的方法。




[<- signature(x = "MriImage", i = "ANY", j = "missing")
[< -  signature(x = "MriImage", i = "ANY", j = "missing")




[<- signature(x = "MriImage", i = "missing", j = "ANY")
[< -  signature(x = "MriImage", i = "missing", j = "ANY")




[<- signature(x = "MriImage", i = "missing", j = "missing")
[< -  signature(x = "MriImage", i = "missing", j = "missing")


字段----------Fields----------




imagedims: See the MriImageMetadata class.
imagedims:请参阅MriImageMetadata类。




voxdims: See the MriImageMetadata class.
voxdims:请参阅MriImageMetadata类。




voxunit: See the MriImageMetadata class.
voxunit:请参阅MriImageMetadata类。




source: See the MriImageMetadata class.
source:请参阅MriImageMetadata类。




datatype: See the MriImageMetadata class.
datatype:请参阅MriImageMetadata类。




origin: See the MriImageMetadata class.
origin:请参阅MriImageMetadata类。




storedXform: See the MriImageMetadata class.
storedXform:请参阅MriImageMetadata类。




tags: See the MriImageMetadata class.
tags:请参阅MriImageMetadata类。




data: The image data, stored as an object of class SparseOrDenseArray.
data:图像数据,存储对象类SparseOrDenseArray。


基于类的方法----------Class-Based Methods----------




initialize(data, metadata, ...): Create a new object of this class.
initialize(data, metadata, ...):创建一个新对象,这个类。




summarise(): Retrieve information about this object. This method is usually only called implicitly by the "show" method.
summarise():检索有关该对象的信息。这种方法通常只称为隐式"show"方法。




apply(...): Apply a function to margins of the image, as with the apply function in the base package.
apply(...):应用功能,图像的边缘,与apply功能的基础包中。




getData(): Retrieve the array of voxel values.
getData():检索的体素值的数组。




getDataAtPoint(...): Retrieve the value of the voxel at the location specified by c(...). Returns NA if the location is out of bounds.
getDataAtPoint(...):检索值的体素的c(...)指定的位置。返回NA的位置,如果是出界了。




getMetadata(): Retrieve the embedded MriImageMetadata object.
getMetadata():检索嵌入MriImageMetadata对象。




getNonzeroIndices(array=TRUE, positiveOnly=FALSE): Get the locations of nonzero voxels in the image.
getNonzeroIndices(array=TRUE, positiveOnly=FALSE):获取图像中的非零值的体素的位置。




getSparseness(): Retrieve the proportion of image pixels or voxels which are nonzero.
getSparseness():检索图像的像素或体素是非零的比例。




isSparse(): TRUE if the image data is stored as a SparseArray object; FALSE otherwise.
isSparse():TRUESparseArray对象;FALSE否则,如果图像数据被存储。

The following methods are inherited (from the corresponding class): getFieldOfView ("MriImageMetadata"), getVoxelUnit ("MriImageMetadata"), getDimensions ("MriImageMetadata"), initialize ("MriImageMetadata"), getDimensionality ("MriImageMetadata"), isInternal ("MriImageMetadata"), getDataType ("MriImageMetadata"), getSource ("MriImageMetadata"), getTags ("MriImageMetadata"), serialise ("SerialisableObject"), getVoxelDimensions ("MriImageMetadata"), getStoredXformMatrix ("MriImageMetadata"), summarise ("MriImageMetadata"), getTag ("MriImageMetadata"), setSource ("MriImageMetadata"), getOrigin ("MriImageMetadata"), methods ("SerialisableObject")
下面的方法是从对应的类继承():getFieldOfView(“MriImageMetadata”),getVoxelUnit(“MriImageMetadata),getDimensions(”MriImageMetadata),初始化(的“MriImageMetadata”),getDimensionality(“MriImageMetadata” ),isInternal(的“MriImageMetadata”),的getSource getDataType(“MriImageMetadata”),(“MriImageMetadata”),getTags(“MriImageMetadata”),连载(“SerialisableObject”),getVoxelDimensions(“MriImageMetadata”), (的“MriImageMetadata”),getStoredXformMatrix(“MriImageMetadata”),总结getTag(“MriImageMetadata),setSource(”MriImageMetadata),getOrigin(“MriImageMetadata),方法(”SerialisableObject“)


注意----------Note----------

The Summary group generic currently works only for a single image argument. A call such as max(image1,image2) will produce an error.
Summary组通用目前只适用于一个单一的图像参数。如max(image1,image2)呼叫会产生一个错误。


(作者)----------Author(s)----------


Jon Clayden



参考文献----------References----------




参见----------See Also----------

The SerialisableObject and MriImageMetadata classes, which this class extends. Also the group generic functions Math, Ops and Summary (in the methods package); newMriImageWithSimpleFunction and newMriImageWithBinaryFunction.
SerialisableObject和MriImageMetadata类,这个类继承。此外,本集团的通用功能Math,Ops和Summary(在methods包); newMriImageWithSimpleFunction和newMriImageWithBinaryFunction。


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


showClass("MriImage")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-30 11:50 , Processed in 0.038667 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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