rtiff-package(rtiff)
rtiff-package()所属R语言包:rtiff
A tiff reader for R.
一个TIFF阅读器R.
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This package will read TIFF format images and return them as a pixmap object. Because the resulting object can be very large for even modestly sized TIFF images, images can be reduced as they are read for improved performance. This package is a wrapper around libtiff (www.libtiff.org), on which it depends. By using libtiff's highlevel TIFFReadRGBAImage function, this package inherently support a wide range of image formats and compression schemes. This package also provides an implementation of the Ridler Autothresholding algorithm for easy generation of binary masks.
这个包将读取TIFF格式的图片,并将其退回作为一个pixmap对象。因为对象可以是非常大的,即使是中等规模的TIFF图像,图像可以减少他们阅读,以提高性能。这个包是一个包装周围的libtiff(www.libtiff.org),它依赖。这个包本身通过使用的libtiff公司的高层TIFFReadRGBAImage功能,支持多种图像格式和压缩计划。该软件包还提供了一个实现的的里德勒Autothresholding的算法很容易地生成的二进制口罩。
Details
详细信息----------Details----------
</table>
</ TABLE>
A tiff image can be loaded using readTiff, and then plotted, or processed. Regardless of the colorspace of the original image, this function returns an RGB pixmap. The image rasters can be accessed through the red, green, and blue slots of the pixmap object returned. These rasters may be further processed using any of the widely described image analysis alorithms. As a first step, and autoThreshold function is provided by this package to create binary masks of pixmap channels of interest.
TIFF图像可以加载使用readTiff,然后绘制或处理。无论原始图像的色彩,这个函数返回一个RGB像素图。可被访问的图像栅格,通过红色,绿色,和蓝色的插槽的位图对象返回。这些光栅可以进一步加工,使用任何广泛描述的图像分析alorithms。作为第一步,和autoThreshold功能所提供的这个包创建pixmap的渠道利益的二进制口罩。
(作者)----------Author(s)----------
Eric Kort <eric.kort@vai.org>
Maintainer: Eric Kort <eric.kort@vai.org>
参考文献----------References----------
www.libtiff.org
实例----------Examples----------
library(rtiff)
tif <- readTiff(system.file("tiff", "jello.tif", package="rtiff"))
plot(tif)
plot(tif@blue)
plot(tif@blue > autoThreshold(tif@blue)[3])
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|