boofcv.examples.calibration
Class ExampleCalibrateMonocularPoints
- java.lang.Object
-
- boofcv.examples.calibration.ExampleCalibrateMonocularPoints
-
public class ExampleCalibrateMonocularPoints extends java.lang.ObjectExample of how to calibrate a single (monocular) camera given a set of observed calibration. points using the Zhang99 algorithm. Unlike in the other examples, the image processing has not already been done. In theory you could add your own more exotic targets by writing custom code to detect the target, which is left as an exercise for the reader. For example, have multiple targets visible or calibrate using circles.
-
-
Constructor Summary
Constructors Constructor and Description ExampleCalibrateMonocularPoints()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidcalibrate(java.util.List<Point2D_F64> layout, java.util.List<CalibrationObservation> observations)Given a description of the calibration target and the observed location of the calibrationstatic java.util.List<CalibrationObservation>loadObservations(CalibrationDetector detector)Detects calibration points found in several images and returned as a list.static voidmain(java.lang.String[] args)
-
-
-
Method Detail
-
calibrate
public static void calibrate(java.util.List<Point2D_F64> layout, java.util.List<CalibrationObservation> observations)
Given a description of the calibration target and the observed location of the calibration- Parameters:
layout- How calibration points are laid out on the boardobservations- Observations of the target in different images
-
loadObservations
public static java.util.List<CalibrationObservation> loadObservations(CalibrationDetector detector)
Detects calibration points found in several images and returned as a list. Not the focus of this example.
-
main
public static void main(java.lang.String[] args)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG