circular_region

sitelle.region.circular_region(x, y, r)

Computes a circular region of radius r centered on (x,y)

Parameters:
  • x (int) – abscissse of the center, in pixels
  • y (int) – ordonate of the center, in pixels
  • r (float) – radius of the region, in pixels
Returns:

region – The corresponding region

Return type:

tuple