Combine(EBImage)
Combine()所属R语言包:EBImage
Combining images
结合图像
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Merges images to create image sequences.
合并图像以创建图像序列。
用法----------Usage----------
combine(x, ..., along)
参数----------Arguments----------
参数:x
An Image object, an array, or a list of Image objects and arrays.
Image对象,数组或Image对象和数组列表。
参数:...
Image objects or arrays.
Image对象或数组。
参数:along
an optional numeric. See details.
一个可选的数字。查看详情。
Details
详情----------Details----------
The function combine uses abind to merge multi-dimensionnal arrays along the dimension specified by the value along.
功能combine使用abind多沿着价值along指定的维度-维数组合并。
If along is missing, a default value depending on the color mode of x is used. If x is a Grayscale image or an array, along is set to 3 and image objects are combined on this dimension. If x is a Color image, along is set to 4 and image objects are combined on this dimension, leaving room on the third dimension for color channels.
如果along丢失,默认值取决于色彩模式x使用。 x如果是Grayscale图像或一个数组,along设置为3和图像对象结合这一层面上。 x如果是Color形象,along设置为4,并结合这一层面上,图像中的物体上留下的颜色通道的第三维空间。
值----------Value----------
An Image object or an array.
Image对象或数组。
作者(S)----------Author(s)----------
Gregoire Pau
参见----------See Also----------
Image
Image
举例----------Examples----------
if (interactive()) {
## combination of color images[#彩色图像的结合]
lena = readImage(system.file("images", "lena-color.png", package="EBImage"))
x = combine(lena, flip(lena), flop(lena))
if (interactive()) display(x)
## Blurred lenas[#模糊lenas]
x = resize(lena, 128, 128)
xt = list()
for (t in seq(0.1, 5, len=9)) xt=c(xt, list(blur(x, s=t)))
xt = combine(xt)
if (interactive()) display(xt, title='Blurred Lenas')
}
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|