Documentation of 'boofcv.gui.fiducial.VisualizeFiducial' Java class
VisualizeFiducial
boofcv.gui.fiducial

Class VisualizeFiducial



  • public class VisualizeFiducial
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void drawChessboard(java.awt.Graphics2D g2, WorldToCameraToPixel fiducialToPixel, int numRows, int numCols, double squareWidth)
      Renders a translucent chessboard pattern
      static void drawCube(Se3_F64 targetToCamera, IntrinsicParameters intrinsic, double width, int lineThickness, java.awt.Graphics2D g2)
      Draws a flat cube to show where the square fiducial is on the image
      static void drawLabelCenter(Se3_F64 targetToCamera, IntrinsicParameters intrinsic, java.lang.String label, java.awt.Graphics2D g2)
      Draws a flat cube to show where the square fiducial is on the image
      static void drawLine(java.awt.Graphics2D g2, java.awt.geom.Line2D.Double line, double x0, double y0, double x1, double y1) 
      • Methods inherited from class java.lang.Object

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

      • VisualizeFiducial

        public VisualizeFiducial()
    • Method Detail

      • drawLabelCenter

        public static void drawLabelCenter(Se3_F64 targetToCamera,
                                           IntrinsicParameters intrinsic,
                                           java.lang.String label,
                                           java.awt.Graphics2D g2)
        Draws a flat cube to show where the square fiducial is on the image
      • drawCube

        public static void drawCube(Se3_F64 targetToCamera,
                                    IntrinsicParameters intrinsic,
                                    double width,
                                    int lineThickness,
                                    java.awt.Graphics2D g2)
        Draws a flat cube to show where the square fiducial is on the image
      • drawLine

        public static void drawLine(java.awt.Graphics2D g2,
                                    java.awt.geom.Line2D.Double line,
                                    double x0,
                                    double y0,
                                    double x1,
                                    double y1)
      • drawChessboard

        public static void drawChessboard(java.awt.Graphics2D g2,
                                          WorldToCameraToPixel fiducialToPixel,
                                          int numRows,
                                          int numCols,
                                          double squareWidth)
        Renders a translucent chessboard pattern
        Parameters:
        g2 - Graphics object it's drawn in
        fiducialToPixel - Coverts a coordinate from fiducial into pixel
        numRows - Number of rows in the calibration grid
        numCols - Number of columns in the calibration grid
        squareWidth - Width of each square

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.