Maximum likelihood estimates of the fractal dimension for random spatial patterns