gpt4 book ai didi

boofcv.alg.geo.calibration.Zhang99CalibrationMatrixFromHomographies.computeParam_ZeroSkew()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-13 12:37:29 26 4
gpt4 key购买 nike

本文整理了Java中boofcv.alg.geo.calibration.Zhang99CalibrationMatrixFromHomographies.computeParam_ZeroSkew()方法的一些代码示例,展示了Zhang99CalibrationMatrixFromHomographies.computeParam_ZeroSkew()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zhang99CalibrationMatrixFromHomographies.computeParam_ZeroSkew()方法的具体详情如下:
包路径:boofcv.alg.geo.calibration.Zhang99CalibrationMatrixFromHomographies
类名称:Zhang99CalibrationMatrixFromHomographies
方法名:computeParam_ZeroSkew

Zhang99CalibrationMatrixFromHomographies.computeParam_ZeroSkew介绍

[英]Compute the calibration parameters from the b matrix when the skew is assumed to be zero
[中]假设偏差为零时,根据b矩阵计算校准参数

代码示例

代码示例来源:origin: org.boofcv/boofcv-calibration

/**
 * Given a set of homographies computed from a sequence of images that observe the same
 * plane it estimates the camera's calibration.
 *
 * @param homographies Homographies computed from observations of the calibration grid.
 */
public void process( List<DMatrixRMaj> homographies ) {
  if( assumeZeroSkew ) {
    if( homographies.size() < 2 )
      throw new IllegalArgumentException("At least two homographies are required");
  } else if( homographies.size() < 3 ) {
    throw new IllegalArgumentException("At least three homographies are required");
  }
  if( assumeZeroSkew ) {
    setupA_NoSkew(homographies);
    if( !solverNull.process(A,1,b) )
      throw new RuntimeException("SVD failed");
    computeParam_ZeroSkew();
  } else {
    setupA(homographies);
    if( !solverNull.process(A,1,b) )
      throw new RuntimeException("SVD failed");
    computeParam();
  }
  if(MatrixFeatures_DDRM.hasUncountable(K)) {
    throw new RuntimeException("Failed!");
  }
}

代码示例来源:origin: org.boofcv/calibration

SingularOps.nullVector(svd,true,b);
  computeParam_ZeroSkew();
} else {
  setupA(homographies);

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com