boofcv.gui.fiducial
Class VisualizeFiducial
- java.lang.Object
-
- boofcv.gui.fiducial.VisualizeFiducial
-
public class VisualizeFiducial extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description VisualizeFiducial()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voiddrawChessboard(java.awt.Graphics2D g2, WorldToCameraToPixel fiducialToPixel, int numRows, int numCols, double squareWidth)Renders a translucent chessboard patternstatic voiddrawCube(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 imagestatic voiddrawLabelCenter(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 imagestatic voiddrawLine(java.awt.Graphics2D g2, java.awt.geom.Line2D.Double line, double x0, double y0, double x1, double y1)
-
-
-
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 infiducialToPixel- Coverts a coordinate from fiducial into pixelnumRows- Number of rows in the calibration gridnumCols- Number of columns in the calibration gridsquareWidth- Width of each square
-
-
DataMelt 3.0 © DataMelt by jWork.ORG