Package boofcv.gui.feature
Class VisualizeFeatures
java.lang.Object
boofcv.gui.feature.VisualizeFeatures
Functions for visualizing image features.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddrawCircle(Graphics2D g2, double x, double y, double r) static voiddrawCircle(Graphics2D g2, double x, double y, double r, Ellipse2D.Double c) static voiddrawCross(Graphics2D g2, double x, double y, double r) static voiddrawCross(Graphics2D g2, int x, int y, int r) static voiddrawPoint(Graphics2D g2, double x, double y, double r, Color color, boolean hasBorder) static voiddrawPoint(Graphics2D g2, double x, double y, double r, Color color, boolean hasBorder, Ellipse2D.Double c) static voiddrawPoint(Graphics2D g2, double x, double y, double r, Color colorInside, Color colorBorder) static voiddrawPoint(Graphics2D g2, double x, double y, double r, Color colorInside, Color colorBorder, Ellipse2D.Double c) static voiddrawPoint(Graphics2D g2, int x, int y, int r, Color color) static voiddrawPoint(Graphics2D g2, int x, int y, int r, Color color, boolean hasBorder) static voiddrawPoint(Graphics2D g2, int x, int y, Color color) static voiddrawPoints(Graphics2D g2, Color color, List<Point2D_I32> points, int radius) static voiddrawScalePoints(Graphics2D g2, List<ScalePoint> points, double scaleToRadius) static inttrackIdToRgb(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
-