Package boofcv.abst.fiducial
Class FourPointSyntheticStability
java.lang.Object
boofcv.abst.fiducial.FourPointSyntheticStability
Computes the stability for a fiducial using 4 synthetic corners that are position based on the fiducial's
width and height given the current estimated marker to camera transform. The 4 corners are placed symmetrically
around the marker's origin at (-w/2,-h/2) (-w/2,h/2) (w/2,h/2) (w/2,-h/2). Stability is computed by varying
the projected corners in pixel coordinates then recomputing the camera to fiducial pose and seeing how much
it has changed.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomputeStability(Se3_F64 targetToCamera, double disturbance, FiducialStability results) Estimate how sensitive this observation is to pixel noisevoidsetShape(double width, double height) Specifes how big the fiducial is along two axisesvoidsetTransforms(Point2Transform2_F64 pixelToNorm, Point2Transform2_F64 normToPixel) Specifies how to convert to and from pixels
-
Field Details
-
pixelToNorm
-
normToPixel
-
-
Constructor Details
-
FourPointSyntheticStability
public FourPointSyntheticStability()
-
-
Method Details
-
setTransforms
Specifies how to convert to and from pixels -
setShape
public void setShape(double width, double height) Specifes how big the fiducial is along two axises- Parameters:
width- Length along x-axisheight- Length along y-axis
-
computeStability
Estimate how sensitive this observation is to pixel noise- Parameters:
targetToCamera- Observed target to camera pose estimatedisturbance- How much the observation should be noised up, in pixelsresults- description how how sensitive the stability estimate is
-