This yields a window object (of class "owin",
  see owin.object) representing the set complement
  of w with respect to the rectangle frame.
By default, frame is the enclosing box of w
  (originally specified by the arguments xrange and yrange
  given to owin when w was created).
  If frame is specified, it must be a rectangle (an object of
  class "owin" whose type is "rectangle") and it must be
  larger than the enclosing box of w. This rectangle becomes the
  enclosing box for the resulting window.
  
If w is a rectangle, then frame must be specified.
  Otherwise an error will occur (since the complement of w in
  itself is empty).
For rectangular and polygonal windows, the complement is computed by
  reversing the sign of each boundary polygon, while for binary masks it is
  computed by negating the pixel values.