public class VisualizeFiducial
extends java.lang.Object
| Constructor and Description |
|---|
VisualizeFiducial() |
| Modifier and Type | Method and Description |
|---|---|
static void |
drawChessboard(java.awt.Graphics2D g2,
boofcv.alg.geo.WorldToCameraToPixel fiducialToPixel,
int numRows,
int numCols,
double squareWidth)
Renders a translucent chessboard pattern
|
static void |
drawCube(georegression.struct.se.Se3_F64 targetToCamera,
boofcv.struct.calib.CameraPinholeBrown intrinsic,
double width,
double heightScale,
int lineThickness,
java.awt.Graphics2D g2,
double scale)
Draws a flat cube to show where the square fiducial is on the image
|
static void |
drawCube(georegression.struct.se.Se3_F64 targetToCamera,
boofcv.struct.calib.CameraPinholeBrown intrinsic,
double width,
int lineThickness,
java.awt.Graphics2D g2) |
static void |
drawLabel(georegression.struct.point.Point2D_F64 locationPixel,
java.lang.String label,
java.awt.Graphics2D g2) |
static void |
drawLabel(georegression.struct.point.Point2D_F64 locationPixel,
java.lang.String label,
java.awt.Graphics2D g2,
double scale) |
static void |
drawLabelCenter(georegression.struct.se.Se3_F64 targetToCamera,
boofcv.struct.calib.CameraPinholeBrown intrinsic,
java.lang.String label,
java.awt.Graphics2D g2) |
static void |
drawLabelCenter(georegression.struct.se.Se3_F64 targetToCamera,
boofcv.struct.calib.CameraPinholeBrown intrinsic,
java.lang.String label,
java.awt.Graphics2D g2,
double scale)
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) |
static void |
drawLine(java.awt.Graphics2D g2,
java.awt.geom.Line2D.Double line,
double x0,
double y0,
double x1,
double y1,
double scale) |
public static void drawLabelCenter(georegression.struct.se.Se3_F64 targetToCamera,
boofcv.struct.calib.CameraPinholeBrown intrinsic,
java.lang.String label,
java.awt.Graphics2D g2,
double scale)
public static void drawLabelCenter(georegression.struct.se.Se3_F64 targetToCamera,
boofcv.struct.calib.CameraPinholeBrown intrinsic,
java.lang.String label,
java.awt.Graphics2D g2)
public static void drawLabel(georegression.struct.point.Point2D_F64 locationPixel,
java.lang.String label,
java.awt.Graphics2D g2)
public static void drawLabel(georegression.struct.point.Point2D_F64 locationPixel,
java.lang.String label,
java.awt.Graphics2D g2,
double scale)
public static void drawCube(georegression.struct.se.Se3_F64 targetToCamera,
boofcv.struct.calib.CameraPinholeBrown intrinsic,
double width,
int lineThickness,
java.awt.Graphics2D g2)
public static void drawCube(georegression.struct.se.Se3_F64 targetToCamera,
boofcv.struct.calib.CameraPinholeBrown intrinsic,
double width,
double heightScale,
int lineThickness,
java.awt.Graphics2D g2,
double scale)
public static void drawLine(java.awt.Graphics2D g2,
java.awt.geom.Line2D.Double line,
double x0,
double y0,
double x1,
double y1)
public static void drawLine(java.awt.Graphics2D g2,
java.awt.geom.Line2D.Double line,
double x0,
double y0,
double x1,
double y1,
double scale)
public static void drawChessboard(java.awt.Graphics2D g2,
boofcv.alg.geo.WorldToCameraToPixel fiducialToPixel,
int numRows,
int numCols,
double squareWidth)
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