本文整理了Java中boofcv.alg.geo.calibration.Zhang99IntrinsicParam.getCameraModel()
方法的一些代码示例,展示了Zhang99IntrinsicParam.getCameraModel()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zhang99IntrinsicParam.getCameraModel()
方法的具体详情如下:
包路径:boofcv.alg.geo.calibration.Zhang99IntrinsicParam
类名称:Zhang99IntrinsicParam
方法名:getCameraModel
暂无
代码示例来源:origin: org.boofcv/boofcv-swing
@Override
public void setCalibration(Zhang99AllParam found) {
CameraPinholeRadial intrinsic = (CameraPinholeRadial)found.getIntrinsic().getCameraModel();
String textX = String.format("%5.1f",intrinsic.cx);
String textY = String.format("%5.1f", intrinsic.cy);
代码示例来源:origin: org.boofcv/boofcv-swing
@Override
public void setCalibration(Zhang99AllParam found) {
CameraUniversalOmni intrinsic = (CameraUniversalOmni)found.getIntrinsic().getCameraModel();
String textX = String.format("%5.1f",intrinsic.cx);
String textY = String.format("%5.1f", intrinsic.cy);
代码示例来源:origin: org.boofcv/boofcv-calibration
/**
* After calibration points have been found this invokes the Zhang99 algorithm to
* estimate calibration parameters. Error statistics are also computed.
*/
public <T extends CameraModel>T process() {
if( zhang99 == null )
throw new IllegalArgumentException("Please call configure first.");
if( !zhang99.process(observations) ) {
throw new RuntimeException("Zhang99 algorithm failed!");
}
foundZhang = zhang99.getOptimized();
errors = computeErrors(observations, foundZhang,layout);
foundIntrinsic = foundZhang.getIntrinsic().getCameraModel();
foundIntrinsic.width = imageWidth;
foundIntrinsic.height = imageHeight;
return (T)foundIntrinsic;
}
内容来源于网络,如有侵权,请联系作者删除!