use of boofcv.alg.geo.calibration.Zhang99AllParam in project BoofCV by lessthanoptimal.
the class CalibrateStereoPlanar method calibrateMono.
/**
* Compute intrinsic calibration for one of the cameras
*/
private CameraPinholeRadial calibrateMono(CalibrateMonoPlanar calib, List<Se3_F64> location) {
CameraPinholeRadial intrinsic = calib.process();
Zhang99AllParam zhangParam = calib.getZhangParam();
for (Zhang99AllParam.View v : zhangParam.views) {
Se3_F64 pose = new Se3_F64();
ConvertRotation3D_F64.rodriguesToMatrix(v.rotation, pose.getR());
pose.getT().set(v.T);
location.add(pose);
}
return intrinsic;
}
Aggregations