normalize(EBImage)
normalize()所属R语言包:EBImage
Intensity values linear scaling
强度值线性缩放
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Linearly scale the intensity values of an image to a specified range.
线性缩放图像的强度值到指定的范围内。
用法----------Usage----------
normalize(x, separate=TRUE, ft=c(0,1))
参数----------Arguments----------
参数:x
An Image object or an array.
Image对象或数组。
参数:separate
If TRUE, normalizes each frame separately.
如果TRUE,标准化每一帧分开。
参数:ft
A numeric vector of 2 values, target minimum and maximum intensity values after normalization.
2值,最低目标和关系标准化之后的最大强度值的一个数值向量。
值----------Value----------
An Image object or an array, containing the transformed version of x.
一个Image对象或数组,包含x的转换版本。
作者(S)----------Author(s)----------
Oleg Sklyar, <a href="mailto sklyar@ebi.ac.uk">osklyar@ebi.ac.uk</a>, 2006-2007
举例----------Examples----------
x = readImage(system.file('images', 'shapes.png', package='EBImage'))
x = x[110:512,1:130]
y = bwlabel(x)
if (interactive()) display(x, title='Original')
print(range(y))
y = normalize(y)
print(range(y))
if (interactive()) display(y, title='Segmented')
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|