参数: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>