Take Complement of a Window
Take the set complement of a window, within its enclosing rectangle.
- an object of class
"owin"describing a window of observation for a point pattern.
w is a rectangular window this produces an error.
Otherwise, it yields a window object (of class
owin.object) representing the set complement
w inside its enclosing rectangle. For polygonal windows
this is achieved by reversing the sign of each boundary polygon,
while for binary masks it is achieved by negating the pixel values.
- Another object of class
"owin"representing the complement of the window, i.e. the inside of the window becomes the outside.
outside <- complement.owin(w)