SauvolaThreshold(CRImage)
SauvolaThreshold()所属R语言包:CRImage
Do Sauvola thresholding
做Sauvola阈值
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Thresholding method using mean and standard deviation.
阈值用均值和标准差的方法。
用法----------Usage----------
SauvolaThreshold(allGreyValues)
参数----------Arguments----------
参数:allGreyValues
Vector of gray values.
向量的灰度值。
Details
详情----------Details----------
A threshold for the gray values is returned
返回灰度值的阈值
值----------Value----------
The threshold.
阈值。
作者(S)----------Author(s)----------
Henrik Failmezger, failmezger@cip.ifi.lmu.de
参考文献----------References----------
参见----------See Also----------
createBinaryImage
createBinaryImage
举例----------Examples----------
f1= system.file("extdata", "exImg2.jpg", package="CRImage")
print(f1)
img=readImage(f1)
print(img)
#convert to grayscale[转换为灰度]
imgG=EBImage::channel(img,'grey')
#threshold value[阈值]
t=SauvolaThreshold(as.vector(imgG))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|