
Last chance! 50% off unlimited learning
Sale ends in
rescue.rectangle(W)
"owin"
)."owin"
representing the
same window.W
is actually a rectangle
aligned with the coordinate axes. This will be true if
W
is
"rectangle"
);"polygonal"
with a single polygonal boundary) that is a rectangle aligned with
the coordinate axes;"mask"
) in which
all the pixel entries areTRUE
."rectangle"
.
If not, the function returns W
.as.owin
,
owin.object
w <- owin(poly=list(x=c(0,1,1,0),y=c(0,0,1,1)))
rw <- rescue.rectangle(w)
w <- as.mask(unit.square())
rw <- rescue.rectangle(w)
Run the code above in your browser using DataLab