Determine Type of Window
Determine whether a window is a rectangle, a polygonal region, or a binary mask.
is.rectangle(w) is.polygonal(w) is.mask(w)
w |
Window to be inspected. An object of class |
These simple functions determine whether a window w
(object of class "owin"
) is
a rectangle (is.rectangle(w) = TRUE
),
a domain with polygonal boundary (is.polygonal(w) = TRUE
),
or
a binary pixel mask (is.mask(w) = TRUE
).
Logical value, equal to TRUE
if w
is a window
of the specified type.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au
and Rolf Turner r.turner@auckland.ac.nz
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.