When using erode.owin from spatstat package, you can specify to keep the
window extent (shrink.frame=FALSE). But, with dilate.owin, you cannot use
shrink.frame. What can I use to keep the same extent ?

# illustration :

data(demopat)
ewin <-erode.owin(demopat$window, 700, shrink.frame=FALSE)
dwin <- dilate.owin(ewin,700)
demopat$window$xrange
ewin$xrange
# this one is different :
dwin$xrange


Etienne

	[[alternative HTML version deleted]]

