This function converts a line segment pattern to a binary
pixel mask by determining which pixels intersect the lines.
The pixel raster is determined by W
and the optional arguments ....
If W is missing or NULL, it defaults to the window
containing x.
Then W is converted to a
binary pixel mask using as.mask. The arguments
... are passed to as.mask to
control the pixel resolution.
See Also
pixellate.psp,
as.mask.
Use pixellate.psp if you want to measure the
length of line in each pixel.