Last chance! 50% off unlimited learning
Sale ends in
overlap.owin(A, B)
"owin"
).A
and B
.If one of the windows is a binary mask, then both windows are converted to masks on the same grid, and the area is computed by counting pixels. Otherwise, the area is computed analytically (using the discrete Stokes theorem).
intersect.owin
,
area.owin
,
setcov
.A <- square(1)
B <- shift(A, c(0.3, 0.2))
overlap.owin(A, B)
Run the code above in your browser using DataLab