RELEASE NOTES spatstat 1.15-4 12 June 09 OVERVIEW Morphological operators are now implemented using polygonal geometry. Envelopes of K function are faster to compute. New algorithm for simplifying polygons. Bug fixes and minor improvements. NEW FUNCTIONS simplify.owin Given a polygonal window, this function finds a simpler polygon (with fewer edges) that approximates it. IMPROVEMENTS/ENHANCEMENTS envelope Computation of simulation envelopes has been accelerated by a factor of 2-3 for the K function and its relatives. If 'r' is given explicitly, the default value of 'ginterval' is now taken to be range(r). print.envelope The edge correction used to compute the envelopes is now indicated when an envelope object is printed. dilate.owin erode.owin closing.owin opening.owin These morphological operators now return a polygonal window (instead of a binary pixel mask) if the input is a rectangular or polygonal window. dilate.owin The boundary frame of the dilated window can now be controlled using the new argument 'tight'. Kest, Lest, Kinhom, Linhom, Kdot, Kcross, Ldot, Lcross, Kmulti, Kdot.inhom, Kcross.inhom, Kmulti.inhom, pcf.ppp, localL, localK, markcorr, markvario, markconnect These functions now accept the option 'correction="best"' and compute the best edge correction available for the type of data. BUGS [1] connected The pixel grid of the output image was incorrect: it was transposed (x and y axes were swapped). Fixed. [2] nearestsegment, project2segment Crashed if X contained exactly one point. Fixed. [3] [.im The subset operator "[.im" interpreted the 'raster' argument incorrectly: it transposed the x and y dimensions. Fixed. [4] model.matrix.ppm Sometimes crashed with a message about an `internal error'. Fixed.