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

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

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

                                        Watershed transformation and watershed based object detection
                                         分水岭变换和的分水岭基于对象检测

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

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

Watershed transformation and watershed based object detection.
分水岭变换和的分水岭基于对象检测。


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


  watershed(x, tolerance=1, ext=1)



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

参数:x
An Image object or an array.
Image对象或数组。


参数:tolerance
The minimum height of the object in the units of image intensity between its highest point (seed) and the point where it contacts another object (checked for every contact pixel). If the height is smaller than the tolerance, the object will be combined with one of its neighbors, which is the highest. Tolerance should be chosen according to the range of x. Default value is 1, which  is a reasonable value if x comes from distmap.
对象的最低高度,在图像的亮度单位之间的最高点(种子)和点接触另一个对象(检查每一个接触像素)。如果高度小于公差时,该对象将与它的邻国之一,这是最高的。根据x的范围,应选择宽容。默认值是1,这是一个合理的值,如果xdistmap。


参数:ext
Radius of the neighborhood in pixels for the detection of neighboring objects. Higher value smoothes out small objects.  
在检测相邻对象的像素邻域的半径。出小物件价值较高的平滑。


Details

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

The algorithm identifies and separates objects that stand out of the background (zero). After the water fill, the source image is flipped upside down and the resulting valleys (values with higher intensities) are filled in first until another object or background is met. The deepest valleys (pixels with highest intensity) become indexed first, starting from 1.
该算法的识别和分离对象的背景(零)。进水后,源图像翻转倒置和由此产生的山谷(具有较高的强度的值)填写在第一,直到另一个对象或背景会见。最深的山谷(强度最高像素)成为第一个索引,从1开始。

The function bwlabel is a simpler, faster alternative to  segment connected objects from binary images.
功能bwlabel是一个更简单,更快的替代方案,从二进制图像段连接的对象。


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

An Grayscale Image object or an array, containing the labelled version of x.
GrayscaleImage对象或数组,包含x的标记版本。


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



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




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

bwlabel,  propagate
bwlabel,propagate


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


  x = readImage(system.file('images', 'shapes.png', package='EBImage'))
  x = x[110:512,1:130]
  if (interactive()) display(x, title='Binary')
  y = distmap(x)
  if (interactive()) display(normalize(y), title='Distance map')
  w = watershed(y)
  if (interactive()) display(normalize(w), title='Watershed')

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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