boofcv.misc
Class DiscretizedCircle
- java.lang.Object
-
- boofcv.misc.DiscretizedCircle
-
public class DiscretizedCircle extends java.lang.ObjectFunctions related to discretized circles for image processing
-
-
Constructor Summary
Constructors Constructor and Description DiscretizedCircle()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description 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)
-
-
-
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
-
imageOffsets2
public static int[][] imageOffsets2(double radius)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG