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

R语言 spatstat包 as.matrix.owin()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:11:33 | 显示全部楼层 |阅读模式
as.matrix.owin(spatstat)
as.matrix.owin()所属R语言包:spatstat

                                        Convert Pixel Image to Matrix
                                         像素图像转换为矩阵

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

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

Converts a pixel image to a matrix.
将一个像素的图像矩阵。


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


  ## S3 method for class 'owin'
as.matrix(x, ...)



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

参数:x
A window (object of class "owin").
一个窗口(类的对象"owin"“)。


参数:...
Arguments passed to as.mask to control the pixel resolution.
参数传递给as.mask控制像素的分辨率。


Details

详细信息----------Details----------

The function as.matrix.owin converts a window to a logical matrux.
函数as.matrix.owin转换逻辑matrux一个窗口。

It first converts the window x into a binary pixel mask using as.mask. It then extracts the pixel entries as a logical matrix.
它首先将窗口x使用as.mask成二进制像素面具。然后,提取的像素作为一个逻辑矩阵条目。

The resulting matrix has entries that are TRUE if the corresponding pixel is inside the window, and FALSE if it is outside.
生成的矩阵具有的条目是TRUE,如果对应像素点上的窗口里面,和FALSE,如果它是外部的。

The function as.matrix is generic. The function as.matrix.owin is the method for windows (objects of class "owin").
函数as.matrix是通用的。函数as.matrix.owin窗口(类的对象"owin")的方法。

Use as.im to convert a window to a pixel image.
使用as.im转换成一个窗口,一个像素的图像。


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

A logical matrix.
逻辑矩阵。


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


Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>




参见----------See Also----------

as.matrix.im, as.im
as.matrix.im,as.im


实例----------Examples----------


  m <- as.matrix(letterR)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-12 16:59 , Processed in 0.030999 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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