Class VisualizeFeatures

java.lang.Object
boofcv.gui.feature.VisualizeFeatures

public class VisualizeFeatures extends Object
Functions for visualizing image features.
  • 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

      public static void drawPoints(Graphics2D g2, Color color, List<Point2D_I32> points, int radius)
    • drawPoint

      public static void drawPoint(Graphics2D g2, int x, int y, Color color)
    • drawPoint

      public static void drawPoint(Graphics2D g2, int x, int y, int r, Color color)
    • drawPoint

      public static void drawPoint(Graphics2D g2, int x, int y, int r, Color color, boolean hasBorder)
    • 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

      public static void drawCross(Graphics2D g2, int x, int y, int r)
    • drawCross

      public static void drawCross(Graphics2D g2, double x, double y, double r)
    • drawScalePoints

      public static void drawScalePoints(Graphics2D g2, List<ScalePoint> points, double scaleToRadius)
    • drawCircle

      public static void drawCircle(Graphics2D g2, double x, double y, double r)
    • drawCircle

      public static void drawCircle(Graphics2D g2, double x, double y, double r, Ellipse2D.Double c)