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

R语言 CRImage包 createTrainingSet()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 16:00:30 | 显示全部楼层 |阅读模式
createTrainingSet(CRImage)
createTrainingSet()所属R语言包:CRImage

                                         Construction of a training set
                                         建设一个训练集

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

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

Creates a training set for cell classification.
创建单元分类培训。


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


createTrainingSet(filename = "", image = NA,maxShape = NA,minShape = NA,failureRegion = NA, threshold = "otsu",numWindows=2)



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

参数:filename
Path to an image file.  
一个图像文件的路径。


参数:image
An 'Image' object, if filename is not specified.  
“图像”对象,如果未指定文件名。


参数:maxShape
Maximum size of cell nuclei
最大规模的单元核


参数:minShape
Minimum size of cell nuclei  
最小尺寸的单元核


参数:failureRegion
minimum size of failure regions
故障区域的最小尺寸


参数:threshold
Which threshodling method should be used, "otsu" or "phansalkar"
应使用threshodling方法,“大津”或“phansalkar”


参数:numWindows
Number of windows to use for thresholding.
窗户的数量,使用的阈值。


Details

详情----------Details----------

The image is segmented. An image is created, in which every cell is labeled with a numberl. Furthermore, a table including the features of the cells is created. In order to create the training set, the table with the cell features has to be opened for instance in a spreadsheet program. Class values for the cells have to be inserted in the column 'class'. The corresponding cell in the image can be identified by the column 'index' (numbers in column index correspond to numbers in the image). Class values for different classes can be numbers or strings. Be careful, this function does not work on MacOsX because of font incompabilities.
图像分割。创建一个图像,其中的每一个单元标记与numberl。此外,包括单元的功能表被创建。为了创造训练集,与单元功能的表,例如打开一个电子表格程序。类单元值都必须在插入列“类”。可识别图像中的相应单元格列的索引(列索引中的数字图像中的数字对应)。针对不同类的类值可以是数字或字符串。要小心,此功能不工作在MacOSX因为字体incompabilities的。


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

A List containing:
一份列表,列出:


参数:labeledImage
Image with labeled cells
图像标记单元


参数:cellFeatures
Table of the cell features.
单元的功能表。


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


Henrik Failmezger, failmezger@cip.ifi.lmu.de



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

'createClassifier'
createClassifier“


举例----------Examples----------


f = system.file("extdata", "exImg.jpg", package="CRImage")
trainingValues=createTrainingSet(filename=f,maxShape=800,minShape=40,failureRegion=2000)
#display(trainingValues[[1]])[显示器(trainingValues [1])]
#trainingValues[[2]][trainingValues [2]]]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 14:17 , Processed in 0.029353 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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