Convert a pixel image to a data frame
像素图像转换到一个数据框
用法----------Usage----------
## S3 method for class 'im'
as.data.frame(x, ...)
参数----------Arguments----------
参数:x
A pixel image (object of class "im").
像素的图像(类的对象"im"“)。
参数:...
Further arguments passed to as.data.frame.default to determine the row names and other features.
进一步的参数传递给as.data.frame.default,以确定该行的名称和其他功能。
Details
详细信息----------Details----------
This function takes the pixel image x and returns a data frame with three columns containing the pixel coordinates and the pixel values.
此函数将像素的图像x和返回三列一个数据框包含的像素坐标的像素值。
值----------Value----------
A data frame
一个数据框
(作者)----------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>