pixellate {spatstat} | R Documentation |
Convert a spatial object to a pixel image by measuring the amount of stuff in each pixel.
pixellate(x, ...)
x |
Spatial object to be converted.
A point pattern (object of class "ppp" ),
a window (object of class "owin" ) or
some other suitable data.
|
... |
Arguments passed to methods. |
The function pixellate
converts a geometrical object x
into
a pixel image, by measuring the amount of x
that is
inside each pixel.
If x
is a point pattern, pixellate(x)
counts the
number of points of x
falling in each pixel.
If x
is a window, pixellate(x)
measures the area
of intersection of each pixel with the window.
The function pixellate
is generic, with methods for
point patterns (pixellate.ppp
)
and windows (pixellate.owin
).
See the separate documentation for these methods.
The related function as.im
also converts x
into a pixel image,
but typically measures only the presence or absence of
x
inside each pixel.
A pixel image (object of class "im"
).
Adrian Baddeley adrian@maths.uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
pixellate.ppp
,
pixellate.owin
,
as.im