找回密码
 注册
查看: 697|回复: 0

R语言 EBImage包 display()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 16:53:07 | 显示全部楼层 |阅读模式
display(EBImage)
display()所属R语言包:EBImage

                                        Interactive image display
                                         交互式图像显示

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Display images.
显示图像。


用法----------Usage----------


display(x, title=paste(deparse(substitute(x))), useGTK=TRUE)
animate(x)



参数----------Arguments----------

参数:x
An Image object or an array.  
Image对象或数组。


参数:useGTK
A logical of length 1. See details.  
一个长度为1的逻辑。查看详情。


参数:title
Window title.
窗口的标题。


Details

详情----------Details----------

By default (and if available), the display function uses GTK to open a window and display the image. Multiple windows can be opened in this way.
默认情况下,(如果可用),display函数使用GTK来打开一个窗口,并显示图像。这种方式可以打开多个窗口。

If GTK is not available or if useGTK is FALSE, ImageMagick is used; only one window at a time can be open, and it needs to be closed by the user interactively before the next window can be opened. The ImageMagick display is not available on MS-Windows.
如果GTK是没有用,或者如果useGTKFALSE,ImageMagick是用在一个时间只有一个窗口可以是开放的,它需要在下一个窗口中可以打开之前关闭用户交互。 ImageMagick的显示器是不是MS-Windows上可用。

The animate function shows an animated sequence of images and uses ImageMagick. Similar limitations as for display apply (only one window, not on MS-Windows.)
animate功能显示图像动画序列,并使用ImageMagick。类似的限制display申请(只有一个窗口,而不是在MS-Windows,。)


值----------Value----------

The functions are called for their side effect. Return value is invisible NULL.
该功能被称为他们的副作用。返回值是无形的NULL。


作者(S)----------Author(s)----------



Oleg Sklyar, <a href="mailtosklyar@ebi.ac.uk">osklyar@ebi.ac.uk</a>




参考文献----------References----------

GTK: http://www.gtk.org, on MS-Windows http://gladewin32.sf.net

举例----------Examples----------


   ## single image[#单一的形象]
   lena = readImage(system.file("images", "lena-color.png", package="EBImage"))
   if (interactive()) display(lena)

   ## animated threshold[#动画阈值]
   x = readImage(system.file("images", "lena-color.png", package="EBImage"))
   x = resize(x, 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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-11 16:32 , Processed in 0.030557 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表