odc.geo.geobox.GeoBox.qr2sample

GeoBox.qr2sample(n, padding=None, with_edges=False, offset=0)

Generate quasi-random sample of image locations.

Parameters:
  • n (int) – Number of points

  • padding (Optional[float]) – In pixels, minimal distance from the edge

  • offset (int) – Offset into quasi-random sequence from where to start

  • edges – Also include samples along the edge and corners

Return type:

Geometry

References: http://extremelearning.com.au/unreasonable-effectiveness-of-quasirandom-sequences/