denoise(EBImage)
denoise()所属R语言包:EBImage
Blurring images
模糊图像
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Blurs an image with ImageMagick functions.
ImageMagick的功能模糊图像。
用法----------Usage----------
blur(x, r=0, s=0.5)
gblur(x, r=0, s=0.5)
参数----------Arguments----------
参数:x
An Image object or an array.
Image对象或数组。
参数:r
A numeric value for the radius of the pixel neighbourhood. The default value 0 enables automatic radius selection.
为半径的像素附近的一个数值。默认值0启用自动半径选择。
参数:s
The standard deviation of the Gaussian filter used for blurring. For reasonable results, r must be larger than s.
标准差的高斯滤波器用于模糊。对于合理的结果,r必须比s。
Details
详情----------Details----------
blur uses an unspecified separable kernel. gblur uses a Gaussian kernel. The algorithms used by these ImageMagick functions are not well defined and hence, the usage of filter2 is preferable to blur or gblur.
blur使用未指定的可分离内核。 gblur使用高斯内核。 ImageMagick的功能,这些算法都不能很好地定义,因此,使用filter2最好blur或gblur。
值----------Value----------
An Image object or an array, containing the blurred version of x.
一个Image对象或数组,包含x的视物模糊。
作者(S)----------Author(s)----------
Oleg Sklyar, <a href="mailto sklyar@ebi.ac.uk">osklyar@ebi.ac.uk</a>, 2005-2007
参考文献----------References----------
参见----------See Also----------
filter2
filter2
举例----------Examples----------
x = readImage(system.file("images", "lena.gif", package="EBImage"))
if (interactive()) display(x)
y = blur(x, r=3, s=2)
if (interactive()) display(y, title='blur(x, r=3, s=2)')
y = gblur(x, r=3, s=2)
if (interactive()) display(y, title='gblur(x, r=3, s=2)')
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|