Package boofcv.misc

Class DiscretizedCircle


  • public class DiscretizedCircle
    extends java.lang.Object
    Functions related to discretized circles for image processing
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void coordinates​(double radius, org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_I32> coordinates)  
      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.
      static int[][] imageOffsets2​(double radius)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiscretizedCircle

        public DiscretizedCircle()
    • Method Detail

      • 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,
                                       org.ddogleg.struct.FastQueue<georegression.struct.point.Point2D_I32> coordinates)
      • imageOffsets2

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