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

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

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

                                        Object removal and reindexation
                                         对象的搬迁和reindexation

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

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

The rmObjects functions deletes objects from an image by setting their pixel intensity values to 0. reenumerate re-enumerates all objects in an image from 0 (background) to the actual number of objects.
rmObjects功能删除对象从图像像素强度值设置为0。 reenumerate重新枚举图像对象的实际人数从0(背景)中的所有对象。


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


  rmObjects(x, index)

  reenumerate(x)



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

参数:x
An Image object in Grayscale color mode or an array containing object masks. Object masks are sets of pixels with the same unique integer value.
ImageGrayscale颜色模式或一个数组,包含对象口罩对象。对象口罩套像素具有相同的唯一的整数值。


参数:index
A numeric vector (or a list of vectors if x contains multiple frames)  containing the indexes of objects to remove in the frame.
一个数字矢量(或向量列表x如果包含多个帧)帧中包含的对象的索引中删除。


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

An Image object or an array, containing the new objects.
Image对象或数组,包含新的对象。


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



Oleg Sklyar, <a href="mailtosklyar@ebi.ac.uk">osklyar@ebi.ac.uk</a>, 2006-2007




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

bwlabel, watershed
bwlabel,watershed


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


  ## make objects[#使物体]
  x = readImage(system.file('images', 'shapes.png', package='EBImage'))
  x = x[110:512,1:130]
  y = bwlabel(x)
  if (interactive()) display(normalize(y), title='Objects')
  
  ## remove and reenumerate[#删除和reenumerate]
  y = rmObjects(y, 5)
  if (interactive()) display(normalize(y), title='Removal')
  y = reenumerate(y)
  if (interactive()) display(normalize(y), title='Reenumerated')

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-11 16:42 , Processed in 0.019942 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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