Package boofcv.gui.feature
Class VisualizeFeatures
java.lang.Object
boofcv.gui.feature.VisualizeFeatures
Functions for visualizing image features.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
drawCircle
(Graphics2D g2, double x, double y, double r) static void
drawCircle
(Graphics2D g2, double x, double y, double r, Ellipse2D.Double c) static void
drawCross
(Graphics2D g2, double x, double y, double r) static void
drawCross
(Graphics2D g2, int x, int y, int r) static void
drawPoint
(Graphics2D g2, double x, double y, double r, Color color, boolean hasBorder) static void
drawPoint
(Graphics2D g2, double x, double y, double r, Color color, boolean hasBorder, Ellipse2D.Double c) static void
drawPoint
(Graphics2D g2, double x, double y, double r, Color colorInside, Color colorBorder) static void
drawPoint
(Graphics2D g2, double x, double y, double r, Color colorInside, Color colorBorder, Ellipse2D.Double c) static void
drawPoint
(Graphics2D g2, int x, int y, int r, Color color) static void
drawPoint
(Graphics2D g2, int x, int y, int r, Color color, boolean hasBorder) static void
drawPoint
(Graphics2D g2, int x, int y, Color color) static void
drawPoints
(Graphics2D g2, Color color, List<Point2D_I32> points, int radius) static void
drawScalePoints
(Graphics2D g2, List<ScalePoint> points, double scaleToRadius) static int
trackIdToRgb
(long featureId) Converts a track ID into a RGB color.
-
Constructor Details
-
VisualizeFeatures
public VisualizeFeatures()
-
-
Method Details
-
trackIdToRgb
public static int trackIdToRgb(long featureId) Converts a track ID into a RGB color. THis is designed so that tracks with similar IDs will be visually distinctive -
drawPoints
-
drawPoint
-
drawPoint
-
drawPoint
-
drawPoint
public static void drawPoint(Graphics2D g2, double x, double y, double r, Color color, boolean hasBorder) -
drawPoint
public static void drawPoint(Graphics2D g2, double x, double y, double r, Color colorInside, Color colorBorder) -
drawPoint
public static void drawPoint(Graphics2D g2, double x, double y, double r, Color color, boolean hasBorder, Ellipse2D.Double c) -
drawPoint
public static void drawPoint(Graphics2D g2, double x, double y, double r, Color colorInside, Color colorBorder, Ellipse2D.Double c) -
drawCross
-
drawCross
-
drawScalePoints
-
drawCircle
-
drawCircle
-