Package boofcv.misc

Class DiscretizedCircle

java.lang.Object
boofcv.misc.DiscretizedCircle

public class DiscretizedCircle extends Object
Functions related to discretized circles for image processing
  • Constructor Details

    • DiscretizedCircle

      public DiscretizedCircle()
  • Method Details

    • imageOffsets

      public static int[] imageOffsets(double radius, int imgWidth)
      Computes the offsets for a discretized circle of the specified radius for an image with the specified width.
      Parameters:
      radius - The radius of the circle in pixels.
      imgWidth - The row step of the image
      Returns:
      A list of offsets that describe the circle
    • coordinates

      public static void coordinates(double radius, DogArray<Point2D_I32> coordinates)
    • imageOffsets2

      public static int[][] imageOffsets2(double radius)