ocontour(EBImage)
ocontour()所属R语言包:EBImage
Oriented contours
面向轮廓
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the oriented contour of objects.
计算面向对象的轮廓。
用法----------Usage----------
ocontour(x)
参数----------Arguments----------
参数:x
An Image object or an array, containing objects. Only integer values are considered. Pixels of value 0 constitute the background. Each object is a set of pixels with the same unique integer value. Objets are assumed connected.
Image对象或数组,包含的对象。被认为只有整数值。值为0的像素构成的背景。每个对象是一组具有相同的唯一的整数值的像素。艺术品假设连接。
值----------Value----------
A list of matrices, containing the coordinates of object oriented contours.
矩阵的一个列表,包含了面向对象的轮廓坐标。
作者(S)----------Author(s)----------
Gregoire Pau, <a href="mailto:gpau@ebi.ac.uk">gpau@ebi.ac.uk</a>, 2008
举例----------Examples----------
x = readImage(system.file("images", "shapes.png", package="EBImage"))
x = x[1:120,50:120]
if(interactive()) display(x)
oc = ocontour(x)
plot(oc[[1]], type='l')
points(oc[[1]], col=2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|